/* STWebCraft — cinematic editorial direction */
:root {
  --plum: #2E0D22;
  --plum-2: #45152F;
  --cream: #F4EEE6;
  --paper: #FBF8F3;
  --ink: #1D0B16;
  --muted: #7A6670;
  --line: rgba(46, 13, 34, .16);
  --rose: #F8BBCB;
  --blush: #F3DCE0;

  --display: "Oranienbaum", "Bodoni 72", Didot, Georgia, serif;
  --hl: #F3D3DC;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, .8, .24, 1);
  --pad: clamp(14px, 3.2vw, 45px);
  --indent: calc(var(--pad) + 140px);
  --gutter-r: calc(var(--pad) + 150px); /* room for the fixed menu on the right */
}

*, *::before, *::after { box-sizing: border-box; }
/* no visible scrollbar: the page still scrolls, and the content never shifts when one appears */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar { width: 0; height: 0; display: none; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 15px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.wrap { width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: var(--pad); }

.cap { font: 600 11px/1.45 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.display { font: 400 clamp(46px, 6.72vw, 106px)/.9 var(--display); letter-spacing: -.01em; text-transform: uppercase; }
.script { font: inherit; text-transform: inherit; letter-spacing: inherit; }
.display .script {
  color: inherit; padding: 0 .06em; margin: 0 -.02em;
  background: linear-gradient(transparent 56%, var(--hl) 56%, var(--hl) 90%, transparent 90%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
/* translucent rose band on dark sections */
.hero, .process, .contact, .menu { --hl: rgba(248, 187, 203, .32); }
::selection { background: var(--plum); color: var(--cream); }
[data-dark] ::selection, .menu ::selection { background: var(--rose); color: var(--plum); }
input, textarea { caret-color: var(--plum); }
/* plum ring on light backgrounds, rose ring on dark ones: visible everywhere */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--plum); outline-offset: 4px; border-radius: 2px; }
[data-dark] a:focus-visible, [data-dark] button:focus-visible, .menu a:focus-visible, .hdr :focus-visible:not(.is-light) { outline-color: var(--rose); }
.hdr .is-light:focus-visible, .hdr .is-light :focus-visible { outline-color: var(--plum); }
.skip { position: fixed; left: var(--pad); top: 12px; z-index: 120; padding: 12px 18px; border-radius: 99px; background: var(--plum); color: var(--cream); font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transform: translateY(calc(-100% - 24px)); transition: transform .3s var(--ease); }
.skip:focus-visible { transform: none; outline-color: var(--rose); }
/* counters that change while you watch keep a steady width */
.rail__num, .numbers strong { font-variant-numeric: tabular-nums; }

/* SplitText: keep split letters inline */
.hero__word > div { display: inline-block; }

/* ---------- preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: var(--plum); color: var(--cream); text-align: center;
}
html:not(.js) .loader { display: none; }

/* ---------- cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 99; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--cream); mix-blend-mode: difference; pointer-events: none; opacity: 0;
  display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s;
}
.cursor__label { opacity: 0; color: var(--plum); font-size: 10px; transition: opacity .2s; }
.cursor.is-on { opacity: 1; }
.cursor.is-link { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
.cursor.is-view { width: 96px; height: 96px; margin: -48px 0 0 -48px; mix-blend-mode: normal; background: var(--rose); }
.cursor.is-view .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 60; display: flex; justify-content: space-between; align-items: flex-start;
  padding: 24px var(--pad); color: var(--cream); pointer-events: none;
}
.hdr > * { pointer-events: auto; }
.hdr .is-light { color: var(--plum); }
.badge, .hdr__right { transition: color .4s var(--ease); }
.badge { position: relative; display: grid; place-items: center; width: 116px; height: 116px; text-decoration: none; }
.badge__ring { position: absolute; inset: 0; fill: currentColor; font: 600 11.5px var(--sans); animation: spin 28s linear infinite; }
.badge__logo { grid-area: 1 / 1; width: 62px; height: auto; }
.badge__logo--on-light, .badge.is-light .badge__logo--on-dark { display: none; }
.badge.is-light .badge__logo--on-light { display: block; }
.hdr__right { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; text-align: right; }
.hdr__cta {
  font: 400 22px/.95 var(--display); text-transform: uppercase; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 4px; transition: background-size .5s var(--ease);
}
.hdr__cta:hover { background-size: 30% 1px; }
.hdr__nav { display: flex; flex-direction: column; gap: 4px; }
.hdr__nav a { text-decoration: none; opacity: .85; transition: opacity .2s; }
.hdr__nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.hdr__menu { display: none; }
.lang { display: flex; align-items: center; gap: 8px; }
.lang a { text-decoration: none; opacity: .55; transition: opacity .2s; }
.lang a:hover, .lang a[aria-current] { opacity: 1; }
.lang a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
.lang span { opacity: .35; }
@keyframes spin { to { transform: rotate(360deg); } }

.menu {
  position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 120px var(--pad) 40px; background: var(--plum); color: var(--cream);
}
.menu[hidden] { display: none; }
.menu a { font: 400 clamp(35px, 8.8vw, 58px)/1 var(--display); text-transform: uppercase; text-decoration: none; }
.menu p { margin-top: auto; opacity: .7; }
.menu .menu__contact { display: flex; flex-direction: column; gap: 10px; }
.menu .menu__contact a { font: inherit; text-transform: none; letter-spacing: inherit; text-decoration: none; }

.rail {
  position: fixed; left: calc(var(--pad) + 49px); top: 54%; z-index: 50; transform: translateY(-40%);
  display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--cream); mix-blend-mode: difference;
  transition: opacity .5s var(--ease);
}
.rail.is-off { opacity: 0; }
.rail__line { position: relative; width: 1px; height: 34vh; background: currentColor; opacity: .35; }
.rail__line b { position: absolute; inset: 0 0 auto; height: 0; background: currentColor; }
.rail__txt { writing-mode: vertical-rl; transform: rotate(180deg); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: var(--plum); color: var(--cream); }
.hero__media { position: absolute; inset: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; transform-origin: 62% 55%; animation: heroDrift 16s cubic-bezier(.45, 0, .55, 1) infinite alternate; will-change: transform; backface-visibility: hidden; }
/* slow camera move layered on the looping clip: a gentle push and drift, then back, never a jump */
@keyframes heroDrift { from { transform: translate3d(0, 0, 0) scale(1.03); } to { transform: translate3d(-2%, -1.1%, 0) scale(1.12); } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 45% at 50% 46%, rgba(29, 11, 22, .5), transparent 75%),
    linear-gradient(180deg, rgba(29, 11, 22, .55) 0%, rgba(46, 13, 34, .2) 45%, rgba(29, 11, 22, .8) 100%);
}
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--pad); }
.hero__kicker { margin-bottom: 22px; opacity: .85; }
.hero__title { display: flex; flex-direction: column; align-items: center; font-weight: 400; }
.hero__word { font: 400 clamp(39px, 11.6vw, 200px)/.8 var(--display); letter-spacing: -.015em; white-space: nowrap; overflow: clip; padding: .04em 0; }
.hero__script { margin-top: .5em; font: 400 clamp(19px, 2.08vw, 32px)/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; padding: 0 .1em; background: linear-gradient(transparent 56%, var(--hl) 56%, var(--hl) 90%, transparent 90%); }
.hero__sides {
  position: absolute; left: 0; right: 0; top: calc(50% + clamp(88px, 11.2vw, 176px)); display: flex; justify-content: space-between;
  padding: 0 calc(var(--pad) + 8vw); font: 400 clamp(18px, 1.92vw, 27px)/1 var(--display); text-transform: uppercase;
}
.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 92px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; opacity: .85; }
.hero__scroll i { position: relative; width: 1px; height: 48px; background: rgba(244, 238, 230, .3); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--cream); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- marquee ---------- */
.marquee { position: relative; overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; will-change: transform; }
.marquee span { font: 400 clamp(19px, 1.92vw, 27px)/1 var(--display); text-transform: uppercase; }
.marquee .spark { flex: none; width: 12px; height: 12px; fill: var(--rose); }
.marquee--hero { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 18px 0; border-top: 1px solid rgba(244, 238, 230, .2); color: var(--cream); }
.marquee--contact { position: relative; margin-top: clamp(70px, 8vw, 112px); padding: 26px 0; border-top: 1px solid rgba(244, 238, 230, .2); }
.marquee--contact span { font-size: clamp(49px, 6.4vw, 104px); }
.marquee--contact .spark { width: 22px; height: 22px; }

/* ---------- studio ---------- */
.studio { padding: clamp(97px, 12.8vw, 184px) 0 clamp(79px, 8.8vw, 128px); background: var(--paper); }
.studio__grid { display: grid; grid-template-columns: minmax(140px, 1fr) 3fr; gap: 40px; padding-left: var(--indent); }
.studio__label { padding-top: 14px; color: var(--muted); }
.studio__text { font: 400 clamp(28px, 3.28vw, 53px)/1.05 var(--display); text-transform: uppercase; color: var(--plum); }
.studio__text .w { opacity: .13; transition: opacity .35s; }
.studio__text .w.is-on { opacity: 1; }
.studio__foot { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(25px, 4vw, 64px); align-items: end; margin-top: clamp(49px, 5.6vw, 80px); }
.studio__points { list-style: none; margin: 0; padding: 0; max-width: 520px; border-top: 1px solid var(--line); }
.studio__points li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.studio__points .cap { padding-top: 9px; color: var(--muted); }
.studio__points h3 { margin: 0 0 6px; font: 400 clamp(21px, 1.76vw, 26px)/1.05 var(--display); letter-spacing: -.005em; text-transform: uppercase; color: var(--plum); }
.studio__points p { margin: 0; max-width: 380px; font-size: 16px; color: var(--muted); }
.studio__img { aspect-ratio: 16 / 10; overflow: hidden; }
.studio__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- services: alternating live windows (Clevante-style) ---------- */
.svc { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-inout: cubic-bezier(.76, 0, .24, 1);
  position: relative; overflow: hidden; padding: clamp(70px, 8.8vw, 128px) clamp(16px, 1.6vw, 35px) clamp(88px, 10.4vw, 152px); background: var(--paper); }

/* two-line title, words rise in */
.svc__head { max-width: 1480px; margin: 0 auto clamp(42px, 6.88vh, 80px); padding-left: calc(var(--indent) - clamp(16px, 1.6vw, 35px)); opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.svc__head[data-in="true"] { opacity: 1; transform: none; }
.svc__title { display: flex; flex-direction: column; margin: 0; font: 400 clamp(46px, 6.72vw, 106px)/.9 var(--display); text-transform: uppercase; letter-spacing: -.01em; color: var(--plum); }
.svc__word { display: block; white-space: nowrap; padding: .04em 0; opacity: 0; transform: translateY(.3em); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.svc__head[data-in="true"] .svc__word { opacity: 1; transform: none; }
.svc__word--l { align-self: flex-start; }
.svc__title .script { color: inherit; padding: 0 .06em; background: linear-gradient(transparent 56%, var(--hl) 56%, var(--hl) 90%, transparent 90%); }
.svc__word--r { align-self: flex-start; transition-delay: .12s; }

.svc__list { display: flex; flex-direction: column; gap: clamp(84px, 16.34vh, 184px); max-width: 1480px; margin-inline: auto; }

/* row */
.svc__row { opacity: 0; transform: translateY(42px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.svc__row[data-in="true"] { opacity: 1; transform: none; }
.svc__row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(18px, 1.92vw, 38px); align-items: center; }
.svc__row[data-side="right"] { margin-top: clamp(0px, 4.8vw, 88px); }
.svc__row[data-side="left"] .svc__media { grid-column: 1 / 8; grid-row: 1; }
.svc__row[data-side="left"] .svc__info { grid-column: 9 / 13; grid-row: 1; }
.svc__row[data-side="right"] .svc__media { grid-column: 6 / 13; grid-row: 1; }
.svc__row[data-side="right"] .svc__info { grid-column: 1 / 5; grid-row: 1; align-items: flex-end; text-align: right; }
.svc__row[data-side="right"] .svc__name { justify-content: flex-end; }
.svc__row[data-side="right"] .svc__cta { flex-direction: row-reverse; }

/* the window */
.svc__media { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; isolation: isolate; background: var(--plum); border: 1px solid var(--line); -webkit-tap-highlight-color: transparent; }
.svc__slot { position: absolute; inset: 0; }
.svc__slot img, .svc__slot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc__slot video { opacity: 0; transition: opacity .5s; }
.svc__slot video[data-ready] { opacity: 1; }
.svc__media::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); border-radius: inherit; }

/* diagonal light sweep on hover */
.svc__glare { position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(-30deg, transparent 55%, rgba(46, 13, 34, .05) 63%, rgba(255, 246, 240, .42) 70%, rgba(46, 13, 34, .05) 77%, transparent 85%);
  background-size: 250% 250%; background-repeat: no-repeat; background-position: -100% -100%; }
.svc__media:hover .svc__glare { background-position: 100% 100%; transition: background-position 1.15s var(--ease-out); }

/* cover that slides off to reveal the window, with a rose edge */
.svc__cover { position: absolute; inset: 0; z-index: 5; pointer-events: none; background: var(--paper); transform: translateX(0); transition: transform 1.1s var(--ease-inout) .1s; }
.svc__row[data-side="left"] .svc__cover { border-left: 2px solid var(--rose); }
.svc__row[data-side="right"] .svc__cover { border-right: 2px solid var(--rose); }
.svc__row[data-side="left"][data-in="true"] .svc__cover { transform: translateX(102%); }
.svc__row[data-side="right"][data-in="true"] .svc__cover { transform: translateX(-102%); }

/* text */
.svc__info { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(11px, 1.28vw, 21px) 0; }
.svc__cat { color: var(--muted); opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out) .18s, transform .7s var(--ease-out) .18s; }
.svc__row[data-in="true"] .svc__cat { opacity: 1; transform: none; }
.svc__name { display: flex; flex-wrap: wrap; column-gap: .22em; margin: clamp(9px, 0.8vw, 13px) 0 0; font: 400 clamp(46px, 4.8vw, 83px)/.9 var(--display); text-transform: uppercase; letter-spacing: -.01em; color: var(--plum); }
.svc__name .w { display: inline-block; overflow: hidden; padding: 0 .02em .1em 0; }
.svc__name .wi { display: inline-block; transform: translateY(122%); transition: transform 1s var(--ease-out); transition-delay: calc(.28s + var(--wi, 0) * .09s); }
.svc__row[data-in="true"] .svc__name .wi { transform: none; }
.svc__sum { max-width: 380px; margin-top: 18px; color: var(--muted); opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out) .36s, transform .7s var(--ease-out) .36s; }
.svc__row[data-in="true"] .svc__sum { opacity: 1; transform: none; }

/* CTA with diagonal arrow swap */
.svc__cta { display: inline-flex; align-items: center; gap: 18px; margin-top: clamp(19px, 2.08vw, 30px); color: var(--plum); text-decoration: none; opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out) .46s, transform .7s var(--ease-out) .46s; }
.svc__row[data-in="true"] .svc__cta { opacity: 1; transform: none; }
.svc__arrow { position: relative; overflow: hidden; flex: none; width: 50px; height: 50px; border: 1px solid var(--line); border-radius: 50%; transition: border-color .3s, background-color .3s; }
.svc__arrow svg { position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s cubic-bezier(.65, 0, .2, 1); }
.svc__arrow .a1 { transform: translate(-50%, -50%); }
.svc__arrow .a2 { transform: translate(-50%, -50%) translate(-180%, 180%); }
.svc__cta:hover .svc__arrow .a1 { transform: translate(-50%, -50%) translate(180%, -180%); }
.svc__cta:hover .svc__arrow .a2 { transform: translate(-50%, -50%); }
.svc__cta:hover .svc__arrow { border-color: var(--plum); background: var(--plum); color: var(--cream); }

/* ---------- service detail (window flies to full screen) ---------- */
.fly { position: fixed; z-index: 95; overflow: hidden; pointer-events: none; background: var(--plum); display: none; }
.fly img, .fly video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail { position: fixed; inset: 0; z-index: 94; background: var(--paper); }
.detail[hidden] { display: none; }
.detail__scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.detail__media { position: relative; height: 72vh; min-height: 380px; overflow: hidden; background: var(--plum); }
.detail__media img, .detail__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail__body { padding-top: clamp(35px, 4.8vw, 64px); padding-bottom: clamp(53px, 6.4vw, 96px); }
.detail__body > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.detail.is-open .detail__body > * { opacity: 1; transform: none; }
.detail.is-open .detail__body > :nth-child(2) { transition-delay: .08s; }
.detail.is-open .detail__body > :nth-child(3) { transition-delay: .16s; }
.detail__cat { color: var(--muted); }
.detail__title { margin-top: 14px; color: var(--plum); font-size: clamp(49px, 7.2vw, 120px); }
.detail__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 4.8vw, 80px); margin-top: clamp(32px, 4vw, 51px); }
.detail__text p { max-width: 620px; font-size: 18px; color: var(--muted); }
.detail__text p + p { margin-top: 18px; }
.detail__label { color: var(--muted); margin: 0 0 14px; }
.detail__list { display: grid; gap: 10px; margin-bottom: 36px; padding-top: 18px; border-top: 1px solid var(--line); }
.detail__list li::before { content: "— "; color: var(--muted); }
.detail__price { font: 400 clamp(23px, 1.92vw, 29px)/1.1 var(--display); text-transform: uppercase; color: var(--plum); margin-bottom: 30px; }
.detail__close {
  position: fixed; z-index: 96; top: 24px; right: var(--pad); display: inline-flex; gap: 10px; align-items: center;
  min-height: 46px; padding: 0 22px; border-radius: 99px; background: var(--cream); color: var(--plum);
  opacity: 0; transform: translateY(-10px); transition: opacity .4s, transform .4s var(--ease);
}
.detail.is-open .detail__close { opacity: 1; transform: none; }
.detail__close:hover { background: var(--rose); }
.detail__close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
html.is-flying .svc__media[data-flying] .svc__slot { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  .svc__head, .svc__row, .svc__word, .svc__cat, .svc__sum, .svc__cta, .svc__name .wi { opacity: 1 !important; transform: none !important; transition: none !important; }
  .svc__cover { display: none; }
}


/* ---------- forge: code characters assemble into the logo ---------- */
.forge { position: relative; background: var(--plum); color: var(--cream); --hl: rgba(248, 187, 203, .32); }
.forge__pin { position: relative; height: 100svh; min-height: 620px; overflow: hidden; }
.forge__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.anim .forge__canvas { display: block; }
.forge__fallback { position: absolute; left: 50%; top: 56%; width: min(46vw, 560px); transform: translate(-50%, -50%); }
.anim .forge__fallback { display: none; }
.forge__head { position: absolute; z-index: 1; left: var(--indent); top: clamp(79px, 11.18vh, 112px); }
.forge__head .cap { opacity: .7; margin-bottom: 16px; }
.forge__head .display { font-size: clamp(32px, 3.68vw, 58px); }
.forge__hint { position: absolute; z-index: 1; right: var(--pad); bottom: 32px; opacity: .6; }
html:not(.anim) .forge__hint { display: none; }

.numbers { padding: clamp(62px, 7.2vw, 104px) 0; background: var(--paper); }
.numbers__list { display: grid; grid-template-columns: repeat(4, 1fr); padding-left: var(--indent); }
.numbers__list li { padding: 26px 24px 0 0; border-top: 1px solid var(--line); }
.numbers strong { display: block; font: 400 clamp(49px, 4.8vw, 80px)/1 var(--display); color: var(--plum); }
.numbers .cap { display: block; margin-top: 14px; color: var(--muted); }

/* ---------- process: horizontal ---------- */
.process { position: relative; overflow: hidden; background: var(--plum); color: var(--cream); }
.process__track { display: flex; width: max-content; height: 100svh; min-height: 640px; }
.hpanel { position: relative; flex: none; width: min(78vw, 1040px); height: 100%; display: grid; grid-template-rows: 1fr auto; gap: 30px; padding: 110px clamp(25px, 2.4vw, 45px) 60px; border-right: 1px solid rgba(244, 238, 230, .14); }
.hpanel--intro { width: min(62vw, 780px); display: flex; flex-direction: column; justify-content: center; padding-left: var(--indent); }
.hpanel--intro .cap { opacity: .7; margin-bottom: 22px; }
/* sized by height too, so the label above it always stays on screen */
.hpanel--intro .display { font-size: clamp(35px, min(5.12vw, 10.75vh), 90px); }
.hpanel--intro .hpanel__lede { margin-top: clamp(14px, 2.58vh, 26px); }
.hpanel--intro .hpanel__hint { margin-top: clamp(14px, 3.44vh, 32px); }
.hpanel__lede { max-width: 400px; margin-top: 32px; opacity: .8; }
.hpanel__hint { margin-top: 40px; color: var(--rose); }
.hpanel__roman { position: absolute; z-index: 1; right: clamp(25px, 2.4vw, 45px); top: 70px; font: 400 clamp(79px, 9.6vw, 160px)/1 var(--display); color: var(--rose); mix-blend-mode: normal; }
.hpanel__img { position: relative; overflow: hidden; min-height: 0; }
.hpanel__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hpanel__body { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px 40px; align-items: end; }
.hpanel__body .cap { grid-column: 1 / -1; opacity: .7; }
.hpanel__body .display { font-size: clamp(37px, 3.68vw, 61px); }
.hpanel__body p:last-child { opacity: .8; max-width: 440px; }

/* ---------- work list ---------- */
.work { position: relative; padding: clamp(97px, 11.2vw, 160px) 0 clamp(79px, 8vw, 120px); background: var(--paper); }
.work__head { display: grid; grid-template-columns: minmax(140px, 1fr) 3fr; gap: 40px; align-items: end; padding-left: var(--indent); margin-bottom: clamp(42px, 4.8vw, 72px); }
.work__head .cap { color: var(--muted); padding-bottom: 14px; }
.work__head .display { color: var(--plum); }

/* sites grid: two big screenshots per row, each opens the live site */
.work__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(36px, 4vw, 64px) clamp(22px, 2.6vw, 40px); padding-left: var(--indent); }
.site-card a { display: block; color: inherit; text-decoration: none; }
.site-card__shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px; background: var(--cream); box-shadow: 0 1px 2px rgba(46, 13, 34, .06), 0 18px 40px -24px rgba(46, 13, 34, .35); }
.site-card__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.site-card a:hover .site-card__shot img { transform: scale(1.035); }
.site-card__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-top: 18px; }
.site-card h3 { font: 400 clamp(23px, 2vw, 30px)/1.05 var(--display); text-transform: uppercase; color: var(--plum); }
.site-card p { margin-top: 6px; color: var(--muted); }
.site-card__visit { flex: none; display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding-bottom: 4px; color: var(--plum); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.site-card__visit svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.site-card a:hover .site-card__visit { background-size: 100% 1px; }
.site-card a:hover .site-card__visit svg { transform: translate(2px, -2px); }

/* ---------- quote ---------- */
.quote { padding: clamp(88px, 9.6vw, 144px) 0; background: var(--cream); }
.quote__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4.8vw, 77px); align-items: start; padding-left: var(--indent); }
.quote__lede { max-width: 560px; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.55; color: var(--ink); }
.quote__main .pill { margin-top: clamp(25px, 2.4vw, 35px); }
.pill.pill--plum { background: var(--plum); color: var(--cream); }
.pill.pill--plum:hover { background: var(--plum-2); }
.quote__steps { border-top: 1px solid var(--line); }
.quote__steps li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.quote__steps .cap { padding-top: 8px; color: var(--muted); }
.quote__steps h3 { font: 400 clamp(21px, 1.76vw, 26px)/1.1 var(--display); text-transform: uppercase; color: var(--plum); }
.quote__steps p { margin-top: 6px; color: var(--muted); }
.split-head { display: grid; grid-template-columns: minmax(140px, 1fr) 3fr; gap: 40px; align-items: end; padding-left: var(--indent); margin-bottom: clamp(28px, 3.2vw, 45px); }
.split-head .cap { color: var(--muted); padding-bottom: 14px; }
.split-head .display { color: var(--plum); }

/* ---------- faq ---------- */
.faq { padding: clamp(79px, 8vw, 128px) 0; background: var(--paper); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; padding-left: var(--indent); }
.faq__grid > div:first-child .cap { color: var(--muted); margin-bottom: 20px; }
.faq__grid .display { color: var(--plum); }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 72px; padding: 16px 0; cursor: pointer; list-style: none;
  font: 400 clamp(19px, 1.6vw, 24px)/1.1 var(--display); text-transform: uppercase; color: var(--plum);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; flex: none; width: 16px; height: 16px; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: transform .3s var(--ease); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { max-width: 600px; padding: 0 0 24px; color: var(--muted); }

/* ---------- contact ---------- */
.contact { position: relative; overflow: hidden; padding: clamp(114px, 12.8vw, 192px) 0 0; background: var(--plum); color: var(--cream); }
.contact__media { position: absolute; inset: 0; overflow: hidden; }
.contact__media video, .contact__media img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }
.contact__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29, 11, 22, .55), rgba(29, 11, 22, .35) 50%, rgba(29, 11, 22, .8)); }
.contact__inner { position: relative; text-align: center; }
.contact .display { margin-top: 24px; font-size: clamp(49px, 7.2vw, 120px); }
.contact__text { max-width: 600px; margin: 36px auto 0; font-size: 17px; opacity: .9; }
.contact__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 44px; }
.pill {
  display: inline-flex; align-items: center; min-height: 56px; padding: 0 32px; border-radius: 99px;
  background: var(--cream); color: var(--plum); text-decoration: none; font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  transition: background-color .3s, color .3s;
}
.pill:hover { background: var(--rose); }
.pill--ghost { background: transparent; color: var(--cream); border: 1px solid rgba(244, 238, 230, .5); }
.pill--ghost:hover { background: var(--cream); color: var(--plum); }


/* ---------- motion helpers (only when GSAP runs) ---------- */
.anim .clip { clip-path: inset(100% 0 0 0); }
.anim [data-rise] { opacity: 0; transform: translateY(60px); }

@media (prefers-reduced-motion: reduce) {
  .badge__ring { animation: none; }
  .hero__video { animation: none; }
  .hero__scroll i::after { animation: none; }
  .studio__text .w { opacity: 1; }
}

/* ---------- header clearance ---------- */
@media (min-width: 861px) {
  .studio__grid, .faq__grid, .quote__grid, .work__head, .work__grid, .split-head, .numbers__list { padding-right: var(--gutter-r); }
  .svc__list { padding-right: calc(var(--gutter-r) - clamp(16px, 1.6vw, 35px)); }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  :root { --indent: var(--pad); }
  .rail { display: none; }
  .numbers__list { grid-template-columns: 1fr 1fr; gap: 40px 0; }
}
@media (max-width: 860px) {
  .hdr { padding: 10px var(--pad); align-items: center; background: var(--plum); transition: background-color .4s var(--ease); }
  .hdr.on-light { background: var(--paper); }
  .badge { width: 68px; height: 68px; }
  .badge__logo { width: 36px; }
  .hdr__cta, .hdr__nav { display: none; }
  .hdr__menu { display: block; min-height: 44px; padding: 0 4px; }
  .hdr__right { flex-direction: row; align-items: center; gap: 14px; }
  .lang a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
  .hero__sides { top: auto; bottom: 26vh; padding: 0 var(--pad); font-size: 18px; }
  .hero__scroll { bottom: 84px; }
  .hero__scroll span { display: none; }
  .studio__grid, .work__head, .split-head { grid-template-columns: 1fr; gap: 14px; }
  .work__head .cap, .split-head .cap { padding-bottom: 0; }
  .studio__foot { grid-template-columns: 1fr; }

  .svc__row, .svc__row[data-side] { display: flex; flex-direction: column; align-items: stretch; gap: 22px; margin-top: 0; }
  .svc__row[data-side="right"] .svc__info { align-items: flex-start; text-align: left; }
  .svc__row[data-side="right"] .svc__name { justify-content: flex-start; }
  .svc__row[data-side="right"] .svc__cta { flex-direction: row; }
  .svc__list { gap: 88px; }
  .detail__grid { grid-template-columns: 1fr; }
  .detail__media { height: 52vh; min-height: 280px; }
  .detail__close { top: 16px; }

  .forge__head { left: var(--pad); top: 96px; }
  .forge__fallback { width: 78vw; }
  .process__track { flex-direction: column; width: 100%; height: auto; min-height: 0; }
  .hpanel, .hpanel--intro { width: 100%; height: auto; border-right: 0; border-bottom: 1px solid rgba(244, 238, 230, .14); }
  .hpanel { padding: 48px var(--pad); grid-template-rows: auto auto; }
  .hpanel--intro { padding: 96px var(--pad) 48px; }
  .hpanel__hint { display: none; }
  .hpanel__img { height: 62vw; min-height: 240px; }
  .hpanel__roman { top: 20px; font-size: 90px; }
  .hpanel__body { grid-template-columns: 1fr; }


  .work__grid { grid-template-columns: 1fr; }
  .quote__grid { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; gap: 36px; }
}
