/* Painted Sites, v3 "Ink & Bloom"
   Palette: porcelain + ink, with ember, cobalt, butter and blush accents.
   Shape rule: buttons are pills, cards 22px, images and inputs 14px. */

:root {
  --paper: #f4f4f1;
  --paper-2: #ebebe6;
  --card: #fbfbf9;
  --ink: #101114;
  --ink-2: #1c1e23;
  --muted: #4b4e56;
  --faint: #666970;
  --line: rgb(16 17 20 / .12);
  --line-2: rgb(16 17 20 / .2);

  --ember: #d63c23;
  --ember-soft: #f6d3cb;
  --cobalt: #3047c9;
  --cobalt-soft: #dfe3fb;
  --butter: #f2cf6b;
  --butter-deep: #b88a12;
  --blush: #f2bdb0;
  --blush-deep: #c2604c;

  --r-card: 22px;
  --r-media: 14px;

  --display: "Cabinet Grotesk", system-ui, sans-serif;
  --body: "Satoshi", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
main { overflow-x: clip; }
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -.02em; }
::selection { background: var(--butter); color: var(--ink); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 40px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: 99px; }
.skip:focus { left: 8px; }
.c-ember { color: var(--ember); }

/* ---------- Type ---------- */
.h1 { font-size: clamp(56px, 8.6vw, 140px); line-height: .9; letter-spacing: -.045em; }
.h2 { font-size: clamp(38px, 5vw, 72px); line-height: .96; letter-spacing: -.035em; }
.lede { margin-top: 20px; max-width: 52ch; font-size: 20px; line-height: 1.5; color: var(--muted); }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; }

/* ---------- Buttons & links ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: 50px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 16px/1 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn .ph { font-size: 1.05em; transition: transform .4s var(--ease); }
.btn:hover .ph-arrow-right { transform: translateX(4px); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn--lg { height: 58px; padding: 0 30px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--ink { background: linear-gradient(var(--ember), var(--ember)) left / 0% 100% no-repeat, var(--ink); color: var(--paper); transition: background-size .55s var(--ease), color .3s, border-color .3s; }
.btn--ink:hover { background-size: 100% 100%, auto; }
.btn--ember { background: var(--ember); color: #fff8f6; }
.btn--ember:hover { background: var(--ink); }
.btn--line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.btn--paper { background: linear-gradient(var(--butter), var(--butter)) left / 0% 100% no-repeat, var(--paper); color: var(--ink); transition: background-size .55s var(--ease); }
.btn--paper:hover { background-size: 100% 100%, auto; }
.btn--butter { background: var(--butter); color: var(--ink); }
.btn--butter:hover { background: var(--paper); }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; padding-bottom: 4px; background: linear-gradient(var(--ink), var(--ink)) left bottom / 100% 1.5px no-repeat; transition: background-size .5s var(--ease); }
.link:hover { background-size: 0 1.5px; background-position: right bottom; }
.link .ph { transition: transform .4s var(--ease); }
.link:hover .ph { transform: translateX(4px); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background-color .4s, box-shadow .4s, transform .5s var(--ease); }
.nav.is-scrolled { background: rgb(244 244 241 / .82); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 34px; height: 34px; flex-shrink: 0; overflow: visible; }
.mark__s { stroke-dasharray: 1; stroke-dashoffset: 0; }
.brand:hover .mark__s { animation: repaint .9s var(--ease) both; }
.brand:hover .mark__s2 { animation-delay: .08s; }
.brand:hover .mark__s3 { animation-delay: .16s; }
@keyframes repaint { 0% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 0; } }
.brand__name { font: 800 21px/1 var(--display); letter-spacing: -.025em; }
.brand--light .nav__links { display: flex; gap: 6px; margin-left: auto; padding: 5px; border-radius: 99px; background: rgb(16 17 20 / .05); }
.nav__links a { padding: 9px 16px; border-radius: 99px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .25s, background-color .25s; }
.nav__links a:hover { color: var(--ink); }
.nav__login { display: inline-flex; align-items: center; gap: 6px; margin-left: -16px; font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; transition: color .25s; }
.nav__login i { font-size: 19px; }
.nav__login:hover { color: var(--ink); }
.nav__links a[aria-current="page"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgb(16 17 20 / .08); }
.nav__toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-2); background: none; color: var(--ink); font-size: 20px; cursor: pointer; }
.mobile-menu { display: grid; gap: 2px; padding: 8px 20px 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 14px 0; text-decoration: none; font: 800 28px/1.1 var(--display); letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
.mobile-menu a[aria-current="page"] { color: var(--ember); }
.mobile-menu .btn { margin-top: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 56px) 0 96px; margin-top: calc(var(--nav-h) * -1); overflow: hidden; }
.hero__glow { position: absolute; inset: 0; pointer-events: none; }
.g { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.g--butter { width: 46vw; height: 46vw; right: -8vw; top: -14vw; background: var(--butter); }
.g--blush { width: 34vw; height: 34vw; right: 22vw; top: 18vw; background: var(--blush); opacity: .5; }
.g--cobalt { width: 26vw; height: 26vw; right: -6vw; top: 26vw; background: var(--cobalt); opacity: .18; }
@media (prefers-reduced-motion: no-preference) {
  .g--butter { animation: drift 18s ease-in-out infinite alternate; }
  .g--blush { animation: drift 22s ease-in-out -6s infinite alternate-reverse; }
  .g--cobalt { animation: drift 26s ease-in-out -3s infinite alternate; }
}
@keyframes drift { to { transform: translate(-4vw, 3vw) scale(1.08); } }

.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; min-height: calc(100dvh - var(--nav-h) - 160px); }
.hero__title { font-size: clamp(52px, 6.6vw, 108px); line-height: .92; letter-spacing: -.045em; }
.hero__line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__line > span { display: inline-block; }
.hero__line--rotate { color: var(--ember); }
.hero__line > .rotator { position: relative; display: inline-grid; isolation: isolate; }
.hero__line--rotate { padding-bottom: .22em; margin-bottom: -.22em; }
.hero__line > .rotator::after { content: ""; position: absolute; z-index: -1; left: -3%; right: -3%; bottom: -.14em; height: .3em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 40' preserveAspectRatio='none'%3E%3Cpath d='M8 24c58-12 126 9 194-3 64-11 126-9 190 3' fill='none' stroke='%23f2cf6b' stroke-width='22' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
@media (prefers-reduced-motion: no-preference) {
  .hero__line > .rotator.paint::after { clip-path: inset(0 100% 0 0); animation: brush 1.1s var(--ease) .5s forwards; }
}
@keyframes brush { to { clip-path: inset(0 0 0 0); } }
.hero__copy { min-width: 0; position: relative; z-index: 4; }
.picks { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.picks__label { margin-right: 4px; font-size: 15px; color: var(--muted); }
.pick { min-height: 40px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: rgb(255 255 255 / .55); color: var(--ink); font: 700 15px/1 var(--body); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.pick:hover { border-color: var(--ink); }
.pick[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.hero__stage { position: absolute; inset: -16% -24% -18% -24%; z-index: 3; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__stage canvas { display: block; width: 100%; height: 100%; }
.is-3d .hero__stage { opacity: 1; }
.is-3d .hcard { pointer-events: none; }
.hero__caption { position: absolute; left: 0; bottom: -12px; z-index: 5; margin: 0; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .5s, transform .6s var(--ease); }
.hero__caption.is-on { opacity: 1; transform: none; pointer-events: auto; }
.hero__caption a { display: grid; gap: 4px; padding: 14px 20px; border-radius: 18px; background: var(--card, #fff); color: var(--ink); text-decoration: none; box-shadow: 0 18px 40px -18px rgb(16 17 20 / .35), 0 0 0 1px rgb(16 17 20 / .06); }
.hero__caption strong { font: 800 19px/1.1 var(--display); letter-spacing: -.02em; }
.hero__caption span { font-size: 14px; color: var(--muted); }
.hero__caption a:hover strong { color: var(--ember); }
.rotator__word { grid-area: 1 / 1; white-space: nowrap; transform: translateY(105%); opacity: 0; }
.rotator__word.is-on { transform: none; opacity: 1; }
.js-motion .rotator__word { transform: none; }
.hero__sub { margin-top: 32px; max-width: 34ch; font-size: 21px; line-height: 1.5; color: var(--muted); }
.hero__ctas { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }

.hero__visual { position: relative; height: min(600px, 62vh); }
.hcard { position: absolute; margin: 0; border-radius: var(--r-card); overflow: hidden; box-shadow: 0 30px 60px -20px rgb(16 17 20 / .35), 0 0 0 1px rgb(16 17 20 / .06); will-change: transform; }
.hcard img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hcard { transition: scale .7s var(--ease), rotate .7s var(--ease), filter .7s; }
.hcard.is-front { z-index: 4; scale: 1.08; rotate: 0deg; }
.hero[data-focused] .hcard[data-site]:not(.is-front) { filter: saturate(.45) brightness(.94); }
.hcard--a { width: 78%; aspect-ratio: 16 / 10; left: 0; top: 4%; rotate: -5deg; }
.hcard--b { width: 72%; aspect-ratio: 16 / 10; right: 0; bottom: 6%; rotate: 4deg; }
.hcard--c { width: 58%; aspect-ratio: 16 / 10; right: -9%; top: 26%; rotate: 10deg; }
.hcard--d { width: 52%; aspect-ratio: 16 / 10; left: -12%; top: 40%; rotate: -8deg; }
.hcard--logo { right: 5%; top: -2%; width: 118px; padding: 0; background: none; box-shadow: none; overflow: visible; rotate: 8deg; }
.hcard--logo .mark { width: 100%; height: auto; display: block; filter: drop-shadow(0 22px 30px rgb(16 17 20 / .35)); }
.badge { position: absolute; left: -2%; bottom: 0; width: 132px; height: 132px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; will-change: transform; }
.badge svg { position: absolute; inset: 6px; width: calc(100% - 12px); fill: currentColor; font: 700 10.5px var(--body); letter-spacing: .12em; text-transform: uppercase; }
.badge .ph { font-size: 30px; color: var(--butter); }
@media (prefers-reduced-motion: no-preference) { .badge svg { animation: spin 16s linear infinite; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 28px 0; border-block: 1px solid var(--line); background: var(--card); }
.marquee__track { display: flex; width: max-content; }
.marquee__set { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.marquee__set span { font: 700 clamp(22px, 2.4vw, 34px)/1 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.m { width: 34px; height: 11px; flex-shrink: 0; border-radius: 60% 40% 55% 45% / 70% 60% 40% 30%; rotate: -8deg; }
.m--ember { background: var(--ember); }
.m--cobalt { background: var(--cobalt); rotate: 6deg; }
.m--butter { background: var(--butter); }
.m--blush { background: var(--blush); rotate: 4deg; }
@media (prefers-reduced-motion: no-preference) { .marquee__track { animation: marquee 38s linear infinite; } .marquee:hover .marquee__track { animation-play-state: paused; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 140px 0; }
.section--tight { padding-top: 40px; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }
.head--stack { display: block; }

/* Work stack */
.stack { display: grid; gap: 28px; }
.scard {
  position: sticky; top: calc(var(--nav-h) + 24px);
  display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center;
  min-height: 520px; padding: 48px; border-radius: 32px; overflow: hidden;
  transform-origin: 50% 0;
}
.scard:nth-child(2) { top: calc(var(--nav-h) + 44px); }
.scard:nth-child(3) { top: calc(var(--nav-h) + 64px); }
.scard:nth-child(4) { top: calc(var(--nav-h) + 84px); }
.scard:nth-child(5) { top: calc(var(--nav-h) + 104px); }
.scard--cobalt { background: var(--cobalt); color: #f3f4ff; }
.scard--ink { background: var(--ink); color: var(--paper); }
.scard--ember { background: var(--ember); color: #fff6f3; }
.scard--blush { background: var(--blush); color: var(--ink); }
.scard--butter { background: var(--butter); color: var(--ink); }
.scard__type { font-size: 15px; font-weight: 500; opacity: .9; }
.scard__name { margin-top: 12px; font-size: clamp(40px, 4.6vw, 68px); line-height: .95; letter-spacing: -.04em; }
.scard__desc { margin-top: 18px; max-width: 38ch; font-size: 18px; opacity: .85; }
.scard .btn { margin-top: 32px; }
.scard__shot { border-radius: var(--r-media); overflow: hidden; box-shadow: 0 30px 60px -24px rgb(0 0 0 / .5); rotate: 2deg; transition: rotate .8s var(--ease), scale .8s var(--ease); }
.scard:hover .scard__shot { rotate: 0deg; scale: 1.02; }
.scard__shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.scard__orb { position: relative; height: 340px; }
.scard__orb i { position: absolute; border-radius: 50%; }
.scard__orb i:nth-child(1) { width: 260px; height: 260px; right: 18%; top: 10%; background: var(--butter); }
.scard__orb i:nth-child(2) { width: 160px; height: 160px; right: 4%; bottom: 0; background: var(--ink); border-radius: 36px; }
.scard__orb i:nth-child(3) { width: 110px; height: 110px; right: 46%; bottom: 6%; background: var(--blush); }
@media (prefers-reduced-motion: no-preference) {
  .scard__orb i:nth-child(1) { animation: bob 7s ease-in-out infinite; }
  .scard__orb i:nth-child(2) { animation: bob 9s ease-in-out -2s infinite reverse; }
  .scard__orb i:nth-child(3) { animation: bob 6s ease-in-out -4s infinite; }
}
@keyframes bob { 50% { transform: translateY(-18px) rotate(8deg); } }

/* Bento */
.bento { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.tile { position: relative; border-radius: var(--r-card); padding: 36px; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; overflow: hidden; }
.tile--tall { grid-row: span 2; }
.tile h3 { font-size: 40px; letter-spacing: -.035em; }
.tile p { margin-top: 10px; max-width: 40ch; font-size: 17px; }
.tile--cobalt { background: var(--cobalt); color: #f3f4ff; }
.tile--cobalt p { color: rgb(243 244 255 / .82); }
.tile--butter { background: var(--butter); }
.tile--blush { background: var(--blush); }
.tile--butter p, .tile--blush p { color: rgb(16 17 20 / .75); }

.tile--cobalt::before { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgb(242 207 107 / .35), transparent 65%); pointer-events: none; }
.listen { position: relative; display: grid; gap: 32px; }
.tile--cobalt .listen__q { margin: 0; max-width: none; justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 18px 18px 18px 4px; background: var(--paper); color: var(--ink); font: 700 17px/1.2 var(--display); box-shadow: 0 14px 30px -14px rgb(0 0 0 / .45); }
.listen__q .ph-fill { font-size: 22px; color: var(--cobalt); }
.wave { display: flex; align-items: center; gap: 5px; height: 200px; }
.wave i { flex: 1; height: var(--h); min-height: 8px; border-radius: 99px; background: rgb(243 244 255 / .85); transform-origin: center; }
.wave i.hot { background: var(--butter); }
.listen__words { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { padding: 10px 18px; border-radius: 99px; font: 800 20px/1 var(--display); letter-spacing: -.01em; color: var(--ink); box-shadow: 0 12px 24px -12px rgb(0 0 0 / .4); }
.chip--butter { background: var(--butter); rotate: -3deg; }
.chip--blush { background: var(--blush); rotate: 2deg; }
.chip--paper { background: var(--paper); rotate: -1deg; }
@media (prefers-reduced-motion: no-preference) {
  .wave i { animation: wave 1.4s ease-in-out calc(var(--i) * -70ms) infinite alternate; }
  .listen__q { animation: ask 7s var(--ease) infinite; }
  .chip { animation: pop 7s var(--ease) calc(var(--n) * .25s) infinite; }
}
@keyframes wave { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
@keyframes ask { 0% { opacity: 0; transform: translateY(10px) scale(.96); } 8%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes pop { 0%, 38% { opacity: 0; transform: translateY(16px) scale(.8); } 46%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(.95); } }

.specimen { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.specimen__aa { font: 800 120px/.8 var(--display); letter-spacing: -.06em; }
.specimen__chips { display: flex; margin-bottom: 8px; }
.specimen__chips i { width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 0 0 2px var(--butter); }
.specimen__chips i + i { margin-left: -10px; }
.specimen__chips i:nth-child(1) { background: var(--ink); }
.specimen__chips i:nth-child(2) { background: var(--ember); }
.specimen__chips i:nth-child(3) { background: var(--cobalt); }
.specimen__chips i:nth-child(4) { background: var(--paper); }
@media (prefers-reduced-motion: no-preference) { .specimen__aa { animation: stretch 4s var(--ease) infinite; } }
@keyframes stretch { 0%, 100% { letter-spacing: -.06em; } 50% { letter-spacing: .02em; } }

.orbit { position: relative; width: 120px; height: 120px; }
.orbit__core { position: absolute; inset: 38px; border-radius: 50%; background: var(--ink); }
.orbit i { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px; border-radius: 50%; transform: rotate(0deg) translateX(var(--r)); }
.orbit i:nth-child(2) { background: var(--ember); --r: 58px; --d: 5s; }
.orbit i:nth-child(3) { background: var(--cobalt); --r: 42px; --d: 3.6s; width: 12px; height: 12px; margin: -6px; }
.orbit i:nth-child(4) { background: var(--card); --r: 58px; --d: 7s; }
@media (prefers-reduced-motion: no-preference) { .orbit i { animation: orbit var(--d) linear infinite; } .orbit i:nth-child(4) { animation-delay: -3s; } }
@keyframes orbit { to { transform: rotate(360deg) translateX(var(--r)); } }

/* Process */
.process { background: var(--card); border-block: 1px solid var(--line); }
.process__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
.process__side { position: sticky; top: calc(var(--nav-h) + 56px); }
.process__bar { margin: 40px 0 32px; height: 4px; border-radius: 4px; background: var(--paper-2); overflow: hidden; }
.process__bar span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--ember), var(--cobalt)); transform: scaleX(0); transform-origin: left; }
.no-motion .process__bar span { transform: none; }
.process__list { list-style: none; margin: 0; padding: 0; }
.pstep { position: relative; padding: 44px 0 44px 44px; border-top: 1px solid var(--line); transition: opacity .5s var(--ease); }
.js-motion .pstep { opacity: .3; }
.pstep:last-child { border-bottom: 1px solid var(--line); }
.pstep::before { content: ""; position: absolute; left: 0; top: 52px; width: 16px; height: 16px; border-radius: 50%; background: var(--c); transition: transform .5s var(--ease); }
.js-motion .pstep::before { transform: scale(.5); }
.js-motion .pstep.is-active { opacity: 1; }
.js-motion .pstep.is-active::before { transform: scale(1); }
.pstep__when { font-size: 14px; font-weight: 700; color: var(--faint); }
.pstep h3 { margin-top: 6px; font-size: clamp(30px, 3vw, 44px); letter-spacing: -.03em; }
.pstep p { margin-top: 10px; max-width: 50ch; color: var(--muted); font-size: 18px; }

/* Price rows */
.prow-list { border-top: 1.5px solid var(--ink); }
.prow { position: relative; display: grid; grid-template-columns: 1.1fr 2fr auto 40px; gap: 24px; align-items: center; padding: 30px 24px; border-bottom: 1px solid var(--line-2); text-decoration: none; overflow: hidden; isolation: isolate; transition: color .45s var(--ease); }
.prow::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fill); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); }
.prow:hover { color: var(--on); }
.prow:hover::before { transform: scaleY(1); }
.prow__name { font: 800 clamp(28px, 3vw, 44px)/1 var(--display); letter-spacing: -.03em; }
.prow__desc { font-size: 17px; opacity: .85; }
.prow__price { font: 800 clamp(24px, 2.4vw, 34px)/1 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.prow .ph { font-size: 26px; transition: transform .45s var(--ease); }
.prow:hover .ph { transform: rotate(45deg); }

/* CTA */
.cta { padding: 40px 0 140px; }
.cta__inner { position: relative; text-align: center; padding: 120px 40px; border-radius: 40px; background: var(--butter); overflow: hidden; isolation: isolate; }
.cta__shapes .s { position: absolute; z-index: -1; }
.s--ember { width: 220px; height: 220px; border-radius: 50%; background: var(--ember); left: -60px; bottom: -80px; }
.s--cobalt { width: 160px; height: 160px; border-radius: 40px; background: var(--cobalt); right: 6%; top: -50px; rotate: 18deg; }
.s--butter { width: 90px; height: 90px; border-radius: 50%; background: var(--blush); right: 18%; bottom: 40px; }
@media (prefers-reduced-motion: no-preference) {
  .s--ember { animation: bob 8s ease-in-out infinite; }
  .s--cobalt { animation: bob 10s ease-in-out -3s infinite reverse; }
  .s--butter { animation: bob 6s ease-in-out -1s infinite; }
}
.cta__title { font-size: clamp(44px, 6.6vw, 104px); line-height: .92; letter-spacing: -.045em; max-width: 12ch; margin: 0 auto; }
.cta__text { margin: 28px auto 0; max-width: 46ch; font-size: 19px; color: rgb(16 17 20 / .75); }
.cta .btn { margin-top: 36px; }

/* ---------- Page hero (inner pages) ---------- */
.phero { position: relative; padding: 72px 0; overflow: hidden; }
.phero__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: end; }
.phero .lede { margin-top: 28px; }
.phero__art { position: relative; height: 220px; }
.phero__art i { position: absolute; }
.phero__art i:nth-child(1) { width: 180px; height: 180px; border-radius: 50%; right: 30%; bottom: 0; background: var(--a, var(--butter)); }
.phero__art i:nth-child(2) { width: 120px; height: 120px; border-radius: 30px; right: 4%; top: 0; background: var(--b, var(--cobalt)); rotate: 14deg; }
.phero__art i:nth-child(3) { width: 70px; height: 70px; border-radius: 50%; right: 12%; bottom: 10px; background: var(--c, var(--ember)); }
@media (prefers-reduced-motion: no-preference) {
  .phero__art i:nth-child(1) { animation: bob 9s ease-in-out infinite; }
  .phero__art i:nth-child(2) { animation: bob 7s ease-in-out -2s infinite reverse; }
  .phero__art i:nth-child(3) { animation: bob 6s ease-in-out -4s infinite; }
}

/* ---------- How I work page ---------- */
.phases { display: grid; gap: 20px; }
.phase { display: grid; grid-template-columns: 110px 1.1fr 1fr; gap: 40px; padding: 44px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); align-items: start; }
.phase__num { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font: 800 28px/1 var(--display); background: var(--c); color: var(--on, var(--paper)); }
.phase__when { font-size: 14px; font-weight: 700; color: var(--faint); }
.phase h2 { margin-top: 6px; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.02; letter-spacing: -.03em; }
.phase__desc { margin-top: 14px; color: var(--muted); font-size: 17px; }
.phase__why { padding: 22px 24px; border-radius: var(--r-media); background: var(--paper); font-size: 16px; color: var(--muted); }
.phase__why strong { display: block; margin-bottom: 6px; font-family: var(--display); font-size: 18px; color: var(--ink); }

.qrail { margin-top: 56px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
.qrail::-webkit-scrollbar { display: none; }
.qrail__track { display: flex; gap: 16px; width: max-content; padding: 0 max(40px, calc((100vw - 1320px) / 2 + 40px)); }
.q { scroll-snap-align: start; width: 340px; min-height: 280px; padding: 32px; border-radius: var(--r-card); display: flex; flex-direction: column; justify-content: space-between; font: 700 25px/1.18 var(--display); letter-spacing: -.02em; background: var(--qb, var(--card)); color: var(--qc, var(--ink)); border: 1px solid var(--line); }
.q .ph { font-size: 30px; opacity: .6; }

.statement { margin: 0 0 64px; max-width: 22ch; font: 800 clamp(34px, 4.2vw, 62px)/1.02 var(--display); letter-spacing: -.035em; }
.statement em { font-style: normal; color: var(--ember); }
.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rule { padding: 32px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); }
.rule .ph { font-size: 30px; color: var(--c); }
.rule h3 { margin-top: 28px; font-size: 24px; letter-spacing: -.02em; }
.rule p { margin-top: 8px; color: var(--muted); font-size: 16px; }

/* ---------- Work page ---------- */
.study { padding: 56px; border-radius: 32px; display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
.study + .study { margin-top: 24px; }
.study--cobalt { background: var(--cobalt); color: #f3f4ff; }
.study--ink { background: var(--ink); color: var(--paper); }
.study--flip .study__shot { order: 2; }
.study__shot { display: block; border-radius: var(--r-media); overflow: hidden; box-shadow: 0 30px 70px -28px rgb(0 0 0 / .6); }
.study__shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.study__shot:hover img { transform: scale(1.04); }
.study__type { font-size: 15px; font-weight: 500; opacity: .9; }
.study__name { margin-top: 10px; font-size: clamp(36px, 3.8vw, 56px); line-height: .98; letter-spacing: -.035em; }
.study__block { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .2); }
.study__block h3 { font: 700 14px/1 var(--body); letter-spacing: .02em; opacity: .8; margin-bottom: 12px; }
.study__block p { font-size: 18px; }
.study .ticks li::before { border-color: var(--butter); }
.study--blush { background: var(--blush); color: var(--ink); }
.study--butter { background: var(--butter); color: var(--ink); }
.study--blush .study__block, .study--butter .study__block { border-top-color: rgb(16 17 20 / .18); }
.study--blush .ticks li::before, .study--butter .ticks li::before { border-color: var(--ink); }
.study .btn { margin-top: 32px; }

/* tick lists */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .4em; width: 12px; height: 7px; border-left: 2px solid var(--ember); border-bottom: 2px solid var(--ember); transform: rotate(-45deg); }

/* ---------- Pricing page ---------- */
.signature { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; padding: 56px; border-radius: 32px; background: var(--ink); color: var(--paper); overflow: hidden; isolation: isolate; }
.signature::before { content: ""; position: absolute; z-index: -1; width: 460px; height: 460px; right: -120px; top: -180px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--cobalt), transparent 70%); }
.signature::after { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; right: 24%; bottom: -190px; border-radius: 50%; background: var(--ember); opacity: .8; filter: blur(50px); }
.signature__name { font-size: clamp(48px, 6vw, 92px); line-height: .9; letter-spacing: -.045em; }
.signature__desc { margin-top: 18px; max-width: 46ch; color: rgb(244 244 241 / .82); font-size: 18px; }
.signature__side { display: grid; gap: 14px; justify-items: start; }
.signature__price { font: 800 clamp(40px, 5vw, 64px)/1 var(--display); letter-spacing: -.04em; }
.signature__price span { font: 500 17px var(--body); letter-spacing: 0; color: rgb(244 244 241 / .8); margin-right: 8px; }
.signature__status { font-size: 15px; color: var(--butter); margin-bottom: 8px; }

.plans { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 40px 34px 34px; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgb(16 17 20 / .3); }
.plan__top { display: flex; align-items: center; justify-content: space-between; min-height: 40px; }
.plan__dot { width: 40px; height: 40px; border-radius: 12px; background: var(--c); }
.plan--featured { background: var(--blush); border-color: transparent; }
.plan__badge { padding: 7px 12px; border-radius: 99px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 700; }
.plan__name { margin-top: 24px; font-size: 32px; letter-spacing: -.03em; }
.plan__for { margin-top: 6px; min-height: 3.2em; color: var(--muted); font-size: 16px; }
.plan--featured .plan__for { color: rgb(16 17 20 / .72); }
.plan__price { margin: 26px 0 28px; font: 800 60px/1 var(--display); letter-spacing: -.045em; }
.plan__list { padding-top: 26px; border-top: 1px solid var(--line-2); flex: 1; align-content: start; font-size: 16px; margin-bottom: 30px; }
.plan__note { margin: -14px 0 24px; font-size: 14px; font-weight: 700; color: #b8321c; }

.redesign { margin-top: 20px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; padding: 48px 56px; border-radius: 32px; background: var(--butter); color: var(--ink); }
.redesign__name { font-size: clamp(40px, 5vw, 72px); line-height: .9; letter-spacing: -.045em; }
.redesign__desc { margin-top: 16px; max-width: 46ch; font-size: 18px; }
.redesign__list { margin-top: 24px; display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 10px 32px; font-size: 16px; }
.redesign__list li::before { border-color: var(--ink); }
.redesign__side { display: grid; gap: 14px; justify-items: start; }
.redesign__price { font: 800 clamp(40px, 5vw, 64px)/1 var(--display); letter-spacing: -.04em; }
.redesign__status { font-size: 15px; max-width: 30ch; margin-bottom: 8px; color: rgb(16 17 20 / .75); }
@media (max-width: 900px) { .redesign { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 640px) { .redesign { padding: 36px 24px; border-radius: 24px; } .redesign__list { grid-template-columns: 1fr; } }

.terms { margin-top: 20px; padding: 26px 34px; border-radius: var(--r-card); background: var(--ink); color: var(--paper); display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.terms strong { font-family: var(--display); font-size: 20px; }
.terms ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 32px; color: rgb(244 244 241 / .8); }
.terms li { display: flex; align-items: center; gap: 10px; }
.terms li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--butter); }

.care { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; align-items: stretch; }
.care__plan { padding: 36px; border-radius: var(--r-card); }
.care--3 { grid-template-columns: repeat(3, 1fr); }
.care__plan--h { background: var(--card); border: 1px solid var(--line); }
.care__plan--a { background: var(--cobalt-soft); }
.bundles { margin-top: 20px; padding: 24px 34px; border-radius: var(--r-card); background: var(--ink); color: var(--paper); display: flex; align-items: center; gap: 16px 40px; flex-wrap: wrap; }
.bundles__lead strong { font-family: var(--display); font-size: 20px; }
.bundles__item { color: rgb(244 244 241 / .85); }
.bundles__item b { color: var(--butter); font-family: var(--display); font-size: 20px; margin-left: 6px; }
.care__plan--b { background: var(--butter); }
.care__price { font: 800 52px/1 var(--display); letter-spacing: -.04em; }
.care__price span { font: 500 17px var(--body); letter-spacing: 0; color: var(--muted); }
.care__plan h3 { margin-top: 20px; font-size: 26px; }
.care__plan p:last-child { margin-top: 8px; color: rgb(16 17 20 / .75); }

.faq { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.faq__list { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 28px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; font: 700 22px/1.25 var(--display); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ph { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; background: var(--card); border: 1px solid var(--line); transition: transform .4s var(--ease), background-color .3s, color .3s; }
.faq details[open] summary .ph { transform: rotate(45deg); background: var(--ink); color: var(--paper); }
.faq details p { padding: 0 64px 28px 0; color: var(--muted); font-size: 17px; }

/* ---------- About page ---------- */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
.portrait { position: sticky; top: calc(var(--nav-h) + 32px); aspect-ratio: 4 / 5; border-radius: 32px; overflow: hidden; display: grid; place-items: center; background: var(--cobalt); isolation: isolate; }
.portrait::before { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--butter); right: -15%; top: -12%; }
.portrait::after { content: ""; position: absolute; z-index: -1; width: 46%; aspect-ratio: 1; border-radius: 40px; background: var(--ember); left: -10%; bottom: -8%; rotate: 16deg; }
.portrait span { font: 800 clamp(90px, 12vw, 180px)/1 var(--display); letter-spacing: -.06em; color: var(--paper); }
.about__lead { margin-top: 36px; font: 700 clamp(26px, 2.4vw, 34px)/1.2 var(--display); letter-spacing: -.02em; max-width: 26ch; }
.about__copy p:not(.about__lead) { margin-top: 22px; font-size: 19px; color: var(--muted); max-width: 56ch; }

.beliefs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.belief { padding: 40px; border-radius: var(--r-card); background: var(--bc, var(--card)); }
.belief .ph { font-size: 34px; }
.belief h3 { margin-top: 28px; font-size: 28px; letter-spacing: -.025em; }
.belief p { margin-top: 10px; max-width: 44ch; color: rgb(16 17 20 / .72); font-size: 17px; }
.belief--dark { color: var(--paper); }
.belief--dark p { color: rgb(244 244 241 / .78); }

/* ---------- Contact page ---------- */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.contact__copy { position: sticky; top: calc(var(--nav-h) + 40px); }
.contact__next { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 16px; }
.contact__next li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.contact__next strong { color: var(--ink); }
.contact__next .n { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 800 14px/1 var(--display); background: var(--c); color: var(--on, var(--paper)); }
.contact__mail { margin-top: 36px; color: var(--muted); }
.contact__mail a { color: var(--ink); font-weight: 700; text-decoration-color: var(--ember); text-underline-offset: 4px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; padding: 40px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 80px -40px rgb(16 17 20 / .25); }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 700; color: var(--ink-2); }
.opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; border-radius: var(--r-media); border: 1.5px solid var(--line-2); background: var(--paper); color: var(--ink); font: 400 16px/1.4 var(--body); padding: 14px 16px; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field input::placeholder { color: #666970; }
.field select { appearance: none; padding-right: 42px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%235b5e66' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); background-color: var(--card); box-shadow: 0 0 0 4px rgb(48 71 201 / .14); }
.field [aria-invalid="true"] { border-color: var(--ember); }
.err { font-size: 14px; font-weight: 500; color: #b8321c; }
.form__alert { grid-column: 1 / -1; padding: 14px 18px; border-radius: var(--r-media); background: var(--ember-soft); color: #7a1d0e; font-weight: 500; }
.form__foot { margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form--done { display: block; padding: 64px 48px; }
.form--done .ph { font-size: 52px; color: var(--cobalt); }
.form--done h2 { margin-top: 18px; font-size: 38px; letter-spacing: -.03em; }
.form--done p { margin-top: 10px; color: var(--muted); font-size: 18px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 88px 0 40px; border-radius: 40px 40px 0 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer__line { margin-top: 18px; max-width: 34ch; color: rgb(244 244 241 / .78); }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__label { font-size: 13px; font-weight: 700; color: var(--butter); margin-bottom: 6px; }
.footer__col a { color: rgb(244 244 241 / .78); text-decoration: none; transition: color .2s; }
.footer__col a:hover { color: var(--paper); }
.footer__word { margin: 80px 0 0; font: 800 clamp(52px, 13.2vw, 196px)/.85 var(--display); letter-spacing: -.055em; color: var(--paper); white-space: nowrap; }
.footer__word span { position: relative; display: inline-block; color: var(--butter); }
.footer__word svg { position: absolute; left: 0; bottom: -.04em; width: 100%; height: .16em; overflow: visible; }
.footer__word path { fill: none; stroke: var(--ember); stroke-width: 16; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.footer__copy { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgb(244 244 241 / .12); font-size: 14px; color: rgb(244 244 241 / .7); }

/* ---------- Reveal defaults (JS animates these in) ---------- */
.js-motion [data-reveal] { opacity: 0; transform: translateY(32px); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; gap: 64px; }
  .hero__visual { height: 460px; max-width: 680px; }
  .scard { grid-template-columns: 1fr; gap: 32px; min-height: 0; }
  .scard__orb { height: 200px; }
  .plans { grid-template-columns: 1fr; max-width: 640px; }
  .care { grid-template-columns: 1fr 1fr; }
  .care > div:first-child { grid-column: 1 / -1; }
  .care--3 { grid-template-columns: 1fr 1fr 1fr; }
  .rules { grid-template-columns: 1fr 1fr; }
  .phase { grid-template-columns: 90px 1fr; }
  .phase__why { grid-column: 2; }
  .study { grid-template-columns: 1fr; }
  .study--flip .study__shot { order: 0; }
}
@media (max-width: 900px) {
  .nav__links, .nav__cta, .nav__login { display: none; }
  .nav__toggle { display: inline-grid; place-items: center; }
  .process__grid, .faq, .about, .contact, .signature, .phero__grid { grid-template-columns: 1fr; gap: 40px; }
  .process__side, .portrait, .contact__copy { position: static; }
  .js-motion .pstep { opacity: 1; }
  .bento { grid-template-columns: 1fr; }
  .tile--tall { grid-row: auto; }
  .prow { grid-template-columns: 1fr auto; row-gap: 8px; }
  .prow__desc { grid-column: 1 / -1; grid-row: 2; }
  .prow .ph { display: none; }
  .about__photo { max-width: 420px; }
  .phero__art { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 88px 0; }
  .section--tight { padding-top: 24px; }
  .hero { padding: calc(var(--nav-h) + 24px) 0 64px; }
  .hero__sub { font-size: 18px; }
  .hero__ctas .btn { flex: 1; }
  .hero__visual { height: 300px; }
  .hcard--logo { width: 80px; }
  .badge { width: 96px; height: 96px; }
  .badge svg { font-size: 9px; }
  .lede { font-size: 18px; }
  .scard { padding: 28px 22px; border-radius: 24px; position: relative; top: auto !important; }
  .tile { padding: 28px; }
  .tile h3 { font-size: 32px; }
  .wave { height: 100px; }
  .chip { font-size: 17px; }
  .pstep { padding-left: 32px; }
  .prow { padding: 24px 8px; }
  .cta { padding-bottom: 88px; }
  .cta__inner { padding: 72px 22px; border-radius: 28px; }
  .s--cobalt { width: 100px; height: 100px; }
  .phero { padding: 40px 0; }
  .phase { grid-template-columns: 1fr; padding: 28px; gap: 20px; }
  .phase__why { grid-column: auto; }
  .q { width: 280px; min-height: 230px; padding: 24px; font-size: 21px; }
  .qrail__track { padding: 0 16px; }
  .rules, .beliefs, .care { grid-template-columns: 1fr; }
  .statement { margin-bottom: 48px; }
  .study { padding: 26px 20px; border-radius: 24px; gap: 28px; }
  .signature { padding: 36px 24px; border-radius: 24px; }
  .plan { padding: 32px 24px 26px; }
  .terms { padding: 24px; }
  .terms ul { flex-direction: column; }
  .faq details p { padding-right: 0; }
  .form { grid-template-columns: 1fr; padding: 24px; border-radius: 22px; }
  .field--full { grid-column: auto; }
  .footer { padding-top: 64px; border-radius: 28px 28px 0 0; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .hcard, .hero__caption, .pick { transition: none; } }
.scard--ember .scard__type, .scard--ember .scard__desc { opacity: 1; color: #fff; }

/* ======================================================================
   Remodel v2 (2026-11-29): "One of one" gallery direction
   ====================================================================== */
:root { --serif: "Zodiak", Georgia, "Times New Roman", serif; }
h1 em, h2 em, h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.03em; }
.hero__line--rotate .rotator__word { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.04em; }
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
.nav .brand { view-transition-name: brand; }

/* Hero fallback (no live 3D): one large framed site + thumbnails */
@media (max-width: 1100px) {
  .hero__visual { height: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .hero__visual .hcard { position: relative; inset: auto; width: auto; rotate: 0deg; scale: 1; aspect-ratio: 16 / 10; border-radius: 12px; cursor: pointer; filter: none; }
  .hero__visual .hcard--logo { display: none; }
  .hero__visual .hcard.is-front,
  .hero__visual:not(:has(.is-front)) .hcard[data-site="0"] { grid-column: 1 / -1; order: -1; border-radius: 20px; cursor: default; }
  .hero[data-focused] .hcard[data-site]:not(.is-front) { filter: saturate(.6); }
  .hero__caption { position: relative; bottom: auto; grid-column: 1 / -1; order: -1; margin-top: -4px; }
  .hero__caption:not(.is-on) { display: none; }
}

/* Gallery walk */
.walk { position: relative; padding: 140px 0; background: var(--ink); color: var(--paper); }
.walk__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: 56px; }
.walk__head .h2 { flex: 1 1 100%; }
.walk__lede { margin: 0; max-width: 40ch; font-size: 19px; opacity: .82; }
.walk .link { color: inherit; background-image: linear-gradient(currentColor, currentColor); }
.walk__track { display: grid; gap: 28px; max-width: 1320px; margin: 0 auto; padding: 0 40px; }
.walk__item { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; padding: 48px; border-radius: 36px; background: var(--bg); color: var(--fg); }
.walk__frame { border-radius: 18px; overflow: hidden; background: #fbfbf9; box-shadow: 0 40px 80px -30px rgb(0 0 0 / .55), 0 0 0 1px rgb(255 255 255 / .08); will-change: transform; }
.walk__bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #fbfbf9; }
.walk__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--ember); }
.walk__bar i:nth-child(2) { background: var(--butter); }
.walk__bar i:nth-child(3) { background: var(--cobalt); }
.walk__bar span { margin: 0 auto; transform: translateX(-24px); padding: 4px 14px; border-radius: 99px; background: #ececE7; color: #55565c; font-size: 12px; font-weight: 500; }
.walk__frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.walk__blank { aspect-ratio: 16 / 10; display: grid; place-content: center; text-align: center; background: repeating-linear-gradient(-45deg, #f4f4f1 0 14px, #ecebe6 14px 28px); color: var(--ink); font: 800 clamp(28px, 3.4vw, 52px)/.95 var(--display); letter-spacing: -.04em; }
.walk__blank span + span { font: italic 400 clamp(28px, 3.4vw, 52px)/.95 var(--serif); color: var(--ember); }
.walk__type { margin: 0; font-size: 15px; font-weight: 700; color: var(--ty, var(--ac)); }
.walk__name { margin-top: 10px; font-size: clamp(38px, 4.2vw, 66px); line-height: .95; letter-spacing: -.04em; }
.walk__desc { margin-top: 18px; max-width: 36ch; font-size: 18px; line-height: 1.5; opacity: .88; }
.walk__link { display: inline-flex; margin-top: 28px; padding: 14px 22px; border-radius: 99px; background: var(--ac); color: var(--lk, var(--bg)); font-weight: 700; text-decoration: none; transition: transform .4s var(--ease); }
.walk__link:hover { transform: translateY(-2px); }
.walk__item--next { --ty: #fff; --lk: #fff; }
.walk__item--next .walk__desc { opacity: 1; }
.walk__item--next .walk__name em { color: var(--butter); }
.walk.is-h { padding: 0; }
.walk.is-h .walk__pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.walk.is-h .walk__head { width: 100%; margin-bottom: 36px; }
.walk.is-h .walk__head .h2 { flex: 0 1 auto; }
.walk.is-h .walk__track { position: relative; display: flex; gap: 8vw; width: max-content; max-width: none; margin: 0; padding: 0 0 0 max(40px, calc((100vw - 1320px) / 2 + 40px)); perspective: 1600px; }
.walk.is-h .walk__item { flex: none; width: min(1120px, 76vw); padding: 0; background: transparent; transform-style: preserve-3d; }
.walk.is-h .walk__text { will-change: opacity, transform; }

/* Process: always readable, a brushstroke draws down the steps */
.js-motion .pstep, .js-motion .pstep.is-active { opacity: 1; }
.process__steps { position: relative; padding-left: 64px; }
.process__steps .pstep { padding-left: 0; }
.process__steps .pstep::before { display: none; }
.process__steps .pstep__when { color: color-mix(in srgb, var(--c) 70%, #101114); font-weight: 700; }
.process__line { position: absolute; left: 0; top: 0; width: 40px; height: 100%; overflow: visible; }
.process__line path { fill: none; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js-motion .process__line path { stroke-dashoffset: 1; }

/* CTA: the hero's 3D mark returns */
.cta__mark3d { position: absolute; right: 1%; top: 50%; width: 360px; height: 360px; translate: 0 -50%; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1s var(--ease); }
.cta__mark3d.is-on { opacity: 1; }
.cta__mark3d.is-on ~ .cta__shapes .s--cobalt { opacity: 0; }

@media (max-width: 1100px) {
  .walk__item { grid-template-columns: 1fr; gap: 28px; padding: 28px; border-radius: 28px; }
  .cta__mark3d { display: none; }
}
@media (max-width: 640px) {
  .walk { padding: 96px 0; }
  .walk__track { padding: 0 16px; }
  .walk__item { padding: 18px 18px 26px; border-radius: 24px; }
  .process__steps { padding-left: 40px; }
  .process__line { width: 24px; }
}

/* ======================================================================
   Work page: 3D gallery + grid version (2026-12-02)
   ====================================================================== */
.gallery { position: relative; padding: 72px 0 48px; }
.gallery__stage { display: none; }
.gallery__title { font-size: clamp(56px, 9vw, 150px); line-height: .9; letter-spacing: -.05em; }
.gallery__intro .lede { max-width: 44ch; }
.gallery__hint, .gallery__hud { display: none; }

.gallery-3d .gallery { height: 100vh; padding: 0; overflow: hidden; background: var(--paper); }
.gallery-3d .gallery__stage { display: block; position: absolute; inset: 0; }
.gallery-3d .gallery__stage canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 1s var(--ease); }
.gallery-3d .gallery.is-live .gallery__stage canvas { opacity: 1; }
.gallery-3d .gallery__intro { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; text-align: center; pointer-events: none; }
.gallery-3d .gallery__intro .lede { margin-inline: auto; padding: 6px 14px; border-radius: 14px; background: rgb(244 244 241 / .72); backdrop-filter: blur(6px); }
.gallery-3d .gallery__hint { display: block; margin-top: 28px; font-size: 14px; font-weight: 700; color: var(--muted); }
.gallery-3d .gallery__hud:not([hidden]) { position: absolute; left: 50%; bottom: 28px; z-index: 3; translate: -50% 0; display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 99px; background: rgb(251 251 249 / .9); backdrop-filter: blur(8px); box-shadow: 0 12px 30px -14px rgb(16 17 20 / .4); }
.gallery__nav { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); font-size: 18px; cursor: pointer; display: grid; place-items: center; }
.gallery__nav:hover { background: var(--ember); }
.gallery__now { margin: 0; min-width: 300px; text-align: center; font-size: 15px; font-weight: 700; }

/* Grid version (and the list under the 3D gallery) */
.works { padding: 24px 0 120px; }
.works__room + .works__room { margin-top: 96px; }
.works__room-name { margin-bottom: 40px; font-size: clamp(36px, 4.6vw, 64px); letter-spacing: -.035em; }
.works__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 48px; }
.work { scroll-margin-top: 100px; }
.work__frame { display: block; width: 100%; padding: 10px; border: 0; border-radius: 6px; background: var(--ink); cursor: pointer; box-shadow: 0 30px 60px -30px rgb(16 17 20 / .5); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.work__frame:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -30px rgb(16 17 20 / .55); }
.work__mat { position: relative; display: block; padding: 12px; background: #fbfbf9; }
.work__mat img, .work__loop { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.work__loop { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); opacity: 0; transition: opacity .3s; }
.work__loop.is-on { opacity: 1; }
.work__label { margin-top: 22px; padding-left: 16px; border-left: 3px solid var(--ink); }
.work__tag { margin: 0; font-size: 14px; font-weight: 700; color: var(--muted); }
.work[data-room="concept"] .work__tag { display: inline-block; padding: 3px 12px; border: 1.5px solid var(--cobalt); border-radius: 99px; color: var(--cobalt); }
.work__name { margin-top: 6px; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -.03em; }
.work__name span { font: 500 .7em var(--body); color: var(--muted); }
.work__medium { margin: 6px 0 0; font: italic 400 19px/1.35 var(--serif); }
.work__study { margin-top: 22px; font-size: 16px; color: var(--muted); }
.work__study h4 { margin: 18px 0 6px; font: 700 15px/1.2 var(--body); color: var(--ink); }
.work__study p { margin: 0; }
.work__study .ticks { margin: 0; }
.work__actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.works--index .works__room-name::after { content: " (list)"; font: 500 .4em var(--body); letter-spacing: 0; color: var(--muted); }

/* End of the gallery */
.gallery-end { padding: 80px 0 140px; }
.gallery-end__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.gallery-end__frame { display: grid; place-content: center; text-align: center; aspect-ratio: 16 / 10; padding: 10px; border-radius: 6px; background: repeating-linear-gradient(-45deg, #f4f4f1 0 14px, #ecebe6 14px 28px) content-box, var(--ink); outline: 12px solid #fbfbf9; outline-offset: -22px; box-shadow: 0 30px 60px -30px rgb(16 17 20 / .5); }
.gallery-end__frame span { font: 800 clamp(30px, 3.4vw, 52px)/.95 var(--display); letter-spacing: -.04em; }
.gallery-end__frame span + span { font: italic 400 clamp(28px, 3vw, 46px)/1 var(--serif); color: var(--ember); }
.gallery-end__title { font-size: clamp(40px, 4.8vw, 72px); line-height: .95; letter-spacing: -.04em; }
.gallery-end .btn { margin-top: 32px; }

/* Viewer */
html.viewer-open { overflow: hidden; }
.viewer { position: fixed; inset: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: hidden; }
.viewer::backdrop { background: rgb(16 17 20 / .82); }
.viewer--3d::backdrop { background: transparent; }
.viewer__screen { position: fixed; overflow: hidden; border-radius: 2px; background: #fff; box-shadow: 0 30px 80px -30px rgb(0 0 0 / .6); }
.viewer--grid .viewer__screen { left: 32px; top: 88px; right: 456px; bottom: 32px; }
.viewer--phone .viewer__screen { left: 0; top: 60px; right: 0; bottom: 0; border-radius: 0; }
.viewer__site { width: 1440px; transform-origin: 0 0; }
.viewer__site iframe { display: block; width: 100%; height: 100%; border: 0; }
.viewer--phone .viewer__site { width: 100%; height: 100%; transform: none !important; }
.viewer__media { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.viewer__note { position: absolute; left: 16px; bottom: 16px; margin: 0; padding: 10px 16px; border-radius: 99px; background: rgb(16 17 20 / .86); color: var(--paper); font-size: 14px; }
.viewer__note a { color: var(--butter); font-weight: 700; }
.viewer__panel { position: fixed; top: 24px; right: 24px; bottom: 24px; width: 400px; overflow: auto; padding: 32px 30px; border-radius: 24px; background: #fbfbf9; box-shadow: 0 30px 70px -30px rgb(0 0 0 / .5); }
.viewer--phone .viewer__panel { display: none; }
.viewer__tag { margin: 0; font-size: 14px; font-weight: 700; color: var(--muted); }
.viewer__name { margin-top: 6px; font-size: 34px; line-height: 1; letter-spacing: -.035em; }
.viewer__medium { margin: 8px 0 0; font: italic 400 19px/1.35 var(--serif); }
.viewer__study { margin-top: 8px; font-size: 15px; color: var(--muted); }
.viewer__study h4 { margin: 20px 0 6px; font: 700 15px/1.2 var(--body); color: var(--ink); }
.viewer__study p, .viewer__study .ticks { margin: 0; }
.viewer__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.viewer__back { position: fixed; top: 24px; left: 24px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 99px; background: var(--ink); color: var(--paper); font: 700 15px/1 var(--body); cursor: pointer; }
.viewer__back:hover { background: var(--ember); }
.viewer--phone .viewer__back { top: 8px; left: 8px; }

@media (max-width: 900px) {
  .works__grid { grid-template-columns: 1fr; gap: 56px; }
  .gallery-end__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .gallery { padding: 40px 0 24px; }
  .works { padding-bottom: 80px; }
  .gallery-end { padding: 40px 0 96px; }
}
@media (prefers-reduced-motion: reduce) { .work__frame { transition: none; } }
.viewer-open .gallery__hud { display: none !important; }

/* Work page: switch between the 3D gallery and the list */
.view-switch:not([hidden]) { margin-top: 28px; display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; background: rgb(251 251 249 / .9); box-shadow: 0 0 0 1.5px var(--line-2); pointer-events: auto; }
.view-switch__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; border: 0; border-radius: 99px; background: transparent; color: var(--ink); font: 700 15px/1 var(--body); cursor: pointer; transition: background-color .25s, color .25s; }
.view-switch__btn:hover { background: rgb(16 17 20 / .06); }
.view-switch__btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.gallery-3d .gallery__hint { margin-top: 18px; }
.gallery__list { min-height: 44px; margin-left: 4px; padding: 0 16px; border: 0; border-left: 1px solid var(--line-2); background: none; color: var(--ink); font: 700 14px/1 var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.gallery__list:hover { color: var(--ember); }
.work__credit { margin: 0 0 4px; padding: 10px 14px; border-radius: 12px; background: var(--card); color: var(--ink); font-size: 15px; font-weight: 700; box-shadow: inset 0 0 0 1px var(--line); }
