/* Motion Realm Studios */
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --ink: #0b0b0c;
  --ink-2: #141416;
  --paper: #f3f0e8;
  --grey: #a19e97;
  --line: rgba(243, 240, 232, 0.16);
  --accent: #ff7a3d;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --gutter: clamp(20px, 3vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 17px; line-height: 1.55; font-stretch: 100%; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 16px; }
.skip:focus { left: 12px; top: 12px; }

.pad { padding-left: var(--gutter); padding-right: var(--gutter); }

/* Type */
.display { font-family: var(--sans); font-weight: 800; font-stretch: 112%; text-transform: uppercase; line-height: 0.9; letter-spacing: -0.025em; font-size: clamp(2.7rem, 7.4vw, 8rem); }
.display--md { font-size: clamp(2.3rem, 5.6vw, 5.6rem); }
.statement { font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 3.4vw, 3.25rem); line-height: 1.12; letter-spacing: -0.005em; }
.statement em { font-style: italic; }
.label { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--grey); }
.body-lg { font-size: 1.15rem; color: var(--grey); max-width: 40rem; }
.grey { color: var(--grey); }
.link-arrow { display: inline-flex; gap: 0.5em; align-items: baseline; font-weight: 600; text-decoration: underline; text-underline-offset: 6px; }
.link-arrow::after { content: "→"; display: inline-block; transition: transform 0.15s; }
.link-arrow:hover::after { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .link-arrow:hover::after { transform: none; } }

/* Header */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--gutter); }
.site-header--solid { position: relative; border-bottom: 1px solid var(--line); }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: clamp(18px, 2.6vw, 40px); font-size: 0.86rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.nav a { text-decoration: none; padding: 8px 0; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); text-decoration: underline; text-underline-offset: 6px; }
.menu-btn { display: none; background: none; border: 0; color: var(--paper); font: inherit; font-size: 0.86rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 12px 0; cursor: pointer; min-height: 44px; }
@media (max-width: 760px) {
  .menu-btn { display: block; position: relative; z-index: 2; }
  .nav { display: none; position: fixed; inset: 0; background: var(--ink); flex-direction: column; justify-content: center; gap: 8px; padding: 0 var(--gutter); z-index: 1; }
  .nav.open { display: flex; }
  .nav a { font-weight: 800; font-stretch: 112%; font-size: 2.6rem; letter-spacing: -0.02em; line-height: 1.05; text-shadow: none; }
  body.menu-open { overflow: hidden; }
}

/* Full-bleed hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero--short { min-height: 82vh; min-height: 82svh; }
.hero > video, .hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 12, 0.55) 0%, rgba(11, 11, 12, 0) 20%, rgba(11, 11, 12, 0.2) 40%, rgba(11, 11, 12, 0.9) 100%); }
.hero-content { position: relative; z-index: 1; padding: 0 var(--gutter) clamp(28px, 4vw, 52px); }
.hero-content .display { max-width: 15ch; font-size: min(clamp(2.7rem, 7.4vw, 8rem), 12vh); }
.hero video::-webkit-media-controls { display: none !important; }
.hero-meta { align-items: center; }
.meta-text { line-height: 1.5; }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: -0.01em; font-size: clamp(1.3rem, 2.2vw, 2.1rem); line-height: 1; text-decoration: none; padding: 14px 26px; border: 1.5px solid var(--paper); }
.scroll-cue span { transition: transform 0.2s; }
.scroll-cue:hover { background: var(--paper); color: var(--ink); }
.scroll-cue:hover span { transform: translateY(3px); }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: clamp(22px, 3vw, 40px); padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.9rem; }
.hero-meta span { opacity: 0.85; }
.crumbs { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px; opacity: 0.85; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--paper); }
.crumbs span[aria-hidden] { margin: 0 10px; }

/* Page title (no hero) */
.page-title { padding: clamp(56px, 9vw, 120px) var(--gutter) clamp(40px, 6vw, 72px); }
.page-title .body-lg { margin-top: 28px; }

/* Editorial row: label column + content column */
.row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px var(--gutter); padding: clamp(64px, 8vw, 120px) var(--gutter); border-top: 1px solid var(--line); }
.row--flush { border-top: 0; }
.row > .label { padding-top: 0.6em; }
.row-body > * + * { margin-top: 28px; }
@media (max-width: 860px) { .row { grid-template-columns: minmax(0, 1fr); } .row > .label { padding-top: 0; } }

/* Work tiles */
.tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); padding: 0 var(--gutter); }
.tile { grid-column: span 6; text-decoration: none; display: flex; flex-direction: column; }
.tile--8 { grid-column: span 8; }
.tile--4 { grid-column: span 4; }
.tile--12 { grid-column: span 12; }
.tile .frame { overflow: hidden; background: var(--ink-2); aspect-ratio: 16 / 10; }
.tile--4 .frame { aspect-ratio: auto; flex: 1; min-height: 320px; }
.tile .frame img, .tile .frame video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tile:hover .frame img, .tile:hover .frame video { transform: scale(1.025); }
@media (prefers-reduced-motion: reduce) { .tile:hover .frame img, .tile:hover .frame video { transform: none; } }
.tile .cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; padding-top: 14px; }
.tile .cap strong { font-weight: 600; font-size: 1.05rem; }
.tile .cap span { color: var(--grey); font-size: 0.95rem; }
.tile:hover { color: var(--paper); }
.tile:hover .cap strong { color: var(--accent); }
@media (max-width: 860px) { .tile, .tile--8, .tile--4 { grid-column: span 12; } .tile--4 .frame { aspect-ratio: 4 / 5; flex: none; min-height: 0; } }

/* Service list (typographic) */
.svc-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.svc-list li { border-top: 1px solid var(--line); }
.svc-list a { display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(0, 22rem); gap: 28px; align-items: center; padding: 26px var(--gutter); text-decoration: none; transition: background 0.2s; }
.svc-list a:hover { background: var(--ink-2); color: var(--paper); }
.svc-list .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-2); }
.svc-list .thumb img { width: 100%; height: 100%; object-fit: cover; }
.svc-list .name { font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(1.6rem, 3.6vw, 3.4rem); line-height: 0.95; }
.svc-list a:hover .name { color: var(--accent); }
.svc-list .desc { color: var(--grey); font-size: 1rem; }
@media (max-width: 900px) { .svc-list a { grid-template-columns: 120px minmax(0, 1fr); } .svc-list .desc { grid-column: 2; } }
@media (max-width: 520px) { .svc-list a { grid-template-columns: minmax(0, 1fr); gap: 14px; } .svc-list .desc { grid-column: auto; } }

/* Definition list rows (capabilities, process) */
.deflist { margin: 0; border-top: 1px solid var(--line); }
.deflist > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.deflist dt { font-weight: 600; font-size: 1.15rem; }
.deflist dt .n { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--grey); margin-right: 14px; font-size: 1.2rem; }
.deflist dd { margin: 0; color: var(--grey); }
@media (max-width: 640px) { .deflist > div { grid-template-columns: minmax(0, 1fr); } }

.plainlist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 1.15rem; }
.plainlist li::after { content: "/"; color: var(--grey); margin: 0 14px; }
.plainlist li:last-child::after { content: none; }

/* Media blocks */
.bleed { margin: 0; }
.bleed video, .bleed img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.bleed figcaption { padding: 14px var(--gutter) 0; font-size: 0.92rem; color: var(--grey); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); padding: 0 var(--gutter); }
.pair figure { margin: 0; }
.pair img, .pair video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--ink-2); }
.pair--wide img, .pair--wide video { aspect-ratio: 16 / 10; }
.pair figcaption { padding-top: 12px; font-size: 0.92rem; color: var(--grey); }
@media (max-width: 700px) { .pair { grid-template-columns: minmax(0, 1fr); } }

.stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px clamp(16px, 2vw, 28px); padding: 0 var(--gutter); counter-reset: st; }
.stages figure { margin: 0; }
.stages img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--ink-2); }
.stages h3 { font-size: 1.1rem; font-weight: 600; margin-top: 16px; }
.stages h3::before { counter-increment: st; content: "0" counter(st); font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--grey); margin-right: 12px; }
.stages p { color: var(--grey); margin-top: 6px; font-size: 0.98rem; }
@media (max-width: 900px) { .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .stages { grid-template-columns: minmax(0, 1fr); } }

.meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px var(--gutter); padding: 28px var(--gutter); border-bottom: 1px solid var(--line); margin: 0; }
.meta dt { font-size: 0.78rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--grey); margin-bottom: 6px; }
.meta dd { margin: 0; }
@media (max-width: 800px) { .meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.clients { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.clients img { height: 44px; width: auto; }

/* Next / big link */
.next { display: block; padding: clamp(48px, 7vw, 96px) var(--gutter); border-top: 1px solid var(--line); text-decoration: none; }
.next .label { display: block; margin-bottom: 14px; }
.next .display { font-size: clamp(2.2rem, 6vw, 6rem); }
.next:hover { color: var(--paper); }
.next:hover .display { color: var(--accent); }

/* Form */
.form { display: grid; gap: 30px; }
.form .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
@media (max-width: 640px) { .form .two { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.78rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--grey); }
.field input, .field select, .field textarea { font: inherit; font-size: 1.15rem; color: var(--paper); background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 0 12px; min-height: 48px; width: 100%; }
.field select option { background: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn { appearance: none; background: var(--paper); color: var(--ink); border: 0; font: inherit; font-weight: 700; font-stretch: 112%; text-transform: uppercase; letter-spacing: 0.02em; font-size: 1rem; padding: 18px 30px; min-height: 52px; cursor: pointer; }
.btn:hover { background: var(--accent); color: var(--ink); }
.notice { padding: 16px 0; border-top: 1px solid var(--accent); border-bottom: 1px solid var(--accent); margin-bottom: 24px; }
.fine { font-size: 0.9rem; color: var(--grey); }
.contact-block { margin: 0; }
.contact-block dt { font-size: 0.78rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--grey); margin-bottom: 4px; }
.contact-block dd { margin: 0 0 26px; font-size: 1.15rem; }
[hidden] { display: none !important; }

/* Prose */
.prose { max-width: 44rem; }
.prose h2 { font-weight: 700; font-size: 1.4rem; margin: 2em 0 0.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--grey); }
.prose p + p { margin-top: 1em; }
.prose strong { color: var(--paper); font-weight: 600; }
.prose ul { padding-left: 1.1em; margin: 0.6em 0 0; }
.prose li + li { margin-top: 0.4em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: clamp(64px, 9vw, 120px) var(--gutter) 32px; margin-top: clamp(40px, 6vw, 80px); }
.footer-cta .statement { max-width: 18ch; }
.footer-mail { display: inline-block; margin-top: 22px; font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(1.6rem, 5.4vw, 5.2rem); line-height: 1; text-decoration: none; overflow-wrap: anywhere; }
.footer-mail:hover { color: var(--accent); }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--gutter); margin-top: clamp(56px, 8vw, 104px); padding-top: 28px; border-top: 1px solid var(--line); font-size: 0.95rem; }
.footer-cols h2 { font-size: 0.78rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--grey); font-weight: 500; margin-bottom: 12px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { text-decoration: underline; }
.footer-legal { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 0.82rem; color: var(--grey); }
@media (max-width: 800px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Digital Guide: packages + FAQ */
.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.package { padding: 28px 28px 30px 0; display: flex; flex-direction: column; gap: 12px; }
.package + .package { padding-left: 28px; border-left: 1px solid var(--line); }
.package h3 { font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1; }
.package p { color: var(--grey); flex: 1; }
@media (max-width: 860px) { .packages { grid-template-columns: minmax(0, 1fr); } .package, .package + .package { padding: 24px 0; border-left: 0; } .package + .package { border-top: 1px solid var(--line); } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 600; font-size: 1.15rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 18px; font-size: 1.6rem; font-weight: 400; color: var(--grey); }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--accent); }
.faq details p { color: var(--grey); padding: 0 0 24px; max-width: 44rem; }
.feature-guide { position: relative; display: block; text-decoration: none; overflow: hidden; margin: 0 var(--gutter); }
.feature-guide img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 35%; transition: transform 0.6s ease; }
.feature-guide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 11, 12, 0.88) 0%, rgba(11, 11, 12, 0.5) 45%, rgba(11, 11, 12, 0) 75%); }
.feature-guide .fg-text { position: absolute; z-index: 1; left: clamp(20px, 4vw, 56px); bottom: clamp(20px, 4vw, 56px); max-width: 34rem; }
.feature-guide .fg-text .display { font-size: clamp(2rem, 4.6vw, 4.6rem); }
.feature-guide .fg-text p { margin-top: 16px; color: var(--paper); opacity: 0.9; }
.feature-guide .fg-text .link-arrow { margin-top: 20px; }
.feature-guide:hover { color: var(--paper); }
.feature-guide:hover img { transform: scale(1.02); }
.feature-guide:hover .link-arrow { color: var(--accent); }
@media (max-width: 760px) { .feature-guide img { aspect-ratio: 4 / 5; } .feature-guide::after { background: linear-gradient(0deg, rgba(11, 11, 12, 0.92) 0%, rgba(11, 11, 12, 0.4) 55%, rgba(11, 11, 12, 0) 80%); } }
@media (prefers-reduced-motion: reduce) { .feature-guide:hover img { transform: none; } }

/* How it works: scroll story (static layout without JS / with reduced motion) */
.scrolly { border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 120px) var(--gutter); }
.scrolly-stage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px var(--gutter); }
.scrolly-steps { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.scrolly-steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); padding: 22px 0; border-bottom: 1px solid var(--line); }
.scrolly-steps .n { grid-row: span 2; font-family: var(--serif); font-style: italic; color: var(--grey); font-size: 1.25rem; line-height: 1.3; }
.scrolly-steps h3 { font-size: 1.35rem; font-weight: 600; line-height: 1.3; }
.scrolly-steps p { color: var(--grey); margin-top: 6px; max-width: 30rem; }
.scrolly-bar { display: none; }
.scrolly-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.scene { margin: 0; position: relative; overflow: hidden; background: var(--ink-2); }
.scene img, .scene video { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.scene[data-scene="0"] img { object-position: 50% 40%; }
.scene[data-scene="3"] video { object-position: 57% 50%; }
.scene[data-scene="2"] img { object-position: 32% 40%; }
.scene figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; font-size: 0.88rem; color: var(--paper); background: linear-gradient(to top, rgba(11,11,12,0.85), rgba(11,11,12,0)); }
.bubble { position: absolute; left: 18px; right: 18px; bottom: 56px; font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 2.1rem); line-height: 1.15; color: var(--paper); text-shadow: 0 2px 18px rgba(0,0,0,0.6); }
.bubble::before { content: "\201C"; }
.bubble::after { content: "\201D"; }
@media (max-width: 860px) { .scrolly-stage { grid-template-columns: minmax(0, 1fr); } }

/* Live scroll mode (added by JS when motion is allowed) */
.scrolly.is-live { height: 420vh; padding: 0; }
.scrolly.is-live .scrolly-stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 96px var(--gutter) 40px; align-items: center; }
.scrolly.is-live .scrolly-text { position: relative; padding-left: 26px; }
.scrolly.is-live .scrolly-bar { display: block; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--line); }
.scrolly.is-live .scrolly-bar span { display: block; width: 100%; height: 100%; background: var(--accent); transform-origin: top; transform: scaleY(var(--p, 0)); }
.scrolly.is-live .scrolly-steps li { transition: opacity .35s ease; opacity: 0.32; }
.scrolly.is-live .scrolly-steps li.is-active { opacity: 1; }
.scrolly.is-live .scrolly-steps li.is-active .n { color: var(--accent); }
.scrolly.is-live .scrolly-media { display: block; position: relative; height: 100%; max-height: 820px; aspect-ratio: 4 / 5; justify-self: end; width: auto; max-width: 100%; }
.scrolly.is-live .scene { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
.scrolly.is-live .scene[data-scene="0"] { opacity: 1; }
.scrolly.is-live .scene img, .scrolly.is-live .scene video { aspect-ratio: auto; will-change: transform; }
.scrolly.is-live .scene[data-scene="0"] img { transform-origin: 50% 36%; }
.scrolly.is-live .scene[data-scene="1"] img { transform-origin: 78% 45%; }
.scrolly.is-live .bubble.typing::after { content: "\201D"; }
.scrolly.is-live .bubble.typing:not(.done)::after { content: "|"; font-family: var(--sans); font-weight: 300; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 860px) {
  .scrolly.is-live .scrolly-stage { grid-template-rows: minmax(0, 1fr) auto; padding: 76px var(--gutter) 24px; gap: 18px; align-items: stretch; }
  .scrolly.is-live .scrolly-media { order: -1; justify-self: center; height: 100%; max-height: none; min-height: 0; }
  .scrolly.is-live .scrolly-text { min-height: 190px; }
  .scrolly.is-live .scrolly-steps { margin-top: 12px; border-top: 0; }
  .scrolly.is-live .scrolly-steps li { display: none; border-bottom: 0; padding: 0; }
  .scrolly.is-live .scrolly-steps li.is-active, .scrolly.is-live .scrolly-steps:not(.has-active) li:first-child { display: grid; opacity: 1; }
  .scrolly.is-live .scrolly-steps h3 { font-size: 1.2rem; }
  .scrolly.is-live .scrolly-steps p { font-size: 0.98rem; }
}

/* Page motion (Digital Guide). Only active once JS adds .js-motion, so content never hides without JS. */
.js-motion [data-reveal], .js-motion [data-reveal-kids] > * { opacity: 0; transform: translateY(28px); transition: opacity .9s ease var(--d, 0s), transform 1.1s cubic-bezier(.2, .75, .15, 1) var(--d, 0s); }
.js-motion [data-reveal].is-in, .js-motion [data-reveal-kids].is-in > * { opacity: 1; transform: none; }
.js-motion [data-rise] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js-motion [data-rise] .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s cubic-bezier(.2, .75, .15, 1) calc(var(--i, 0) * 70ms + 120ms); }
.js-motion [data-rise].is-in .w > span { transform: none; }
.js-motion [data-scrub] .sw { opacity: .18; transition: opacity .25s linear; }
.js-motion [data-scrub] .sw.on { opacity: 1; }
.js-motion .hero[data-hero] > img { scale: 1.14; transition: scale 2.6s cubic-bezier(.2, .7, .2, 1); will-change: translate, scale; }
.js-motion .hero[data-hero].is-ready > img { scale: 1; }
.js-motion [data-widen] .frame { will-change: clip-path; }
.js-motion [data-widen] .frame img { will-change: transform; }
/* Reduced motion: fades only, no movement */
.calm [data-reveal], .calm [data-reveal-kids] > * { transform: none; }
.calm [data-rise] .w > span { transform: none; opacity: 0; transition: opacity .8s ease calc(var(--i, 0) * 50ms); }
.calm [data-rise].is-in .w > span { opacity: 1; }
.calm .hero[data-hero] > img { scale: 1; }
/* Package hover line */
.package { position: relative; }
.package::before { content: ""; position: absolute; top: -1px; left: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2, .75, .15, 1); }
.package + .package::before { left: 28px; width: calc(100% - 28px); }
.package:hover::before, .package:focus-within::before { transform: scaleX(1); }
@media (max-width: 860px) { .package + .package::before { left: 0; width: 100%; } }

/* ===== Digital Guide sales page ===== */
/* Pinned pull-back hero. Without JS it is a normal full-height hero. */
.hero-pin { position: relative; }
.hp-stage { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.hp-media { position: absolute; inset: -16px; }
.hp-media img, .hp-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hp-a { object-position: 57% 50%; transform-origin: 57.5% 22%; will-change: transform; }
.hp-media video::-webkit-media-controls { display: none !important; }
.hp-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(11,11,12,.55) 0%, rgba(11,11,12,0) 22%, rgba(11,11,12,.2) 42%, rgba(11,11,12,.92) 100%); }
.hp-content { position: relative; z-index: 2; }
.hp-reveal { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: clamp(28px, 6vw, 80px); opacity: 0; pointer-events: none; }
.hp-kicker { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2.4rem); color: var(--accent); margin-bottom: 10px; }
.hp-line { max-width: 16ch; font-size: min(clamp(2.4rem, 6.4vw, 7rem), 11vh); }
.hero-pin.is-live { height: 230vh; }
.hero-pin.is-live .hp-stage { position: sticky; top: 0; }
.hp-media { will-change: transform; }
.live-dot { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; font-weight: 600; opacity: 1; }
.live-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: pulse 2s infinite; }
.meta-text { display: flex; flex-direction: column; align-items: flex-start; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.55); } 70% { box-shadow: 0 0 0 12px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
@media (prefers-reduced-motion: reduce) { .live-dot::before { animation: none; } }
.cta-pair { display: inline-flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* Proof: real install at Kew */
.proof { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px var(--gutter); align-items: center; padding: clamp(64px, 8vw, 120px) var(--gutter); border-bottom: 1px solid var(--line); }
.proof-body > * + * { margin-top: 22px; }
.proof-logo { width: clamp(110px, 11vw, 160px); height: auto; }
.proof .live-dot { margin-top: 28px; font-size: .9rem; }
.proof-img { margin: 0; justify-self: center; width: 100%; max-width: 340px; }
.proof-img img { width: 100%; height: auto; }
.proof-img figcaption { padding-top: 12px; font-size: .9rem; color: var(--grey); }
@media (max-width: 760px) { .proof { grid-template-columns: minmax(0, 1fr); } .proof-img { justify-self: start; max-width: 300px; } }

/* Spotlight that follows the pointer */
[data-spot] { position: relative; isolation: isolate; }
[data-spot]::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,122,61,.16), rgba(255,122,61,0) 65%); }
[data-spot]:hover::after { opacity: 1; }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.benefit { padding: clamp(26px, 3vw, 44px) clamp(20px, 2.4vw, 36px) clamp(30px, 3vw, 48px) 0; border-bottom: 1px solid var(--line); }
.benefit:nth-child(2n) { padding-left: clamp(20px, 2.4vw, 36px); border-left: 1px solid var(--line); }
.b-n { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.3rem; }
.benefit h3 { font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(1.5rem, 2.5vw, 2.3rem); line-height: 1; margin: 14px 0 14px; }
.benefit p { color: var(--grey); max-width: 30rem; }
@media (max-width: 760px) { .benefits { grid-template-columns: minmax(0, 1fr); } .benefit, .benefit:nth-child(2n) { padding: 26px 0; border-left: 0; } }

/* Marquee */
.marquee { overflow: hidden; padding: clamp(28px, 4vw, 56px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); user-select: none; }
.mq-row { padding: 0 var(--gutter); font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1; font-size: clamp(1.75rem, 4.3vw, 6rem); white-space: nowrap; }
@media (max-width: 640px) { .mq-row { font-size: clamp(1.9rem, 9.5vw, 3rem); white-space: normal; } .mq-track > span { display: block; } .mq-track i { display: none; } .mq-row + .mq-row { margin-top: .25em; } }
.marquee.is-moving .mq-row { padding: 0; white-space: nowrap; font-size: clamp(3.2rem, 10vw, 10rem); }
.mq-track { display: inline; }
.marquee.is-moving .mq-track { display: inline-block; will-change: transform; }
.mq-track i { font-style: normal; color: var(--accent); margin: 0 .3em; }
.mq-row--outline { color: transparent; -webkit-text-stroke: 1.5px var(--paper); margin-top: .08em; }
.mq-row--outline i { -webkit-text-stroke: 0; }

/* Ideas */
.ideas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); padding: 0 var(--gutter); }
.idea { margin: 0; }
.idea-img { overflow: hidden; background: var(--ink-2); }
.idea-img img, .idea-img video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; height: auto; transition: transform 1.2s cubic-bezier(.2,.75,.15,1); }
.idea:hover .idea-img img, .idea:hover .idea-img video { transform: scale(1.06); }
.idea-img video::-webkit-media-controls { display: none !important; }
.idea figcaption { padding: 18px 0 0; }
.idea h3 { font-size: 1.35rem; font-weight: 600; }
.idea p { color: var(--grey); margin-top: 6px; }
@media (max-width: 860px) { .ideas { grid-template-columns: minmax(0, 1fr); } .idea-img img, .idea-img video { aspect-ratio: 16 / 11; } }

/* Process timeline */
.process { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.process::before, .process::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--line); }
.process::after { background: var(--accent); transform-origin: left; transform: scaleX(var(--pp, 1)); }
.process li { position: relative; padding-top: 34px; }
.pr-dot { position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 2px solid var(--grey); z-index: 1; transition: background .3s, border-color .3s; }
.process li.on .pr-dot { background: var(--accent); border-color: var(--accent); }
.process h3 { font-size: 1.15rem; font-weight: 600; }
.process p { color: var(--grey); margin-top: 6px; font-size: .98rem; }
@media (max-width: 900px) {
  .process { grid-template-columns: minmax(0, 1fr); gap: 0; padding-left: 34px; }
  .process::before, .process::after { left: 6px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .process::after { transform-origin: top; transform: scaleY(var(--pp, 1)); }
  .process li { padding: 0 0 28px; }
  .pr-dot { left: -34px; }
}

/* Packages tag */
.pk-tag { font-size: .78rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); min-height: 1.2em; }

/* Magnetic buttons */
[data-magnetic] { transition: transform .35s cubic-bezier(.2,.75,.15,1), background-color .2s, color .2s; }

/* Sticky Book a demo */
.sticky-cta { position: fixed; z-index: 50; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); display: inline-flex; align-items: center; gap: 18px; padding: 10px 10px 10px 22px; background: rgba(20, 20, 22, 0.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); text-decoration: none; font-size: .88rem; transform: translateY(160%); transition: transform .5s cubic-bezier(.2,.75,.15,1); }
.sticky-cta strong { background: var(--accent); color: var(--ink); padding: 12px 18px; font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: .01em; }
.sticky-cta:hover { color: var(--paper); }
.sticky-cta:hover strong { background: var(--paper); }
.sticky-cta.show { transform: none; }
@media (max-width: 640px) { .sticky-cta { padding: 0; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; } .sticky-cta span { display: none; } .sticky-cta strong { padding: 14px 20px; box-shadow: 0 8px 30px rgba(0,0,0,.45); } }
.scene[data-scene="1"] img { object-position: 80% 50%; }
.calm .scene[data-scene="1"] img, .scrolly:not(.is-live) .scene[data-scene="1"] img { transform: scale(1.25); transform-origin: 78% 45%; }
