/* Yulia Chorna — main stylesheet.
   Layout: editorial one-pager; milk paper with chocolate "night" sections, serif display + grotesk text. */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/cormorant-garamond-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/cormorant-garamond-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/cormorant-garamond-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/cormorant-garamond-cyrillic-400-italic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/cormorant-garamond-latin-400-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../fonts/manrope-cyrillic-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../fonts/manrope-latin-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --milk: #f4efe8;
  --paper: #ebe4da;
  --ink: #1d1714;
  --graphite: #4a443f;
  --muted: #8a8079;
  --choco: #2b1d17;
  --choco-2: #3a2820;
  --wine: #6b2a2c;
  --line: rgba(29, 23, 20, .16);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--milk);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--choco); color: var(--milk); }

.eyebrow {
  font: 500 11px/1.4 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.mask { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line { display: inline-block; will-change: transform; }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: 18px 30px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--milk);
  font: 500 14px/1 var(--sans);
  letter-spacing: .02em;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--wine);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .6s var(--ease);
  z-index: -1;
}
.btn:hover::before { transform: translateY(0); }
.btn--small { padding: 12px 20px; font-size: 13px; }
.btn--light { background: var(--milk); color: var(--ink); }
.btn--light:hover { color: var(--milk); }
.btn--big { padding: 22px 38px; font-size: 15px; }
.btn:focus-visible, .link-arrow:focus-visible, .nav a:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.link-arrow { display: inline-flex; gap: .5em; font-size: 14px; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.link-arrow span { transition: transform .45s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

/* Loader */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-content: center; gap: 22px;
  background: var(--choco); color: var(--milk);
}
.loader__name { font: 400 clamp(40px, 8vw, 110px)/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.loader__name .ch { display: inline-block; }
.loader__line { height: 1px; background: rgba(244, 239, 232, .2); overflow: hidden; }
.loader__line span { display: block; height: 100%; background: var(--milk); transform: scaleX(0); transform-origin: left; }

/* Cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; width: 0; height: 0; pointer-events: none; opacity: 0; }
.cursor::before {
  content: ""; position: absolute; left: -5px; top: -5px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--milk); mix-blend-mode: difference;
  transform: scale(var(--s, 1)); transition: transform .5s var(--ease);
}
.cursor span {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  font: 600 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
  white-space: nowrap; opacity: 0; transition: opacity .3s;
}
.cursor.is-label { --s: 8.4; }
.cursor.is-label span { opacity: 1; transition-delay: .12s; }
.cursor.is-link { --s: 3.2; }
@media (pointer: coarse), (prefers-reduced-motion: reduce) { .cursor { display: none; } }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--gutter);
  color: var(--ink);
  transition: background-color .5s var(--ease), padding .5s var(--ease), color .5s var(--ease);
}
.nav.is-scrolled { background: rgba(244, 239, 232, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 12px; }
.nav.is-dark { color: var(--milk); background: rgba(43, 29, 23, .78); }
.nav__brand { display: grid; line-height: 1.1; }
.nav__name { font: 500 22px/1 var(--serif); letter-spacing: .01em; }
.nav__role { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; opacity: .6; margin-top: 4px; }
.nav__menu { display: flex; gap: 34px; font-size: 13px; }
.nav__menu a { position: relative; opacity: .8; transition: opacity .3s; }
.nav__menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__menu a:hover { opacity: 1; }
.nav__menu a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__side { display: flex; align-items: center; gap: 22px; }
.nav__lang { font-size: 12px; letter-spacing: .08em; }
.nav__lang i { font-style: normal; opacity: .35; margin: 0 2px; }
.nav__lang a { opacity: .55; }
.nav.is-dark .btn--small { background: var(--milk); color: var(--ink); }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: 1fr auto;
  column-gap: clamp(24px, 5vw, 96px);
  padding: 120px var(--gutter) 28px;
}
.hero__text { align-self: center; padding-bottom: 4vh; }
.hero__title {
  font: 400 clamp(84px, 13.5vw, 230px)/.86 var(--serif);
  letter-spacing: -.035em;
  margin: 26px 0 34px;
}
.line--indent { padding-left: .62em; }
.hero__lead { max-width: 33em; font-size: clamp(16px, 1.25vw, 19px); color: var(--graphite); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; margin-top: 38px; }
.hero__media { align-self: end; position: relative; }
.hero__frame { overflow: hidden; aspect-ratio: 875 / 1290; background: var(--paper); }
.hero__frame img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 20%; transform-origin: 50% 30%; }
.hero__media figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero__media figcaption span { color: var(--ink); }
.hero__foot {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 22px; margin-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; }
.hero__scroll i { width: 44px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: scrollhint 2.4s var(--ease) infinite; }
@keyframes scrollhint { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* Directions */
.dirs { position: relative; background: var(--milk); color: var(--ink); }
.dirs__intro { padding: clamp(100px, 16vh, 180px) var(--gutter) clamp(40px, 7vh, 80px); }
.dirs__heading { font: 400 clamp(52px, 7.4vw, 124px)/.95 var(--serif); letter-spacing: -.03em; margin-top: 22px; }
.dirs__heading em { font-style: italic; color: var(--wine); }

.dirs__stage { position: relative; padding: 0 var(--gutter); }
.dirs__progress { display: none; }

.dir { padding: 48px 0 40px; border-top: 1px solid var(--line); }
.dir__num { display: block; font: 500 12px/1 var(--sans); letter-spacing: .2em; color: var(--muted); }
.dir__num em { font-style: normal; color: var(--wine); margin-left: 14px; }
.dir__title { font: 400 clamp(56px, 7.8vw, 136px)/.88 var(--serif); letter-spacing: -.035em; text-transform: uppercase; margin: 22px 0 26px; }
.dir__ask { font: italic 400 clamp(24px, 2.2vw, 34px)/1.2 var(--serif); margin-bottom: 18px; }
.dir__body { max-width: 30em; color: var(--graphite); }
.dir__list { margin-top: 28px; display: grid; gap: 0; max-width: 26em; }
.dir__list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.dir__steps { counter-reset: s; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 30px 0 34px; max-width: 30em; background: rgba(244, 239, 232, .14); border: 1px solid rgba(244, 239, 232, .14); }
.dir__steps li { counter-increment: s; padding: 16px 18px; background: var(--choco); font-size: 14px; }
.dir__steps li::before { content: "0" counter(s); display: block; font-size: 10px; letter-spacing: .2em; opacity: .5; margin-bottom: 6px; }
.dir__steps b { font-weight: 500; }

.dir--key { background: var(--choco); color: var(--milk); margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); border-top: 0; }
.dir--key .dir__num { color: rgba(244, 239, 232, .55); }
.dir--key .dir__num em { color: #d9b9a6; }
.dir--key .dir__body { color: rgba(244, 239, 232, .75); }

.dir-img { overflow: hidden; aspect-ratio: 4 / 5; margin-bottom: 8px; background: var(--paper); }
.dir-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }

/* Mobile flow: image after each direction */
@media (max-width: 899px) {
  .dirs__stage { display: flex; flex-direction: column; }
  .dirs__texts, .dirs__media { display: contents; }
  .dir:nth-child(1) { order: 1; } .dir-img:nth-child(1) { order: 2; }
  .dir:nth-child(2) { order: 3; } .dir-img:nth-child(2) { order: 4; margin-top: 0; }
  .dir:nth-child(3) { order: 5; } .dir-img:nth-child(3) { order: 6; }
  .dir-img { margin: 0 calc(var(--gutter) * -1); aspect-ratio: 3 / 4; }
}

/* Desktop pinned stage */
@media (min-width: 900px) {
  .dirs__stage {
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr minmax(320px, 38vw);
    gap: clamp(32px, 5vw, 96px);
    align-items: center;
    padding-block: 96px 48px;
  }
  .dirs__texts { position: relative; height: 100%; }
  .dir { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 0 0 6vh; border: 0; }
  .dir--key { background: transparent; margin: 0; padding: 0 0 6vh; }
  .dir__title { font-size: clamp(56px, min(8.2vw, 15vh), 150px); margin: 2.4vh 0 2.8vh; }
  .dir__ask { font-size: clamp(22px, min(2.2vw, 4.2vh), 34px); margin-bottom: 1.6vh; }
  .dir__list { margin-top: 2.6vh; }
  .dir__list li { padding: min(12px, 1.4vh) 0; }
  .dir__steps { margin: 2.8vh 0 3.2vh; }
  .dir__steps li { padding: min(16px, 1.8vh) 18px; }
  .dirs__media { position: relative; height: 100%; max-height: 78vh; aspect-ratio: auto; }
  .dir-img { position: absolute; inset: 0; aspect-ratio: auto; margin: 0; }
  .dirs__progress {
    position: absolute; left: var(--gutter); bottom: 40px; z-index: 2;
    display: flex; align-items: center; gap: 18px;
    font-size: 12px; letter-spacing: .18em; color: var(--muted);
  }
  .dirs__count b { font-weight: 500; color: currentColor; }
  .dirs__bar { width: 120px; height: 1px; background: var(--line); overflow: hidden; }
  .dirs__bar i { display: block; height: 100%; background: currentColor; transform: scaleX(.3333); transform-origin: left; }
  .no-pin .dirs__stage { height: auto; display: block; }
  .no-pin .dir { position: static; padding: 56px 0; border-top: 1px solid var(--line); }
  .no-pin .dir--key { background: var(--choco); margin: 0 calc(var(--gutter) * -1); padding: 56px var(--gutter); }
  .no-pin .dirs__media { height: auto; max-height: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-bottom: 80px; }
  .no-pin .dir-img { position: relative; aspect-ratio: 3 / 4; }
  .no-pin .dirs__progress { display: none; }
}

/* Fix & grow banner */
.fix {
  display: grid;
  grid-template-columns: minmax(260px, 34vw) 1fr;
  gap: clamp(32px, 6vw, 110px);
  align-items: center;
  padding: clamp(80px, 14vh, 160px) var(--gutter);
  background: var(--choco);
  color: var(--milk);
}
.fix .eyebrow { color: rgba(244, 239, 232, .55); }
.fix__media { overflow: hidden; aspect-ratio: 3 / 4; }
.fix__media img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 20%; }
.fix__quote { font: 400 clamp(44px, 5.6vw, 96px)/1 var(--serif); letter-spacing: -.025em; margin: 24px 0 28px; max-width: 13em; }
.fix__lead { max-width: 30em; color: rgba(244, 239, 232, .75); margin-bottom: 40px; font-size: 17px; }
.word-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.word { display: inline-block; }


/* Mobile */
@media (max-width: 899px) {
  .nav__menu, .nav__lang { display: none; }
  .nav { padding-block: 14px; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto; padding-top: 96px; }
  .hero__text { padding-bottom: 0; }
  .hero__title { margin: 18px 0 22px; }
  .hero__media { margin-top: 44px; }
  .hero__frame { aspect-ratio: 4 / 5; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 10px; }
  .fix { grid-template-columns: 1fr; }
  .fix__media { order: 2; aspect-ratio: 4 / 5; }
}
@media (max-width: 480px) {
  .nav__role { display: none; }
  .btn--small { padding: 10px 14px; font-size: 12px; }
  .hero__ctas { gap: 22px; }
  .dir__steps { grid-template-columns: 1fr; }
}


/* ---------- Site additions ---------- */

.skip { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--ink); color: var(--milk); border-radius: 999px; font-size: 13px; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }

.nav { padding-top: calc(20px + env(safe-area-inset-top, 0px)); }
.nav.is-scrolled { padding-top: calc(12px + env(safe-area-inset-top, 0px)); }
.lang { font-size: 12px; letter-spacing: .08em; }
.lang i { font-style: normal; opacity: .35; margin: 0 4px; }
.lang a { opacity: .55; transition: opacity .3s; }
.lang a:hover { opacity: 1; }
.lang b { font-weight: 600; }

.nav__burger { display: none; width: 42px; height: 42px; border: 1px solid currentColor; border-radius: 50%; background: none; color: inherit; cursor: pointer; position: relative; }
.nav__burger i { position: absolute; left: 12px; right: 12px; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.nav__burger i:nth-of-type(1) { top: 17px; }
.nav__burger i:nth-of-type(2) { top: 24px; }
.menu-open .nav__burger i:nth-of-type(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav__burger i:nth-of-type(2) { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(110px + env(safe-area-inset-top, 0px)) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  background: var(--choco); color: var(--milk);
}
.menu[hidden] { display: none; }
.menu nav { display: grid; gap: 6px; }
.menu nav a { font: 400 clamp(44px, 12vw, 72px)/1.05 var(--serif); letter-spacing: -.02em; }
.menu__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.menu-open .nav { color: var(--milk); background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .nav .btn--small { visibility: hidden; }
.menu-open { overflow: hidden; }

@media (max-width: 899px) {
  .nav__burger { display: block; }
  .nav__side .btn--small { display: none; }
  .nav__side .lang { display: none; }
  .nav__side { gap: 12px; }
}

.section-title { font: 400 clamp(44px, 5.4vw, 92px)/1 var(--serif); letter-spacing: -.025em; text-wrap: balance; margin-top: 22px; max-width: 14em; }

/* Expertise */
.about { padding: clamp(80px, 12vh, 140px) 0; }
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; margin-bottom: clamp(70px, 11vh, 130px); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__set { display: flex; flex-shrink: 0; }
.marquee__set span { font: italic 400 clamp(28px, 3.2vw, 52px)/1 var(--serif); padding: 0 .6em; white-space: nowrap; }
.marquee__set span::after { content: "·"; font-style: normal; margin-left: 1.2em; color: var(--wine); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

.about__grid { display: grid; grid-template-columns: minmax(260px, 34vw) 1fr; gap: clamp(32px, 6vw, 110px); align-items: start; padding: 0 var(--gutter); }
.about__media { overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper); position: sticky; top: 110px; }
.about__media img, .wawy__media img, .contact__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.about__text { min-width: 0; }
.about__body { max-width: 36em; margin-top: 30px; color: var(--graphite); font-size: 17px; display: grid; gap: 1em; }
.tools { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); border-top: 1px solid var(--line); }
.tools li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; display: flex; gap: 14px; align-items: baseline; }
.tools li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--wine); flex-shrink: 0; transform: translateY(-2px); }

/* Experience */
.exp { padding: clamp(80px, 12vh, 140px) var(--gutter); background: var(--paper); }
.exp__head { margin-bottom: clamp(40px, 7vh, 80px); }
.exp__lead { max-width: 34em; margin-top: 22px; color: var(--graphite); font-size: 17px; }
.cases { border-top: 1px solid var(--line); }
.case { border-bottom: 1px solid var(--line); }
.case summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 2.2fr) minmax(0, 2fr) 40px;
  gap: 24px; align-items: center;
  padding: 28px 0;
}
.case summary::-webkit-details-marker { display: none; }
.case__industry { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.case__brand { font: 400 clamp(30px, 3.4vw, 54px)/1 var(--serif); letter-spacing: -.02em; transition: transform .6s var(--ease), color .4s; }
.case__brand small { font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-left: 12px; vertical-align: middle; }
.case__role { color: var(--graphite); font-size: 15px; }
.case__plus { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; position: relative; transition: background .4s, border-color .4s, color .4s; }
.case__plus::before, .case__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.case__plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.case summary:hover .case__brand { transform: translateX(10px); color: var(--wine); }
.case summary:hover .case__plus { background: var(--ink); color: var(--milk); border-color: var(--ink); }
.case details[open] .case__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.case details[open] .case__brand { color: var(--wine); }
.case summary:focus-visible { outline: 1px solid currentColor; outline-offset: 6px; }
.case__body { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 2.2fr) minmax(0, 2fr) 40px; gap: 24px; padding: 0 0 34px; }
.case__work { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.case__work li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.case__result { grid-column: 3; font: italic 400 clamp(22px, 2vw, 30px)/1.2 var(--serif); }
.case__result span { display: block; font: 500 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; font-style: normal; }
.case__body .link-arrow { grid-column: 2; justify-self: start; }

/* WAWY */
.wawy { display: grid; grid-template-columns: 1fr minmax(260px, 36vw); gap: clamp(32px, 6vw, 110px); align-items: center; padding: clamp(80px, 14vh, 160px) var(--gutter); background: var(--choco); color: var(--milk); position: relative; overflow: hidden; }
.wawy .eyebrow { color: rgba(244, 239, 232, .55); }
.wawy__mark { position: absolute; left: var(--gutter); bottom: -.18em; font: 400 clamp(140px, 24vw, 420px)/1 var(--serif); letter-spacing: -.04em; color: rgba(244, 239, 232, .05); pointer-events: none; user-select: none; }
.wawy__text { position: relative; min-width: 0; }
.wawy__body { max-width: 32em; margin: 28px 0 36px; color: rgba(244, 239, 232, .78); font-size: 17px; }
.wawy__points { display: grid; max-width: 30em; border-top: 1px solid rgba(244, 239, 232, .16); margin-bottom: 40px; }
.wawy__points li { padding: 16px 0; border-bottom: 1px solid rgba(244, 239, 232, .16); font: italic 400 24px/1.2 var(--serif); }
.wawy .link-arrow { border-color: rgba(244, 239, 232, .3); }
.wawy__media { overflow: hidden; aspect-ratio: 3 / 4; position: relative; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(40px, 6vw, 110px); padding: clamp(80px, 14vh, 160px) var(--gutter); align-items: start; }
.contact__side { min-width: 0; }
.contact__lead { max-width: 30em; margin-top: 22px; color: var(--graphite); font-size: 17px; }
.contact__direct { margin-top: 44px; }
.contact__direct ul { margin-top: 14px; border-top: 1px solid var(--line); }
.contact__direct li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.contact__direct li span { color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; align-self: center; }
.contact__direct a { overflow-wrap: anywhere; text-align: right; }
.contact__direct a:hover { color: var(--wine); }
.contact__media { margin-top: 44px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 340px; }

.form { display: grid; gap: 28px; padding: clamp(24px, 3.4vw, 48px); background: var(--paper); min-width: 0; position: relative; }
.form__support { border: 0; margin: 0; padding: 0; min-width: 0; }
.form__support legend { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-block; padding: 11px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.pill:hover span { border-color: var(--ink); }
.pill input:checked + span { background: var(--ink); color: var(--milk); border-color: var(--ink); }
.pill input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 3px; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 22px 0 10px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; color: var(--ink); font: 400 16px/1.4 var(--sans); outline: none; resize: vertical;
  transition: border-color .3s;
}
.field textarea { min-height: 110px; }
.field label { position: absolute; left: 0; top: 22px; font-size: 15px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .35s var(--ease), color .3s; }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-20px) scale(.78); color: var(--graphite); }
.field.is-error input, .field.is-error textarea { border-color: var(--wine); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.form__consent { font-size: 12px; color: var(--muted); max-width: 30em; }
.form__consent a { text-decoration: underline; text-underline-offset: 3px; }
.form__status { font-size: 15px; min-height: 1.4em; }
.form__status.is-ok { font: italic 400 30px/1.25 var(--serif); color: var(--ink); }
.form__status.is-err { color: var(--wine); }
.form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }
.form.is-done .form__support, .form.is-done .form__grid, .form.is-done .field--area, .form.is-done .form__foot { display: none; }

/* Footer */
.foot { background: var(--ink); color: var(--milk); padding: clamp(60px, 10vh, 110px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px)); }
.foot__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(244, 239, 232, .14); }
.foot__name { font: 400 clamp(56px, 9vw, 160px)/.9 var(--serif); letter-spacing: -.035em; }
.foot__meta { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(244, 239, 232, .55); text-align: right; display: grid; gap: 6px; }
.foot__row { display: flex; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; padding-top: 28px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; }
.foot__links a { opacity: .8; transition: opacity .3s; overflow-wrap: anywhere; }
.foot__links a:hover { opacity: 1; }
.foot__small { font-size: 12px; color: rgba(244, 239, 232, .5); }
.foot__small a { text-decoration: underline; text-underline-offset: 3px; }

/* Consent */
.consent { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 80; max-width: 520px; padding: 20px 22px; background: var(--ink); color: var(--milk); display: grid; gap: 14px; font-size: 13px; }
.consent[hidden] { display: none; }
.consent a { text-decoration: underline; margin-left: 4px; }
.consent__btns { display: flex; gap: 18px; align-items: center; }
.consent .btn--small { background: var(--milk); color: var(--ink); }
.link-btn { background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0; opacity: .7; }

/* Simple pages */
.simple-page { padding: calc(150px + env(safe-area-inset-top, 0px)) var(--gutter) clamp(80px, 12vh, 140px); min-height: 70vh; }
.page__inner { max-width: 760px; }
.page__title { font: 400 clamp(48px, 6.4vw, 104px)/1 var(--serif); letter-spacing: -.03em; margin: 22px 0 40px; text-wrap: balance; }
.page__lead { font-size: 18px; color: var(--graphite); max-width: 34em; }
.simple-page--404 .hero__ctas { margin-top: 40px; }
.prose { font-size: 17px; color: var(--graphite); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font: 400 clamp(28px, 2.6vw, 38px)/1.15 var(--serif); color: var(--ink); margin-top: 1.8em; }
.prose a { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; list-style: disc; }

@media (max-width: 899px) {
  .about__grid, .wawy, .contact { grid-template-columns: 1fr; }
  .about__media { position: relative; top: 0; max-width: 520px; }
  .wawy__media { order: -1; aspect-ratio: 4 / 5; }
  .case summary { grid-template-columns: 1fr 40px; gap: 8px 16px; padding: 22px 0; }
  .case__industry { grid-column: 1 / -1; }
  .case__brand, .case__role { grid-column: 1; }
  .case__plus { grid-column: 2; grid-row: 2 / span 2; align-self: center; }
  .case__body { grid-template-columns: 1fr; gap: 18px; }
  .case__work, .case__result, .case__body .link-arrow { grid-column: 1; }
  .form__grid { grid-template-columns: 1fr; }
  .foot__meta { text-align: left; }
  .contact__media { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Hidden-before-animate: only when JS and motion are on. */
.motion [data-hero-fade], .motion [data-reveal], .motion [data-reveal-words], .motion [data-reveal-item], .motion [data-image-reveal] { visibility: hidden; }

.intro-seen .loader { display: none !important; }

/* ---------- Multi-page additions ---------- */

/* Nav: six items need room — burger below 1100px. */
.nav__menu { gap: clamp(18px, 2vw, 30px); }
.nav__menu a[aria-current="page"] { opacity: 1; }
.nav__menu a[aria-current="page"]::after { transform: scaleX(1); }
.menu nav a[aria-current="page"] { font-style: italic; color: #d9b9a6; }
@media (max-width: 1099px) {
  .nav__menu { display: none; }
  .nav__burger { display: block; }
}

/* Inner pages start below the fixed nav. */
.inner > section:first-child, .inner > .blog__head { padding-top: calc(clamp(130px, 18vh, 190px) + env(safe-area-inset-top, 0px)); }
.inner--about .about { padding-top: calc(110px + env(safe-area-inset-top, 0px)); }
.inner--about .marquee { margin-bottom: clamp(60px, 9vh, 110px); }
.inner--wawy .wawy { min-height: 100svh; }
.inner .section-title { font-size: clamp(48px, 6.4vw, 112px); max-width: 13em; }

/* Home: index of pages */
.explore { padding: clamp(80px, 12vh, 140px) var(--gutter); }
.explore__list { margin-top: 24px; border-top: 1px solid var(--line); }
.explore__list a {
  display: grid; grid-template-columns: 60px minmax(0, 1.4fr) minmax(0, 1fr) 48px;
  align-items: center; gap: 24px; padding: clamp(22px, 3.4vh, 38px) 0;
  border-bottom: 1px solid var(--line);
}
.explore__num { font-size: 12px; letter-spacing: .2em; color: var(--muted); }
.explore__title { font: 400 clamp(40px, 5.6vw, 96px)/1 var(--serif); letter-spacing: -.03em; transition: transform .6s var(--ease), color .4s; }
.explore__desc { color: var(--graphite); font-size: 15px; }
.explore__arrow { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: background .4s, color .4s, transform .6s var(--ease); }
.explore__list a:hover .explore__title { transform: translateX(14px); color: var(--wine); }
.explore__list a:hover .explore__arrow { background: var(--ink); color: var(--milk); transform: rotate(-45deg); }

/* Next page */
.next-page { padding: 0 var(--gutter); }
.next-page a { display: grid; gap: 14px; padding: clamp(60px, 10vh, 110px) 0; border-top: 1px solid var(--line); }
.inner--wawy .next-page a { border-top: 0; }
.next-page__title { font: 400 clamp(56px, 9vw, 168px)/.92 var(--serif); letter-spacing: -.035em; transition: color .4s; }
.next-page__title i { font-style: normal; display: inline-block; transition: transform .6s var(--ease); }
.next-page a:hover .next-page__title { color: var(--wine); }
.next-page a:hover .next-page__title i { transform: translateX(18px); }
.next-page__desc { color: var(--graphite); font-size: 16px; }

/* CTA band */
.cta-band { padding: clamp(80px, 13vh, 150px) var(--gutter); background: var(--paper); display: grid; justify-items: start; gap: 26px; }
.cta-band__title { font: 400 clamp(40px, 5vw, 84px)/1.02 var(--serif); letter-spacing: -.025em; max-width: 14em; text-wrap: balance; }

/* Footer nav */
.foot__nav { display: flex; flex-wrap: wrap; gap: 10px 34px; padding: 30px 0; border-bottom: 1px solid rgba(244, 239, 232, .14); font: 400 clamp(22px, 2vw, 30px)/1.2 var(--serif); }
.foot__nav a { opacity: .85; transition: opacity .3s; }
.foot__nav a:hover { opacity: 1; }

/* Blog */
.blog__head { padding: 0 var(--gutter) clamp(40px, 7vh, 80px); }
.blog__title { font: 400 clamp(64px, 10vw, 180px)/.9 var(--serif); letter-spacing: -.04em; margin-top: 22px; }
.blog__lead { max-width: 34em; margin-top: 26px; color: var(--graphite); font-size: 18px; }
.blog__empty { padding: 0 var(--gutter) clamp(80px, 12vh, 140px); font: italic 400 clamp(26px, 2.6vw, 38px)/1.25 var(--serif); color: var(--graphite); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.chips a { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; transition: background .3s, color .3s, border-color .3s; }
.chips a:hover { border-color: var(--ink); }
.chips a[aria-current="page"] { background: var(--ink); color: var(--milk); border-color: var(--ink); }

.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 5vh, 64px) clamp(20px, 2.4vw, 36px); padding: 0 var(--gutter) clamp(70px, 10vh, 120px); }
.card__link { display: grid; gap: 20px; }
.card__media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper); position: relative; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; font: italic 400 120px/1 var(--serif); color: rgba(29, 23, 20, .12); }
.card__link:hover .card__media img { transform: scale(1.05); }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.card__meta > * + *::before { content: "·"; margin-right: 16px; }
.card__meta a:hover { color: var(--ink); }
.card__title { font: 400 clamp(26px, 2.2vw, 36px)/1.08 var(--serif); letter-spacing: -.015em; margin: 12px 0 14px; text-wrap: balance; transition: color .4s; }
.card__link:hover .card__title { color: var(--wine); }
.card__excerpt { color: var(--graphite); max-width: 34em; margin-bottom: 22px; }
.card--big { grid-column: 1 / -1; }
.card--big .card__link { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.card--big .card__media { aspect-ratio: 16 / 11; }
.card--big .card__title { font-size: clamp(38px, 4vw, 68px); }
.pager { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 var(--gutter) clamp(70px, 10vh, 120px); }
.pager .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
.pager .current { background: var(--ink); color: var(--milk); border-color: var(--ink); }

/* Single post */
.post__article { padding: 0 var(--gutter); }
.post__head { max-width: 980px; margin: 0 auto; padding-top: calc(clamp(130px, 18vh, 190px) + env(safe-area-inset-top, 0px)); }
.post__title { font: 400 clamp(48px, 6.4vw, 108px)/.98 var(--serif); letter-spacing: -.03em; margin: 26px 0 28px; text-wrap: balance; }
.post__lead { font: italic 400 clamp(22px, 2vw, 30px)/1.35 var(--serif); color: var(--graphite); max-width: 32em; }
.post__cover { max-width: 1100px; margin: clamp(40px, 7vh, 80px) auto 0; overflow: hidden; aspect-ratio: 16 / 9; background: var(--paper); }
.post__cover img { width: 100%; height: 100%; object-fit: cover; }
.prose--post { max-width: 700px; margin: clamp(48px, 8vh, 90px) auto 0; font-size: 18px; line-height: 1.75; }
.prose--post h2 { font-size: clamp(32px, 3vw, 44px); margin-top: 2em; }
.prose--post h3 { font: 500 22px/1.3 var(--sans); color: var(--ink); margin-top: 1.8em; }
.prose--post blockquote { margin: 2em 0; padding: 0 0 0 28px; border-left: 2px solid var(--wine); font: italic 400 clamp(26px, 2.4vw, 34px)/1.3 var(--serif); color: var(--ink); }
.prose--post blockquote p { margin: 0; }
.prose--post figure { margin: 2.4em 0; }
.prose--post figure img { width: 100%; }
.prose--post figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.prose--post li + li { margin-top: .5em; }
.prose--post strong { color: var(--ink); font-weight: 600; }
.prose--post .wp-block-image.alignwide, .prose--post .alignwide { margin-inline: calc((700px - min(1100px, 100vw - 2 * var(--gutter))) / 2); }
.author { max-width: 700px; margin: clamp(60px, 10vh, 110px) auto 0; padding: 30px 0; border-block: 1px solid var(--line); display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: center; }
.author__photo { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--paper); }
.author__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.author__name { font: 400 28px/1.1 var(--serif); }
.author__bio { color: var(--graphite); font-size: 15px; margin: 6px 0 12px; }
.related { padding: clamp(80px, 12vh, 140px) 0 0; }
.related > .eyebrow { padding: 0 var(--gutter) 30px; }

@media (max-width: 899px) {
  .explore__list a { grid-template-columns: 1fr 44px; gap: 8px 16px; }
  .explore__num { grid-column: 1 / -1; }
  .explore__title, .explore__desc { grid-column: 1; }
  .explore__arrow { grid-column: 2; grid-row: 2 / span 2; width: 44px; height: 44px; }
  .posts { grid-template-columns: 1fr; }
  .card--big .card__link { grid-template-columns: 1fr; }
  .author { grid-template-columns: 72px 1fr; }
  .author__photo { width: 72px; height: 72px; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Lead popup ---------- */
.lead-modal {
  width: min(980px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; border: 0; background: var(--milk); color: var(--ink);
  overflow: auto; overscroll-behavior: contain;
  opacity: 0; transform: translateY(28px) scale(.985);
  transition: opacity .45s var(--ease), transform .6s var(--ease);
}
.lead-modal.is-open { opacity: 1; transform: none; }
.lead-modal::backdrop { background: rgba(29, 23, 20, 0); backdrop-filter: blur(0); transition: background .45s var(--ease), backdrop-filter .45s var(--ease); }
.lead-modal.is-open::backdrop { background: rgba(29, 23, 20, .62); backdrop-filter: blur(6px); }
.lead-modal__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); position: relative; }
.lead-modal__head { padding: clamp(28px, 4vw, 56px); background: var(--choco); color: var(--milk); display: grid; align-content: start; gap: 18px; }
.lead-modal__head .eyebrow { color: rgba(244, 239, 232, .55); }
.lead-modal__title { font: 400 clamp(34px, 3.6vw, 56px)/1.02 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.lead-modal__lead { color: rgba(244, 239, 232, .75); font-size: 15px; }
.lead-modal .form { background: var(--milk); padding: clamp(28px, 4vw, 56px); }
.lead-modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--milk); color: var(--ink); cursor: pointer; transition: transform .5s var(--ease), background .3s, color .3s; }
.lead-modal__close i { position: absolute; left: 13px; right: 13px; top: 21px; height: 1px; background: currentColor; transform: rotate(45deg); }
.lead-modal__close i + i { transform: rotate(-45deg); }
.lead-modal__close:hover { transform: rotate(90deg); background: var(--ink); color: var(--milk); }
.lead-open .cursor { opacity: 0 !important; }
@media (max-width: 760px) {
  .lead-modal { width: 100%; max-height: 100dvh; height: 100dvh; margin: 0; }
  .lead-modal__inner { grid-template-columns: 1fr; }
  .lead-modal__head { padding-top: calc(28px + env(safe-area-inset-top, 0px)); padding-right: 72px; }
  .lead-modal__close { top: calc(14px + env(safe-area-inset-top, 0px)); background: transparent; color: var(--milk); border-color: rgba(244, 239, 232, .35); }
}

/* ---------- Content blocks ---------- */
.block-title { font: 400 clamp(40px, 4.8vw, 80px)/1 var(--serif); letter-spacing: -.025em; text-wrap: balance; max-width: 15em; }

/* Tools grid */
.tools-x { padding: clamp(80px, 12vh, 140px) var(--gutter); }
.tools-x__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(36px, 6vh, 64px); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tools-x__grid > li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tool {
  position: relative; width: 100%; min-height: clamp(200px, 26vh, 260px); padding: 26px 26px 30px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px; text-align: left;
  background: none; border: 0; color: var(--ink); font: inherit; cursor: pointer; overflow: hidden; isolation: isolate;
}
.tool::before { content: ""; position: absolute; inset: 0; background: var(--choco); transform: translateY(101%); transition: transform .7s var(--ease); z-index: -1; }
.tool__num { font-size: 11px; letter-spacing: .2em; color: var(--muted); transition: color .5s; }
.tool__name { font: 400 clamp(26px, 2.3vw, 36px)/1.05 var(--serif); letter-spacing: -.015em; margin-top: auto; transition: transform .7s var(--ease), color .5s; }
.tool__text { font-size: 15px; line-height: 1.5; color: rgba(244, 239, 232, .8); max-height: 0; opacity: 0; transform: translateY(12px); transition: max-height .7s var(--ease), opacity .5s, transform .7s var(--ease); }
.tool__plus { position: absolute; top: 22px; right: 22px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; transition: transform .6s var(--ease), border-color .5s; }
.tool__plus::before, .tool__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.tool__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.tool.is-open::before { transform: none; }
.tool.is-open .tool__num, .tool.is-open .tool__name { color: var(--milk); }
.tool.is-open .tool__num { color: rgba(244, 239, 232, .5); }
.tool.is-open .tool__text { max-height: 8em; opacity: 1; transform: none; }
.tool.is-open .tool__plus { transform: rotate(45deg); border-color: rgba(244, 239, 232, .35); color: var(--milk); }
@media (hover: hover) and (pointer: fine) {
  .tool:hover::before { transform: none; }
  .tool:hover .tool__num { color: rgba(244, 239, 232, .5); }
  .tool:hover .tool__name { color: var(--milk); }
  .tool:hover .tool__text { max-height: 8em; opacity: 1; transform: none; }
  .tool:hover .tool__plus { transform: rotate(45deg); border-color: rgba(244, 239, 232, .35); color: var(--milk); }
}
.tool:focus-visible { outline: 1px solid var(--ink); outline-offset: -6px; }

/* Process stepper */
.process { padding: clamp(80px, 12vh, 140px) var(--gutter); background: var(--paper); }
.process__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.process__count { font-size: 12px; letter-spacing: .2em; color: var(--muted); }
.process__count b { font-weight: 500; color: var(--ink); }
.process__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(40px, 7vh, 72px); border-top: 1px solid var(--line); }
.process__tab { position: relative; display: grid; gap: 10px; justify-items: start; padding: 22px 18px 22px 0; background: none; border: 0; color: var(--muted); font: inherit; text-align: left; cursor: pointer; transition: color .4s; }
.process__tab-num { font-size: 11px; letter-spacing: .2em; }
.process__tab-name { font: 400 clamp(24px, 2.2vw, 34px)/1 var(--serif); }
.process__tab:hover, .process__tab.is-active { color: var(--ink); }
.process__bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; overflow: hidden; }
.process__bar i { display: block; height: 100%; background: var(--wine); transform: scaleX(0); transform-origin: left; }
.process__tab.is-active .process__bar i { transform: scaleX(1); transition: transform .5s var(--ease); }
.process__tab.is-active.is-playing .process__bar i { animation: stepbar var(--dur, 5s) linear forwards; }
@keyframes stepbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.process__tab:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
.process__panels { margin-top: clamp(30px, 5vh, 56px); min-height: clamp(200px, 30vh, 300px); }
.process__panel { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.process__big { font: italic 400 clamp(80px, 13vw, 230px)/.85 var(--serif); letter-spacing: -.04em; color: var(--wine); }
.process__text { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: var(--graphite); max-width: 26em; padding-bottom: 1em; }

/* Who I help */
.who { padding: clamp(80px, 12vh, 140px) var(--gutter); }
.who__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 90px); margin-top: clamp(36px, 6vh, 64px); align-items: start; }
.who__list { border-top: 1px solid var(--line); }
.who__list > li { border-bottom: 1px solid var(--line); }
.who__item { width: 100%; display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: baseline; padding: 22px 0; background: none; border: 0; color: var(--muted); font: inherit; text-align: left; cursor: pointer; transition: color .4s; }
.who__num { font-size: 11px; letter-spacing: .2em; }
.who__name { font: 400 clamp(24px, 2.4vw, 38px)/1.1 var(--serif); letter-spacing: -.015em; transition: transform .6s var(--ease); }
.who__item:hover, .who__item.is-active { color: var(--ink); }
.who__item.is-active .who__name { transform: translateX(12px); }
.who__item:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
.who__text { display: none; }
.who__panel { position: sticky; top: 120px; background: var(--choco); color: var(--milk); padding: clamp(28px, 3.4vw, 52px); display: grid; gap: 20px; justify-items: start; min-height: 380px; align-content: space-between; }
.who__panel-num { font: italic 400 clamp(64px, 7vw, 120px)/.9 var(--serif); color: #d9b9a6; }
.who__panel-name { font: 400 clamp(28px, 2.6vw, 42px)/1.08 var(--serif); letter-spacing: -.015em; }
.who__panel-text { color: rgba(244, 239, 232, .78); font-size: 17px; max-width: 28em; }

/* Stats + highlight */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 clamp(50px, 8vh, 90px); border-block: 1px solid var(--line); }
.stats > div + div { border-left: 1px solid var(--line); }
.stats dd { margin: 0; padding: clamp(22px, 4vh, 40px) clamp(16px, 2vw, 32px); display: grid; gap: 8px; }
.stats b { font: 400 clamp(64px, 8vw, 140px)/.9 var(--serif); letter-spacing: -.04em; font-variant-numeric: lining-nums tabular-nums; }
.stats span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.stats > div:first-child dd { padding-left: 0; }

.highlight { background: var(--choco); color: var(--milk); padding: clamp(36px, 5vw, 80px); margin-bottom: clamp(50px, 8vh, 90px); display: grid; gap: 22px; position: relative; overflow: hidden; }
.highlight .eyebrow { color: rgba(244, 239, 232, .55); }
.highlight__brand { font: italic 400 clamp(28px, 2.6vw, 42px)/1.1 var(--serif); }
.highlight__nums { display: grid; grid-template-columns: auto minmax(60px, 1fr) auto; gap: clamp(16px, 3vw, 48px); align-items: end; }
.highlight__nums p { display: grid; gap: 8px; }
.highlight__nums span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(244, 239, 232, .55); }
.highlight__nums b { font: 400 clamp(44px, 7vw, 132px)/.9 var(--serif); letter-spacing: -.035em; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.highlight__nums p:first-child b { color: rgba(244, 239, 232, .45); font-size: clamp(32px, 4vw, 72px); }
.highlight__arrow { position: relative; height: 1px; align-self: center; margin-bottom: .6em; background: rgba(244, 239, 232, .16); }
.highlight__arrow i { position: absolute; inset: 0; background: #d9b9a6; transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .2s; }
.highlight__arrow::after { content: ""; position: absolute; right: -1px; top: -5px; width: 10px; height: 10px; border-top: 1px solid #d9b9a6; border-right: 1px solid #d9b9a6; transform: rotate(45deg); opacity: 0; transition: opacity .4s 1.6s; }
.highlight.is-in .highlight__arrow i { transform: scaleX(1); }
.highlight.is-in .highlight__arrow::after { opacity: 1; }
.highlight__text { color: rgba(244, 239, 232, .78); max-width: 34em; font-size: 17px; }

.chips--filter { margin: 0 0 30px; }
.chips--filter button { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--ink); font: 400 14px/1 var(--sans); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.chips--filter button small { font-size: 11px; color: var(--muted); margin-left: 4px; }
.chips--filter button:hover { border-color: var(--ink); }
.chips--filter button[aria-pressed="true"] { background: var(--ink); color: var(--milk); border-color: var(--ink); }
.chips--filter button[aria-pressed="true"] small { color: rgba(244, 239, 232, .6); }
.case[hidden] { display: none; }

/* Flow (WAWY + contact steps) */
.flow, .steps { padding: clamp(80px, 12vh, 140px) var(--gutter); }
.inner--wawy .flow { background: var(--paper); }
.flow__track { position: relative; margin-top: clamp(44px, 7vh, 80px); }
.flow__line { position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--line); }
.flow__line i { position: absolute; inset: 0; background: var(--wine); transform-origin: left top; }
.flow__steps { position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.flow__dot { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--milk); border: 1px solid var(--line); font-size: 11px; letter-spacing: .12em; color: var(--muted); transition: background .5s var(--ease), color .5s, border-color .5s, transform .6s var(--ease); }
.inner--wawy .flow .flow__dot { background: var(--paper); }
.flow__name { font: 400 clamp(28px, 2.6vw, 42px)/1.05 var(--serif); margin: 26px 0 12px; color: var(--muted); transition: color .5s; }
.flow__text { color: var(--graphite); font-size: 15px; max-width: 22em; opacity: .55; transition: opacity .5s; }
.flow__step.is-lit .flow__dot { background: var(--ink); color: var(--milk); border-color: var(--ink); transform: scale(1.06); }
.flow__step.is-lit .flow__name { color: var(--ink); }
.flow__step.is-lit .flow__text { opacity: 1; }

/* Compare */
.compare { padding: clamp(80px, 12vh, 140px) var(--gutter); }
.compare__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(36px, 6vh, 64px); }
.switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border: 1px solid var(--line); border-radius: 999px; isolation: isolate; }
.switch button { position: relative; z-index: 1; padding: 12px 22px; border: 0; background: none; color: var(--graphite); font: 500 14px/1 var(--sans); cursor: pointer; border-radius: 999px; transition: color .4s; white-space: nowrap; }
.switch button[aria-pressed="true"] { color: var(--milk); }
.switch__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--ink); transition: transform .6s var(--ease), background .4s; z-index: 0; }
.compare.is-right .switch__thumb { transform: translateX(100%); background: var(--wine); }
.compare__table { border-top: 1px solid var(--line); }
.compare__row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.compare__row > * { padding: 24px 24px 24px 0; transition: color .5s, opacity .5s, transform .6s var(--ease); }
.compare__row--head span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-block: 16px; }
.compare__l, .compare__r { font: 400 clamp(22px, 2vw, 32px)/1.2 var(--serif); }
.compare__r { padding-left: 24px !important; border-left: 1px solid var(--line); }
.compare.is-right .compare__l { opacity: .35; }
.compare.is-right .compare__r { color: var(--wine); transform: translateX(8px); }
.compare.is-left .compare__r { opacity: .35; }
.compare.is-left .compare__l { color: var(--ink); transform: translateX(8px); }

/* FAQ */
.steps { background: var(--paper); }
.steps .flow__dot { background: var(--paper); }
.faq { padding: clamp(80px, 12vh, 140px) var(--gutter); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 90px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; font: 400 clamp(22px, 2vw, 30px)/1.2 var(--serif); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .case__plus { flex-shrink: 0; }
.faq__item[open] summary .case__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__item summary:hover { color: var(--wine); }
.faq__item summary:focus-visible { outline: 1px solid currentColor; outline-offset: 6px; }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 60px 26px 0; color: var(--graphite); font-size: 16px; max-width: 40em; }

@media (max-width: 1099px) {
  .tools-x__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .tools-x__grid { grid-template-columns: 1fr; }
  .tool { min-height: 0; padding: 22px 64px 22px 0; }
  .tool::before { left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1); }
  .tools-x__grid { border-left: 0; }
  .tools-x__grid > li { border-right: 0; }
  .tool.is-open { padding-left: 0; }
  .tool__plus { right: 0; }
  .process__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process__panel { grid-template-columns: 1fr; }
  .who__grid { grid-template-columns: 1fr; }
  .who__panel { display: none; }
  .who__list > li.is-open .who__text { display: block; padding: 0 0 22px 70px; color: var(--graphite); }
  .stats { grid-template-columns: 1fr; }
  .stats > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .stats dd { padding-left: 0; grid-template-columns: auto 1fr; align-items: baseline; gap: 18px; }
  .highlight__nums { grid-template-columns: 1fr; }
  .highlight__arrow { width: 60%; margin: 0; }
  .flow__line { left: 23px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .flow__steps { grid-template-columns: 1fr; gap: 34px; }
  .flow__step { display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; }
  .flow__dot { grid-row: span 2; }
  .flow__name { margin: 8px 0 8px; }
  .compare__row > * { padding-right: 12px; }
  .compare__r { padding-left: 14px !important; }
  .compare__l, .compare__r { font-size: 19px; }
  .faq { grid-template-columns: 1fr; }
  .faq__a p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .lead-modal { transition: none; transform: none; }
}
.process__panel[hidden] { display: none; }

/* Collapsible SEO text */
.seo-more { padding: 0 var(--gutter); border-top: 1px solid var(--line); }
.seo-more summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.seo-more summary::-webkit-details-marker { display: none; }
.seo-more summary .case__plus { width: 28px; height: 28px; flex-shrink: 0; }
.seo-more summary:hover { color: var(--ink); }
.seo-more details[open] summary .case__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.seo-more__body { columns: 2 320px; column-gap: 48px; font-size: 14px; line-height: 1.7; padding-bottom: 32px; color: var(--muted); }
.seo-more__body h2, .seo-more__body h3 { font: 500 15px/1.4 var(--sans); color: var(--graphite); margin: 0 0 6px; break-after: avoid; }
.seo-more__body p { margin: 0 0 14px; }
.seo-more__body > * + * { margin-top: 0; }

/* Edit button for logged-in editors */
.edit-fab { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 95; display: flex; gap: 2px; padding: 4px; background: var(--ink); border-radius: 999px; box-shadow: 0 8px 30px rgba(29, 23, 20, .25); font: 500 12px/1 var(--sans); }
.edit-fab a { padding: 10px 14px; color: var(--milk); border-radius: 999px; transition: background .3s; }
.edit-fab a:first-child { background: var(--wine); }
.edit-fab a:hover { background: rgba(244, 239, 232, .15); }
@media (max-width: 600px) { .edit-fab a:not(:first-child) { display: none; } }
