/* CutMonk v3 — light studio. Pattern study: mdx.so (layout rhythm, type contrast, motion), rebuilt for a video agency.
   Layout: pinned 3D hero → centered statements → showreel → services sphere → black work grid → contact card → black footer. */
:root {
  --bg: #FFFFFF;
  --mist: #E8EAED;
  --mist-2: #F3F4F5;
  --ink: #101820;
  --ink-2: #1A222B;
  --muted: #5B6871;
  --neutral: #8A8F8D;
  --line: rgba(16, 24, 32, 0.12);
  --line-2: rgba(16, 24, 32, 0.22);
  --peach: #FFC59A;
  --peach-2: #FFE4CF;
  --ember: #FF5A1F;
  --ember-2: #FF8A3D;
  --black: #000000;
  --on-black: #F4F2EF;
  --on-black-2: #8B8E92;

  --display: 'Syne', 'Arial', system-ui, sans-serif;
  --body: 'Manrope', 'Segoe UI', system-ui, sans-serif;

  --gutter: clamp(16px, 2.6vw, 44px);
  --ease: cubic-bezier(0.65, 0.05, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, video, svg { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
::selection { background: var(--ember); color: #fff; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 8px; }

/* ---------- Type ---------- */
.h-xl, .h-lg, .h-md { font-family: var(--display); font-weight: 400; margin: 0; letter-spacing: -0.035em; text-wrap: balance; }
.h-xl { font-size: clamp(2.6rem, 5.6vw, 6.6rem); line-height: 1.04; }
.h-lg { font-size: clamp(2.1rem, 4.2vw, 4.8rem); line-height: 1.06; }
.h-md { font-size: clamp(1.7rem, 2.6vw, 2.9rem); line-height: 1.08; }
.h-xl b, .h-lg b, .h-md b { font-weight: 700; letter-spacing: -0.045em; }
.h-xl .soft, .h-lg .soft, .h-md .soft, .soft { color: var(--neutral); }
.sub { color: var(--muted); font-size: clamp(0.92rem, 1.05vw, 1.05rem); line-height: 1.45; margin: 0; max-width: 44ch; }
.sub b { color: var(--ink); font-weight: 500; }
.center { text-align: center; margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 0.82rem; color: var(--ember); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }
.wrap { width: 100%; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.pill-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer; background: var(--ink); color: #fff; font-family: var(--body); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; box-shadow: 0 14px 30px -14px rgba(16, 24, 32, 0.55); transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out); overflow: hidden; }
.pill-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(16, 24, 32, 0.6); }
.pill-btn .arr { color: var(--ember-2); font-size: 1rem; transition: transform 0.5s var(--ease-out); }
.pill-btn:hover .arr { transform: translate(2px, -2px); }
.pill-btn.light { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.ghost-pill { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.ghost-pill .dot-arr { width: 26px; height: 26px; margin-right: -12px; border-radius: 50%; background: currentColor; display: grid; place-items: center; }
.ghost-pill .dot-arr i { color: var(--black); font-style: normal; font-size: 0.8rem; }
/* Rolling characters on hover (each char is wrapped by JS) */
.roll { display: inline-flex; overflow: hidden; line-height: 1.2; }
.roll .ch { display: inline-block; position: relative; transition: transform 0.55s var(--ease); white-space: pre; }
.roll .ch::after { content: attr(data-c); position: absolute; left: 0; top: 100%; }
a:hover .roll .ch, button:hover .roll .ch { transform: translateY(-100%); }

/* ---------- Header ---------- */
.hdr { position: fixed; z-index: 60; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gutter); pointer-events: none; transition: color 0.4s; }
.hdr > * { pointer-events: auto; }
.hdr-left, .hdr-right { display: flex; align-items: center; gap: 18px; }
.logo { display: flex; align-items: center; gap: 8px; }
.logo svg { width: 26px; height: 26px; }
.logo span { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em; text-transform: lowercase; }
.vbar { width: 1px; height: 14px; background: currentColor; opacity: 0.6; }
.circle-btn { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.5); box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); }
.circle-btn i { width: 10px; height: 1px; background: currentColor; transition: transform 0.4s var(--ease); }
.circle-btn:hover i { transform: scaleX(1.5); }
.talk-link { font-size: 1.02rem; display: inline-flex; align-items: center; gap: 4px; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.talk-link .arr { color: var(--ember); }
.burger { width: 34px; height: 20px; border: 0; background: none; position: relative; cursor: pointer; }
.burger i { position: absolute; right: 0; height: 1.5px; background: currentColor; transition: width 0.5s var(--ease); }
.burger i:first-child { top: 6px; width: 34px; }
.burger i:last-child { top: 13px; width: 24px; }
.burger:hover i:last-child { width: 34px; }
body.on-dark .hdr { color: var(--on-black); }
body.on-dark .circle-btn { background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25); }

/* ---------- Menu (frosted panel) ---------- */
.menu { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; pointer-events: none; }
.menu-scrim { position: absolute; inset: 0; background: rgba(16, 24, 32, 0.12); opacity: 0; transition: opacity 0.6s var(--ease); }
.menu-panel { position: relative; width: min(1120px, calc(100% - 32px)); min-height: min(620px, calc(100svh - 80px)); border-radius: 26px; background: rgba(236, 233, 228, 0.62); backdrop-filter: blur(28px) saturate(1.3); -webkit-backdrop-filter: blur(28px) saturate(1.3); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5), 0 40px 120px -40px rgba(16,24,32,0.45); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; clip-path: inset(0 0 100% 0 round 26px); transition: clip-path 0.9s var(--ease); overflow: hidden; }
.menu.open { pointer-events: auto; }
.menu.open .menu-scrim { opacity: 1; }
.menu.open .menu-panel { clip-path: inset(0 0 0% 0 round 26px); }
.menu-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255,255,255,0.55); cursor: pointer; font-size: 1.4rem; }
.menu-title { font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2.3rem); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 30px; }
.menu-label { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.menu-nav { display: flex; flex-direction: column; gap: 4px; }
.menu-nav a { font-family: var(--display); font-size: clamp(1.3rem, 1.9vw, 1.9rem); letter-spacing: -0.02em; opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out), color 0.3s; }
.menu-nav a:hover { color: var(--ember); }
.menu-nav a.current::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); margin: 0 10px 0.3em -16px; }
.menu.open .menu-nav a { opacity: 1; transform: none; }
.menu-nav.arc a:nth-child(1) { margin-left: 22px; } .menu-nav.arc a:nth-child(2) { margin-left: 14px; } .menu-nav.arc a:nth-child(3) { margin-left: 8px; } .menu-nav.arc a:nth-child(4) { margin-left: 4px; }
.menu-foot { grid-column: 1 / -1; align-self: end; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.75rem; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); }
.menu-mark { position: absolute; left: 0; right: 0; bottom: 30px; text-align: center; font-family: var(--display); font-weight: 800; font-size: 17vw; line-height: 0.8; letter-spacing: -0.05em; color: rgba(255,255,255,0.35); pointer-events: none; z-index: -1; }

/* ---------- Hero (pinned, 3D frosted sequence) ---------- */
.hero { position: relative; height: 420vh; }
.hero-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; background: radial-gradient(70% 60% at 50% 40%, #F4F5F6 0%, #E4E7EA 70%, #DADDE1 100%); }
#hero3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-glow { position: absolute; left: 50%; top: 46%; width: 46vmin; height: 46vmin; margin: -23vmin 0 0 -23vmin; border-radius: 50%; background: radial-gradient(circle, rgba(255,180,120,0.95) 0%, rgba(255,200,160,0.5) 35%, rgba(255,220,200,0) 70%); filter: blur(10px); pointer-events: none; }
body.has-3d .hero-glow { display: none; }
.hero-copy { position: absolute; left: var(--gutter); bottom: max(5vh, 34px); z-index: 2; width: min(46rem, 56vw); }
.hero-copy .h-hero { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 3.4vw, 3.6rem); line-height: 1.08; letter-spacing: -0.035em; margin: 0 0 14px; }
.hero-copy .h-hero b { font-weight: 700; }
.hero-copy .sub { margin-bottom: 22px; }
.hero-side { position: absolute; right: var(--gutter); bottom: max(5vh, 34px); z-index: 2; width: min(25rem, 34vw); }
.hero-side p { margin: 0 0 14px; font-size: clamp(0.9rem, 1vw, 1rem); line-height: 1.35; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 11px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ink); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(255,255,255,0.35); }
.hero-index { position: absolute; z-index: 2; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-align: right; }
.hero-index span { transition: color 0.4s, transform 0.5s var(--ease-out); }
.hero-index span.on { color: var(--ink); transform: translateX(-6px); }
.hero-index span.on::after { content: " —"; color: var(--ember); }
.hero-fade { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 3; }

/* ---------- Waveform scroll indicator ---------- */
.wave { position: fixed; z-index: 40; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: flex-end; gap: 7px; height: 22px; pointer-events: none; mix-blend-mode: difference; }
.wave i { width: 1.5px; height: 100%; background: #fff; transform-origin: bottom; animation: wave 1.4s var(--ease) infinite; }
.wave i:nth-child(2) { animation-delay: 0.15s; } .wave i:nth-child(3) { animation-delay: 0.3s; } .wave i:nth-child(4) { animation-delay: 0.45s; } .wave i:nth-child(5) { animation-delay: 0.6s; }
@keyframes wave { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }

/* ---------- Statement sections ---------- */
.statement { position: relative; min-height: 115vh; display: grid; place-items: center; overflow: hidden; padding: 120px var(--gutter); }
.statement-inner { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.statement .sub { text-align: center; max-width: 52ch; }
.orbit { position: absolute; left: 50%; top: 50%; width: min(86vmin, 820px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(16,24,32,0.06), 0 0 120px rgba(255,190,140,0.18); pointer-events: none; }
.orbit::before, .orbit::after { content: ""; position: absolute; width: 34%; height: 46%; border-radius: 50%; background: radial-gradient(circle, rgba(255,130,40,0.95), rgba(255,150,70,0.5) 40%, rgba(255,170,110,0) 70%); filter: blur(28px); animation: orbit 16s linear infinite; }
.orbit::before { left: -6%; top: 10%; }
.orbit::after { right: -4%; bottom: 6%; animation-delay: -8s; }
@keyframes orbit { 0% { transform: rotate(0deg) translateX(4%) rotate(0deg); } 50% { transform: rotate(180deg) translateX(4%) rotate(-180deg); } 100% { transform: rotate(360deg) translateX(4%) rotate(-360deg); } }
.sunrise { position: absolute; left: 50%; top: 12%; width: 140vmin; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(255,214,184,0.55), rgba(255,240,228,0.2) 45%, rgba(255,255,255,0) 65%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.9); pointer-events: none; }
.sunrise::before { content: ""; position: absolute; left: 50%; top: -2%; width: 14%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,140,50,1), rgba(255,160,80,0.4) 50%, rgba(255,180,120,0) 72%); filter: blur(14px); }
.sunrise::after { content: ""; position: absolute; inset: 3%; border-radius: 50%; box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 -1px 0 rgba(16,24,32,0.04); }

/* ---------- Showreel ---------- */
.reel { position: relative; height: 240vh; }
.reel-pin { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; padding: 70px var(--gutter) 40px; }
.reel-card { position: relative; width: 100%; height: 100%; border-radius: 22px; overflow: hidden; background: #3E3F41; clip-path: inset(20% 40% 0% 40% round 3rem); will-change: clip-path; cursor: pointer; }
.reel-card video, .reel-card .reel-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-fallback { background: radial-gradient(60% 70% at 30% 30%, rgba(255,90,31,0.55), transparent 60%), radial-gradient(50% 60% at 75% 70%, rgba(255,200,160,0.35), transparent 60%), linear-gradient(140deg, #2B2C2F, #46474A); animation: reel-drift 12s ease-in-out infinite alternate; background-size: 140% 140%; }
@keyframes reel-drift { to { background-position: 100% 100%; } }
.reel-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 22px; color: #fff; font-family: var(--display); font-size: clamp(1.6rem, 3.6vw, 3.6rem); letter-spacing: -0.03em; text-transform: uppercase; }
.reel-label svg { width: clamp(36px, 4vw, 56px); height: auto; }
.reel-label .vbar { height: 0.8em; opacity: 0.8; }
.reel-meta { position: absolute; left: 22px; right: 22px; bottom: 18px; display: flex; justify-content: space-between; color: rgba(255,255,255,0.75); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(5,6,8,0.92); display: grid; place-items: center; padding: 30px; }
.lightbox[hidden] { display: none; }
.lightbox video { width: min(1200px, 100%); max-height: 80vh; border-radius: 16px; background: #000; }
.lightbox p { color: #fff; text-align: center; max-width: 40ch; }
.lightbox button { position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; font-size: 1.3rem; }

/* ---------- Services sphere ---------- */
.craft { position: relative; height: 260vh; }
.craft-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; background: radial-gradient(28vmin 28vmin at 50% 52%, rgba(255,214,184,0.55), rgba(255,255,255,0) 100%), radial-gradient(60% 50% at 100% 0%, rgba(255,226,206,0.5), transparent 70%), #fff; }
.craft-head { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); top: 13vh; display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; }
.craft-head .sub { max-width: 26ch; font-size: 0.9rem; }
#sphere3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tags { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.tag { position: absolute; left: 50%; top: 52%; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; background: rgba(255,255,255,0.78); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,138,61,0.55), 0 16px 40px -16px rgba(255,120,40,0.55); font-size: 0.95rem; white-space: nowrap; will-change: transform; }
.tag svg { width: 15px; height: 15px; color: var(--ember); }
.craft-center { position: absolute; z-index: 3; left: 50%; top: 52%; transform: translate(-50%, -50%); text-align: center; width: min(760px, 90vw); display: flex; flex-direction: column; gap: 14px; align-items: center; opacity: 0; }
.craft-center .sub { text-align: center; }

/* ---------- Work (black) ---------- */
.work { background: var(--black); color: var(--on-black); padding: clamp(80px, 12vh, 140px) var(--gutter) clamp(70px, 10vh, 120px); border-radius: 0; }
.work-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.filter { height: 38px; padding: 0 22px; border-radius: 999px; border: 0; background: transparent; color: var(--on-black); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: background 0.3s, box-shadow 0.3s, color 0.3s; }
.filter:hover { box-shadow: inset 0 0 0 1px #fff; }
.filter.on { background: var(--ember-2); box-shadow: none; color: #fff; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
.proj { display: flex; flex-direction: column; gap: 14px; transition: opacity 0.5s, transform 0.6s var(--ease-out); }
.proj.hide { display: none; }
.thumb { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 14px; overflow: hidden; background: #111; }
.thumb-art { position: absolute; inset: 0; transition: transform 1.2s var(--ease-out); }
.proj:hover .thumb-art { transform: scale(1.045); }
.thumb-art.a1 { background: radial-gradient(70% 90% at 20% 30%, #FF5A1F, transparent 60%), radial-gradient(60% 80% at 85% 80%, #2B1A3F, transparent 70%), #0E0E10; }
.thumb-art.a2 { background: radial-gradient(70% 90% at 80% 20%, #F4E6D6, transparent 55%), radial-gradient(60% 80% at 20% 90%, #345, transparent 70%), #121417; }
.thumb-art.a3 { background: radial-gradient(70% 90% at 50% 10%, #FF8A3D, transparent 55%), linear-gradient(180deg, #1A1A1D, #0A0A0B); }
.thumb-art.a4 { background: radial-gradient(70% 90% at 30% 80%, #7FD6C2, transparent 55%), radial-gradient(60% 80% at 80% 20%, #FF5A1F, transparent 60%), #0D0F11; }
.thumb-art.a5 { background: radial-gradient(70% 90% at 70% 60%, #C9C9D1, transparent 55%), #101012; }
.thumb-art.a6 { background: radial-gradient(70% 90% at 30% 40%, #FFB27A, transparent 55%), radial-gradient(70% 90% at 90% 90%, #FF3D6B, transparent 60%), #120D0E; }
.thumb-title { position: absolute; left: 6%; bottom: 10%; right: 6%; font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 3.4rem); line-height: 0.92; letter-spacing: -0.04em; text-transform: uppercase; color: #fff; mix-blend-mode: overlay; }
.thumb-ui { position: absolute; left: 4%; right: 4%; top: 6%; display: flex; justify-content: space-between; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.8); }
.thumb-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255,255,255,0.14); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35); display: grid; place-items: center; transform: scale(0.85); opacity: 0; transition: transform 0.6s var(--ease-out), opacity 0.4s; }
.thumb-play::after { content: ""; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.proj:hover .thumb-play { transform: scale(1); opacity: 1; }
.proj-cat { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-black-2); }
.proj-name { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: clamp(1.2rem, 1.7vw, 1.7rem); letter-spacing: -0.02em; }
.proj-name .arr { color: var(--ember-2); transition: transform 0.5s var(--ease-out); }
.proj:hover .proj-name .arr { transform: translate(4px, -4px); }
.work-more { display: flex; justify-content: center; margin-top: 54px; }
.view-all { display: inline-flex; align-items: center; gap: 0; }
.view-all .ghost-pill { color: var(--on-black); }
.view-all .circ { width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; margin-left: -2px; transition: transform 0.5s var(--ease-out); }
.view-all:hover .circ { transform: rotate(45deg); }

/* ---------- Contact card ---------- */
.contact { padding: clamp(70px, 10vh, 120px) var(--gutter); background: radial-gradient(60% 50% at 0% 100%, rgba(255,214,184,0.5), transparent 70%), #fff; }
.contact-card { border-radius: 26px; background: linear-gradient(120deg, #FFF6EF 0%, #FFFFFF 45%, #FFF3E8 100%); box-shadow: 0 30px 80px -40px rgba(16,24,32,0.2), inset 0 0 0 1px rgba(16,24,32,0.04); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); padding: clamp(28px, 4vw, 60px); min-height: 70vh; }
.contact-left { display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; }
.contact-left .h-md { font-weight: 400; }
.socials-row { display: flex; gap: 8px; margin-top: 30px; }
.socials-row a { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; font-size: 0.7rem; font-weight: 700; transition: background 0.3s, color 0.3s; }
.socials-row a:hover { background: var(--ink); color: #fff; }
.mail-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; border-bottom: 1px solid currentColor; align-self: flex-start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; align-content: start; }
.form h3 { grid-column: 1 / -1; margin: 0 0 6px; font-family: var(--display); font-weight: 500; font-size: clamp(1.4rem, 2vw, 1.9rem); letter-spacing: -0.02em; }
.f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.f.full { grid-column: 1 / -1; }
.f label { font-size: 0.72rem; color: var(--muted); }
.f input, .f textarea { border: 0; border-bottom: 1px solid var(--line-2); background: transparent; padding: 8px 0; font: inherit; font-size: 1rem; color: var(--ink); border-radius: 0; resize: vertical; transition: border-color 0.3s; }
.f input:focus, .f textarea:focus { outline: none; border-bottom-color: var(--ember); }
.interest { display: flex; flex-wrap: wrap; gap: 8px; }
.interest label { cursor: pointer; }
.interest input { position: absolute; opacity: 0; pointer-events: none; }
.interest span { display: inline-flex; height: 30px; align-items: center; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 0.8rem; color: var(--ink); transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.interest input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.interest input:focus-visible + span { outline: 2px solid var(--ember); outline-offset: 2px; }
.send { grid-column: 1 / -1; height: 54px; width: 100%; justify-content: center; }
.form-msg { grid-column: 1 / -1; margin: -10px 0 0; font-size: 0.85rem; color: var(--muted); min-height: 1.2em; }
.form-msg.err { color: #C9361A; }

/* ---------- Footer (black) ---------- */
.footer { background: var(--black); color: var(--on-black); padding: clamp(60px, 10vh, 110px) var(--gutter) 20px; overflow: hidden; }
.ft-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.ft-q { font-family: var(--display); font-weight: 500; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.12; letter-spacing: -0.03em; margin: 0 0 34px; max-width: 18ch; }
.ft-q span { color: var(--on-black-2); }
.ft-mail { display: inline-flex; align-items: center; gap: 14px; font-family: var(--display); font-size: clamp(1.3rem, 2vw, 2rem); letter-spacing: -0.02em; }
.ft-mail svg { width: 26px; color: #fff; }
.ft-right { max-width: 30rem; }
.ft-right h4 { margin: 0 0 6px; font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.6rem); letter-spacing: -0.03em; }
.ft-right p { margin: 0 0 22px; color: var(--on-black-2); font-size: 0.9rem; }
.ft-voices { display: flex; gap: 22px; flex-wrap: wrap; font-size: 0.8rem; color: var(--on-black-2); }
.ft-voices b { display: block; color: var(--on-black); font-weight: 600; font-size: 0.9rem; }
.ft-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; padding: 34px 0 40px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.ft-col h5 { margin: 0 0 14px; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-black-2); }
.ft-col a { display: block; font-size: 1.05rem; line-height: 1.75; color: var(--on-black); transition: color 0.3s, transform 0.4s var(--ease-out); }
.ft-col a:hover { color: var(--ember-2); transform: translateX(4px); }
.ft-logo { display: flex; justify-content: space-between; align-items: flex-end; gap: 0.5vw; padding: 30px 0 18px; overflow: hidden; }
.ft-logo .lt { display: block; overflow: hidden; }
.ft-logo .lt span { display: block; font-family: var(--display); font-weight: 700; font-size: 18.2vw; line-height: 0.82; letter-spacing: -0.055em; padding-bottom: 0.06em; }
.ft-logo .lt.accent span { color: var(--ember); }
.ft-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 0.72rem; color: var(--on-black-2); padding-top: 14px; }
.ft-bottom .ft-soc { display: flex; gap: 20px; }
.ft-bottom a:hover { color: #fff; }
.to-top { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; padding: 120px var(--gutter) 80px; }
.page-hero .statement-inner { gap: 20px; }
.split-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); padding: clamp(90px, 14vh, 160px) var(--gutter); align-items: start; }
.split-intro p { font-size: clamp(1.1rem, 1.6vw, 1.5rem); line-height: 1.45; margin: 0; }
.quote-block { padding: clamp(60px, 10vh, 120px) var(--gutter); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.portrait { aspect-ratio: 4 / 5; max-width: 100%; border-radius: 22px; background: radial-gradient(60% 50% at 50% 35%, #FFD2B0, transparent 70%), linear-gradient(160deg, #F2F3F5, #DCDFE3); display: grid; place-items: end start; padding: 22px; color: var(--ink); }
.portrait b { display: block; font-family: var(--display); font-size: 1.4rem; }
.portrait small { color: var(--muted); }
.portrait svg { width: 40%; margin: auto; color: rgba(16,24,32,0.85); align-self: center; justify-self: center; }
blockquote.big { margin: 0; font-family: var(--display); font-size: clamp(1.3rem, 2.1vw, 2.1rem); line-height: 1.3; letter-spacing: -0.02em; }
.values { padding: clamp(60px, 10vh, 120px) var(--gutter); }
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 50px; }
.value { padding: 30px; border-radius: 22px; background: var(--mist-2); display: flex; flex-direction: column; gap: 14px; min-height: 300px; justify-content: flex-end; transition: background 0.4s, transform 0.6s var(--ease-out); }
.value:hover { background: var(--peach-2); transform: translateY(-6px); }
.value span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember); }
.value h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.1; letter-spacing: -0.03em; }
.value p { margin: 0; color: var(--muted); }
.expertise { padding: clamp(60px, 10vh, 120px) var(--gutter); }
.svc-list { margin-top: 50px; border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.2fr) 40px; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); transition: padding 0.5s var(--ease-out), background 0.4s; }
.svc:hover { padding-left: 14px; background: linear-gradient(90deg, rgba(255,214,184,0.35), transparent 70%); }
.svc .n { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.1em; }
.svc h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 2.4rem); letter-spacing: -0.03em; }
.svc p { margin: 0; color: var(--muted); }
.svc .arr { color: var(--ember); font-size: 1.3rem; justify-self: end; transition: transform 0.5s var(--ease-out); }
.svc:hover .arr { transform: translate(4px, -4px); }
.process { position: relative; height: 340vh; }
.process-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 0 var(--gutter); }
.steps-track { display: flex; gap: 18px; will-change: transform; }
.step-card { flex: none; width: min(560px, 80vw); min-height: 340px; padding: 34px; border-radius: 24px; background: linear-gradient(140deg, #FFF4EB, #F3F4F5); display: flex; flex-direction: column; justify-content: space-between; box-shadow: inset 0 0 0 1px rgba(16,24,32,0.05); }
.step-card .k { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember); }
.step-card h3 { margin: 10px 0 0; font-family: var(--display); font-weight: 500; font-size: clamp(1.7rem, 2.8vw, 2.7rem); line-height: 1.05; letter-spacing: -0.03em; }
.step-card p { margin: 0; color: var(--muted); max-width: 40ch; }
.step-card .big-n { font-family: var(--display); font-weight: 800; font-size: 6rem; line-height: 0.8; color: rgba(16,24,32,0.06); align-self: flex-end; }
.faq { padding: clamp(60px, 10vh, 120px) var(--gutter); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 100px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--display); font-size: clamp(1.05rem, 1.5vw, 1.35rem); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ember); font-size: 1.4rem; line-height: 1; transition: transform 0.4s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 60ch; }

/* ---------- Reveal helpers (JS sets initial states; content stays visible without JS) ---------- */
.line-mask { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-side { display: none; }
  .hero-index { display: none; }
  .hero-copy { right: var(--gutter); width: auto; }
  .menu-panel { grid-template-columns: 1fr; min-height: auto; max-height: calc(100svh - 24px); overflow-y: auto; gap: 22px; }
  .menu-title { font-size: 1.4rem; margin-bottom: 16px; }
  .menu-mark { display: none; }
  .craft-head { flex-direction: column; top: 11vh; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .contact-card { grid-template-columns: minmax(0, 1fr); }
  .ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-intro, .quote-block, .faq { grid-template-columns: minmax(0, 1fr); }
  .values-grid { grid-template-columns: minmax(0, 1fr); }
  .svc { grid-template-columns: 40px minmax(0, 1fr) 30px; }
  .svc p { grid-column: 2 / 3; }
  .tag { height: 34px; padding: 0 12px; font-size: 0.82rem; }
  .talk-link { display: none; }
}
@media (max-width: 560px) {
  .form { grid-template-columns: minmax(0, 1fr); }
  .hero { height: 360vh; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit::before, .orbit::after, .wave i, .reel-fallback { animation: none !important; }
}
