/* Algolytix v5 - "forecast chart paper" */
:root {
  --paper: #EEF2F1;
  --paper-2: #E3E9E8;
  --sheet: #F8FAF9;
  --ink: #14213D;
  --ink-2: #3E4C66;
  --ink-3: #6A7890;
  --rule: #C5D0CE;
  --teal: #0F7C83;
  --teal-2: #0B5E64;
  --teal-wash: #D7EBEA;
  --amber: #D98E1F;
  --amber-wash: #F6E7CC;
  --falcon: #2457C5;
  --display: "Bricolage Grotesque", "Public Sans", system-ui, sans-serif;
  --body: "Public Sans", system-ui, sans-serif;
  --measure: 60rem;
  --gutter: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: "tnum" 0;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-2); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--sheet); padding: 8px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- frame ---------- */
.frame { max-width: 1140px; margin: 0 auto; padding: 0 var(--gutter); }

.masthead {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; border-bottom: 1px solid var(--rule);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 54px; height: auto; }
.brand-word { font-family: var(--display); font-weight: 700; font-size: 1.85rem; letter-spacing: 0.08em; font-variation-settings: "wdth" 95; }
.brand-word span { color: var(--falcon); }
.nav { display: flex; gap: 28px; font-size: 0.95rem; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--teal); }

/* ---------- grid with sidenotes ---------- */
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 17rem);
  column-gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
.note {
  font-size: 0.82rem; line-height: 1.5; color: var(--ink-3);
  border-left: 2px solid var(--rule); padding-left: 14px; margin-top: 0.4rem;
}
.note p { margin: 0 0 0.6em; }
.note strong { color: var(--ink-2); font-weight: 600; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; font-weight: 700; }
h1 {
  font-size: clamp(1.7rem, 2.4vw, 2rem);
  line-height: 1.12; letter-spacing: -0.005em;
  font-variation-settings: "wdth" 95, "opsz" 48;
  max-width: 32ch;
}
h2 {
  font-size: clamp(1.2rem, 1.6vw, 1.35rem);
  line-height: 1.05; letter-spacing: -0.015em;
  font-variation-settings: "wdth" 88, "opsz" 48;
  max-width: none;
}
h3 { font-size: 1.1rem; line-height: 1.25; font-variation-settings: "wdth" 92; }
.lead { font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.55; color: var(--ink-2); max-width: var(--measure); margin: 0.9rem 0 0; }
.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1em; }

section.block { padding: clamp(28px, 3.5vw, 48px) 0; border-bottom: 1px solid var(--rule); }
.block-head { margin-bottom: 1.4rem; }

/* ---------- hero ---------- */
.hero { padding: clamp(24px, 3vw, 40px) 0 0; }
.hero .row { align-items: start; }

figure { margin: 0; }
.chart-wrap {
  margin-top: 20px;
  background: var(--sheet);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  /* chart paper grid */
  background-image:
    linear-gradient(var(--paper-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--paper-2) 1px, transparent 1px);
  background-size: 24px 24px;
}
.chart-wrap .frame { padding-top: 28px; padding-bottom: 20px; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart-scroll { overflow-x: auto; }
@media (max-width: 760px) { .chart svg { width: 760px; max-width: none; } }
.chart .axis text { font-family: var(--body); font-size: 12px; fill: var(--ink-3); }
.chart .axis line { stroke: var(--rule); }
.chart .line { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: url(#washGrad); }
.chart .band { fill: rgba(20,33,61,0.06); }
.chart .band-label { font-family: var(--body); font-size: 12px; fill: var(--ink-3); }
.chart .ann text { font-family: var(--display); font-size: 15px; fill: var(--ink); font-weight: 600; }
.chart .ann .sub { font-family: var(--body); font-size: 12px; fill: var(--ink-3); font-weight: 400; }
.chart .ann line { stroke: var(--ink-3); stroke-dasharray: 2 3; }
.chart .dot { fill: var(--amber); stroke: var(--sheet); stroke-width: 2; }
.chart-cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 0.85rem; color: var(--ink-3); margin-top: 10px; }

/* the one orchestrated moment */
@media (prefers-reduced-motion: no-preference) {
  .chart .line { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 2.4s cubic-bezier(.45,.05,.2,1) .25s forwards; }
  .chart .area, .chart .ann, .chart .dot { opacity: 0; animation: fade .6s ease forwards; }
  .chart .area { animation-delay: 2.1s; }
  .chart .ann:nth-of-type(1) { animation-delay: .6s; }
  .chart .ann:nth-of-type(2) { animation-delay: 1.2s; }
  .chart .ann:nth-of-type(3) { animation-delay: 2.0s; }
  .chart .ann:nth-of-type(4) { animation-delay: 2.6s; }
  .chart .dot { animation-delay: 2.6s; }
}
.chart-wrap:not(.go) .chart * { animation-play-state: paused; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* ---------- products ---------- */
.products { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.product {
  display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) 13rem; gap: 8px 28px;
  padding: 20px 0; border-bottom: 1px solid var(--rule); align-items: start;
}
.product .mark { width: 56px; height: 56px; }
.product .mark.text { display: grid; place-items: center; border-radius: 14px; font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--sheet); }
.product h3 { font-size: 1.45rem; font-variation-settings: "wdth" 85; }
.product p { margin: 0.5rem 0 0; color: var(--ink-2); max-width: 52rem; }
.product .status { font-size: 0.88rem; color: var(--ink-3); padding-top: 0.5rem; }
.product .status b { display: block; color: var(--ink); font-weight: 600; }
.product .status a { display: inline-block; margin-top: 0.6rem; font-weight: 600; }
.product.flagship { padding: 20px 0; }


/* ---------- principles ---------- */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.principles h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.principles p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }

/* ---------- founder strip ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.founder .name { font-family: var(--display); font-size: clamp(1.3rem, 1.8vw, 1.45rem); font-weight: 700; line-height: 1.1; font-variation-settings: "wdth" 85; }
.founder .role { color: var(--ink-3); margin-top: 0.4rem; }
.creds { list-style: none; padding: 0; margin: 0; }
.creds li { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 0.95rem; color: var(--ink-2); }
.creds li:first-child { border-top: 1px solid var(--rule); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; }
.btn.primary { background: var(--ink); color: var(--sheet); }
.btn.primary:hover { background: var(--teal-2); color: var(--sheet); }
.btn.quiet { color: var(--ink); border: 1.5px solid var(--ink); }
.btn.quiet:hover { background: var(--ink); color: var(--sheet); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

/* ---------- nurselytix page ---------- */
.nx-title { display: flex; align-items: center; gap: 16px; margin-bottom: 1rem; color: var(--teal-2); font-weight: 600; }
.nx-title img { width: 44px; height: 44px; }

.ladder { margin-top: clamp(24px, 3vw, 36px); position: relative; }
.ladder-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.ladder-track::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: var(--rule); }
.window {
  position: absolute; top: 4px; height: 20px; border-radius: 10px;
  left: calc(50% - 6px); right: -6px; background: var(--teal-wash); border: 1.5px solid var(--teal);
}
.window span { position: absolute; right: 12px; top: -26px; font-size: 0.82rem; font-weight: 600; color: var(--teal-2); white-space: nowrap; }
.rung { position: relative; padding-right: 20px; }
.rung .tick { width: 28px; height: 28px; border-radius: 50%; background: var(--sheet); border: 2px solid var(--ink); position: relative; z-index: 1; }
.rung.now .tick { background: var(--amber); border-color: var(--amber); }
.rung.in .tick { border-color: var(--teal); background: var(--teal); }
.rung h3 { font-size: 1.02rem; margin: 18px 0 6px; }
.rung p { margin: 0; font-size: 0.95rem; color: var(--ink-2); }

.results { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.results th, .results td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.results thead th { font-size: 0.85rem; font-weight: 600; color: var(--ink-3); border-bottom: 2px solid var(--ink); }
.results td.num { font-family: var(--display); font-size: 1.3rem; font-weight: 700; font-variation-settings: "wdth" 85; text-align: right; padding-right: 0; white-space: nowrap; }
.results th.num { text-align: right; padding-right: 0; }

.toggle { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 999px; padding: 3px; gap: 2px; margin-bottom: 20px; flex-wrap: wrap; }
.toggle button { font: inherit; font-size: 0.9rem; border: 0; background: transparent; color: var(--ink); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--sheet); }
.dow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; align-items: end; height: 220px; padding-top: 28px; border-bottom: 2px solid var(--ink); }
.dow .bar { position: relative; background: var(--ink-2); border-radius: 6px 6px 0 0; height: var(--h); transition: height .45s cubic-bezier(.3,.7,.2,1), background .3s; }
.dow .bar.wk { background: var(--amber); }
.dow .bar span { position: absolute; top: -24px; left: 0; right: 0; text-align: center; font-size: 0.85rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }
.dow-labels { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-top: 8px; font-size: 0.85rem; color: var(--ink-3); text-align: center; }
@media (prefers-reduced-motion: reduce) { .dow .bar { transition: none; } }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 20px; padding: 16px 0; border-top: 1px solid var(--rule); }
.steps li::before { content: counter(s); font-family: var(--display); font-size: 1.8rem; font-weight: 700; line-height: 1; color: var(--teal); font-variation-settings: "wdth" 80; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); max-width: var(--measure); }

.pilot { background: var(--ink); color: var(--sheet); border-radius: 28px; padding: clamp(32px, 5vw, 64px); }
.pilot h2 { color: var(--sheet); }
.pilot .cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 2rem; }
.pilot h3 { color: #9FD8D9; font-size: 1.05rem; margin-bottom: 8px; }
.pilot p, .pilot li { color: #D6DEE8; font-size: 0.97rem; }
.pilot ul { margin: 0; padding-left: 1.1em; }
.pilot .btn.primary { background: var(--amber); color: var(--ink); }
.pilot .btn.primary:hover { background: #F2B04E; }
.pilot .btn.quiet { color: var(--sheet); border-color: #7C8AA5; }
.pilot .btn.quiet:hover { background: var(--sheet); color: var(--ink); }

/* ---------- timeline (about) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--ink); }
.timeline li { position: relative; padding: 0 0 28px 28px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.timeline li.next::before { background: var(--amber); border-color: var(--amber); }
.timeline .when { font-weight: 600; font-size: 0.9rem; color: var(--ink-3); }
.timeline .what { font-family: var(--display); font-size: 1.25rem; font-weight: 600; font-variation-settings: "wdth" 90; }

/* ---------- footer ---------- */
.foot { padding: 36px 0 32px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.foot .big { font-family: var(--display); font-size: clamp(1.15rem, 1.6vw, 1.3rem); font-weight: 700; line-height: 1.1; font-variation-settings: "wdth" 85; max-width: 44ch; }
.foot .big a { color: var(--ink); text-decoration-color: var(--teal); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.foot small { display: block; color: var(--ink-3); margin-top: 18px; font-size: 0.85rem; }
.foot nav { display: flex; gap: 20px; font-size: 0.9rem; }
.foot nav a { color: var(--ink-2); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .row { grid-template-columns: minmax(0, 1fr); }
  .note { margin-top: 1.4rem; }
  .product { grid-template-columns: 3.5rem minmax(0, 1fr); }
  .product .status { grid-column: 2; }
  .principles, .pilot .cols, .founder { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ladder-track { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .ladder-track::before { left: 13px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .window { left: -6px; right: auto; width: 40px; top: calc(50% - 6px); bottom: -6px; height: auto; }
  .window span { display: none; }
  .rung { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 18px; padding-right: 0; }
  .rung h3 { margin: 2px 0 4px; }
  .rung p { grid-column: 2; }
  .foot { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .nav { gap: 16px; font-size: 0.9rem; }
  .brand-word { display: none; }
  .dow { gap: 5px; }
  .dow .bar span { font-size: 0.72rem; }
  .dow-labels { gap: 5px; font-size: 0.75rem; }
  .results td.num { font-size: 1.3rem; }
}

/* brand name: amber dot over the i in Nurselytix */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.idot { position: relative; display: inline-block; line-height: 1.2; }
.idot::after { content: ""; position: absolute; left: 50%; top: var(--idot-top, 0.1em); width: 0.15em; height: 0.15em; border-radius: 0; background: var(--amber); transform: translateX(-50%); }
.idot.green::after { background: #22C55E; }

/* sticky top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(238,242,241,0.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.topbar .masthead { border-bottom: 0; padding: 12px 0; }

/* hero: text + at-a-glance panel */
.hero .row { grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); align-items: start; padding-bottom: clamp(16px, 2vw, 28px); }
.glance { display: block; text-decoration: none; color: var(--ink); background: var(--sheet); border: 1px solid var(--rule); border-left: 4px solid #03A6E7; border-radius: 18px; padding: 22px 24px; }
.glance:hover { border-color: #03A6E7; color: var(--ink); }
.glance-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.glance-head b { display: block; font-family: var(--display); font-size: 1.3rem; font-variation-settings: "wdth" 88; }
.glance-head small { display: block; color: var(--ink-3); font-size: 0.82rem; }
.glance dl { margin: 0; }
.glance dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid var(--rule); }
.glance dt { font-size: 0.9rem; color: var(--ink-2); }
.glance dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.2rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.glance-go { display: block; margin-top: 12px; font-weight: 600; color: var(--teal-2); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .hero .row { grid-template-columns: minmax(0, 1fr); } .glance { margin-top: 8px; } }
.products .product:last-child { border-bottom: 0; }

/* hero side panel: how we work */
.howwe { background: var(--sheet); border: 1px solid var(--rule); border-radius: 18px; padding: 22px 24px; }
.howwe h2 { font-size: 1.15rem; margin-bottom: 6px; }
.howwe dl { margin: 0; }
.howwe dl div { padding: 12px 0; border-top: 1px solid var(--rule); }
.howwe dl div:first-child { border-top: 0; }
.howwe dt { font-weight: 600; font-size: 0.98rem; color: var(--ink); }
.howwe dd { margin: 3px 0 0; font-size: 0.9rem; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 900px) { .howwe { margin-top: 8px; } }

/* symmetric frame: boxed chart aligned to page edges */
.chart-wrap { width: min(calc(1140px - 2 * var(--gutter)), calc(100% - 2 * var(--gutter))); margin-left: auto; margin-right: auto; border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; }
.chart-wrap .frame { padding-left: clamp(16px, 3vw, 40px); padding-right: clamp(16px, 3vw, 40px); }
.dow { height: 200px; }
.results td.num { font-size: 1.15rem; }
.results th, .results td { font-size: 0.95rem; }
.pilot h2 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.steps li::before { font-size: 1.5rem; }
.toggle button { font-size: 0.85rem; }

/* portfolio grid (overrides list layout) */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; border-top: 0; }
.products .product { display: flex; flex-direction: column; gap: 0; padding: 26px 28px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 18px; }
.products .product .mark { width: 64px; height: 64px; margin-bottom: 16px; }
.products .product h3 { font-size: 2.1rem; line-height: 1.1; }
.products .product p { margin: 0.5rem 0 0; max-width: none; }
.products .product p.status { margin: 0.25rem 0 0.4rem; font-size: 0.88rem; color: var(--ink-3); padding: 0; }
.products .product p.status b { display: inline; color: var(--ink); font-weight: 600; }
.products .product .more { margin-top: auto; padding-top: 14px; font-weight: 600; }
.idot.violet::after { background: #A78BFA; }
@media (max-width: 760px) { .products { grid-template-columns: minmax(0, 1fr); } }

/* about page: compact two-column */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.about-grid .prose p { margin: 0 0 0.7em; font-size: 0.95rem; }
.about-grid .creds { margin-top: 0.8rem; }
.about-grid .creds li { padding: 7px 0; font-size: 0.88rem; }
.about-grid h2 { margin-bottom: 0.9rem; }
.about-grid .timeline li { padding: 0 0 14px 24px; }
.about-grid .timeline .when { font-size: 0.8rem; }
.about-grid .timeline .what { font-size: 1rem; line-height: 1.35; }
@media (max-width: 900px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }

/* brand lockup with tagline */
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-tag { font-family: var(--body); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); margin-top: 5px; }
@media (max-width: 640px) { .brand-text { display: none; } }

.nx-lock { display: flex; flex-direction: column; line-height: 1.25; }
.nx-tag { font-size: 0.8rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0.02em; margin-top: 2px; }
.products .product p.tagline { margin: 0.2rem 0 0; font-size: 0.95rem; font-weight: 600; color: var(--ink-2); }

/* justified body text (left-aligned on small screens to avoid wide gaps) */
.lead, .prose p, p.prose, .products .product p:not(.tagline):not(.status), .note p, p.note, .steps p, .rung p, .howwe dd, .principles p, .pilot li, .chart-cap span, #dow-desc {
  text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto;
}
@media (max-width: 640px) {
  .lead, .prose p, p.prose, .products .product p, .note p, p.note, .steps p, .rung p, .howwe dd, .principles p, .pilot li { text-align: left; }
}

/* wordmark: falcon-blue IX with a dot over the I */
.brand-word .bx, .brand-word .bx .bi { color: #03A6E7; }
.brand-word .bi { position: relative; display: inline-block; }
.brand-word .bi::after { content: ""; position: absolute; left: 50%; top: -0.2em; width: 0.19em; height: 0.19em; border-radius: 50%; background: #03A6E7; transform: translateX(-50%); }
.topbar .masthead { padding-top: 16px; }
.brand-word .bx .sq { position: relative; display: inline-block; color: #03A6E7; }
.brand-word .sq::after { content: ""; position: absolute; left: calc(50% - 0.04em); top: 0.06em; width: 0.14em; height: 0.14em; background: #03A6E7; transform: translateX(-50%); }
.careers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .careers-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 30-second film ---------- */
.adfilm { margin: 0; }
.adfilm video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 14px; background: #14213D; box-shadow: 0 12px 32px rgba(20,33,61,.18); }
@media (prefers-reduced-motion: reduce) { .adfilm video { animation: none; } }

.hero .row.hero-film { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; column-gap: clamp(24px, 4vw, 56px); }
.hero-film .note { margin-top: 1.2rem; }
.adfilm figcaption { font-size: 0.78rem; line-height: 1.45; color: var(--ink-3); margin-top: 0.55rem; text-align: left; }
.ladder { margin-top: clamp(18px, 2.2vw, 30px); }
@media (max-width: 900px) { .hero .row.hero-film { grid-template-columns: minmax(0, 1fr); } .hero-film .adfilm { margin-top: 1.2rem; } }
