/* Epique Studio — site styles
   Palette A · Ink & Vermilion · Onest + IBM Plex Mono */

:root {
  --paper: #F4EFE4;
  --paper-2: #FBF8F2;
  --stone: #E7DFCF;
  --ink: #141414;
  --muted: #4A4640;
  --muted-2: #6B655C;
  --line-soft: #D8D0BF;
  --on-dark: #F4EFE4;
  --on-dark-muted: #C9C2B4;
  --accent: #E2462B;

  --font: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1440px;
  --r-xl: 40px;
  --r-lg: 30px;
  --r-md: 24px;
  --r-sm: 16px;
  --border: 1.5px solid var(--ink);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--muted); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 12px; color: var(--paper); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 9vw, 120px); display: flex; flex-direction: column; gap: clamp(32px, 4vw, 56px); }
.section--flush-top { padding-top: 0; }
.section-tight { padding-block: clamp(24px, 4vw, 48px); }
.section-rule { border-top: var(--border); }

/* ── Type ───────────────────────────────────────── */
.label { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.label--muted { color: var(--muted-2); font-size: 12px; margin-bottom: 8px; }
.label--on-dark { color: var(--on-dark-muted); }
.mono-sm { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.h-hero { font-size: clamp(52px, 8vw, 124px); line-height: .94; letter-spacing: -.055em; font-weight: 800; }
.h-project { font-size: clamp(60px, 9.4vw, 152px); line-height: .88; letter-spacing: -.06em; font-weight: 800; }
.h-article { font-size: clamp(40px, 5.6vw, 84px); line-height: .98; letter-spacing: -.05em; font-weight: 800; max-width: 18ch; }
.h-display { font-size: clamp(48px, 7.4vw, 120px); line-height: .92; letter-spacing: -.055em; font-weight: 800; }
.h-section { font-size: clamp(38px, 5.4vw, 80px); line-height: .98; letter-spacing: -.05em; font-weight: 800; max-width: 20ch; }
.h-card { font-size: clamp(30px, 3vw, 40px); line-height: 1; letter-spacing: -.045em; font-weight: 800; }
.h-card--lg { font-size: clamp(34px, 4vw, 56px); }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: var(--muted); max-width: 560px; }
.lead--lg { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.35; max-width: 640px; }
.lead--on-dark { color: var(--on-dark-muted); }
h1 em, h2 em, .h-hero em { font-style: normal; background: var(--accent); padding: 0 .08em; border-radius: .1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.accent-text { color: var(--accent); }
.underline { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: .08em; text-underline-offset: .12em; }
.link-strong { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.link-on-dark { color: var(--on-dark); font-size: 18px; text-underline-offset: 6px; }
.link-on-dark:hover { color: var(--on-dark-muted); }

/* ── Buttons, tags ──────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 46px; padding: 0 20px; }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 18px; }
.btn--block { display: flex; width: 100%; justify-content: space-between; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { color: var(--paper); }
.btn--outline { border: var(--border); background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

.tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.tag--accent { background: var(--accent); color: var(--ink); }
.tag--outline { border: var(--border); }
.tag--outline-light { border: 1.5px solid var(--on-dark); color: var(--on-dark); }
.tag--lg { padding: 9px 14px; font-size: 12px; }
.tag--link { min-height: 36px; padding: 0 14px; }
.tag--link:hover { background: var(--ink); color: var(--paper); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-row--list { margin-top: 24px; }
.dot { display: inline-block; flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.status { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.num-badge { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); font-family: var(--mono); font-size: 14px; font-weight: 500; }
.num-badge--lg { width: 72px; height: 72px; font-size: 28px; }

/* ── Header ─────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 239, 228, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line-soft); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; padding-block: 14px; }
.site-header__logo { display: flex; align-items: center; min-height: 44px; color: var(--ink); }
.site-header__logo .logo-svg { width: 138px; height: auto; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 16px; font-weight: 600; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; }
.site-nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.site-nav__contact { display: none !important; }
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; padding: 3px; border: var(--border); border-radius: 999px; font-family: var(--mono); font-size: 12px; }
.lang-switch__item { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; text-decoration: none; }
.lang-switch__item.is-active { background: var(--ink); color: var(--paper); }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: var(--ink); color: var(--paper); cursor: pointer; }
.logo-svg { display: block; }
.logo-svg--accent-dots .logo-dot { fill: var(--accent); }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .site-header__cta { display: none; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--paper); border-bottom: var(--border); }
  .site-nav.is-open { display: flex; }
  .site-nav a { min-height: 56px; padding: 0 4px; border-radius: 0; border-bottom: 1px solid var(--line-soft); font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
  .site-nav a[aria-current="page"] { background: transparent; color: var(--accent); }
  .site-nav__contact { display: inline-flex !important; }
}
@media (max-width: 420px) {
  .site-header__logo .logo-svg { width: 112px; }
  .lang-switch__item { padding: 0 9px; }
}

/* ── Hero ───────────────────────────────────────── */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 56px; align-items: center; padding-block: clamp(40px, 6vw, 72px) clamp(64px, 8vw, 104px); }
.hero__text { display: flex; flex-direction: column; gap: 28px; }
.hero__collage { position: relative; height: clamp(360px, 44vw, 600px); }
.collage-card { position: absolute; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; border-radius: 28px; overflow: hidden; transition: transform .45s var(--ease); }
.collage-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.collage-card__top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.collage-card__title { font-size: clamp(28px, 3.6vw, 52px); line-height: .9; letter-spacing: -.055em; font-weight: 800; }
.collage-card--1 { left: 0; top: 5%; width: 52%; aspect-ratio: 3 / 4; background: var(--ink); color: var(--paper); transform: rotate(-4deg); }
.collage-card--1 .collage-card__title { color: var(--accent); }
.collage-card--2 { right: 2%; top: 25%; width: 44%; aspect-ratio: 4 / 5; background: var(--paper-2); border: var(--border); transform: rotate(3deg); }
.collage-card--2 { justify-content: flex-end; }
.collage-card--2 .collage-card__top { display: none; }
.collage-card--2 .collage-card__title { font-size: clamp(24px, 2.6vw, 38px); }
.collage-card--3 { right: 8%; top: 0; width: 30%; aspect-ratio: 1 / 1; background: var(--accent); transform: rotate(6deg); padding: 16px; }
.collage-card--3 .collage-card__title { font-size: clamp(18px, 2vw, 28px); }
.collage-card:hover { transform: rotate(0deg) translateY(-6px); }
.collage-pill { position: absolute; left: 28%; bottom: 0; padding: 14px 22px; border: var(--border); border-radius: 999px; background: var(--paper); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

/* ── Marquee ────────────────────────────────────── */
.marquee { overflow: hidden; background: var(--ink); padding: 22px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 36px; padding-right: 36px; font-size: clamp(28px, 3.2vw, 44px); font-weight: 700; letter-spacing: -.035em; color: var(--paper); white-space: nowrap; }
.marquee__star { color: var(--accent); }
.marquee--case { margin-block: clamp(40px, 6vw, 80px); padding: 18px 0; }
.marquee--case .marquee__group { font-size: clamp(24px, 2.8vw, 40px); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Section heads & grids ──────────────────────── */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head > div { display: flex; flex-direction: column; gap: 18px; }
.section-head__text { max-width: 420px; font-size: 18px; color: var(--muted); }
.section-head__text--on-dark { color: var(--on-dark-muted); }
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 24px; }
.grid--cards-sm { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--gap-lg { gap: 48px 24px; }

/* ── Cards ──────────────────────────────────────── */
.card { display: flex; flex-direction: column; gap: 14px; padding: 12px 12px 24px; border: var(--border); border-radius: var(--r-lg); background: var(--paper-2); text-decoration: none; transition: transform .45s var(--ease); }
.card:hover, .article-card:hover, .service-card:hover, .step:hover, .quote-card:hover, .next-nav__item:hover { transform: translateY(-6px); color: inherit; }
.card[hidden], .article-card[hidden] { display: none; }
.card__meta { display: flex; justify-content: space-between; align-items: center; padding: 0 10px; }
.card__title { padding: 0 10px; font-size: clamp(24px, 2vw, 28px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; }
.card__text { padding: 0 10px; font-size: 16px; line-height: 1.45; color: var(--muted); }
.service-card .card__text, .article-card .card__text { padding: 0; }

.media { position: relative; overflow: hidden; border-radius: 20px; background: var(--stone); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--4x5 { aspect-ratio: 4 / 5; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; border-radius: var(--r-lg); }
.media--16x10 { aspect-ratio: 16 / 10; border-radius: var(--r-md); }
.media--hero { aspect-ratio: 16 / 8; border-radius: 36px; }
.media--article { aspect-ratio: 16 / 8; border-radius: 36px; margin-block: clamp(32px, 5vw, 56px); }
.gallery .media--4x5 { border-radius: var(--r-lg); }
.ph { display: flex; align-items: flex-end; padding: 16px; }
.ph--ink { background: var(--ink); color: var(--on-dark-muted); }
.ph--stone { background: var(--stone); color: var(--muted); }
.ph--accent { background: var(--accent); color: var(--ink); }
.ph--paper { background: var(--paper-2); border: var(--border); }
.ph__label { font-size: clamp(26px, 3vw, 40px); line-height: .92; letter-spacing: -.05em; font-weight: 800; max-width: 10ch; }
.ph--ink .ph__label { color: var(--paper); }

.service-card { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 400px; padding: 32px; border: var(--border); border-radius: var(--r-lg); background: var(--paper-2); text-decoration: none; transition: transform .45s var(--ease); }
.service-card__top { display: flex; justify-content: space-between; align-items: center; }
.service-card__body { display: flex; flex-direction: column; gap: 16px; }
.service-card__title { font-size: clamp(32px, 3vw, 40px); line-height: 1; letter-spacing: -.045em; font-weight: 800; }
.service-card--small { min-height: 0; gap: 12px; padding: 26px 28px; border: 0; border-radius: var(--r-md); background: var(--stone); justify-content: flex-start; }
.service-card__title--sm { font-size: 28px; line-height: 1.05; letter-spacing: -.035em; }

.article-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; transition: transform .45s var(--ease); }
.article-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.article-card__title { font-size: clamp(22px, 2vw, 26px); line-height: 1.1; letter-spacing: -.035em; font-weight: 800; }

/* ── Dark & soft bands ──────────────────────────── */
.dark-band { background: var(--ink); color: var(--on-dark); border-radius: 44px 44px 0 0; }
.band-join--dark { background: var(--ink); }
.soft-band { background: var(--paper-2); }
.band-join--dark > .soft-band { border-radius: 44px 44px 0 0; }
.steps { counter-reset: none; }
.step { display: flex; flex-direction: column; gap: 18px; min-height: 300px; padding: 28px; border-radius: 26px; background: var(--paper); color: var(--ink); transition: transform .45s var(--ease); }
.step__head { display: flex; justify-content: space-between; align-items: center; }
.step__head .mono-sm { color: var(--ink); font-size: 13px; }
.step__title { font-size: 30px; line-height: 1.05; letter-spacing: -.035em; font-weight: 800; }
.step__text { font-size: 16px; color: var(--muted); }
.step__out { margin-top: auto; color: var(--muted); }
.step--accent { background: var(--accent); }
.step--accent .step__text, .step--accent .step__out { color: var(--ink); }

/* ── Testimonials & clients ─────────────────────── */
.quote-card { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 32px; border-radius: var(--r-lg); transition: transform .45s var(--ease); }
.quote-card--ink { background: var(--ink); color: var(--on-dark); }
.quote-card--outline { border: var(--border); background: var(--paper); }
.quote-card--accent { background: var(--accent); }
.quote-card__mark { font-size: 96px; line-height: .5; font-weight: 800; color: var(--accent); }
.quote-card--accent .quote-card__mark { color: var(--ink); }
.quote-card blockquote { font-size: clamp(22px, 2vw, 26px); line-height: 1.2; letter-spacing: -.03em; font-weight: 700; }
.quote-card figcaption { display: flex; flex-direction: column; gap: 2px; }
.quote-card__name { font-weight: 700; }
.quote-card--ink .mono-sm { color: var(--on-dark-muted); }
.quote-card--accent .mono-sm { color: var(--ink); }
.clients { display: flex; flex-direction: column; gap: 18px; padding-top: 24px; }
.clients__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.client { display: flex; align-items: center; justify-content: center; height: 100px; padding: 18px; border: var(--border); border-radius: 22px; text-decoration: none; }
.client img { max-height: 48px; width: auto; object-fit: contain; filter: grayscale(1); }

/* ── About ──────────────────────────────────────── */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr)); gap: 56px; align-items: center; }
.about__text { display: flex; flex-direction: column; gap: 28px; }
.about__visual { position: relative; min-height: 540px; }
.about__photo { position: absolute; inset: 24px 4% 32px 8%; border-radius: 32px; overflow: hidden; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; padding: 14px 20px; border-radius: 999px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.badge--ink { left: 0; top: 0; background: var(--ink); color: var(--paper); transform: rotate(-4deg); }
.badge--accent { right: 0; bottom: 0; background: var(--accent); transform: rotate(3deg); }

/* ── Prose ──────────────────────────────────────── */
.prose { display: flex; flex-direction: column; gap: 18px; }
.prose p, .prose li { color: var(--muted); }
.prose--lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; }
.prose--article { max-width: 720px; margin: 0 auto; padding-bottom: clamp(64px, 8vw, 104px); font-size: 19px; line-height: 1.65; }
.prose h2 { margin-top: 20px; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -.035em; font-weight: 800; }
.prose h3 { margin-top: 12px; font-size: 22px; letter-spacing: -.02em; font-weight: 800; }
.prose ul, .prose ol { display: flex; flex-direction: column; gap: 8px; padding-left: 1.2em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); }
.prose a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.prose blockquote { padding-left: 20px; border-left: 4px solid var(--accent); font-size: 1.15em; color: var(--ink); }
.prose img { border-radius: var(--r-md); }

/* ── FAQ ────────────────────────────────────────── */
.faq { flex-direction: row; flex-wrap: wrap; }
.faq__head { flex: 1 1 340px; display: flex; flex-direction: column; gap: 18px; }
.faq__list { flex: 2 1 560px; border-top: var(--border); }
.faq details { border-bottom: var(--border); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 76px; padding-block: 12px; font-size: clamp(19px, 1.8vw, 24px); font-weight: 700; letter-spacing: -.025em; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq__plus { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: var(--border); border-radius: 50%; font-size: 22px; font-weight: 500; transition: transform .3s var(--ease), background-color .3s; }
.faq details[open] .faq__plus { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); }
.faq__answer { max-width: 720px; padding-bottom: 28px; font-size: 18px; color: var(--muted); }

/* ── CTA block ──────────────────────────────────── */
.cta-block { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px; padding: clamp(36px, 7vw, 96px); border-radius: var(--r-xl); background: var(--ink); color: var(--on-dark); }
.cta-block__text { flex: 1 1 560px; display: flex; flex-direction: column; gap: 28px; }
.cta-block--row .cta-block__text { gap: 16px; }

/* ── Page heads, filters ────────────────────────── */
.page-head { display: flex; flex-direction: column; gap: 36px; padding-block: clamp(40px, 6vw, 64px) 48px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.page-head .filters { padding-top: 28px; border-top: var(--border); }
.filter { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: var(--border); border-radius: 999px; background: transparent; font-weight: 700; font-size: 16px; cursor: pointer; transition: transform .25s var(--ease), background-color .2s, color .2s; }
.filter:hover { transform: translateY(-2px); }
.filter.is-active { background: var(--ink); color: var(--paper); }
.filter__count { font-family: var(--mono); font-size: 12px; font-weight: 400; opacity: .85; }
.filter-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; border-top: var(--border); }
.empty-note { padding: 40px 0; color: var(--muted); }

/* ── Project page ───────────────────────────────── */
.project-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 48px; align-items: end; padding-block: clamp(32px, 5vw, 48px) clamp(40px, 5vw, 64px); }
.project-hero__text { display: flex; flex-direction: column; gap: 26px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.file-card { justify-self: end; width: min(100%, 460px); display: flex; flex-direction: column; gap: 18px; padding: 26px; border: var(--border); border-radius: 28px; background: var(--paper-2); }
.file-card__head { display: flex; justify-content: space-between; align-items: center; }
.file-card dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.file-card dl > div:last-child { border-bottom: 1px solid var(--line-soft); }
.file-card dt { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.file-card dd { font-weight: 700; text-align: right; }
.case { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 104px); }
.case-block { display: flex; flex-wrap: wrap; gap: 24px 56px; }
.case-block__head { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; }
.case-block > :last-child { flex: 3 1 560px; }
.gallery { display: grid; gap: 20px; }
.gallery--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); }
.gallery--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.big-quote { display: flex; flex-direction: column; gap: 28px; padding: clamp(36px, 6vw, 80px); border-radius: var(--r-xl); background: var(--ink); color: var(--on-dark); }
.big-quote__mark { font-size: 120px; line-height: .5; font-weight: 800; color: var(--accent); }
.big-quote blockquote { max-width: 1100px; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.1; letter-spacing: -.035em; font-weight: 700; }
.big-quote .mono-sm { color: var(--on-dark-muted); }
.credits { display: flex; flex-wrap: wrap; gap: 10px; }
.credits .tag { gap: 10px; font-size: 11px; }
.credits dt { color: var(--muted-2); }
.credits dd { font-family: var(--font); font-size: 16px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink); }
.similar { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 48px; margin-top: clamp(48px, 8vw, 104px); padding: clamp(28px, 5vw, 72px); border-radius: var(--r-xl); background: var(--accent); }
.similar__text { display: flex; flex-direction: column; gap: 24px; }
.similar .label, .similar .lead { color: var(--ink); }
.ref-pill { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.ref-pill .mono-sm { color: var(--on-dark-muted); }
.next-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; padding-block: 64px; }
.next-nav__item { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: var(--border); border-radius: 28px; background: var(--paper-2); text-decoration: none; transition: transform .45s var(--ease); }
.next-nav__item--dark { align-items: flex-end; text-align: right; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.next-nav__item--dark:hover { color: var(--paper); }
.next-nav__item--dark .mono-sm { color: var(--on-dark-muted); }
.next-nav__title { font-size: clamp(26px, 2.4vw, 32px); letter-spacing: -.035em; font-weight: 800; }
.sticky-cta { display: none; }
@media (max-width: 720px) {
  .file-card { justify-self: stretch; width: 100%; }
  .sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 0 8px 0 22px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 700; text-decoration: none; box-shadow: 0 10px 28px rgba(20, 20, 20, .25); transition: transform .35s var(--ease), opacity .35s; }
  .sticky-cta:hover { color: var(--paper); }
  .sticky-cta.is-hidden { transform: translateY(120%); opacity: 0; }
  .sticky-cta__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--ink); }
  .page-project .site-footer { padding-bottom: 72px; }
}

/* ── Journal ────────────────────────────────────── */
.feature-card { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); border-radius: 36px; overflow: hidden; background: var(--ink); color: var(--on-dark); text-decoration: none; transition: transform .45s var(--ease); }
.feature-card:hover { transform: translateY(-6px); color: var(--on-dark); }
.feature-card__media { min-height: 380px; position: relative; }
.feature-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-card__body { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: clamp(28px, 4vw, 56px); }
.feature-card__text { display: flex; flex-direction: column; gap: 18px; }
.feature-card__title { font-size: clamp(32px, 3.4vw, 54px); line-height: 1; letter-spacing: -.045em; font-weight: 800; }
.feature-card__excerpt { font-size: 19px; color: var(--on-dark-muted); }
.feature-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--on-dark-muted); }
.round-arrow { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); color: var(--ink); }
.article-head { display: flex; flex-direction: column; gap: 24px; padding-top: clamp(32px, 5vw, 56px); }
.newsletter { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; padding: clamp(28px, 5vw, 64px); border: var(--border); border-radius: 36px; background: var(--paper-2); }
.newsletter__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; }
.newsletter__form { flex: 1 1 420px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.newsletter__form .field { flex: 1 1 240px; }

/* ── Forms ──────────────────────────────────────── */
.contact { display: flex; flex-wrap: wrap; gap: 56px; padding-block: clamp(40px, 6vw, 64px) clamp(64px, 8vw, 104px); }
.contact__intro { flex: 1 1 380px; display: flex; flex-direction: column; gap: 28px; }
.contact__steps { display: flex; flex-direction: column; gap: 10px; }
.contact__steps li { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border: var(--border); border-radius: 20px; background: var(--paper-2); font-size: 17px; font-weight: 600; }
.contact__steps li.is-dark { background: var(--ink); color: var(--paper); }
.contact__steps li.is-dark .mono-sm { color: var(--accent); }
.contact__details { display: flex; flex-direction: column; gap: 18px; }
.form-card { display: flex; flex-direction: column; gap: 20px; padding: 28px; border-radius: 28px; background: var(--paper); }
.form-card--big { flex: 2 1 560px; min-width: 0; gap: 36px; padding: clamp(24px, 4vw, 48px); border: var(--border); border-radius: 36px; background: var(--paper-2); }
.form-card fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.form-card legend { padding: 0 0 14px; color: var(--ink); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 0 16px; border: var(--border); border-radius: 14px; background: #FFFFFF; font-size: 16px; font-weight: 400; color: var(--ink); }
.field textarea { padding: 14px 16px; line-height: 1.5; resize: vertical; }
.field select { padding: 0 14px; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23141414' stroke-width='1.8' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field .file-input { padding: 12px 16px; border-style: dashed; }
.field--pill input { min-height: 58px; padding: 0 22px; border-radius: 999px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(226, 70, 43, .25); }
.field__error { color: #A02A15; font-size: 13px; font-weight: 600; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 0; flex: 0 0 20px; accent-color: var(--ink); }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; align-items: center; min-height: 50px; padding: 0 20px; border: var(--border); border-radius: 999px; background: #FFFFFF; font-size: 16px; font-weight: 600; cursor: pointer; transition: background-color .2s, transform .25s var(--ease); }
.choice:hover { transform: translateY(-2px); }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice:has(input:checked) { background: var(--accent); }
.choice:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.choice span::before { content: "+"; display: inline-block; width: 16px; font-family: var(--mono); }
.choice:has(input:checked) span::before { content: "✓"; }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 24px; border-top: var(--border); }
.form-foot .check { flex: 1 1 320px; }

/* ── Simple pages ───────────────────────────────── */
.simple-page { min-height: 60vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 28px; padding-block: 96px; }
.simple-page--text { justify-content: flex-start; min-height: 0; padding-block: 56px 0; }
.simple-page--text .prose--article { margin: 0; }

/* ── Footer ─────────────────────────────────────── */
.site-footer { border-top: var(--border); background: var(--paper); }
.site-footer__inner { display: flex; flex-direction: column; gap: 56px; padding-block: 64px 28px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px 24px; font-size: 16px; line-height: 1.6; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 16px; }
.site-footer__logo { display: block; color: var(--ink); }
.site-footer__logo .logo-svg { width: 100%; height: auto; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted-2); }
.site-footer__bottom a { color: var(--muted-2); }

/* ── Motion ─────────────────────────────────────── */
.rise { animation: rise .9s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.is-in:hover { transition: transform .45s var(--ease); }
.js .card.reveal.is-in:hover, .js .service-card.reveal.is-in:hover, .js .article-card.reveal.is-in:hover, .js .step.reveal.is-in:hover, .js .quote-card.reveal.is-in:hover { transform: translateY(-6px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { gap: 32px; }
  .hero__collage { height: 340px; }
  .collage-pill { display: none; }
  .collage-card--3 .collage-card__top { display: none; }
  .collage-card--3 { justify-content: flex-end; }
  .about__visual { min-height: 320px; }
  .badge { font-size: 14px; padding: 10px 14px; }
  .service-card { min-height: 0; padding: 24px; }
  .cta-block { padding: 32px 22px; }
  .step { min-height: 0; }
  .dark-band, .band-join--dark > .soft-band { border-radius: 32px 32px 0 0; }
}
