/* The opening page (welcome.html), on top of site.css: the owner's look C, "cinematic city" (2026-11-22). The first
   screen is the filmed Chicago skyline for the time of day, looping, under a soft dark scrim, with the headline at the
   bottom left (never centred: that is another company's look), a heavy sans-serif, a gold main button and a quieter
   outlined one, and a small glass strip from the sample office. The film part stays light on dark in both modes. */

/* ---------- the top bar over the film: see-through until the film is scrolled past, then solid ---------- */
.site-top[data-over-film]{position:fixed;left:0;right:0;top:0}
.site-top[data-over-film]:not(.solid){background:linear-gradient(180deg,rgba(5,8,14,.55),rgba(5,8,14,0));border-color:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}
.site-top[data-over-film]:not(.solid) .site-nav a{color:#FFFFFF}
.site-top[data-over-film]:not(.solid) .site-nav a:hover{background:rgba(255,255,255,.12)}
.site-top[data-over-film]:not(.solid) .logo-themed{display:none}
.site-top[data-over-film]:not(.solid) .logo-film{display:block}
.site-top[data-over-film]:not(.solid) .skyTheme{background:rgba(5,8,14,.35);border-color:rgba(255,255,255,.35);color:#FFFFFF}

/* ---------- the first screen ---------- */
.hero{position:relative;isolation:isolate;display:flex;align-items:flex-end;min-height:max(560px,100svh);overflow:hidden;color:#FFFFFF;background:#0B1F3A center/cover no-repeat}
.hero video{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 250ms var(--ease)}
.hero.moving video{opacity:1}
/* The scrim: dark only where the words are, an ellipse from the bottom left, so the city shows on the right and at the
   top (owner: the cinematic city). Its strength follows the film for the time of day, measured behind the words on each
   loop (2026-11-22, the brightest pixel there): night 0.54 luminance (lit windows on a dark sky), dawn 0.86, day 0.98.
   Inside the ellipse white words keep 4.5:1 or more even over that brightest pixel: night .45, dawn .55, day .62 (the
   default, also without scripts). Under 1100px the words span the width, so the scrim runs up from the bottom instead. */
.hero{--scrim:.62;--edge:.2}
.hero[data-slot="dawn"]{--scrim:.55;--edge:.14}
.hero[data-slot="night"]{--scrim:.45;--edge:.08}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse 120% 130% at 0% 100%,rgba(5,8,14,var(--scrim)) 0%,rgba(5,8,14,var(--scrim)) 72%,rgba(5,8,14,var(--edge)) 95%),
             linear-gradient(180deg,rgba(5,8,14,.45) 0%,rgba(5,8,14,0) 16%)}
@media (max-width:1100px){.hero::before{background:linear-gradient(0deg,rgba(5,8,14,var(--scrim)) 0%,rgba(5,8,14,var(--scrim)) 70%,rgba(5,8,14,var(--edge)) 90%),
  linear-gradient(180deg,rgba(5,8,14,.45) 0%,rgba(5,8,14,0) 16%)}}
.hero-in{width:100%;max-width:var(--wrap);margin:0 auto;padding:120px 24px 56px;display:flex;flex-direction:column;align-items:flex-start;gap:22px}
.hero h1{margin:0;max-width:12ch;font-size:var(--fsHero);font-weight:var(--display);letter-spacing:var(--track);line-height:1.04;color:#FFFFFF;text-wrap:balance;text-shadow:0 2px 28px rgba(0,0,0,.35)}
.hero h1 em{font-style:normal;color:#E5C67A}
.hero-sub{margin:0;max-width:34em;font-size:clamp(17px,1.5vw,20px);line-height:1.55;color:#E6EDF5;text-shadow:0 1px 16px rgba(0,0,0,.4)}
.cta-row{display:flex;flex-wrap:wrap;gap:12px}
/* The first screen enters once, as the page first paints (round 3, the taste pass): the headline, the line, the
   buttons and the strip settle up from 10px and come into focus from a slight blur, one after another (450 ms, 60 ms
   apart, a strong ease-out). They are readable from the first frame (no fade from nothing), and reduced motion turns
   it off (tokens.css). */
@keyframes heroIn{from{transform:translateY(10px);filter:blur(4px)}}
.hero-in > *{animation:heroIn 450ms cubic-bezier(.23,1,.32,1) backwards}
.hero-in > :nth-child(2){animation-delay:60ms}
.hero-in > :nth-child(3){animation-delay:120ms}
.hero-in > :nth-child(4){animation-delay:180ms}
.btn.film{background:rgba(5,8,14,.28);border-color:rgba(255,255,255,.4);color:#FFFFFF;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.btn.film:hover:not(:disabled){background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.7);box-shadow:none}
/* The sample office strip: glass, clearly labelled as a sample with made-up work. */
.sample-strip{margin:4px 0 0;display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:8px 16px 8px 8px;border:1px solid rgba(255,255,255,.18);border-radius:var(--rPill);background:rgba(11,17,24,.62);-webkit-backdrop-filter:blur(10px) saturate(140%);backdrop-filter:blur(10px) saturate(140%);font-size:14px;line-height:1.4;color:#E6EDF5}
.sample-strip b{font-family:var(--mono);font-variant-numeric:tabular-nums;font-weight:700;color:#FFFFFF}
.sample-tag{padding:3px 10px;border-radius:var(--rPill);background:#E5C67A;color:#0B1F3A;font-size:12px;font-weight:700;letter-spacing:.04em}
.sample-strip .dot{color:rgba(255,255,255,.5)}
.sample-note{color:#C9D6E3;font-style:italic}
.hero-play{position:absolute;right:24px;bottom:24px;z-index:2;min-height:40px;padding:0 16px;border:1px solid rgba(255,255,255,.35);border-radius:var(--rPill);background:rgba(5,8,14,.45);color:#FFFFFF;font:inherit;font-size:13.5px;cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:background-color var(--t1) var(--ease)}
.hero-play:hover{background:rgba(5,8,14,.7)}
.hero-play:focus-visible{outline:var(--focusW) solid #FFD54F;outline-offset:2px}

/* ---------- How it works: three steps, one line each ---------- */
.how3{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
/* (Not links, so no hover lift: only what can be pressed answers the pointer.) */
.how3 li{display:flex;flex-direction:column;gap:10px;padding:24px;border:1px solid var(--line);border-radius:var(--r5);background:var(--panel)}
.how3 p{margin:0;color:var(--label)}
.num3{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--navy);color:#F4EBD8;font-family:var(--mono);font-weight:700;box-shadow:inset 0 0 0 1px var(--cta)}

/* ---------- A look inside: four real screens, each caption explaining its name ---------- */
.shots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.shot-card{margin:0;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--r5);overflow:hidden;background:var(--panel);transition:border-color var(--t2) var(--ease),transform var(--t2) var(--ease),box-shadow var(--t2) var(--ease)}
@media (hover:hover) and (pointer:fine){.shot-card:hover{border-color:var(--goldLine);transform:translateY(-2px);box-shadow:var(--e1)}}
.shot-card img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:top center;background:var(--panel2);border-bottom:1px solid var(--line)}
/* Each picture opens larger (welcome.js): a real button around it, a modal with the caption, closed by Escape, the
   Close button or a click outside. On a phone it opens at its full size and pans sideways. */
.shot-zoom{display:block;width:100%;margin:0;padding:0;border:0;background:none;color:inherit;cursor:zoom-in}
.shot-zoom:focus-visible{outline:var(--focusW) solid var(--focus);outline-offset:-4px}
.shot-zoom .zoom-hint{position:absolute;top:12px;right:12px;padding:4px 10px;border-radius:var(--rPill);background:rgba(5,8,14,.72);color:#F4EBD8;font-size:13px;font-weight:600;pointer-events:none}
.shot-card{position:relative}
.shot-view{width:min(960px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid var(--goldLine);border-radius:var(--r5);background:var(--panel);color:var(--text);box-shadow:var(--e2);overflow:hidden}
.shot-view::backdrop{background:rgba(5,8,14,.78)}
.shot-view[open]{display:flex;flex-direction:column}
.shot-view .view-pic{overflow:auto;overscroll-behavior:contain;background:var(--panel2)}
.shot-view img{display:block;width:100%;height:auto}
.shot-view .view-foot{display:flex;align-items:center;gap:16px;justify-content:space-between;padding:14px 20px;border-top:1px solid var(--line)}
.shot-view .view-foot p{margin:0;font-size:15px;color:var(--label)}
.shot-view .view-foot b{color:var(--figure)}
@media (max-width:700px){.shot-view{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.shot-view img{width:auto;max-width:none}.shot-view .view-foot{padding:12px 16px}}
.shot-card figcaption{padding:16px 20px 18px;font-size:15px;color:var(--label)}
.shot-card figcaption b{color:var(--figure)}

#plans .pcards{margin-top:4px}

/* ---------- phones ---------- */
@media (max-width:900px){.how3{grid-template-columns:minmax(0,1fr)}}
@media (max-width:760px){.shots{grid-template-columns:minmax(0,1fr)}}
@media (max-width:640px){
  .hero{min-height:max(560px,100svh)}
  .hero-in{padding:96px 16px 40px;gap:18px}
  .hero h1{max-width:none}
  .cta-row{width:100%}
  .cta-row .btn{flex:1 1 100%}
  .sample-strip{border-radius:var(--r4);font-size:13.5px}
  .sample-strip .dot{display:none}
  .hero-play{right:16px;bottom:auto;top:72px}
  .how3 li{padding:18px 16px}
  .shot-card figcaption{padding:14px 16px}
}
