/* Self-hosted fonts (SIL Open Font License, see /fonts/OFL-*.txt). Latin subset: covers French and English text. */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/poppins-700.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/lora-400.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/lora-500.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/lora-400-italic.woff2") format("woff2"); }
/* ============================================================
   Digital Bonsaï — site v3
   Charter taken from the company's own documents:
   paper white, forest #2A7631, moss #A9C44D, Poppins + Lora.
   Bonsaï Camp keeps its own palette: blue #0377A5, orange #EA9A32.
   ============================================================ */

:root {
  --paper: #FAFAF6;
  --surface: #FFFFFF;
  --ink: #17211A;
  --ink-2: #3D4840;
  --muted: #677169;
  --line: #E1E5DD;
  --line-2: #CDD4C8;
  --forest: #2A7631;
  --forest-deep: #1D5523;
  --moss: #A9C44D;
  --moss-tint: #EFF4E2;
  --camp-blue: #0377A5;
  --camp-orange: #EA9A32;
  --camp-tint: #EAF3F8;
  --head: "Poppins", system-ui, sans-serif;
  --body: "Lora", Georgia, serif;
  --wrap: 1200px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(23,33,26,.05), 0 12px 32px -12px rgba(23,33,26,.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--head); margin: 0; line-height: 1.15; letter-spacing: -.02em; }

/* The vertical band from the documents' covers */
.band { position: fixed; left: 0; top: 0; bottom: 0; width: 8px; z-index: 60;
  background: linear-gradient(to bottom, var(--forest) 0 62%, var(--moss) 62% 100%); }

.wrap { width: min(var(--wrap), 100% - 64px); margin-inline: auto; }

/* ── Header ─────────────────────────────────────────────── */
.header { position: sticky; top: 0; z-index: 50; background: rgba(250,250,246,.94);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 32px; height: 76px; }
.logo img { height: 42px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; font-family: var(--head); font-size: .92rem; font-weight: 500; }
.nav a { text-decoration: none; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--forest); border-color: var(--moss); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px;
  border-radius: 8px; font-family: var(--head); font-weight: 600; font-size: .95rem; text-decoration: none;
  background: var(--forest); color: #fff; border: 1px solid var(--forest); transition: background .15s; }
.btn:hover { background: var(--forest-deep); }
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface); border-color: var(--forest); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); border-radius: 8px;
  width: 44px; height: 44px; font-size: 1.2rem; color: var(--ink); }

/* ── Hero ───────────────────────────────────────────────── */
.hero { padding: 88px 0 0; }
.hero-top { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: end; }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); font-weight: 700; color: var(--forest); letter-spacing: -.035em; line-height: 1.04; }
.hero-lead { margin-top: 26px; font-size: 1.2rem; line-height: 1.65; color: var(--ink-2); max-width: 34em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

.oneline { background: var(--moss-tint); border-left: 3px solid var(--forest); padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0; }
.oneline-label { font-family: var(--head); font-size: .74rem; font-weight: 600; color: var(--forest); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.oneline p { font-size: 1rem; line-height: 1.65; color: var(--ink); }

.stage { position: relative; margin-top: 64px; }
.stage-main { border-radius: var(--radius) var(--radius) 0 0; border: 1px solid var(--line); border-bottom: 0; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.stage-main img { width: 100%; }
.stage-phone { position: absolute; right: -24px; bottom: -48px; width: 22%; max-width: 270px; border-radius: 30px; overflow: hidden;
  border: 7px solid #17211A; box-shadow: 0 30px 60px -20px rgba(23,33,26,.45); background: #fff; }
.stage-caption { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0 0; font-family: var(--head); font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); }

/* ── Facts (document footer style) ──────────────────────── */
.facts { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 34px 28px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact-label { font-family: var(--head); font-size: .74rem; font-weight: 600; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.fact-value { font-family: var(--head); font-size: 2.4rem; font-weight: 600; color: var(--forest); letter-spacing: -.03em; line-height: 1.1; margin-top: 10px; }
.fact p { font-size: .92rem; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }

/* ── Sections ───────────────────────────────────────────── */
.section { padding: 112px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; color: var(--forest); letter-spacing: -.03em; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; }

/* ── Work ───────────────────────────────────────────────── */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter { font-family: var(--head); font-size: .9rem; font-weight: 500; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); cursor: pointer; }
.filter:hover { border-color: var(--forest); color: var(--forest); }
.filter[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.filter .n { opacity: .6; margin-left: 4px; }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { display: flex; flex-direction: column; text-align: left; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; cursor: pointer; padding: 0; font: inherit; color: inherit;
  transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--moss-tint); }
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.card-img.is-phone { display: flex; justify-content: center; padding-top: 18px; }
.card-img.is-phone img { width: 46%; height: auto; object-fit: initial; border-radius: 16px 16px 0 0; box-shadow: var(--shadow); }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--head); font-size: .78rem; font-weight: 500; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--forest); }
.status.build::before { background: transparent; border: 1.5px solid var(--moss); }
.card h3 { font-size: 1.12rem; font-weight: 600; margin: 10px 0 8px; color: var(--ink); letter-spacing: -.015em; }
.card p { font-size: .95rem; line-height: 1.6; color: var(--ink-2); }
.card-open { margin-top: auto; padding-top: 16px; font-family: var(--head); font-size: .85rem; font-weight: 600; color: var(--forest); }
.card[hidden] { display: none; }

/* Project dialog */
dialog.project { width: min(1180px, 100% - 32px); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 14px;
  background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -20px rgba(0,0,0,.45); }
dialog.project::backdrop { background: rgba(23,33,26,.55); }
.dlg-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: start; justify-content: space-between; gap: 24px;
  padding: 26px 32px 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
.dlg-head h3 { font-size: 1.5rem; color: var(--forest); }
.dlg-head p { margin-top: 6px; color: var(--ink-2); max-width: 46em; font-size: 1rem; }
.dlg-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { font-family: var(--head); font-size: .76rem; font-weight: 500; padding: 4px 10px; border-radius: 6px; background: var(--moss-tint); color: var(--forest-deep); }
.dlg-close { flex: none; width: 42px; height: 42px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface); font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.dlg-shots { display: grid; grid-template-columns: 1fr; gap: 26px; padding: 28px 32px 34px; }
.dlg-shots.has-phone { grid-template-columns: 1fr 260px; align-items: start; }
.dlg-shots figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.dlg-shots .phone { grid-column: 2; grid-row: 1 / span 3; border-radius: 26px; border: 6px solid var(--ink); position: sticky; top: 130px; }
.dlg-note { padding: 0 32px 28px; font-family: var(--head); font-size: .8rem; color: var(--muted); }

/* ── Documents ──────────────────────────────────────────── */
.docs { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.doc-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.doc { display: flex; flex-direction: column; }
.page { position: relative; aspect-ratio: 1 / 1.414; background: #fff; border: 1px solid var(--line); border-radius: 4px;
  box-shadow: var(--shadow); padding: 13% 11% 9% 15%; display: flex; flex-direction: column; overflow: hidden; }
.page::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5%;
  background: linear-gradient(to bottom, var(--forest) 0 62%, var(--moss) 62% 100%); }
.page.camp::before { background: linear-gradient(to bottom, var(--camp-blue) 0 62%, var(--camp-orange) 62% 100%); }
.page-logo { width: 46%; }
.page-rule { width: 22%; height: 2px; background: var(--forest); margin-top: auto; }
.page.camp .page-rule { background: var(--camp-blue); }
.page-kind { font-family: var(--head); font-size: .56rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--moss); margin-top: 10%; }
.page.camp .page-kind { color: var(--camp-orange); }
.page-title { font-family: var(--head); font-size: 1.02rem; font-weight: 700; line-height: 1.15; color: var(--forest); margin-top: 5%; letter-spacing: -.02em; }
.page.camp .page-title { color: var(--camp-blue); }
.page-sub { font-family: var(--body); font-size: .62rem; line-height: 1.5; color: var(--ink-2); margin-top: 6%; }
.page-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 18%; padding-top: 6%; border-top: 1px solid var(--line); font-family: var(--head); font-size: .48rem; color: var(--ink-2); line-height: 1.4; }
.page-foot b { display: block; font-size: .42rem; font-weight: 600; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.doc-step { font-family: var(--head); font-size: .8rem; font-weight: 600; color: var(--moss); margin-top: 22px; }
.doc h3 { font-size: 1.08rem; font-weight: 600; margin-top: 4px; }
.doc p { font-size: .94rem; color: var(--ink-2); margin-top: 8px; line-height: 1.6; }
.doc .price { font-family: var(--head); font-size: .85rem; font-weight: 600; color: var(--forest); margin-top: 10px; }

/* ── Ways to work (contents-page style) ─────────────────── */
.ways { border-top: 1px solid var(--ink); }
.way { display: grid; grid-template-columns: 220px 1fr 260px; gap: 40px; padding: 34px 0; border-bottom: 1px solid var(--line); text-decoration: none; align-items: baseline; }
.way:hover h3 { color: var(--forest-deep); }
.way h3 { font-size: 1.9rem; font-weight: 700; color: var(--forest); letter-spacing: -.03em; }
.way p { color: var(--ink-2); font-size: 1.02rem; }
.way-price { font-family: var(--head); font-size: .95rem; font-weight: 600; text-align: right; }
.way-price span { display: block; font-weight: 400; font-size: .82rem; color: var(--muted); margin-top: 2px; }

/* ── Bonsaï Camp ────────────────────────────────────────── */
.camp { background: var(--camp-tint); border-top: 1px solid #D3E4EE; border-bottom: 1px solid #D3E4EE; }
.camp .section-head h2 { color: var(--camp-blue); }
.camp-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.camp-mqa { font-family: var(--head); font-size: .85rem; color: var(--ink-2); margin-top: 22px; }
.camp-mqa b { color: var(--camp-blue); }
.camp-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid #D3E4EE; font-family: var(--head); font-size: .92rem; }
.camp-table th, .camp-table td { padding: 14px 18px; text-align: right; border-bottom: 1px solid #E4EEF4; }
.camp-table th { font-size: .74rem; font-weight: 600; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; background: #F6FAFC; }
.camp-table th:first-child, .camp-table td:first-child { text-align: left; }
.camp-table td.net { color: var(--camp-orange); font-weight: 700; font-size: 1.02rem; }
.camp-table tr:last-child td { border-bottom: 0; }
.camp-note { font-size: .86rem; color: var(--muted); margin-top: 12px; }
.camp-list { margin: 26px 0 0; padding: 0; list-style: none; }
.camp-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid #D3E4EE; font-family: var(--head); font-size: .95rem; }
.camp-list li span { color: var(--muted); font-size: .85rem; }
.btn-camp { background: var(--camp-blue); border-color: var(--camp-blue); }
.btn-camp:hover { background: #025F84; }

/* ── Team ───────────────────────────────────────────────── */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.person img, .person .initials { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 20%; border-radius: var(--radius); background: var(--moss-tint); }
.person .initials { display: flex; align-items: center; justify-content: center; font-family: var(--head); font-size: 2.6rem; font-weight: 600; color: var(--forest); }
.person h3 { font-size: 1.05rem; font-weight: 600; margin-top: 16px; }
.person .role { font-family: var(--head); font-size: .84rem; color: var(--forest); font-weight: 500; }
.person p { font-size: .92rem; color: var(--ink-2); margin-top: 8px; line-height: 1.6; }

/* ── Closing ────────────────────────────────────────────── */
.closing { background: var(--forest); color: #fff; padding: 96px 0; }
.closing-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: end; }
.closing h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 700; letter-spacing: -.03em; }
.closing p { color: #DCEACF; font-size: 1.1rem; margin-top: 18px; max-width: 30em; }
.closing .btn { background: #fff; color: var(--forest); border-color: #fff; }
.closing .btn:hover { background: var(--moss-tint); }
.closing .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.closing .btn-ghost:hover { border-color: #fff; }
.closing-cta { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }

/* ── Footer ─────────────────────────────────────────────── */
.footer { padding: 64px 0 40px; font-family: var(--head); font-size: .88rem; color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-size: .74rem; font-weight: 600; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--forest); }
.footer-legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); line-height: 1.7; }

:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 4px; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav { gap: 18px; font-size: .86rem; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-row { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .band { width: 5px; }
  .wrap { width: calc(100% - 40px); }
  .nav, .header .btn { display: none; }
  .menu-btn { display: block; }
  .header.open .nav { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 18px; }
  .header.open .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .hero { padding-top: 52px; }
  .hero-top, .section-head, .camp-grid, .closing-in { grid-template-columns: 1fr; gap: 28px; }
  .stage { margin-top: 40px; }
  .stage-phone { display: none; }
  .stage-caption { flex-direction: column; gap: 4px; }
  .facts-in { grid-template-columns: 1fr 1fr; }
  .fact { padding: 24px 18px; border-left: 0; border-top: 1px solid var(--line); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact:first-child { padding-left: 18px; }
  .fact-value { font-size: 1.9rem; }
  .section { padding: 72px 0; }
  .way { grid-template-columns: 1fr; gap: 8px; padding: 26px 0; }
  .way-price { text-align: left; }
  .dlg-head { padding: 20px; }
  .dlg-shots, .dlg-shots.has-phone { grid-template-columns: 1fr; padding: 20px; }
  .dlg-shots .phone { grid-column: auto; grid-row: auto; position: static; max-width: 260px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .work-grid, .doc-row, .team { grid-template-columns: 1fr; }
  .facts-in { grid-template-columns: 1fr; }
  .fact, .fact:first-child { padding: 20px 0; border-top: 1px solid var(--line); }
  .fact:first-child { border-top: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-title { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ── Pass 2 fixes ───────────────────────────────────────── */
.stage-phone { top: 36px; bottom: auto; aspect-ratio: 390 / 760; }
.stage-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.stage { margin-bottom: 0; }
.card-img img { width: 165%; max-width: none; height: auto; object-fit: initial; }
.card-img.is-phone img { width: 46%; }
.dlg-head .card-meta { justify-content: flex-start; gap: 18px; }
.camp-table-wrap { overflow-x: auto; }
@media (max-width: 600px) {
  .camp-table th, .camp-table td { padding: 12px 10px; font-size: .84rem; }
  .camp-table th { font-size: .66rem; letter-spacing: .02em; }
}
img { height: auto; }
.card-img img { height: auto; }
@media (max-width: 900px) {
  .stage-main { border-radius: var(--radius); border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .stage-main { display: none; }
  .stage-phone { display: block; position: static; width: 74%; max-width: 300px; margin: 0 auto; aspect-ratio: 390 / 760; }
}

/* ============================================================
   Inner pages (v3)
   ============================================================ */
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 6px; font-family: var(--head); }
.skip:focus { left: 16px; }

/* Header: 8 items */
.nav { gap: 22px; font-size: .9rem; }
.nav a[aria-current="page"] { color: var(--forest); border-color: var(--forest); }
@media (max-width: 1160px) { .nav { gap: 16px; font-size: .84rem; } .header-in { gap: 20px; } }
@media (max-width: 1040px) {
  .nav, .header .btn { display: none; }
  .menu-btn { display: block; }
  .header.open .nav { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 18px; font-size: .95rem; }
  .header.open .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
}

/* Page hero */
.phero { padding: 72px 0 64px; border-bottom: 1px solid var(--line); }
.crumbs { font-family: var(--head); font-size: .82rem; color: var(--muted); margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--forest); }
.crumbs i { font-style: normal; opacity: .6; }
.kicker { font-family: var(--head); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--moss); border-radius: 2px; }
.phero h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); font-weight: 700; color: var(--forest); letter-spacing: -.035em; line-height: 1.06; max-width: 17em; }
.phero .lead { margin-top: 22px; font-size: 1.18rem; line-height: 1.65; color: var(--ink-2); max-width: 40em; }
.phero .hero-cta { margin-top: 30px; }
.phero.tight { padding-bottom: 44px; }

.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.s-sm { padding: 80px 0; }
.eyebrow-h { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; color: var(--forest); letter-spacing: -.03em; }
.mt { margin-top: 28px; }

/* Split: copy + screenshot */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; color: var(--forest); letter-spacing: -.03em; }
.split .intro { margin-top: 16px; font-size: 1.08rem; color: var(--ink-2); }
.shot-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.shot-frame img { width: 100%; }

/* Lists with rules (contents style) */
.rows { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.rows li { display: grid; grid-template-columns: 210px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rows strong { font-family: var(--head); font-weight: 600; font-size: .98rem; color: var(--ink); }
.rows span { color: var(--ink-2); font-size: .98rem; line-height: 1.6; }

/* Feature cards */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.features.two { grid-template-columns: repeat(2, 1fr); }
.features.four { grid-template-columns: repeat(4, 1fr); }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.alt .feature { background: var(--paper); }
.feature h3 { font-size: 1.08rem; font-weight: 600; color: var(--forest); letter-spacing: -.015em; }
.feature p { margin-top: 10px; font-size: .96rem; color: var(--ink-2); line-height: 1.65; }
.feature .tagline { display: inline-block; font-family: var(--head); font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--camp-orange); margin-bottom: 8px; }

/* Numbered steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.step { padding: 28px 26px 8px 0; }
.step + .step { padding-left: 26px; border-left: 1px solid var(--line); }
.step .n { font-family: var(--head); font-size: .8rem; font-weight: 600; color: var(--moss); letter-spacing: .06em; text-transform: uppercase; }
.step h3 { font-size: 1.2rem; font-weight: 600; margin-top: 8px; color: var(--ink); }
.step p { margin-top: 10px; font-size: .96rem; color: var(--ink-2); line-height: 1.6; }
.step .p { margin-top: 14px; font-family: var(--head); font-size: .92rem; font-weight: 600; color: var(--forest); }

/* Pricing tiers */
.tiers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 980px; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px; }
.tier.hl { border-color: var(--forest); box-shadow: inset 0 3px 0 var(--forest); }
.tier .name { font-family: var(--head); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tier .price { font-family: var(--head); font-size: 1.9rem; font-weight: 700; color: var(--forest); letter-spacing: -.03em; margin-top: 10px; line-height: 1.15; }
.tier .price span { display: block; font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.tier p { margin-top: 14px; color: var(--ink-2); font-size: .98rem; }
.tier ul, .checks { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.tier li, .checks li { position: relative; padding-left: 24px; font-size: .96rem; color: var(--ink); }
.tier li::before, .checks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 7px; border-left: 2px solid var(--forest); border-bottom: 2px solid var(--forest); transform: rotate(-45deg) translateY(-50%); }
.note-box { margin-top: 30px; max-width: 980px; background: var(--moss-tint); border-left: 3px solid var(--forest); padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0; }
.note-box h3 { font-size: 1.05rem; color: var(--forest); font-weight: 600; }
.note-box p { margin-top: 6px; color: var(--ink-2); font-size: .98rem; }

/* Own vs rent */
.versus { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 980px; }
.vs { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 30px; }
.vs.hl { background: var(--forest); border-color: var(--forest); color: #fff; }
.vs .l { font-family: var(--head); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.vs.hl .l { color: #CFE3BF; }
.vs .v { font-family: var(--head); font-size: 2.3rem; font-weight: 700; letter-spacing: -.03em; margin-top: 10px; color: var(--ink); line-height: 1.1; }
.vs.hl .v { color: #fff; }
.vs .v span { display: block; font-size: .88rem; font-weight: 500; letter-spacing: 0; opacity: .75; margin-top: 4px; }
.vs p { margin-top: 12px; font-size: .96rem; color: var(--ink-2); }
.vs.hl p { color: #E4EFD9; }
.fine { margin-top: 18px; font-family: var(--head); font-size: .84rem; color: var(--muted); }

/* Company cards, dl */
.company { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.company-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px; }
.company-card h3 { font-size: 1.05rem; color: var(--forest); font-weight: 600; }
.company-card dl, .legal-dl { margin: 14px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: .94rem; }
.company-card dt, .legal-dl dt { font-family: var(--head); font-size: .74rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.company-card dd, .legal-dl dd { margin: 0; color: var(--ink); }
.legal-dl { max-width: 40em; }

.partner-logos { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 36px; font-family: var(--head); font-size: .82rem; color: var(--muted); }
.partner-logos img { height: 38px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(.2); }

/* Case study */
.cs-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; font-family: var(--head); font-size: .84rem; color: var(--muted); margin-bottom: 18px; }
.cs-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.shots-main { margin-top: 0; }
.shot { margin: 0; }
.shot img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.shot figcaption { margin-top: 12px; font-family: var(--head); font-size: .86rem; color: var(--ink-2); line-height: 1.55; max-width: 52em; }
.shot.phone img { border: 6px solid var(--ink); border-radius: 30px; }
.shots-stack { display: grid; gap: 48px; }
.shots-with-phone { display: grid; grid-template-columns: 1fr 280px; gap: 40px; align-items: start; }
.shots-with-phone .phone { position: sticky; top: 110px; }
.cs-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.cs-cols h2 { font-size: 1.35rem; font-weight: 700; color: var(--forest); letter-spacing: -.02em; margin-bottom: 14px; }
.cs-cols p { color: var(--ink-2); font-size: 1.04rem; }
.cs-cols .checks li { color: var(--ink-2); }
.cs-connected { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.cs-connected li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .96rem; color: var(--ink-2); }
.cs-note { margin-top: 28px; font-family: var(--head); font-size: .82rem; color: var(--muted); }
.stage-chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--head); font-size: .78rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--moss-tint); color: var(--forest-deep); }
.stage-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--forest); }
.stage-chip.build { background: #FFF6E4; color: #8A5A0A; }
.stage-chip.build::before { background: transparent; border: 1.5px solid var(--camp-orange); }
.cs-nav { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; font-family: var(--head); font-size: .92rem; font-weight: 600; }
.cs-nav a { text-decoration: none; color: var(--forest); }

/* Work index: link cards */
a.card { text-decoration: none; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-h { font-size: 1.15rem; font-weight: 700; color: var(--forest); margin: 0 0 16px; }
.next-steps { display: grid; gap: 18px; margin-bottom: 44px; }
.next-step { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.next-step .num { width: 40px; height: 40px; border-radius: 50%; background: var(--moss-tint); color: var(--forest); font-family: var(--head); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.next-step strong { font-family: var(--head); font-weight: 600; display: block; }
.next-step span { color: var(--ink-2); font-size: .96rem; }
.form { display: grid; gap: 16px; margin-bottom: 44px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { font-family: var(--head); font-size: .82rem; font-weight: 600; color: var(--ink-2); display: block; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; color: var(--ink); }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--forest); outline-offset: 1px; border-color: var(--forest); }
.form .consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-family: var(--body); font-weight: 400; font-size: .9rem; color: var(--ink-2); }
.form .consent input { width: 18px; height: 18px; margin-top: 4px; }
.form-success { display: none; padding: 14px 16px; border-radius: 8px; background: var(--moss-tint); color: var(--forest-deep); font-family: var(--head); font-size: .92rem; }
.channels { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.channel { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.channel span { font-family: var(--head); font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.channel a { color: var(--forest); text-decoration: none; font-weight: 500; }
.cal-box { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; position: sticky; top: 100px; }
.cal-head { padding: 14px 20px; border-bottom: 1px solid var(--line); font-family: var(--head); font-size: .9rem; font-weight: 600; color: var(--forest); background: var(--moss-tint); }

/* Prose (legal) */
.prose { max-width: 46em; }
.prose h2 { font-size: 1.3rem; color: var(--forest); font-weight: 700; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--ink-2); font-size: 1.02rem; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; }
.prose a { color: var(--forest); }
.legal-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .9rem; font-family: var(--head); }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 12px; border-bottom: 1px solid var(--line); }
.legal-table th { font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: var(--surface); }
.table-wrap { overflow-x: auto; }

/* Press */
.res-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); margin-bottom: 40px; }
.res-stats > div { padding: 22px 0; }
.res-stats > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.res-stats .n { font-family: var(--head); font-size: 2.2rem; font-weight: 600; color: var(--forest); line-height: 1.1; }
.res-stats .l { font-family: var(--head); font-size: .8rem; color: var(--muted); margin-top: 4px; }
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.res-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.res-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.res-card[hidden] { display: none; }
.res-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--moss-tint); overflow: hidden; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); }
.res-thumb img { width: 100%; height: 100%; object-fit: cover; }
.res-thumb .ph { font-family: var(--head); font-size: 1.1rem; font-weight: 600; color: var(--forest); padding: 0 20px; text-align: center; }
.res-thumb .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.res-thumb .play i { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.94); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.res-thumb .play i::after { content: ""; margin-left: 4px; border-left: 14px solid var(--forest); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.res-badge { position: absolute; left: 12px; top: 12px; font-family: var(--head); font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--forest-deep); }
.res-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.res-meta { font-family: var(--head); font-size: .76rem; color: var(--muted); }
.res-title { font-family: var(--head); font-size: 1.04rem; font-weight: 600; color: var(--ink); margin-top: 8px; line-height: 1.3; }
.res-desc { font-size: .94rem; color: var(--ink-2); margin-top: 8px; line-height: 1.6; }
.res-cta { margin-top: auto; padding-top: 14px; font-family: var(--head); font-size: .85rem; font-weight: 600; color: var(--forest); }
.certs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 880px; }
.cert { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cert img { height: 92px; width: auto; object-fit: contain; }
.cert .pill { font-family: var(--head); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; background: var(--moss-tint); color: var(--forest-deep); }
.cert h3 { font-size: 1.2rem; font-weight: 600; }
.cert p { font-size: .94rem; color: var(--ink-2); max-width: 22em; }
.cert .stars { color: var(--camp-orange); letter-spacing: .1em; font-size: 1rem; }

/* Cockpit page */
.edition + .edition { margin-top: 96px; }

/* Bonsaï Camp: its own palette (blue + orange) */
body.camp-page { --forest: #0377A5; --forest-deep: #025F84; --moss: #EA9A32; --moss-tint: #EAF3F8; --line: #DDE7EE; --line-2: #C6D6E0; }
body.camp-page .band { background: linear-gradient(to bottom, #0377A5 0 62%, #EA9A32 62% 100%); }
body.camp-page .closing { background: #0377A5; }
body.camp-page .closing p { color: #D8ECF5; }
body.camp-page .closing .btn { color: #0377A5; }
.mqa { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 40px; }
.mqa .l { font-family: var(--head); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mqa .id { font-family: var(--head); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; color: var(--forest); letter-spacing: -.03em; margin: 8px 0; }
.mqa p { color: var(--ink-2); }
.mqa ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.mqa li { padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--head); font-weight: 600; font-size: .95rem; }
.mqa li span { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); }
.hrdc { margin-top: 32px; }
.hrdc-badge { display: inline-block; font-family: var(--head); font-weight: 700; font-size: .85rem; padding: 6px 14px; border-radius: 999px; background: #FFF1DA; color: #8A5A0A; }
.hrdc .lead2 { margin-top: 14px; max-width: 46em; color: var(--ink-2); font-size: 1.04rem; }
.hrdc .camp-table { margin-top: 22px; max-width: 760px; }
.logo-note { margin-top: 28px; }

.cta-inline { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Responsive for inner pages */
@media (max-width: 1100px) {
  .features, .features.four { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 28px; }
  .res-grid { grid-template-columns: repeat(2, 1fr); }
  .company { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .phero { padding: 44px 0 44px; }
  .split, .split.flip, .cs-cols, .contact-layout, .mqa, .shots-with-phone { grid-template-columns: 1fr; gap: 32px; }
  .split.flip > :first-child { order: 0; }
  .shots-with-phone .phone { position: static; max-width: 280px; margin: 0 auto; }
  .tiers, .versus, .certs { grid-template-columns: 1fr; }
  .rows li { grid-template-columns: 1fr; gap: 4px; }
  .cal-box { position: static; }
  .res-stats { grid-template-columns: repeat(2, 1fr); }
  .res-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .edition + .edition { margin-top: 64px; }
}
@media (max-width: 600px) {
  .features, .features.two, .features.four, .steps, .res-grid { grid-template-columns: 1fr; }
  .steps .step, .steps .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 0; padding-top: 24px; padding-bottom: 8px; }
  .steps .step:first-child { border-top: 0; }
  .form-row { grid-template-columns: 1fr; }
  .channel { grid-template-columns: 1fr; gap: 2px; }
  .company-card dl, .legal-dl { grid-template-columns: 1fr; gap: 2px; }
  .company-card dt, .legal-dt { margin-top: 8px; }
  .mqa { padding: 26px 22px; }
  .res-stats { grid-template-columns: 1fr 1fr; }
}

.all-link { margin-top: 36px; text-align: center; }
.dlg-link { color: var(--forest); font-weight: 600; text-decoration: none; margin-right: 8px; }

/* ============================================================
   v4: bilingual site, proof-led home, case studies, consent
   ============================================================ */

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }

/* header: language switch + CTA */
.lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; font-family: var(--head); font-size: .76rem; font-weight: 600; flex: none; }
.lang a { padding: 6px 11px; text-decoration: none; color: var(--ink-2); line-height: 1; }
.lang a:hover { color: var(--forest); }
.lang a[aria-current] { background: var(--forest); color: #fff; }
.nav-cta { min-height: 40px; padding: 0 18px; font-size: .88rem; white-space: nowrap; flex: none; }
.nav { margin-left: auto; white-space: nowrap; }
.header-in { gap: 22px; }
@media (max-width: 1280px) { .nav-cta { display: none; } }
@media (max-width: 1040px) { .lang { margin-left: auto; } .menu-btn { margin-left: 0; } }

/* consent bar */
.consent-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 760px; margin: 0 auto; background: var(--surface);
  border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; display: flex; gap: 18px; align-items: center;
  font-family: var(--head); font-size: .86rem; line-height: 1.5; color: var(--ink-2); }
.consent-bar[hidden] { display: none; }
.consent-bar p { margin: 0; flex: 1; }
.consent-actions { display: flex; gap: 8px; flex: none; }
.consent-actions .btn { min-height: 38px; padding: 0 16px; font-size: .84rem; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linklike:hover { color: var(--forest); }
@media (max-width: 600px) { .consent-bar { flex-direction: column; align-items: stretch; } .consent-actions .btn { flex: 1; } }

/* footer: five columns */
.footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr 1.1fr; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* generic */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; font-weight: 700; color: var(--forest); margin: 2em 0 .5em; letter-spacing: -.02em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose.article .meta { font-family: var(--head); font-size: .8rem; color: var(--muted); margin: 0 0 1.6em; }
.h1-md { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.03em; line-height: 1.1; max-width: 22em; }
.table-wrap { overflow-x: auto; }
.mt { margin-top: 1.4rem; }
.fine { font-size: .92rem; color: var(--muted); margin-top: 2rem; }

/* home: proof strip */
.proof { background: var(--moss-tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 64px; }
.proof-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; padding-top: 30px; padding-bottom: 30px; }
.proof-big { font-family: var(--head); font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 600; color: var(--ink); margin: 0; line-height: 1.3; letter-spacing: -.02em; }
.proof-big strong { color: var(--forest); }
.proof-sub { margin: 8px 0 0; font-size: .95rem; color: var(--ink-2); }
.sector-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.sector-chips li { font-family: var(--head); font-size: .78rem; font-weight: 500; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink-2); }
@media (max-width: 900px) { .proof-in { grid-template-columns: 1fr; gap: 18px; } .sector-chips { justify-content: flex-start; } }

/* home: case rows */
.case-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.case-row:first-of-type { border-top: 0; }
.case-row.flip .case-shot { order: 2; }
.case-shot { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.case-shot img { display: block; width: 100%; height: auto; }
.case-text h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; margin: 6px 0 16px; }
.case-text h3 a { color: var(--forest); text-decoration: none; }
.case-dl { margin: 0 0 16px; display: grid; gap: 12px; }
.case-dl div { display: grid; grid-template-columns: 78px 1fr; gap: 14px; }
.case-dl dt { font-family: var(--head); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.case-dl dd { margin: 0; color: var(--ink-2); font-size: .98rem; line-height: 1.6; }
.case-text .cs-tags { margin-bottom: 20px; }
@media (max-width: 900px) { .case-row { grid-template-columns: 1fr; gap: 24px; padding: 28px 0; } .case-row.flip .case-shot { order: 0; } }
@media (max-width: 600px) { .case-dl div { grid-template-columns: 1fr; gap: 2px; } }

/* home: trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); padding: 34px 0; }
.trust-in { display: grid; gap: 18px; }
.trust-l { font-family: var(--head); font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.trust-list li { display: flex; gap: 12px; align-items: flex-start; font-family: var(--head); font-size: .82rem; line-height: 1.45; color: var(--ink-2); }
.trust-list img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.trust-ico { flex: none; width: 44px; height: 44px; border-radius: 8px; background: var(--moss-tint); color: var(--forest-deep); font-weight: 700; font-size: .72rem; display: grid; place-items: center; }
.trust-list a { color: var(--forest); }
.trust-more { margin: 0; font-family: var(--head); font-size: .86rem; }
.trust-more a { color: var(--forest); font-weight: 500; }
@media (max-width: 1100px) { .trust-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .trust-list { grid-template-columns: 1fr; } }

/* home FR */
.hero h1.long { font-size: clamp(2.1rem, 4.3vw, 3.4rem); line-height: 1.1; letter-spacing: -.03em; }
.hero-proof { margin: 18px 0 0; font-family: var(--head); font-size: .88rem; color: var(--muted); }
.ways.four .way { grid-template-columns: 200px 1fr 220px; }

/* index and case cards */
.card-constraint { font-size: .86rem; color: var(--ink-2); margin: 0 0 12px; line-height: 1.55; }
.card-constraint b { font-family: var(--head); font-weight: 600; color: var(--forest-deep); }
.card-stack { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }

/* case study */
.cs-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
.cs-text h2 { font-size: 1.35rem; font-weight: 700; color: var(--forest); margin: 1.8em 0 .4em; letter-spacing: -.02em; }
.cs-text h2:first-child { margin-top: 0; }
.cs-text p { color: var(--ink-2); }
.cs-facts { position: sticky; top: 100px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; font-family: var(--head); font-size: .86rem; }
.cs-facts dl { margin: 0 0 18px; }
.cs-facts dt { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.cs-facts dt:first-child { margin-top: 0; }
.cs-facts dd { margin: 4px 0 0; color: var(--ink); }
.cs-facts h3 { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.cs-connected { margin: 0; padding-left: 1.1em; color: var(--ink-2); font-size: .84rem; line-height: 1.55; }
.cs-connected li { margin-bottom: 6px; }
.cs-stack { display: flex; flex-wrap: wrap; gap: 6px; }
.cs-disclosure { font-family: var(--head); font-size: .8rem; color: var(--muted); margin: 16px 0 0; }
.shots-phone-only { max-width: 320px; margin: 0 auto; }
.rel-h { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin: 0 0 14px; }
.rel-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; font-family: var(--head); font-size: .9rem; }
.rel-list li { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line-2); border-radius: 8px; padding: 10px 14px; background: var(--surface); }
.rel-list a { color: var(--forest); font-weight: 500; text-decoration: none; }
.rel-list a:hover { text-decoration: underline; }
.rel-list span { font-size: .78rem; color: var(--muted); max-width: 24em; }
@media (max-width: 1000px) { .cs-body { grid-template-columns: 1fr; gap: 36px; } .cs-facts { position: static; } }

/* core pages */
.ops-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.ops-table th, .ops-table td { text-align: left; vertical-align: top; padding: 16px 18px; border-top: 1px solid var(--line); }
.ops-table tr:last-child th, .ops-table tr:last-child td { border-bottom: 1px solid var(--line); }
.ops-table th { width: 220px; font-family: var(--head); font-weight: 600; color: var(--forest); }
.ops-table td { color: var(--ink-2); }
@media (max-width: 700px) { .ops-table th, .ops-table td { display: block; width: auto; padding: 4px 0; border: 0; } .ops-table tr { display: block; padding: 14px 0; border-top: 1px solid var(--line); } }

.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.compare article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.compare article.hl { border-color: var(--forest); box-shadow: var(--shadow); }
.compare h3 { font-size: 1.15rem; color: var(--forest); margin-bottom: 8px; }
.compare p { margin: 0; color: var(--ink-2); font-size: .98rem; }
@media (max-width: 900px) { .compare { grid-template-columns: 1fr; } }

.founder { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.founder img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
@media (max-width: 700px) { .founder { grid-template-columns: 1fr; gap: 24px; } .founder img { max-width: 200px; } }

.three-fixed { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .three-fixed { grid-template-columns: 1fr; } }
.opt { font-weight: 400; color: var(--muted); font-size: .85em; }

/* mobile fixes: specific selectors must be overridden at their own specificity */
@media (max-width: 900px) {
  .ways.four .way { grid-template-columns: 1fr; gap: 8px; }
  .steps.three { grid-template-columns: 1fr; }
}
.step { min-width: 0; }

/* contact form: honeypot, error message, Cal.com loaded on demand */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: none; padding: 14px 16px; border-radius: 8px; background: #fbeceb; color: #8a2b22; font-family: var(--head); font-size: .92rem; }
.form-error a { color: inherit; text-decoration: underline; }
.cal-gate { padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cal-gate p { margin: 0; color: var(--ink-2); }
.cal-gate .cal-alt { font-size: .9rem; color: var(--muted); }
.cal-gate[hidden] { display: none; }
