/* Weekly Crew Scheduler - one-page site
   Full-screen scenes, light blue accent, blueprint grid and ruler details.
   System fonts only. No external files. */

:root {
  --white: #ffffff;
  --light: #f2f2f2;
  --blue: #8cc8f0;          /* accent: buttons, highlights */
  --blue-dark: #5aa7d8;     /* hover */
  --blue-panel: #b3dbf5;    /* inset panels */
  --blue-wash: #e7f3fc;
  --navy: #1f3042;          /* text: 13.9:1 on white, 7.4:1 on --blue */
  --navy-soft: #3f5367;     /* supporting text: 8.3:1 on white, 5.1:1 on panel */
  --navy-hover: #30475e;
  --charcoal: #353330;      /* closing strip only */
  --grid-line: rgba(90, 167, 216, 0.16);

  --sans: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", Charter, Georgia, Cambria, "Times New Roman", serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.7, 0, 0.3, 1);
  --shadow-card: 0 2px 6px rgba(31, 48, 66, 0.06), 0 24px 48px -20px rgba(31, 48, 66, 0.28);
  --shadow-lift: 0 4px 10px rgba(31, 48, 66, 0.08), 0 36px 64px -24px rgba(31, 48, 66, 0.36);

  --header-h: 64px;
  --panel-inset: 12px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@supports (overflow: clip) {
  body { overflow-x: clip; }
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, p, figure { margin: 0; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  left: 12px; top: -80px;
  z-index: 200;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-card);
}
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */

.display {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2.1rem, 1rem + 4.4vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 20ch;
  margin: 0 auto;
  text-wrap: balance;
}

.display--hero {
  font-size: clamp(2.5rem, 1.2rem + 5.6vw, 5.5rem);
  max-width: 16ch;
}

.serif-line {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.15rem, 0.95rem + 0.9vw, 1.65rem);
  line-height: 1.45;
  color: var(--navy-soft);
  max-width: 36ch;
  margin: 18px auto 0;
  text-wrap: balance;
}

/* ---------- Buttons: light blue pills ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: var(--navy);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 22px -12px rgba(31, 48, 66, 0.5);
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease-out);
}
.btn:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -14px rgba(31, 48, 66, 0.55);
}
.btn:active { transform: translateY(0); }

.btn--sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.9375rem;
}

.btn--lg {
  min-height: 56px;
  padding: 0 34px;
  font-size: 1.0625rem;
}

.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-hover); }

.btn__icon {
  width: 22px; height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Load intro ---------- */

.intro {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--white);
  pointer-events: none;
  animation: intro-out 0.55s var(--ease-in-out) 1.15s forwards;
}

.intro__mark {
  width: 76px; height: 76px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.intro__mark .d {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 0.7s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 90ms);
}
.intro__mark .fill {
  fill: var(--blue);
  stroke: none;
  opacity: 0;
  animation: fade-in 0.3s ease 0.6s forwards;
}

.intro__word {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--navy);
  opacity: 0;
  animation: fade-up 0.6s var(--ease-out) 0.4s forwards;
}

.intro__ruler {
  display: block;
  width: 180px;
  height: 10px;
  color: rgba(31, 48, 66, 0.45);
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(90deg, currentColor 1px, transparent 1px),
    linear-gradient(90deg, currentColor 1px, transparent 1px);
  background-size: 100% 1px, 30px 10px, 6px 5px;
  background-repeat: no-repeat, repeat-x, repeat-x;
  transform: scaleX(0);
  animation: draw-x 0.8s var(--ease-out) 0.5s forwards;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 0 rgba(31, 48, 66, 0.08);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  transition: background-color 0.4s ease, box-shadow 0.4s ease, color 0.4s ease;
  animation: fade-in 0.6s ease 1.5s both;
}

/* Over the hero photo the header is see-through with white text. */
.js .site-header:not(.is-solid) {
  color: var(--white);
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.js .site-header:not(.is-solid) :focus-visible { outline-color: var(--white); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-h);
  padding: 0 16px 0 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.brand__mark {
  display: none;
  width: 26px; height: 26px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand__mark rect { fill: var(--blue); stroke: none; }

.header-buy {
  transition: opacity 0.35s ease, visibility 0.35s ease, background-color 0.3s ease, box-shadow 0.3s ease, transform 0.35s var(--ease-out);
}
.header-buy.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
}

/* ---------- Dot navigation on a ruler rail ---------- */

.dots {
  display: none;
  position: fixed;
  top: 50%;
  right: 14px;
  z-index: 50;
  color: var(--navy);
  transform: translateY(-50%);
  transition: color 0.4s ease;
}
.dots.on-dark { color: var(--white); }

.dots ol {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 14px 0;
}

/* The rail: a hairline with ruler ticks. */
.dots ol::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 6px;
  width: 7px;
  opacity: 0.35;
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor 1px, transparent 1px);
  background-size: 1px 100%, 4px 7px;
  background-position: 6px 0, 2px 0;
  background-repeat: no-repeat, repeat-y;
}

.dots a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 30px;
  text-decoration: none;
}

.dots a::after {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  background: var(--white);
  transition: background-color 0.3s ease, transform 0.3s var(--ease-out);
}
.dots.on-dark a::after { background: rgba(31, 48, 66, 0.6); }

.dots a:hover::after { transform: scale(1.2); }

.dots a[aria-current="true"]::after {
  background: currentColor;
  transform: scale(1.3);
}

.dots__label {
  position: absolute;
  right: 32px;
  top: 50%;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translate(6px, -50%);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out);
  pointer-events: none;
}
.dots a:hover .dots__label,
.dots a:focus-visible .dots__label {
  opacity: 1;
  transform: translate(0, -50%);
}

/* ---------- Scenes ---------- */

.scene {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 36px) 20px 64px;
  text-align: center;
  overflow: hidden;
  scroll-snap-align: start;
}

.scene__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
}

.scene--light { background: var(--light); }

/* Faint blueprint grid on white scenes, fading out toward the edges. */
.scene--grid::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center center;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, #000 25%, transparent 78%);
  pointer-events: none;
}

/* Inset light blue panel with blueprint grid and ruler edges. */
.scene--panel { padding-left: calc(var(--panel-inset) + 22px); padding-right: calc(var(--panel-inset) + 22px); }

.panel-bg {
  position: absolute;
  top: var(--panel-inset);
  right: var(--panel-inset);
  bottom: var(--panel-inset);
  left: var(--panel-inset);
  overflow: hidden;
  border-radius: 22px;
  background-color: var(--blue-panel);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.24) 1px, transparent 1px);
  background-size: 140px 140px, 140px 140px, 28px 28px, 28px 28px;
  background-position: center center;
}

.panel-bg::before,
.panel-bg::after {
  content: "";
  position: absolute;
  color: rgba(31, 48, 66, 0.3);
}
/* top edge ruler */
.panel-bg::before {
  top: 0; left: 0; right: 0;
  height: 12px;
  background-image:
    linear-gradient(90deg, currentColor 1px, transparent 1px),
    linear-gradient(90deg, currentColor 1px, transparent 1px);
  background-size: 70px 12px, 14px 6px;
  background-repeat: repeat-x;
}
/* left edge ruler */
.panel-bg::after {
  top: 0; bottom: 0; left: 0;
  width: 12px;
  background-image:
    linear-gradient(currentColor 1px, transparent 1px),
    linear-gradient(currentColor 1px, transparent 1px);
  background-size: 12px 70px, 6px 14px;
  background-repeat: repeat-y;
}

.scene--panel .serif-line { color: #2c4054; }

/* Drifting outline drafting tools */
.shape {
  position: absolute;
  width: var(--w, 120px);
  will-change: transform;
}
.shape svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  fill: none;
  stroke: rgba(31, 48, 66, 0.26);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: drift-a var(--dur, 28s) ease-in-out infinite alternate;
}
.shape:nth-child(even) svg { animation-name: drift-b; }

.shape--a { --w: clamp(84px, 13vw, 180px); --dur: 26s; left: 5%; top: 12%; }
.shape--b { --w: clamp(100px, 15vw, 220px); --dur: 32s; right: 6%; top: 9%; }
.shape--c { --w: clamp(70px, 10vw, 150px); --dur: 22s; left: 9%; bottom: 7%; }
.shape--d { --w: clamp(130px, 19vw, 280px); --dur: 36s; right: 5%; bottom: 12%; }
.shape--e { --w: clamp(60px, 7vw, 110px); --dur: 30s; left: 38%; bottom: 3%; }
.shape--f { --w: clamp(90px, 14vw, 200px); --dur: 28s; right: 7%; top: 14%; }
.shape--g { --w: clamp(80px, 12vw, 170px); --dur: 24s; left: 6%; bottom: 10%; }
.shape--h { --w: clamp(130px, 18vw, 260px); --dur: 34s; left: 7%; top: 12%; }
.shape--i { --w: clamp(100px, 14vw, 210px); --dur: 30s; right: 9%; bottom: 8%; }

/* ---------- Hero ---------- */

.hero {
  color: var(--white);
  background: var(--white);
  padding-bottom: 96px;
}

.hero__media {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  overflow: hidden;
  background: var(--navy);
  animation: hero-expand 1.2s var(--ease-out) 1.2s both;
}

.hero__parallax {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  will-change: transform;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  transform: scale(1.04);
  animation: hero-zoom 2s var(--ease-out) 1.2s backwards;
}

.hero__shade {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(16, 28, 40, 0.45), rgba(16, 28, 40, 0) 80%),
    linear-gradient(180deg, rgba(16, 28, 40, 0.55) 0%, rgba(16, 28, 40, 0.5) 45%, rgba(16, 28, 40, 0.62) 100%);
}

.hero__inner { text-shadow: 0 2px 24px rgba(10, 20, 30, 0.35); }

.hero__kicker {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.9);
  max-width: 30ch;
  margin: 0 auto 18px;
}

.hero .serif-line { color: rgba(255, 255, 255, 0.94); }

.h-anim {
  animation: fade-up 1s var(--ease-out) both;
  animation-delay: calc(1.75s + var(--i, 0) * 0.14s);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  margin-left: -28px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  color: var(--white);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.scroll-cue:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--white); }
.scroll-cue:focus-visible { outline-color: var(--white); }
.scroll-cue svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: bob 2.4s ease-in-out 3s infinite;
}

/* ---------- Benefit illustrations ---------- */

.illo-card {
  width: min(100%, 380px);
  margin: 36px auto 0;
  padding: 10px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.illo-card--wide { width: min(100%, 600px); }

.illo { display: block; width: 100%; height: auto; }

.illo-title { font-family: var(--sans); font-size: 18px; font-weight: 800; fill: var(--navy); }
.illo-rule { fill: var(--navy); opacity: 0.85; }
.illo-days text { font-family: var(--sans); font-size: 13px; font-weight: 700; fill: var(--navy); }
.illo-cols rect { fill: #f6fafd; stroke: #dbe8f2; stroke-width: 1; }
.blk { fill: var(--blue); }
.blk--soft { fill: #cde6f8; }
.blk-line { fill: rgba(255, 255, 255, 0.9); }
.blk-line--ink { fill: #9fb4c6; }
.blk-line--soft { fill: #dbe5ee; }
.box { fill: var(--white); stroke: #c9dceb; stroke-width: 1.5; }
.box--accent { fill: var(--blue-wash); stroke: var(--blue-dark); }
.box-label { font-family: var(--sans); font-size: 13px; font-weight: 700; fill: var(--navy-soft); }
.avatar { fill: var(--blue-wash); stroke: var(--blue-dark); stroke-width: 1.5; }
.row-rule { fill: #e3eaf0; }
.draw-path {
  fill: none;
  stroke: var(--blue-dark);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- A look inside ---------- */

.stage {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 36px auto 0;
  text-align: left;
}

.shot { position: relative; width: 90%; }
.shot + .shot { margin-top: -7%; }
.shot--a { z-index: 1; }
.shot--b { z-index: 2; width: 78%; margin-left: auto; }
.shot--c { z-index: 3; width: 78%; margin-left: 4%; }

.shot__card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.shot:hover { z-index: 5; }
.shot:hover .shot__card {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.shot__card img { width: 100%; height: auto; }

.shot__card figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: 0 4px 12px -4px rgba(31, 48, 66, 0.3);
}

/* ---------- Free sample ---------- */

.cta-row { margin-top: 32px; }

/* ---------- Closing + footer ---------- */

.closing {
  min-height: calc(100vh - 190px);
  min-height: calc(100svh - 190px);
  padding-bottom: 56px;
}

.ruler {
  display: block;
  width: min(260px, 70%);
  height: 12px;
  margin: 36px auto 0;
  color: rgba(31, 48, 66, 0.45);
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(90deg, currentColor 1px, transparent 1px),
    linear-gradient(90deg, currentColor 1px, transparent 1px);
  background-size: 100% 1px, 40px 12px, 8px 6px;
  background-repeat: no-repeat, repeat-x, repeat-x;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 40px 20px 30px;
  background: var(--charcoal);
  color: #c9c5be;           /* 7.3:1 on charcoal */
  text-align: center;
}
.site-footer :focus-visible { outline-color: var(--blue); }

.site-footer__legal { font-size: 0.8125rem; }

/* ---------- Scroll reveal (only when JavaScript is running) ---------- */

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 120ms);
}
.js .reveal--rise { transform: translate3d(0, 110px, 0); }
.js .reveal--scale { transform: translate3d(0, 40px, 0) scale(0.9); }
.js .reveal--left { transform: translate3d(-56px, 30px, 0); }
.js .reveal--right { transform: translate3d(56px, 30px, 0); }
.js .reveal--draw { opacity: 1; transform: scaleX(0); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Parts of the illustrations settle in after their card arrives. */
.js .pop {
  opacity: 0;
  transform: translate3d(0, 10px, 0) scale(0.86);
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: calc(550ms + var(--i, 0) * 75ms);
}
.js .pop--slide { transform: translate3d(-18px, 0, 0); }
.js .pop--from-right { transform: translate3d(36px, 0, 0); }
.js .is-in .pop { opacity: 1; transform: none; }

.js .draw-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.7s var(--ease-out);
  transition-delay: calc(550ms + var(--i, 0) * 75ms);
}
.js .is-in .draw-path { stroke-dashoffset: 0; }

/* ---------- Keyframes ---------- */

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes draw-x { to { transform: scaleX(1); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-up {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes intro-out {
  to { opacity: 0; visibility: hidden; }
}
@keyframes hero-expand {
  from { clip-path: inset(36% 8% 36% 8% round 18px); }
  to { clip-path: inset(0% 0% 0% 0% round 0px); }
}
@keyframes hero-zoom {
  from { transform: scale(1.18); }
  to { transform: scale(1.04); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
@keyframes drift-a {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(14px, -20px, 0) rotate(6deg); }
  100% { transform: translate3d(-10px, 10px, 0) rotate(-5deg); }
}
@keyframes drift-b {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(-16px, 12px, 0) rotate(-7deg); }
  100% { transform: translate3d(12px, -14px, 0) rotate(4deg); }
}

/* ---------- Larger screens ---------- */

@media (min-width: 420px) {
  .brand__mark { display: block; }
}

@media (min-width: 720px) {
  :root { --panel-inset: 24px; }
  .header-inner { padding: 0 28px; }
  .brand { font-size: 1.0625rem; }
  .dots { display: block; }
  .scene { padding: calc(var(--header-h) + 40px) 64px 72px; }
  .scene--panel { padding-left: calc(var(--panel-inset) + 56px); padding-right: calc(var(--panel-inset) + 56px); }
  .panel-bg { border-radius: 28px; }
  .illo-card { margin-top: 44px; padding: 14px; border-radius: 20px; }
  .shot__card figcaption { left: 14px; bottom: 14px; font-size: 0.875rem; }
}

/* Overlapping, staggered cards on wide screens */
@media (min-width: 900px) {
  .stage {
    max-width: none;
    width: min(100%, 1060px);
    width: min(100%, 1060px, max(620px, calc((100svh - 360px) * 1.7778)));
    aspect-ratio: 16 / 9;
    margin-top: 40px;
  }
  .shot,
  .shot + .shot { position: absolute; margin: 0; }
  .shot--a { left: 17%; top: 10%; width: 66%; z-index: 2; }
  .shot--b { left: 0; top: 0; width: 36%; z-index: 1; }
  .shot--c { left: 64%; top: 56%; width: 36%; z-index: 3; }
  .shot:hover { z-index: 5; }
  .shot__card { border-radius: 16px; }
}

/* ---------- Reduced motion: no intro, no drifting, no parallax ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro { display: none; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .shape svg,
  .scroll-cue svg { animation: none !important; }
  .js .reveal,
  .js .pop { opacity: 1 !important; transform: none !important; }
  .js .draw-path { stroke-dashoffset: 0 !important; }
  .btn:hover,
  .shot:hover .shot__card { transform: none; }
}
