/* ryan-site / Aqua theme (from d07-aqua-v2): rounded liquid cards, giant all-caps words, glass type. */
:root {
  --ink: #0b0b10;
  --ink-2: #3a3a46;
  --muted: #62626f;
  --paper: #ffffff;
  --grey: #f0f0f2;
  --line: #dcdce2;
  --blue: #3d4bff;
  --violet: #7a2bd9;
  --pink: #ff3d7f;
  --orange: #ff6a1a;
  --red: #ff3b2f;
  --grad: linear-gradient(100deg, var(--blue), var(--violet) 35%, var(--pink) 68%, var(--orange));
  --gut: clamp(16px, 2.1vw, 30px);
  --r: clamp(22px, 2.4vw, 34px);
  --display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --sans: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --v: 0; /* scroll velocity, set by JS */
  /* shared theme switcher: bottom-left, level with the floating pill */
  --ts-left: 16px;
  --ts-bottom: 18px;
  --ts-z: 60;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: clamp(16px, 0.35vw + 14.7px, 18px); line-height: 1.5; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.mono { font-family: var(--mono); font-size: 0.78em; letter-spacing: 0.01em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
[id] { scroll-margin-top: 88px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
em { font-style: normal; }

/* ---------- pills ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.02em; text-transform: uppercase; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s; white-space: nowrap; }
.pill:hover { transform: translateY(-2px); }
.pill-dark { background: var(--ink); color: #fff; }
.pill-dark:hover { box-shadow: 0 10px 30px -8px rgba(61, 75, 255, .55); }
.pill-light { background: #fff; color: var(--ink); }
.pill-light:hover { box-shadow: 0 12px 34px -10px rgba(0, 0, 0, .45); }
.pill-glass { color: #fff; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pill-glass:hover { background: rgba(255, 255, 255, .28); }
.pill-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.pill-line:hover { background: var(--grey); }
.pill-block { width: 100%; min-height: 56px; }
.pill-big { min-height: 60px; padding: 0 30px; font-size: 0.9rem; }
.chev { width: 8px; height: 8px; border-right: 2.4px solid currentColor; border-top: 2.4px solid currentColor; transform: rotate(45deg); transition: transform .35s var(--ease); margin-left: 2px; flex: none; }
.chev-out { transform: rotate(0deg); }
.pill:hover .chev, .ready-pill:hover .chev, .tag-btn:hover .chev, .hero-news:hover .chev { transform: translateX(3px) rotate(45deg); }
.pill:hover .chev-out { transform: translate(2px, -2px) rotate(0deg); }
/* download glyph */
.dl { position: relative; width: 12px; height: 13px; flex: none; border-bottom: 2.4px solid currentColor; }
.dl::before { content: ""; position: absolute; left: 50%; top: 0; width: 2.4px; height: 8px; margin-left: -1.2px; background: currentColor; }
.dl::after { content: ""; position: absolute; left: 50%; top: 3px; width: 6px; height: 6px; margin-left: -3px; border-right: 2.4px solid currentColor; border-bottom: 2.4px solid currentColor; transform: rotate(45deg); transition: transform .35s var(--ease); }
.pill:hover .dl::after { transform: translateY(2px) rotate(45deg); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 16px var(--gut); background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); transition: box-shadow .3s; }
.nav.scrolled { box-shadow: 0 1px 0 var(--line); }
.wordmark { font-family: var(--display); font-size: clamp(17px, 1.6vw, 24px); letter-spacing: -0.01em; text-decoration: none; justify-self: start; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 1.5vw, 24px); }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.02em; position: relative; padding: 6px 0; white-space: nowrap; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); }
.nav-links .nav-hire { padding: 8px 14px; border-radius: 999px; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; border: 2px solid transparent; margin-left: 4px; }
.nav-links .nav-hire::after { display: none; }
.nav-links .nav-hire:hover { background: var(--grad) border-box; color: #fff; }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--grey); cursor: pointer; }
.bars, .bars::before { display: block; width: 18px; height: 2px; background: var(--ink); margin: auto; position: relative; transition: transform .3s; }
.bars::before { content: ""; position: absolute; top: 6px; }
.bars { top: -3px; }
.menu-btn[aria-expanded="true"] .bars { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(-6px) rotate(-90deg); }

/* ---------- liquid cards ---------- */
.card-liquid { position: relative; border-radius: var(--r); overflow: hidden; isolation: isolate; background: #5a3bd6; }
.liquid-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.liquid-fallback { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 80% at 12% 30%, #4f5bff 0%, transparent 60%),
  radial-gradient(50% 70% at 40% 10%, #7a2bd9 0%, transparent 65%),
  radial-gradient(55% 75% at 70% 40%, #ff3d7f 0%, transparent 60%),
  radial-gradient(60% 70% at 80% 95%, #ff6a1a 0%, transparent 60%),
  linear-gradient(110deg, #4552ff, #b13aa8 45%, #ff4b3a 75%, #ff7a1a); }
.fb-contact { background:
  radial-gradient(60% 80% at 15% 25%, #3d4bff 0%, transparent 60%),
  radial-gradient(50% 70% at 60% 90%, #ff3d7f 0%, transparent 60%),
  radial-gradient(40% 60% at 90% 20%, #ff6a1a 0%, transparent 60%),
  linear-gradient(120deg, #3540e8, #5a33d6 40%, #c43a9a 75%, #ff6a1a); }
.no-gl .liquid-canvas { display: none; }
.no-gl .liquid-fallback { z-index: 0; }

/* the giant glass word: DOM text is the source of truth; WebGL draws it as glass */
.giant-glass { margin: 0; font-family: var(--display); font-weight: 400; color: #fff; line-height: .86; letter-spacing: -0.025em; font-size: var(--gfs, clamp(64px, 15vw, 240px)); text-transform: uppercase; }
.giant-glass .gl-line { display: block; width: max-content; }
.giant-glass, .giant-glass .gl-line { transition: none !important; }
.gl-on .giant-glass { color: transparent; }
.gl-on .giant-glass::selection, .gl-on .giant-glass .gl-line::selection { color: #fff; background: rgba(0, 0, 0, .3); }

/* ---------- hero ---------- */
.hero-wrap { padding: 4px var(--gut) 0; }
.hero { min-height: max(600px, calc(100svh - 88px - var(--gut))); transform-origin: 50% 0; transform: scale(calc(1 - var(--hp, 0) * .05)); border-radius: calc(var(--r) + var(--hp, 0) * 40px); }
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; min-height: inherit; padding: clamp(20px, 3vw, 46px) clamp(20px, 4.6vw, 76px) clamp(24px, 3vw, 46px); gap: clamp(18px, 2.2vw, 28px); color: #fff; pointer-events: none; }
.hero-inner a, .hero-inner button, .hero-inner p, .hero-inner h1, .hero-inner dl { pointer-events: auto; }
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px 20px; flex-wrap: wrap; }
.hero-eyebrow { margin: 0; display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 0.78rem; line-height: 1.3; color: #fff; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); flex: none; }
.hero-news { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; background: rgba(15, 10, 40, .28); border: 1px solid rgba(255, 255, 255, .3); text-decoration: none; font-weight: 600; font-size: 0.86rem; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .3s; }
.hero-news:hover { background: rgba(15, 10, 40, .45); }
.news-tag { white-space: nowrap; background: #fff; color: var(--ink); border-radius: 999px; padding: 5px 10px; text-transform: uppercase; font-weight: 500; font-size: 0.7rem; }
.hero .giant-glass { margin: auto 0; padding: 1vh 0; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: clamp(20px, 4vw, 70px); }
.hero-copy { max-width: 720px; }
.hero-headline { margin: 0 0 14px; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 2.3vw + 10px, 50px); line-height: 1.02; letter-spacing: -0.02em; text-shadow: 0 2px 24px rgba(30, 10, 80, .22); }
.hl { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hl > span { display: inline-block; }
.hero-headline em { display: inline-block; padding: 0 .16em; margin: 0 -.02em; border-radius: .2em; background: #fff; color: var(--ink); text-shadow: none; background-image: none; }
.js .hl > span { transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(.35s + var(--i) * .1s); }
.js .hero.lit .hl > span { transform: none; }
.hero-lede { margin: 0 0 22px; font-weight: 500; font-size: clamp(16px, 0.55vw + 12px, 20px); line-height: 1.45; max-width: 620px; text-shadow: 0 1px 18px rgba(30, 10, 80, .3); }
.hero-ctas { display: flex; align-items: center; gap: 12px 14px; flex-wrap: wrap; }
.ghost-link { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 2px solid rgba(255, 255, 255, .6); padding: 10px 0 2px; margin-left: 8px; }
.ghost-link:hover { border-color: #fff; }
.hero-proof { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; justify-self: end; width: min(100%, 470px); }
.hp-item { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 14px 16px 15px; border-radius: 20px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); }
.hp-item dd { margin: 0 0 4px; font-family: var(--display); font-size: clamp(24px, 1.6vw + 8px, 36px); line-height: 1; letter-spacing: -0.02em; }
.hp-item dt { font-size: 0.84rem; line-height: 1.3; font-weight: 500; opacity: .95; }
.js .hp-item { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(.9s + var(--i) * .08s); }
.js .hero.lit .hp-item { opacity: 1; transform: none; }
.stir-hint { position: absolute; z-index: 1; right: clamp(20px, 4.6vw, 76px); top: calc(clamp(20px, 3vw, 46px) + 46px); margin: 0; color: rgba(255, 255, 255, .8); font-size: 0.7rem; pointer-events: none; }
.hint-touch { display: none; }
@media (hover: none) { .hint-fine { display: none; } .hint-touch { display: inline; } }
.no-gl .stir-hint, .rm .stir-hint { display: none; }

/* ---------- marquee ---------- */
.marquee { display: flex; align-items: center; gap: 24px; padding: clamp(24px, 3.6vw, 44px) var(--gut); overflow: hidden; }
.marquee-label { flex: none; margin: 0; color: var(--muted); text-transform: uppercase; padding-left: clamp(0px, 3vw, 58px); }
.marquee-track { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-row { list-style: none; margin: 0; padding: 0; display: flex; flex: none; gap: 0; animation: marq 46s linear infinite; }
.marquee:hover .marquee-row { animation-play-state: paused; }
.marquee-row li { font-family: var(--display); font-size: clamp(20px, 2.4vw, 34px); letter-spacing: -0.01em; white-space: nowrap; padding: 0 28px; display: flex; align-items: center; gap: 10px; }
.marquee-row li::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: conic-gradient(from 0deg, var(--blue), var(--pink), var(--orange), var(--blue)); margin-left: 46px; flex: none; }
.marquee-row em { font-family: var(--sans); font-style: normal; font-weight: 500; color: var(--muted); font-size: 0.55em; letter-spacing: 0; }
@keyframes marq { to { transform: translateX(-100%); } }

/* ---------- shared blocks ---------- */
.block { padding: clamp(36px, 6vw, 90px) var(--gut); }
.giant { font-family: var(--display); font-weight: 400; margin: 0; font-size: clamp(40px, 13.2vw, 210px); line-height: .84; letter-spacing: -0.03em; text-transform: uppercase; }
.giant-center { text-align: center; }
.giant-light { color: #fff; }
.sec-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 2.6vw + 12px, 58px); line-height: 1; letter-spacing: -0.025em; }
.sec-title em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.sec-center { text-align: center; margin-top: clamp(18px, 2.4vw, 34px); }
.sec-light, .sec-light em { color: #fff; background: none; }
.sec-light em { display: inline-block; padding: 0 .16em; border-radius: .18em; background: #fff; color: var(--ink); -webkit-background-clip: border-box; background-clip: border-box; }
.split .ch { display: inline-block; transform: translateY(105%); opacity: 0; transition: transform .9s var(--ease), opacity .6s; transition-delay: calc(var(--i) * 45ms); }
.split .wd { display: inline-block; overflow: hidden; padding-bottom: .04em; vertical-align: top; }
.split.in .ch { transform: none; opacity: 1; }
.section-sub { text-align: center; color: var(--ink-2); max-width: 660px; margin: 20px auto 0; font-size: 1.05rem; }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* animated CSS mesh for secondary cards */
@property --mx { syntax: "<percentage>"; inherits: false; initial-value: 20%; }
@property --my { syntax: "<percentage>"; inherits: false; initial-value: 30%; }
@property --nx { syntax: "<percentage>"; inherits: false; initial-value: 80%; }
@property --ny { syntax: "<percentage>"; inherits: false; initial-value: 70%; }
.card-mesh { --c1: #7a2bd9; --c2: #ff3d7f; --c3: #ff6a1a; --c4: #3d4bff; --bg: #b05be8; position: relative; overflow: hidden; border-radius: var(--r); isolation: isolate;
  background: radial-gradient(55% 75% at var(--mx) var(--my), var(--c1), transparent 70%), radial-gradient(55% 70% at var(--nx) var(--ny), var(--c3), transparent 70%), radial-gradient(45% 60% at 80% 15%, var(--c2), transparent 70%), radial-gradient(50% 60% at 10% 95%, var(--c4), transparent 70%), var(--bg);
  animation: mesh 16s ease-in-out infinite alternate; }
.card-mesh::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .22; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes mesh { 0% { --mx: 18%; --my: 28%; --nx: 82%; --ny: 72%; } 50% { --mx: 40%; --my: 60%; --nx: 60%; --ny: 30%; } 100% { --mx: 24%; --my: 80%; --nx: 88%; --ny: 50%; } }

/* chips */
.chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-family: var(--mono); font-size: 0.74rem; line-height: 1; padding: 7px 10px; border-radius: 999px; background: var(--grey); color: var(--ink-2); white-space: nowrap; }
.chips-white li { background: rgba(255, 255, 255, .82); color: var(--ink); }
.chips-glass { margin: 0; justify-content: center; }
.chips-glass li { background: rgba(255, 255, 255, .2); color: #fff; border: 1px solid rgba(255, 255, 255, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* ---------- work ---------- */
.work { padding-top: clamp(20px, 3vw, 40px); padding-bottom: clamp(20px, 3vw, 44px); }
.estimate-note { text-align: center; color: var(--muted); margin: 14px auto clamp(34px, 5vw, 66px); max-width: 620px; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(30px, 3.4vw, 52px) clamp(18px, 2.2vw, 32px); max-width: 1300px; margin: 0 auto; }
.wcard { transform: perspective(1400px) rotateX(calc(var(--v) * -5deg)) skewY(calc(var(--v) * .8deg)); transform-origin: 50% 0; will-change: transform; min-width: 0; }
.wcard.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: center; }
.wmedia { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: clamp(18px, 3.4vw, 46px); }
.wcard.wide .wmedia { aspect-ratio: 16 / 10.5; }
.wmedia > * { position: relative; z-index: 1; }
.frame { width: 100%; border-radius: 16px; overflow: hidden; background: #111; box-shadow: 0 30px 60px -24px rgba(20, 0, 50, .6); transition: transform .7s var(--ease); }
.wcard:hover .frame { transform: translateY(-6px) scale(1.015); }
.frame video, .frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-video, .frame-shot { aspect-ratio: 16 / 9; }
.frame-phone { width: auto; height: 100%; max-height: 100%; aspect-ratio: 668 / 1416; border-radius: 30px; background: #0b0b10; padding: 6px; }
.frame-phone img { border-radius: 25px; }
.frame-browser { aspect-ratio: 16 / 11; background: #fff; display: flex; flex-direction: column; }
.bar { display: flex; gap: 6px; padding: 10px 12px; background: #ececf0; flex: none; }
.bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9c9d1; }
.scroller { flex: 1; background-image: var(--img); background-size: 100% auto; background-repeat: no-repeat; background-position: 50% 0%; animation: pagescroll 22s ease-in-out infinite alternate; animation-play-state: paused; }
.in-view .scroller { animation-play-state: running; }
@keyframes pagescroll { 0%, 8% { background-position: 50% 0%; } 92%, 100% { background-position: 50% 100%; } }
.wmedia .tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; max-width: calc(100% - 32px); }
.wmedia .tag-right { left: auto; right: 16px; max-width: 46%; text-align: right; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-size: 0.74rem; font-weight: 600; line-height: 1.2; }
.tag-glass { color: #fff; background: rgba(15, 10, 30, .42); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tag-btn { border: 0; cursor: pointer; background: #fff; color: var(--ink); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; padding: 12px 18px; min-height: 44px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); transition: transform .35s var(--ease); }
.tag-btn:hover { transform: translateY(-2px); }
.wbody { padding: 22px 6px 0; }
.wcard.wide .wbody { padding: 0; }
.wcard.wide.flip { grid-template-columns: 1fr 1.45fr; }
.wcard.wide.flip .wmedia { order: 2; }
.wtags { margin: 0 0 10px; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wtags .num { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 0.68rem; }
.wtags .status { color: var(--ink); font-weight: 500; }
.wbody h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(22px, 1.6vw + 12px, 36px); line-height: 1; letter-spacing: -0.02em; }
.wcard.wide h3, .feature h3 { font-size: clamp(28px, 2.6vw + 12px, 54px); }
.codename { font-family: var(--mono); text-transform: none; font-size: 0.32em; letter-spacing: 0; vertical-align: middle; color: var(--muted); white-space: nowrap; }
.role { margin: 0 0 12px !important; color: var(--muted) !important; }
.wbody p { margin: 0 0 10px; color: var(--ink-2); max-width: 600px; }
.wbody .lead { color: var(--ink); font-weight: 600; font-size: 1.06em; line-height: 1.4; }
.source { color: var(--muted) !important; }
.chips + .source { margin-top: 14px !important; }

/* metrics */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 22px; margin: 18px 0 14px; }
.metric { border-top: 2px solid var(--ink); padding-top: 9px; display: flex; flex-direction: column; min-width: 0; }
.metric dd { margin: 0; font-family: var(--display); font-size: clamp(22px, 1.3vw + 10px, 34px); line-height: 1.02; letter-spacing: -0.02em; order: -1; margin-bottom: 6px; }
.metric dt { font-size: 0.88rem; color: var(--ink-2); line-height: 1.35; }
.metric dd.est { order: 2; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0; line-height: 1.3; margin: 6px 0 0; color: var(--violet); display: inline-flex; gap: 6px; align-items: baseline; }
.metric dd.est::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); flex: none; transform: translateY(-1px); }
.metrics-big .metric dd { font-size: clamp(34px, 3vw + 10px, 64px); }

/* read more */
.more { margin: 4px 0 6px; border-top: 1px solid var(--line); }
.more summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: .02em; min-height: 44px; }
.more summary::-webkit-details-marker { display: none; }
.more-ico { width: 28px; height: 28px; border-radius: 50%; background: var(--grey); position: relative; flex: none; transition: transform .4s var(--ease), background .3s; }
.more-ico::before, .more-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease); }
.more-ico::after { transform: rotate(90deg); }
.more[open] .more-ico { transform: rotate(180deg); background: #e8e6f5; }
.more[open] .more-ico::after { transform: rotate(0deg); }
.more summary:hover .more-ico { background: #e8e6f5; }
.more p { margin: 0 0 14px; }

/* feature card: the scheduler */
.feature { grid-column: 1 / -1; }
.feature-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: center; }
.feature .wmedia { aspect-ratio: 16 / 11; }
.feature .wbody { padding: 0; }
.feature .wbody p { font-size: 0.98em; }
.feature .wbody .lead { font-size: 1.12em; }
.demo-note { color: var(--muted) !important; margin-top: 12px !important; }
.feature-band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 36px); margin-top: clamp(18px, 2.4vw, 30px); padding: clamp(20px, 2.6vw, 36px); border-radius: var(--r); background: var(--grey); }
.metrics-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; gap: 20px 26px; align-content: start; }
.cmp { background: #fff; border-radius: calc(var(--r) - 10px); padding: clamp(16px, 2vw, 26px); box-shadow: 0 20px 50px -34px rgba(30, 0, 70, .5); }
.cmp table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.cmp caption { text-align: left; font-family: var(--display); text-transform: uppercase; font-size: clamp(17px, 0.8vw + 11px, 22px); line-height: 1.1; letter-spacing: -0.01em; padding-bottom: 14px; }
.cmp th, .cmp td { padding: 11px 6px; border-top: 1px solid var(--line); text-align: right; vertical-align: baseline; }
.cmp thead th { border-top: 0; font-family: var(--mono); font-weight: 500; font-size: 0.72rem; text-transform: uppercase; color: var(--muted); padding-top: 0; }
.cmp th[scope="row"], .cmp thead th:first-child { text-align: left; font-weight: 500; color: var(--ink-2); }
.cmp td { font-family: var(--display); font-size: 1.15rem; color: var(--muted); white-space: nowrap; }
.cmp td.ours { color: var(--ink); }
.cmp td.ours::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); margin-right: 8px; vertical-align: middle; }
.cmp-note { margin: 12px 0 0; color: var(--muted); line-height: 1.45; }

/* text-led cards (no media yet) */
.text-led { place-items: center; }
.viz { width: 100%; max-width: 440px; }
.viz-layers { display: flex; flex-direction: column; align-items: center; gap: 0; }
.layer { width: 100%; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .38); box-shadow: 0 18px 40px -22px rgba(10, 0, 40, .7), inset 0 1px 0 rgba(255, 255, 255, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.l-top { width: 52%; }
.l-mid { width: 100%; }
.l-base { width: 84%; background: rgba(255, 255, 255, .9); }
.l-base .chips-glass li { background: var(--ink); border-color: var(--ink); }
.layer-big { font-family: var(--display); font-size: clamp(22px, 2vw, 32px); line-height: 1; color: var(--ink); letter-spacing: -0.02em; text-transform: uppercase; }
.wire { position: relative; width: 2px; height: clamp(14px, 2vw, 26px); background: rgba(255, 255, 255, .65); }
.wire i { position: absolute; left: -3px; top: 0; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px #fff; animation: wire 2.2s var(--ease) infinite; }
.wire + .layer + .wire i { animation-delay: 1.1s; }
@keyframes wire { 0% { transform: translateY(-4px); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(calc(clamp(14px, 2vw, 26px) - 4px)); opacity: 0; } }
.viz-flow { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; text-align: center; }
.flow-big { font-family: var(--display); font-size: clamp(36px, 3.6vw + 8px, 72px); line-height: .95; letter-spacing: -0.03em; color: #fff; text-transform: uppercase; text-shadow: 0 10px 40px rgba(40, 0, 70, .35); }
.flow-arrow { transform: rotate(90deg); margin: 14px 0; position: relative; width: clamp(34px, 4vw, 56px); height: 3px; background: rgba(255, 255, 255, .85); border-radius: 2px; }
.flow-arrow::after { content: ""; position: absolute; right: -1px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-right: 3px solid #fff; border-top: 3px solid #fff; transform: rotate(45deg); }
.flow-arrow i { position: absolute; inset: -3px auto -3px 0; width: 10px; border-radius: 3px; background: #fff; animation: flowrun 1.8s var(--ease) infinite; }
@keyframes flowrun { from { transform: translateX(0); opacity: 1; } to { transform: translateX(calc(clamp(34px, 4vw, 56px) - 10px)); opacity: 0; } }
.flow-chips { margin-top: 18px; }
.js .flow-chips li { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: calc(.2s + var(--i) * .09s); }
.js .in-view .flow-chips li, .js .seen .flow-chips li { opacity: 1; transform: none; }
.viz-tree { max-width: 460px; height: auto; overflow: visible; }
.tree-links path { stroke: rgba(255, 255, 255, .8); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .tree-links path { stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease); }
.js .seen .tree-links path { stroke-dashoffset: 0; }
.tree-nodes .n { stroke: #fff; stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.js .tree-nodes .n { transform: scale(0); transition: transform .6s var(--ease); }
.js .seen .tree-nodes .n { transform: none; }
.js .seen .tree-nodes .n:nth-child(n+2) { transition-delay: .35s; }
.js .seen .tree-nodes .n:nth-child(n+6) { transition-delay: .7s; }
.js .seen .tree-nodes .n:nth-child(n+15) { transition-delay: 1s; }
.n0 { fill: #0b0b10; } .n1 { fill: #3d4bff; } .n2 { fill: #ff3d7f; } .n3 { fill: #ff6a1a; } .n4 { fill: #7a2bd9; }
.viz-tree:hover .n { filter: brightness(1.15); }

/* compact 7th project: one line */
.next { max-width: 1300px; margin: clamp(30px, 4vw, 56px) auto 0; padding: 16px 22px; border-radius: 999px; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; border: 2px solid transparent; font-size: 1rem; line-height: 1.4; color: var(--ink-2); }
.next b { color: var(--ink); font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: -0.01em; }
.next-k { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; color: var(--violet); margin-right: 8px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(255, 61, 127, .6); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(255, 61, 127, 0); } }

.mesh-a { --c1: #3d4bff; --c2: #ff3d7f; --c3: #ff6a1a; --c4: #7a2bd9; --bg: #8a3df0; }
.mesh-b { --c1: #1f2a8a; --c2: #3d4bff; --c3: #12b886; --c4: #0b0b10; --bg: #26307a; }
.mesh-c { --c1: #ff6a1a; --c2: #ffc23d; --c3: #ff3b2f; --c4: #ff3d7f; --bg: #ff7a3a; }
.mesh-d { --c1: #7fd3ff; --c2: #c8a6ff; --c3: #3d8bff; --c4: #ffd6ec; --bg: #9fc3ff; }
.mesh-e { --c1: #0b0b10; --c2: #ff3b2f; --c3: #ff6a1a; --c4: #3a1020; --bg: #1a0f14; }
.mesh-f { --c1: #ffd23d; --c2: #ff9a3d; --c3: #ffea9a; --c4: #ffb13d; --bg: #ffc94d; }
.mesh-g { --c1: #3d4bff; --c2: #12b8c9; --c3: #2b1fa8; --c4: #0b0b40; --bg: #2c39c9; }
.mesh-h { --c1: #12b886; --c2: #3d8bff; --c3: #0d7a6a; --c4: #6be0b4; --bg: #1a9c8c; }

/* ---------- about ---------- */
.mesh-about { --c1: #a24df0; --c2: #ffb3d1; --c3: #ff5a3c; --c4: #9a4bf2; --bg: #c36fe0; }
.about { padding: clamp(28px, 5vw, 72px) clamp(20px, 5vw, 76px); }
.about > * { position: relative; z-index: 1; }
.about .giant { color: var(--ink); }
.about .sec-title { margin-bottom: 22px; }
.about .sec-title em { background: none; color: #fff; -webkit-text-stroke: 0; text-shadow: 0 2px 30px rgba(60, 0, 90, .3); }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(28px, 4vw, 56px); }
.about-copy p { margin: 0 0 16px; max-width: 580px; font-size: clamp(16px, 0.5vw + 14px, 19px); color: #17121f; }
.about-copy .about-lead { font-size: clamp(19px, 0.9vw + 13px, 26px); line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.highlights { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; max-width: 580px; }
.highlights li { padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 0.98rem; color: #17121f; }
.highlights b { font-weight: 800; color: var(--ink); }
.idcard-stage { perspective: 1100px; display: flex; justify-content: flex-end; }
.idcard { width: min(100%, 420px); background: rgba(255, 255, 255, .92); border-radius: 26px; padding: 26px 26px 22px; box-shadow: 0 40px 80px -30px rgba(40, 0, 70, .55), inset 0 0 0 1px rgba(255, 255, 255, .7); transform: rotate(-4deg) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: transform .5s var(--ease); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.id-top { display: flex; justify-content: space-between; align-items: center; }
.id-disc { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--display); font-size: 20px; background: conic-gradient(from 200deg, #3d4bff, #7a2bd9, #ff3d7f, #ff6a1a, #3d4bff); animation: spin 9s linear infinite; }
.id-kind { text-transform: uppercase; color: var(--muted); }
@keyframes spin { to { filter: hue-rotate(360deg); } }
.id-name { font-family: var(--display); font-size: clamp(26px, 2.4vw, 34px); line-height: 1; margin: 20px 0 16px; letter-spacing: -0.02em; text-transform: uppercase; }
.id-list { margin: 0; display: grid; gap: 0; }
.id-list div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px dashed #cfcfd8; font-size: 0.93rem; }
.id-list dt { color: var(--muted); white-space: nowrap; }
.id-list dd { margin: 0; font-weight: 700; text-align: right; }
.id-mail { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #cfcfd8; color: var(--ink-2); }
.id-mail a { text-decoration: none; }
.id-mail a:hover { text-decoration: underline; }
.stack-panel { margin-top: clamp(30px, 4vw, 56px); padding: clamp(18px, 2.4vw, 30px); border-radius: calc(var(--r) - 8px); background: rgba(255, 255, 255, .38); border: 1px solid rgba(255, 255, 255, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.stack-h { margin: 0 0 14px; text-transform: uppercase; color: var(--ink); font-weight: 500; font-size: 0.8rem; }
.stack-groups { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 26px; }
.stack-groups dt { font-weight: 800; font-size: 0.9rem; margin-bottom: 8px; }
.stack-groups dd { margin: 0; }
.stack-groups .chips { margin: 0; }
.edu { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid rgba(11, 11, 16, .18); color: var(--ink); }

/* ---------- experience ---------- */
.mesh-process { --c1: #3d4bff; --c2: #ff3d7f; --c3: #ff6a1a; --c4: #5a2bd9; --bg: #8a3a9c; }
.process { padding: clamp(32px, 5.4vw, 90px) clamp(18px, 5vw, 80px); }
.process > * { position: relative; z-index: 1; }
.exp-giant { font-size: clamp(34px, 9.6vw, 156px); }
.exp-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px 40px; margin-top: clamp(24px, 3.6vw, 50px); color: #fff; }
.exp-meta { text-align: right; }
.exp-meta p { margin: 0; }
.exp-role { font-weight: 800; font-size: 1.15rem; }
.exp-meta .mono { opacity: .92; }
.exp-note { max-width: 420px; margin-left: auto !important; margin-top: 4px !important; }
.steps { list-style: none; margin: clamp(26px, 4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.step { align-self: start; background: rgba(255, 255, 255, .95); border-radius: 22px; padding: clamp(18px, 1.8vw, 26px); box-shadow: 0 30px 60px -30px rgba(30, 0, 60, .5); }
.step:nth-child(3n+2) { transition-delay: .08s; margin-top: clamp(0px, 2.4vw, 36px); } .step:nth-child(3n) { transition-delay: .16s; margin-top: clamp(0px, 4.8vw, 72px); }
.step-n { display: inline-grid; place-items: center; min-width: 46px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--grey); font-family: var(--display); font-size: 16px; }
.step p { margin: 14px 0 0; color: var(--ink); font-size: 1rem; font-weight: 500; line-height: 1.42; }

/* ---------- freelance (second door) ---------- */
.services { background: var(--grey); border-radius: var(--r); padding: clamp(32px, 5.4vw, 90px) clamp(18px, 5vw, 90px); position: relative; overflow: hidden; }
.services::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 60% at 0% 50%, rgba(0, 0, 0, .05), transparent 70%), radial-gradient(40% 60% at 100% 50%, rgba(0, 0, 0, .05), transparent 70%); pointer-events: none; }
.services > * { position: relative; }
.fl-eyebrow { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 18px; text-transform: uppercase; color: var(--ink-2); }
.fl-title { font-size: clamp(36px, 8.4vw, 140px); line-height: .9; text-transform: uppercase; }
.fl-title em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub-h { margin: clamp(34px, 5vw, 70px) 0 0; text-transform: uppercase; color: var(--muted); font-weight: 500; font-size: 0.8rem; display: flex; align-items: center; gap: 14px; }
.sub-h::after { content: ""; flex: 1; height: 1px; background: #c9c9d2; }
.acc { list-style: none; margin: 8px 0 0; padding: 0; }
.acc-item { border-bottom: 1px solid #c9c9d2; }
.acc-item h3, .acc-item h4 { margin: 0; }
.acc-btn { width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(14px, 2.4vw, 34px); padding: clamp(14px, 1.8vw, 24px) 0; background: none; border: 0; cursor: pointer; text-align: left; }
.acc-num { display: inline-flex; }
.sk { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 3px solid #fff; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .35); transition: transform .4s var(--ease); }
.sk svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.acc-btn:hover .sk { transform: rotate(-10deg) scale(1.06); }
.sk-web { background: linear-gradient(135deg, #3d4bff, #7a2bd9); }
.sk-soft { background: linear-gradient(135deg, #111, #3a3a46); }
.sk-app { background: linear-gradient(135deg, #ff3d7f, #b02cc9); }
.sk-auto { background: linear-gradient(135deg, #ff6a1a, #ff3b2f); }
.sk-seo { background: linear-gradient(135deg, #12b886, #3d4bff); }
.acc-title { font-family: var(--display); text-transform: uppercase; font-size: clamp(24px, 2.8vw + 8px, 52px); line-height: 1; letter-spacing: -0.025em; transition: transform .5s var(--ease); }
.acc-btn:hover .acc-title { transform: translateX(10px); }
.acc-ico { width: 50px; height: 50px; border-radius: 50%; background: var(--ink); position: relative; flex: none; transition: transform .5s var(--ease), background .4s; }
.acc-ico::before, .acc-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2.6px; margin: -1.3px 0 0 -8px; background: #fff; border-radius: 2px; transition: transform .5s var(--ease); }
.acc-ico::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-ico { transform: rotate(180deg); background: linear-gradient(135deg, var(--blue), var(--pink) 60%, var(--orange)); }
.acc-btn[aria-expanded="true"] .acc-ico::after { transform: rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-item:not(.open) .acc-panel > div { visibility: hidden; transition: visibility 0s .55s; }
.acc-panel p { margin: 0 0 10px; font-size: clamp(17px, 0.6vw + 13px, 22px); max-width: 760px; font-weight: 500; }
.acc .acc-panel > div > :last-child { margin-bottom: clamp(18px, 2.2vw, 28px); }
#svc .acc-panel > div { padding-left: calc(48px + clamp(14px, 2.4vw, 34px)); }
.acc-proof { color: var(--ink-2); font-size: 0.85rem !important; }
.acc-proof a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--pink); }
.proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(30px, 3.4vw, 48px) clamp(18px, 2.2vw, 32px); margin-top: clamp(20px, 2.6vw, 34px); }
.proof .wbody h3 { text-transform: none; }
.proof.wide .wbody h3 { font-size: clamp(34px, 3.4vw + 12px, 72px); }
.frame-mini { position: absolute !important; right: 9%; bottom: 7%; width: 22%; aspect-ratio: 520 / 1125; border-radius: 16px; padding: 4px; background: #0b0b10; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .6); }
.frame-mini img { border-radius: 12px; }
.proof .frame-browser { width: 88%; margin-right: 10%; }
.wcard:hover .frame-mini { transform: translateY(-12px) rotate(2deg); }
.chart { margin: 0; width: 100%; padding: clamp(16px, 2vw, 26px); border-radius: 20px; background: rgba(15, 8, 40, .3); border: 1px solid rgba(255, 255, 255, .3); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.chart figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-weight: 700; font-size: 0.92rem; margin-bottom: 12px; }
.chart figcaption .mono { font-weight: 400; opacity: .85; }
.chart-svg { display: block; width: 100%; height: clamp(150px, 18vw, 250px); overflow: visible; }
.chart-svg .grid line { stroke: rgba(255, 255, 255, .22); stroke-width: 1; }
.chart-svg text { fill: rgba(255, 255, 255, .85); font-family: var(--mono); font-size: 11px; }
.chart-svg .area { fill: url(#chartFill); }
.chart-svg .line { fill: none; stroke: #fff; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 4px 10px rgba(30, 0, 60, .35)); }
.js .chart-svg .line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--ease); }
.js .chart-svg .area { opacity: 0; transition: opacity 1.2s .9s; }
.js .seen .chart-svg .line { stroke-dashoffset: 0; }
.js .seen .chart-svg .area { opacity: 1; }
.fl-cta { margin-top: clamp(40px, 5vw, 72px); display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.fl-cta p { margin: 0; max-width: 520px; color: var(--ink-2); }

/* ---------- faq ---------- */
.faq { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 70px); align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-head .sec-title { margin-top: 18px; font-size: clamp(24px, 1.6vw + 12px, 40px); }
.acc-faq { margin: 0; }
.acc-faq .acc-item { border: 0; background: var(--grey); border-radius: 22px; margin-bottom: 12px; padding: 0 clamp(18px, 2.2vw, 30px); transition: background .4s; }
.acc-faq .acc-item.open { background: #e8e6f5; }
.acc-faq .acc-btn { grid-template-columns: 1fr auto; }
.acc-faq .acc-title { font-family: var(--sans); font-weight: 700; text-transform: none; font-size: clamp(18px, 0.6vw + 14px, 23px); letter-spacing: -0.01em; line-height: 1.25; }
.acc-faq .acc-btn:hover .acc-title { transform: none; }
.acc-faq .acc-ico { width: 42px; height: 42px; }
.acc-faq .acc-panel p { font-size: 1.02rem; color: var(--ink-2); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(20px, 3vw, 44px); padding: clamp(26px, 4.2vw, 64px); min-height: 620px; }
.contact-left { position: relative; z-index: 1; color: #fff; display: flex; flex-direction: column; gap: 22px; pointer-events: none; }
.contact-left > * { pointer-events: auto; }
.glass-sm { --gfs: clamp(64px, 12vw, 190px); }
.contact-lede { margin: auto 0 0; font-size: clamp(17px, 0.8vw + 12px, 22px); font-weight: 600; max-width: 480px; text-shadow: 0 1px 18px rgba(20, 10, 80, .3); }
.contact-mail { font-family: var(--display); font-size: clamp(19px, 2.2vw, 34px); letter-spacing: -0.01em; text-decoration: none; color: #fff; overflow-wrap: anywhere; background: linear-gradient(#fff, #fff) 0 100% / 0 3px no-repeat; transition: background-size .5s var(--ease); align-self: flex-start; }
.contact-mail:hover { background-size: 100% 3px; }
.contact-card { position: relative; z-index: 1; background: #fff; border-radius: calc(var(--r) - 6px); padding: clamp(22px, 3vw, 44px); align-self: center; box-shadow: 0 40px 80px -30px rgba(10, 0, 40, .55); }
.cc-name { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 2.4vw, 40px); line-height: 1; letter-spacing: -0.02em; }
.cc-role { margin: 10px 0 22px; color: var(--muted); }
.cc-actions { display: grid; gap: 10px; }
.cc-actions .pill { text-transform: none; font-size: 0.95rem; letter-spacing: 0; }
.copy-btn { display: block; margin: 10px auto 0; background: none; border: 0; cursor: pointer; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; padding: 8px; min-height: 44px; }
.cc-free { margin: 14px 0 0; padding-top: 16px; border-top: 1px solid var(--line); text-align: center; color: var(--ink-2); }
.cc-free a { font-weight: 800; color: var(--ink); text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 24px; padding: 30px var(--gut) 96px; color: var(--muted); font-size: 0.92rem; }
.foot p { margin: 0; }
.foot-note { flex-basis: 100%; order: 5; font-size: 0.85rem; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }
.foot-links a { color: var(--ink); font-weight: 600; text-decoration-color: var(--line); text-underline-offset: 3px; }

/* ---------- floating second-door pill ---------- */
.ready-pill { position: fixed; left: auto; right: var(--gut); bottom: var(--ts-bottom); z-index: 50; display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 9px; border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: 0 20px 50px -18px rgba(20, 0, 60, .45), 0 0 0 1px rgba(0, 0, 0, .06); text-decoration: none; font-weight: 700; transform: translateY(160%); opacity: 0; visibility: hidden; transition: transform .6s var(--ease), opacity .4s, visibility 0s .6s; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); white-space: nowrap; }
.ready-pill.show { transform: none; opacity: 1; visibility: visible; transition: transform .6s var(--ease), opacity .4s, visibility 0s; }
.rp-stack { display: flex; }
.rp-stack i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; margin-left: -9px; display: block; }
.rp-stack i:first-child { margin-left: 0; }
.rp-go { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border-radius: 999px; padding: 0 16px; min-height: 36px; font-size: 0.76rem; text-transform: uppercase; letter-spacing: .02em; font-weight: 800; }

/* ---------- demo dialog ---------- */
.demo { width: min(1100px, 94vw); height: min(760px, 86vh); padding: 0; border: 0; border-radius: 24px; overflow: hidden; background: #0b0b10; color: #fff; }
.demo::backdrop { background: rgba(10, 6, 30, .6); backdrop-filter: blur(6px); }
.demo[open] { display: flex; flex-direction: column; }
.demo-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 10px 10px 20px; }
.demo-head p { margin: 0; font-size: 0.92rem; }
.demo-head .mono { color: #b5b5c4; margin-left: 8px; }
.demo-close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; flex: none; }
.demo iframe { flex: 1; width: 100%; border: 0; background: #1b1b22; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; position: absolute; top: calc(100% + 6px); left: var(--gut); right: var(--gut); flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-radius: 22px; padding: 10px 20px 16px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .3); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav-links .nav-hire { margin: 12px 0 0; text-align: center; border-bottom: 2px solid transparent; }
  .menu-btn { display: block; }
  .hero-foot { grid-template-columns: 1fr; align-items: start; }
  .hero-proof { justify-self: start; width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(n) { margin-top: 0; }
  .step:nth-child(even) { margin-top: 30px; }
  .contact { grid-template-columns: 1fr; }
  .contact-lede { margin-top: 8px; }
  .faq { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .feature-top, .feature-band { grid-template-columns: 1fr; }
  .stack-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exp-head { grid-template-columns: 1fr; }
  .exp-meta { text-align: left; }
  .exp-note { margin-left: 0 !important; }
}
@media (max-width: 860px) {
  .work-grid, .proof-grid { grid-template-columns: 1fr; }
  .wcard.wide { display: block; }
  .wcard.wide .wbody { padding: 22px 6px 0; }
  .feature .wbody { padding: 22px 6px 0; }
  .wcard.wide.flip .wmedia { order: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .idcard-stage { justify-content: center; }
  .hero-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  :root { --ts-left: 12px; --ts-bottom: 12px; }
  .nav { padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .pill-resume { min-height: 44px; padding: 0 16px; }
  .hero { min-height: 0; }
  .hero-inner { min-height: 0; gap: 20px; padding-bottom: 46px; }
  .hero .giant-glass { margin: 26px 0 18px; padding: 0; }
  .hero-news { font-size: 0.8rem; }
  .stir-hint { top: auto; bottom: 14px; right: 20px; left: 20px; text-align: center; }
  .hero-lede { font-size: 16px; }
  .ghost-link { margin-left: 4px; }
  .hp-item { padding: 12px 12px 13px; border-radius: 16px; }
  .hp-item dt { font-size: 0.78rem; }
  .marquee { flex-direction: column; align-items: flex-start; gap: 10px; }
  .marquee-label { padding-left: 4px; }
  .marquee-track { width: 100%; }
  .wmedia { aspect-ratio: 1 / 1; padding: 18px; }
  .wcard.wide .wmedia { aspect-ratio: 1 / 1; }
  .feature .wmedia { aspect-ratio: 4 / 3.4; }
  .proof-chart .wmedia { aspect-ratio: auto; }
  .wmedia .tag-right { display: none; }
  .metrics-4 { grid-template-columns: 1fr 1fr; gap: 16px; }
  .metrics { grid-template-columns: 1fr 1fr; gap: 14px 16px; }
  .cmp th, .cmp td { padding: 10px 3px; }
  .cmp table { font-size: 0.86rem; }
  .cmp td { font-size: 1rem; }
  .stack-groups { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(even) { margin-top: 0; }
  .sk { width: 40px; height: 40px; }
  .sk svg { width: 17px; height: 17px; }
  #svc .acc-panel > div { padding-left: 0; }
  .acc-ico { width: 40px; height: 40px; }
  .contact { padding: 22px 18px; min-height: 0; }
  .next { border-radius: 24px; }
  .next-k { display: flex; margin: 0 0 4px; }
  .rp-stack { display: none; }
  .ready-pill { right: 12px; padding: 4px; }
  .rp-go { min-height: 36px; padding: 0 14px; font-size: 0.72rem; }
  .foot { padding-bottom: 84px; }
  .frame-mini { width: 26%; }
}
@media (max-width: 380px) {
  .rp-go { padding: 0 12px; font-size: 0.66rem; letter-spacing: 0; }
  .rp-go .chev { display: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal, .split .ch, .js .hl > span, .js .hp-item, .js .flow-chips li { opacity: 1 !important; transform: none !important; }
  .js .tree-links path { stroke-dashoffset: 0 !important; }
  .js .tree-nodes .n { transform: none !important; }
  .js .chart-svg .line { stroke-dashoffset: 0 !important; }
  .js .chart-svg .area { opacity: 1 !important; }
  .wcard, .hero { transform: none !important; }
  .marquee-row { animation: none !important; }
  .marquee-track { flex-wrap: wrap; mask-image: none; -webkit-mask-image: none; }
  .marquee-row[aria-hidden] { display: none; }
  .marquee-row { flex-wrap: wrap; row-gap: 8px; flex: 1 1 auto; }
  .scroller { animation: none !important; }
  .wire i, .flow-arrow i, .pulse { animation: none !important; opacity: 0; }
}
.card-liquid :focus-visible, .card-mesh :focus-visible, .process :focus-visible { outline-color: #fff; }

/* ---------- 2026-11-02: thai.tattoo card (film in the large landscape slot, curve in a portrait panel) ---------- */
.wcard.wide.proof-chart { grid-template-columns: minmax(0, 1.62fr) minmax(0, .74fr); grid-template-areas: "copy copy" "film curve"; align-items: stretch; gap: clamp(18px, 2.4vw, 30px); }
.wcard.wide.proof-chart:not(.has-film) { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-areas: "copy curve"; }
.proof-chart .wbody { grid-area: copy; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 8px clamp(20px, 3.4vw, 56px); align-items: end; }
.proof-chart .pc-nums .metrics { margin-top: 0; }
.wcard.wide.proof-chart .pc-film { grid-area: film; aspect-ratio: auto; padding: clamp(14px, 2.2vw, 30px); place-items: center; }
.pc-film .rs-film { margin: 0; width: 100%; max-width: none; --ml-radius: 16px; }
.pc-film .rs-film video { box-shadow: 0 30px 60px -24px rgba(5, 10, 40, .7); }
.pc-film .rs-film figcaption { color: #fff; opacity: .88; }
.wcard.wide.proof-chart .pc-curve { grid-area: curve; aspect-ratio: auto; padding: clamp(10px, 1.2vw, 16px); place-items: stretch; min-height: 380px; }
.pc-curve .chart { display: flex; flex-direction: column; height: 100%; }
.pc-curve .chart figcaption { flex-direction: column; gap: 2px; margin-bottom: 8px; }
.pc-curve .chart-svg { flex: 1 1 0; height: auto; min-height: 260px; }
.wmedia.pc-curve .tag { position: static; align-self: flex-start; max-width: none; margin: 12px 0 0; }
/* the film sets the row height; the curve panel adds no height of its own and stretches to match */
@media (min-width: 861px) { .wcard.wide.proof-chart.has-film .pc-curve { contain: size; } }
.fl-cta .fl-mail { font-size: .92rem; }
.fl-cta .fl-mail a { color: var(--ink); font-weight: 700; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 1000px) {
  .proof-chart .wbody { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .wcard.wide.proof-chart, .wcard.wide.proof-chart:not(.has-film) { display: grid; grid-template-columns: 1fr; grid-template-areas: "copy" "film" "curve"; }
  .wcard.wide.proof-chart .wbody { padding: 0 6px; }
  .wcard.wide.proof-chart .pc-curve { min-height: 0; aspect-ratio: 4 / 5; max-height: 560px; }
}

/* ---------- 2026-11-02: contact (email + LinkedIn side by side, two-mode form in the white card) ---------- */
.contact-reach { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 22px; }
.contact-li { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: clamp(16px, 1.1vw + 8px, 22px); color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; min-height: 44px; }
.contact-more { display: flex; flex-wrap: wrap; gap: 10px; }
.reach-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .5); background: rgba(15, 10, 30, .32); color: #fff; font: 600 .9rem/1 var(--sans); text-decoration: none; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.reach-pill:hover { background: rgba(15, 10, 30, .5); }
.reach-pill.copy-btn { display: inline-flex; margin: 0; text-decoration: none; color: #fff; }
.contact-card .cc-role { margin-bottom: 18px; }
.contact-card .cf { --cf-ink: var(--ink); --cf-muted: var(--muted); --cf-field: var(--grey); --cf-line: var(--line); --cf-accent: var(--violet); --cf-btn: var(--ink); --cf-radius: 14px; --cf-display: var(--display); }
.contact-card .cf-title { display: none; }
.contact-card .cf-opt input:checked + span { background: var(--ink); color: #fff; }
.contact-card .cf-submit:hover { box-shadow: 0 10px 30px -8px rgba(61, 75, 255, .55); }
.contact-card .cf-switch-btn { text-decoration-color: var(--pink); }
.contact-card .cf :focus-visible, .contact-card .cf :focus { outline-color: var(--violet); }

/* ---------- 2026-11-03: Radiant interactive app (shared/radiant-app.html/.css/.js) ---------- */
.wmedia.ra-host, .wcard.wide .wmedia.ra-host { aspect-ratio: auto; padding: clamp(22px, 3.4vw, 46px) clamp(14px, 3vw, 46px); }
.ra-host .ra { --ra-bezel: #0b0b10; --ra-accent: var(--violet); --ra-shadow: 0 30px 60px -24px rgba(20, 0, 50, .6); }
.ra-host .ra-cap { max-width: none; padding: 7px 12px; border-radius: 999px; font-size: 0.74rem; font-weight: 600; line-height: 1.2; color: #fff; background: rgba(15, 10, 30, .42); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
