/* body overflow-x:hidden would break position:sticky; clip does not create a scroll container */
body{overflow-x:clip}
/* Use cases page only. Components: .uc-subnav, .uc-section, .uc-flow, .uc-day, .uc-duo, .uc-cta */
.uc-title{font-family:var(--font-display);font-weight:300;font-size:clamp(28px,3.4vw,46px);line-height:1.08;letter-spacing:-.035em;margin-bottom:16px}
.uc-sub{font-size:16px;color:var(--muted);line-height:1.7;max-width:560px}
.uc-label{font-family:var(--font-mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--accent);margin-bottom:14px}
.uc-h3{font-family:var(--font-display);font-weight:300;font-size:clamp(22px,2.2vw,30px);letter-spacing:-.03em;line-height:1.15}
.uc-note{font-size:13px;color:var(--muted);line-height:1.65;margin-top:18px;padding-top:16px;border-top:1px solid var(--glass-border)}

/* sticky sub-nav */
.uc-subnav{position:sticky;top:62px;z-index:90;padding:10px 0;background:rgba(11,11,12,.72);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-top:1px solid var(--glass-border);border-bottom:1px solid var(--glass-border)}
.uc-subnav__in{display:flex;justify-content:safe center;gap:2px;overflow-x:auto;scrollbar-width:none}
.uc-subnav__in::-webkit-scrollbar{display:none}
.uc-subnav__a{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;border-radius:100px;border:1px solid transparent;font-size:14px;color:var(--muted);white-space:nowrap;transition:all .25s}
.uc-subnav__a span{font-family:var(--font-mono);font-size:11px;color:var(--dim);transition:color .25s}
.uc-subnav__a:hover{color:var(--text)}
.uc-subnav__a.is-active{color:var(--text);background:var(--primary-dim);border-color:rgba(201,162,75,.4)}
.uc-subnav__a.is-active span{color:var(--accent)}

/* overview */
.uc-overview{padding:80px 0 72px}
.uc-ov__head{text-align:center;margin-bottom:48px}
.uc-ov__head .uc-sub{margin:0 auto}
.uc-ov__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.uc-ov{display:flex;flex-direction:column;color:inherit}
.uc-ov__t{font-family:var(--font-display);font-weight:400;font-size:20px;letter-spacing:-.02em;margin-bottom:10px;line-height:1.2}
.uc-ov .uc-flow__b{flex:1}
.uc-rules{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin-top:40px;background:var(--glass-border);border:1px solid var(--glass-border);border-radius:var(--r-lg);overflow:hidden}
.uc-rule{padding:22px 24px;background:rgba(15,15,17,.85)}
.uc-rule__t{font-family:var(--font-mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);margin-bottom:8px}
.uc-rule__b{font-size:14px;color:var(--muted);line-height:1.6}

/* deep sections */
.uc-section{padding:88px 0 40px;scroll-margin-top:120px}
.uc-intro{display:grid;grid-template-columns:1.15fr 1fr;gap:56px;align-items:start}
.uc-pains{margin-top:32px;padding:22px 24px;border-radius:var(--r-lg);border:1px solid var(--glass-border);background:var(--glass-bg)}
.uc-pains__list{display:flex;flex-direction:column;gap:12px}
.uc-pains__list li{position:relative;padding-left:20px;font-size:14.5px;line-height:1.55;color:rgba(245,245,242,.72)}
.uc-pains__list li::before{content:'';position:absolute;left:0;top:8px;width:7px;height:7px;border-radius:2px;background:var(--violet);opacity:.8}
.uc-vis{padding:28px;position:sticky;top:140px}
.uc-vis__top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.uc-vis__top .uc-label{margin:0}
.uc-vis .feature-status{position:static;display:inline-flex;margin:0}
.uc-vis .terminal{margin-top:6px}
.uc-queue{display:flex;flex-direction:column;gap:8px}
.uc-block{margin-top:72px}
.uc-block__head{margin-bottom:28px}

/* workflows */
.uc-flows{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.uc-flows--4{grid-template-columns:repeat(2,1fr)}
.uc-flow{padding:26px}
.uc-flow__n{font-family:var(--font-mono);font-size:12px;font-weight:700;color:var(--accent);margin-bottom:16px;display:inline-grid;place-items:center;width:34px;height:34px;border-radius:9px;border:1px solid rgba(201,162,75,.3);background:var(--primary-dim)}
.uc-flow__t{font-family:var(--font-display);font-weight:400;font-size:19px;letter-spacing:-.02em;margin-bottom:10px;line-height:1.25}
.uc-flow__b{font-size:14px;color:var(--muted);line-height:1.7}

/* before and after */
.uc-days{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.uc-day{border-radius:var(--r-lg);padding:28px;border:1px solid var(--glass-border);position:relative}
.uc-day--before{background:rgba(255,255,255,.02)}
.uc-day--after{background:linear-gradient(145deg,rgba(201,162,75,.1),rgba(26,26,28,.55) 55%,rgba(232,213,163,.05));border-color:rgba(201,162,75,.35)}
.uc-day__h{font-family:var(--font-mono);font-size:12px;letter-spacing:.1em;text-transform:uppercase;margin-bottom:18px;color:var(--dim)}
.uc-day--after .uc-day__h{color:var(--accent)}
.uc-day__list{display:flex;flex-direction:column}
.uc-day__list li{display:grid;grid-template-columns:56px 1fr;gap:12px;padding:12px 0;border-top:1px solid var(--glass-border);font-size:14px;line-height:1.55;color:var(--muted)}
.uc-day__list li:first-child{border-top:none;padding-top:0}
.uc-day--after .uc-day__list li{color:rgba(245,245,242,.82)}
.uc-time{font-family:var(--font-mono);font-size:12px;color:var(--dim);padding-top:2px}
.uc-day--after .uc-time{color:var(--accent)}
.uc-days__note{margin-top:14px}

/* human and tools */
.uc-duo{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:56px}
.uc-duo .feature-card{padding:28px}
.uc-check{display:flex;flex-direction:column;gap:11px}
.uc-check li{position:relative;padding-left:26px;font-size:14.5px;color:rgba(245,245,242,.78);line-height:1.5}
.uc-check li::before{content:'';position:absolute;left:0;top:3px;width:14px;height:14px;border-radius:50%;border:1px solid rgba(232,213,163,.5);background:rgba(232,213,163,.1)}
.uc-check li::after{content:'';position:absolute;left:5px;top:6px;width:4px;height:7px;border:solid var(--accent);border-width:0 1.5px 1.5px 0;transform:rotate(40deg) scale(.8)}
.uc-tools .chip-row{gap:10px}

/* per-section CTA */
.uc-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:40px;padding:28px 32px;border-radius:var(--r-lg);border:1px solid rgba(201,162,75,.3);background:linear-gradient(120deg,rgba(201,162,75,.14),rgba(176,122,42,.06) 60%,rgba(26,26,28,.4))}
.uc-cta__t{font-family:var(--font-display);font-weight:300;font-size:clamp(20px,2vw,26px);letter-spacing:-.03em}
.uc-cta__a{display:flex;gap:12px;flex-wrap:wrap}

@media(max-width:1100px){
  .uc-ov__grid,.uc-rules{grid-template-columns:repeat(2,1fr)}
  .uc-intro{grid-template-columns:1fr;gap:32px}
  .uc-vis{position:relative;top:auto}
  .uc-flows{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:920px){
  .uc-subnav{top:56px}
  .uc-subnav__in{justify-content:flex-start;padding:0 16px}
}
@media(max-width:768px){
  .uc-days,.uc-duo,.uc-flows,.uc-flows--4,.uc-ov__grid,.uc-rules{grid-template-columns:1fr}
  .uc-section{padding-top:64px;scroll-margin-top:90px}
  .uc-block{margin-top:56px}
  .uc-cta{flex-direction:column;align-items:flex-start;padding:24px}
  .uc-cta__a .btn{width:100%;justify-content:center}
  .uc-day{padding:22px}
  .uc-day__list li{grid-template-columns:48px 1fr}
  .uc-overview{padding:56px 0 40px}
}

.uc-current{display:grid;grid-template-columns:1fr 1.4fr;gap:32px;align-items:center;margin-top:16px;padding:28px 32px;border-radius:var(--r-lg);border:1px dashed rgba(232,213,163,.3);background:rgba(255,255,255,.02)}
.uc-current .uc-label{margin-bottom:10px}
.uc-current__b{font-size:14.5px;color:var(--muted);line-height:1.7}
@media(max-width:768px){.uc-current{grid-template-columns:1fr;gap:14px;padding:24px}}

/* ── Mobile overlap fix (2026-10-14) ──
   On phones the fixed nav and the sticky sub-nav were only 70% opaque, so section headings
   scrolled visibly behind them. The full-viewport grain layer also used mix-blend-mode, which
   mobile Safari can render as overprinted text near the toolbars. Make both bars solid enough
   to hide content and drop the blend on small screens. */
@media(max-width:920px){
  .uc-subnav{background:rgba(11,11,12,.96);-webkit-transform:translateZ(0);transform:translateZ(0)}
  .uc-subnav__a{min-height:40px}
}

/* ── Subnav gold refresh (2026-10-17) ──
   Labels soft gold #D9BE7A (10.9:1 on #0B0B0C, 9.6:1 on #1A1A1C), numbers grey #8A8A8E (5.7:1),
   hover #E8D49A, active/focus #F0DCA0 with thin #C9A24B underline. Page-owned CSS, not touched by gen_use_cases.py. */
.uc-subnav__a{min-height:40px;color:#D9BE7A;position:relative}
.uc-subnav__a span{color:#8A8A8E}
.uc-subnav__a:hover{color:#E8D49A;background:rgba(201,162,75,.08);border-color:rgba(201,162,75,.22)}
.uc-subnav__a:hover span{color:#8A8A8E}
.uc-subnav__a:focus-visible{outline:2px solid #C9A24B;outline-offset:2px;color:#F0DCA0}
.uc-subnav__a.is-active,.uc-subnav__a[aria-current]{color:#F0DCA0;background:rgba(201,162,75,.12);border-color:rgba(201,162,75,.45)}
.uc-subnav__a.is-active span,.uc-subnav__a[aria-current] span{color:#8A8A8E}
.uc-subnav__a.is-active::after,.uc-subnav__a[aria-current]::after{content:"";position:absolute;left:14px;right:14px;bottom:3px;height:1px;background:#C9A24B}
@media(max-width:920px){
  .uc-subnav__in{max-width:100%;padding:0 24px;-webkit-overflow-scrolling:touch;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 24px,#000 calc(100% - 24px),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 24px,#000 calc(100% - 24px),transparent 100%)}
  .uc-subnav__a{min-height:44px}
}

/* ── Subnav icons and auto scroll (2026-10-17) ── page-owned, not touched by gen_use_cases.py */
.uc-subnav__ic{flex:none;width:18px;height:18px;display:block}
.uc-subnav__in.is-marquee{justify-content:flex-start;max-width:100%;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 24px,#000 calc(100% - 24px),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 24px,#000 calc(100% - 24px),transparent 100%)}
.uc-subnav__in{scroll-behavior:auto}
.uc-subnav__dup{pointer-events:auto}

/* === Jump row alignment fix (1018a): identical pills, fixed box, no layout shift === */
.uc-subnav__in{align-items:center;gap:6px}
.uc-subnav__a,.uc-subnav__a:hover,.uc-subnav__a:focus-visible,.uc-subnav__a:active,.uc-subnav__a.is-active,.uc-subnav__a[aria-current]{box-sizing:border-box;display:inline-flex;align-items:center;flex:none;height:40px;min-height:40px;margin:0;padding:0 14px;gap:8px;border:1px solid transparent;border-radius:100px;line-height:20px;white-space:nowrap;transform:none;-webkit-tap-highlight-color:transparent;text-decoration:none;transition:color .2s,background-color .2s,border-color .2s}
.uc-subnav__a span{display:inline-block;flex:none;line-height:20px;font-size:11px;font-variant-numeric:tabular-nums;letter-spacing:0}
.uc-subnav__a .uc-subnav__ic{display:block;flex:none;width:18px;height:18px;margin:0}
.uc-subnav__a::after,.uc-subnav__a.is-active::after,.uc-subnav__a[aria-current]::after{content:none;display:none}
.uc-subnav__a:focus{outline:none}
.uc-subnav__a:focus-visible{outline:2px solid #C9A24B;outline-offset:-2px}
.uc-subnav__a:hover{background:transparent;border-color:transparent}
@media (hover:hover){.uc-subnav__a:hover{color:#E8D49A;background:rgba(201,162,75,.10);border-color:rgba(201,162,75,.35)}}
.uc-subnav__a:active,.uc-subnav__a:focus-visible{color:#F0DCA0;background:rgba(201,162,75,.14);border-color:rgba(201,162,75,.45)}
.uc-subnav__a.is-active,.uc-subnav__a[aria-current]{color:#F0DCA0;background:rgba(201,162,75,.12);border-color:rgba(201,162,75,.45)}
/* while the marquee runs, no persistent highlight (also on aria-hidden duplicates) */
.uc-subnav__in.is-marquee .uc-subnav__a.is-active,.uc-subnav__in.is-marquee .uc-subnav__a[aria-current]{color:#D9BE7A;background:transparent;border-color:transparent}
.uc-subnav__in.is-marquee .uc-subnav__a.is-active:active,.uc-subnav__in.is-marquee .uc-subnav__a.is-active:focus-visible{color:#F0DCA0;background:rgba(201,162,75,.14);border-color:rgba(201,162,75,.45)}
@media (hover:hover){.uc-subnav__in.is-marquee .uc-subnav__a.is-active:hover{color:#E8D49A;background:rgba(201,162,75,.10);border-color:rgba(201,162,75,.35)}}
@media (max-width:900px){.uc-subnav__a,.uc-subnav__a:hover,.uc-subnav__a:focus-visible,.uc-subnav__a:active,.uc-subnav__a.is-active,.uc-subnav__a[aria-current]{height:44px;min-height:44px}}

/* 2026-10-18 links to the open house and listing posts */
.uc-flow__t a{text-decoration:underline;text-decoration-color:rgba(232,213,163,.5);text-underline-offset:4px}
.uc-flow__t a:hover{text-decoration-color:var(--accent)}

/* use-cases overview: card icons + industry filter (2026-10-19) */
.uc-filter{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:0 0 24px}
.uc-filter[hidden],.uc-ov[hidden]{display:none}
.uc-filter__b{font:inherit;font-size:14px;padding:8px 16px;min-height:40px;border-radius:100px;border:1px solid rgba(201,162,75,.3);background:rgba(255,255,255,.04);color:#D9BE7A;cursor:pointer;white-space:nowrap;transition:all .25s}
.uc-filter__b:hover{background:rgba(201,162,75,.1);border-color:rgba(201,162,75,.5);color:#E8D49A}
.uc-filter__b:focus-visible{outline:2px solid #C9A24B;outline-offset:2px}
.uc-filter__b[aria-pressed="true"]{background:#C9A24B;border-color:#C9A24B;color:#0B0B0C;font-weight:500}
@media(max-width:768px){.uc-filter{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;padding-bottom:6px;margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px;scrollbar-width:none}.uc-filter::-webkit-scrollbar{display:none}}

/* /home-services photo hero (2026-10-19) */
.page-hero--photo .page-hero__photo{position:absolute;inset:0;z-index:0;margin:0}
.page-hero--photo .page-hero__photo img{width:100%;height:100%;object-fit:cover;object-position:60% 50%;display:block}
.page-hero--photo .page-hero__photo::after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 70% 80% at 50% 45%,rgba(11,11,12,.72) 0%,rgba(11,11,12,.45) 60%,rgba(11,11,12,.25) 100%),linear-gradient(to bottom,rgba(11,11,12,.55),rgba(11,11,12,0) 30%)}
.page-hero--photo .page-hero__mesh{display:none}
.page-hero--photo .page-hero__photo-cap{position:absolute;right:16px;bottom:80px;z-index:1;font-family:var(--font-mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:rgba(245,245,242,.7)}
/* Light theme: the scrim stays dark, so keep hero text light for contrast */
html[data-theme="light"] .page-hero--photo .page-hero__title{background:linear-gradient(90deg,#F5F5F2 0%,#F1E6C8 60%,#E8D5A3 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;text-shadow:none}
html[data-theme="light"] .page-hero--photo .page-hero__sub{color:rgba(245,245,242,.86)}
html[data-theme="light"] .page-hero--photo .page-hero__photo-cap{color:rgba(245,245,242,.75)}
/* Light theme: unscrolled nav sits on the dark photo, keep it light */
html[data-theme="light"] body:has(.page-hero--photo) .nav:not(.scrolled) .nav__logo,html[data-theme="light"] body:has(.page-hero--photo) .nav:not(.scrolled) .nav__link{color:#F5F5F2}
html[data-theme="light"] body:has(.page-hero--photo) .nav:not(.scrolled) .nav__burger span,html[data-theme="light"] body:has(.page-hero--photo) .nav:not(.scrolled) .nav__toggle span{background:#F5F5F2}
@media (max-width:700px){.page-hero--photo{padding-bottom:128px}.page-hero--photo .page-hero__photo-cap{bottom:84px;right:50%;transform:translateX(50%);white-space:nowrap}}
