/* The one template (owner, Oct 21 2026): a full-screen natural-color video panel under a light dark overlay, a left-aligned headline,
   one line and crisp buttons. Used by the homepage hero, every homepage product band and every product page's first
   screen, together with the shared header that sits over it. Playback is home.js; reviewed boxes are home-overlays.js.
   Class prefix vp = video panel. Rules carry two selectors so they win over the pages' own element styles. */

/* Header: over the first panel, transparent, scrolls away with the page (never sticky). */
.home-header{position:absolute;top:0;left:0;right:0;z-index:20;box-sizing:border-box;height:88px;max-width:none;margin:0;padding:0 56px;display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:35px;background:transparent;border:0;color:#f5f5f7}
.home-header *{box-sizing:border-box}
.home-header .brand{display:flex;align-items:center;gap:12px;font-size:22px;font-weight:500;line-height:1;letter-spacing:-.6px;white-space:nowrap;color:#f5f5f7;text-decoration:none}
.home-header .brand svg{width:28px;height:28px;flex:none}
.home-header nav{display:flex;align-items:center;justify-content:center;gap:28px;flex:1;order:0;width:auto;margin:0;padding:0;font-size:14px;color:#f5f5f7}
.home-header nav a{color:#f5f5f7;white-space:nowrap;text-decoration:none;border:0;padding:0}
.home-header nav a:hover,.home-header .sign-in:hover{text-decoration:underline;text-underline-offset:6px}
.home-header nav a[aria-current=page]{color:#f5f5f7;border:0;padding:0;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:6px}
.home-header .header-actions{display:flex;align-items:center;gap:26px;flex:none}
.home-header .sign-in{font-size:14px;color:#f5f5f7;text-decoration:none}
.home-header .header-cta{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:14px;font-weight:500;color:#f5f5f7;text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:rgba(245,245,247,.55);text-underline-offset:7px}
.home-header .header-cta:hover{text-decoration-color:#f5f5f7}
.home-header .header-cta span{display:inline-block}
.home-header #home-menu,.home-header .mobile-signin{display:none}
.home-header a:focus-visible,.home-header button:focus-visible{outline:2px solid #f5f5f7;outline-offset:4px}

/* The panel. */
section.vp{position:relative;display:block;box-sizing:border-box;height:100vh;height:100svh;min-height:560px;max-width:none;margin:0;padding:0;border:0;overflow:hidden;isolation:isolate;scroll-margin-top:0;background:#0a0a0b;color:#f5f5f7}
section.vp *{box-sizing:border-box}
/* Keep the opening film full-screen while allowing enlarged copy or a short phone
   to extend the panel instead of clipping the heading beneath the header. */
.home .home-hero.vp{display:flex;flex-direction:column;justify-content:flex-end;height:auto;min-height:100vh;min-height:max(560px,100svh);padding-top:112px}
.home .home-hero .vp-body{position:relative;width:100%;flex:none}
@media(max-width:850px){.home .home-hero.vp{padding-top:96px}}
.vp .vp-media{position:absolute;inset:0;z-index:0;margin:0}
/* Decorative North Avenue panels: the camera's burned-in clock and maker logo sit in the top right of the frame
   (1280x720 source box x 796-1268, y 0-84). Scaling the whole media box (video, film and boxes together, so reviewed
   boxes stay on their objects) from its bottom-left corner pushes that strip past the top edge at every window shape;
   tests/homepage-browser.mjs measures it at 1920x1080, 1440x900, 1280x800 and 390x844. */
.vp .vp-media--crop{transform:scale(1.14);transform-origin:0 100%}
.vp .vp-media video{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;aspect-ratio:auto;margin:0;object-fit:cover;object-position:50% 50%;background:#0a0a0b;filter:none}
.vp .vp-media--low video{object-position:50% 100%}
.vp .vp-film{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(10,10,11,.3) 0%,transparent 24%,transparent 48%,rgba(10,10,11,.86) 100%)}
.vp .vp-media svg{position:absolute;inset:0;z-index:2;display:block;width:100%;height:100%;pointer-events:none;overflow:hidden}
/* Screen captures (documents) beside the copy, only at >= 1100px wide, >= 600px tall and >= 5:4: the interface sits to
   the right of the copy below the 88px header and fades in from the dark, so no interface text runs behind the
   headline. Footage panels stay full-bleed. */
@media(min-width:1100px) and (min-height:600px) and (min-aspect-ratio:5/4){
 .vp .vp-media--screen{left:34%}
 .vp .vp-media--screen.vp-screen-right{left:40%}
 .vp .vp-media--screen video{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 22%);mask-image:linear-gradient(90deg,transparent 0,#000 22%)}
 .vp .vp-screen-left video{object-position:0% 50%}
 .vp .vp-screen-right video{object-position:100% 50%;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 16%);mask-image:linear-gradient(90deg,transparent 0,#000 16%)}
 .vp .vp-media--screen~.vp-body .vp-copy{max-width:min(900px,36vw)}
 .vp .vp-media--screen{top:88px}
 .vp .vp-media--screen~.vp-body .vp-title{font-size:clamp(44px,5.4vw,80px)}
}
/* Everywhere else (the exact complement): the document capture sits in flow above the copy and ends before the
   eyebrow. */
@media(max-width:1099px),(max-height:599px),not all and (min-aspect-ratio:5/4){
 section.vp:has(> .vp-media--screen:not(.vp-media--panel)){display:flex;flex-direction:column;height:auto;min-height:100vh;min-height:100svh}
 .vp .vp-media--screen:not(.vp-media--panel){position:relative;inset:auto;flex:1 1 auto;min-height:220px;margin-top:88px}
 .vp .vp-media--screen:not(.vp-media--panel) video{-webkit-mask-image:linear-gradient(180deg,#000 70%,transparent);mask-image:linear-gradient(180deg,#000 70%,transparent)}
 .vp .vp-media--screen:not(.vp-media--panel)~.vp-body{position:relative;flex:none}
 .vp .vp-screen-left video{object-position:30% 0%}
 .vp .vp-screen-right video{object-position:85% 0%}
}
@media(max-width:850px){.vp .vp-media--screen:not(.vp-media--panel){margin-top:72px}}
/* A panel capture (vp-media--panel: the legal research question box down to its first result) is the interface
   itself: always shown whole at its own aspect (742x820), never cropped, faded or under a film, so the typed question,
   the search and the result are all in view. Beside the copy from 1024px wide (>= 600px tall, >= 5:4), centred right of
   it at a fixed reading size; everywhere else above the copy, centred, 560px wide (the full content width on phones),
   with no rule of its own under it. */
.vp .vp-media--panel .vp-film{display:none}
.vp .vp-media--panel video{position:relative;inset:auto;height:auto;max-width:100%;aspect-ratio:1492/1676;object-fit:contain;object-position:50% 0;-webkit-mask-image:none;mask-image:none}
@media(min-width:1024px) and (min-height:600px) and (min-aspect-ratio:5/4){
 .vp .vp-media--panel{top:88px;left:40%;right:56px;display:flex;align-items:center;justify-content:center}
 .vp .vp-media--panel video{width:clamp(400px,34vw,600px);max-height:calc(100% - 48px)}
 .vp .vp-media--panel~.vp-body .vp-copy{max-width:min(900px,36vw)}
 .vp .vp-media--panel~.vp-body .vp-title{font-size:clamp(44px,5.4vw,80px)}
}
@media(min-width:1024px) and (min-height:600px) and (min-aspect-ratio:5/4) and (max-width:1150px){.vp .vp-media--panel{right:32px}}
/* The documents capture (the page box row and the top 345 px of the original page, recorded in a 980 px window: a
   606 x 410 px frame at device scale 2, receipts/document_review_film_20261022.json) is shown at its own aspect and never
   smaller than the frame was drawn, so the viewer's 14 px controls and the printed running head read at 13 px or more
   (1024 px windows up). Phones get its phone film: the same frames cut to the printed lines (390 x 340 px), without the
   page box row, which would be too small to read. The frame ends in blank paper between printed lines; its lower part
   eases into the ground so the page reads as continuing below rather than cut off (the page box row, the running head
   and the judgment's lines are never under the fade). */
.vp #document-video{aspect-ratio:1728/1482;-webkit-mask-image:linear-gradient(180deg,#000 82%,rgba(0,0,0,.72) 90%,rgba(0,0,0,.32) 96%,transparent);mask-image:linear-gradient(180deg,#000 82%,rgba(0,0,0,.72) 90%,rgba(0,0,0,.32) 96%,transparent)}
/* The sound search capture (8 Nov 2026: the first screen of /sound-analysis/): 1060x858 CSS at device scale 2, its phone cut 390x1355. */
.vp #search-video{aspect-ratio:2120/1746}
@media(max-width:600px){.vp #search-video{aspect-ratio:780/2758}}
/* Beside the copy: as wide as the column allows while a 48 px gap to the copy remains (606 px at 1280, 715 at 1440, 820
   from about 1600), centred in the panel below the header like the legal research panel; from 1024 to 1150 px the copy
   narrows to 32vw so the capture can take its whole column (582 px at 1024, 14 px controls at 13.4 px). */
@media(min-width:1024px) and (min-height:600px) and (min-aspect-ratio:5/4){.vp .vp-media--panel #document-video{width:min(calc(100% - 208px + 8vw),820px)}}
@media(min-width:1024px) and (max-width:1150px) and (min-height:600px) and (min-aspect-ratio:5/4){.vp .vp-media--panel #document-video{width:100%}.vp .vp-media--panel:has(#document-video)~.vp-body .vp-copy{max-width:32vw}}
@media(max-width:1023px),(max-height:599px),not all and (min-aspect-ratio:5/4){.vp .vp-media--panel #document-video{width:min(100%,760px)}}
@media(max-width:600px){.vp #document-video{aspect-ratio:1170/1440}}
/* The narrowest phones (320 px): the documents capture runs edge to edge so its printed running head stays at 12 px. */
@media(max-width:360px){.vp .vp-media--panel:has(#document-video){margin-left:0;margin-right:0}}
@media(max-width:1023px),(max-height:599px),not all and (min-aspect-ratio:5/4){
 section.vp:has(> .vp-media--panel){display:flex;flex-direction:column;justify-content:center;height:auto;min-height:100vh;min-height:100svh}
 .vp .vp-media--panel{position:relative;inset:auto;flex:none;display:flex;justify-content:center;margin:88px 32px 28px}
 .vp .vp-media--panel video{width:min(100%,560px)}
 .vp .vp-media--panel~.vp-body{position:relative;flex:none}
}
@media(max-width:850px){.vp .vp-media--panel{margin-top:72px}}
/* Homepage bands are not under the header. A stacked capture band stays one full screen (owner, Oct 21). On tablets its
   capture starts 48 px from the band's top edge and its copy sits on the band's bottom edge, as on every footage band, so
   no dead ground opens between one band and the next. Phones: see below. */
@media(max-width:1023px),(max-height:599px),not all and (min-aspect-ratio:5/4){
 section.vp-band:has(> .vp-media--panel){justify-content:space-between}
 .vp-band .vp-media--panel{margin-top:48px}
}
/* Phones: a stacked capture band still takes the whole screen (owner, Oct 21), but the copy follows the capture directly
   (20 px, as on the product pages' first screens) and the pair sits in the middle of the band, so what the screen has to
   spare is split above the capture and below the copy (a quiet margin to the bands either side), never an empty block
   between a capture and its own words. */
@media(max-width:600px){section.vp-band:has(> .vp-media--panel){justify-content:center}}
@media(max-width:600px){.vp .vp-media--panel{margin:72px 20px 20px}.vp .vp-media--panel video{width:100%}.vp .vp-media--panel~.vp-body{gap:8px;padding-bottom:12px}.vp .vp-media--panel~.vp-body .vp-title{font-size:44px}.vp .vp-media--panel~.vp-body .vp-line{font-size:15px;margin-top:8px;line-height:1.4}.vp .vp-media--panel~.vp-body .vp-actions{margin-top:8px}.vp .vp-media--panel~.vp-body .vp-eyebrow{margin-bottom:6px}.vp-band .vp-media--panel{margin-top:40px}}
.vp .vp-body{position:absolute;left:0;right:0;bottom:0;z-index:3;display:flex;flex-direction:column;gap:clamp(24px,4vh,48px);padding:0 56px 26px}
/* Keep the picture clear outside the words. Local contrast protection replaces the broad blurred shade;
   no filter changes the footage. The shade extends past the copy before it fades, so the last words stay legible. */
.vp .vp-copy{position:relative}
.vp .vp-copy::before{content:"";position:absolute;z-index:-1;inset:-40px -140px -36px -56px;background:linear-gradient(90deg,rgba(10,10,11,.64) 0,rgba(10,10,11,.64) calc(100% - 120px),transparent 100%);-webkit-mask-image:linear-gradient(180deg,transparent,#000 40px,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(180deg,transparent,#000 40px,#000 calc(100% - 36px),transparent);pointer-events:none}
/* Beside a panel capture only the ground is behind the copy, so no shade: it would lie over the capture's left edge. */
.vp .vp-media--panel~.vp-body .vp-copy::before{display:none}
.vp .vp-source{position:relative}
.vp .vp-source::before{content:"";position:absolute;z-index:-1;inset:-4px -12px;background:rgba(10,10,11,.4);pointer-events:none}
.vp .vp-copy,.vp .vp-foot{text-shadow:0 1px 2px rgba(10,10,11,.6)}
.vp .vp-btn,.vp .vp-controls button{text-shadow:none}
.vp .vp-copy{max-width:min(900px,100%)}
/* Porcelain, not silver: the eyebrow sits over the brightest part of the film; silver measured 1.95:1 there. */
.vp .vp-eyebrow{margin:0 0 18px;font-size:13px;line-height:1.4;font-weight:500;letter-spacing:0;color:#f5f5f7}
.vp .vp-title{margin:0;font-size:clamp(44px,6vw,88px);line-height:1.02;font-weight:500;letter-spacing:-.03em;color:#f5f5f7;text-wrap:balance}
.vp .vp-title span{display:block}
.vp .vp-line{margin:22px 0 0;max-width:660px;font-size:clamp(18px,1.25vw,22px);line-height:1.5;font-weight:400;letter-spacing:0;color:#f5f5f7}
.vp .vp-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 28px;margin-top:30px}
.vp .vp-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:0 20px;border:1px solid #f5f5f7;border-radius:5px;background:#f5f5f7;color:#0a0a0b;font-size:15px;font-weight:500;line-height:1;white-space:nowrap;text-decoration:none}
.vp .vp-btn:hover{background:#e5e5ea;border-color:#e5e5ea}
.vp .vp-link{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:#f5f5f7;font-size:15px;font-weight:500;line-height:1.3;text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:rgba(245,245,247,.55);text-underline-offset:7px}
.vp .vp-link:hover{text-decoration-color:#f5f5f7}
.vp .vp-btn span,.vp .vp-link span{display:inline-block}
/* Foot row: the clip's source label, then Pause/Play (and Sound only on a clip with source audio). */
.vp .vp-foot{display:flex;align-items:center;justify-content:space-between;gap:10px 24px;min-height:44px;font-size:12px;line-height:1.5;color:#a1a1a8;font-variant-numeric:tabular-nums}
.vp .vp-source{color:#c7c7ce;text-decoration:none;min-width:0}
.vp a.vp-source:hover{color:#f5f5f7}
.vp .phone-note{display:none}
.vp .vp-controls{display:flex;flex:none;gap:8px}
.vp .vp-controls button{min-height:44px;min-width:72px;margin:0;padding:0 16px;border:1px solid rgba(245,245,247,.42);border-radius:5px;background:rgba(10,10,11,.55);color:#f5f5f7;font:inherit;font-size:13px;font-weight:500;line-height:1;cursor:pointer}
.vp .vp-controls button:hover{border-color:#f5f5f7}
.vp .vp-controls button[aria-pressed=true]{background:#f5f5f7;border-color:#f5f5f7;color:#0a0a0b}
/* Hero only: the five product words again along the bottom edge, each opening its page. */
.vp .vp-products{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0 24px;margin:0;padding:0;order:0;width:auto;font-size:15px;color:#f5f5f7}
.vp .vp-products a{display:flex;align-items:baseline;gap:10px;min-height:56px;padding:15px 0 6px;border-top:1px solid rgba(245,245,247,.28);color:#f5f5f7;font-weight:500;text-decoration:none;white-space:nowrap;transition:border-color .2s ease}
.vp .vp-products a:hover,.vp .vp-products a:focus-visible{border-top-color:#f5f5f7}
.vp .vp-index{font-size:12px;font-weight:500;color:#c7c7c7;font-variant-numeric:tabular-nums}
.vp a:focus-visible,.vp button:focus-visible{outline:2px solid #f5f5f7;outline-offset:3px}
.vp .vp-products a:focus-visible{outline-offset:-1px}

@media(max-width:1150px){.home-header{padding:0 32px;gap:22px}.home-header nav{gap:18px;font-size:13px}.home-header .header-cta{display:none}.vp .vp-body{padding:0 32px 22px}.vp .vp-products{gap:0 16px;font-size:14px}}
@media(max-width:850px){
 .home-header{height:72px;justify-content:space-between}
 .home-header .sign-in{display:none}
 .home-header .header-cta{display:inline-flex}
 .home-header #home-menu{display:block;order:3;min-height:44px;padding:0 14px;border:1px solid rgba(245,245,247,.42);border-radius:6px;background:rgba(10,10,11,.4);color:#f5f5f7;font:inherit;font-size:13px;cursor:pointer}
 .home-header nav{display:none;position:absolute;top:72px;left:0;right:0;flex:none;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:0;padding:8px 24px 18px;background:#0a0a0b;border-top:1px solid #2c2c30;font-size:15px}
 .home-header nav.is-open{display:flex}
 .home-header nav a{display:flex;align-items:center;width:100%;min-height:48px;border-bottom:1px solid #2c2c30}
 .home-header nav a:last-child{border-bottom:0}
 .home-header .mobile-signin{display:flex}
 .home-header .header-actions{margin-left:auto}
 .vp .vp-products{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:600px){
 .home-header{padding:0 20px;gap:14px}
 .home-header .brand{font-size:20px;gap:9px}
 .home-header .brand svg{width:25px;height:25px}
 .home-header .header-actions{display:none}
 .home-header nav{padding:6px 20px 16px}
 .vp .vp-body{gap:22px;padding:0 20px 14px}
 .vp .vp-eyebrow{margin-bottom:14px;font-size:12px}
 .vp .vp-line{margin-top:16px;font-size:18px}
 .vp .vp-actions{margin-top:22px}
 .vp .vp-products{grid-template-columns:1fr 1fr;gap:0 16px;font-size:14px}
 .vp .vp-products a{min-height:44px;padding:11px 0 4px;white-space:normal}
 .vp .vp-products a:last-child{grid-column:1/-1}
 .vp .vp-foot{align-items:flex-end;font-size:11px}
 .vp .display-note{display:none}
 .vp .phone-note{display:inline}
}
/* The first panel's copy eases up as the page scrolls past it (home.js sets --hero-departure; never moves the scroll). */
@media(min-width:851px) and (prefers-reduced-motion:no-preference){.home-hero .vp-copy{translate:0 calc(var(--hero-departure,0) * -34px);opacity:calc(1 - var(--hero-departure,0) * .42)}.home-hero .vp-copy:focus-within{translate:none;opacity:1}}
@media(max-width:380px){.vp .vp-products{font-size:13px}}
/* Landscape phones: the panel keeps its 560px floor; tighter spacing keeps the copy clear of the header. */
@media(max-height:500px){.vp .vp-body{gap:16px}.vp .vp-eyebrow{margin-bottom:10px}.vp .vp-title{font-size:44px}.vp .vp-line{margin-top:12px;font-size:17px}.vp .vp-actions{margin-top:16px}.vp .vp-products a{min-height:44px;padding:10px 0 4px}}
@media(prefers-reduced-motion:reduce){.vp .vp-products a{transition:none}.home-hero .vp-copy{opacity:1;translate:none;transition:none}}

/* Product pages: the first panel runs full-bleed; the page's own sections keep their measured column. */
main.vp-main{max-width:none;margin:0;padding:0}
.vp-main .page-body{max-width:1280px;margin:0 auto}
@media(max-width:1350px){.vp-main .page-body{margin:0 40px}}
@media(max-width:650px){.vp-main .page-body{margin:0 22px}}
.product-page .skip-link{position:fixed;left:18px;top:-80px;z-index:40;background:#fff;color:#1f1f1f;padding:15px}
.product-page .skip-link:focus{top:15px}

/* Phones: the portrait crop pushes reviewed boxes under the copy, so the overlay fades out behind it. The geometry is
   unchanged, and the full frame with every box stays in the North Avenue player. */
@media (max-width:600px){.vp .vp-media svg{-webkit-mask-image:linear-gradient(180deg,#000 0,#000 34%,transparent 58%);mask-image:linear-gradient(180deg,#000 0,#000 34%,transparent 58%)}}

/* Header logo at the owner-approved size (Oct 25), kept when the full-screen hero returned (Oct 26). */
.home-header .brand svg{width:32px;height:32px}
@media(max-width:600px){.home-header .brand svg{width:28px;height:28px}}
