/* Marketing Mahalakshmi · rebrand. Tokens first (from the Mi logo), then
   chrome, then inner pages, then the home scenes. Phone first: base rules are
   for a 390px screen, wider screens add on top. */
:root {
  --sc-canvas: #F6F1EA;  --sc-surface: #FBF8F3;
  --sc-ink: #2A1714;     --sc-ink-soft: #5E4A44;
  --sc-accent: #A7020E;  --sc-accent-ink: #FBF8F3;
  --sc-font-display: "Fraunces", Georgia, serif;
  --sc-font-text: "Inter Tight", system-ui, sans-serif;
  --sun: #F8B62B;        /* the logo's dot: decoration only, never text */
  --gold: #C9A24B;       /* hairlines */
  --tint: #EFE6DA;
  --sc-shadow-color: 12 40% 12%;
  --ease-out: cubic-bezier(.22, .8, .24, 1);
  --pad: clamp(1rem, 5vw, 5.5rem);
  --maxw: 76rem;
  color-scheme: light;
}
html { background: var(--sc-canvas); }
body { margin: 0; background: var(--sc-canvas); color: var(--sc-ink); font-family: var(--sc-font-text); -webkit-font-smoothing: antialiased; }
html.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 80; background: var(--sc-accent); color: var(--sc-accent-ink); padding: .7rem 1rem; border-radius: 999px; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 3px; }

/* ---- type ---- */
.display { font-family: var(--sc-font-display); font-weight: 300; font-size: clamp(2.3rem, 1.6rem + 4vw, 5rem); line-height: 1.04; letter-spacing: -0.025em; margin: 0; font-optical-sizing: auto; text-wrap: balance; }
.display em { font-style: italic; color: var(--sc-accent); }
.display--md { font-size: clamp(1.9rem, 1.4rem + 2.6vw, 3.4rem); }
.display--sm { font-size: clamp(1.45rem, 1.25rem + 1.1vw, 2.2rem); line-height: 1.12; }
.lede { font-size: clamp(1.08rem, 1rem + .45vw, 1.4rem); line-height: 1.5; max-width: 38ch; margin: 1rem 0 0; }
.body { font-size: clamp(1rem, .96rem + .2vw, 1.1rem); line-height: 1.65; max-width: 60ch; margin: .9rem 0 0; color: var(--sc-ink-soft); text-wrap: pretty; }
.kicker { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--sc-ink-soft); margin: 0 0 .9rem; font-weight: 500; }
.pull { font: italic 300 clamp(1.3rem, 1.1rem + 1vw, 1.9rem)/1.3 var(--sc-font-display); color: var(--sc-ink); max-width: 30ch; margin: 2rem 0 0; text-wrap: balance; }
.pull--big { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.8rem); color: var(--sc-accent); max-width: 24ch; }
.fine { font-size: 12px; line-height: 1.5; color: var(--sc-ink-soft); margin: 1rem 0 0; max-width: 60ch; }
.num { font: italic 300 1rem/1 var(--sc-font-display); color: var(--gold); }
.num--big { font-size: 2.4rem; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.link { text-underline-offset: 6px; text-decoration-color: var(--gold); min-height: 44px; display: inline-flex; align-items: center; }
.link:hover { color: var(--sc-accent); }

.btn { font: 500 15px/1 var(--sc-font-text); display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 50px; padding: 0 1.5rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: transform .16s var(--ease-out), background-color .2s var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn--accent { background: var(--sc-accent); color: var(--sc-accent-ink); box-shadow: 0 6px 18px -8px hsl(355 90% 25% / .55); }
.btn--accent:hover { background: #8A0009; }
.btn--ghost { background: rgb(251 248 243 / .7); border-color: color-mix(in oklab, var(--sc-ink) 25%, transparent); color: var(--sc-ink); }
.btn--sm { min-height: 44px; padding: 0 1.1rem; font-size: 14px; }

/* ---- header + menu ---- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: max(env(safe-area-inset-top), 10px) var(--pad) 10px; transition: background-color .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.top.is-solid, .inner .top { background: rgb(246 241 234 / .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 color-mix(in oklab, var(--gold) 35%, transparent); }
.top__mark img { height: 40px; width: auto; }
.top__end { display: flex; align-items: center; gap: .5rem; }
.top__cta { display: none; }
.top__menu { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; gap: .6rem; padding: 0 .9rem; border-radius: 999px; border: 1px solid color-mix(in oklab, var(--sc-ink) 22%, transparent); background: rgb(251 248 243 / .75); font: 500 14px var(--sc-font-text); color: var(--sc-ink); cursor: pointer; }
.top__menu i { width: 16px; height: 8px; border-block: 1.5px solid currentColor; }
.menu { position: fixed; inset: 0; z-index: 55; background: var(--sc-canvas); padding: calc(5rem + env(safe-area-inset-top)) var(--pad) 2rem; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.menu[hidden], [data-done][hidden], .form[hidden], [data-phone][hidden] { display: none; }
.menu:not([hidden]) { animation: menuIn .32s var(--ease-out); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }
.menu__list { list-style: none; margin: 0; padding: 0; columns: 1; }
.menu__list a { display: block; padding: .35rem 0; font: 300 clamp(1.7rem, 1.3rem + 2vw, 2.8rem)/1.15 var(--sc-font-display); text-decoration: none; }
.menu__list a:hover, .menu__list [aria-current] { color: var(--sc-accent); font-style: italic; }
.menu__foot { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: 14px; color: var(--sc-ink-soft); padding-top: 2rem; }
.menu__foot a { min-height: 44px; display: inline-flex; align-items: center; }

/* ---- reveals (ease-out, once) ---- */
[data-in] { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
[data-in].is-in { opacity: 1; transform: none; }

/* ---- inner pages ---- */
.hero { display: grid; gap: 1.5rem; padding: calc(6rem + env(safe-area-inset-top)) var(--pad) 2rem; max-width: var(--maxw); margin: 0 auto; }
.hero__img { margin: 0; height: 52vw; max-height: 26rem; overflow: hidden; border-radius: 2px; order: -1; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.sec { padding: clamp(3rem, 8vw, 7rem) var(--pad); }
.sec--tint { background: var(--tint); }
.sec--center { text-align: center; }
.sec--center .lede, .sec--center .display { margin-inline: auto; }
.sec--center .row { justify-content: center; }
.sec__in { max-width: var(--maxw); margin: 0 auto; }
.sec h2 + .cols, .sec h2 + .grid3, .sec h2 + .team { margin-top: 2rem; }
.cols { display: grid; gap: 0; }
.split { display: grid; gap: 2rem; }
.quote-block { margin: 0; padding: 1.5rem 0 0; border-top: 1px solid var(--gold); font: italic 300 clamp(1.4rem, 1.1rem + 1.4vw, 2.2rem)/1.25 var(--sc-font-display); color: var(--sc-accent); }
.mv { display: grid; gap: 2.5rem; }
.mv__t { font: 300 clamp(1.25rem, 1.1rem + .8vw, 1.7rem)/1.4 var(--sc-font-display); margin: 0; max-width: 34ch; }
.grid3 { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.card { background: var(--sc-surface); padding: 1.4rem 1.3rem 1.5rem; border-top: 2px solid var(--sc-accent); }
.card h3, .card .card__t { font: 400 1.3rem/1.2 var(--sc-font-display); margin: .7rem 0 .4rem; }
.card p { margin: 0; color: var(--sc-ink-soft); line-height: 1.55; }
.team { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; }
.team li { display: flex; flex-direction: column; gap: .2rem; }
.team img, .team__mono { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; margin-bottom: .6rem; }
.team__mono { display: grid; place-items: center; background: var(--sc-surface); border: 1px solid color-mix(in oklab, var(--gold) 50%, transparent); font: italic 300 3rem var(--sc-font-display); color: var(--sc-accent); }
.team strong { font: 400 1.15rem/1.2 var(--sc-font-display); }
.team span { font-size: 13px; color: var(--sc-ink-soft); }

.jump { padding: 0 var(--pad) 1rem; max-width: var(--maxw); margin: 0 auto; }
.jump ol { list-style: none; padding: 0; margin: 0; display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .5rem; }
.jump a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 1rem; border: 1px solid color-mix(in oklab, var(--sc-ink) 18%, transparent); border-radius: 999px; white-space: nowrap; text-decoration: none; font-size: 14px; }
.jump a span { color: var(--gold); font: italic 300 .9rem var(--sc-font-display); }
.jump a:hover { border-color: var(--sc-accent); color: var(--sc-accent); }
.svc-row { display: grid; gap: 1rem; scroll-margin-top: 6rem; }
.sec[id] { scroll-margin-top: 4rem; }
.svc-row__line { font: italic 300 1.15rem/1.4 var(--sc-font-display); color: var(--sc-accent); margin: .6rem 0 0; }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .1rem; }
.ticks li { padding: .55rem 0 .55rem 1.4rem; border-bottom: 1px solid color-mix(in oklab, var(--gold) 35%, transparent); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }

.chips-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips-list li { padding: .7rem 1.1rem; border-radius: 999px; background: var(--sc-surface); border: 1px solid color-mix(in oklab, var(--gold) 45%, transparent); font: 400 1.05rem var(--sc-font-display); }
.chips-list--sm li { font: 400 14px var(--sc-font-text); padding: .55rem .95rem; }

.projects { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.project { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; background: var(--sc-surface); padding: 1.4rem; scroll-margin-top: 6rem; }
.project__mono { width: 4.5rem; height: 4.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--sc-accent); color: var(--sc-accent-ink); font: italic 300 2rem var(--sc-font-display); }
.project .kicker { margin-bottom: .4rem; }

/* the process thread: a gold line with a star at each step */
.thread { list-style: none; padding: 0 0 0 2.2rem; margin: 0; position: relative; display: grid; gap: 2.5rem; }
.thread::before { content: ""; position: absolute; left: .5rem; top: .5rem; bottom: .5rem; width: 1px; background: linear-gradient(var(--gold), color-mix(in oklab, var(--gold) 20%, transparent)); }
.thread li { position: relative; }
.thread__star { position: absolute; left: -2.2rem; top: .1rem; width: 1rem; height: 1rem; background: var(--sc-accent); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.thread h2 { margin-top: .4rem; }

.letter { max-width: 40rem; }
.letter .body { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--sc-ink); }
.sign { margin: 2.5rem 0 0; display: flex; flex-direction: column; gap: .2rem; }
.sign strong { font: italic 400 1.6rem var(--sc-font-display); color: var(--sc-accent); }
.sign span { font-size: 13px; color: var(--sc-ink-soft); }

.brands { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 2rem; }
.brands li { font: 300 clamp(1.6rem, 1.2rem + 2vw, 3rem)/1.25 var(--sc-font-display); }
.brands li:nth-child(even) { font-style: italic; color: var(--sc-accent); }

.faq { display: grid; gap: 0; max-width: 52rem; }
.faq details { border-bottom: 1px solid color-mix(in oklab, var(--gold) 45%, transparent); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; min-height: 44px; font: 400 clamp(1.1rem, 1rem + .5vw, 1.35rem)/1.3 var(--sc-font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--sc-accent); font: 300 1.5rem/1 var(--sc-font-text); transition: transform .2s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.3rem; color: var(--sc-ink-soft); line-height: 1.65; max-width: 62ch; }

/* contact */
.contact { display: grid; gap: 2.5rem; }
.contact__info p { margin: 0 0 .8rem; line-height: 1.5; }
.contact__info a { text-underline-offset: 4px; }
.contact__quote { font: italic 300 1.35rem/1.3 var(--sc-font-display); color: var(--sc-accent); margin: 1.5rem 0 1.25rem !important; }
.form { display: grid; gap: 1.2rem; }
.form__grid { display: grid; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .35rem; font-size: 13px; color: var(--sc-ink-soft); border: 0; margin: 0; padding: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: .6rem; }
.field input, .field textarea { font: 16px/1.4 var(--sc-font-text); color: var(--sc-ink); background: transparent; border: 0; border-bottom: 1px solid color-mix(in oklab, var(--sc-ink) 28%, transparent); padding: .65rem 0; border-radius: 0; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--sc-accent); }
.field [aria-invalid="true"] { border-bottom-color: var(--sc-accent); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 1px solid color-mix(in oklab, var(--sc-ink) 22%, transparent); font-size: 14px; color: var(--sc-ink); cursor: pointer; transition: background-color .15s var(--ease-out), color .15s var(--ease-out); }
.chips input:checked + span { background: var(--sc-accent); color: var(--sc-accent-ink); border-color: var(--sc-accent); }
.chips input:focus-visible + span { outline: 2px solid var(--sc-accent); outline-offset: 2px; }
.form__err { color: var(--sc-accent); font-size: 14px; margin: 0; min-height: 1.2em; }
.form .btn { justify-self: start; }
.form-done { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }

/* closing band + footer */
.band { padding: clamp(4rem, 10vw, 8rem) var(--pad); background: linear-gradient(180deg, var(--sc-canvas), var(--tint)); }
.band__in { max-width: var(--maxw); margin: 0 auto; }
.foot { background: var(--sc-ink); color: #EDE3D6; padding: 3rem var(--pad) calc(2rem + env(safe-area-inset-bottom)); }
.foot__in { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 1.75rem; }
.foot__logo { height: 52px; width: auto; background: var(--sc-canvas); padding: 8px 12px; border-radius: 4px; }
.foot__tag { margin: 0; font: 300 1.35rem/1.3 var(--sc-font-display); }
.foot__tag span { font: 400 12px var(--sc-font-text); letter-spacing: .08em; color: #BFAF9E; }
.foot__nav { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.foot__nav a, .foot__contact a { min-height: 40px; display: inline-flex; align-items: center; text-decoration: none; font-size: 14px; }
.foot__nav a:hover, .foot__contact a:hover { color: var(--sun); }
.foot__contact { display: flex; flex-direction: column; font-size: 14px; color: #BFAF9E; }
.foot__copy { margin: 0; font-size: 12px; color: #A89887; }

/* ---- wider screens ---- */
@media (min-width: 760px) {
  .top__cta { display: inline-flex; }
  .top__mark img { height: 48px; }
  .hero { grid-template-columns: 1.1fr .9fr; align-items: end; padding-top: 8rem; }
  .hero__img { order: 0; height: 30rem; max-height: none; }
  .cols { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
  .split { grid-template-columns: 1.3fr 1fr; align-items: start; gap: 4rem; }
  .mv { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .grid3 { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .team { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .jump ol { flex-wrap: wrap; overflow: visible; }
  .svc-row { grid-template-columns: 1fr 1.2fr; gap: 4rem; }
  .projects { grid-template-columns: repeat(3, 1fr); }
  .project { grid-template-columns: 1fr; }
  .thread { grid-template-columns: repeat(2, 1fr); gap: 3rem 4rem; }
  .contact { grid-template-columns: 1fr 2fr; gap: 4rem; }
  .form__grid { grid-template-columns: 1fr 1fr; }
  .menu__list { columns: 2; column-gap: 4rem; }
  .foot__in { grid-template-columns: 1.3fr 1fr 1fr; align-items: start; }
  .foot__copy { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  [data-in] { opacity: 1; transform: none; transition: none; }
  .menu:not([hidden]) { animation: none; }
  .btn, .chips span, .faq summary::after { transition: none; }
}

/* =================================================================== HOME ==
   Every scene is a full frame with its own layout. Copy sits where the room
   is empty: the sky above the pond, the wall above a face, the floor below a
   desk. Scrims are local (top band, bottom band, or a glass card), never a
   full-frame veil. */
.home .top { background: transparent; box-shadow: none; }
.home .top.is-solid { background: rgb(246 241 234 / .55); }
.home .top__menu { background: rgb(251 248 243 / .82); }

.scene {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1rem;
  padding: calc(4.6rem + env(safe-area-inset-top)) var(--pad) calc(4.2rem + env(safe-area-inset-bottom));
}
.scene > * { max-width: 40rem; position: relative; z-index: 1; }
.scene::before, .scene::after { content: ""; position: absolute; inset-inline: 0; pointer-events: none; z-index: 0; }
/* local scrims, only where text sits */
.scene:has(.scene__top)::before { top: 0; height: 58%; background: linear-gradient(180deg, rgb(246 241 234 / .95) 0%, rgb(246 241 234 / .86) 38%, rgb(246 241 234 / 0) 100%); }
.scene:has(.scene__bottom)::after { bottom: 0; height: 60%; background: linear-gradient(0deg, rgb(246 241 234 / .96) 0%, rgb(246 241 234 / .88) 42%, rgb(246 241 234 / 0) 100%); }
.scene--top { justify-content: flex-start; }
.scene--bottom, .scene--lead { justify-content: flex-end; }
.scene--center { justify-content: center; align-items: center; text-align: center; }
.scene--center > * { margin-inline: auto; }
.scene--sheet { justify-content: space-between; }

.display--hero { font-size: clamp(2.2rem, 1.3rem + 5vw, 5.6rem); line-height: 1.02; }
.body--ink { color: var(--sc-ink); }
.kicker--step span { color: var(--sc-accent); font-weight: 600; margin-right: .3rem; }
.scene .lede { max-width: 34ch; }

/* glass cards for copy over busy rooms */
.card-glass { background: rgb(250 246 240 / .84); -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1); padding: 1.15rem 1.2rem 1.25rem; border-radius: 3px; box-shadow: 0 12px 32px -16px hsl(12 40% 12% / .4); margin: 0; }
.card-glass blockquote { margin: 0; font: italic 300 clamp(1.2rem, 1.05rem + .9vw, 1.7rem)/1.3 var(--sc-font-display); text-wrap: balance; }
.card-glass figcaption { margin-top: .8rem; font-size: 13px; color: var(--sc-ink-soft); }
.card-glass figcaption a { color: var(--sc-accent); text-underline-offset: 3px; }
.card-glass .body { margin-top: .6rem; }

/* highlights under the bud */
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.facts li { display: flex; flex-direction: column; gap: .25rem; border-top: 1px solid var(--gold); padding-top: .6rem; }
.facts strong { font: 300 clamp(1.7rem, 1.4rem + 1.2vw, 2.4rem)/1 var(--sc-font-display); color: var(--sc-accent); }
.facts span { font-size: 13px; line-height: 1.35; color: var(--sc-ink-soft); }

/* the seal in the lotus heart: an ivory medallion, a gold ring that draws
   itself, and the Mi mark settling inside it */
.seal { position: relative; width: min(52vw, 15rem); aspect-ratio: 1; display: grid; place-items: center; }
.seal::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle at 50% 42%, #FFFDF8, #F3EADC); box-shadow: 0 18px 48px -18px hsl(355 80% 20% / .55), inset 0 0 0 1px rgb(201 162 75 / .5); transform: scale(var(--disc, 1)); }
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; scale: var(--disc, 1); overflow: visible; }
.seal__ring circle { fill: none; stroke: var(--sun); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: var(--ring, 1); stroke-linecap: round; }
.seal img { position: relative; width: 62%; height: auto; opacity: var(--mark, 0); transform: scale(var(--disc, 1)); }
.seal__line { max-width: 26ch; margin: 1.4rem auto 0; font: italic 300 clamp(1.15rem, 1rem + .8vw, 1.6rem)/1.3 var(--sc-font-display); color: var(--sc-ink); background: rgb(250 246 240 / .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: .7rem 1rem; border-radius: 3px; text-wrap: balance; }

/* services sheet over the cutaway */
.sheet { background: rgb(250 246 240 / .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); padding: .6rem .9rem; border-radius: 3px; box-shadow: 0 12px 32px -16px hsl(12 40% 12% / .4); max-width: 46rem !important; width: 100%; }
.svc-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: .9rem; }
.svc-list a { display: flex; gap: .45rem; align-items: baseline; min-height: 34px; padding: .3rem 0; font-size: 13px; line-height: 1.25; text-decoration: none; border-bottom: 1px solid color-mix(in oklab, var(--gold) 30%, transparent); }
.svc-list a span { font: italic 300 .8rem var(--sc-font-display); color: var(--gold); flex: none; }
.svc-list a:hover { color: var(--sc-accent); }

.tags { list-style: none; padding: 0; margin: .9rem 0 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.tags a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 .9rem; border-radius: 999px; border: 1px solid color-mix(in oklab, var(--sc-ink) 20%, transparent); font-size: 13px; text-decoration: none; background: rgb(255 253 249 / .7); }
.tags a:hover { border-color: var(--sc-accent); color: var(--sc-accent); }

/* our work: three cards, stacked like posts */
.work-stack { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; width: 100%; }
.work-stack a { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 1rem; padding: .85rem 1rem; background: rgb(250 246 240 / .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-left: 3px solid var(--sc-accent); text-decoration: none; border-radius: 2px; box-shadow: 0 10px 26px -16px hsl(12 40% 12% / .45); }
.work-stack__k { grid-column: 1 / -1; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--sc-ink-soft); }
.work-stack strong { font: 400 1.1rem/1.25 var(--sc-font-display); }
.work-stack a > span:last-child { font-size: 13px; color: var(--sc-accent); align-self: end; }

.brand-row { list-style: none; padding: 0; margin: 1rem 0 .4rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 1.2rem; }
.brand-row li { font: 300 clamp(1.15rem, 1rem + .8vw, 1.6rem)/1.3 var(--sc-font-display); }
.brand-row li:nth-child(even) { font-style: italic; color: var(--sc-accent); }
.mini-foot { margin: 1.4rem 0 0; font-size: 12px; color: var(--sc-ink-soft); }
.mini-foot a { text-underline-offset: 3px; }

/* ---- the stem: the journey's map (from the showcase) ---- */
.stem { position: fixed; z-index: 35; right: clamp(14px, 2.2vw, 36px); top: 50%; translate: 0 -50%; height: min(62vh, 520px); width: 22px; }
.stem__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; translate: -50% 0; background: color-mix(in oklab, var(--gold) 45%, transparent); }
.stem__fill { position: absolute; inset: 0; background: var(--gold); transform-origin: 50% 100%; transform: scaleY(var(--fill, 0)); }
.stem__drop { position: absolute; left: 50%; bottom: 0; width: 9px; height: 9px; translate: -50% 50%; background: var(--sun); border-radius: 50%; transform: translateY(calc(var(--fill, 0) * -1 * min(62vh, 520px))); box-shadow: 0 0 0 3px rgb(246 241 234 / .7); }
.stem__marks { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.stem__marks li { position: absolute; left: 50%; bottom: calc(var(--at) * 100%); translate: -50% 50%; }
.stem__marks a { display: grid; place-items: center; width: 28px; height: 28px; color: var(--sc-ink); text-decoration: none; position: relative; }
.stem__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sc-canvas); border: 1px solid var(--gold); transition: transform .3s var(--ease-out), background-color .3s var(--ease-out); }
/* a passed waypoint becomes the logo's four-point star, and stays */
.is-bloomed .stem__dot { background: var(--sc-accent); border-color: transparent; transform: scale(1.7); border-radius: 0; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.stem__label { position: absolute; right: 30px; white-space: nowrap; font-size: 12px; letter-spacing: .06em; background: rgb(251 248 243 / .92); padding: .3rem .6rem; border-radius: 999px; opacity: 0; translate: 6px 0; transition: opacity .2s var(--ease-out), translate .2s var(--ease-out); pointer-events: none; }
.stem__marks a:hover .stem__label, .stem__marks a:focus-visible .stem__label { opacity: 1; translate: 0 0; }

@media (max-width: 759px) {
  /* the stem lies down along the bottom edge */
  .stem { top: auto; right: 0; left: 0; bottom: 0; translate: none; width: auto; height: calc(40px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); }
  .stem__line { left: 18px; right: 18px; top: 20px; bottom: auto; width: auto; height: 1px; translate: none; }
  .stem__fill { transform-origin: 0 50%; transform: scaleX(var(--fill, 0)); }
  .stem__drop { left: 18px; top: 20px; bottom: auto; translate: -50% -50%; transform: translateX(calc(var(--fill, 0) * (100vw - 36px))); }
  .stem__marks { left: 18px; right: 18px; top: 20px; bottom: auto; height: 0; }
  .stem__marks li { left: calc(var(--at) * 100%); bottom: auto; top: 0; translate: -50% -50%; }
  .stem__label { display: none; }
  .scene--lead, .scene--bottom { justify-content: flex-end; }
}
@media (max-width: 759px) and (max-height: 720px) {
  .scene .lede { font-size: 1rem; }
  .facts span { font-size: 12px; }
  .svc-list a { min-height: 30px; font-size: 12px; }
}

@media (min-width: 760px) {
  .scene { padding-inline: clamp(2rem, 6vw, 6.5rem) clamp(4rem, 8vw, 8rem); padding-bottom: clamp(2.5rem, 7vh, 5rem); }
  .scene--hero .scene__top { max-width: 52rem; }
  /* the bud stands in the middle: words to its left, figures to its right */
  .scene--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto; column-gap: 32vw; }
  .scene--split .scene__top { grid-column: 1; grid-row: 1; align-self: start; }
  .scene--split .scene__bottom { grid-column: 1 / -1; grid-row: 2; justify-self: end; max-width: 30rem; }
  .scene--split::before { height: 52%; background: linear-gradient(100deg, rgb(246 241 234 / .95) 0%, rgb(246 241 234 / .82) 34%, rgb(246 241 234 / 0) 60%); }
  .scene--split::after { height: 48%; background: linear-gradient(260deg, rgb(246 241 234 / .95) 0%, rgb(246 241 234 / .8) 30%, rgb(246 241 234 / 0) 58%); }
  .scene--lead { justify-content: center; align-items: flex-start; }
  .scene--lead .card-glass { max-width: 26rem; }
  .scene--bottom { align-items: flex-start; }
  .scene--bottom .card-glass { max-width: 32rem; }
  .scene--sheet { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .scene--sheet .scene__top { align-self: flex-start; max-width: 22rem; }
  .scene--sheet::after { display: none; }
  .scene--sheet .sheet { max-width: 34rem !important; }
  .work-stack { max-width: 28rem; }
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
  .scene--split .facts { max-width: 40rem; }
}

@media (prefers-reduced-motion: reduce) {
  .stem__dot, .stem__drop, .stem__label { transition: none; }
}

/* reception: the logo wall owns the top-left, so the welcome waits by the desk */
.scene--trail { justify-content: flex-end; }
@media (min-width: 760px) {
  .scene--trail { justify-content: center; align-items: flex-end; }
  .scene--trail .card-glass { max-width: 24rem; }
  /* lighter, shorter scrims on wide screens: the rooms should stay vivid */
  .scene:has(.scene__top)::before { height: 44%; background: linear-gradient(180deg, rgb(246 241 234 / .9) 0%, rgb(246 241 234 / .7) 40%, rgb(246 241 234 / 0) 100%); }
  .scene:has(.scene__bottom)::after { height: 42%; background: linear-gradient(0deg, rgb(246 241 234 / .92) 0%, rgb(246 241 234 / .72) 40%, rgb(246 241 234 / 0) 100%); }
  .scene--split::before { height: 46%; background: linear-gradient(100deg, rgb(246 241 234 / .92) 0%, rgb(246 241 234 / .7) 30%, rgb(246 241 234 / 0) 52%); }
  .scene--split::after { height: 40%; background: linear-gradient(260deg, rgb(246 241 234 / .9) 0%, rgb(246 241 234 / .6) 26%, rgb(246 241 234 / 0) 50%); }
}

/* Cards carry their own ground, so the bottom veil is only for loose copy.
   On phones the top veil stays short so the room in the middle stays vivid. */
.scene:has(.scene__bottom.card-glass)::after, .scene:has(.work-stack)::after, .scene:has(.sheet)::after { display: none; }
@media (max-width: 759px) {
  .scene:has(.scene__top)::before { height: 42%; background: linear-gradient(180deg, rgb(246 241 234 / .95) 0%, rgb(246 241 234 / .84) 45%, rgb(246 241 234 / 0) 100%); }
  .scene--hero::after { height: 52%; }
}
.sign-off { margin: 1.2rem 0 0; font: italic 300 1.05rem/1.3 var(--sc-font-display); color: var(--sc-accent); }
.scene .card-glass .row { margin-top: 1.2rem; }
/* room for the header plus the drift, so a heading never slides under the bar */
.scene { padding-top: calc(6rem + env(safe-area-inset-top)); }
@media (min-width: 760px) { .scene { padding-top: 6.5rem; } }
@media (min-width: 760px) { .scene--split .scene__top { max-width: min(24rem, 30vw); } }
/* round 2: scrims overhang the scene so the engine's copy translate never exposes a strip of video */
.scene:has(.scene__top)::before { top: -80px; }
.scene:has(.scene__bottom)::after { bottom: -80px; }
@media (min-width: 760px) { .scene--hero .scene__top { max-width: min(78rem, 88vw); } .display--hero { font-size: clamp(2.4rem, 1.2rem + 3.6vw, 4.6rem); } }

/* ========================================================== ROUND 2 ==== */
/* The pinned layer rides the video, outside the copy blocks so the engine's
   copy drift never moves it off its target. home.js writes every transform. */
.pins { position: fixed; inset: 0; z-index: var(--sc-z-copy, 20); pointer-events: none; }
.pin { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity; }
.pin--seal .seal { position: absolute; left: 0; top: 0; width: 100px; height: 100px; transform-origin: 50% 50%; }
.pin--seal .seal::before { inset: 4%; }
.pin--room { width: max-content; max-width: 15rem; background: rgb(250 246 240 / .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: .45rem .7rem .5rem; border-radius: 3px; border-top: 2px solid var(--sc-accent); box-shadow: 0 10px 24px -14px hsl(12 40% 12% / .45); }
.pin--room.is-live { pointer-events: auto; }
.pin--room p { margin: 0 0 .2rem; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--sc-ink-soft); }
.pin--room ul { list-style: none; margin: 0; padding: 0; }
.pin--room a { display: block; padding: .15rem 0; font: 400 .95rem/1.3 var(--sc-font-display); text-decoration: none; }
.pin--room a:hover { color: var(--sc-accent); }

/* bud: one line each side of the flower, the promise and figures below-left */
.scene--duo { justify-content: space-between; }
.scene--duo::before { content: ""; top: -80px; height: calc(40% + 80px); background: linear-gradient(180deg, rgb(246 241 234 / .92) 0%, rgb(246 241 234 / .7) 45%, rgb(246 241 234 / 0) 100%); }
.duo__h { max-width: none !important; }
.duo__l, .duo__r { display: block; }
.duo__r { text-align: right; margin-top: .2rem; }
.duo__b { max-width: 26rem; }
.duo__b .facts { margin-top: 1.1rem; grid-template-columns: 1fr 1fr !important; max-width: 20rem; }

/* heart: the caption waits low, under the pod */
.scene--heart { justify-content: flex-end; align-items: center; padding-bottom: calc(3.5vh + 3rem); }   /* low, so the seal can cover the whole pod above it */
/* wide screens: the pod is large, so the caption sits low, well clear of the seal */
@media (min-width: 760px) { .scene--heart { padding-bottom: max(4.5vh, 2.2rem); } .seal__line { margin-top: 0; } }

/* reception: top-right, clear of the logo wall */
.scene--corner { justify-content: flex-end; }
.scene--corner .card-glass { padding-block: 1rem; }

/* cutaway: headline top-centre; on phones a grouped sheet below */
.scene--rooms { justify-content: space-between; align-items: center; }
.rooms__head { text-align: center; max-width: 30rem !important; }
.rooms__sheet { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem .9rem; padding: .8rem .9rem; }
.room-group__n { margin: 0 0 .15rem; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--sc-accent); }
.room-group ul { list-style: none; margin: 0; padding: 0; }
.room-group a { display: block; padding: .1rem 0; font-size: 12.5px; line-height: 1.3; text-decoration: none; }

/* edit suite: a big title, and the services flowing down beside the screens */
.scene--edit { justify-content: space-between; align-items: center; }
.scene--edit::before { content: ""; top: -80px; height: calc(34% + 80px); background: linear-gradient(180deg, rgb(246 241 234 / .92) 0%, rgb(246 241 234 / .65) 50%, rgb(246 241 234 / 0) 100%); }
.edit__t { text-align: center; font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4.8rem); letter-spacing: -0.02em; max-width: none !important; }
.edit__side { align-self: stretch; }
.edit__line { margin: 0; font: 300 clamp(1.2rem, 1.05rem + .8vw, 1.7rem)/1.25 var(--sc-font-display); text-wrap: balance; }
.edit__line em { font-style: italic; color: var(--sc-accent); }
.flow { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .4rem; }
.flow a { display: flex; align-items: center; gap: .6rem; min-height: 40px; padding: 0 .9rem; border-radius: 999px; border: 1px solid color-mix(in oklab, var(--sc-ink) 18%, transparent); background: rgb(255 253 249 / .75); font-size: 14px; text-decoration: none; }
.flow a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); flex: none; }
.flow a:hover { border-color: var(--sc-accent); color: var(--sc-accent); }
.flow li { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease-out), transform .55s var(--ease-out); }
.scene--edit.is-live .flow li { opacity: 1; transform: none; }
.scene--edit.is-live .flow li:nth-child(2) { transition-delay: 80ms; }
.scene--edit.is-live .flow li:nth-child(3) { transition-delay: 160ms; }
.scene--edit.is-live .flow li:nth-child(4) { transition-delay: 240ms; }

/* publish: the heading, then the work, both up top so the phone stays clear */
.scene--pub { justify-content: flex-start; gap: .8rem; }
.scene--pub .work-stack a { padding: .6rem .85rem; }

@media (min-width: 760px) {
  .scene--duo { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto; }
  .duo__h { display: contents; }
  .duo__l { grid-column: 1; grid-row: 1; align-self: start; max-width: 9ch; }
  .duo__r { grid-column: 2; grid-row: 1; justify-self: end; align-self: start; max-width: 11ch; margin: 0; }
  .duo__b { grid-column: 1; grid-row: 3; }
  .scene--duo::before { height: calc(36% + 80px); background: linear-gradient(180deg, rgb(246 241 234 / .9) 0%, rgb(246 241 234 / .55) 50%, rgb(246 241 234 / 0) 100%); }
  .scene--corner { justify-content: flex-start; align-items: flex-end; }
  .scene--corner .card-glass { max-width: 23rem; }
  .scene--rooms { justify-content: flex-start; }
  .rooms__sheet { display: none; }
  .scene--edit { justify-content: flex-start; }
  .edit__side { align-self: flex-end; max-width: 21rem; margin-top: 1rem; }
  .scene--pub { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .scene--pub .work-stack { max-width: 26rem; }
}
@media (max-width: 759px) {
  .scene--corner .body { display: none; }
  .scene--edit .edit__side { max-width: none; }
  .scene--pub .work-stack strong { font-size: 1rem; }
  .scene--pub .work-stack__k { font-size: 9px; }
  .display--hero { font-size: clamp(2rem, 1.2rem + 4.4vw, 2.6rem); }
  .scene .display--md { font-size: clamp(1.7rem, 1.2rem + 2.6vw, 2.1rem); }
}
@media (max-width: 899px) { .pin--room { display: none; } }
@media (prefers-reduced-motion: reduce) { .flow li { opacity: 1; transform: none; transition: none; } }
@media (min-width: 760px) and (max-width: 899px) { .rooms__sheet { display: grid; grid-template-columns: repeat(3, 1fr); align-self: stretch; margin-top: auto; } }
@media (min-width: 900px) {
  .rooms__head { padding: .6rem 1.4rem !important; max-width: none !important; }
  .rooms__head .display--sm { font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); white-space: nowrap; }
  .scene--rooms { padding-top: 5.6rem; }
}
@media (max-width: 759px) {
  /* meeting: Sowjanya's face owns the top, so the words wait below it */
  .scene--split { justify-content: flex-end; gap: .6rem; }
  .scene--split .scene__top { background: rgb(250 246 240 / .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding: .7rem 1rem; border-radius: 3px; }
  .scene--split::before { display: none; }
}
@media (max-width: 759px) and (max-height: 720px) {
  .display--hero { font-size: 1.8rem; }
  .scene--hero .lede { font-size: .95rem; }
  .scene--split .display--md { font-size: 1.45rem; }
}
/* edit suite: the services sit in the bottom-left corner */
.edit__list { position: absolute; left: var(--pad); bottom: calc(4.2rem + env(safe-area-inset-bottom)); width: min(19rem, calc(100% - 2 * var(--pad))); margin: 0; }
@media (min-width: 760px) { .edit__list { left: clamp(2rem, 6vw, 6.5rem); bottom: clamp(2.5rem, 7vh, 5rem); } }
@media (max-width: 759px) { .scene--edit .edit__side { align-self: stretch; margin-top: auto; margin-bottom: calc(12rem); } }

/* cutaway: no boxes. Each label sits on a feathered ivory wash with no
   edge, so the rooms read through it and the words still hold. */
.pin--room { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; box-shadow: none; padding: .55rem 1.1rem .6rem; text-align: center; isolation: isolate; }
.pin--room::before { content: ""; position: absolute; inset: -14% -18%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgb(250 246 240 / .78) 0%, rgb(250 246 240 / .6) 55%, rgb(250 246 240 / 0) 100%); pointer-events: none; }
.pin--room p { color: var(--sc-accent); font-weight: 600; font-size: 9.5px; margin-bottom: .1rem; }
.pin--room a { font-size: .9rem; line-height: 1.25; padding: .05rem 0; color: var(--sc-ink); }
@media (min-width: 900px) {
  .rooms__head { background: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: none !important; position: relative; isolation: isolate; }
  .rooms__head::before { content: ""; position: absolute; inset: -40% -8%; z-index: -1; background: radial-gradient(closest-side, rgb(250 246 240 / .85) 0%, rgb(250 246 240 / .65) 60%, rgb(250 246 240 / 0) 100%); }
}
.pin--room { max-width: 22rem; white-space: nowrap; }

/* client logos: square tiles, each on its own artwork's ground */
.logo-wall { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.logo-wall img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 6px; box-shadow: 0 8px 22px -14px hsl(12 40% 12% / .45); }
@media (min-width: 760px) { .logo-wall { grid-template-columns: repeat(5, 1fr); gap: 1rem; } }
@media (min-width: 1100px) { .logo-wall { grid-template-columns: repeat(7, 1fr); } }
/* home: a slow drifting strip of logos in the city scene */
.logo-strip { overflow: hidden; margin: 1rem -1.2rem .6rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logo-strip ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .6rem; width: max-content; animation: logoDrift 60s linear infinite; }
.logo-strip li { flex: none; }
.logo-strip img { width: 68px; height: 68px; border-radius: 6px; display: block; }
@keyframes logoDrift { to { transform: translateX(-50%); } }
@media (min-width: 760px) { .scene--band .card-glass { max-width: 40rem; } .logo-strip img { width: 84px; height: 84px; } }
@media (prefers-reduced-motion: reduce) { .logo-strip ul { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* ending: the team photo holds still and stays whole; the actions sit in a
   slim bar below their shoulders */
[data-sc-waypoint="Team"] .sc-world__poster { transform: none !important; object-position: 50% 30%; }
.scene--final .scene__top .lede { margin-top: .5rem; font-size: clamp(.95rem, .9rem + .3vw, 1.15rem); max-width: 46ch; }
.scene--final::before { height: calc(30% + 80px) !important; }
.scene--final::after { display: block !important; height: 34% !important; background: linear-gradient(0deg, rgb(246 241 234 / .95) 0%, rgb(246 241 234 / .8) 45%, rgb(246 241 234 / 0) 100%) !important; }
.final__bar { max-width: none !important; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; }
.final__bar .row { margin: 0; }
.final__bar .sign-off { margin: 0; }
.final__bar .mini-foot { margin: 0; flex-basis: 100%; }
@media (max-width: 759px) {
  .scene--final .scene__top .lede { display: none; }
  .final__bar { gap: .5rem; }
  .final__bar .row { gap: .5rem; }
  .final__bar .btn { min-height: 44px; padding: 0 1rem; font-size: 14px; }
  .final__bar .sign-off { display: none; }
}

/* ================================================ PHONE PASS (Nov 17) ==== */
/* the clients card: the logo strip is max-content wide, so pin the card to the
   screen width or it grows past both edges and clips its own headline */
.scene--band .card-glass { width: 100%; max-width: 40rem; min-width: 0; box-sizing: border-box; }
.scene--band .card-glass h2 { overflow-wrap: anywhere; }
.logo-strip { width: auto; max-width: calc(100% + 2.4rem); }
@media (max-width: 759px) {
  .top__mark img { height: 46px; }
  /* studio: the copy sits over a bright softbox, so it gets its own ground */
  .scene--top .scene__top { background: rgb(250 246 240 / .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding: .8rem 1rem .9rem; border-radius: 3px; box-shadow: 0 10px 26px -16px hsl(12 40% 12% / .4); }
  .scene--top::before { display: none; }
  .scene--band { padding-inline: 12px; }
  .scene--band .card-glass { padding: 1rem .9rem 1.1rem; }
  .scene--band .display--sm { font-size: 1.35rem; }
}
@media (max-width: 759px) {
  /* the ending: on a short phone the bar rides up over the team's faces, so it
     carries its own ground instead of relying on the bottom scrim */
  .final__bar { background: rgb(250 246 240 / .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding: .9rem 1rem 1rem; border-radius: 3px; box-shadow: 0 10px 26px -16px hsl(12 40% 12% / .45); }
  .final__bar .mini-foot { overflow-wrap: anywhere; }
  .scene--final::after { height: 46% !important; }
  /* hero: the lede sits over bright water at sunrise */
  .scene--hero .lede { background: rgb(250 246 240 / .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: .7rem .85rem; border-radius: 3px; margin-inline: -.85rem; }
  /* bud: keep the italic second line off the right edge */
  .scene--duo h2 { padding-right: .6rem; }
}

/* inner-page header photo: the parallax scale must stay inside its frame */
.hero__img { overflow: hidden; }
.hero__img img { display: block; }

/* ======================================= PORTRAIT PHONE CUT (Nov 18) ==== */
/* The 9:16 cut holds its subject in the middle third of the screen, with
   ceiling above and floor below. Copy moves into those two empty zones so it
   never sits on the building, the monitors or the sunset. */
@media (max-width: 759px) and (orientation: portrait) {
  /* cutaway: heading in the sky, the room list on the forecourt */
  .scene--rooms { justify-content: space-between; }
  .scene--rooms .rooms__sheet { background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0 .15rem; gap: .3rem .8rem; }
  .scene--rooms .room-group__n { font-size: 9px; margin-bottom: 0; }
  .scene--rooms .room-group a { font-size: 11px; line-height: 1.2; padding: .05rem 0; }
  .scene--rooms::after { display: block !important; bottom: -80px; height: calc(36% + 80px); background: linear-gradient(0deg, rgb(246 241 234 / .94) 0%, rgb(246 241 234 / .84) 62%, rgb(246 241 234 / 0) 100%); }
  /* edit suite: one line and a two-by-two of services on the floor */
  .scene--edit .edit__side { margin-bottom: 6.9rem; padding: .5rem .8rem .55rem; }
  .scene--edit .edit__line { font-size: 1.02rem; line-height: 1.22; }
  .scene--edit .edit__list { width: calc(100% - 2 * var(--pad)); grid-template-columns: 1fr 1fr; gap: .35rem; margin: 0; }
  .scene--edit .edit__list a { min-height: 44px; padding: .2rem .65rem; font-size: 12px; line-height: 1.2; gap: .45rem; border-radius: 14px; background: rgb(255 253 249 / .88); }
  /* clients: the card sits under the window sill, the sunset stays clear */
  .scene--band { justify-content: flex-end; }
  .scene--band .card-glass { padding: .7rem .8rem .75rem; }
  .scene--band .display--sm { font-size: 1.15rem; line-height: 1.15; }
  .scene--band .logo-strip { margin-block: .6rem .4rem; }
  .scene--band .logo-strip img { width: 58px; height: 58px; }
}
@media (max-width: 759px) and (orientation: portrait) and (max-height: 720px) {
  /* short screens: the forecourt is shallow, so the room list tightens to stay off the building */
  .scene--rooms .rooms__sheet { gap: .18rem .7rem; }
  .scene--rooms .room-group__n { font-size: 8.5px; letter-spacing: .12em; }
  .scene--rooms .room-group a { font-size: 10.5px; line-height: 1.14; padding: 0; }
  .scene--rooms { padding-bottom: calc(3.4rem + env(safe-area-inset-bottom)); }
  .scene--rooms .rooms__head { padding-block: .5rem; }
}

/* ================================================ LOADING SCREEN ======== */
/* Up until the first part of the flight can move under the thumb (home.js).
   It lifts like a curtain; the page behind is already laid out. */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--sc-canvas, #F6F1EA); opacity: 0; visibility: hidden; transition: opacity .6s var(--ease-out, ease-out), visibility 0s linear .6s; }
html.is-loading .loader { opacity: 1; visibility: visible; transition: none; }
html.is-loading, html.is-loading body { overflow: hidden; }
.loader__in { display: grid; justify-items: center; gap: 1.4rem; padding: 2rem; transform: translateY(-4%); }
.loader__mark { width: min(54vw, 15rem); height: auto; animation: loaderIn .9s var(--ease-out, ease-out) both; }
.loader__bar { width: min(46vw, 11rem); height: 2px; background: color-mix(in oklab, var(--gold, #F8B62B) 38%, transparent); border-radius: 2px; overflow: hidden; }
.loader__bar span { display: block; height: 100%; background: var(--sc-accent, #A7020E); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s linear; }
.loader__note { margin: 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: color-mix(in oklab, var(--sc-ink, #2a1a14) 62%, transparent); font-variant-numeric: tabular-nums; }
@keyframes loaderIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .loader__mark { animation: none; } .loader { transition: none; } }

/* ================================================ PHONE FLIGHT ========== */
/* One canvas of still frames stands in for the video on portrait phones. It
   sits over the posters and steps aside whenever its frames have not arrived. */
.flight { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 130; opacity: 0; transition: opacity .35s var(--ease-out, ease-out); pointer-events: none; }
.flight.is-on { opacity: 1; }

/* Touch devices: a blurred backdrop over a moving picture is redrawn every
   frame and roughly halves the frame rate on a mid-range phone. The cards carry
   a more solid ground instead. */
@media (hover: none) and (pointer: coarse) {
  *, *::before, *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .card-glass, .sheet { background: rgb(250 246 240 / .94); }
  .top.is-solid, .inner .top { background: rgb(246 241 234 / .97); }
  .home .top.is-solid { background: rgb(246 241 234 / .86); }
  .home .top__menu { background: rgb(251 248 243 / .95); }
  .scene--split .scene__top, .scene--top .scene__top, .final__bar { background: rgb(250 246 240 / .94); }
  .scene--hero .lede { background: rgb(250 246 240 / .88); }
  .work-stack a { background: rgb(250 246 240 / .95); }
}
/* the client strip only drifts while its scene is on screen */
.scene:not(.is-live) .logo-strip ul { animation-play-state: paused; }
/* under a faded-in flight canvas the poster legs are not drawn at all */
.is-covered > [data-sc-segment] { visibility: hidden !important; }

/* guided scroll on touch devices (home.js makeGuide): the script moves the page between
   scene stops, so the finger does not pan it and the browser must not smooth or bounce it */
html.is-guided { scroll-behavior: auto; overscroll-behavior: none; }
html.is-guided body { touch-action: none; }
html.is-guided.menu-open body { touch-action: auto; }

/* phones: the caption under the seal is compact and sits just above the stem, so the
   seal has room to cover the whole pod even on short screens */
@media (max-width: 759px) {
  .scene--heart { padding-bottom: 2.9rem; }
  .seal__line { margin-top: 0; max-width: min(31ch, 100%); font-size: 1.02rem; line-height: 1.28; padding: .5rem .8rem; }
}

/* section labels that used to be small capitals are plain display headings now */
.mv__h { font: 400 clamp(1.5rem, 1.25rem + 1vw, 2.1rem)/1.15 var(--sc-font-display); margin: 0 0 .7rem; color: var(--sc-accent); }
.sec h2 + .logo-wall { margin-top: 2rem; }

.pull + .chips-list { margin-top: 1.6rem; }

/* footer credit */
.foot__copy .built { display: block; margin-top: .35rem; }
.foot__copy a { color: inherit; text-underline-offset: 3px; }
.foot__copy a:hover { color: var(--sun); }
.foot__copy a, .mini-foot a[href*="firstpointstudios"] { display: inline-block; padding: .55rem 0; }
