/* Layout concept: "Ivory & Ink" — a warm ivory gallery broken by full-bleed ink bands where the
   work plays: live reels, scroll-through screenshots, a pinned horizontal case gallery.
   Bodoni display for luxury, Bricolage for voice, mono for the build-world labels. */
:root {
  --ivory: #F3EFE7;
  --paper: #FBF9F4;
  --ink: #0D1015;
  --ink-2: #151922;
  --ink-3: #1E2330;
  --line: #DCD5C8;
  --line-dark: #2A303C;
  --mute: #66676E;
  --mute-dark: #9BA1AE;
  --blue: #2F5BEA;
  --cyan: #22D3EE;
  --sky: #3B82F6;
  --grad: linear-gradient(135deg, #22D3EE 0%, #3B82F6 100%);
  --display: 'Bodoni Moda', 'Bodoni 72', Didot, 'Times New Roman', serif;
  --body: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1280px;
  --r: 16px;
  --gut-l: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.6;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 90; background: var(--ink); }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.band-dark :focus-visible { outline-color: var(--cyan); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* bands carry the gutter on their inner wrapper so colour runs edge to edge */
.band { padding-block: clamp(80px, 11vw, 160px); }
.band-dark { background: var(--ink); color: var(--paper); }
.band-paper { background: var(--paper); }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gut-l); padding-right: var(--gut-r); }

/* ---------- type ---------- */
.eyebrow { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); margin: 0; display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.6; }
.band-dark .eyebrow { color: var(--mute-dark); }
.display { font-family: var(--display); font-weight: 500; line-height: 0.95; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
.display em { font-style: italic; font-weight: 400; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h2 { font-size: clamp(2.5rem, 6vw, 5.2rem); }
.h3 { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; margin: 0; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.28rem); max-width: 56ch; margin: 0; color: var(--mute); }
.band-dark .lede { color: var(--mute-dark); }
.head { display: grid; gap: 20px; margin-bottom: clamp(44px, 6vw, 80px); }
.head-split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.head-split .lede { max-width: 44ch; }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 80; background: rgba(13,16,21,0.88); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); color: var(--paper); border-bottom: 1px solid var(--line-dark); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 11px; background: #0B0F17; border: 1px solid var(--line-dark); display: grid; place-items: center; }
.brand-mark svg { width: 24px; height: 24px; }
.brand-word { display: grid; line-height: 1; }
.brand-word b { font-weight: 700; letter-spacing: 0.16em; font-size: 0.95rem; }
.brand-word span { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.42em; color: var(--cyan); margin-top: 5px; }
.nav-links { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--mute-dark); font-size: 0.95rem; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--paper); }
.nav-toggle { display: none; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-dark); background: none; color: var(--paper); font: inherit; font-size: 0.9rem; cursor: pointer; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 14px 26px; border-radius: 999px; font-family: var(--body); font-weight: 600; font-size: 0.98rem; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .3s cubic-bezier(.2,.7,.1,1), background .3s, color .3s, border-color .3s, box-shadow .3s; }
.btn .arrow { transition: transform .3s; }
.btn:hover .arrow { transform: translateX(5px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--blue); transform: translateY(-2px); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 40px -10px rgba(34,211,238,0.55); }
.btn-line { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.band-dark .btn-line, .site-header .btn-line { border-color: var(--line-dark); color: var(--paper); }
.band-dark .btn-line:hover { border-color: var(--paper); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- intro curtain ---------- */
.curtain { position: fixed; inset: 0; z-index: 200; background: var(--ink); display: grid; place-items: center; animation: curtain 1.5s cubic-bezier(.7,0,.2,1) .5s forwards; pointer-events: none; }
.curtain svg { width: 72px; height: 72px; animation: mark 1s ease both; }
@keyframes curtain { to { transform: translateY(-100%); visibility: hidden; } }
@keyframes mark { from { transform: scale(.85); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .curtain { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(64px, 9vw, 130px) clamp(72px, 9vw, 130px); }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -220px; top: -260px; background: radial-gradient(closest-side, rgba(59,130,246,0.32), rgba(34,211,238,0.10) 55%, transparent 75%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero-copy { display: grid; gap: 30px; min-width: 0; }
.hero-title { font-size: clamp(3.1rem, 6.8vw, 7.6rem); }
.hero-title .ln { white-space: nowrap; }
.hero-title .ln { display: block; animation: rise 1.1s cubic-bezier(.2,.7,.1,1) 1.2s both; }
.hero-title .ln:nth-child(2) { animation-delay: 1.3s; }
@keyframes rise { from { transform: translateY(40px); } }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); margin-top: 10px; }
.stat { padding: 22px 18px 0 0; display: grid; gap: 4px; }
.stat + .stat { padding-left: 18px; border-left: 1px solid var(--line-dark); }
.stat b { font-family: var(--display); font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute-dark); }

.reels { position: relative; height: clamp(440px, 46vw, 620px); }
.reel { position: absolute; width: 50%; aspect-ratio: 9 / 16; max-width: 100%; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12); background: var(--ink-3); box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel:nth-child(1) { left: 0; top: 12%; transform: rotate(-7deg); }
.reel:nth-child(2) { left: 25%; top: 0; z-index: 2; transform: rotate(0deg); }
.reel:nth-child(3) { right: 0; top: 14%; transform: rotate(7deg); }
.reels-cap { position: absolute; z-index: 3; bottom: -6px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute-dark); background: var(--ink); padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-dark); white-space: nowrap; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line-dark); padding-block: 28px; background: var(--ink); color: var(--paper); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: slide 50s linear infinite; }
.marquee-track span { font-family: var(--display); font-style: italic; font-size: clamp(1.5rem, 2.8vw, 2.3rem); white-space: nowrap; }
.marquee-track span::after { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 2px; background: var(--grad); margin-left: 64px; vertical-align: 0.25em; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; } }

/* ---------- statement ---------- */
.statement-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: end; }
.statement { font-family: var(--display); font-size: clamp(2rem, 4.4vw, 3.9rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.statement em { color: var(--blue); }
.statement-grid p:last-child { margin: 0; color: var(--mute); max-width: 44ch; }

/* ---------- browser frame + scroll-through shot ---------- */
.browser { border-radius: 14px; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line-dark); box-shadow: 0 40px 90px -40px rgba(0,0,0,0.75); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #10141C; border-bottom: 1px solid var(--line-dark); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2C3240; }
.browser-bar code { margin-left: 12px; font-family: var(--mono); font-size: 0.7rem; color: var(--mute-dark); background: #181D27; padding: 4px 12px; border-radius: 999px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot { position: relative; aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden; background: #fff; }
.shot img { position: absolute; left: 0; top: 0; width: 100%; height: auto; transform: translateY(0); transition: top var(--dur, 9s) cubic-bezier(.45,0,.25,1), transform var(--dur, 9s) cubic-bezier(.45,0,.25,1); }
.shot:hover img, .shot.auto img { top: 100%; transform: translateY(-100%); }
.shot-hint { position: absolute; right: 12px; bottom: 12px; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(13,16,21,0.82); color: var(--paper); padding: 6px 10px; border-radius: 999px; pointer-events: none; transition: opacity .3s; }
.shot:hover .shot-hint, .shot.auto .shot-hint { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .shot img { transition: none; } }

/* ---------- horizontal work gallery ---------- */
.hwork { overflow: hidden; }
.htrack { display: flex; gap: clamp(20px, 3vw, 44px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; padding-left: var(--gut-l); padding-right: var(--gut-r); scrollbar-width: thin; }
.htrack.pinned { overflow: visible; scroll-snap-type: none; width: max-content; }
.panel { flex: 0 0 min(78vw, 860px); scroll-snap-align: center; display: grid; gap: 22px; }
.panel-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; align-items: baseline; }
.panel-meta h3 { font-family: var(--display); font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.5rem); margin: 0; line-height: 1; letter-spacing: -0.02em; }
.panel-meta .tags { justify-content: flex-end; }
.panel-end { flex: 0 0 min(70vw, 520px); display: grid; align-content: center; gap: 26px; padding-inline: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.05em; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.band-dark .tag { border-color: var(--line-dark); color: var(--mute-dark); }
.progress { height: 2px; background: var(--line-dark); margin-top: 40px; border-radius: 2px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--grad); }

/* ---------- DreamTrace ---------- */
.dt { background: radial-gradient(120% 90% at 80% 10%, #2A1B5E 0%, #0F0C26 55%, #08081A 100%); color: #F1ECFF; overflow: hidden; }
.dt .eyebrow { color: #B9A8F0; }
.dt-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.dt-copy { display: grid; gap: 24px; min-width: 0; }
.dt-copy p { margin: 0; color: #C9C2E6; max-width: 50ch; }
.dt-title { font-size: clamp(2.8rem, 6vw, 5.4rem); }
.dt-title em { color: #E6C47A; }
.dt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dt-list li { display: flex; gap: 12px; align-items: baseline; }
.dt-list li::before { content: "✦"; color: #E6C47A; font-size: 0.8rem; }
.phones { position: relative; display: flex; justify-content: center; gap: clamp(10px, 2vw, 22px); align-items: flex-end; }
.phone { flex: 0 1 220px; min-width: 0; border-radius: 30px; padding: 8px; background: linear-gradient(160deg, #3A3456, #16132A); box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8), inset 0 0 0 1px rgba(255,255,255,0.08); }
.phone img { border-radius: 23px; width: 100%; }
.phone:nth-child(2) { transform: translateY(-40px); }
.dt-brand { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(56px, 8vw, 110px); align-items: stretch; }
.dt-brand figure { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid rgba(255,255,255,0.08); background: #08081A; }
.dt-brand img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- showreel ---------- */
.reel-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.reel-card { margin: 0; position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 9 / 16; max-width: 100%; background: var(--ink-3); border: 1px solid var(--line-dark); }
.reel-card:nth-child(even) { transform: translateY(48px); }
.reel-card video { width: 100%; height: 100%; object-fit: cover; }
.reel-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; background: linear-gradient(transparent, rgba(0,0,0,0.75)); display: flex; justify-content: space-between; align-items: end; gap: 10px; }
.reel-card figcaption span { font-size: 0.88rem; font-weight: 600; }
.sound { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35); background: rgba(13,16,21,0.6); color: #fff; display: grid; place-items: center; cursor: pointer; }
.sound svg { width: 16px; height: 16px; }
.sound[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.note { margin-top: 80px; font-size: 0.9rem; color: var(--mute-dark); max-width: 60ch; }

/* ---------- services ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 0.8fr); gap: 20px 36px; padding-block: 34px; border-bottom: 1px solid var(--line); align-items: start; transition: background .3s; }
.svc-n { font-family: var(--mono); font-size: 0.78rem; color: var(--mute); padding-top: 10px; }
.svc h3 { font-family: var(--display); font-weight: 500; font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.02; margin: 0; letter-spacing: -0.015em; transition: color .3s, transform .3s; }
.svc:hover h3 { color: var(--blue); transform: translateX(6px); }
.svc p { margin: 0; color: var(--mute); }

/* ---------- process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.step { padding: 32px 24px 8px 0; display: grid; gap: 12px; align-content: start; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.step-n { font-family: var(--display); font-style: italic; font-size: 3.4rem; line-height: 1; }
.step p { margin: 0; color: var(--mute-dark); font-size: 0.98rem; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.quote { margin: 0; display: grid; gap: 22px; align-content: space-between; padding: clamp(26px, 3vw, 40px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.quote blockquote { margin: 0; font-family: var(--display); font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.32; letter-spacing: -0.01em; }
.quote blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: 0.6; color: var(--blue); margin-bottom: 14px; }
.quote figcaption { display: grid; gap: 4px; border-top: 1px solid var(--line); padding-top: 16px; }
.quote figcaption b { font-weight: 600; }
.quote figcaption span { font-size: 0.85rem; color: var(--mute); }

/* ---------- CTA ---------- */
.cta { display: grid; gap: 36px; }
.cta-title { font-size: clamp(3.2rem, 11vw, 10rem); }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 6px 6px 20px; border: 1px solid var(--line-dark); border-radius: 999px; font-family: var(--mono); font-size: 0.9rem; }
.chip button { font: inherit; font-family: var(--body); font-weight: 600; font-size: 0.85rem; background: var(--ink-3); color: var(--paper); border: 0; border-radius: 999px; padding: 10px 16px; min-height: 40px; cursor: pointer; }
.chip button:hover { background: var(--line-dark); }
.band-light .chip, .chip.light { border-color: var(--line); }
.chip.light button { background: var(--ink); }

/* ---------- inner page heads ---------- */
.page-head { padding-block: clamp(70px, 10vw, 140px) clamp(56px, 7vw, 100px); }
.page-head .wrap { display: grid; gap: 28px; }
.page-title { font-size: clamp(3.4rem, 10vw, 9rem); }

/* ---------- case studies ---------- */
.case { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(56px, 7vw, 100px); border-top: 1px solid var(--line); }
.case:first-child { border-top: 0; }
.case.flip > :first-child { order: 2; }
.case-body { display: grid; gap: 18px; min-width: 0; }
.case-body h2 { font-family: var(--display); font-weight: 500; font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin: 0; line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
.case-body p { margin: 0; color: var(--mute); max-width: 54ch; }
.spec { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 22px; margin: 6px 0 0; font-size: 0.95rem; border-top: 1px solid var(--line); padding-top: 18px; }
.spec dt { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.spec dd { margin: 0; }
.link-out { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; width: fit-content; }
.link-out:hover { color: var(--blue); }
.case-quote { margin: 4px 0 0; padding-left: 18px; border-left: 2px solid var(--blue); font-family: var(--display); font-style: italic; font-size: 1.1rem; line-height: 1.4; }

/* ---------- service detail ---------- */
.sd { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 80px); padding-block: clamp(48px, 6vw, 84px); border-top: 1px solid var(--line); }
.sd h2 { font-family: var(--display); font-weight: 500; font-size: clamp(2.1rem, 4vw, 3.3rem); line-height: 1; margin: 0; letter-spacing: -0.02em; }
.sd .body { display: grid; gap: 22px; min-width: 0; }
.sd .body p { margin: 0; color: var(--mute); max-width: 60ch; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.checks li { position: relative; padding-left: 22px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); }
.bts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 36px); }
.bts figure { margin: 0; display: grid; gap: 14px; }
.bts img { border-radius: 12px; border: 1px solid var(--line-dark); width: 100%; }
.bts figcaption { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; color: var(--mute-dark); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding-block: 26px; font-size: 1.15rem; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.7rem; line-height: 1; color: var(--blue); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 26px; color: var(--mute); max-width: 68ch; }

/* ---------- about ---------- */
.story { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 100px); }
.story-text { display: grid; gap: 22px; }
.story-text p { margin: 0; max-width: 62ch; font-size: 1.12rem; }
.story-text p:first-child { font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.25; letter-spacing: -0.01em; }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.member { display: grid; gap: 12px; margin: 0; }
.member .ph { aspect-ratio: 4 / 5; max-width: 100%; border-radius: 14px; overflow: hidden; background: var(--ink-3); }
.member img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .5s, transform .8s cubic-bezier(.2,.7,.1,1); }
.member:hover img { filter: grayscale(0); transform: scale(1.04); }
.member figcaption { display: grid; gap: 2px; }
.member b { font-weight: 600; }
.member span { font-size: 0.88rem; color: var(--mute-dark); }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 72px); }
.principle { padding-block: 30px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.principle h3 { font-family: var(--display); font-weight: 500; font-size: 2rem; margin: 0; line-height: 1.05; }
.principle p { margin: 0; color: var(--mute); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; min-height: 52px; width: 100%; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--mute); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.form-foot p { margin: 0; color: var(--mute); font-size: 0.9rem; }
.form-done { grid-column: 1 / -1; background: var(--paper); border: 1px solid var(--blue); border-radius: var(--r); padding: 24px; display: grid; gap: 10px; }
.form-done p { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aside { display: grid; gap: 34px; }
.aside-block { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 22px; }
.aside-block p { margin: 0; color: var(--mute); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-block: 72px 36px; overflow: hidden; }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.7fr)); gap: 40px; }
.foot p { margin: 0; color: var(--mute-dark); max-width: 40ch; }
.foot h4 { margin: 0 0 16px; font-family: var(--mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute-dark); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--cyan); }
.foot-word { font-family: var(--display); font-style: italic; font-size: clamp(4rem, 17vw, 15rem); line-height: 0.85; letter-spacing: -0.04em; margin: 56px 0 0; white-space: nowrap; background: linear-gradient(180deg, #1E2533, #0D1015 90%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.foot-base { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 0.74rem; color: var(--mute-dark); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .reel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reel-card:nth-child(n+4) { display: none; }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero-grid, .statement-grid, .dt-grid, .case, .sd, .story, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .case.flip > :first-child { order: 0; }
  .reels { height: clamp(380px, 90vw, 560px); max-width: 560px; width: 100%; margin-inline: auto; }
  .svc { grid-template-columns: 48px minmax(0, 1fr); }
  .svc p, .svc .tags { grid-column: 2; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .dt-brand { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links { display: none; position: absolute; top: 100%; left: calc(-1 * var(--gut-l)); right: calc(-1 * var(--gut-r)); flex-direction: column; gap: 2px; background: var(--ink); border-bottom: 1px solid var(--line-dark); padding: 14px var(--gut-r) 24px var(--gut-l); }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; font-size: 1.2rem; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat, .stat + .stat { padding: 18px 8px 0; }
  .stat:first-child { padding-left: 0; }
  .panel { flex-basis: 86vw; }
  .reel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel-card:nth-child(n+3) { display: block; }
  .reel-card:nth-child(5) { display: none; }
  .reel-card:nth-child(even) { transform: translateY(28px); }
  .steps, .principles, .checks, .form, .bts { grid-template-columns: minmax(0, 1fr); }
  .step, .step + .step { padding: 26px 0 8px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line-dark); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phone:nth-child(3) { display: none; }
  .phone:nth-child(2) { transform: translateY(-24px); }
}
