/* Site remodel (2026-11-03): the six section pages, product cards, packages, reel rows. On top of volt.css (tokens, bar, tiles). */

/* ---------- section hero ---------- */
.sx-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding: clamp(2.5rem, 6vw, 5rem) var(--margin); min-height: calc(100svh - 128px); }
.sx-copy { display: grid; gap: 1.2rem; align-content: center; }
.sx-hero h1 { font-size: clamp(3.4rem, 8.6vw, 9rem); }
.sx-line { font-size: clamp(1.15rem, 1.6vw, 1.5rem); font-weight: 700; max-width: 34rem; }
.sx-ctas { display: flex; flex-wrap: wrap; gap: 1.2rem 1.6rem; align-items: center; }
.sx-media { position: relative; overflow: hidden; background: #000; aspect-ratio: 4 / 5; max-height: 78svh; justify-self: end; width: 100%; }
.sx-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: settle 1.6s var(--ease-out) both; }
.t-brand .sx-media, .t-web .sx-media, .t-music .sx-media { aspect-ratio: 16 / 11; }
.t-brand .sx-media { box-shadow: 14px 14px 0 var(--accent); }
.t-web .sx-media { box-shadow: 14px 14px 0 var(--cobalt); }
.t-real-estate .sx-media { box-shadow: 14px 14px 0 #fff; aspect-ratio: 16 / 11; }
.t-ugc .sx-media { box-shadow: 14px 14px 0 var(--hot); aspect-ratio: 9 / 13; max-width: 30rem; }
.t-restaurants .sx-media { box-shadow: 14px 14px 0 var(--hot); aspect-ratio: 9 / 14; max-width: 30rem; }
.t-music .sx-media { box-shadow: 14px 14px 0 var(--cobalt); }
@keyframes settle { from { transform: scale(1.12); filter: blur(8px); } to { transform: none; filter: none; } }
.pk-kicker { font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); font-size: 0.875rem; }

/* split-line title: each word rises out of its own slot (cinematic-web type #4) */
.split .sl { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; }
.split .sl > span { display: inline-block; transform: translateY(105%); transition: transform 900ms cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--w) * 90ms + 120ms); }
.split.in .sl > span, html:not(.js) .split .sl > span { transform: none; }

/* ---------- work ---------- */
.work-grid.two { grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); }
.work-grid.one { grid-template-columns: 1fr; max-width: 1100px; }
.work-grid.verticals { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.work-grid.kit { grid-template-columns: 2fr repeat(4, minmax(0, 1fr)); align-items: start; }
.tile.is-vertical .tile-media { aspect-ratio: 9 / 16; }
.tile[data-spec] .tile-text .spec-note { color: var(--hot); font-weight: 700; font-size: 0.875rem; }
.stills { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.stills img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.stills.wide img { aspect-ratio: 1; }
.loops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.loops video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.feature { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.feature-media { aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.feature-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-copy { display: grid; gap: 1rem; align-content: center; }
.feature-copy h2 { font-size: var(--step-head); }
.feature-copy p { font-size: 1.125rem; max-width: 30rem; }

/* scroll-linked opposing reel rows (cinematic-web scroll #6) */
.scroll-rows { overflow: hidden; padding: clamp(2rem, 6vw, 5rem) 0; display: grid; gap: 12px; }
.sr-row { display: flex; gap: 12px; width: max-content; will-change: transform; transform: translate3d(-33.333%, 0, 0); }
.sr-row figure { margin: 0; flex: none; width: 220px; position: relative; }
.sr-row video { width: 220px; aspect-ratio: 9 / 16; object-fit: cover; display: block; background: #111; }
.sr-row figcaption { position: absolute; left: 8px; bottom: 8px; right: 8px; background: rgba(0, 0, 0, 0.7); color: #fff; font-weight: 700; font-size: 0.8125rem; padding: 4px 8px; }
@media (max-width: 640px) { .sr-row figure, .sr-row video { width: 150px; } }

/* before / after */
.ba-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.ba { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #000; user-select: none; touch-action: pan-y; }
.ba > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba > img.top { clip-path: inset(0 0 0 50%); }
.ba .ba-bar { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; margin-left: -2px; background: var(--accent); pointer-events: none; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* menu demo in a phone */
.menu-demo { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.phone-frame { width: min(360px, 86vw); aspect-ratio: 9 / 18.5; border: 10px solid #000; border-radius: 42px; overflow: hidden; background: #000; box-shadow: 0 0 0 3px var(--accent), 18px 18px 0 var(--hot); }
.phone-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- products ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; align-items: start; }
.pcard { background: var(--surface); padding: clamp(1.2rem, 2.4vw, 1.8rem); display: grid; gap: 0.8rem; border-top: 6px solid var(--accent); }
.pcard header { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.pcard h3 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; text-transform: uppercase; line-height: 1; }
.pprice { font-weight: 800; font-size: 1.25rem; color: var(--accent); white-space: nowrap; }
.psum { font-size: 1.0625rem; }
.pcard h4, .pkgcard h4 { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-top: 0.4rem; }
.pcard ul, .pkgcard ul { padding-left: 1.1rem; display: grid; gap: 0.3rem; }
.pcard .gets li::marker, .pkgcard .gets li::marker { color: var(--accent); }
.setlist { list-style: none; padding: 0 !important; }
.setlist .row { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--surface-2); padding: 4px 0; }
.ptime { color: var(--muted); font-size: 0.9375rem; }
.pcard details summary { cursor: pointer; font-weight: 700; }
.pcard .magnet, .pkgcard .magnet { justify-self: start; }

/* ---------- packages: sticky stacking cards (cinematic-web scroll #5) ---------- */
.stack { position: relative; padding-bottom: 6vh; }
.stack-slot { position: sticky; top: 0; display: flex; justify-content: center; align-items: flex-start; padding-top: clamp(1.5rem, 6vh, 4rem); }
.stack-card { position: relative; top: calc(var(--i) * 26px); width: min(1200px, 100%); transform-origin: top center; will-change: transform; border: 3px solid var(--ink); background: #0c0c0c; }
.pkgcard { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1rem, 3vw, 3rem); padding: clamp(1.2rem, 3vw, 2.6rem); }
.pkgcard h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 4.6vw, 4.2rem); text-transform: uppercase; line-height: 0.95; margin: 0.3rem 0 0.6rem; }
.pk-right { display: grid; gap: 1rem; align-content: start; }
.pk-math { display: grid; gap: 0.6rem; margin: 0; }
.pk-math div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 2px solid var(--surface-2); padding-bottom: 0.5rem; }
.pk-math dt { font-weight: 700; }
.pk-math dd { margin: 0; font-weight: 800; font-size: 1.4rem; }
.pk-inv { color: var(--accent); font-size: 2rem !important; }
.pk-ind s { color: var(--muted); text-decoration-thickness: 3px; text-decoration-color: var(--hot); }
.pk-save { background: var(--hot); color: #000; padding: 0.6rem 0.8rem !important; border: 0 !important; }
.pk-save dd { font-size: 1.8rem !important; }
.pk-parts { list-style: none; padding: 0 !important; font-size: 0.9375rem; }
.pk-parts li { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); }

/* home: the six sections as a dealt deck */
.hcard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(1rem, 3vw, 3rem); padding: clamp(1.2rem, 3vw, 2.6rem); color: var(--ink); text-decoration: none; min-height: min(70svh, 640px); align-items: center; }
.hcard h2 { font-size: clamp(2.8rem, 6.4vw, 6.4rem); margin: 0.3rem 0 0.8rem; }
.hcard p { font-size: 1.125rem; max-width: 30rem; }
.hc-n { font-family: var(--font-display); font-size: 1.4rem; color: var(--accent); }
.hc-from { margin-top: 1.2rem; font-weight: 800; color: var(--accent); }
.hc-media { overflow: hidden; background: #000; aspect-ratio: 16 / 11; }
.hc-media video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 500ms var(--ease-out); }
.hcard:hover .hc-media video { transform: scale(1.05); }
.hcard.t-brand { border-color: var(--accent); }
.hcard.t-web { border-color: var(--cobalt); }
.hcard.t-ugc, .hcard.t-restaurants { border-color: var(--hot); }
.hcard:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

/* magnetic CTA (cinematic-web depth #2): the wrapper measures, the inner button moves */
.magnet { display: inline-block; }
.magnet > * { display: inline-block; }

/* internal placeholders table */
.ph { border-collapse: collapse; width: 100%; margin-top: 1.5rem; }
.ph th, .ph td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--surface-2); }
.ph a { color: var(--accent); }

/* ---------- phones and tablets ---------- */
@media (max-width: 900px) {
  .sx-hero, .feature, .menu-demo, .pkgcard, .hcard { grid-template-columns: 1fr; }
  .sx-hero { min-height: 0; }
  .sx-media { justify-self: stretch; max-width: none !important; }
  .work-grid.kit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid.kit .tile:first-child { grid-column: 1 / -1; }
  .stack-slot { position: static; }
  .stack-card { top: 0; margin-bottom: 16px; }
  .hcard { min-height: 0; }
  .loops { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .split .sl > span { transform: none; transition: none; }
  .sx-media video { animation: none; }
  .sr-row { transform: none; flex-wrap: wrap; width: auto; padding: 0 var(--margin); }
  .sr-row [aria-hidden="true"] { display: none; }
}

/* ---------- /order/: one checkout ---------- */
.order-h { font-size: var(--step-head); margin-bottom: 1rem; }
.ord-steps { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 2rem; list-style: none; }
.ord-steps li { display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--surface); font-weight: 700; color: var(--muted); }
.ord-steps li span { display: grid; place-items: center; width: 26px; height: 26px; background: var(--surface-2); color: var(--ink); font-weight: 800; }
.ord-steps li.on { background: var(--accent); color: #000; }
.ord-steps li.on span { background: #000; color: var(--accent); }
.ord-steps li.done span { background: var(--hot); color: #000; }
.ord-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.ord-step h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1rem; }
.fld { display: grid; gap: 6px; font-weight: 700; margin-bottom: 1rem; }
.fld input, .fld select, .fld textarea { font: inherit; font-weight: 400; background: var(--surface); color: var(--ink); border: 2px solid var(--surface-2); padding: 12px; border-radius: 0; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--accent); outline: none; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; margin-top: 1.5rem; }
.fields .wide { grid-column: 1 / -1; }
.plist { display: grid; gap: 8px; margin-bottom: 1.2rem; }
.pitem { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; background: var(--surface); cursor: pointer; border: 2px solid transparent; }
.pitem.on, .pitem:has(input:checked) { border-color: var(--accent); }
.pitem input { accent-color: var(--accent); width: 18px; height: 18px; }
.pname { font-weight: 800; }
.pname em { font-style: normal; background: var(--hot); color: #000; font-size: 0.75rem; padding: 2px 6px; margin-left: 6px; text-transform: uppercase; }
.pp { font-weight: 800; color: var(--accent); white-space: nowrap; }
.pdetail { background: var(--surface); padding: 1.2rem; margin-bottom: 1rem; }
.pdetail:empty { display: none; }
.pdetail h3 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; text-transform: uppercase; }
.pdetail h4, .opts h4 { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0.8rem 0 0.3rem; }
.pdetail ul { padding-left: 1.1rem; display: grid; gap: 0.25rem; }
.opt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--surface-2); }
.opt b { color: var(--accent); }
.opt small { flex-basis: 100%; color: var(--muted); }
.opt input[type=checkbox] { accent-color: var(--accent); width: 18px; height: 18px; }
.opt input[type=number] { width: 4.5rem; font: inherit; background: var(--surface); color: var(--ink); border: 2px solid var(--surface-2); padding: 4px 8px; margin-left: auto; }
.ord-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.ord-nav .button { margin-left: auto; }
.ghost { background: none; border: 2px solid var(--ink); color: var(--ink); font: 800 1rem var(--font-text); padding: 10px 16px; cursor: pointer; }
#drops { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.dropbox { display: grid; gap: 6px; align-content: center; justify-items: center; text-align: center; min-height: 160px; padding: 1rem; border: 3px dashed var(--muted); background: var(--surface); cursor: pointer; }
.dropbox b { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; text-transform: uppercase; }
.dropbox span { color: var(--muted); }
.dropbox .n { color: var(--accent); font-weight: 800; }
.dropbox.over, .dropbox:focus-visible { border-color: var(--accent); background: #1b1f06; }
.later, .rel { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; margin: 1rem 0; font-size: 1rem; }
.later input, .rel input { accent-color: var(--accent); width: 20px; height: 20px; margin-top: 2px; }
.rel a { color: var(--accent); }
.review { background: var(--hot); color: #000; font-weight: 800; padding: 8px 12px; display: inline-block; margin-bottom: 1rem; }
.flist { list-style: none; padding: 0; display: grid; gap: 6px; }
.flist li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 8px 12px; background: var(--surface); }
.flist li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flist .ghost { padding: 4px 10px; font-size: 0.875rem; }
.formmsg { color: var(--hot); font-weight: 700; min-height: 1.4em; }
.bar-prog { height: 8px; background: var(--surface-2); margin: 1rem 0; }
.bar-prog i { display: block; height: 100%; width: 0; background: var(--accent); transition: width 200ms; }
.ord-sum { position: sticky; top: 1rem; background: var(--surface); padding: 1.2rem; border-top: 6px solid var(--accent); }
.ord-sum h2 { font-size: 2rem; margin-bottom: 0.8rem; }
.sum-lines { list-style: none; padding: 0; display: grid; gap: 6px; }
.sum-lines li { display: flex; justify-content: space-between; gap: 1rem; }
.sum-total, .sum-due { display: flex; justify-content: space-between; font-size: 1.25rem; margin-top: 0.8rem; border-top: 2px solid var(--surface-2); padding-top: 0.6rem; }
.sum-total b { color: var(--accent); }
.pk-math.small dd { font-size: 1.1rem !important; }
.pk-math.small .pk-inv { font-size: 1.3rem !important; }
.pk-math.small { margin-top: 0.8rem; }
#paysum { background: var(--surface); padding: 1.2rem; }
@media (max-width: 900px) {
  .ord-grid { grid-template-columns: 1fr; }
  .ord-sum { position: static; order: -1; }
  .fields { grid-template-columns: 1fr; }
}

/* spec work, said plainly (A8) */
.spec-line { color: var(--hot); font-weight: 700; max-width: 60rem; margin: 0 0 1rem; }
.rows-note { padding: 0 var(--margin); }
.ba-wrap { margin: 0; }
.ba-wrap figcaption { color: var(--muted); font-size: 0.9375rem; margin-top: 6px; }
.ba-tag { position: absolute; left: 10px; top: 10px; z-index: 2; background: #000; color: #fff; font-weight: 800; font-size: 0.75rem; padding: 4px 8px; text-transform: uppercase; pointer-events: none; }
.ba-tag.spec { background: var(--hot); color: #000; }
/* Real estate: link to the scroll-walk listing page (2026-11-04) */
.walk-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; }
.walk-note { opacity: .75; max-width: 46ch; }
