/* Studio Lucro v3 - plum and apricot. Serif display, Figtree body, mono for code. */

@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-opsz-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-opsz-italic.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7ece6;
  --surface: #fbf3ee;
  --text: #24102d;
  --muted: #4e3a57;
  --faint: #6b5775;
  --line: rgba(36, 16, 45, 0.14);
  --line-strong: rgba(36, 16, 45, 0.32);
  --accent: #b8431a;
  --plum: #2b1235;
  --apricot: #ffb784;
  --lilac: #e2d6f5;
  --btn: #2b1235;
  --on-btn: #f7ece6;
  --btn-hover: #44205a;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1160px;
  --wide: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 11vw, 152px);
  --s: 1;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; color-scheme: light; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; font-variation-settings: "opsz" 72; letter-spacing: -0.025em; word-spacing: 0.08em; text-wrap: balance; }
em { font-style: italic; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }

/* ---------- Colour scopes ---------- */
.theme-plum {
  --bg: #2b1235; --surface: #3a1c48; --text: #f7ece6; --muted: #d4c0dd; --faint: #b49cc0;
  --line: rgba(247, 236, 230, 0.18); --line-strong: rgba(247, 236, 230, 0.36);
  --accent: #ffb784; --btn: #ffb784; --on-btn: #24102d; --btn-hover: #ffc7a1;
  color: var(--text);
}
.theme-apricot {
  --bg: #ffb784; --surface: #ffb784; --text: #24102d; --muted: #3f2a49; --faint: #523b5e;
  --line: rgba(36, 16, 45, 0.26); --line-strong: rgba(36, 16, 45, 0.5);
  --accent: #24102d; --btn: #2b1235; --on-btn: #f7ece6; --btn-hover: #44205a;
  color: var(--text);
}
.theme-lilac {
  --bg: #e2d6f5; --surface: #ece3f9; --text: #24102d; --muted: #3f2a55; --faint: #5b4673;
  --line: rgba(36, 16, 45, 0.2); --line-strong: rgba(36, 16, 45, 0.4);
  --accent: #24102d; color: var(--text);
}
.band { background: var(--bg); }
.band-sand { --bg: #f1e0d7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--btn); color: var(--on-btn);
  font: 600 16px/1 var(--body); letter-spacing: -0.01em; cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--btn-hover); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { background: rgba(36, 16, 45, 0.06); border-color: var(--text); }
.theme-plum .btn--ghost:hover { background: rgba(247, 236, 230, 0.08); }
.btn__arrow { transition: transform .2s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; z-index: 50; top: 10px; left: 50%; transform: translateX(-50%);
  width: min(var(--wrap), 100% - var(--gutter) * 2); height: 68px; padding: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: rgba(247, 236, 230, 0); border: 1px solid transparent; border-radius: 999px;
  -webkit-backdrop-filter: blur(0) saturate(1); backdrop-filter: blur(0) saturate(1);
  transition: width .45s cubic-bezier(.2,.7,.2,1), top .45s cubic-bezier(.2,.7,.2,1), height .45s cubic-bezier(.2,.7,.2,1), padding .45s cubic-bezier(.2,.7,.2,1), background-color .3s ease, border-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease, -webkit-backdrop-filter .3s ease;
}
.nav.is-scrolled {
  top: 14px; width: min(1080px, 100% - 24px); height: 60px; padding: 0 10px 0 22px;
  background: rgba(247, 236, 230, 0.92); border-color: var(--line);
  box-shadow: 0 8px 30px rgba(36, 16, 45, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
}
.nav__logo img { height: 22px; width: auto; }
.nav__links { display: flex; gap: 6px; }
.nav__links a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--muted); transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--text); background: rgba(36, 16, 45, 0.07); }
.nav__cta { height: 42px; padding: 0 20px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(150px, 22vh, 230px) 0 clamp(80px, 11vw, 140px); }
.hero h1 { font-size: clamp(46px, 7.4vw, 106px); line-height: 1; letter-spacing: -0.03em; max-width: 10em; }
.hero h1 em { color: var(--accent); white-space: nowrap; }
.hero__sub { margin-top: 34px; max-width: 32em; font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--muted); }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__avail { display: block; margin-top: 26px; color: var(--faint); font-size: 15px; white-space: pre; }
.hero__avail strong { color: var(--text); font-weight: 600; }

/* ---------- Proof ---------- */
.proof { padding-bottom: var(--section); }
.proof__grid { width: min(var(--wide), 100% - var(--gutter) * 2); display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 88px); align-items: center; background: var(--plum); border-radius: 32px; padding: clamp(32px, 6vw, 88px); }
.proof__title { font-size: clamp(44px, 6vw, 88px); line-height: 1; letter-spacing: -0.03em; }
.proof__title span { display: block; }
.proof__one { color: var(--accent); }
.proof__sub { margin-top: 28px; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); max-width: 24em; }
.proof__link { display: inline-flex; gap: 10px; margin-top: 22px; color: var(--text); font-weight: 600; }
.proof__link:hover .btn__arrow { transform: translateX(3px); }
.proof__img { display: block; border-radius: 20px; overflow: hidden; background: var(--lilac); aspect-ratio: 3 / 2; }
.proof__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.proof__img:hover img { transform: scale(1.03); }

/* ---------- Section scaffolding ---------- */
.section { padding-block: var(--section); }
.section__head { max-width: 860px; }
.section__head h2, .split__head h2, .ai h2, .contact h2, .cs-cta h2 { font-size: clamp(38px, 5vw, 74px); line-height: 1.02; }
.section__head p { margin-top: 22px; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); max-width: 38em; }

/* ---------- Work ---------- */
.cases { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); }
.case { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; transition: border-color .25s, transform .25s; }
.case:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.case__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--lilac); }
.case__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.case:hover .case__img img { transform: scale(1.03); }
.case__body { padding: clamp(22px, 3vw, 34px); display: grid; gap: 10px; }
.case__body h3 { font-size: clamp(28px, 2.7vw, 38px); line-height: 1.05; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.case__arrow { color: var(--accent); font-family: var(--body); transition: transform .2s; }
.case:hover .case__arrow { transform: translate(3px, -3px); }
.case__body p { color: var(--muted); }
.case__body .case__result { color: var(--text); font-weight: 500; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line); }

.trusted { margin-top: clamp(48px, 7vw, 88px); padding-top: 36px; border-top: 1px solid var(--line); --s: 0.78; }
.trusted > p { color: var(--muted); font-size: 16px; margin-bottom: 28px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { flex: none; display: flex; align-items: center; padding-right: clamp(56px, 7vw, 96px); }
.marquee__track img { height: auto; filter: brightness(0); opacity: 0.72; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; width: auto; flex-wrap: wrap; gap: 28px 0; }
  .marquee__track li[aria-hidden] { display: none; }
}
.logo--ready       { width: calc(250px * var(--s)); }
.logo--love2shop   { width: calc(219px * var(--s)); }
.logo--signal      { width: calc(143px * var(--s)); }
.logo--collabco     { width: calc(190px * var(--s)); }
.logo--appreciate  { width: calc(191px * var(--s)); }

/* ---------- Quotes ---------- */
.quote-feat { margin: clamp(32px, 5vw, 56px) 0 0; padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); display: grid; gap: clamp(28px, 4vw, 48px); }
.quote-feat blockquote { margin: 0; }
.quote-feat p { font: 400 clamp(30px, 3.9vw, 56px)/1.1 var(--display); font-variation-settings: "opsz" 72; letter-spacing: -0.025em; color: var(--faint); max-width: 22em; text-wrap: balance; }
.quote-feat .hl { color: var(--text); }
.quote-feat figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; color: var(--muted); }
.quote-feat figcaption span { display: grid; font-size: 16px; }
.quote-feat figcaption strong { color: var(--text); font-weight: 600; font-size: 18px; }
.quote-feat .proof__link { margin-top: 0; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.quote { margin: 0; padding: clamp(28px, 3vw, 40px) clamp(0px, 2.4vw, 32px) 0 0; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.quote + .quote { border-left: 1px solid var(--line); padding-left: clamp(20px, 2.6vw, 36px); }
.quote blockquote { margin: 0; }
.quote p { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; letter-spacing: -0.01em; font-weight: 500; text-wrap: pretty; }
.quote figcaption { color: var(--muted); font-size: 15px; display: grid; }
.quote figcaption strong { color: var(--text); font-weight: 600; font-size: 16px; }

/* ---------- Services ---------- */
.pillars { margin-top: clamp(44px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { padding: clamp(28px, 3.2vw, 40px); border-radius: 24px; display: flex; flex-direction: column; gap: 18px; }
.pillar:nth-child(1) { background: var(--plum); color: #f7ece6; }
.pillar:nth-child(2) { background: var(--apricot); color: #24102d; }
.pillar:nth-child(3) { background: var(--lilac); color: #24102d; }
.pillar h3 { font-size: clamp(30px, 3vw, 42px); line-height: 1.05; }
.pillar__time { font-size: 15px; font-weight: 500; opacity: 0.9; order: -1; text-wrap: balance; }
.pillar p { opacity: 0.92; }
.pillar ul { margin-top: auto; padding-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pillar li { display: flex; align-items: center; justify-content: center; text-align: center; padding: 9px 12px; min-height: 42px; border-radius: 16px; font-size: 14px; line-height: 1.25; background: rgba(247, 236, 230, 0.14); }
.pillar:nth-child(n+2) li { background: rgba(36, 16, 45, 0.1); }

/* ---------- AI ---------- */
.ai { padding-block: var(--section); }
.ai__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.ai__lead { margin-top: 22px; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); max-width: 32em; }
.ai__feature { margin-top: 36px; padding: clamp(24px, 3vw, 32px); border-radius: 22px; background: var(--apricot); color: #24102d; display: grid; gap: 10px; }
.ai__feature h3 { font-size: clamp(28px, 2.7vw, 38px); line-height: 1.05; }
.ai__feature p { max-width: 30em; }
.ai__list { margin-top: 32px; display: grid; }
.ai__list li { padding: 20px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.ai__list li:last-child { border-bottom: 1px solid var(--line); }
.ai__list strong { font-weight: 600; font-size: 18px; letter-spacing: -0.015em; }
.ai__list span { color: var(--muted); font-size: 16px; }
.ai__rule { margin-top: 28px; color: var(--muted); font-size: 16px; max-width: 34em; }
.ai__rule strong { color: var(--text); font-weight: 600; }

.code { background: #1a0a22; border: 1px solid var(--line-strong); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); position: sticky; top: 100px; min-width: 0; }
.code__bar { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); font: 400 13px/1 var(--mono); color: var(--faint); }
.code pre { margin: 0; padding: 24px 20px 26px; overflow-x: auto; font: 400 14px/1.85 var(--mono); color: #e8dcef; tab-size: 2; }
.code .k { color: var(--faint); }
.code .o { color: var(--apricot); }
.code__note { padding: 14px 20px 18px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }

/* ---------- FAQ ---------- */
.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split__head p { margin-top: 20px; color: var(--muted); max-width: 22em; }
.faq-list { border-bottom: 1px solid var(--line); }
.faq { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: clamp(18px, 1.7vw, 22px); font-weight: 500; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--text), var(--text)) center / 100% 1.5px no-repeat, linear-gradient(var(--text), var(--text)) center / 1.5px 100% no-repeat; transition: transform .25s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 40px 28px 0; color: var(--muted); max-width: 40em; }

/* ---------- Contact ---------- */
.contact { padding-top: 0; }
/* When the section above is a full-width band, keep the card off its edge */
.band + .contact { padding-top: clamp(20px, 4vw, 48px); }
.contact__grid { width: min(var(--wide), 100% - var(--gutter) * 2); display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 96px); align-items: start; background: var(--bg); border-radius: 32px; padding: clamp(32px, 6vw, 88px); }
.contact__sub { margin-top: 22px; color: var(--muted); max-width: 26em; }
.steps { margin: 36px 0 0; padding: 0; list-style: none; display: grid; }
.steps li { padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; }
.steps li strong { color: var(--text); font-weight: 600; }
.contact__mail { margin-top: 28px; color: var(--muted); font-size: 16px; }
.contact__mail a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; background-color: #fff8f3; color: #24102d; border: 1px solid transparent; border-radius: 14px;
  padding: 0 16px; height: 52px; font: 400 16px/1.4 var(--body); transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, #4e3a57 50%), linear-gradient(135deg, #4e3a57 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px; background-size: 6px 6px; background-repeat: no-repeat; }
.field textarea { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(36, 16, 45, 0.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #24102d; box-shadow: 0 0 0 3px rgba(36, 16, 45, 0.25); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }
.form__submit:disabled { opacity: .6; cursor: progress; }
.form__status { grid-column: 1 / -1; min-height: 1.4em; color: var(--text); font-size: 15px; }

/* ---------- Footer ---------- */
.footer { padding: clamp(56px, 8vw, 96px) 0 28px; }
.footer__top { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.footer__logo img { height: 26px; width: auto; }
.footer__tag { margin-top: 20px; color: var(--muted); max-width: 30em; }
.footer__mail { display: inline-block; margin-top: 20px; color: var(--text); }
.footer__links { display: grid; grid-auto-flow: column; grid-template-rows: repeat(3, auto); justify-content: end; gap: 10px 56px; align-content: start; }
.footer__links a { color: var(--muted); transition: color .2s; }
.footer__links a:hover { color: var(--text); }
.footer__bar { width: min(var(--wrap), 100% - var(--gutter) * 2); margin: clamp(48px, 7vw, 88px) auto 0; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; color: var(--faint); font-size: 14px; }
.footer__bar nav { display: flex; gap: 24px; }
.footer__bar a:hover { color: var(--text); }

/* ---------- Blog ---------- */
.tag { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(36, 16, 45, 0.08); color: var(--text); font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.posts { display: grid; gap: clamp(16px, 2vw, 28px); }
.posts--three { grid-template-columns: repeat(3, 1fr); margin-top: clamp(40px, 6vw, 72px); }
.posts--two { grid-template-columns: repeat(2, 1fr); }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; transition: border-color .25s, transform .25s; }
.post-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.post-card__tile { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.tile--plum { background: var(--plum); }
.tile--apricot { background: var(--apricot); }
.tile--lilac { background: var(--lilac); }
.tile--sand { background: #ead4c8; }
.tile__star { position: absolute; transition: transform .6s ease; }
.tile__star--plum { fill: var(--plum); }
.tile__star--apricot { fill: var(--apricot); }
.tile__star--lilac { fill: var(--lilac); }
.tile__star--accent { fill: var(--accent); }
.post-card:hover .tile__star { transform: rotate(8deg) scale(1.04); }
.pos0 { right: -8%; bottom: -24%; width: 78%; }
.pos1 { left: -10%; top: -26%; width: 74%; }
.pos2 { right: -14%; top: -20%; width: 84%; }
.pos3 { left: -6%; bottom: -30%; width: 80%; }
.pos4 { right: -10%; bottom: -26%; width: 76%; }
.post-card__body { padding: clamp(22px, 2.6vw, 30px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card__body h3 { font-size: clamp(25px, 2.3vw, 31px); line-height: 1.08; }
.post-card__body p { color: var(--muted); }
.post-card__meta { margin-top: auto; padding-top: 16px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; color: var(--faint); font-size: 14px; }
.blog__all { margin-top: clamp(28px, 4vw, 44px); display: inline-flex; }
.blog { padding-top: 150px; }
.blog__head h1 { font-size: clamp(46px, 6.6vw, 96px); line-height: 1; letter-spacing: -0.03em; max-width: 12em; }
.blog__head p { margin-top: 22px; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); max-width: 36em; }
.blog__list { margin-top: clamp(40px, 6vw, 72px); display: grid; gap: clamp(16px, 2vw, 28px); }
.post-card--feat { display: grid; grid-template-columns: 1.1fr 0.9fr; }
.post-card--feat .post-card__tile { aspect-ratio: auto; min-height: 340px; }
.post-card--feat .post-card__body { justify-content: center; padding: clamp(28px, 4vw, 56px); }
.post-card--feat h3 { font-size: clamp(32px, 3.6vw, 52px); }
.post-card--feat .post-card__meta { margin-top: 12px; }
.post { width: min(720px, 100% - var(--gutter) * 2); margin: 0 auto; padding: 150px 0 0; }
.post__back { color: var(--muted); font-size: 15px; transition: color .2s; }
.post__back:hover { color: var(--text); }
.post h1 { margin-top: 28px; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.03em; }
.post__meta { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; color: var(--faint); font-size: 14.5px; }
.post__body { margin-top: clamp(36px, 5vw, 56px); padding-top: clamp(32px, 4vw, 44px); border-top: 1px solid var(--line); display: grid; gap: 22px; }
.post__body p, .post__body li { font-size: 19px; line-height: 1.7; color: var(--muted); }
.post__body h2 { margin-top: 18px; font-size: clamp(30px, 3.2vw, 40px); line-height: 1.08; }
.post__body ul { display: grid; gap: 14px; padding-left: 0; }
.post__body li { padding-left: 22px; position: relative; }
.post__body li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.post__body li strong { color: var(--text); font-weight: 600; }
.post__body blockquote { margin: 14px 0; padding: 6px 0 6px 28px; border-left: 3px solid var(--accent); }
.post__body blockquote p { font-family: var(--display); font-variation-settings: "opsz" 72; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; letter-spacing: -0.025em; color: var(--text); text-wrap: balance; }
.post-more h2 { font-size: clamp(38px, 5vw, 64px); line-height: 1.02; margin-bottom: clamp(32px, 4vw, 52px); }
.post-more { padding-bottom: 0; }

/* ---------- Case study pages ---------- */
.cs-hero { width: min(1320px, 100% - var(--gutter) * 2); margin: 110px auto 0; border-radius: 28px; overflow: hidden; background: var(--lilac); }
.cs-hero img { width: 100%; height: auto; }
.cs { width: min(var(--wrap), 100% - var(--gutter) * 2); margin: clamp(48px, 7vw, 88px) auto 0; }
.cs h1 { font-size: clamp(46px, 6.6vw, 100px); line-height: 1; letter-spacing: -0.03em; }
.cs__scope { margin-top: 18px; color: var(--muted); font-size: 18px; }
.glance { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.glance > div { padding: 22px 20px 22px 0; }
.glance > div + div { border-left: 1px solid var(--line); padding-left: 20px; }
.glance dt { color: var(--faint); font-size: 14px; margin-bottom: 6px; }
.glance dd { font-size: 17px; line-height: 1.4; font-weight: 500; }
.cs__lead { margin-top: clamp(40px, 6vw, 72px); font-size: clamp(22px, 2.5vw, 32px); line-height: 1.35; letter-spacing: -0.025em; font-weight: 500; max-width: 30em; text-wrap: pretty; }
.cs section { margin-top: clamp(64px, 9vw, 120px); display: grid; grid-template-columns: 0.55fr 1.45fr; gap: 24px clamp(32px, 6vw, 96px); align-items: start; }
.cs section h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.05; }
.cs section p { color: var(--muted); font-size: 18px; line-height: 1.65; max-width: 40em; }
.gallery { grid-column: 1 / -1; display: grid; gap: clamp(12px, 1.6vw, 20px); margin-top: 16px; grid-template-columns: repeat(6, 1fr); }
.gallery img { width: 100%; height: auto; border-radius: 18px; background: var(--lilac); grid-column: span 3; }
.gallery .wide { grid-column: 1 / -1; }
.gallery .third { grid-column: span 2; }

.cs-cta { width: min(var(--wide), 100% - var(--gutter) * 2); margin: clamp(80px, 11vw, 150px) auto clamp(56px, 8vw, 110px); padding: clamp(64px, 9vw, 120px) var(--gutter); text-align: center; display: grid; justify-items: center; gap: 18px; background: var(--plum); border-radius: 32px; }
.cs-cta p { color: var(--muted); max-width: 28em; margin-bottom: 14px; }

/* ---------- Legal + 404 ---------- */
.legal { width: min(760px, 100% - var(--gutter) * 2); margin: 0 auto; padding: 160px 0 110px; }
.legal h1 { font-size: clamp(40px, 5vw, 68px); line-height: 1.05; }
.legal__date { margin: 14px 0 40px; color: var(--faint); font-size: 15px; }
.legal h2 { font-family: var(--body); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; margin: 38px 0 10px; }
.legal p { color: var(--muted); line-height: 1.65; margin-bottom: 14px; }
.legal a { color: var(--accent); text-decoration: underline; }
.nf { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 22px; text-align: center; padding: 40px var(--gutter); }
.nf h1 { font-size: clamp(110px, 20vw, 240px); line-height: 0.9; color: var(--accent); }
.nf p { color: var(--muted); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .ai__grid, .split, .contact__grid, .proof__grid { grid-template-columns: 1fr; }
  .code { position: static; }
  .cs section { grid-template-columns: 1fr; }
  .glance { grid-template-columns: repeat(2, 1fr); }
  .glance > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .glance > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .cases, .quotes, .pillars, .posts--three, .posts--two { grid-template-columns: 1fr; }
  .post-card--feat { grid-template-columns: 1fr; }
  .post-card--feat .post-card__tile { min-height: 0; aspect-ratio: 3 / 2; }
  .quote, .quote + .quote { padding-inline: 0; border-left: 0; }
  .quote + .quote { border-top: 1px solid var(--line); margin-top: 28px; }
  .nav__links { display: none; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__links { justify-content: start; }
}
@media (prefers-reduced-motion: reduce) { .nav { transition: none; } }
@media (max-width: 560px) {
  .form { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .nav.is-scrolled { padding-left: 16px; }
  .gallery img, .gallery .third { grid-column: 1 / -1; }
  .glance { grid-template-columns: 1fr; }
  .glance > div, .glance > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .glance > div:first-child { border-top: 0; }
  .faq__a { padding-right: 0; }
  .code pre { font-size: 12.5px; padding-inline: 16px; }
  .proof__grid, .contact__grid { border-radius: 24px; }
}
