/* Y marketing agency — "The feed, printed."  See DESIGN.md */

:root {
  --char: #232226;
  --char-2: #2b2a30;
  --ink: #1c1b1f;
  --paper: #f4eee4;
  --paper-2: #ede4d8;
  --cream: #ede4d8;
  --lila: #a98bfa;
  --lila-deep: #6b47e8;
  --muted-dark: #b6adc4;
  --muted-paper: #5d5568;
  --line-dark: rgba(237, 228, 216, 0.14);
  --line-paper: rgba(28, 27, 31, 0.14);

  --display: 'Unbounded', 'Plus Jakarta Sans', system-ui, sans-serif;
  --body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --head-h: 72px;

  --h1: clamp(2.35rem, 1.2rem + 4.2vw, 4.9rem);
  --h2: clamp(1.9rem, 1.2rem + 2.4vw, 3.2rem);
  --h3: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
}

/* Section themes */
.dark { --bg: var(--char); --fg: var(--cream); --muted: var(--muted-dark); --line: var(--line-dark); --accent: var(--lila); --raised: var(--char-2); color-scheme: dark; }
.paper { --bg: var(--paper); --fg: var(--ink); --muted: var(--muted-paper); --line: var(--line-paper); --accent: var(--lila-deep); --raised: var(--paper-2); color-scheme: light; }

/* Reset-ish */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--char);
  color: var(--cream);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: var(--h1); font-weight: 700; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); line-height: 1.2; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
section[id] { scroll-margin-top: var(--head-h); }
section { background: var(--bg); color: var(--fg); }

/* Browser surfaces */
::selection { background: var(--lila); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lila); outline-offset: 3px; border-radius: 4px; }
input, textarea, select, button { caret-color: var(--lila); font: inherit; }
html { scrollbar-color: rgba(169, 139, 250, 0.55) var(--char); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--char); }
::-webkit-scrollbar-thumb { background: rgba(169, 139, 250, 0.55); border: 3px solid var(--char); border-radius: 999px; }

.y { color: var(--accent); text-transform: uppercase; }
.lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); line-height: 1.55; max-width: 62ch; color: var(--muted); text-wrap: pretty; }
.lead b { color: var(--fg); font-weight: 600; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.ico { flex: none; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--lila); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s var(--ease);
}
.btn .ico { transition: transform 0.3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn-fill { background: var(--lila); color: var(--ink); box-shadow: 0 14px 30px -14px rgba(169, 139, 250, 0.7); }
.btn-fill:hover { background: #bda6ff; box-shadow: 0 18px 36px -14px rgba(169, 139, 250, 0.85); }
.btn-ghost { border-color: var(--line); color: var(--fg); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.paper .btn-fill { background: var(--lila-deep); color: #fff; box-shadow: 0 14px 30px -14px rgba(107, 71, 232, 0.6); }
.paper .btn-fill:hover { background: #5a36d6; }
.btn.small { min-height: 42px; padding: 0 18px; font-size: 0.9375rem; }
.btn:disabled { opacity: 0.7; cursor: progress; transform: none; }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--char) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-head.scrolled { border-bottom-color: var(--line-dark); background: color-mix(in srgb, var(--char) 92%, transparent); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--head-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); }
.ymark { color: var(--lila); }
.logo-y { width: 26px; height: 26px; }
.logo-text { font-family: var(--display); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; text-transform: lowercase; color: var(--muted-dark); }
.nav { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: flex-end; }
.nav ul { display: flex; gap: 4px; }
.nav li a { display: inline-block; padding: 8px 12px; font-weight: 500; font-size: 0.95rem; text-decoration: none; color: var(--muted-dark); border-radius: 999px; transition: color 0.25s, background 0.25s; }
.nav li a:hover { color: var(--cream); background: rgba(237, 228, 216, 0.06); }
.nav-tail { display: flex; align-items: center; gap: 16px; }
.lang { display: inline-flex; gap: 6px; font-family: var(--display); font-size: 0.72rem; letter-spacing: 0.12em; text-decoration: none; color: var(--muted-dark); padding: 8px 4px; }
.lang:hover { color: var(--cream); }
.lang-cur { color: var(--cream); }
.lang-sep { opacity: 0.5; }
.menu-btn { display: none; align-items: center; gap: 10px; background: none; border: 1.5px solid var(--line-dark); color: var(--cream); border-radius: 999px; min-height: 42px; padding: 0 8px 0 16px; font-weight: 600; font-size: 0.9rem; cursor: pointer; }
.menu-lines { display: inline-grid; gap: 5px; width: 28px; height: 28px; place-content: center; }
.menu-lines i { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.35s var(--ease); }
.menu-open .menu-lines i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-lines i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 7vw, 100px); position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: auto -20% -40% auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(closest-side, rgba(169, 139, 250, 0.22), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero-copy h1 { max-width: 12ch; }
html[lang='sr'] .hero-copy h1 { max-width: 14ch; font-size: calc(var(--h1) * 0.88); }
.hero-copy .lead { margin-top: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 0.9rem; color: var(--muted-dark); }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--lila); }

.feed-wrap { perspective: 1400px; }
.feed {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  padding: 10px; border-radius: 26px; background: var(--char-2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--line-dark);
  transform: rotate(-3deg) rotateY(-6deg);
  transform-origin: 60% 50%;
}
.tile {
  container-type: inline-size;
  aspect-ratio: 1; border-radius: 14px; overflow: hidden; position: relative;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 14px;
  background: var(--paper); color: var(--ink);
  animation: tile-in 0.9s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 120ms);
}
.tile.photo { padding: 0; background: var(--char); }
.tile.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.feed:hover .tile.photo img { transform: scale(1.04); }
.tile.word strong { font-family: var(--display); font-size: clamp(1.1rem, 17cqi, 2.2rem); line-height: 1; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.tile.word span { font-size: clamp(0.68rem, 8cqi, 0.85rem); color: var(--muted-paper); line-height: 1.25; }
.tile.word.lila { background: var(--lila); }
.tile.word.lila span { color: rgba(28, 27, 31, 0.72); }
.tile.word.deep { background: var(--lila-deep); color: #fff; }
.tile.word.deep span { color: rgba(255, 255, 255, 0.78); }
.tile.mark { background: var(--lila); align-items: center; justify-content: center; }
.tile.mark .ymark { width: 52%; color: var(--ink); }
.tile.caption { background: var(--char); color: var(--cream); border: 1px solid var(--line-dark); }
.tile.caption .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lila); margin-bottom: auto; }
.tile.caption strong { font-size: clamp(0.8rem, 0.65rem + 0.5vw, 0.95rem); line-height: 1.25; }
.tile.caption span { font-size: 0.74rem; color: var(--muted-dark); }
@keyframes tile-in { from { opacity: 0.001; transform: translateY(18px) scale(0.92); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tile { animation: none; } .feed { transform: rotate(-2deg); } }

/* Proof strip */
.proof { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: var(--char-2); }
.proof-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; padding: 22px 0; }
.proof-label { font-family: var(--display); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-dark); }
.proof-list { display: flex; flex-wrap: wrap; gap: 12px 36px; }
.proof-list li { display: flex; flex-direction: column; line-height: 1.3; }
.proof-list strong { font-weight: 600; }
.proof-list span { font-size: 0.85rem; color: var(--muted-dark); }
.proof-bases { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--muted-dark); }
.proof-bases .ico { color: var(--lila); }

/* Generic section rhythm */
.why, .services, .plans, .process, .work, .team, .whyy, .faq, .contact { padding: clamp(64px, 9vw, 128px) 0; }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { max-width: 16ch; }

/* Why now */
.why-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.why-top h2 { max-width: 14ch; }
.ywords { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: clamp(40px, 6vw, 72px) 0 0; padding-top: 32px; border-top: 1px solid var(--line); }
.ywords div { display: grid; gap: 10px; }
.ywords dt { font-family: var(--display); font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); font-weight: 600; letter-spacing: -0.03em; }
.ywords dd { margin: 0; color: var(--muted); max-width: 34ch; text-wrap: pretty; }
.ywords.stack { grid-template-columns: 1fr; gap: 20px; margin-top: 36px; }
.ywords.stack div { grid-template-columns: minmax(150px, 0.4fr) 1fr; align-items: baseline; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.ywords.stack div:last-child { border-bottom: 0; padding-bottom: 0; }
.ywords.stack dd { max-width: none; }

/* Services */
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 5vw, 80px); border-top: 1px solid var(--line); }
.service-list li { display: grid; grid-template-columns: 28px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.service-list .ico { color: var(--accent); margin-top: 2px; }
.service-list h3 { margin-bottom: 8px; }
.service-list p { color: var(--muted); text-wrap: pretty; }
.more { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 36px; }
.more > span { font-size: 0.9rem; color: var(--muted); }
.more ul { display: flex; flex-wrap: wrap; gap: 8px; }
.more li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9rem; font-weight: 500; }

/* Plans */
.plans { background: var(--raised); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tier { position: relative; display: flex; flex-direction: column; gap: 16px; padding: clamp(28px, 3vw, 40px) clamp(20px, 2.5vw, 36px); border-right: 1px solid var(--line); }
.tier:last-child { border-right: 0; }
.tier.featured { background: var(--paper); margin: -1px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 24px 50px -30px rgba(28, 27, 31, 0.45); border-radius: 0 0 var(--r) var(--r); }
.flag { position: absolute; top: 0; right: 24px; transform: translateY(-50%); background: var(--lila-deep); color: #fff; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; padding: 6px 12px; border-radius: 999px; }
.tier h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.tier .who { color: var(--muted); min-height: 3.2em; text-wrap: pretty; }
.includes { display: grid; gap: 10px; flex: 1; margin: 6px 0 10px; }
.includes li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.97rem; }
.includes .ico { color: var(--accent); margin-top: 3px; }
.tier .btn { align-self: flex-start; }
.plans-note { margin-top: 28px; color: var(--muted); max-width: 70ch; text-wrap: pretty; }

/* Process */
.process h2 { max-width: 12ch; margin-bottom: clamp(36px, 5vw, 56px); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); border-top: 1px solid var(--line); padding-top: 32px; margin-bottom: 44px; }
.steps li { display: grid; gap: 12px; align-content: start; }
.num { font-family: var(--display); font-size: 0.8rem; color: var(--lila); letter-spacing: 0.1em; }
.steps h3 { font-size: 1.25rem; }
.steps p { color: var(--muted); text-wrap: pretty; }

/* Work */
.case { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.case h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
.case .where { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 22px; color: var(--muted); }
.case .where .ico { color: var(--accent); }
.case-copy > p:not(.where) { text-wrap: pretty; }
.scope { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.scope li { padding: 7px 14px; border-radius: 999px; background: var(--paper-2); font-size: 0.9rem; font-weight: 500; }
.case-photos { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto; gap: 14px; }
.case-photos figure { overflow: hidden; border-radius: var(--r); box-shadow: 0 24px 50px -28px rgba(28, 27, 31, 0.55); }
.case-photos .wide { aspect-ratio: 4 / 3; }
.case-photos .tall { aspect-ratio: 3 / 4; align-self: end; }
.case-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.case-photos figure:hover img { transform: scale(1.03); }
.work-more { margin-top: clamp(32px, 4vw, 48px); padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.work-more a { color: var(--accent); font-weight: 600; }

/* Team */
.team { background: var(--raised); }
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.people li { display: grid; gap: 18px; }
.people figure { aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: linear-gradient(160deg, #d9ccf5, var(--lila) 70%); }
.people img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1) contrast(1.05); mix-blend-mode: multiply; }
.people .role { font-family: var(--display); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 6px 0 12px; }
.people p:not(.role) { color: var(--muted); font-size: 0.97rem; text-wrap: pretty; }

/* Why Y */
.whyy-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.big-y { width: min(100%, 360px); color: var(--lila); filter: drop-shadow(0 30px 60px rgba(169, 139, 250, 0.35)); }
.whyy .lead { margin-top: 20px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq h2 { max-width: 12ch; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--accent); }
.plus { position: relative; width: 22px; height: 22px; flex: none; }
.plus::before, .plus::after { content: ''; position: absolute; inset: 0; margin: auto; background: currentColor; border-radius: 2px; transition: transform 0.35s var(--ease); }
.plus::before { width: 14px; height: 1.5px; }
.plus::after { width: 1.5px; height: 14px; }
details[open] .plus::after { transform: rotate(90deg); }
details p { padding: 0 44px 22px 0; color: var(--muted); max-width: 62ch; text-wrap: pretty; }

/* Contact */
.contact { position: relative; overflow: hidden; }
.contact::before { content: ''; position: absolute; left: -10%; top: -20%; width: 50vw; height: 50vw; max-width: 640px; max-height: 640px; background: radial-gradient(closest-side, rgba(169, 139, 250, 0.18), transparent 70%); pointer-events: none; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; position: relative; }
.contact-copy h2 { max-width: 12ch; }
.contact-copy .lead { margin-top: 20px; }
.contact-links { display: grid; gap: 14px; margin-top: 36px; }
.contact-links a, .contact-links .static { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }
.contact-links a:hover { color: var(--lila); }
.contact-links .ico { color: var(--lila); }

.form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 36px); border-radius: 24px; background: var(--char-2); border: 1px solid var(--line-dark); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--muted-dark); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  background: var(--char); color: var(--cream); border: 1.5px solid var(--line-dark);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--lila); box-shadow: 0 0 0 4px rgba(169, 139, 250, 0.18); }
.field [aria-invalid='true'] { border-color: #ff8a8a; }
.err { font-size: 0.85rem; color: #ffb0b0; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.select::after { content: ''; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--muted-dark); border-bottom: 1.5px solid var(--muted-dark); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form-status { display: none; gap: 4px; padding: 16px 18px; border-radius: 12px; font-size: 0.95rem; line-height: 1.5; }
.form-status.show { display: grid; }
.form-status.ok { background: rgba(169, 139, 250, 0.14); border: 1px solid rgba(169, 139, 250, 0.4); }
.form-status.bad { background: rgba(255, 138, 138, 0.1); border: 1px solid rgba(255, 138, 138, 0.4); }
.form-status a { color: var(--lila); }
.form.sent .btn { opacity: 0.6; }
.btn.is-sending .ico { animation: nudge 0.9s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }

/* Footer */
.site-foot { border-top: 1px solid var(--line-dark); background: var(--char); color: var(--muted-dark); font-size: 0.9rem; }
.foot-row { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: center; padding: 32px 0; }
.foot-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.foot-meta .lang { font-family: var(--body); font-size: 0.9rem; letter-spacing: 0; padding: 0; text-decoration: underline; text-underline-offset: 0.2em; }

/* Responsive */
@media (max-width: 1100px) {
  .ywords { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (max-width: 900px) {
  :root { --head-h: 64px; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--head-h)); flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 8px; padding: 24px var(--gutter) 40px; background: var(--char); border-top: 1px solid var(--line-dark); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease), transform 0.4s var(--ease); overflow: auto; }
  .menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .menu-open { overflow: hidden; }
  .menu-open .site-head { background: var(--char); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li a { display: block; padding: 14px 4px; font-family: var(--display); font-size: 1.4rem; font-weight: 600; letter-spacing: -0.02em; color: var(--cream); border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .nav li a:hover { background: none; color: var(--lila); }
  .nav-tail { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 16px; }
  .nav-tail .btn { justify-content: center; min-height: 52px; font-size: 1rem; }
  .lang { justify-content: center; font-size: 0.85rem; }
  .menu-btn { display: inline-flex; }
  .hero-grid, .why-top, .case, .whyy-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: none; }
  .feed { transform: none; margin-top: 8px; }
  .feed-wrap { max-width: 520px; }
  .ywords { grid-template-columns: 1fr; gap: 22px; }
  .ywords dd { max-width: none; }
  .service-list { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; border: 0; gap: 12px; }
  .tier { border: 1px solid var(--line); border-radius: var(--r); }
  .tier.featured { margin: 8px 0 0; border-radius: var(--r); }
  .steps { grid-template-columns: 1fr 1fr; }
  .people { grid-template-columns: 1fr; gap: 28px; }
  .people li { grid-template-columns: 120px 1fr; align-items: start; gap: 20px; }
  .people figure { aspect-ratio: 4 / 5; }
  .big-y { width: 140px; }
  .whyy-grid { gap: 24px; }
  .foot-row { grid-template-columns: 1fr; gap: 16px; }
  .proof-bases { margin-left: 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; justify-content: center; }
  .case-photos { grid-template-columns: 1fr; }
  .case-photos .tall { aspect-ratio: 4 / 3; }
  .tier .who { min-height: 0; }
  .people li { grid-template-columns: 96px 1fr; gap: 16px; }
  .ywords.stack div { grid-template-columns: 1fr; gap: 6px; }
  details p { padding-right: 0; }
}
