/* ==========================================================================
   Razegreen — site stylesheet
   Paper & ink editorial system. No inline styles anywhere (strict CSP).
   ========================================================================== */

/* ---------- 0. Font ----------
   Inter (SIL Open Font License, see assets/fonts/inter-ofl.txt), self-hosted as one variable
   subset: Latin, Latin-1, typographic punctuation and ₹; weights 300–700; optical sizes 14–32. */
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- 1. Tokens ---------- */
:root {
  /* Palette: the logo green and pure white only. Every other tone is a tint or shade of
     the logo green (#009900) — including the text, which is a very deep green, not black. */
  --paper: #ffffff;
  --paper-2: #f2f9f2;
  --paper-3: #e4f3e4;
  --white: #ffffff;
  --ink: #0a2a0a;
  --ink-2: #2d4a2d;
  --ink-3: #557055;
  --line: #dcecdc;
  --line-2: #c2dec2;

  --green: #007a00;          /* logo green deepened for text and buttons (5.5:1 on white) */
  --green-brand: #009900;    /* exact logo green: logo, headline accents, numerals, icons */
  --green-hover: #006400;
  --green-deep: #0b5e0b;
  --green-wash: #e6f4e6;

  /* Bold brand bands (services, footer, highlight cards): deep logo green with white text. */
  --dark: #0b5e0b;
  --dark-2: #0a520a;
  --dark-3: #dcefdc;          /* light surface behind screenshots and the map */
  --on-dark: #ffffff;
  --on-dark-2: rgba(255, 255, 255, 0.86);
  --on-dark-3: rgba(255, 255, 255, 0.76);
  --line-dark: rgba(255, 255, 255, 0.22);
  --accent-dark: #b8f0b8;

  /* Helvetica Neue where it is installed (Apple devices); Inter, the closest free
     neo-grotesk, everywhere else (its optical sizes give tight display cuts for headlines
     and open text cuts for paragraphs). To use licensed Helvetica on every device, add its
     @font-face rules and keep the family name first. */
  --font: "Helvetica Neue", Inter, Helvetica, Arial, sans-serif;
  --serif: var(--font);
  --sans: var(--font);
  --mono: var(--font);

  --maxw: 1360px;
  --gutter: clamp(20px, 4.2vw, 56px);
  --section: clamp(84px, 11vw, 168px);
  --radius: 14px;
  --radius-lg: 24px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  font-kerning: normal;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
address { font-style: normal; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: var(--green); color: #fff; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.section--dark :focus-visible { outline-color: var(--accent-dark); }
[hidden] { display: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--green); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-weight: 500; transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; }

/* ---------- 3. Typography ---------- */
.display {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.9rem, 8vw, 8rem);
  line-height: 0.94;
  letter-spacing: -0.036em;
  text-wrap: balance;
}
.h1 {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.5rem, 5.6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.034em;
  text-wrap: balance;
}
.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.4vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.3vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.024em;
}
.h4 { font: 600 1.125rem/1.35 var(--sans); letter-spacing: -0.01em; }
.display em, .h1 em, .h2 em, .h3 em, .statement em { font-style: normal; color: var(--green-brand); }
.section--dark .display em, .section--dark .h1 em, .section--dark .h2 em, .section--dark .h3 em,
.section--dark .statement em { color: var(--accent-dark); }

.lede { font-size: clamp(1.125rem, 1.35vw, 1.3rem); line-height: 1.6; color: var(--ink-2); max-width: 38em; }
.section--dark .lede { color: var(--on-dark-2); }
.label {
  display: inline-flex; align-items: center; gap: 0.6em;
  font: 500 0.75rem/1.2 var(--mono);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3);
}
.section--dark .label { color: var(--on-dark-3); }
.label .sq, .eyebrow-h1 .sq { width: 7px; height: 7px; background: var(--green-brand); flex: none; }
.section--dark .label .sq { background: var(--accent-dark); }
.muted { color: var(--ink-3); }
.mono { font-family: var(--mono); }
.nowrap { white-space: nowrap; }

.text-link {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: text-decoration-thickness 0.2s;
}
.text-link:hover { text-decoration-thickness: 2px; }
.section--dark .text-link { color: var(--accent-dark); }

/* ---------- 4. Layout ---------- */
.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(880px + var(--gutter) * 2); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(64px, 7vw, 104px); }
.section--flush-top { padding-top: 0; }
.section--alt { background: var(--paper-2); }
.section--white { background: var(--white); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.section--dark .rule { border-color: var(--line-dark); }

.section-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head--split {
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 960px) {
  .section-head--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: clamp(40px, 6vw, 120px); }
  .section-head--split .section-head__aside { padding-bottom: 0.5rem; }
}
.section-head .label { margin-bottom: 4px; }

.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }

/* Single-column grids must be allowed to shrink below their content's min-content width
   (e.g. wide tables inside .table-wrap), otherwise they overflow the viewport on phones. */
.article-layout, .longform, .faq-wrap, .contact-grid, .split, .page-hero-grid,
.statement-grid, .work-grid, .svc-card, .quotes, .post-grid, .statement-foot {
  grid-template-columns: minmax(0, 1fr);
}

/* ---------- 5. Buttons & links ---------- */
.btn {
  --btn-bg: var(--green); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 12px 0 24px;
  border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 500 1rem/1 var(--sans); letter-spacing: -0.005em;
  border: 1px solid var(--btn-bg);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
  white-space: nowrap;
}
.btn .btn-ico {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--btn-fg); color: var(--btn-bg);
  transition: transform 0.35s var(--ease-out);
}
.btn .btn-ico svg { width: 15px; height: 15px; }
.btn:hover .btn-ico { transform: translateX(3px) rotate(-45deg); }
.btn:active { transform: translateY(1px); }
.btn--green { --btn-bg: var(--green); --btn-fg: #fff; }
.btn--green:hover { --btn-bg: var(--green-hover); }
.btn--primary:hover { --btn-bg: var(--green-hover); }
.btn--light { --btn-bg: #ffffff; --btn-fg: var(--green-deep); }
.btn--light:hover { --btn-bg: var(--paper-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); padding: 0 24px; }
.btn--ghost:hover { border-color: var(--ink); }
.section--dark .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.section--dark .btn--ghost:hover { border-color: var(--on-dark); }
.btn--sm { min-height: 44px; padding: 0 8px 0 18px; font-size: 0.9375rem; }
.btn--sm .btn-ico { width: 28px; height: 28px; }
.btn--block { width: 100%; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500;
  padding-block: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.4s var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease-out); }
.link-arrow:hover { background-size: 0 1px; background-position: 100% 100%; }
.link-arrow:hover svg { transform: translateX(4px); }

.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.4s var(--ease);
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; margin-right: auto; color: var(--green-brand); }
.brand-mark { height: 34px; width: auto; }
.brand-word { font: 700 1.5rem/1 var(--font); letter-spacing: -0.035em; color: var(--green-brand); transform: translateY(-1px); }

.nav { display: none; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 14px; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); letter-spacing: -0.01em;
  transition: color 0.2s, background-color 0.2s;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--ink); background: rgba(10, 42, 10, 0.05); }
.nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"]::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green-brand); margin-left: 2px;
}
.nav-link .chev { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.has-menu { position: relative; }

.mega {
  position: absolute; top: calc(100% + 14px); left: 50%;
  width: min(760px, 90vw);
  translate: -40% 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -30px rgba(10, 42, 10, 0.35), 0 2px 6px rgba(10, 42, 10, 0.05);
  padding: 12px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-menu.is-open .mega {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0s;
}
.mega a {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 14px;
  padding: 14px 16px; border-radius: 12px;
  transition: background-color 0.2s;
}
.mega a:hover, .mega a:focus-visible { background: var(--paper-2); }
.mega .mega-num { grid-row: span 2; font: 500 0.75rem/1.6 var(--mono); color: var(--ink-3); }
.mega strong { font-weight: 550; font-size: 0.975rem; }
.mega span.mega-desc { font-size: 0.875rem; color: var(--ink-3); line-height: 1.45; }
.mega .mega-all {
  grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center;
  background: var(--paper-2); margin-top: 4px; font-weight: 500; font-size: 0.9375rem;
}

.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { display: none; }

.menu-toggle {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  transition: background-color 0.2s, border-color 0.2s;
}
.menu-toggle:hover { border-color: var(--ink); }
.menu-toggle .bars { position: relative; width: 18px; height: 10px; }
.menu-toggle .bars::before, .menu-toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink); border-radius: 2px;
  transition: transform 0.4s var(--ease-out), top 0.3s var(--ease);
}
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { top: 8.5px; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 4.25px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { top: 4.25px; transform: rotate(-45deg); }

@media (min-width: 1100px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
  .header-cta .btn { display: inline-flex; }
  .brand-mark { height: 38px; }
  .brand-word { font-size: 1.68rem; }
  :root { --header-h: 84px; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--paper);
  overflow-y: auto; overscroll-behavior: contain;
  padding: 12px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 36px;
}
.mobile-menu.is-open { animation: menu-in 0.45s var(--ease-out) both; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mm-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mm-list > li { border-bottom: 1px solid var(--line); }
.mm-list > li > a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 16px 0;
  font: 500 clamp(1.8rem, 7vw, 2.3rem)/1.08 var(--serif); letter-spacing: -0.028em;
}
.mm-list .mm-num { font: 500 0.75rem/1 var(--mono); color: var(--ink-3); min-width: 22px; }
.mm-list a[aria-current="page"] { color: var(--green); }
.mm-sub { list-style: none; margin: -4px 0 18px 38px; padding: 0; display: grid; gap: 2px; }
.mm-sub a { display: block; padding: 7px 0; color: var(--ink-2); font-size: 1rem; }
.mm-foot { display: grid; gap: 18px; margin-top: auto; }
.mm-foot .btn { width: 100%; }
.mm-contact { display: grid; gap: 6px; font-size: 0.95rem; color: var(--ink-2); }
html.menu-open { overflow: hidden; }
html.menu-open .site-header {
  background: var(--paper); border-bottom-color: var(--line);
  /* backdrop-filter/transform would become the containing block of the fixed menu */
  -webkit-backdrop-filter: none; backdrop-filter: none; transform: none;
}
@media (min-width: 1100px) { .mobile-menu { display: none !important; } }

/* ---------- 7. Photo treatment ---------- */
.photo { position: relative; overflow: hidden; background: var(--paper-3); border-radius: var(--radius); isolation: isolate; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo::after {
  /* a single consistent grade across stock photography */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgba(0, 90, 0, 0.02), rgba(0, 90, 0, 0.08));
  mix-blend-mode: multiply;
}
.photo--grade img { filter: saturate(0.96) contrast(1.02); }
.photo--dark::after { background: linear-gradient(180deg, rgba(10, 42, 10, 0.05), rgba(10, 42, 10, 0.45)); mix-blend-mode: normal; }
.photo figcaption, .photo .photo-cap {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  font: 500 0.7rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; opacity: 0.9;
}

/* ---------- 8. Home hero ---------- */
.hero { padding-top: clamp(6px, 1vw, 14px); padding-bottom: clamp(44px, 5vw, 80px); }
.hero-stage {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch;
  border-radius: clamp(20px, 2.2vw, 32px);
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(0, 153, 0, 0.1), transparent 60%),
    radial-gradient(60% 50% at 100% 100%, rgba(0, 153, 0, 0.07), transparent 70%),
    linear-gradient(140deg, #e2f3e2 0%, #f1f9f1 46%, #ffffff 100%);
  border: 1px solid rgba(0, 122, 0, 0.1);
  color: var(--ink);
}
.hero-content {
  align-self: center;
  display: grid; gap: clamp(22px, 2.2vw, 30px);
  padding: clamp(28px, 5vw, 76px);
}
.hero-title { margin: 0; display: grid; gap: clamp(20px, 2.2vw, 28px); }
.hero-title .eyebrow-h1 {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(10, 42, 10, 0.08);
  font: 500 clamp(0.68rem, 0.8vw, 0.76rem)/1.35 var(--font); letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--ink-2);
}
.hero-title .eyebrow-h1 .sq { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--green-brand); box-shadow: 0 0 0 4px rgba(0, 153, 0, 0.16); }
.hero-headline {
  display: block;
  font-weight: 700; font-size: clamp(2.6rem, 5.1vw, 5.6rem); line-height: 0.97; letter-spacing: -0.038em;
  color: var(--ink); max-width: 11em; text-wrap: balance;
}
.hero-headline em { font-style: normal; color: var(--green-brand); }
.hero-lede { font-size: clamp(1.05rem, 1.2vw, 1.2rem); line-height: 1.6; color: var(--ink-2); max-width: 33em; }
.hero .actions { gap: 12px 14px; }
.hero .btn--ghost { color: var(--ink); border-color: rgba(10, 42, 10, 0.25); background: rgba(255, 255, 255, 0.55); }
.hero .btn--ghost:hover { border-color: var(--ink); background: #fff; }

/* Mosaic: team photo, design detail, a proof-point tile and the latest launch on a phone.
   The team photo runs across the top; on phones the other three tiles pair up beneath it,
   from tablet width up they sit side by side as three portrait tiles. */
.hero-mosaic {
  display: grid; gap: 10px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "team   team"
    "craft  launch"
    "stat   launch";
  margin: 0 10px 10px;
}
.hero-tile {
  position: relative; overflow: hidden; isolation: isolate; margin: 0;
  border-radius: clamp(14px, 1.6vw, 22px);
  background: var(--paper-3);
  animation: hero-rise 1s var(--ease-out) both;
}
.hero-tile--team { grid-area: team; aspect-ratio: 3 / 2; animation-delay: 0.12s; }
.hero-tile--craft { grid-area: craft; aspect-ratio: 5 / 4; animation-delay: 0.22s; }
.hero-tile--stat { grid-area: stat; animation-delay: 0.32s; }
.hero-tile--launch { grid-area: launch; animation-delay: 0.42s; }

.hero-tile--team img, .hero-tile--craft img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.hero-tile--team img { object-position: 50% 88%; animation: hero-zoom 2.8s var(--ease-out) both; }
.hero-tile--craft img { object-position: 62% 50%; }
.hero-tile--team::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 42, 10, 0) 55%, rgba(10, 42, 10, 0.42) 100%);
}
.hero-tile--team:hover img, .hero-tile--craft:hover img { transform: scale(1.04); }

.hero-chip {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px 8px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 500 0.8rem/1.2 var(--font); letter-spacing: -0.005em; color: var(--ink);
  box-shadow: 0 12px 30px -14px rgba(10, 42, 10, 0.5);
}
.hero-chip__dot {
  position: relative; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--green-brand);
}
.hero-chip__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green-brand);
  animation: hero-pulse 2.4s var(--ease-out) infinite;
}

.hero-tile--stat {
  display: flex; flex-direction: column; gap: 12px;
  padding: clamp(16px, 1.6vw, 24px);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(184, 240, 184, 0.22), transparent 55%),
    linear-gradient(160deg, #0d6b0d 0%, var(--dark-2) 100%);
  color: var(--on-dark);
}
.hero-stat__value { font: 700 clamp(2.4rem, 3.6vw, 3.6rem)/0.9 var(--font); letter-spacing: -0.045em; }
.hero-stat__value sup { font-size: 0.45em; vertical-align: 0.9em; margin-left: 2px; color: var(--accent-dark); }
.hero-stat__label { font-size: clamp(0.84rem, 0.95vw, 0.95rem); line-height: 1.4; color: var(--on-dark-2); max-width: 17em; }
.hero-stat__foot {
  margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line-dark);
  font-size: 0.78rem; line-height: 1.35; color: var(--on-dark-3);
}
.hero-stat__foot strong { font-weight: 600; color: var(--accent-dark); }

.hero-tile--launch {
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 260px;
  container-type: size;
  background:
    radial-gradient(80% 60% at 50% 100%, rgba(0, 153, 0, 0.22), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #e4f3e4 100%);
  border: 1px solid rgba(0, 122, 0, 0.1);
  color: var(--ink);
}
.hero-launch { position: relative; z-index: 2; display: grid; gap: 3px; padding: clamp(14px, 1.5vw, 20px); }
.hero-launch__label { display: flex; align-items: center; gap: 7px; font: 600 0.66rem/1 var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
.hero-launch__label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green-brand); }
.hero-launch strong { margin-top: 5px; font-size: clamp(0.94rem, 1.05vw, 1.05rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.hero-launch__meta { font-size: 0.8rem; color: var(--ink-3); }
/* The phone rises from the bottom edge and is cropped by it. Its width is capped by the tile's
   height (container query units) so it never climbs over the caption in short tiles. */
.hero-phone {
  position: absolute; left: 52%; bottom: 0; z-index: 1;
  width: min(74%, 210px);
  width: min(74cqw, 210px, calc((100cqh - 100px) / 1.7));
  padding: 5px; border-radius: 26px 26px 0 0;
  background: #0c1f0c;
  box-shadow: 0 30px 60px -24px rgba(10, 42, 10, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: translate(-50%, 16%) rotate(-6deg);
  transform-origin: 50% 100%;
  transition: transform 0.7s var(--ease-out);
}
.hero-phone::before {
  content: ""; position: absolute; top: 11px; left: 50%; z-index: 1; translate: -50% 0;
  width: 30%; height: 9px; border-radius: 999px; background: #0c1f0c;
}
.hero-phone img { width: 100%; border-radius: 21px 21px 0 0; }
.hero-tile--launch:hover .hero-phone, .hero-tile--launch:focus-visible .hero-phone { transform: translate(-50%, 11%) rotate(-2deg); }

@media (min-width: 640px) {
  .hero-mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: clamp(260px, 40vw, 400px) clamp(280px, 36vw, 320px);
    grid-template-areas:
      "team  team team"
      "craft stat launch";
  }
  .hero-tile--team, .hero-tile--craft { aspect-ratio: auto; }
  .hero-tile--launch { min-height: 0; }
}
@media (min-width: 1100px) {
  .hero-stage {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    min-height: clamp(580px, calc(100svh - var(--header-h) - 28px), 860px);
  }
  .hero-content { padding: clamp(40px, 4.4vw, 72px); padding-right: clamp(24px, 2.4vw, 40px); }
  .hero-mosaic {
    margin: 12px 12px 12px 0;
    grid-template-rows: minmax(0, 1.15fr) minmax(0, 1fr);
  }
  .hero-tile--launch { min-height: 0; }
  .hero-chip { left: 16px; bottom: 16px; }
}
@media (max-width: 480px) {
  .hero-title .eyebrow-h1 { padding: 0; border: 0; border-radius: 0; background: none; }
  .hero-chip { left: 10px; bottom: 10px; font-size: 0.74rem; }
}

/* entrance */
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: none; } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes hero-pulse { from { transform: scale(1); opacity: 0.6; } to { transform: scale(3); opacity: 0; } }
.hero-title .eyebrow-h1, .hero-headline, .hero-lede, .hero .actions { animation: hero-rise 1s var(--ease-out) both; }
.hero-headline { animation-delay: 0.08s; }
.hero-lede { animation-delay: 0.2s; }
.hero .actions { animation-delay: 0.3s; }

.hero-meta {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-top: 1px solid var(--line);
  margin-top: clamp(28px, 3.5vw, 48px);
}
.hero-meta > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.hero-meta dt { font: 500 0.72rem/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.hero-meta dd { font-size: 1rem; color: var(--ink); }
@media (min-width: 900px) {
  .hero-meta { grid-template-columns: repeat(3, 1fr); }
  .hero-meta > div { border-bottom: 0; padding: 20px 24px 0 0; }
  .hero-meta > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
}

/* ---------- 9. Client marquee ---------- */
.clients { border-block: 1px solid var(--line); padding-block: 26px; overflow: hidden; }
.clients-inner { display: flex; align-items: center; gap: 32px; }
.clients .label { flex: none; }
.marquee { position: relative; flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.marquee li {
  display: flex; align-items: center; white-space: nowrap;
  font: 500 clamp(1.2rem, 1.8vw, 1.55rem)/1 var(--serif); color: var(--ink-2); letter-spacing: -0.024em;
}
.marquee li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green-brand); margin-inline: clamp(24px, 3vw, 44px); opacity: 0.7; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 719px) { .clients-inner { flex-direction: column; align-items: flex-start; gap: 16px; } .marquee { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; width: auto; }
  .marquee ul[aria-hidden="true"] { display: none; }
  .marquee ul { flex-wrap: wrap; row-gap: 12px; }
  .marquee { mask-image: none; }
}

/* ---------- 10. Statement ---------- */
.statement-grid { display: grid; gap: 28px; align-items: start; }
.statement-grid > .label { padding-top: 0.9rem; }
.statement {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.55rem, 2.9vw, 2.75rem); line-height: 1.16; letter-spacing: -0.028em;
  text-wrap: pretty;
}
.statement .dim { color: var(--ink-3); }
.statement-foot { display: grid; gap: 28px; margin-top: clamp(36px, 4vw, 56px); }
.statement-foot p { color: var(--ink-2); max-width: 34em; }
@media (min-width: 960px) {
  .statement-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 48px; }
  .statement-foot { grid-template-columns: 1fr 1fr; gap: 48px; }
}

/* ---------- 11. Services list ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); counter-reset: svc; }
.svc-row { border-bottom: 1px solid var(--line-dark); position: relative; }
.svc-link {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 40px; align-items: center; gap: 8px 16px;
  padding: 26px 0;
  transition: padding 0.5s var(--ease-out);
}
.svc-num { grid-column: 1; grid-row: 1; font: 500 0.78rem/1 var(--mono); color: var(--on-dark-3); align-self: start; padding-top: 0.9rem; }
.svc-name { grid-column: 2; grid-row: 1; font: 500 clamp(1.7rem, 3.8vw, 3.1rem)/1.04 var(--serif); letter-spacing: -0.032em; transition: color 0.3s, transform 0.5s var(--ease-out); }
.svc-desc { grid-column: 2; grid-row: 2; color: var(--on-dark-2); font-size: 1rem; max-width: 34em; }
.svc-tags { grid-column: 2; grid-row: 3; font: 500 0.72rem/1.5 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-3); }
.svc-arrow {
  grid-column: 3; grid-row: 1; justify-self: end;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark);
  display: grid; place-items: center; transition: background-color 0.3s, color 0.3s, transform 0.5s var(--ease-out), border-color 0.3s;
}
.svc-arrow svg { width: 16px; height: 16px; }
.svc-thumb { display: none; }
.svc-link:hover .svc-name, .svc-link:focus-visible .svc-name { color: var(--accent-dark); }
.svc-link:hover .svc-arrow, .svc-link:focus-visible .svc-arrow { background: var(--accent-dark); color: var(--green-deep); border-color: var(--accent-dark); transform: rotate(-45deg); }
@media (min-width: 1000px) {
  .svc-link { grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr) 56px; gap: 8px 40px; padding: 34px 0; }
  .svc-num { padding-top: 1.1rem; }
  .svc-desc { grid-column: 3; grid-row: 1; align-self: center; }
  .svc-tags { grid-column: 3; grid-row: 2; }
  .svc-name { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .svc-num { grid-row: 1 / span 2; }
  .svc-arrow { grid-column: 4; grid-row: 1 / span 2; width: 52px; height: 52px; align-self: center; }
  .svc-link:hover .svc-name { transform: translateX(12px); }
  .svc-thumb {
    display: block; position: absolute; z-index: 2; pointer-events: none;
    width: 260px; aspect-ratio: 4 / 3; left: 38%; top: 50%;
    border-radius: 12px; overflow: hidden;
    opacity: 0; transform: translate(-50%, -50%) scale(0.86) rotate(-3deg);
    transition: opacity 0.35s var(--ease), transform 0.6s var(--ease-out);
    box-shadow: 0 30px 60px -20px rgba(0, 40, 0, 0.35);
  }
  .svc-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .svc-row:hover .svc-thumb { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
}
@media (hover: none) { .svc-thumb { display: none !important; } }

/* ---------- 12. Service cards (services hub) ---------- */
.svc-cards { display: grid; gap: clamp(56px, 7vw, 110px); }
.svc-card { display: grid; gap: 28px; align-items: center; }
.svc-card .photo { aspect-ratio: 4 / 3; }
.svc-card__body { display: grid; gap: 20px; align-content: start; }
.svc-card__num { font: 500 0.78rem/1 var(--mono); color: var(--ink-3); }
.svc-card ul { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; border-top: 1px solid var(--line); }
.svc-card li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.975rem; color: var(--ink-2); }
@media (min-width: 900px) {
  .svc-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); }
  .svc-card:nth-child(even) .photo { order: 2; }
}
@media (max-width: 520px) { .svc-card ul { grid-template-columns: 1fr; } }

/* ---------- 13. Work (portfolio) ---------- */
.work-grid { display: grid; gap: clamp(56px, 6vw, 96px) clamp(24px, 3vw, 48px); }
@media (min-width: 900px) { .work-grid { grid-template-columns: 1fr 1fr; } .work-grid--offset > :nth-child(even) { margin-top: clamp(80px, 10vw, 160px); } }
.work-card { display: grid; gap: 22px; align-content: start; }
.work-visual {
  position: relative; border-radius: var(--radius-lg); background: var(--paper-2);
  padding: clamp(18px, 3vw, 40px) clamp(18px, 3vw, 40px) 0;
  aspect-ratio: 5 / 4; overflow: hidden; isolation: isolate;
}
.work-visual--dark { background: var(--dark-3); }
.work-visual--green { background: var(--green-wash); }
.work-visual--stone { background: var(--paper-3); }
.browser {
  position: relative; border-radius: 10px 10px 0 0; overflow: hidden; background: #fff;
  box-shadow: 0 24px 50px -24px rgba(10, 42, 10, 0.45), 0 0 0 1px rgba(10, 42, 10, 0.06);
  transition: transform 0.8s var(--ease-out);
}
.browser-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #eef6ee; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.browser-bar span { margin-left: 12px; font: 500 0.66rem/1 var(--mono); color: var(--ink-3); letter-spacing: 0.02em; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.phone {
  position: absolute; right: clamp(14px, 3vw, 36px); bottom: -18%; width: 26%;
  border-radius: 22px; padding: 5px; background: #ffffff; border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -24px rgba(10, 42, 10, 0.35);
  transition: transform 0.8s var(--ease-out);
}
.phone img { border-radius: 17px; width: 100%; aspect-ratio: 390 / 780; object-fit: cover; object-position: top; }
.work-card:hover .browser { transform: translateY(-6px); }
.work-card:hover .phone { transform: translateY(-16px); }
.work-meta { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: baseline; }
.work-meta h3 { font: 500 clamp(1.45rem, 2.1vw, 1.9rem)/1.12 var(--serif); letter-spacing: -0.024em; }
.work-meta .label { grid-column: 1 / -1; order: -1; }
.work-meta p { grid-column: 1 / -1; color: var(--ink-2); max-width: 36em; }
.work-meta .link-arrow { font-size: 0.95rem; }

/* ---------- 14. Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.step { display: grid; gap: 14px; padding: 28px 0 32px; border-bottom: 1px solid var(--line); }
.step-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.step-num { font: 500 2.8rem/0.9 var(--serif); color: var(--green-brand); letter-spacing: -0.04em; }
.step-time { font: 500 0.72rem/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.step h3 { font: 600 1.2rem/1.3 var(--sans); letter-spacing: -0.01em; }
.step p { color: var(--ink-2); font-size: 0.98rem; }
.step ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 6px; font-size: 0.92rem; color: var(--ink-3); }
.step ul li::before { content: "— "; color: var(--line-2); }
.section--dark .steps, .section--dark .step { border-color: var(--line-dark); }
.section--dark .step-num { color: var(--accent-dark); }
.section--dark .step p { color: var(--on-dark-2); }
.section--dark .step ul, .section--dark .step-time { color: var(--on-dark-3); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); border-top: 0; }
  .steps--3 { grid-template-columns: repeat(3, 1fr); }
  .steps--5 { grid-template-columns: repeat(5, 1fr); }
  .step { border-bottom: 0; border-top: 1px solid var(--line); padding: 28px 28px 0 0; align-content: start; }
  .step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
  .section--dark .step + .step { border-left-color: var(--line-dark); }
}

/* ---------- 15. Stats ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.stat { padding: 28px 18px 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.stat:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
.stat-value { order: -1; font: 400 clamp(2.9rem, 5.6vw, 5.2rem)/0.9 var(--serif); letter-spacing: -0.044em; }
.stat-value sup { font-size: 0.45em; vertical-align: 0.9em; margin-left: 2px; color: var(--green); }
.stat-label { font-size: 0.95rem; color: var(--ink-2); max-width: 16em; }
.section--dark .stats, .section--dark .stat { border-color: var(--line-dark); }
.section--dark .stat-label { color: var(--on-dark-2); }
.section--dark .stat-value sup { color: var(--accent-dark); }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: 0; padding: 32px 24px 0; }
  .stat:first-child { padding-left: 0; }
  .stat + .stat { border-left: 1px solid var(--line); }
  .section--dark .stat + .stat { border-left-color: var(--line-dark); }
}

/* ---------- 16. Principles / feature list ---------- */
.principles { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 44px 1fr; gap: 6px 16px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.principle-num { font: 500 0.78rem/1.9 var(--mono); color: var(--ink-3); grid-row: span 2; }
.principle h3 { font: 600 1.15rem/1.35 var(--sans); letter-spacing: -0.01em; }
.principle p { color: var(--ink-2); font-size: 0.98rem; }
.section--dark .principles, .section--dark .principle { border-color: var(--line-dark); }
.section--dark .principle p { color: var(--on-dark-2); }
.section--dark .principle-num { color: var(--on-dark-3); }
@media (min-width: 760px) {
  .principles { grid-template-columns: 1fr 1fr; column-gap: 48px; }
}
@media (min-width: 1100px) {
  .principles--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 17. Testimonials ---------- */
.quotes { display: grid; gap: 20px; }
.quote {
  display: grid; gap: 28px; align-content: space-between;
  padding: clamp(26px, 3vw, 40px); border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
}
.quote blockquote p { font: 400 clamp(1.15rem, 1.5vw, 1.35rem)/1.45 var(--serif); letter-spacing: -0.015em; }
.quote--feature { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
.quote--feature blockquote p { font-size: clamp(1.5rem, 2.6vw, 2.35rem); line-height: 1.2; font-weight: 500; letter-spacing: -0.024em; }
.quote-mark { font: 700 4rem/0.6 var(--serif); color: var(--green); height: 0.4em; }
.quote--feature .quote-mark { color: var(--accent-dark); }
.quote figcaption { display: grid; gap: 2px; padding-top: 18px; border-top: 1px solid var(--line); }
.quote--feature figcaption { border-color: var(--line-dark); }
.quote figcaption strong { font-weight: 550; }
.quote figcaption span { font-size: 0.9rem; color: var(--ink-3); }
.quote--feature figcaption span { color: var(--on-dark-3); }
@media (min-width: 900px) {
  .quotes { grid-template-columns: repeat(6, 1fr); }
  .quote { grid-column: span 2; }
  .quote.quote--feature { grid-column: 1 / -1; }
  .quote--feature blockquote p { max-width: 24em; }
  .quotes--2 .quote { grid-column: span 3; }
}

/* ---------- 18. Split media (Chennai / about) ---------- */
.split { display: grid; gap: clamp(36px, 5vw, 80px); align-items: center; }
.split .photo { aspect-ratio: 4 / 5; }
.split--wide .photo { aspect-ratio: 4 / 3; }
.split-body { display: grid; gap: 24px; align-content: start; }
.split-body p { color: var(--ink-2); }
.section--dark .split-body p { color: var(--on-dark-2); }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .split--reverse .photo { order: 2; }
  .split--reverse { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
}
.area-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.area-list li { padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.9rem; color: var(--ink-2); }
.section--dark .area-list li { border-color: var(--line-dark); color: var(--on-dark-2); }

/* ---------- 19. FAQ ---------- */
.faq-wrap { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 80px; } .faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; margin-bottom: 0; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr 28px; gap: 20px; align-items: center;
  padding: 24px 0; font: 500 1.125rem/1.4 var(--sans); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color 0.3s, border-color 0.3s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; translate: -50% -50%; transition: transform 0.35s var(--ease-out); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm { background: var(--green); color: #fff; border-color: var(--green); }
.faq details[open] summary .pm::after { transform: rotate(0deg); }
.faq summary:hover .pm { border-color: var(--ink); }
.faq .faq-a { padding: 0 48px 26px 0; color: var(--ink-2); display: grid; gap: 12px; }
.section--dark .faq, .section--dark .faq details { border-color: var(--line-dark); }
.section--dark .faq .faq-a { color: var(--on-dark-2); }

/* ---------- 20. Insights cards ---------- */
.post-grid { display: grid; gap: 40px 28px; }
@media (min-width: 760px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: grid; gap: 18px; align-content: start; }
.post-card .photo { aspect-ratio: 3 / 2; }
.post-card .photo img { transition: transform 0.9s var(--ease-out); }
.post-card:hover .photo img { transform: scale(1.04); }
.post-card h2, .post-card h3 { font: 500 clamp(1.3rem, 1.7vw, 1.55rem)/1.2 var(--serif); letter-spacing: -0.024em; }
.post-card p { color: var(--ink-2); font-size: 0.98rem; }
.post-card .label { gap: 10px; }
.post-card a.post-link::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.label + .post-grid { margin-top: clamp(32px, 4vw, 48px); }
/* HTML sitemap page. */
.sitemap-grid { display: grid; gap: 48px 40px; }
@media (min-width: 760px) { .sitemap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sitemap-block--wide { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .sitemap-grid { grid-template-columns: 1fr 1fr 1.4fr; } .sitemap-block--wide { grid-column: auto; } }
.sitemap-block h2 { font: 600 0.8rem/1.2 var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 16px; }
.sitemap-block h2:not(:first-child) { margin-top: 40px; }
.sitemap-block h3 { font: 600 1rem/1.3 var(--font); color: var(--ink); margin: 28px 0 10px; }
.sitemap-block h2 + h3 { margin-top: 0; }
.sitemap-block ul { margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sitemap-block li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sitemap-block a { color: var(--ink); font-weight: 500; transition: color 0.2s; }
.sitemap-block a:hover { color: var(--green); }
.sitemap-block span { color: var(--ink-3); font-size: 0.9rem; }

/* Insights index: one block per topic group. */
.insight-group + .insight-group { margin-top: clamp(72px, 9vw, 120px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line); }
.insight-group .section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.topic-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; list-style: none; padding: 0; }
.topic-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.9375rem; color: var(--ink-2); transition: color 0.2s, border-color 0.2s, background-color 0.2s; }
.topic-nav a:hover { color: var(--green); border-color: var(--green); background: var(--green-wash); }

/* ---------- 21. Page hero (inner pages) ---------- */
.page-hero { padding-top: clamp(20px, 3.5vw, 48px); padding-bottom: clamp(56px, 7vw, 100px); }
.crumbs ol { list-style: none; margin: 0 0 clamp(28px, 4vw, 52px); padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font: 500 0.75rem/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.page-hero-grid { display: grid; gap: 40px; }
.page-hero h1 { margin: 0; }
.page-hero .eyebrow-h1 { display: flex; align-items: center; gap: 0.7em; margin-bottom: clamp(18px, 2.2vw, 26px); font: 500 clamp(0.78rem, 1vw, 0.88rem)/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.page-hero-copy { display: grid; gap: 28px; align-content: start; }
.page-hero-media { aspect-ratio: 4 / 3; }
.page-hero--center { text-align: left; }
@media (min-width: 960px) {
  .page-hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 96px); align-items: end; }
  .page-hero-media { aspect-ratio: 4 / 5; }
  .page-hero--text .page-hero-grid { grid-template-columns: minmax(0, 9fr) minmax(0, 3fr); }
}
.facts { display: grid; grid-template-columns: 1fr 1fr; margin: clamp(48px, 6vw, 80px) 0 0; border-top: 1px solid var(--line); }
.facts > div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.facts > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.facts dt { font: 500 0.72rem/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.facts dd { font-size: 1rem; line-height: 1.45; }
@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts > div { border-bottom: 0; padding: 22px 22px 0; }
  .facts > div:first-child { padding-left: 0; }
  .facts > div + div { border-left: 1px solid var(--line); }
  .facts > div:nth-child(even) { padding-left: 22px; }
}

/* ---------- 22. Offering list (service pages) ---------- */
.offer-grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
.offer { display: grid; gap: 10px; padding: 30px 0; border-bottom: 1px solid var(--line); align-content: start; }
.offer h3 { font: 500 clamp(1.25rem, 1.7vw, 1.5rem)/1.2 var(--serif); letter-spacing: -0.024em; }
.offer p { color: var(--ink-2); font-size: 0.98rem; }
.offer .tags { font: 500 0.7rem/1.6 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
@media (min-width: 760px) {
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .offer { padding: 34px 36px 34px 0; }
  .offer:nth-child(even) { padding-left: 36px; padding-right: 0; border-left: 1px solid var(--line); }
}
@media (min-width: 1100px) {
  .offer-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .offer-grid--3 .offer { padding: 34px 32px; border-left: 0; }
  .offer-grid--3 .offer:nth-child(3n+1) { padding-left: 0; }
  .offer-grid--3 .offer:not(:nth-child(3n+1)) { border-left: 1px solid var(--line); }
}

/* Tech stack table */
.stack { display: grid; border-top: 1px solid var(--line-dark); }
.stack-row { display: grid; gap: 8px 32px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); }
.stack-row dt { font: 500 0.75rem/1.6 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-3); }
.stack-row dd { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-row dd span { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-dark); font-size: 0.92rem; color: var(--on-dark); }
@media (min-width: 900px) { .stack-row { grid-template-columns: 220px 1fr; align-items: center; } }
.section:not(.section--dark) .stack, .section:not(.section--dark) .stack-row { border-color: var(--line); }
.section:not(.section--dark) .stack-row dt { color: var(--ink-3); }
.section:not(.section--dark) .stack-row dd span { border-color: var(--line-2); color: var(--ink); }

/* Long-form content inside service pages */
.longform { display: grid; gap: 40px; }
@media (min-width: 960px) { .longform { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 80px; } }
.longform-aside { display: grid; gap: 16px; align-content: start; }
@media (min-width: 960px) { .longform-aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }

/* ---------- 23. Prose (articles, legal, long-form) ---------- */
.prose { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-2); max-width: 44rem; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font: 500 clamp(1.6rem, 2.6vw, 2.2rem)/1.15 var(--serif); letter-spacing: -0.028em; color: var(--ink); margin-top: 2.2em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { font: 600 1.2rem/1.35 var(--sans); letter-spacing: -0.01em; color: var(--ink); margin-top: 1.9em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.7em; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a:not(.btn) { color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--green); }
.prose blockquote { border-left: 2px solid var(--green); padding-left: 1.25em; font: 500 1.35rem/1.4 var(--serif); letter-spacing: -0.02em; color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.5em; }
.prose .callout { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; font-size: 1rem; }
.prose .callout strong:first-child { display: block; margin-bottom: 4px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.prose .table-wrap { margin-top: 1.5em; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.5; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font: 500 0.72rem/1.3 var(--mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); background: var(--paper-2); }
tbody tr:last-child td { border-bottom: 0; }
td:first-child, tbody th { color: var(--ink); font-weight: 500; }
.table-wrap table { min-width: 560px; }
caption { caption-side: bottom; text-align: left; padding: 12px 18px; font-size: 0.85rem; color: var(--ink-3); }

.article-layout { display: grid; gap: 48px; }
@media (min-width: 1100px) { .article-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 96px; } }
.toc { display: none; }
@media (min-width: 1100px) {
  .toc { display: block; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
  .toc ol { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
  .toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; font-size: 0.9rem; color: var(--ink-3); line-height: 1.4; transition: color 0.2s, border-color 0.2s; }
  .toc a:hover, .toc a.is-active { color: var(--ink); border-left-color: var(--green); }
}
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; font: 500 0.75rem/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.article-hero-media { aspect-ratio: 21 / 9; margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 700px) { .article-hero-media { aspect-ratio: 4 / 3; } }

/* ---------- 24. Comparison table (why us) ---------- */
.compare td:nth-child(2), .compare th:nth-child(2) { background: var(--green-wash); }
.compare thead th:nth-child(2) { color: var(--green); }
.compare .yes { color: var(--green); font-weight: 500; }
.compare .no { color: var(--ink-3); }

/* ---------- 25. Contact & brief builder ---------- */
.contact-grid { display: grid; gap: clamp(48px, 6vw, 96px); }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.brief { display: grid; gap: 36px; }
.brief fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 16px; }
.brief legend { padding: 0; margin-bottom: 16px; font: 500 clamp(1.3rem, 1.9vw, 1.6rem)/1.2 var(--serif); letter-spacing: -0.024em; }
.brief legend .mono { font-size: 0.75rem; color: var(--ink-3); letter-spacing: 0.06em; margin-right: 10px; vertical-align: 0.35em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px;
  border: 1px solid var(--line-2); border-radius: 999px; background: transparent;
  font-size: 0.975rem; transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  user-select: none;
}
.chip span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--ink-3); transition: background-color 0.2s, border-color 0.2s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--green); color: #fff; border-color: var(--green); }
.chip input:checked + span::before { background: #fff; border-color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 3px; }
.fields { display: grid; gap: 22px; }
@media (min-width: 700px) { .fields { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-size: 0.9rem; font-weight: 500; color: var(--ink-2); }
.field label .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px;
  background: var(--white); border: 1px solid var(--line-2); border-radius: 12px;
  font-size: 1rem; line-height: 1.5; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0, 122, 0, 0.16); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; }
.field-error { font-size: 0.85rem; color: #b3261e; min-height: 1em; }
.field-hint { font-size: 0.85rem; color: var(--ink-3); }
.brief-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-note { font-size: 0.9rem; color: var(--ink-3); max-width: 40em; }
.form-status { font-size: 0.95rem; font-weight: 500; color: var(--green); min-height: 1.5em; }
.form-status.is-error { color: #b3261e; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.contact-card { display: grid; gap: 28px; align-content: start; align-self: start; padding: clamp(26px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--dark); color: var(--on-dark); }
@media (min-width: 1000px) { .contact-card { position: sticky; top: calc(var(--header-h) + 24px); } }
.contact-card .label { color: var(--on-dark-3); }
.contact-lines { display: grid; gap: 22px; }
.contact-line { display: grid; gap: 6px; padding-bottom: 20px; border-bottom: 1px solid var(--line-dark); }
.contact-line:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-line a, .contact-line address { font: 500 1.3rem/1.3 var(--serif); font-style: normal; letter-spacing: -0.025em; }
.contact-line address { font: 400 1rem/1.6 var(--sans); color: var(--on-dark-2); }
.contact-line a:hover { color: var(--accent-dark); }

.map-facade {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9;
  background: var(--dark-3); color: var(--ink);
  display: grid; place-items: center; text-align: center; padding: 24px;
}
@media (max-width: 700px) { .map-facade { aspect-ratio: 4 / 5; } }
.map-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.map-facade__inner { position: relative; display: grid; gap: 16px; justify-items: center; max-width: 30em; }
.map-facade__inner p { color: var(--ink-2); font-size: 0.95rem; }
.map-facade .text-link { color: var(--green); }
.map-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- 26. CTA band & footer ---------- */
.site-footer { background: var(--white); color: var(--ink); border-top: 1px solid var(--line); padding-top: clamp(80px, 10vw, 150px); position: relative; overflow: hidden; }
.footer-cta { display: grid; gap: 36px; padding-bottom: clamp(64px, 8vw, 120px); border-bottom: 1px solid var(--line); }
.footer-cta .display { font-size: clamp(2.7rem, 7vw, 7rem); max-width: 11em; }
.footer-cta__row { display: grid; gap: 28px; align-items: end; }
.footer-mail { font: 500 clamp(1.5rem, 3vw, 2.6rem)/1.1 var(--serif); letter-spacing: -0.032em; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 6px; transition: color 0.3s, background-size 0.5s var(--ease); justify-self: start; word-break: break-word; }
.footer-mail:hover { color: var(--green); }
@media (min-width: 900px) { .footer-cta__row { grid-template-columns: 1fr auto; } }
.footer-grid { display: grid; gap: 44px 24px; padding-block: clamp(56px, 6vw, 88px); grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; display: grid; gap: 22px; align-content: start; max-width: 26rem; }
.footer-brand .brand { margin-right: 0; justify-self: start; }
/* Footer lockup: emblem centred above the wordmark and set close to it, with the whole
   lockup centred over the description below. */
.footer-brand .brand--footer { justify-self: center; }
.brand--footer { flex-direction: column; align-items: center; gap: 10px; margin-bottom: 8px; }
.brand--footer .brand-mark { height: 84px; }
.brand--footer .brand-word { font-size: 1.875rem; line-height: 1; transform: none; }
.site-footer .brand-word { color: var(--green-brand); }
.footer-brand p { color: var(--ink-2); font-size: 0.95rem; }
.footer-col h2 { font: 500 0.72rem/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--ink-2); font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--green); }
.footer-col address { font-style: normal; color: var(--ink-2); font-size: 0.95rem; line-height: 1.6; }
.footer-col address + ul { margin-top: 16px; }
.footer-col--contact { grid-column: 1 / -1; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-col--contact { grid-column: auto; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; } .footer-brand { grid-column: auto; } }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink-2); transition: color 0.2s, border-color 0.2s, background-color 0.2s; }
.socials a:hover { color: #fff; background: var(--green); border-color: var(--green); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 26px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-3); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.footer-bottom a:hover { color: var(--green); }
.footer-bottom .clock { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }

/* ---------- 27. Floating actions ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: none; align-items: center; gap: 10px;
  height: 52px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--green); color: #fff;
  box-shadow: 0 16px 36px -14px rgba(0, 122, 0, 0.55);
  font-size: 0.925rem; font-weight: 500;
  /* Hidden = invisible AND unclickable: a transparent button would still sit on top of the
     footer links (it used to swallow clicks on "Sitemap") and stay in the tab order. */
  opacity: 0; transform: translateY(12px); visibility: hidden; pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease-out), background-color 0.2s, visibility 0s linear 0.45s;
}
.wa-float svg { width: 20px; height: 20px; fill: #fff; }
.wa-float:hover { background: var(--green-hover); }
.wa-float.is-visible {
  opacity: 1; transform: none; visibility: visible; pointer-events: auto;
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease-out), background-color 0.2s, visibility 0s;
}
@media (min-width: 900px) { .wa-float { display: inline-flex; } }

.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); visibility: hidden; pointer-events: none;
  transition: transform 0.45s var(--ease-out), visibility 0s linear 0.45s;
}
.action-bar.is-visible { transform: none; visibility: visible; pointer-events: auto; transition: transform 0.45s var(--ease-out), visibility 0s; }
.action-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border-radius: 999px; font-size: 0.925rem; font-weight: 500;
  border: 1px solid var(--line-2); color: var(--ink);
}
.action-bar a svg { width: 18px; height: 18px; }
.action-bar a.ab-primary { background: var(--green); border-color: var(--green); color: #fff; }
@media (min-width: 900px) { .action-bar { display: none; } }
@media (max-width: 899px) { .site-footer { padding-bottom: 76px; } }
html.menu-open .action-bar, html.menu-open .wa-float { display: none; }

/* ---------- 28. Misc components ---------- */
.quotes + .actions, .work-grid + .actions, .principles + .actions, .steps + .actions, .post-grid + .actions { margin-top: clamp(40px, 5vw, 64px); }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pill-list li { padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.9rem; }

.related { display: grid; gap: 0; border-top: 1px solid var(--line); }
.related a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); font: 500 clamp(1.3rem, 2vw, 1.8rem)/1.15 var(--serif); letter-spacing: -0.028em; transition: color 0.2s, padding 0.4s var(--ease-out); }
.related a svg { width: 22px; height: 22px; transition: transform 0.4s var(--ease-out); }
.related a:hover { color: var(--green); padding-left: 10px; }
.related a:hover svg { transform: rotate(-45deg); }
@media (min-width: 900px) { .related { grid-template-columns: 1fr 1fr; column-gap: 48px; } }

.benefits { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.benefits li { display: grid; gap: 8px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.benefits h3 { font: 600 1.1rem/1.35 var(--sans); }
.benefits p { color: var(--ink-2); font-size: 0.98rem; }
@media (min-width: 760px) { .benefits { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
@media (min-width: 1100px) { .benefits { grid-template-columns: repeat(3, 1fr); } }

.error-page { min-height: 70vh; display: grid; align-items: center; }
.error-code { font: 700 clamp(6rem, 22vw, 18rem)/0.8 var(--serif); letter-spacing: -0.056em; color: var(--green); }

.legal-meta { font-size: 0.95rem; color: var(--ink-3); }

/* ---------- 29. Reveal on scroll (JS-enhanced; content is visible without JS) ---------- */
.will-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.will-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .will-reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- 30. Print ---------- */
@media print {
  .site-header, .mobile-menu, .action-bar, .wa-float, .footer-cta, .map-facade { display: none !important; }
  body { background: #fff; color: #000; }
  .section--dark, .site-footer { background: #fff; color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
