/* Cenxory homepage — ivory gallery direction (B2). Self-contained; no framework. */
:root {
  --ivory: #F3EEE5;
  --paper: #FBF8F2;
  --sand: #E9E2D6;
  --ink: #151412;
  --ink-2: #1F1D1A;
  --ink-3: #2A2723;
  --muted: #5E5850;
  --muted-d: #A8A196;
  --line: rgba(21, 20, 18, 0.14);
  --line-d: rgba(243, 238, 229, 0.14);
  --ox: #8A2F1D;
  --ox-soft: #E0876B;
  --disp: 'Fraunces', Georgia, serif;
  --body: 'Hanken Grotesk', system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --pad: clamp(20px, 5.5vw, 80px);
  --max: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--ox); outline-offset: 4px; border-radius: 4px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--ivory); border-radius: 999px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; padding-inline: var(--pad); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.eyebrow b { color: var(--ox); font-weight: 400; margin-right: 10px; }
.h2 { margin: 0; font-family: var(--disp); font-weight: 350; font-size: clamp(48px, 7vw, 96px); line-height: .98; letter-spacing: -0.03em; }
.lede { margin: 0; color: var(--muted); font-size: 18px; max-width: 460px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--ink); color: var(--ivory); font-weight: 500; font-size: 16px; border: 1px solid var(--ink); cursor: pointer; transition: background .3s, color .3s, transform .3s var(--ease); }
.btn:hover { background: var(--ox); border-color: var(--ox); }
.btn:active { transform: scale(.98); }
.btn--light { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn--light:hover { background: var(--ox-soft); border-color: var(--ox-soft); color: var(--ink); }
.link { display: inline-flex; gap: 8px; align-items: center; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 16px; transition: color .3s, border-color .3s; }
.link:hover { color: var(--ox); }
.link--ox { border-color: var(--ox); }

/* ------------------------------------------------------------ header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, border-color .4s, color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(243, 238, 229, 0.55); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.site-header.is-dark { background: rgba(21, 20, 18, 0.45); border-color: var(--line-d); color: var(--ivory); }
.site-header.is-dark .btn { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.site-header.is-dark .menu-btn { border-color: var(--line-d); }
.site-header.is-dark .menu-btn span, .site-header.is-dark .menu-btn span::before, .site-header.is-dark .menu-btn span::after { background: var(--ivory); }
.menu-open .site-header.is-dark .menu-btn span { background: transparent; }
.site-header .wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 21px; font-weight: 500; letter-spacing: -.02em; line-height: 1; }
.brand-mark { width: 26px; height: 26px; flex: none; }
.brand-mark-ox { stroke: var(--ox); transition: stroke .4s; }
.site-header.is-dark .brand-mark-ox { stroke: var(--ox-soft); }
.nav { display: flex; gap: 36px; font-size: 15px; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--ox); transition: right .35s var(--ease); }
.nav a:hover::after { right: 0; }
.header-cta { min-height: 44px; padding: 0 20px; font-size: 14px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .3s; }
.menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); transition: transform .3s; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; }

/* ------------------------------------------------------------ hero */
.hero { position: relative; height: 460vh; }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.hero__glow { position: absolute; right: -10vw; top: -10vh; width: 70vw; height: 110vh; background: radial-gradient(closest-side, rgba(255, 252, 246, .95), rgba(243, 238, 229, 0)); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 24px; }
.hero__copy { display: flex; flex-direction: column; gap: 28px; padding-top: 40px; will-change: transform, opacity; }
.hero h1 { margin: 0; font-family: var(--disp); font-weight: 350; font-size: clamp(56px, 6.9vw, 104px); line-height: .96; letter-spacing: -0.035em; }
.hero h1 em { position: relative; display: inline-block; font-weight: 300; color: var(--ox); }
.matter-underline { position: absolute; left: 0; bottom: -.16em; width: 100%; height: .18em; overflow: visible; }
.matter-underline path { fill: none; stroke: var(--ox); stroke-width: 3; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  .matter-underline path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: matterDraw .85s var(--ease) .55s forwards; }
}
@keyframes matterDraw { to { stroke-dashoffset: 0; } }
.hero__copy .lede { font-size: 20px; max-width: 430px; }
.hero__ctas { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.hero__cue { position: absolute; left: var(--pad); bottom: 32px; display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--muted); }
.hero__cue::before { content: ''; width: 40px; height: 1px; background: var(--muted); }

.stack { position: relative; width: 100%; aspect-ratio: 1 / 1.02; perspective: 1800px; }
.stack__shadow { position: absolute; left: 10%; top: 62%; width: 80%; height: 22%; border-radius: 50%; background: radial-gradient(closest-side, rgba(21, 20, 18, .18), rgba(21, 20, 18, 0)); pointer-events: none; }
.rig { position: absolute; left: 50%; top: 50%; width: 480px; height: 340px; transform-style: preserve-3d; }
.layer { position: absolute; inset: 0; transform-style: preserve-3d; }
.face { position: absolute; inset: 0; border-radius: 14px; overflow: hidden; }
.face--eng { background: var(--ink); padding: 0; box-shadow: 0 1px 0 #050504, 0 2px 0 #050504, 0 3px 0 #050504, 0 4px 0 #050504, 0 5px 0 #050504, 0 6px 0 #050504, 0 7px 0 #050504, 0 40px 70px rgba(21, 20, 18, .22); }
.face--ui { background: rgba(251, 248, 242, .10); border: 1px solid rgba(138, 47, 29, .6); padding: 24px; }
.face--content { background: var(--paper); box-shadow: 0 1px 0 #D9CFBE, 0 2px 0 #D9CFBE, 0 3px 0 #D9CFBE, 0 4px 0 #D9CFBE, 0 5px 0 #D9CFBE, 0 6px 0 #D9CFBE, 0 7px 0 #D9CFBE, 0 40px 70px rgba(21, 20, 18, .22); }
.face--content img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.loop-media { position: relative; }
.face--content .loop-media { height: 100%; }
.loop-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; display: none; }
.loop-media.is-playing video { display: block; }
.hero video[data-sequence-hidden="true"] { display: none; }
.face--eng { display: flex; flex-direction: column; }
.code-head { display: flex; align-items: center; gap: 12px; flex: none; padding: 9px 14px; background: var(--ink-2); border-bottom: 1px solid #2B2824; font-family: var(--mono); font-size: 9px; color: var(--muted-d); }
.code-dots { display: flex; gap: 5px; }
.code-head i { width: 6px; height: 6px; border-radius: 50%; background: #3A3630; display: block; }
.code-head i:first-child { background: var(--ox); }
.code-file { flex: 1; color: var(--ivory); opacity: .75; }
.code-lang { letter-spacing: .14em; font-size: .85em; }
.code-body { flex: 1; padding: 14px 26px 0 10px; counter-reset: ln; }
.code-line { width: max-content; white-space: pre; font-family: var(--mono); font-size: 8.5px; line-height: 1.75; color: var(--ivory); }
.code-body .code-line::before { counter-increment: ln; content: counter(ln); display: inline-block; width: 2.4em; margin-right: .6em; text-align: right; color: #55504A; }
.code-line .t { color: var(--ox-soft); } .code-line .a { color: var(--muted-d); } .code-line .s { color: #CDBFA6; }
.code-status { flex: none; display: flex; align-items: center; gap: .7em; padding: 7px 14px; border-top: 1px solid #2B2824; background: var(--ink-2); font: 8px var(--mono); color: var(--ivory); transition: opacity .5s var(--ease); }
.code-status .ok { color: #9DB08A; font-size: .8em; }
.code-url { margin-left: auto; color: var(--muted-d); }
.code-caret { position: absolute; left: 0; top: 0; width: .5em; height: 1.2em; background: var(--ox-soft); opacity: 0; pointer-events: none; font-size: 8.5px; }
.code-caret.is-on { animation: code-blink 1s steps(1) infinite; }
@keyframes code-blink { 0%, 55% { opacity: .9; } 56%, 100% { opacity: 0; } }
.wf { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.wf > div, .wf-col > div, .wf-art { border: 1.2px dashed var(--ox); border-radius: 4px; }
.wf-top { height: 18px; flex: none; }
.wf-body { flex-grow: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; border: 0 !important; }
.wf-col { display: flex; flex-direction: column; gap: 10px; justify-content: center; border: 0 !important; }
.wf-col .a { height: 58px; } .wf-col .b { height: 10px; } .wf-col .c { height: 10px; width: 70%; } .wf-col .d { height: 26px; width: 50%; border-radius: 13px; }
.wf-art { border-radius: 110px 110px 6px 6px !important; }
.tag { position: absolute; right: 14px; bottom: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--ox); }
.face--eng .tag { color: var(--ivory); }
.guide { position: absolute; width: 1px; height: 230px; background: rgba(138, 47, 29, .45); transform-origin: 0 0; transform: rotateX(90deg) scaleY(var(--g, 1)); }
.legend { position: absolute; left: 50%; bottom: 3%; transform: translateX(-50%); display: flex; gap: 28px; white-space: nowrap; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--muted); }
.legend b { color: var(--ox); font-weight: 400; margin-right: 8px; }

/* One continuous canvas, from pencil to a collection of finished sites. */
.hero .guide, .hero .legend { display: none; }
.hero .face--ui { padding: 0; background: var(--paper); border: 0; border-radius: 3px; }
.sequence-sketch { width: 100%; height: 100%; display: block; }
.sequence-sketch .sketch-line { stroke-dasharray: 1; stroke-dashoffset: 0; }
.sketch-tones { opacity: 0; }
.sequence-browser { position: absolute; inset: 0 0 auto; z-index: 2; height: 22px; display: flex; align-items: center; gap: 4px; padding: 0 10px; background: var(--ink-2); color: var(--muted-d); }
.sequence-browser i { width: 4px; height: 4px; border-radius: 50%; background: #5E5850; }
.sequence-browser span { margin-left: 8px; font: 7px var(--mono); }
.hero .face--eng { box-shadow: 0 20px 50px rgba(21, 20, 18, .1); }
.sequence-scan { position: absolute; left: -2%; right: -2%; top: 0; height: .9px; background: var(--ox); box-shadow: 0 0 10px rgba(138, 47, 29, .35); opacity: 0; pointer-events: none; transform: translate3d(0, calc(var(--scan, 0) * 340px), 8px); }
.sequence-rail { position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%); display: flex; gap: 40px; width: min(78vw, 1100px); padding-top: 17px; border-top: 1px solid var(--line); font: 11px var(--mono); color: var(--muted); }
.sequence-rail::before { content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: calc(var(--rail, 0) * 100%); background: var(--ox); }
.sequence-rail > * { flex: 1; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: color .4s var(--ease); }
.sequence-rail > :hover { color: var(--ink); }
.sequence-rail > :focus-visible { outline: 2px solid var(--ox); outline-offset: 6px; }
.sequence-tile { pointer-events: auto; }
.sequence-rail .is-active { color: var(--ox); }
.sequence-grid { pointer-events: none; position: absolute; width: min(100vw - 64px, 1640px); left: 50%; top: calc(50% - 2px); transform: translate(-50%, -50%); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sequence-tile { position: relative; display: block; aspect-ratio: 480 / 340; overflow: hidden; border-radius: 5px; background: var(--sand); opacity: 0; will-change: transform, opacity; }
.sequence-tile .loop-media { height: 100%; }
.sequence-tile img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.sequence-tile:first-child { background: transparent; }
.sequence-tile:first-child img { opacity: var(--grid-poster, 0); }
.sequence-tile--next { display: flex; align-items: center; justify-content: center; border: 1px dashed var(--ox); background: transparent; color: var(--ox); font: italic clamp(18px, 2vw, 30px) var(--disp); }
.sequence-caption { position: absolute; inset: auto 0 0; padding: 20px 12px 10px; background: linear-gradient(transparent, rgba(21, 20, 18, .82)); color: var(--ivory); font: 10px/1.5 var(--mono); opacity: 0; transition: opacity .2s var(--ease); pointer-events: none; }
.sequence-tile:focus .sequence-caption { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .sequence-tile:hover .sequence-caption { opacity: 1; }
}
@media (hover: none), (pointer: coarse) {
  .sequence-caption { opacity: 1; }
}
.sequence-tile:focus-visible { outline: 3px solid var(--ox); outline-offset: 4px; }
.sequence-mobile { display: none; }
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .hero[data-sequence-phase="1"] .layer--eng,
  .hero[data-sequence-phase="2"] .layer--eng { inset: auto 30px 30px auto; width: 246px; height: auto; }
  .hero[data-sequence-phase="1"] .face--eng,
  .hero[data-sequence-phase="2"] .face--eng { position: relative; inset: auto; border-radius: 6px; box-shadow: 0 24px 48px rgba(21, 20, 18, .24), 0 3px 8px rgba(21, 20, 18, .14); }
  .hero[data-sequence-phase="1"] .code-head,
  .hero[data-sequence-phase="2"] .code-head { padding: 7px 10px; gap: 7px; font-size: 5.8px; }
  .hero[data-sequence-phase="1"] .code-head i,
  .hero[data-sequence-phase="2"] .code-head i { width: 3.5px; height: 3.5px; }
  .hero[data-sequence-phase="1"] .code-body,
  .hero[data-sequence-phase="2"] .code-body { padding: 10px 14px 11px 4px; }
  .hero[data-sequence-phase="1"] .code-line,
  .hero[data-sequence-phase="2"] .code-line,
  .hero[data-sequence-phase="1"] .code-caret,
  .hero[data-sequence-phase="2"] .code-caret { font-size: 7.4px; line-height: 1.7; }
  .hero[data-sequence-phase="1"] .code-status,
  .hero[data-sequence-phase="2"] .code-status { padding: 6px 10px; font-size: 5.8px; }
  .hero[data-sequence-phase="1"] .face--content,
  .hero[data-sequence-phase="2"] .face--content,
  .hero[data-sequence-phase="3"] .face--content { border-radius: 3px; }
}

.frame { position: relative; border-radius: 14px; background: var(--ink); padding: 0 0 0; box-shadow: 0 50px 90px rgba(21, 20, 18, .20), 0 12px 24px rgba(21, 20, 18, .10); overflow: hidden; transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transition: transform 1s var(--ease); }
.frame__bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--ink-2); }
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: #3A3630; display: block; }
.frame__bar span { margin-left: 12px; font-family: var(--mono); font-size: 11px; color: var(--muted-d); }
.frame img { width: 100%; height: auto; aspect-ratio: 1440 / 900; object-fit: cover; object-position: 0 0; }

/* ------------------------------------------------------------ speed proof, people and FAQ */
/* Proof line: sits under the finished grid, in the stage rail's place. */
.speed-proof { position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%); width: min(78vw, 1100px); padding-top: 17px; border-top: 1px solid var(--line); font: 11px/1.6 var(--mono); color: var(--muted); opacity: 0; pointer-events: none; }
.speed-proof__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.speed-proof p { margin: 0; }
.speed-proof__claim { color: var(--ox); }
.team, .faq { padding: 120px 0; border-bottom: 1px solid var(--line); }
.team__grid, .faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.team__intro .lede { margin-top: 28px; max-width: 440px; }
.team__intro .fine { margin-top: 20px; }
.team__people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.person__portrait { aspect-ratio: 4 / 5; background: var(--sand); border-radius: 14px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.person__portrait .brand-mark { width: 48px; height: 48px; color: var(--muted); }
.person__portrait img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { margin: 20px 0 6px; font: 400 28px/1.1 var(--disp); }
.person p { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
.person .person__role { font: 400 11px/1.6 var(--mono); }
.faq__items { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; min-height: 64px; padding: 20px 32px 20px 0; position: relative; list-style: none; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 20px; color: var(--ox); font: 400 20px/1.2 var(--mono); }
.faq details[open] summary::after { content: '−'; }
.faq__answer p { margin: 0; padding: 0 32px 24px 0; max-width: 600px; font-size: 16px; color: var(--muted); }
.faq details[open] .faq__answer { animation: faqOpen .22s var(--ease); }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .team__grid, .faq__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .team, .faq { padding: 100px 0; }
  .team__people { max-width: 600px; }
}
@media (max-width: 600px) {
  .team__people { gap: 16px; }
  .person h3 { font-size: 24px; }
}

/* ------------------------------------------------------------ services */
.services { padding: 150px 0 120px; }
.services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 64px; }
.svc { display: flex; gap: 12px; height: 660px; perspective: 2200px; }
.svc-card { position: relative; flex: 1 1 0; min-width: 0; border-radius: 18px; overflow: hidden; background: #211F1C; color: var(--ivory); border: 1px solid rgba(243, 238, 229, .07); box-shadow: 0 16px 30px rgba(21, 20, 18, .12); transition: flex-grow .9s var(--ease), transform .9s var(--ease), background .6s, box-shadow .6s; }
.svc-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 180px; background: linear-gradient(180deg, rgba(243, 238, 229, .06), rgba(243, 238, 229, 0)); pointer-events: none; }
.svc-card.is-before { transform: rotateY(8deg) translateZ(-18px); }
.svc-card.is-after { transform: rotateY(-8deg) translateZ(-18px); }
.svc-card.is-open { flex-grow: 4.6; background: var(--ink); box-shadow: 0 40px 80px rgba(21, 20, 18, .28); transform: none; }
.svc-toggle { position: absolute; inset: 0; z-index: 1; width: 100%; border: 0; background: transparent; cursor: pointer; padding: 0; border-radius: 18px; }
.svc-card.is-open .svc-toggle { cursor: default; }
.svc-idx { position: absolute; left: 22px; top: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--muted-d); }
.svc-icon { position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%); color: #E9E2D6; opacity: .9; transition: opacity .35s .45s; }
.svc-name-v { position: absolute; left: 28px; bottom: 30px; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--disp); font-weight: 350; font-size: 38px; line-height: 1; white-space: nowrap; transition: opacity .35s .45s; }
.svc-open { position: absolute; left: 0; top: 0; bottom: 0; width: 680px; padding: 60px 44px 40px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .15s, transform .15s, visibility 0s .15s; }
.svc-card.is-open .svc-open { opacity: 1; visibility: visible; transform: none; transition: opacity .5s .55s, transform .7s .5s var(--ease), visibility 0s; }
.svc-card.is-open .svc-icon, .svc-card.is-open .svc-name-v { opacity: 0; transition: opacity .12s; }
.svc-open h3 { margin: 0; font-family: var(--disp); font-weight: 350; font-size: clamp(44px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.02em; }
.svc-open p { margin: 14px 0 0; color: #C9C2B6; font-size: 18px; max-width: 440px; }
.svc-start { position: relative; z-index: 2; align-self: flex-start; margin-top: 16px; font-size: 14px; color: var(--ivory); border-bottom: 1px solid var(--ox-soft); padding-bottom: 3px; }
.svc-start:hover { color: var(--ox-soft); }
.svc-big { position: absolute; right: 40px; top: 56px; color: var(--ox-soft); }
.svc-mini { margin-top: auto; width: 528px; height: 360px; max-width: 100%; position: relative; }
.svc-mini > div { width: 440px; height: 300px; transform: scale(1.2); transform-origin: 0 0; }

/* ------------------------------------------------------------ process */
.process { position: relative; height: 260vh; background: var(--ink); color: var(--ivory); }
.process__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.process__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.process .eyebrow { color: var(--muted-d); }
.process .h2 em { font-weight: 300; color: var(--ox-soft); }
.steps { position: relative; display: flex; flex-direction: column; gap: 44px; padding-left: 40px; }
.steps__line { position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--line-d); }
.steps__line i { position: absolute; left: 0; top: 0; width: 1px; height: 0; background: var(--ox-soft); }
.step { opacity: .28; transition: opacity .6s var(--ease), transform .6s var(--ease); transform: translateX(0); }
.step.is-on { opacity: 1; transform: translateX(8px); }
.step__n { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--ox-soft); }
.step h3 { margin: 8px 0 8px; font-family: var(--disp); font-weight: 350; font-size: clamp(30px, 2.8vw, 42px); line-height: 1.05; }
.step p { margin: 0; color: #C9C2B6; max-width: 440px; }

/* ------------------------------------------------------------ reviews */
.reviews { padding: 150px 0 130px; border-bottom: 1px solid var(--line); overflow: hidden; }
.review-stage { display: grid; margin: 34px 0 44px; }
.review-slide { grid-area: 1 / 1; margin: 0; max-width: 1060px; visibility: hidden; }
.review-slide.is-on { visibility: visible; }
.review-slide blockquote { margin: 0 0 30px; font-family: var(--disp); font-weight: 300; font-style: italic; font-size: clamp(30px, 4vw, 56px); line-height: 1.14; letter-spacing: -0.015em; }
.review-slide .w { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(8px); }
.review-slide.is-on .w { animation: wordIn .8s var(--ease) both; animation-delay: calc(var(--i) * 26ms); }
.review-slide.is-out { visibility: visible; }
.review-slide.is-out .w { animation: wordOut .45s var(--ease) both; animation-delay: calc(var(--i) * 6ms); }
.review-slide figcaption { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 15px; opacity: 0; transform: translateY(10px); transition: opacity .2s, transform .2s; }
.review-slide.is-on figcaption { opacity: 1; transform: none; transition: opacity .6s .5s, transform .6s .5s var(--ease); }
.review-slide figcaption b { font-weight: 600; }
.review-slide figcaption span { color: var(--muted); }
.sample { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
@keyframes wordIn { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes wordOut { from { opacity: 1; transform: none; filter: blur(0); } to { opacity: 0; transform: translateY(-.35em); filter: blur(6px); } }
.review-ctrl { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-top: 22px; }
.review-index { list-style: none; margin: 0; padding: 0; display: flex; gap: 36px; flex-wrap: wrap; }
.review-index button { position: relative; display: flex; gap: 10px; align-items: baseline; padding: 0 0 12px; border: 0; background: none; cursor: pointer; font-size: 15px; color: var(--muted); transition: color .3s; }
.review-index button span { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.review-index button i { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--ox); }
.review-index button[aria-current="true"] { color: var(--ink); }
.review-index button[aria-current="true"] span { color: var(--ox); }
.review-pause { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.review-pause span { width: 10px; height: 12px; border-left: 3px solid var(--ink); border-right: 3px solid var(--ink); }
.review-pause[aria-pressed="true"] span { width: 0; height: 0; border-left: 10px solid var(--ink); border-right: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }

/* ------------------------------------------------------------ start (pricing + form) */
.start { padding: 130px 0 120px; }
.start__inner { will-change: transform, opacity; }
.start__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.start__intro { display: flex; flex-direction: column; gap: 16px; }
.form-note summary, .thanks summary { cursor: pointer; min-height: 44px; padding-block: 10px; font-size: 14px; }
.form-note summary > span { color: var(--muted); }
.form-note__fields { display: flex; flex-direction: column; gap: 16px; padding-top: 12px; }
.start__grid.is-thanks { display: block; }
.start.is-complete { height: auto; padding: 130px 0 120px; }
.start.is-complete .start__sticky { position: static; height: auto; padding-top: 0; display: block; }
.start__grid.is-thanks > .start__intro, .start__grid.is-thanks > .form { display: none; }
.thanks { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 30px 70px rgba(21, 20, 18, .07); }
.thanks[hidden] { display: none; }
.thanks__head { display: flex; flex-direction: column; gap: 16px; }
.thanks__head .eyebrow { margin: 0; color: var(--ox); }
.thanks__parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; margin-top: 32px; }
.thanks__parts section { border-top: 1px solid var(--line); padding-top: 16px; }
.thanks h3 { margin: 0 0 12px; font: 400 28px/1.1 var(--disp); }
.thanks p, .thanks ol { margin: 0; color: var(--muted); font-size: 16px; }
.thanks ol { padding-left: 20px; }
.thanks li + li { margin-top: 8px; }
.thanks details + details { border-top: 1px solid var(--line); }
.thanks details p { padding: 0 0 12px; }
@media (max-width: 600px) { .thanks__parts { grid-template-columns: minmax(0, 1fr); } }
.start .h2 { font-size: clamp(40px, 4.6vw, 68px); }
.start .lede { font-size: 17px; }
.plans { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.plan { display: grid; grid-template-columns: 1fr auto; gap: 2px 18px; text-align: left; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line); background: transparent; cursor: pointer; transition: background .3s, border-color .3s, color .3s; }
.plan:hover { border-color: var(--ink); }
.plan[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.plan strong { font-family: var(--disp); font-weight: 400; font-size: 21px; }
.plan .price { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; align-self: center; }
.plan small { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); }
.plan[aria-pressed="true"] small { color: var(--muted-d); }
.addons, .fine { margin: 0; font-size: 13px; color: var(--muted); }
.lede + .fine { margin-top: 18px; font-size: 14px; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 30px 70px rgba(21, 20, 18, .07); }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend, .form label:not(.chip) > span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; transition: background .25s, color .25s, border-color .25s; }
.chip input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--ox); outline-offset: 3px; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form input[type=text], .form input[type=email], .form select, .form textarea { width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 15px; color: var(--ink); transition: border-color .25s, box-shadow .25s; }
.form textarea { min-height: 76px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(138, 47, 29, .15); }
.form [aria-invalid="true"] { border-color: var(--ox); }
.form__send { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form .btn { min-height: 48px; align-self: flex-start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 0; font-size: 14px; padding: 12px 14px; border-radius: 10px; }
.status[hidden] { display: none; }
.status.ok { background: #E7EEE4; color: #2E4A2A; }
.status.err { background: #F4E4DF; color: #6E2415; }
@media (min-width: 1081px) and (min-height: 740px) and (prefers-reduced-motion: no-preference) {
  .services { height: 480vh; padding: 0; }
  .services__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding-top: 76px; }
  .services__sticky > .wrap { width: 100%; }
  .services__head { margin-bottom: 36px; }
  .services .h2 { font-size: clamp(44px, 5.4vw, 80px); }
  .svc { height: min(660px, calc(100svh - 270px)); will-change: transform, opacity; }
  .reviews { height: 190vh; padding: 0; border-bottom: 0; overflow: visible; }
  .reviews__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding-top: 76px; }
  .reviews__sticky > .wrap { width: 100%; }
  .review { will-change: transform, opacity; }
  .start { height: 190vh; padding: 0; }
  .start__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding-top: 76px; }
  .start__sticky > .wrap { width: 100%; }
  /* Team and FAQ pin like Start, but top-aligned: the heading never moves while the right column arrives.
     The 90vh spacer is the pinned hold, so it stays the same length however many answers are open. */
  .team, .faq { padding: 0; }
  .team::after, .faq::after { content: ""; display: block; height: 90vh; }
  .team__sticky { position: sticky; top: 0; min-height: 100vh; min-height: 100svh; padding: clamp(150px, 22vh, 220px) 0 80px; }
  /* FAQ keeps its original centred list; the heading is anchored where the closed list starts, so opening answers never moves it. */
  .faq__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; padding-top: 76px; display: flex; }
  .faq__sticky > .wrap { width: 100%; }
  .faq__grid { height: 100%; }
  .faq .h2 { align-self: start; margin-top: calc((100svh - 76px - 414px) / 2); }
  .faq__items { align-self: safe center; }
}

/* ------------------------------------------------------------ footer */
.footer { position: relative; background: var(--ink); color: var(--ivory); padding: 130px 0 40px; overflow: hidden; }
.footer .eyebrow { color: var(--muted-d); }
.footer__top { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.footer__big { margin: 0; font-family: var(--disp); font-weight: 300; font-size: clamp(52px, 7.6vw, 120px); line-height: .95; letter-spacing: -0.04em; }
.footer__big em { color: var(--ox-soft); }
.footer__actions { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 12px; }
.footer__mail { font-family: var(--disp); font-size: 22px; border-bottom: 1px solid var(--ox-soft); padding-bottom: 2px; transition: color .25s; }
.footer__mail:hover { color: var(--ox-soft); }
.footer__cols { margin-top: 110px; padding-top: 44px; border-top: 1px solid var(--line-d); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer__cols h3 { margin: 0 0 16px; font-weight: 500; font-size: 14px; color: var(--muted-d); }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__cols a { color: #D9D2C6; font-size: 15px; transition: color .25s; }
.footer__cols a:hover { color: var(--ox-soft); }
.footer__bottom { margin-top: 64px; padding: 24px 0 0; border-top: 1px solid var(--line-d); display: flex; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; font-size: 13px; color: var(--muted-d); }
.footer__bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--ivory); }

/* ------------------------------------------------------------ live chat */
.chat-launch { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(251, 248, 242, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 14px 34px rgba(21, 20, 18, .14); cursor: pointer; font-size: 14px; font-weight: 500; transition: transform .4s var(--ease), opacity .3s; }
.chat-launch:hover { transform: translateY(-2px); }
.chat-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #3F8F5A; }
.chat-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #3F8F5A; animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }
.chat-open .chat-launch { opacity: 0; pointer-events: none; }
.chat-backdrop { position: fixed; inset: 0; z-index: 61; background: rgba(21, 20, 18, .18); opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; border: 0; padding: 0; }
.chat-open .chat-backdrop { opacity: 1; visibility: visible; transition: opacity .35s; }
.chat { position: fixed; right: 16px; bottom: 16px; top: 16px; z-index: 62; width: min(420px, calc(100vw - 32px)); display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 40px 90px rgba(21, 20, 18, .25); overflow: hidden; transform: translateX(calc(100% + 32px)); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; }
.chat-open .chat { transform: none; visibility: visible; transition: transform .5s var(--ease); }
.chat__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.chat__who { display: flex; align-items: center; gap: 12px; }
.chat__avatar { position: relative; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.chat__avatar i { width: 11px; height: 11px; background: var(--ox); display: block; }
.chat__avatar .chat-dot { position: absolute; right: -1px; bottom: -1px; border: 2px solid var(--paper); width: 12px; height: 12px; }
.chat__avatar .chat-dot::after { display: none; }
.chat__who b { display: block; font-size: 15px; }
.chat__who span { font-size: 12px; color: var(--muted); }
.chat__close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 20px; line-height: 1; }
.chat__log { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 86%; padding: 12px 15px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; animation: rise .45s var(--ease) both; }
.msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg--me { align-self: flex-end; background: var(--ink); color: var(--ivory); border-bottom-right-radius: 5px; }
.msg--warn { align-self: stretch; max-width: none; background: #F4E4DF; color: #6E2415; }
.msg--ok { align-self: stretch; max-width: none; background: #E7EEE4; color: #2E4A2A; }
.quick { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.quick button { display: flex; justify-content: space-between; align-items: center; min-height: 46px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 14px; text-align: left; transition: border-color .25s, transform .25s var(--ease); }
.quick button:hover { border-color: var(--ink); transform: translateX(3px); }
.quick button span { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.chat__form { border-top: 1px solid var(--line); padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 8px; background: var(--ivory); }
.chat__form .row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.chat__form input[type=text], .chat__form input[type=email], .chat__form textarea { width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 15px; color: var(--ink); }
.chat__form textarea { min-height: 64px; resize: none; }
.chat__form input:focus, .chat__form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(138, 47, 29, .15); }
.chat__actions { display: flex; gap: 8px; align-items: center; }
.chat__attach { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 14px; cursor: pointer; white-space: nowrap; }
.chat__attach input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chat__attach:focus-within { outline: 2px solid var(--ox); outline-offset: 2px; }
.chat__file { font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.chat__file[hidden] { display: none; }
.chat__file button { border: 0; background: none; cursor: pointer; font-size: 16px; color: var(--muted); }
.chat__send { flex: 1; min-height: 44px; }
.chat__foot { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); padding: 0 2px; }

/* ------------------------------------------------------------ reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav { display: block; position: fixed; inset: 76px 0 auto; z-index: 49; background: var(--ivory); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 28px; transform: translateY(-110%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; }
  .menu-open .mobile-nav { transform: none; visibility: visible; transition: transform .45s var(--ease); }
  .mobile-nav a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--disp); font-size: 28px; }
  .mobile-nav .btn { margin-top: 20px; width: 100%; }

  .svc { flex-direction: column; height: auto; perspective: none; }
  .svc-card, .svc-card.is-before, .svc-card.is-after { transform: none; flex: none; min-height: 76px; }
  .svc-card.is-open { flex: none; }
  .svc-toggle { position: relative; height: 76px; display: block; }
  .svc-idx { top: 28px; }
  .svc-icon { left: auto; right: 16px; top: 38px; transform: translateY(-50%) scale(.46); transform-origin: right center; }
  .svc-name-v { writing-mode: horizontal-tb; transform: none; left: 70px; top: 22px; bottom: auto; font-size: 28px; pointer-events: none; }
  .svc-card.is-open .svc-icon, .svc-card.is-open .svc-name-v { opacity: 1; }
  .svc-open { position: relative; inset: auto; width: auto; padding: 0 22px 24px; display: none; transform: none; }
  .svc-card.is-open .svc-open { display: flex; }
  .svc-open h3, .svc-big { display: none; }
  .svc-open p { margin-top: 0; font-size: 16px; }
  .svc-mini { margin-top: 20px; width: 100%; height: auto; aspect-ratio: 440 / 300; overflow: hidden; }
  .svc-mini > div { transform: scale(var(--k, .7)); }

  .start__grid, .process__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}

@media (max-width: 900px) {
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; margin-top: 72px; }
  .footer__actions { flex-direction: column; gap: 18px; }
  .footer__mail { font-size: 19px; }
  .review-index { gap: 18px; }
  .chat-launch { right: 16px; bottom: 16px; }
  .hero { height: 200vh; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero__stage { order: -1; height: 44svh; margin-top: 64px; }
  .stack { height: 100%; aspect-ratio: auto; }
  .hero__copy { padding-top: 0; gap: 18px; }
  .hero h1 { font-size: clamp(42px, 11.4vw, 64px); }
  .hero__copy .lede { font-size: 17px; }
  .hero__cue { display: none; }
  .legend { gap: 14px; font-size: 9px; bottom: 0; }

  .frame { transform: none; }

  .process { height: auto; }
  .process__sticky { position: relative; height: auto; padding: 110px 0; }
  .step { opacity: 1; transform: none; }

  .services, .reviews, .start { padding: 100px 0; }
  .services__head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  .row { grid-template-columns: minmax(0, 1fr); }
  .form .btn { width: 100%; }
}

/* Reduced motion: no pinning, final compositions, no transitions. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero, .process { height: auto; }
  .hero__sticky { position: relative; height: auto; min-height: 100svh; padding: 110px 0 60px; }
  .process__sticky { position: relative; height: auto; padding: 110px 0; }
  .step { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; }
  .review-slide .w, .review-slide figcaption { opacity: 1; transform: none; filter: none; }
  .loop-media video { display: none !important; }
}

@media (max-width: 1023px), (prefers-reduced-motion: reduce) {
  .hero { height: auto; display: flex; flex-direction: column; padding-bottom: 60px; }
  .hero__sticky { position: relative; display: contents; }
  .hero__glow { display: none; }
  .hero__grid { order: 0; padding-top: 90px; padding-bottom: 48px; min-height: 90svh; }
  .hero__stage { height: 38svh; }
  .hero__copy { opacity: 1 !important; transform: none !important; }
  .sequence-mobile { order: 1; display: grid; gap: 32px; width: min(100% - 40px, 760px); margin: 0 auto; }
  .sequence-step p { margin: 0 0 12px; font: 11px var(--mono); color: var(--ox); }
  .sequence-step__frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); }
  .sequence-step__frame > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
  .sequence-step__frame .face--eng { border-radius: 4px; box-shadow: none; }
  .sequence-step__frame .code-head, .sequence-step__frame .code-status { padding: 5px 10px; font-size: clamp(5px, 1.3vw, 9px); }
  .sequence-step__frame .code-body { padding: 8px 10px 0 2px; }
  .sequence-step__frame .code-line { font-size: clamp(6.5px, 1.95vw, 12px); line-height: 1.45; }
  .sequence-rail::before { display: none; }
  .sequence-rail { position: relative; order: 2; left: auto; bottom: auto; transform: none; width: min(100% - 40px, 760px); margin: 32px auto 12px; padding: 0; border: 0; }
  .sequence-rail > * { display: none; }
  .sequence-rail > :last-child { display: block; color: var(--ox); pointer-events: none; }
  .sequence-grid { position: relative; order: 3; left: auto; top: auto; transform: none; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100% - 40px, 760px); gap: 12px; margin: 0 auto; }
  .sequence-tile { opacity: 1 !important; transform: none !important; }
  .speed-proof { position: relative; order: 4; left: auto; bottom: auto; transform: none; width: min(100% - 40px, 760px); margin: 20px auto 0; opacity: 1; }
  .sequence-tile:first-child img { opacity: 1; }
  .sequence-tile:not(.sequence-tile--next) { aspect-ratio: auto; }
  .sequence-tile .loop-media { height: auto; aspect-ratio: 480 / 340; }
  .sequence-caption { position: relative; display: block; padding: 8px 9px; background: var(--sand); color: var(--ink); opacity: 1; font-size: 9px; }
  .sequence-tile--next { font-size: 22px; }
  .sequence-step:not(.is-entered) .sketch-line { stroke-dashoffset: 1; }
  .sequence-step.is-entered .sketch-line { animation: sequence-draw 1.4s var(--ease) both; }
  .sequence-step .code-line { clip-path: inset(0 100% 0 0); }
  .sequence-step .code-caret { display: none; }
  .sequence-step.is-entered .code-line { animation: sequence-type .3s linear both; animation-delay: calc(var(--line-index) * .055s); }
  .sequence-step[data-sequence-step="2"] img { clip-path: inset(0 0 100% 0); }
  .sequence-step.is-entered img { animation: sequence-wipe 1.3s var(--ease) both; }
}
@keyframes sequence-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes sequence-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes sequence-wipe { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) {
  .sequence-step .sketch-line { stroke-dashoffset: 0 !important; }
  .sequence-step .code-line, .sequence-step img { clip-path: none !important; }
  .sequence-step .sketch-tones { opacity: 1; }
}

/* Mini service examples (shared with the design canvas) */
@keyframes cxTravel { 0% { top: 6px; opacity: 0 } 10% { opacity: 1 } 80% { top: calc(100% - 18px); opacity: 1 } 100% { top: calc(100% - 18px); opacity: 0 } }
@keyframes cxBlink { 0%, 80%, 100% { opacity: .25 } 40% { opacity: 1 } }
.svc-idx, .svc-icon, .svc-name-v, .svc-big, .svc-mini { pointer-events: none; }

/* Short desktop screens: keep the open service example inside its card */
@media (min-width: 1081px) and (max-height: 960px) {
  .svc-mini { width: 440px; height: 300px; }
  .svc-mini > div { transform: none; }
  .svc-open { padding-top: 48px; }
}

/* ------------------------------------------------------------ sub-pages */
.page-hero { padding: 190px 0 80px; }
.page-hero h1 { margin: 0; font-family: var(--disp); font-weight: 350; font-size: clamp(56px, 8.4vw, 128px); line-height: .95; letter-spacing: -0.035em; }
.page-hero .lede { margin-top: 26px; font-size: 20px; max-width: 580px; }
.points { display: grid; gap: 48px 64px; padding: 64px 0 120px; border-top: 1px solid var(--line); }
.points--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.points--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.point h2 { margin: 0 0 12px; font-family: var(--disp); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; }
.point p { margin: 0; color: var(--muted); max-width: 460px; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-top: 80px; padding-bottom: 130px; border-top: 1px solid var(--line); }
.cta-band h2 { margin: 0; font-family: var(--disp); font-weight: 350; font-size: clamp(36px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.025em; }
.cta-band__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.prose { max-width: 720px; padding: 56px 0 140px; border-top: 1px solid var(--line); }
.prose h2 { margin: 44px 0 12px; font-family: var(--disp); font-weight: 400; font-size: 30px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 16px; color: var(--muted); font-size: 18px; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px 48px; padding: 56px 0 130px; border-top: 1px solid var(--line); }
.work-card .frame { transform: none; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.work-card a:hover .frame { transform: translateY(-6px); box-shadow: 0 60px 100px rgba(21, 20, 18, .24), 0 12px 24px rgba(21, 20, 18, .10); }
.work-card__meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 22px; }
.work-card__meta h2 { margin: 0; font-family: var(--disp); font-weight: 400; font-size: 32px; line-height: 1.05; }
.work-card__meta p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.notes { padding: 0 0 120px; }
.note { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 36px 0; border-top: 1px solid var(--line); }
.note:last-child { border-bottom: 1px solid var(--line); }
.note h2 { margin: 0 0 8px; font-family: var(--disp); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; }
.note p { margin: 0; color: var(--muted); max-width: 620px; }
.note__tag { flex: none; font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.start.start--page { height: auto !important; padding: 170px 0 130px !important; }
.start--page .start__sticky { position: static !important; height: auto !important; padding-top: 0 !important; display: block !important; }
.start--page .h2 { margin: 0; }
.nav a[aria-current="page"]::after { right: 0; }
@media (max-width: 900px) {
  .page-hero { padding: 140px 0 56px; }
  .points--3, .points--2, .work-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .note { flex-direction: column; gap: 14px; }
  .work-card__meta { flex-direction: column; align-items: flex-start; }
  .start.start--page { padding: 130px 0 100px !important; }
}
