/* ==========================================================
   Neslor Studio — homepage v2
   Layout, type and motion follow the Framer template on
   neslor.studio; colors are Neslor's.
   ========================================================== */

:root {
  --bg:        #F4F4F5;   /* light sections */
  --white:     #FFFFFF;
  --ink:       #09090B;   /* headings */
  --body:      #616169;   /* body copy */
  --muted:     #98989F;   /* second tone in headings */
  --line:      #EDEDEF;
  --tag-bg:    rgba(152, 152, 163, .1);

  --green:      #2F695C;  /* Neslor Green */
  --green-deep: #1B3B33;  /* Deep Green: dark buttons, footer */
  --green-ink:  #0F2621;
  --mint:       #E4F0ED;  /* navbar */
  --sage:       #E1EBE5;

  /* Type: editable in Admin → Appearance → Typography */
  --f-head: "Urbanist", system-ui, sans-serif;   /* headings */
  --f-body: "Urbanist", system-ui, sans-serif;   /* body copy */
  --f-mono: "Urbanist", system-ui, sans-serif;   /* labels, tags, numbers */
  --f-btn:  "Urbanist", system-ui, sans-serif;   /* buttons */
  --w-head: 600;
  --w-btn:  600;
  --ls-head: -0.025em;

  /* Shape: editable in Admin → Appearance → Shape & spacing */
  --r-card:  32px;
  --r-inner: 24px;
  --r-pill:  999px;

  --pad-x: 20px;
  --sec:   120px;
  --ease:  cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip:focus { top: 12px; }

/* Animations off (Admin → Appearance) */
.no-motion *, .no-motion *::before, .no-motion *::after { animation: none !important; transition: none !important; }
.js.no-motion .reveal, .js.no-motion .hero__title .w, .js.no-motion .phero__title .w { opacity: 1; transform: none; filter: none; }

/* ---------- Shared pieces ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 8px; border-radius: 4px; background: var(--tag-bg);
  font: 600 14px/22px var(--f-mono); color: var(--ink); letter-spacing: 0;
}
.tag i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
.muted { color: var(--green); }
.head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; margin-bottom: 60px; }
.head h2, .match__title {
  font: var(--w-head) 48px/52px var(--f-head); letter-spacing: var(--ls-head); color: var(--ink);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 28px; border-radius: var(--r-pill);
  font: var(--w-btn) 16px/1 var(--f-btn); white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.btn--dark { background: var(--green-deep); color: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.13), 0 3px 3px rgba(0,0,0,.12), 0 10px 18px rgba(0,0,0,.12); }
.btn--dark:hover { transform: translateY(-2px); }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 8px; left: 0; right: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; padding: 0 12px; pointer-events: none; }
.nav__bar {
  pointer-events: auto; width: min(1200px, 100%);
  display: flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 14px; background: var(--mint); border-radius: 18px;
  border: 1px solid rgba(255,255,255,.6);
}
.nav__logo { display: inline-flex; align-items: center; gap: 8px; }
.nav__logo .logo-mark { width: 30px; height: 30px; color: var(--green); }
.logo-word { font: var(--w-head) 20px/1 var(--f-head); letter-spacing: var(--ls-head); color: var(--ink); }
.nav__links { display: flex; gap: 10px; margin: 0 auto; }
.nav__links > a { position: relative; display: block; height: 22px; overflow: hidden; padding: 0 8px; font: 600 14px/22px var(--f-mono); color: var(--ink); }
.nav__links > a span { display: block; transition: transform .45s var(--ease); }
.nav__links > a span::after { content: attr(data-t); display: block; color: var(--green); }
.nav__links > a:hover span { transform: translateY(-22px); }
.nav__cta {
  display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: var(--r-pill);
  background: var(--green-deep); color: #fff; font: var(--w-btn) 16px/1 var(--f-btn);
  box-shadow: inset 0 -3px 12px rgba(120, 214, 186, .55);
  transition: box-shadow .3s;
}
.nav__cta:hover { box-shadow: inset 0 -3px 16px rgba(120, 214, 186, .85); }
.nav__links { align-items: center; }
.nav__item { position: relative; }
.nav__dd-btn { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border: 0; background: none; cursor: pointer; font: 600 14px/22px var(--f-mono); color: var(--ink); }
.nav__dd-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.nav__dd-btn:hover, .nav__dd-btn.is-current, .nav__item.is-open .nav__dd-btn { color: var(--green); }
.nav__item.is-open .nav__dd-btn svg { transform: rotate(180deg); }
.nav__panel { position: absolute; top: calc(100% + 22px); left: 50%; width: 600px; display: grid; grid-template-columns: 1fr 210px; gap: 8px; padding: 8px; border-radius: 20px; background: var(--white);
  box-shadow: 0 30px 70px rgba(15, 38, 33, .16), 0 0 0 1px rgba(15, 38, 33, .05);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; }
.nav__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }
.nav__item.is-open .nav__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .25s, transform .3s var(--ease); }
.nav__panel-links { display: grid; gap: 2px; align-content: start; }
.nav__panel-links.is-two { grid-template-columns: 1fr 1fr; }
.nav__sub { display: block; padding: 12px 14px; border-radius: 14px; transition: background .2s; }
.nav__sub:hover, .nav__sub:focus-visible { background: var(--bg); }
.nav__sub strong { display: flex; align-items: center; gap: 6px; font: 600 15px/1.3 var(--f-head); color: var(--ink); }
.nav__sub strong svg { width: 14px; height: 14px; fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: translate(-4px, 4px); transition: opacity .2s, transform .25s; }
.nav__sub:hover strong svg { opacity: 1; transform: none; }
.nav__sub small { display: block; margin-top: 3px; font: 400 13px/1.4 var(--f-body); color: var(--body); }
.nav__sub[aria-current="page"] strong { color: var(--green); }
.nav__promo { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 14px; background: var(--green-ink); color: #fff; min-height: 180px; }
.nav__promo-glow { position: absolute; right: -60px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(143, 217, 190, .55), transparent); }
.nav__promo small { position: relative; font: 500 12px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.nav__promo strong { position: relative; font: 600 19px/1.2 var(--f-head); letter-spacing: -.01em; }
.nav__promo-cta { position: relative; margin-top: auto; font: 600 14px var(--f-btn); color: #8FD9BE; }
.nav__m-group summary { display: flex; align-items: center; justify-content: space-between; padding: 10px 6px; font: 600 16px/22px var(--f-mono); cursor: pointer; list-style: none; }
.nav__m-group summary::-webkit-details-marker { display: none; }
.nav__m-group summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.nav__m-group[open] summary svg { transform: rotate(180deg); }
.nav__m-sub { display: grid; padding: 0 0 8px 14px; border-left: 2px solid rgba(47, 105, 92, .2); margin-left: 6px; }
.nav__m-sub a { padding: 8px 6px; font: 500 15px/20px var(--f-body); color: var(--body); }
.nav__toggle { display: none; position: relative; width: 42px; height: 42px; border: 0; border-radius: 12px; background: #fff; cursor: pointer; margin-left: auto; }
.nav__toggle i { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.nav__toggle i:first-of-type { top: 16px; } .nav__toggle i:last-of-type { top: 24px; }
.nav__toggle[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
.nav__mobile { pointer-events: auto; width: min(1200px, 100%); margin-top: 8px; padding: 16px; display: grid; gap: 4px; background: var(--mint); border-radius: 16px; }
.nav__mobile[hidden] { display: none; }
.nav__mobile a:not(.nav__cta) { padding: 10px 6px; font: 600 16px/22px var(--f-mono); }
.nav__mobile .nav__cta { justify-content: center; margin-top: 8px; height: 48px; }

/* ---------- Hero ---------- */
.hero { background: var(--bg); padding: 190px var(--pad-x) 50px; text-align: center; overflow: hidden; }
.hero__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hero__title {
  margin-top: 22px; font: var(--w-head) 56px/64px var(--f-head); letter-spacing: var(--ls-head);
}
.hero__title span { display: block; }
.hero__title em { font-style: normal; color: var(--green); }
.hero__title .w { display: inline-block; }
.js .hero__title .w { opacity: 0; filter: blur(10px); transform: translateY(10px); animation: word-in .9s var(--ease) forwards; animation-delay: calc(.1s + var(--i) * .08s); }
@keyframes word-in { to { opacity: 1; filter: blur(0); transform: none; } }

.hero__cta { display: inline-flex; align-items: center; gap: 16px; margin-top: 24px; }
.hero__hand { width: 22px; height: 22px; color: var(--ink); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }
.btn--hero { height: 50px; padding: 0 22px; }
.btn__letters { display: inline-flex; }
.btn__letters span { display: inline-block; white-space: pre; transition: transform .45s var(--ease); transition-delay: calc(var(--i) * 18ms); }
.btn--hero:hover .btn__letters span { transform: translateY(-3px); }

.hero__ribbons { position: relative; height: 480px; margin: 70px calc(-1 * var(--pad-x)) 0; }
.hero__row { position: absolute; left: -6%; width: 112%; overflow: hidden; padding: 24px 0; contain: layout paint; }
.hero__row--a { top: 0; transform: rotate(-5deg); }
.hero__row--b { top: 160px; transform: rotate(4deg); }
.hero__track { display: flex; width: max-content; will-change: transform; backface-visibility: hidden; }
.hero__row--a .hero__track { gap: 20px; padding-right: 20px; animation: reel-right 70s linear infinite; }
.hero__row--b .hero__track { gap: 16px; padding-right: 16px; animation: reel-left 55s linear infinite; }
.hero__card { flex: 0 0 auto; overflow: hidden; border-radius: 22px; background: var(--sage); }
.hero__row--a .hero__card { width: 380px; height: 250px; }
.hero__row--b .hero__card { width: 300px; height: 200px; box-shadow: 0 20px 40px rgba(15, 38, 33, .14); }
.hero__media { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__mirror { background: var(--sage) center / cover no-repeat; }
.hero__ribbons:hover .hero__track { animation-play-state: paused; }
@keyframes reel-right { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
@keyframes reel-left { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* ---------- About (stats + photos + about us) ---------- */
.about { background: var(--bg); padding: var(--sec) var(--pad-x); }
.about__intro { max-width: 1140px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.about__badge { display: grid; place-items: center; width: 64px; height: 64px; }
.about__badge .logo-mark { width: 64px; height: 64px; color: var(--green-deep); }
.about__statement { margin-top: 28px; max-width: 900px; font: 500 42px/1.15 var(--f-head); letter-spacing: var(--ls-head); color: var(--ink); }
.about__statement .muted { color: var(--green); }
.about__figures { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin-top: 64px; }
.about__figures--1 { grid-template-columns: 1fr; } .about__figures--2 { grid-template-columns: 1fr 1fr; } .about__figures--4 { grid-template-columns: repeat(4, 1fr); }
.about__figure { display: flex; flex-direction: column-reverse; align-items: center; gap: 14px; padding: 6px 40px; }
.about__figure + .about__figure { border-left: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.about__figure dd { font: 400 72px/1 var(--f-mono); letter-spacing: var(--ls-head); color: var(--ink); font-variant-numeric: tabular-nums; }
.about__figure dt { max-width: 260px; font: 400 17px/1.6 var(--f-body); color: var(--body); }

.about__gallery { max-width: 1200px; margin: 110px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: start; }
.about__gallery--1 { grid-template-columns: minmax(0, 640px); justify-content: center; }
.about__gallery--2 { grid-template-columns: 1fr 1fr; }
.about__photo { margin: 0; overflow: hidden; border-radius: var(--r-inner); background: var(--sage); aspect-ratio: 413 / 300; }
.about__gallery--3 .about__photo:nth-child(2) { aspect-ratio: 413 / 355; }
.about__photo img, .about__photo video { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.about__photo:hover img, .about__photo:hover video { transform: scale(1.08); }

.about__body { max-width: 1200px; margin: 100px auto 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 60px; align-items: start; }
.about__lead { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; position: sticky; top: 120px; }
.about__heading { font: var(--w-head) 44px/1.12 var(--f-head); letter-spacing: var(--ls-head); color: var(--ink); max-width: 420px; }
.about__heading .muted { color: var(--green); }
.btn--arrow { margin-top: 14px; height: 54px; padding: 0 8px 0 22px; gap: 16px; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 75%, transparent); }
.btn--arrow i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green-deep); color: #fff; transition: transform .45s var(--ease), background-color .3s; }
.btn--arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn--arrow:hover { transform: none; }
.btn--arrow:hover i { transform: rotate(45deg); background: var(--green); }
.about__copy { display: grid; gap: 18px; }
.about__copy p { font: 400 18px/1.65 var(--f-body); color: var(--body); }
.about__features { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 44px 40px; }
.about__features li { display: flex; gap: 18px; align-items: flex-start; }
.about__icon { flex: 0 0 40px; width: 40px; height: 40px; fill: none; stroke: var(--green); stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; transition: transform .6s var(--ease); }
.about__features li:hover .about__icon { transform: rotate(-8deg) scale(1.06); }
.about__features h4 { font: var(--w-head) 22px/1.3 var(--f-head); letter-spacing: var(--ls-head); color: var(--ink); }
.about__features p { margin-top: 8px; font: 400 16px/1.6 var(--f-body); color: var(--body); }

/* staggered reveals inside the section */
.js .about .reveal { transition-delay: calc(var(--d, 0) * 110ms); }
.js .about__photo.reveal { transform: translateY(48px); filter: none; }
.js .about__photo.reveal.is-in { transform: translateY(var(--drift, 0px)); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--d, 0) * 120ms); }
.js .about__photo.reveal.is-drifting { transition: opacity 1s var(--ease); }

/* ---------- Platforms (matcher) ---------- */
.match { background: var(--bg); padding: var(--sec) var(--pad-x); }
.match__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 80px; align-items: center; }
.match__title { margin: 18px 0 0; font: var(--w-head) 56px/1.04 var(--f-head); letter-spacing: var(--ls-head); color: var(--ink); }
.match__title .muted { color: var(--green); }
.match__intro { margin: 18px 0 0; max-width: 460px; font: 400 18px/1.55 var(--f-body); color: var(--body); }
.match__prompt { margin: 34px 0 14px; font: 500 13px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.match__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.match__chip { padding: 12px 18px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--white); color: var(--ink); font: 600 15px var(--f-btn); cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .2s; }
.match__chip:hover { border-color: var(--green); }
.match__chip:active { transform: scale(.97); }
.match__chip[aria-checked="true"] { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.match__chip:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.match__answer { display: flex; gap: 14px; align-items: flex-start; margin-top: 26px; padding: 20px 22px; border-radius: var(--r-inner); background: var(--white); }
.match__answer p { margin: 0; font: 400 16px/1.5 var(--f-body); color: var(--body); }
.match__answer b { font-weight: 600; color: var(--ink); }
.match__answer.is-swap p { animation: match-in .4s var(--ease, ease) both; }
@keyframes match-in { from { opacity: 0; transform: translateY(6px); } }
.match__check { width: 36px; height: 36px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; flex: none; }
.match__check svg { width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.match__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.match__tile { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--r-inner); background: var(--white); box-shadow: 0 0 0 0 transparent;
  transition: opacity .45s, filter .45s, box-shadow .45s, transform .45s; }
.match__grid.is-filtering .match__tile:not(.is-on) { opacity: .4; filter: grayscale(.7); }
.match__tile.is-on { box-shadow: 0 0 0 2px var(--green), 0 18px 40px color-mix(in srgb, var(--green) 22%, transparent); transform: translateY(-2px); }
.match__icon { position: relative; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; overflow: hidden; }
.match__icon img { position: relative; z-index: 1; width: 20px; height: 20px; filter: brightness(0) invert(1); }
.match__icon b { position: absolute; font: 700 15px var(--f-head); color: #fff; }
.match__icon img + b { display: none; }
.match__name { font: 600 17px/1.2 var(--f-head); color: var(--ink); min-width: 0; }
.match__name small { display: block; margin-top: 3px; font: 500 13px/1.3 var(--f-body); color: var(--muted); }
.match__fit { margin-left: auto; padding: 4px 10px; border-radius: var(--r-pill); background: var(--mint); color: var(--green); font: 600 12px var(--f-body); white-space: nowrap; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s; }
.match__tile.is-on .match__fit { opacity: 1; transform: none; }
.no-motion .match__tile { transition: none; }

/* ---------- Services ---------- */
.services { background: var(--white); padding: var(--sec) var(--pad-x); }
.services__list { max-width: 1200px; margin: 0 auto; }
.services__row { border-bottom: 1px solid var(--line); padding: 0 24px; cursor: default; outline: none; transition: opacity .4s; }
.services__line { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; }
.services__row h3 { font: var(--w-head) 24px/32px var(--f-head); color: var(--ink); transition: color .3s; }
.services__n { font: 400 24px/32px var(--f-mono); color: var(--muted); }
.services__imgs { display: flex; gap: 20px; height: 0; overflow: hidden; transition: height .5s var(--ease), padding .5s var(--ease); }
.services__imgs img { width: 120px; height: 120px; object-fit: cover; border-radius: 12px; transform: translateY(20px) scale(.9); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
.services__imgs img:nth-child(2) { transition-delay: .05s; }
.services__imgs img:nth-child(3) { transition-delay: .1s; }
.services__row.is-open .services__imgs { height: 146px; padding-bottom: 26px; }
.services__row.is-open .services__imgs img { transform: none; opacity: 1; }
.services__list.has-open .services__row:not(.is-open) h3 { color: var(--muted); }

/* ---------- Work ---------- */
.work { background: var(--white); padding: var(--sec) var(--pad-x); }
.work__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 50px 20px; }
.work__card { display: flex; flex-direction: column; gap: 12px; }
.work__card--big { grid-column: 1 / -1; }
.work__img { position: relative; overflow: hidden; border-radius: var(--r-inner); aspect-ratio: 690 / 483; background: var(--bg); }
.work__card--big .work__img { aspect-ratio: 1400 / 980; }
.work__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1s var(--ease); }
.work__card:hover .work__img img { transform: scale(1.02); }
.work__view {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.6); opacity: 0;
  padding: 12px 20px; border-radius: var(--r-pill); background: #fff; color: var(--ink); font: var(--w-head) 15px/1 var(--f-head);
  transition: transform .4s var(--ease), opacity .3s;
}
.work__card:hover .work__view { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.work__meta { display: flex; justify-content: space-between; align-items: center; padding: 0 16px; }
.work__meta p { display: flex; align-items: center; gap: 10px; font: 400 16px/24px var(--f-body); color: var(--body); }
.work__meta strong { font-weight: 700; color: var(--ink); }
.work__meta i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
.work__meta .work__year { font: 600 14px/22px var(--f-mono); color: var(--ink); }
.work__more { display: flex; justify-content: center; margin-top: 50px; }

/* ---------- Principles (benefits) ---------- */
.benefits { background: var(--bg); padding: var(--sec) var(--pad-x); }
.benefits__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 568fr 612fr; gap: 20px; }
.benefits__list { background: var(--white); border-radius: var(--r-card); padding: 8px; display: flex; flex-direction: column; }
.benefits__list > img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--r-inner); }
.benefits__list ul { padding: 30px 22px 26px; display: grid; gap: 14px; }
.benefits__list li { display: flex; align-items: center; gap: 12px; font: var(--w-head) 18px/26px var(--f-head); color: var(--ink); }
.benefits__list li::before {
  content: ""; flex: 0 0 14px; height: 14px;
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
}
.benefits__photo, .contact__photo { position: relative; border-radius: var(--r-card); overflow: hidden; min-height: 540px; color: #fff; }
.benefits__photo > img, .contact__photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.benefits__over { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 30px; background: rgba(15, 38, 33, .45); }
.benefits__quote { font: var(--w-head) 24px/32px var(--f-head); max-width: 460px; }
.benefits__who { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.benefits__mark { width: 56px; height: 56px; border-radius: 34px; background: #fff; display: grid; place-items: center; }
.benefits__mark .logo-mark { width: 40px; height: 40px; color: var(--green); }
.benefits__who strong { display: block; font: var(--w-head) 18px/26px var(--f-head); }
.benefits__who small { display: block; font: 600 14px/22px var(--f-mono); color: rgba(255,255,255,.7); }
.benefits__stats { display: flex; gap: 52px; margin-top: auto; }
.benefits__stats dd { font: 500 48px/56px var(--f-mono); letter-spacing: var(--ls-head); }
.benefits__stats dt { font: 400 18px/28px var(--f-body); color: rgba(255,255,255,.75); }

.features { max-width: 1200px; margin: 20px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--white); border-radius: var(--r-card); padding: 30px; min-height: 248px; display: flex; flex-direction: column; }
.feature svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-top: auto; font: var(--w-head) 20px/24px var(--f-head); color: var(--ink); }
.feature p { margin-top: 10px; font: 400 16px/24px var(--f-body); color: var(--body); }

/* ---------- Process (testimonial-card layout) ---------- */
.process { background: var(--bg); padding: var(--sec) var(--pad-x); }
.process__wrap { position: relative; max-width: 1200px; margin: 0 auto; }
.process__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent);
}
.process__track::-webkit-scrollbar { display: none; }
.process__card { flex: 0 0 340px; scroll-snap-align: start; background: var(--white); border-radius: var(--r-card); padding: 8px; display: flex; flex-direction: column; }
.process__body { background: var(--bg); border-radius: var(--r-inner); padding: 22px; min-height: 220px; display: flex; flex-direction: column; gap: 14px; }
.process__n { font: 500 30px/1 var(--f-mono); color: var(--muted); }
.process__body p { font: var(--w-head) 18px/26px var(--f-head); color: var(--ink); }
.process__foot { display: flex; align-items: center; gap: 14px; padding: 16px 12px 10px; }
.process__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--sage); color: var(--green-deep); display: grid; place-items: center; font: 600 16px/1 var(--f-mono); }
.process__foot strong { display: block; font: var(--w-head) 18px/26px var(--f-head); color: var(--ink); }
.process__foot small { display: block; font: 400 14px/22px var(--f-mono); color: var(--body); }
.process__next { position: absolute; right: 24px; top: 130px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .3s var(--ease); }
.process__next:hover { transform: scale(1.08); }
.process__next svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg); padding: var(--sec) var(--pad-x); }
.faq__list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item { background: var(--white); border-radius: 30px; }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 30px; font: var(--w-head) 18px/26px var(--f-head); color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i {
  flex: 0 0 14px; height: 14px; transition: transform .4s var(--ease);
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
}
.faq__item[open] summary i { transform: rotate(45deg); }
.faq__item p { padding: 0 30px 30px 60px; font: 400 16px/24px var(--f-body); color: var(--body); margin-top: -12px; }

/* ---------- Contact ---------- */
.contact { background: var(--bg); padding: var(--sec) var(--pad-x); }
.contact__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 540fr 640fr; gap: 20px; align-items: start; }
.contact__side { display: grid; gap: 20px; }
.contact__photo { min-height: 472px; border-radius: var(--r-inner); }
.contact__line { display: flex; align-items: center; gap: 16px; height: 88px; padding: 0 30px; background: var(--white); border-radius: var(--r-card); font: 500 20px/28px var(--f-mono); color: var(--ink); transition: background-color .3s; }
.contact__line:hover { background: var(--mint); }
.contact__line svg { width: 22px; height: 22px; fill: var(--ink); }
.form { background: var(--white); border-radius: var(--r-inner); padding: 50px; display: flex; flex-direction: column; }
.form__intro { font: var(--w-head) 24px/32px var(--f-head); color: var(--body); max-width: 440px; margin-bottom: 36px; }
.form label { font: 400 16px/24px var(--f-body); color: var(--ink); margin-bottom: 8px; }
.form input, .form select, .form textarea {
  width: 100%; margin-bottom: 22px; padding: 14px 16px; border-radius: 12px;
  border: 1px solid #E4E4E7; background: #FAFAFA; font: 400 16px/24px var(--f-body); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2309090B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.form ::placeholder { color: #A1A1AA; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(47,105,92,.15); }
.form [aria-invalid="true"] { border-color: #E5484D; }
.form textarea { resize: vertical; min-height: 120px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__row > div { display: flex; flex-direction: column; }
.form__hp { position: absolute !important; left: -9999px; }
.form__btn { height: 56px; border: 0; border-radius: var(--r-pill); background: var(--green-deep); color: #fff; font: var(--w-btn) 16px/20px var(--f-btn); cursor: pointer; margin-top: 6px; transition: background-color .3s; }
.form__btn:hover { background: var(--green); }
.form__btn:disabled { opacity: .6; cursor: progress; }
.form__status { min-height: 24px; margin-top: 14px; font: 400 15px/24px var(--f-body); color: var(--green); }
.form__status.is-error { color: #C93A3F; }

/* ---------- Footer ---------- */
.footer { background: var(--bg); padding: 0 var(--pad-x) var(--pad-x); }
.foot { container-type: inline-size; position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-card); background: var(--green-ink); color: rgba(255,255,255,.62); padding: 88px clamp(24px, 6vw, 88px) 0; }
.foot__glow {
  position: absolute; z-index: -1; left: 50%; bottom: -520px; width: 1100px; height: 900px; transform: translateX(-50%);
  background:
    radial-gradient(closest-side at 40% 45%, rgba(170, 240, 214, .9), rgba(47, 150, 120, .7) 40%, transparent 72%),
    radial-gradient(closest-side at 62% 60%, rgba(18, 70, 58, 1), transparent 70%);
  filter: blur(40px); opacity: .55; animation: glow 14s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translateX(-46%) rotate(30deg) scale(1.08); } }
.foot a { color: rgba(255,255,255,.62); transition: color .2s; }
.foot a:hover { color: #fff; }
.foot svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.foot__cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot__status { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font: 500 14px var(--f-mono); color: rgba(255,255,255,.8); margin: 0 0 24px; }
.foot__status i { width: 8px; height: 8px; border-radius: 50%; background: #5EE0A8; box-shadow: 0 0 0 0 rgba(94,224,168,.6); animation: pulse 2s ease-out infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(94,224,168,0); } }
.foot__title { margin: 0; font: var(--w-head) clamp(40px, 5.4vw, 76px)/1.02 var(--f-head); letter-spacing: var(--ls-head); color: #fff; }
.foot__title .muted { color: #8FD9BE; }
.foot__actions { display: grid; gap: 18px; justify-items: end; flex: none; }
.foot__btn { display: inline-flex; align-items: center; gap: 10px; padding: 18px 28px; border-radius: var(--r-pill); background: var(--mint); color: var(--green-ink) !important; font: var(--w-btn) 17px var(--f-btn); transition: transform .25s, background .25s; }
.foot__btn:hover { background: #fff; transform: translateY(-2px); }
.foot__btn svg { transition: transform .25s; }
.foot__btn:hover svg, .foot__mail:hover svg { transform: translate(2px, -2px); }
.foot__mail { display: inline-flex; align-items: center; gap: 8px; font: 500 20px var(--f-body); color: #fff !important; border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 4px; }
.foot__mail svg { transition: transform .25s; }

.foot__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; padding: 64px 0 40px; }
.foot__glow + .foot__grid { padding-top: 0; }
.foot__logo { display: inline-flex; align-items: center; gap: 12px; color: #fff !important; font: 600 22px var(--f-head); letter-spacing: -.02em; }
.foot__logo .logo-mark { width: 40px; height: 40px; color: var(--mint); --logo-fg: var(--green-ink); }
.foot__about { margin: 20px 0 0; max-width: 340px; font: 400 16px/1.6 var(--f-body); }
.foot__time { margin: 22px 0 0; font: 400 14px/1.6 var(--f-body); }
.foot__clock { font-family: var(--f-mono); font-weight: 500; color: #fff; }
.foot__time span:not(.foot__clock) { color: rgba(255,255,255,.45); }
.foot__socials { display: flex; gap: 10px; margin-top: 26px; }
.foot__socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); }
.foot__socials a:hover { background: var(--mint); border-color: var(--mint); color: var(--green-ink); }
.foot__col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.foot__col h3 { margin: 0 0 8px; font: 500 13px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.foot__col a { font: 400 16px/1.4 var(--f-body); }
.foot__more { color: #8FD9BE !important; }
.foot__more::after { content: " →"; }

.foot__word { margin: 24px 0 0; height: .8em; overflow: hidden; text-align: center; white-space: nowrap; pointer-events: none; user-select: none;
  font: 600 min(400px, calc(230cqw / var(--n, 6)))/1 var(--f-head); letter-spacing: -0.06em; }
.foot__word span { display: block; background: linear-gradient(180deg, rgba(255,255,255,.92) 8%, rgba(255,255,255,.08) 78%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot__bar { position: relative; display: flex; align-items: center; gap: 28px; padding: 22px 0 26px; border-top: 1px solid rgba(255,255,255,.1); font: 400 14px var(--f-body); }
.foot__bar p { margin: 0 auto 0 0; }
.foot__bar nav { display: flex; gap: 22px; }
.foot__bar a { font-size: 14px; }
.foot__top { display: inline-flex; align-items: center; gap: 6px; }
.foot__top svg { width: 16px; height: 16px; }


/* ---------- Pricing ---------- */
.price { background: var(--bg); padding: 0 var(--pad-x) var(--sec); }
.price__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price__card { position: relative; display: flex; flex-direction: column; padding: 34px 32px 36px; border-radius: var(--r-card); background: var(--white); }
.price__card--hot { background: var(--green-ink); color: #fff; box-shadow: 0 30px 70px rgba(15, 38, 33, .25); }
.price__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price__top h2 { font: var(--w-head) 24px/1.2 var(--f-head); letter-spacing: var(--ls-head); color: inherit; }
.price__badge { padding: 5px 12px; border-radius: var(--r-pill); background: var(--mint); color: var(--green-ink); font: 600 12px var(--f-mono); }
.price__for { margin-top: 12px; min-height: 72px; font: 400 16px/1.5 var(--f-body); color: var(--body); }
.price__card--hot .price__for { color: rgba(255,255,255,.62); }
.price__amount { margin-top: 22px; font: var(--w-head) 52px/1 var(--f-head); letter-spacing: -.03em; color: inherit; }
.price__amount small { display: block; margin-bottom: 8px; font: 500 13px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.price__card--hot .price__amount small { color: rgba(255,255,255,.5); }
.price__time { display: flex; align-items: center; gap: 8px; margin-top: 14px; font: 500 15px var(--f-body); color: var(--body); }
.price__card--hot .price__time { color: rgba(255,255,255,.7); }
.price__time svg, .price__list svg { width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.price__card--hot .price__time svg, .price__card--hot .price__list svg { stroke: #8FD9BE; }
.price__btn { display: flex; align-items: center; justify-content: center; height: 52px; margin: 26px 0 28px; border-radius: var(--r-pill); background: var(--green-deep); color: #fff; font: var(--w-btn) 16px var(--f-btn); transition: transform .25s, background .25s; }
.price__btn:hover { transform: translateY(-2px); }
.price__card--hot .price__btn { background: var(--mint); color: var(--green-ink); }
.price__list { display: grid; gap: 12px; padding-top: 26px; border-top: 1px solid var(--line); }
.price__card--hot .price__list { border-color: rgba(255,255,255,.12); }
.price__list li { display: flex; gap: 10px; font: 400 15px/1.45 var(--f-body); }
.price__note { max-width: 680px; margin: 34px auto 0; text-align: center; font: 400 15px/1.6 var(--f-body); color: var(--muted); }
.addons { background: var(--white); padding: var(--sec) var(--pad-x); }
.addons__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.addons__title { font: var(--w-head) 48px/1.05 var(--f-head); letter-spacing: var(--ls-head); color: var(--ink); position: sticky; top: 120px; }
.addons__title .muted, .match__title .muted { color: var(--green); }
.addons__row { display: flex; justify-content: space-between; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.addons__row:first-child { padding-top: 0; }
.addons__row h3 { font: var(--w-head) 22px/1.2 var(--f-head); color: var(--ink); }
.addons__row p { margin-top: 6px; font: 400 15px/1.5 var(--f-body); color: var(--body); }
.addons__row span { font: 600 18px var(--f-head); color: var(--green); white-space: nowrap; }
.how { background: var(--bg); padding: var(--sec) var(--pad-x); }
.how__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how__item { padding: 32px; border-radius: var(--r-card); background: var(--white); }
.how__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--mint); color: var(--green); font: 600 14px var(--f-mono); }
.how__item h3 { margin-top: 24px; font: var(--w-head) 22px/1.2 var(--f-head); color: var(--ink); }
.how__item p { margin-top: 10px; font: 400 16px/1.55 var(--f-body); color: var(--body); }

/* ---------- Journal ---------- */
.journal { background: var(--bg); padding: 0 var(--pad-x) var(--sec); }
.journal--more { background: var(--white); padding-top: var(--sec); }
.jmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 500 13px var(--f-mono); color: var(--muted); }
.jcat { padding: 4px 10px; border-radius: var(--r-pill); background: var(--mint); color: var(--green); }
.jfeat { max-width: 1200px; margin: 0 auto 64px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; border-radius: var(--r-card); overflow: hidden; background: var(--white); }
.jfeat__img { min-height: 420px; background: var(--sage); overflow: hidden; }
.jfeat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.jfeat:hover .jfeat__img img, .jcard:hover .jcard__img img { transform: scale(1.04); }
.jfeat__body { display: flex; flex-direction: column; gap: 16px; padding: 48px; }
.jfeat__body h2 { font: var(--w-head) 38px/1.1 var(--f-head); letter-spacing: var(--ls-head); color: var(--ink); }
.jfeat__ex { font: 400 17px/1.6 var(--f-body); color: var(--body); }
.jfeat__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font: 600 15px var(--f-btn); color: var(--green); }
.jfeat__more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.jgrid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 20px; }
.jgrid--two { grid-template-columns: repeat(2, 1fr); }
.jcard { display: flex; flex-direction: column; gap: 14px; }
.jcard__img { aspect-ratio: 3 / 2; border-radius: var(--r-inner); overflow: hidden; background: var(--sage); }
.jcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.jcard h3 { font: var(--w-head) 22px/1.25 var(--f-head); letter-spacing: -.01em; color: var(--ink); transition: color .2s; }
.jcard:hover h3 { color: var(--green); }
.jcard__ex { font: 400 15px/1.55 var(--f-body); color: var(--body); }
.phero--post { padding-bottom: 50px; }
.phero--post .phero__title { max-width: 900px; }
.article__cover { max-width: 1200px; margin: 0 auto; padding: 0 var(--pad-x); }
.article__cover img { width: 100%; aspect-ratio: 2000 / 1100; object-fit: cover; border-radius: var(--r-card); }
.article__body { max-width: 720px; margin: 0 auto; padding: 64px var(--pad-x) var(--sec); }
.prose--lg { font-size: 19px; line-height: 1.7; }
.article__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.article__author { display: flex; align-items: center; gap: 12px; }
.article__avatar .logo-mark { width: 44px; height: 44px; color: var(--green); }
.article__author strong { display: block; font: 600 16px var(--f-head); color: var(--ink); }
.article__author span { font: 400 14px var(--f-body); color: var(--muted); }
.article__share { font: 600 14px var(--f-btn); color: var(--green); }


/* ---------- Services: sticky index ---------- */
.sx { background: var(--white); padding: var(--sec) var(--pad-x); }
.sx__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 70px; align-items: start; }
.sx__index { position: sticky; top: 120px; }
.sx__k { font: 600 12px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sx__nav { display: grid; gap: 4px; margin-top: 22px; }
.sx__nav a { display: flex; align-items: baseline; gap: 12px; font: var(--w-head) 28px/1.35 var(--f-head); letter-spacing: -.02em; color: var(--muted); opacity: .55; transition: color .35s, opacity .35s, transform .35s var(--ease); }
.sx__nav a span { font: 500 14px var(--f-mono); letter-spacing: 0; }
.sx__nav a:hover { opacity: .85; }
.sx__nav a.is-on { color: var(--ink); opacity: 1; transform: translateX(6px); }
.sx__nav a.is-on::after { content: ""; align-self: center; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px var(--mint); flex: none; }
.sx__bar { margin-top: 36px; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.sx__bar i { display: block; height: 100%; width: 0; border-radius: 2px; background: var(--green); transition: width .25s linear; }
.sx__quote { margin-top: 32px; }
.sx__list { display: grid; gap: 120px; }
.sx__item { scroll-margin-top: 110px; }
.sx__imgs { display: grid; gap: 14px; height: 380px; }
.sx__imgs--2 { grid-template-columns: 1.25fr 1fr; }
.sx__imgs--3 { grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; }
.sx__imgs--3 .sx__img:first-child { grid-row: 1 / 3; }
.sx__img { border-radius: var(--r-inner); overflow: hidden; background: var(--sage); }
.sx__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.sx__item:hover .sx__img img { transform: scale(1.03); }
.sx__body { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-top: 34px; }
.sx__n { font: 500 14px var(--f-mono); color: var(--muted); }
.sx__main h2 { margin-top: 8px; font: var(--w-head) 40px/1.05 var(--f-head); letter-spacing: var(--ls-head); color: var(--ink); }
.sx__main h2 a:hover { color: var(--green); }
.sx__main p { margin-top: 14px; font: 400 17px/1.6 var(--f-body); color: var(--body); }
.sx__tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.sx__tool { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 6px; border-radius: var(--r-pill); background: var(--bg); font: 600 13px var(--f-body); color: var(--ink); }
.sx__tool-ic { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; color: #fff; font: 700 11px var(--f-head); }
.sx__tool-ic img { width: 12px; height: 12px; filter: brightness(0) invert(1); }
.sx__get { display: grid; gap: 11px; margin-top: 14px; }
.sx__get li { display: flex; gap: 10px; font: 500 16px/1.4 var(--f-body); color: var(--ink); }
.sx__get svg { width: 16px; height: 16px; margin-top: 2px; flex: none; fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; }
.sx__facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.sx__fact { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 8px; border-radius: var(--r-pill); background: var(--bg); font: 600 15px var(--f-body); color: var(--ink); }
a.sx__fact:hover { background: var(--mint); }
.sx__fact svg { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--mint); fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sx__more { display: inline-block; margin-top: 22px; font: 600 15px var(--f-btn); color: var(--green); }
.sx__case { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 14px 20px 14px 14px; border-radius: 20px; background: var(--bg); transition: background .25s; }
.sx__case:hover { background: var(--mint); }
.sx__case-img { width: 96px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--sage); flex: none; }
.sx__case-img img { width: 100%; height: 100%; object-fit: cover; }
.sx__case small { display: block; font: 600 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sx__case b { display: block; margin-top: 3px; font: 600 17px var(--f-head); color: var(--ink); }
.sx__case em { margin-left: auto; font: 600 14px var(--f-btn); font-style: normal; color: var(--green); white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .sx__inner { grid-template-columns: 1fr; gap: 0; }
  .sx__index { display: none; }
  .sx__body { gap: 32px; }
  .price__grid, .how__grid, .jgrid { grid-template-columns: 1fr 1fr; }
  .jfeat, .addons__inner { grid-template-columns: 1fr; gap: 40px; }
  .jfeat { gap: 0; }
  .addons__title { position: static; }
  .nav__links { gap: 2px; }
  .foot__grid { grid-template-columns: repeat(3, 1fr); }
  .foot__brand { grid-column: 1 / -1; }
  .about__body { grid-template-columns: 1fr; gap: 36px; }
  .about__lead { position: static; }
  .about__figure { padding: 6px 20px; }
  .about__gallery { gap: 18px; }
  .benefits__grid, .contact__grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .feature { min-height: 200px; }
  .match__inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}
@media (max-width: 810px) {
  :root { --sec: 80px; }
  .nav__links, .nav__bar > .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__bar { padding: 6px; }
  .hero { padding-top: 150px; }
  .hero__title { font-size: 40px; line-height: 46px; letter-spacing: var(--ls-head); }
  .hero__ribbons { height: 340px; margin-top: 50px; }
  .hero__row--b { top: 110px; }
  .hero__row--a .hero__card { width: 260px; height: 172px; border-radius: 16px; }
  .hero__row--b .hero__card { width: 210px; height: 140px; border-radius: 16px; box-shadow: none; }
  .head h2, .match__title { font-size: 36px; line-height: 40px; letter-spacing: var(--ls-head); }
  .about__statement { font-size: 30px; }
  .about__statement br { display: none; }
  .about__figures, .about__figures--4 { grid-template-columns: 1fr; margin-top: 40px; }
  .about__figure { padding: 28px 0; }
  .about__figure + .about__figure { border-left: 0; border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
  .about__figure dd { font-size: 56px; }
  .about__gallery { display: flex; gap: 14px; margin: 60px calc(-1 * var(--pad-x)) 0; padding: 0 var(--pad-x); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .about__gallery::-webkit-scrollbar { display: none; }
  .about__photo { flex: 0 0 78%; scroll-snap-align: center; }
  .about__body { margin-top: 64px; }
  .about__heading { font-size: 34px; }
  .about__features { grid-template-columns: 1fr; gap: 30px; margin-top: 40px; }
  .work__grid { grid-template-columns: 1fr; gap: 36px; }
  .work__card--big .work__img { aspect-ratio: 690 / 483; }
  .services__row { padding: 0 6px; }
  .services__row h3 { font-size: 20px; }
  .services__imgs img { width: 90px; height: 90px; }
  .services__row.is-open .services__imgs { height: 116px; }
  .price__grid, .how__grid, .jgrid, .jgrid--two { grid-template-columns: 1fr; }
  .price__for { min-height: 0; }
  .jfeat__img { min-height: 240px; }
  .jfeat__body { padding: 28px 24px; }
  .jfeat__body h2 { font-size: 28px; }
  .addons__title { font-size: 34px; }
  .sx__list { gap: 80px; }
  .sx__imgs { height: 300px; }
  .sx__imgs--3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1.4fr 1fr; }
  .sx__imgs--3 .sx__img:first-child { grid-row: auto; grid-column: 1 / 3; }
  .sx__body { grid-template-columns: 1fr; }
  .sx__main h2 { font-size: 32px; }
  .sx__case { flex-wrap: wrap; }
  .sx__case em { margin-left: 112px; }
  .match__chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--pad-x)); padding: 0 var(--pad-x) 4px; scrollbar-width: none; }
  .match__chips::-webkit-scrollbar { display: none; }
  .match__chip { flex: none; }
  .match__grid { grid-template-columns: 1fr; gap: 10px; }
  .match__grid.is-filtering .match__tile:not(.is-on) { display: none; }
  .form { padding: 28px 20px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .foot { padding-top: 56px; }
  .foot__cta { flex-direction: column; align-items: flex-start; padding-bottom: 44px; }
  .foot__actions { justify-items: start; }
  .foot__mail { font-size: 17px; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; padding-top: 44px; }
  .foot__glow + .foot__grid { padding-top: 0; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__bar { flex-wrap: wrap; gap: 12px 20px; }
  .foot__bar p { flex-basis: 100%; }
  .foot__glow { width: 600px; height: 600px; bottom: -360px; }
  .process__next { display: none; }
  .process__card { flex-basis: 82%; }
  .benefits__photo, .contact__photo { min-height: 480px; }
  .benefits__stats { gap: 32px; }
  .benefits__stats dd { font-size: 40px; }
  .contact__line { height: 72px; font-size: 17px; padding: 0 22px; }
}

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

/* ==========================================================
   Inner pages
   ========================================================== */
.nav__links > a[aria-current="page"] span { color: var(--green); }
.nav__mobile a[aria-current="page"] { color: var(--green); }
.head__intro { max-width: 560px; font: 400 18px/28px var(--f-body); color: var(--body); }
.btn--light { background: #fff; color: var(--green-deep); }
.btn--light:hover { transform: translateY(-2px); }
.btn--ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px #E4E4E7; }
.btn--ghost:hover { transform: translateY(-2px); }
.empty { text-align: center; color: var(--body); font-size: 18px; }
.empty a, .prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* Page hero */
.phero { background: var(--bg); padding: 190px var(--pad-x) 90px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.phero__title { font: var(--w-head) 56px/64px var(--f-head); letter-spacing: var(--ls-head); max-width: 900px; }
.phero__title .muted { color: var(--green); }
.phero__title .w { display: inline-block; }
.js .phero__title .w { opacity: 0; filter: blur(10px); transform: translateY(10px); animation: word-in .9s var(--ease) forwards; animation-delay: calc(.1s + var(--i) * .07s); }
.phero__intro { max-width: 600px; font: 400 18px/28px var(--f-body); color: var(--body); }
.phero__cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.phero--case { padding-bottom: 60px; }
.back { font: 600 14px/22px var(--f-mono); color: var(--body); margin-bottom: 6px; }
.back:hover { color: var(--green); }

/* Work page */
.work--page { padding-top: 40px; background: var(--bg); }
.work--page .work__card .work__img { background: #fff; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 48px; }
.filter { height: 40px; padding: 0 18px; border-radius: var(--r-pill); border: 0; background: #fff; font: 600 14px/1 var(--f-mono); color: var(--ink); cursor: pointer; transition: background-color .25s, color .25s; }
.filter:hover { background: var(--mint); }
.filter.is-on { background: var(--green-deep); color: #fff; }
.work__item { display: contents; }
.work__item.is-hidden, [data-cat].is-hidden { display: none; }
.work__item--big > .work__card { grid-column: 1 / -1; }

/* Case study */
.case { background: var(--bg); padding: 0 var(--pad-x) var(--sec); }
.case__meta { max-width: 1200px; margin: 0 auto 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.case__meta div { background: #fff; border-radius: var(--r-inner); padding: 20px 24px; }
.case__meta dt { font: 600 13px/20px var(--f-mono); color: var(--muted); text-transform: uppercase; }
.case__meta dd { margin-top: 4px; font: var(--w-head) 17px/24px var(--f-head); color: var(--ink); }
.case__meta a { color: var(--green); }
.case__cover { max-width: 1400px; margin: 0 auto; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16 / 10; background: #fff; }
.case__cover img, .case__shot img, .wide__img img, .strip__img img, .case__cover video, .case__shot video, .work__img video { display: block; width: 100%; height: 100%; object-fit: cover; }
.case__story { max-width: 1000px; margin: 100px auto 0; display: grid; gap: 64px; }
.case__block { display: grid; grid-template-columns: 260px 1fr; gap: 40px; }
.case__block h2 { font: var(--w-head) 28px/34px var(--f-head); letter-spacing: var(--ls-head); }
.case__results { max-width: 1000px; margin: 80px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.case__results div { background: var(--green-deep); color: #fff; border-radius: var(--r-card); padding: 30px; display: flex; flex-direction: column-reverse; gap: 6px; }
.case__results dd { font: 500 48px/56px var(--f-mono); letter-spacing: var(--ls-head); }
.case__results dt { font: 400 16px/24px var(--f-body); color: rgba(255,255,255,.75); }
.case__gallery { max-width: 1400px; margin: 100px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case__shot { border-radius: var(--r-inner); overflow: hidden; aspect-ratio: 690 / 483; background: #fff; }
.case__shot--wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.case__quote { max-width: 860px; margin: 100px auto 0; background: #fff; border-radius: var(--r-card); padding: 50px; text-align: center; }
.case__quote blockquote { margin: 0; font: var(--w-head) 26px/36px var(--f-head); color: var(--ink); }
.case__quote figcaption { margin-top: 20px; display: grid; gap: 2px; }
.case__quote figcaption span { font: 600 14px/22px var(--f-mono); color: var(--body); }
.next { background: var(--white); padding: var(--sec) var(--pad-x) 0; }
.next__label { text-align: center; font: 600 14px/22px var(--f-mono); color: var(--body); margin-bottom: 24px; }
.next__card { max-width: 1400px; margin: 0 auto; }

/* Prose */
.prose { font: 400 17px/28px var(--f-body); color: var(--body); }
.prose > * + * { margin-top: 16px; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); font-weight: var(--w-head); font-family: var(--f-head); letter-spacing: var(--ls-head); margin-top: 36px; }
.prose h2 { font-size: 26px; line-height: 32px; }
.prose h3 { font-size: 20px; line-height: 28px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul { list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--ink); }
.prose--lg { font-size: 20px; line-height: 32px; }

/* Services page */
.svc { background: var(--bg); padding: 20px var(--pad-x) var(--sec); display: grid; gap: 20px; }
.svc__card { max-width: 1200px; width: 100%; margin: 0 auto; background: #fff; border-radius: var(--r-card); padding: 8px 8px 8px 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.svc__text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 36px 0; }
.svc__n { font: 500 24px/1 var(--f-mono); color: var(--muted); }
.svc__text h2 { font: var(--w-head) 40px/44px var(--f-head); letter-spacing: var(--ls-head); }
.svc__text h2 a:hover { color: var(--green); }
.svc__text > p { font: 400 18px/28px var(--f-body); color: var(--body); max-width: 460px; }
.svc__list { display: grid; gap: 10px; margin: 8px 0 12px; }
.svc__list li, .plus-list li { display: flex; align-items: center; gap: 12px; font: var(--w-head) 16px/24px var(--f-head); color: var(--ink); }
.svc__list li::before, .plus-list li::before {
  content: ""; flex: 0 0 12px; height: 12px;
  background: linear-gradient(var(--green), var(--green)) center / 12px 2px no-repeat, linear-gradient(var(--green), var(--green)) center / 2px 12px no-repeat;
}
.svc__card:nth-of-type(even) { padding: 8px 44px 8px 8px; }
.svc__card:nth-of-type(even) .svc__imgs { order: -1; }
.svc__imgs { position: relative; height: 100%; min-height: 420px; border-radius: var(--r-inner); overflow: hidden; background: var(--bg); }
.svc__img { position: absolute; object-fit: cover; border-radius: 20px; border: 6px solid #fff; box-shadow: 0 20px 40px rgba(0,0,0,.08); transition: transform .6s var(--ease); }
.svc__img--0 { left: 8%; top: 12%; width: 52%; aspect-ratio: 1; transform: rotate(-6deg); }
.svc__img--1 { right: 6%; top: 8%; width: 40%; aspect-ratio: 1; transform: rotate(7deg); }
.svc__img--2 { right: 18%; bottom: 8%; width: 44%; aspect-ratio: 1; transform: rotate(-3deg); }
.svc__card:hover .svc__img--0 { transform: rotate(-9deg) translate(-8px, -6px); }
.svc__card:hover .svc__img--1 { transform: rotate(11deg) translate(8px, -6px); }
.svc__card:hover .svc__img--2 { transform: rotate(-1deg) translateY(8px); }

/* Service detail */
.strip { background: var(--bg); padding: 0 var(--pad-x); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1440px; margin: 0 auto; }
.strip__img { border-radius: var(--r-inner); overflow: hidden; aspect-ratio: 4 / 4.6; }
.strip__img:nth-child(2) { transform: translateY(40px); }
.detail { background: var(--bg); padding: 140px var(--pad-x) var(--sec); max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: start; }
.detail__main h2 { font: var(--w-head) 48px/52px var(--f-head); letter-spacing: var(--ls-head); margin-bottom: 28px; }
.detail__side { display: grid; gap: 20px; }
.detail__card { background: #fff; border-radius: var(--r-card); padding: 30px; }
.detail__card h3 { font: var(--w-head) 20px/24px var(--f-head); margin-bottom: 18px; }
.plus-list { display: grid; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.work--related { background: var(--white); }
.work--related .work__grid { max-width: 1200px; }
.services--more { background: var(--bg); }
.services--more .services__row { border-color: #E4E4E7; }
.services__line h3 a:hover { color: var(--green); }

/* About page */
.wide { background: var(--bg); padding: 0 var(--pad-x); }
.wide__img { max-width: 1400px; margin: 0 auto; aspect-ratio: 2.2 / 1; border-radius: var(--r-card); overflow: hidden; }
.story { background: var(--bg); padding: var(--sec) var(--pad-x); max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.story__title { font: var(--w-head) 48px/52px var(--f-head); letter-spacing: var(--ls-head); position: sticky; top: 110px; }
.story__stats { display: flex; flex-wrap: wrap; gap: 20px 52px; margin-top: 48px; padding-top: 32px; border-top: 1px solid #E4E4E7; }
.story__stats div { display: flex; flex-direction: column; }
.story__stats dd { font: 500 48px/56px var(--f-mono); letter-spacing: var(--ls-head); }
.story__stats dt { font: 400 16px/24px var(--f-body); color: var(--body); }
.process--white { background: var(--white); }
.process--white .process__card { background: var(--bg); }
.process--white .process__body { background: #fff; }
.team { background: var(--bg); padding: var(--sec) var(--pad-x); }
.team__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.team__card { background: #fff; border-radius: var(--r-card); padding: 8px; }
.team__card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-inner); }
.team__info { padding: 20px 18px 18px; display: grid; gap: 4px; }
.team__info h3 { font: var(--w-head) 20px/26px var(--f-head); }
.team__role { font: 600 14px/22px var(--f-mono); color: var(--body); }
.team__bio { margin-top: 8px; font: 400 15px/23px var(--f-body); color: var(--body); }
.team__info a { margin-top: 8px; font: 600 14px/22px var(--f-mono); color: var(--green); }
.quote-mark { font-family: var(--f-head); font-size: 56px; line-height: .6; color: var(--green); }
.process__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

/* Contact page */
.contact--page { padding-top: 20px; }
.contact__hours { text-align: center; margin-top: 30px; font: 600 14px/22px var(--f-mono); color: var(--body); }
.form__opt { color: var(--muted); }

/* Legal */
.legal { background: var(--bg); padding: 0 var(--pad-x) var(--sec); }
.legal__card { max-width: 820px; margin: 0 auto; background: #fff; border-radius: var(--r-card); padding: 56px; }
.legal__updated { margin-top: 40px !important; font: 600 13px/20px var(--f-mono); color: var(--muted); }

/* Bottom CTA */
.cta { background: var(--white); padding: var(--sec) var(--pad-x) clamp(48px, 6vw, 80px); }
.cta__box { position: relative; overflow: hidden; max-width: 1400px; margin: 0 auto; border-radius: var(--r-card); background: var(--green-ink); color: #fff; text-align: center; padding: 110px 30px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta__glow { position: absolute; left: 50%; top: 60%; width: 700px; height: 700px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(120, 214, 186, .55), rgba(47, 105, 92, .35) 50%, transparent 75%); filter: blur(30px); pointer-events: none; }
.cta__box > *:not(.cta__glow) { position: relative; }
.cta__box h2 { font: var(--w-head) 48px/52px var(--f-head); letter-spacing: var(--ls-head); }
.cta__box h2 .muted { color: #9FE3CB; }
.cta__box p { max-width: 480px; font: 400 18px/28px var(--f-body); color: rgba(255,255,255,.75); }
main:has(> .cta:last-child) + .footer { background: var(--white); }

@media (max-width: 1100px) {
  .svc__card { grid-template-columns: 1fr; padding: 8px; }
  .svc__card:nth-of-type(even) { padding: 8px; }
  .svc__card:nth-of-type(even) .svc__imgs { order: 0; }
  .svc__text { padding: 30px 24px 10px; }
  .svc__imgs { min-height: 360px; }
  .detail, .story { grid-template-columns: 1fr; gap: 40px; }
  .story__title { position: static; }
  .case__block { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 810px) {
  .phero { padding-top: 140px; padding-bottom: 60px; }
  .phero__title { font-size: 40px; line-height: 46px; letter-spacing: var(--ls-head); }
  .svc__text h2, .detail__main h2, .story__title, .cta__box h2 { font-size: 34px; line-height: 38px; letter-spacing: var(--ls-head); }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip__img:nth-child(3) { display: none; }
  .strip__img:nth-child(2) { transform: none; }
  .detail { padding-top: 70px; }
  .case__story, .case__gallery, .case__results, .case__quote { margin-top: 60px; }
  .case__gallery { grid-template-columns: 1fr; }
  .case__quote { padding: 32px 24px; }
  .case__quote blockquote { font-size: 20px; line-height: 30px; }
  .legal__card { padding: 30px 22px; }
  .cta__box { padding: 70px 22px; }
  .wide__img { aspect-ratio: 4 / 3; }
}

/* ---------- Homepage services: clickable index + panel ---------- */
.st { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 70px; align-items: start; }
.st__index { position: sticky; top: 120px; }
.st__tabs { display: grid; }
.st__tab { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line); cursor: pointer; font: 500 24px/1.2 var(--f-head); letter-spacing: -.015em; color: var(--muted); transition: color .3s; }
.st__tab:hover { color: var(--body); }
.st__tab:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 4px; }
.st__n { flex: none; width: 24px; font: 600 13px var(--f-mono); letter-spacing: 0; color: var(--muted); transition: color .3s; }
.st__name { flex: 1; }
.st__pg { flex: none; width: 44px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; opacity: 0; transition: opacity .3s; }
.st__pg i { display: block; height: 100%; width: 0; background: var(--green); }
.st__tab.is-on { color: var(--ink); }
.st__tab.is-on .st__n { color: var(--green); }
.st__tab.is-on .st__pg { opacity: 1; }
.st__tab.is-on .st__pg i { width: var(--p, 0%); }
.st.is-stopped .st__tab.is-on .st__pg i { width: 100%; }
.st__quote { margin-top: 34px; }
.st__note { margin: 14px 0 0; font: 500 13px var(--f-body); color: var(--muted); }
.st.is-stopped .st__note { visibility: hidden; }

.st__panels { display: grid; }
.st__panel { grid-area: 1 / 1; padding: 14px; border-radius: 28px; background: var(--bg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s; }
.st__panel.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s; }
.st__imgs { display: grid; gap: 12px; height: 352px; }
.st__imgs--2 { grid-template-columns: 1.45fr 1fr; }
.st__imgs--3 { grid-template-columns: 1.45fr 1fr; grid-template-rows: 1fr 1fr; }
.st__imgs--3 .st__img:first-child { grid-row: span 2; }
.st__img { overflow: hidden; border-radius: 18px; background: var(--sage); }
.st__img img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.st__panel.is-on .st__img img { transform: none; }
.st__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: end; padding: 30px 20px 18px; }
.st__k { font: 600 12px var(--f-mono); letter-spacing: .12em; color: var(--muted); }
.st__main h3 { margin: 6px 0 0; font: var(--w-head) 38px/1.05 var(--f-head); letter-spacing: var(--ls-head); color: var(--ink); }
.st__main p { margin: 12px 0 0; max-width: 470px; font: 400 17px/1.55 var(--f-body); color: var(--body); }
.st__panel .sx__tools { margin-top: 18px; }
.st__panel .sx__tool { background: var(--white); }
.st__side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.st__facts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.st__fact { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: var(--r-pill); background: var(--white); font: 600 14px var(--f-body); color: var(--ink); white-space: nowrap; }
.st__fact i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.st__more { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 8px 0 20px; border-radius: var(--r-pill); background: var(--ink); color: #fff; font: 600 15px var(--f-btn); white-space: nowrap; transition: background .3s; }
.st__more b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--ink); font-weight: 600; transition: transform .3s var(--ease); }
.st__more:hover { background: var(--green-deep); }
.st__more:hover b { transform: translateX(3px); }

@media (max-width: 1100px) {
  .st { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .st__index { position: static; }
  .st__tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--pad-x) * -1); padding: 0 var(--pad-x); scroll-padding: 0 var(--pad-x); }
  .st__tabs::-webkit-scrollbar { display: none; }
  .st__tab { flex: none; width: auto; gap: 6px; height: 42px; padding: 0 16px; border: 0; border-radius: var(--r-pill); background: var(--bg); font: 600 15px var(--f-body); letter-spacing: 0; color: var(--body); white-space: nowrap; }
  .st__tab .st__n { width: auto; font-size: 15px; font-weight: 600; color: inherit; }
  .st__tab.is-on { background: var(--green-deep); color: #fff; }
  .st__tab.is-on .st__n { color: inherit; }
  .st__pg, .st__quote, .st__note { display: none; }
}
@media (max-width: 810px) {
  .st__panel { padding: 10px; border-radius: 22px; }
  .st__imgs { height: 230px; grid-template-columns: 1fr !important; grid-template-rows: 1fr !important; }
  .st__img:not(:first-child) { display: none; }
  .st__body { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 20px 8px 10px; }
  .st__main h3 { font-size: 30px; }
  .st__main p { font-size: 16px; }
  .st__side { align-items: flex-start; }
  .st__facts { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .st__panel, .st__panel.is-on, .st__img img { transition: none; transform: none; }
}

/* Full-color platform logos sit on a white tile, unfiltered */
.match__icon.is-full, .sx__tool-ic.is-full { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.match__icon.is-full img, .sx__tool-ic.is-full img { filter: none; }
.match__icon.is-full b, .sx__tool-ic.is-full { color: var(--ink); }
