:root {
  color-scheme: light;
  --ink: #08090c;
  --red: #e60033;
  --red-hover: #c5002c;
  --paper: #f5f5f5;
  --white: #fff;
  --muted: #4d5057;
  --line: #dbdce0;
  --page-width: 1280px;
  --gutter: clamp(22px, 5.25vw, 84px);
  --header-height: 68px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--header-height); }
@media (prefers-reduced-motion: no-preference) {
  html:has(a[href^="#"]:focus:not(:focus-visible)) { scroll-behavior: smooth; }
}
body { margin: 0; color: var(--ink); background: var(--ink); }
body, button, select, input { font-size: 16px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; }
button, summary, select { cursor: pointer; }
button { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
.hero :focus-visible, .site-header :focus-visible, .peephole-intro :focus-visible { outline-color: #fff; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2 { letter-spacing: -.04em; font-weight: 600; line-height: 1.03; text-wrap: balance; }
h2, .page-title { font-size: clamp(2.65rem, 5.3vw, 5.9rem); }
p { line-height: 1.55; }
.wrap { width: min(calc(100% - var(--gutter) * 2), var(--page-width)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 50; top: 10px; left: 10px; transform: translateY(-150%); padding: 12px 16px; color: var(--ink); background: #fff; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 30; height: var(--header-height); background: #07080b; color: #fff; border-bottom: 1px solid #ffffff16; }
.nav-shell { width: min(calc(100% - var(--gutter) * 2), var(--page-width)); height: 100%; margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; width: fit-content; font-size: 17px; font-weight: 700; letter-spacing: -.045em; white-space: nowrap; }
.site-header nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.site-header nav a, .nav-action { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.site-header nav a { color: #dedee1; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.nav-action { justify-self: end; padding-inline: 15px; border: 1px solid #ffffff88; border-radius: 99px; background: #08090c55; transition: background .2s var(--ease); }
.nav-action:hover { background: #ffffff18; }
.menu-button { display: none; }

.button { display: inline-flex; min-height: 48px; justify-content: center; align-items: center; gap: 10px; padding: 0 23px; border: 1px solid transparent; border-radius: 99px; font-weight: 600; font-size: 14px; transition: background .2s var(--ease), color .2s var(--ease); }
.button-light { border-color: #ffffff88; color: #fff; background: #08090c55; }
.button-light:hover { background: #fff; color: var(--ink); }
.button-red { color: #fff; background: var(--red); }
.button-red:hover { background: var(--red-hover); }
.button:disabled { cursor: wait; opacity: .7; }
.eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.eyebrow > span, .signal-path span { color: var(--red-hover); }

.hero { position: relative; display: flex; flex-direction: column; align-items: center; isolation: isolate; overflow: clip; min-height: max(580px, calc(100svh - var(--header-height))); color: #fff; background: radial-gradient(ellipse at 50% 73%, #354252 0%, #181f29 33%, #0a0c10 68%, #07080b 100%); }
.hero-content { position: relative; z-index: 2; padding-top: clamp(38px, 6.4svh, 74px); text-align: center; }
.status-tag { display: inline-flex; align-items: center; padding: 6px 10px; margin-bottom: 19px; border-radius: 4px; color: #fff; background: var(--red); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.hero h1 { font-size: clamp(2.9rem, 5.4vw, 6rem); line-height: 1.02; }
.hero p { margin: 15px auto 24px; color: #e4e5ea; font-size: clamp(1rem, 1.7vw, 1.28rem); }
.mobile-break { display: none; }
.hero-gallery { position: absolute; inset: 34% 0 0; z-index: -1; container-type: size; }
.hero-slide { position: absolute; inset: 0; display: grid; place-items: center; }
.hero-slide img {
  width: auto;
  height: auto;
  max-width: min(100%, var(--page-width));
  max-height: 100%;
  max-height: 100cqh;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 82%, transparent), linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
  mask-composite: intersect;
}
.hero-slide.is-active img { animation: photo-in .65s var(--ease) both; }
.hero[data-enter] .hero-content { animation: hero-enter .7s var(--ease) both; }
@keyframes hero-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes photo-in { from { opacity: .15; } to { opacity: 1; } }
.hero-controls { position: absolute; z-index: 2; left: 50%; bottom: 25px; transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; }
.gallery-controls { display: flex; gap: 9px; }
.gallery-end { display: flex; align-items: center; gap: 14px; }
.gallery-credit { color: #c9cbd0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.gallery-tab, .gallery-toggle { min-height: 44px; border: 0; background: transparent; color: #fff; }
.gallery-tab { display: flex; gap: 8px; align-items: center; justify-content: flex-start; padding: 0 12px; border-bottom: 2px solid #ffffff54; font-size: 12px; color: #dddde2; transition: border-color .2s var(--ease), background .2s var(--ease); }
.gallery-tab img { flex: none; width: 44px; height: 28px; border-radius: 3px; object-fit: cover; background: #303642; }
.gallery-tab span:first-of-type { font-variant-numeric: tabular-nums; font-size: 11px; }
.gallery-tab[aria-pressed="true"] { border-color: #fff; color: #fff; }
.gallery-tab:hover { background: #ffffff18; }
.gallery-toggle { display: grid; place-items: center; min-width: 44px; border: 1px solid #ffffff6c; border-radius: 50%; background: #08090c66; }
.gallery-toggle:hover { background: #ffffff24; }
.gallery-toggle .play-icon, .gallery-toggle.is-paused .pause-icon { display: none; }
.gallery-toggle.is-paused .play-icon { display: block; }

.home-shop { background: var(--paper); padding-block: clamp(55px, 8vw, 105px); }
.home-shop-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(26px, 6vw, 88px); }
.home-shop h2 { margin-block: 15px 12px; }
.home-shop p { color: var(--muted); font-size: 1.125rem; }
.home-shop .button { margin-top: 24px; }
.home-shop .home-shop-price { margin-top: 16px; font-weight: 600; color: var(--ink); }
.home-shop-layout > img { width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; border-radius: 19px; }

.hardware { position: relative; background: #0a0b0f; color: #fff; }
.hardware.is-scrubbable .hardware-track { min-height: 190svh; }
.hardware-stage { position: relative; isolation: isolate; display: flex; align-items: center; min-height: min(780px, calc(100svh - var(--header-height))); overflow: clip; }
.hardware.is-scrubbable .hardware-stage { position: sticky; top: var(--header-height); }
.hardware-image, .hardware-film, .hardware-shade { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.hardware-image { background: #141820 url("assets/optics-detail.webp") center center / cover no-repeat; }
.hardware-film { object-fit: cover; opacity: 0; }
.hardware-film.is-ready { opacity: 1; }
.hardware.is-scrubbable:has(.hardware-film.is-ready) .hardware-image { visibility: hidden; }
.hardware-shade { background: linear-gradient(90deg, #08090cf2 0%, #08090cdd 22%, #08090c61 53%, #08090c10 80%), linear-gradient(0deg, #08090c70, transparent 34%); }
.hardware-copy { padding-block: 60px; }
.hardware .page-title { margin: 19px 0 37px; text-wrap: initial; }
.chapter-copy { min-height: 115px; }
.chapter-index { color: #c5c5ce; font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: .14em; }
.chapter-copy h2 { margin: 9px 0 8px; font-size: clamp(1.2rem, 2.3vw, 1.7rem); line-height: 1.2; letter-spacing: -.035em; text-wrap: initial; }
.chapter-copy > p:last-child { max-width: 31ch; color: #e2e3e9; }
.chapter-meter { width: min(240px, 100%); height: 2px; background: #ffffff55; margin-top: 26px; }
.chapter-meter > span { display: block; width: 100%; height: 100%; background: var(--red); transform: scaleX(var(--progress, .015)); transform-origin: left center; }
.scroll-cue { display: none; align-items: center; gap: 9px; margin-top: 16px; color: #d6d7dc; font-size: 12px; }
.hardware.is-scrubbable .scroll-cue { display: flex; }
.hardware-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #ffffff38; padding: 28px 0; }
.hardware-facts > div { padding-inline: clamp(13px, 3vw, 40px); }
.hardware-facts > div:first-child { padding-left: 0; }
.hardware-facts > div + div { border-left: 1px solid #ffffff38; }
.hardware-facts dt { margin-bottom: 6px; font-size: clamp(1.4rem, 4.1vw, 3.1rem); letter-spacing: -.06em; font-weight: 600; }
.hardware-facts dd { color: #c4c5cb; font-size: 14px; line-height: 1.4; }

.dashboard-section { background: var(--paper); padding-block: clamp(28px, 6vw, 88px); }
.peephole-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  overflow: clip;
  border: 1px solid #252733;
  border-radius: 19px;
  background: #101115;
  color: #fff;
}
.peephole-intro-copy { padding: clamp(20px, 5vw, 68px); }
.peephole-intro-copy p { max-width: 48ch; margin-block: 16px 22px; color: #e5e5ea; }
.peephole-intro > img { width: 100%; height: 100%; object-fit: cover; }
.peephole-intro .button { max-width: 100%; }
.peephole-features { margin-block: clamp(38px, 6vw, 84px); }
.peephole-features h2 { margin-bottom: 20px; font-size: clamp(1.8rem, 3.7vw, 2.65rem); }
.peephole-features table { width: 100%; table-layout: fixed; border-collapse: collapse; line-height: 1.5; }
.peephole-features th, .peephole-features td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.peephole-features thead { background: #e9eaed; }
.peephole-features thead th:first-child { width: 32%; }
.peephole-features td { color: var(--muted); }
.peephole-guide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(28px, 5vw, 64px); }
.peephole-guide .faq details:last-of-type { border-bottom: 1px solid var(--line); }
.peephole-guide .faq ul { margin: 0 16px 18px 2px; padding-left: 22px; color: var(--muted); line-height: 1.55; }
.peephole-local h2 { margin-bottom: 12px; font-size: 22px; line-height: 1.2; letter-spacing: -.03em; }
.peephole-local p { max-width: 56ch; color: var(--muted); }
.peephole-support-link { margin-top: 20px; }

.setup-section { background: #fff; border-top: 1px solid var(--line); padding-block: clamp(73px, 10vw, 145px); }
.setup-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); }
.setup-layout > div:first-child > p { color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.24rem); max-width: 36ch; }
.setup-layout .page-title { margin-bottom: 23px; text-wrap: initial; }
.signal-path { display: grid; gap: 4px; margin: 27px 0 0; padding: 0; list-style: none; }
.signal-path li { display: flex; align-items: center; gap: 13px; min-height: 34px; font-size: 14px; font-weight: 600; }
.signal-path span { font-size: 11px; font-variant-numeric: tabular-nums; }
.setup-action { margin-top: 22px; }
.product-overview .setup-layout { align-items: center; }
.product-visual { margin: 0; }
.product-visual img { width: 100%; height: auto; border-radius: 19px; background: var(--ink); }
.product-visual figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.customer-features { margin: 0; }
.customer-features > div { padding-block: 21px; border-top: 1px solid var(--line); }
.customer-features > div:first-child { padding-top: 0; border-top: 0; }
.customer-features > div:last-child { padding-bottom: 0; }
.customer-features dt { margin-bottom: 9px; font-size: 20px; font-weight: 600; letter-spacing: -.025em; line-height: 1.25; }
.customer-features dd { color: var(--muted); line-height: 1.55; }
.setup-layout > .peephole-features { margin-block: 0; }
.setup-layout .peephole-features h3 { margin: 0 0 19px; font-size: 22px; line-height: 1.2; letter-spacing: -.03em; }
.content-section { padding-block: clamp(50px, 7vw, 96px); border-top: 1px solid var(--line); background: var(--paper); }
.section-heading { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.content-section h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); }
.section-heading > p { margin-top: 17px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 59ch; }
.content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 6vw, 84px); }
.content-item h3, .step-list h3 { margin-bottom: 12px; font-size: 21px; font-weight: 600; letter-spacing: -.025em; line-height: 1.25; }
.content-item p, .step-list p { color: var(--muted); }
.content-item p + p { margin-top: 14px; }
.step-list { margin: 0; padding: 0; list-style: none; counter-reset: session; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 54px); }
.step-list > li { counter-increment: session; padding-top: 22px; border-top: 1px solid var(--line); }
.step-list > li::before { content: counter(session, decimal-leading-zero); display: block; color: var(--red-hover); margin-bottom: 18px; font-size: 13px; font-variant-numeric: tabular-nums; }
.dashboard-section .content-section { margin-block: 0 clamp(38px, 6vw, 84px); padding-bottom: clamp(38px, 6vw, 84px); border-bottom: 1px solid var(--line); }
.faq h2 { margin: 0 0 19px; font-size: 22px; line-height: 1.2; letter-spacing: -.03em; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 61px; padding: 12px 2px; list-style: none; font-weight: 600; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 22px; }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--red-hover); }
.faq details p { margin: 0 20px 17px 2px; color: var(--muted); }
.site-footer { color: #fff; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-block: 42px; }
.footer-top p { margin-top: 8px; color: #c9c9ce; font-size: 14px; }
.footer-top nav { display: flex; flex-wrap: wrap; gap: 13px 24px; }
.footer-top nav a, .footer-bottom a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; }
.footer-top nav a:hover, .footer-bottom a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid #ffffff36; color: #c9c9ce; font-size: 12px; }

@media (min-width: 661px) and (max-height: 760px) {
  .hero-gallery { inset-block-start: 39%; }
}

@media (max-width: 860px) {
  .nav-shell { grid-template-columns: auto 1fr auto; gap: 16px; }
  .site-header nav { justify-content: center; gap: 14px; }
  .hardware-shade { background: linear-gradient(90deg, #08090ce9 0%, #08090ccc 31%, #08090c2e 100%); }
}

@media (max-width: 800px) {
  :root { --header-height: 60px; }
  .nav-shell { display: flex; justify-content: space-between; }
  .nav-action { display: none; }
  .menu-button { display: block; min-height: 44px; padding: 0 13px; border: 1px solid #ffffff50; border-radius: 99px; color: #fff; background: transparent; font-size: 13px; }
  .site-header nav { display: none; position: absolute; inset: var(--header-height) 0 auto; padding: 12px var(--gutter) 19px; background: #0c0d10; border-bottom: 1px solid #ffffff30; }
  .site-header nav.is-open { display: grid; justify-content: stretch; gap: 6px; }
  .site-header nav a { font-size: 16px; }
  .gallery-tab { padding-inline: 8px; }
  .gallery-credit { display: none; }
}

@media (max-width: 720px) {
  .gallery-tab span:last-child { display: none; }
}

@media (max-width: 660px) {
  .hero-content { padding-top: clamp(32px, 6svh, 53px); }
  .hero h1 { font-size: clamp(2.1rem, 10.7vw, 3rem); }
  .mobile-break { display: block; }
  .hero p { max-width: 30ch; margin: 13px auto 20px; }
  .hero-gallery { inset: 39% 0 0; }
  .hero-slide { inset-inline: -28%; }
  .hero-slide img { max-width: min(100%, 650px); }
  .hero-slide--macro img { translate: -10% 0; }
  .hero-controls { bottom: 14px; }
  .gallery-tab { padding: 0 4px; gap: 5px; font-size: 11px; }
  .gallery-tab img { width: 32px; height: 23px; }
  .gallery-controls { gap: 7px; }
  .home-shop-layout { grid-template-columns: 1fr; }
  .hardware-stage { align-items: end; min-height: max(575px, calc(100svh - var(--header-height))); }
  .hardware-image, .hardware-film { width: 140%; height: auto; aspect-ratio: 16 / 9; left: -20%; top: 40px; mask-image: linear-gradient(transparent, #000 15%, #000 77%, transparent); }
  .hardware-shade { background: linear-gradient(0deg, #08090c 0%, #08090c 44%, #08090c10 76%, transparent); }
  .hardware-copy { padding-block: 35px 58px; }
  .hardware .page-title { margin: 15px 0 22px; }
  .chapter-copy { min-height: 105px; }
  .chapter-meter { margin-top: 15px; }
  .hardware-facts { padding-block: 21px; }
  .hardware-facts dd { font-size: 11px; }
  .peephole-intro, .peephole-guide, .setup-layout, .content-grid, .step-list { grid-template-columns: 1fr; }
  .peephole-intro > img { height: auto; aspect-ratio: 2; }
  .peephole-features th, .peephole-features td { padding-inline: 8px; font-size: 14px; }
  .peephole-features thead th:first-child { width: 36%; }
  .footer-top { flex-direction: column; padding-block: 33px 18px; }
  .footer-top nav { gap: 8px 18px; }
}

@media (max-width: 359px) {
  h2, .page-title { font-size: 2.1rem; }
  .gallery-tab { min-width: 44px; justify-content: center; }
  .gallery-tab span:first-of-type { display: none; }
}

@media (min-width: 521px) and (max-width: 660px) {
  .hero p { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .hardware.is-scrubbable .hardware-track { min-height: 0; }
  .hardware.is-scrubbable .hardware-stage { position: relative; top: auto; }
  .hardware.is-scrubbable .scroll-cue, .gallery-toggle { display: none; }
  .hardware-film { display: none; }
}
