/* Homepage: hero copy measure and the "What we build" services section. Uses base.css tokens; no inline styles (CSP). */
/* keep the longer lede left of the corridor's centre beam on desktop */
@media (min-width:761px){.hero .lede{max-width:min(33rem,46vw)}}
.who .section-head{align-items:flex-end}
/* helper line under a field in the homepage intake form */
.f .f-hint{display:block;font-size:13px;line-height:1.5;color:var(--titanium)}
.who-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:clamp(12px,1.6vw,20px);margin-top:clamp(32px,4vw,48px)}
.svc{grid-column:span 6;display:grid;grid-template-rows:auto 1fr auto;gap:16px;min-width:0;min-height:260px;padding:clamp(24px,2.8vw,40px);color:inherit;text-decoration:none;transition:transform .5s var(--ease-glass),box-shadow .5s var(--ease-glass)}
.svc:nth-child(1),.svc:nth-child(4){grid-column:span 7}
.svc:nth-child(2),.svc:nth-child(3){grid-column:span 5}
.svc h3{font-size:clamp(30px,3vw,44px);line-height:1.02}
.svc p{max-width:44ch;font-size:15px;line-height:1.65;color:var(--titanium-1)}
.svc .more{display:inline-flex;align-items:center;gap:10px;font:500 11px/1 var(--mono);letter-spacing:.16em;text-transform:uppercase;color:var(--platinum)}
.svc .arr{width:14px;height:14px;flex:none;transition:transform .4s var(--ease-glass)}
.svc:hover,.svc:focus-visible{transform:translateY(-3px);box-shadow:var(--glass-shadow),0 0 38px -14px rgba(var(--lg-cyan),.5)}
/* service cards share the glass system's electric-blue rim on hover and focus */
.svc.glass:hover::before,.svc.glass:focus-visible::before{background:var(--lg-edge-blue);padding:1.5px;filter:drop-shadow(0 0 6px rgba(var(--lg-cyan),.5))}
.svc.glass::before{transition:opacity .35s}
.svc:hover .arr,.svc:focus-visible .arr{transform:translateX(4px)}
.svc:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}
.who-cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px 48px;margin-top:clamp(32px,4vw,48px);padding-top:clamp(24px,3vw,36px);border-top:1px solid var(--line)}
.who-cta p{max-width:58ch;font-size:16px;line-height:1.65;color:var(--titanium-1)}
.who-cta .actions{margin-top:0}
@media (max-width:900px){
  .svc,.svc:nth-child(n){grid-column:span 6}
}
@media (max-width:620px){
  .svc,.svc:nth-child(n){grid-column:1 / -1;min-height:0}
}
@media (prefers-reduced-motion:reduce){
  .svc,.svc .arr{transition:none}
  .svc:hover,.svc:focus-visible{transform:none}
  .svc:hover .arr,.svc:focus-visible .arr{transform:none}
}

/* ============ Glass system across the homepage ============ */
.hero .actions .btn-metal{min-height:56px}
.company-link{margin:30px 0 0}
/* Company: faceted-monolith render. The monolith is pushed to the right half; a left-to-right dark scrim
   plus a liquid-glass panel behind the copy keeps white text and chips crisp over the light rays. */
.company .bg img{object-position:0% 50%;filter:saturate(.92) brightness(.9)}
.company::before{background:linear-gradient(90deg,rgba(7,8,12,.94) 0%,rgba(7,8,12,.82) 34%,rgba(7,8,12,.34) 62%,rgba(7,8,12,.12) 100%),linear-gradient(180deg,rgba(7,8,12,.55) 0%,rgba(7,8,12,0) 22%,rgba(7,8,12,0) 78%,rgba(7,8,12,.7) 100%)}
.company .content{position:relative;padding:clamp(28px,3.4vw,48px);margin-block:clamp(72px,9vw,120px);border-radius:var(--radius-l,24px);background:linear-gradient(160deg,rgba(14,18,26,.62),rgba(7,8,12,.5));-webkit-backdrop-filter:blur(18px) saturate(1.15);backdrop-filter:blur(18px) saturate(1.15);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),inset 0 0 0 1px rgba(255,255,255,.07),0 24px 60px rgba(0,0,0,.45)}
@media (max-width:760px){
  .company .bg img{object-position:50% 40%}
  .company::before{background:linear-gradient(180deg,rgba(7,8,12,.35) 0%,rgba(7,8,12,.5) 100%)}
  .company .content{margin-block:72px;background:linear-gradient(160deg,rgba(14,18,26,.58),rgba(7,8,12,.46));-webkit-backdrop-filter:blur(10px) saturate(1.15);backdrop-filter:blur(10px) saturate(1.15)}
}
@media (prefers-reduced-transparency:reduce){.company .content{background:rgba(10,13,19,.94);-webkit-backdrop-filter:none;backdrop-filter:none}}
/* Reserved for owner photography: hidden until real images exist, so no placeholder is ever shown. */
.photo-slots{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:20px;margin-top:48px}
.photo-slots[hidden]{display:none}
.photo-slot{grid-column:span 7;margin:0;aspect-ratio:16/10;border-radius:var(--radius-m);overflow:hidden}
.photo-slot[data-slot="company-portrait"]{grid-column:span 5;aspect-ratio:4/5}
.photo-slot img{display:block;width:100%;height:100%;object-fit:cover}

/* Systems: the connected-loop artwork, large and behind the copy; no overlay panel */
.leads-wide{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;min-height:min(88vh,860px);padding:clamp(72px,10vw,140px) 0}
.lw-bg{position:absolute;inset:0;z-index:-2}
.lw-bg img{display:block;width:100%;height:100%;object-fit:cover;object-position:64% 50%}
.leads-wide::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(90deg,rgba(5,6,10,.95) 0%,rgba(5,6,10,.8) 34%,rgba(5,6,10,.12) 72%,rgba(5,6,10,.38) 100%),linear-gradient(180deg,rgba(5,6,10,.75),rgba(5,6,10,0) 24%,rgba(5,6,10,0) 76%,rgba(5,6,10,.9))}
.lw-in{width:100%}
.lw-text{max-width:560px;display:grid;gap:20px;justify-items:start}
.lw-text h2{font-size:clamp(38px,5vw,68px);line-height:1.02}
.lw-points{list-style:none;margin:4px 0 6px;padding:0;display:grid;gap:12px;width:100%}
.lw-points li{display:grid;gap:6px;padding:16px 20px;border-radius:16px}
/* the same electric-blue traveling light as the nav tabs, running around each card; staggered so the three never line up */
.lw-points li.glass::before{padding:1.5px;
  background:conic-gradient(from var(--tab-beam),rgba(var(--lg-cobalt),0) 0deg,rgba(var(--lg-cobalt),0) 250deg,rgba(var(--lg-cobalt),.55) 292deg,#3b82f6 322deg,#00d2ff 348deg,#eafcff 357deg,rgba(255,255,255,0) 360deg),var(--glass-rim);
  filter:drop-shadow(0 0 3px rgba(var(--lg-cyan),.9)) drop-shadow(0 0 7px rgba(var(--lg-cobalt),.6))}
@media (prefers-reduced-motion:no-preference){
  .lw-points li.glass::before{animation:tab-beam 6s linear infinite}
  .lw-points li.glass:nth-child(2)::before{animation-delay:-2s}
  .lw-points li.glass:nth-child(3)::before{animation-delay:-4s}
}
.lw-points b{font:500 11px/1 var(--mono);letter-spacing:.16em;text-transform:uppercase;color:#fff}
.lw-points span{font:400 14px/1.55 var(--sans);color:var(--titanium-1)}
@media (max-width:760px){
  .leads-wide{min-height:0}
  .lw-bg img{object-position:72% 50%}
  .leads-wide::before{background:linear-gradient(180deg,rgba(5,6,10,.9),rgba(5,6,10,.74) 55%,rgba(5,6,10,.92))}
}

/* Photo cards (liquid glass) */
.gc-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(14px,1.8vw,24px);margin-top:clamp(32px,4vw,56px)}
.gc{grid-column:span 2;min-width:0}
.gc.gc-wide{grid-column:span 3}
.gc .lg-front{aspect-ratio:4/4.6}
.gc.gc-wide .lg-front{aspect-ratio:16/11.5}
.gc .lg-body{margin:0 12px 12px;padding:18px 20px}
.gc .lg-title{font-size:30px}
.gc .lg-back{padding:30px 28px;align-content:center;overflow:auto}
.gc .lg-back .label{color:var(--titanium-1)}
@media (max-width:1000px){
  .gc,.gc.gc-wide{grid-column:span 3}
  .gc:last-child{grid-column:span 6}
  .gc:last-child .lg-front{aspect-ratio:16/9}
}
@media (max-width:700px){
  .gc-grid{grid-template-columns:1fr}
  .gc,.gc.gc-wide,.gc:last-child{grid-column:auto}
  .gc .lg-front,.gc.gc-wide .lg-front,.gc:last-child .lg-front{aspect-ratio:4/4.7}
}

/* Approach: open orbit diagram, no panel */
.orbit{margin:0;display:grid;justify-items:center;gap:16px}
.orbit svg{width:min(100%,520px);height:auto;overflow:visible}
.orbit text{font:500 11px/1 var(--mono);letter-spacing:.18em;fill:#C9CFD9}
.o-ring{transform-box:fill-box;transform-origin:center}
.orbit-cap{text-align:center;color:var(--titanium)}
@media (prefers-reduced-motion:no-preference){
  .o-r1{animation:o-spin 38s linear infinite}
  .o-r2{animation:o-spin 90s linear infinite reverse}
  .o-r3{animation:o-spin 14s linear infinite}
}
@keyframes o-spin{to{transform:rotate(360deg)}}

/* Closing call to action */
.closing{position:relative;padding-top:clamp(80px,12vw,170px)}
.closing-in{display:grid;justify-items:start}
.closing-copy{max-width:760px;display:grid;gap:22px;justify-items:start}
.closing-copy h2{font-size:clamp(42px,6.4vw,92px);line-height:1}
.closing-copy .actions{margin-top:6px}
