/* CORSIA Carbon Credit — site styles */

:root {
  --paper: #f4f0e6;
  --paper-2: #ebe5d6;
  --card: #fbf9f3;
  --ink: #12211b;
  --ink-2: #3c4a43;
  --ink-3: #6a756e;
  --line: #d8d0bd;
  --line-2: #c7bda6;
  --forest: #10261f;
  --forest-2: #173a2f;
  --forest-line: #2a4a3f;
  --on-forest: #ece6d6;
  --on-forest-2: #a7b5ab;
  --moss: #2c6a4d;
  --moss-2: #245a41;
  --brass: #a8792a;
  --brass-soft: #e7d3a8;
  --clay: #a8512f;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--brass-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1.08; margin: 0; }
.display { font-size: clamp(2.6rem, 6.2vw, 5.1rem); letter-spacing: -0.03em; line-height: 1.0; }
.h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -0.025em; }
.h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.h3 { font-size: 1.45rem; line-height: 1.2; }
em.it, .it { font-style: italic; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); max-width: 60ch; line-height: 1.55; }
.eyebrow {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3); display: inline-flex; gap: 10px; align-items: center;
}
.eyebrow .n { color: var(--brass); }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; }
.muted { color: var(--ink-3); }
.small { font-size: 0.875rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 13px 20px; border-radius: var(--radius); border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 500;
  font-size: 0.95rem; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn:hover { background: var(--moss-2); border-color: var(--moss-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--brass-soft); border-color: var(--brass-soft); }
.btn--line-light { background: transparent; color: var(--on-forest); border-color: var(--forest-line); }
.btn--line-light:hover { border-color: var(--on-forest); background: transparent; }
.btn--sm { padding: 9px 14px; font-size: 0.875rem; }
.btn--block { width: 100%; }
.arrow { transition: transform .15s; }
.btn:hover .arrow, .link:hover .arrow { transform: translateX(3px); }
.link { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; display: inline-flex; gap: 8px; align-items: center; }
.link:hover { border-color: var(--ink); }

/* ---------- top strip + header ---------- */
.strip { background: var(--forest); color: var(--on-forest-2); font-size: 0.8rem; }
.strip .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.strip a { color: var(--on-forest); text-decoration: none; }
.strip a:hover { text-decoration: underline; }
.strip__l, .strip__r { display: flex; gap: 22px; align-items: center; }
.strip__parent { font-family: var(--mono); letter-spacing: 0.06em; font-size: 0.72rem; text-transform: uppercase; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(244, 240, 230, 0.94); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand__mark { width: 34px; height: 34px; color: var(--forest); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__top { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.24em; color: var(--ink-3); }
.brand__main { font-family: var(--serif); font-size: 1.32rem; letter-spacing: -0.01em; margin-top: 3px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; padding: 8px 12px; font-size: 0.92rem; color: var(--ink-2); border-radius: var(--radius); }
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--brass); border-radius: 0; }
.header__cta { display: flex; gap: 8px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 8px 12px; cursor: pointer; font-size: 0.875rem; }
.mobile-nav { display: none; }

@media (max-width: 1080px) {
  .nav, .header__cta { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav[data-open="true"] { display: block; border-top: 1px solid var(--line); background: var(--paper); }
  .mobile-nav a { display: block; padding: 14px var(--gutter); border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--serif); font-size: 1.3rem; }
  .mobile-nav .mobile-nav__cta { display: flex; gap: 10px; padding: 16px var(--gutter); }
  .mobile-nav .mobile-nav__cta a { border: 0; padding: 0; font-family: var(--sans); font-size: 0.95rem; }
  .mobile-nav .mobile-nav__cta .btn { padding: 12px 16px; }
}
@media (max-width: 640px) { .strip__r { display: none; } .strip__l span.hide-sm { display: none; } }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--rule { border-top: 1px solid var(--line); }
.section--paper2 { background: var(--paper-2); }
.section--forest { background: var(--forest); color: var(--on-forest); }
.section--forest .eyebrow, .section--forest .muted { color: var(--on-forest-2); }
.section--forest .lede { color: var(--on-forest-2); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head .eyebrow { margin-bottom: 18px; }
.sec-head p { margin: 16px 0 0; }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero h1 { margin: 22px 0 26px; }
.hero h1 em { font-style: italic; color: var(--moss); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero__note { margin-top: 28px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.85rem; color: var(--ink-3); }
.hero__note span { display: inline-flex; gap: 8px; align-items: center; }
.hero__note span::before { content: ""; width: 6px; height: 6px; background: var(--moss); border-radius: 50%; }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } }

/* market board */
.board { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 0 var(--line), 0 24px 48px -32px rgba(16, 38, 31, 0.35); }
.board__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.board__title { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); display: flex; gap: 10px; align-items: center; }
.board__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--moss); box-shadow: 0 0 0 3px rgba(44, 106, 77, 0.15); }
.board__date { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-3); }
.board table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.board th { text-align: left; font-weight: 500; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); padding: 10px 18px; border-bottom: 1px solid var(--line); }
.board td { padding: 12px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.board tr:last-child td { border-bottom: 0; }
.board tbody tr { transition: background .12s; cursor: pointer; }
.board tbody tr:hover { background: var(--paper); }
.board td a { text-decoration: none; }
.board__name { font-weight: 500; display: block; }
.board__meta { color: var(--ink-3); font-size: 0.78rem; }
.board .num { text-align: right; font-family: var(--mono); white-space: nowrap; }
.board__foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-top: 1px solid var(--line); background: var(--paper); font-size: 0.82rem; }
@media (max-width: 520px) { .board .hide-xs { display: none; } .board th, .board td { padding-left: 12px; padding-right: 12px; } }

/* figures strip */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.figure { padding: 28px var(--gutter) 30px 0; border-right: 1px solid var(--line); }
.figure + .figure { padding-left: clamp(16px, 2.5vw, 32px); }
.figure:last-child { border-right: 0; }
.figure__n { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.9rem); letter-spacing: -0.02em; line-height: 1; }
.figure__n small { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-3); letter-spacing: 0; margin-left: 4px; }
.figure__l { margin-top: 10px; color: var(--ink-3); font-size: 0.88rem; }
@media (max-width: 760px) {
  .figures { grid-template-columns: 1fr 1fr; }
  .figure { border-bottom: 1px solid var(--line); padding-left: 0 !important; padding-right: 12px; }
  .figure:nth-child(2n) { border-right: 0; padding-left: 16px !important; }
  .figure:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ---------- two sides ---------- */
.sides { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.side { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; }
.side + .side { border-left: 1px solid var(--line); }
.side h3 { margin: 14px 0 12px; }
.side p { color: var(--ink-2); margin: 0 0 22px; }
.ticks { list-style: none; margin: 0 0 30px; padding: 0; border-top: 1px solid var(--line); }
.ticks li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); position: relative; font-size: 0.95rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 7px; border-left: 1.5px solid var(--moss); border-bottom: 1.5px solid var(--moss); transform: rotate(-45deg); }
.side .actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 860px) { .sides { grid-template-columns: 1fr; } .side + .side { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- project cards ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1000px) { .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-cards { grid-template-columns: 1fr; } }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: border-color .15s, transform .2s, box-shadow .2s; }
.pcard:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: 0 18px 36px -28px rgba(16, 38, 31, 0.45); }
.pcard__img { position: relative; aspect-ratio: 16 / 10; background: var(--forest-2); overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; filter: saturate(0.85); }
.pcard:hover .pcard__img img { transform: scale(1.03); }
.pcard__cat { position: absolute; left: 12px; top: 12px; background: var(--paper); color: var(--ink); font-size: 0.72rem; font-family: var(--mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 9px; border-radius: 2px; }
.pcard__status { position: absolute; right: 12px; top: 12px; }
.pcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.pcard__meta { display: flex; justify-content: space-between; gap: 10px; font-size: 0.78rem; color: var(--ink-3); font-family: var(--mono); letter-spacing: 0.02em; }
.pcard h3 { font-size: 1.35rem; margin: 10px 0 4px; line-height: 1.15; }
.pcard__dev { font-size: 0.86rem; color: var(--ink-3); margin: 0 0 14px; }
.pcard__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; }
.kv__k { display: block; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.kv__v { font-family: var(--mono); font-size: 0.92rem; }
.price { text-align: right; }
.price b { font-family: var(--mono); font-weight: 500; font-size: 1.2rem; }
.price span { font-size: 0.72rem; color: var(--ink-3); font-family: var(--mono); display: block; }

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-family: var(--mono); letter-spacing: 0.04em; padding: 4px 8px; border-radius: 2px; background: var(--paper); color: var(--ink); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--Spot::before { background: var(--moss); }
.pill--Issued::before { background: #3d6f8e; }
.pill--Forward::before { background: var(--brass); }

.sdgs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 14px; }
.sdg { width: 26px; height: 26px; border-radius: 2px; color: #fff; font-family: var(--mono); font-size: 0.72rem; font-weight: 500; display: inline-grid; place-items: center; }
.sdg--lg { width: auto; height: auto; padding: 10px 12px; display: flex; gap: 10px; align-items: center; font-family: var(--sans); font-size: 0.86rem; }
.sdg--lg b { font-family: var(--mono); font-size: 1.1rem; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; border-top: 1px solid var(--forest-line); }
.step { padding: 28px 28px 8px 0; border-right: 1px solid var(--forest-line); }
.step + .step { padding-left: 28px; }
.step:last-child { border-right: 0; }
.step__n { font-family: var(--mono); color: var(--brass-soft); font-size: 0.78rem; letter-spacing: 0.1em; }
.step h3 { font-size: 1.35rem; margin: 18px 0 10px; }
.step p { color: var(--on-forest-2); font-size: 0.93rem; margin: 0; }
.section:not(.section--forest) .steps { border-color: var(--line); }
.section:not(.section--forest) .step { border-color: var(--line); }
.section:not(.section--forest) .step__n { color: var(--brass); }
.section:not(.section--forest) .step p { color: var(--ink-2); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step { padding: 24px 16px 24px 0 !important; border-bottom: 1px solid var(--forest-line); }
  .step:nth-child(2n) { border-right: 0; padding-left: 16px !important; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .step { border-right: 0; padding-left: 0 !important; } }

/* ---------- eligibility ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.conds { list-style: none; padding: 0; margin: 32px 0 0; counter-reset: c; }
.conds li { display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.conds li:last-child { border-bottom: 1px solid var(--line); }
.conds .no { font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--brass); grid-row: span 2; }
.conds b { font-weight: 500; font-size: 1.05rem; }
.conds p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.figure-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--forest); }
.figure-frame img { width: 100%; height: auto; }
.caption { font-size: 0.82rem; color: var(--ink-3); margin-top: 10px; font-family: var(--mono); }

/* ---------- categories ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cat { background: var(--paper); display: grid; grid-template-columns: 112px 1fr; gap: 18px; padding: 18px; text-decoration: none; align-items: center; transition: background .15s; }
.cat:hover { background: var(--card); }
.cat img { width: 112px; height: 84px; object-fit: cover; border-radius: 2px; filter: saturate(0.8); }
.cat h3 { font-size: 1.3rem; }
.cat p { margin: 4px 0 0; font-size: 0.86rem; color: var(--ink-3); }
.cat__n { font-family: var(--mono); font-size: 0.72rem; color: var(--brass); letter-spacing: 0.06em; }
@media (max-width: 1000px) { .cats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cats { grid-template-columns: 1fr; } .cat { grid-template-columns: 88px 1fr; } .cat img { width: 88px; height: 66px; } }

/* ---------- article cards / lists ---------- */
.acards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
@media (max-width: 1000px) { .acards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .acards { grid-template-columns: 1fr; } }
.acard { text-decoration: none; display: flex; flex-direction: column; }
.acard__img { aspect-ratio: 1200 / 630; background: var(--forest); border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; border: 1px solid var(--line); }
.acard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.acard:hover .acard__img img { transform: scale(1.02); }
.acard__meta { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-3); letter-spacing: 0.04em; display: flex; gap: 10px; text-transform: uppercase; }
.acard__meta .t { color: var(--brass); }
.acard h3 { font-size: 1.3rem; margin: 8px 0 8px; line-height: 1.2; }
.acard:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.acard p { margin: 0; color: var(--ink-2); font-size: 0.93rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.kb-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
@media (max-width: 860px) { .kb-index { grid-template-columns: 1fr; } }
.kb-group { padding: 26px 0 28px; border-top: 1px solid var(--line); }
.kb-group h3 { font-size: 1.35rem; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.kb-group h3 span { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-3); }
.kb-group ol { list-style: none; padding: 0; margin: 14px 0 0; }
.kb-group li a { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; padding: 9px 0; text-decoration: none; color: var(--ink-2); border-bottom: 1px dashed var(--line); font-size: 0.97rem; }
.kb-group li:last-child a { border-bottom: 0; }
.kb-group li a:hover { color: var(--ink); }
.kb-group li a:hover .go { opacity: 1; transform: translateX(0); }
.kb-group .i { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-3); padding-top: 2px; }
.kb-group .go { opacity: 0; transform: translateX(-4px); transition: .15s; color: var(--brass); }

/* ---------- page header ---------- */
.phead { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.phead h1 { margin: 18px 0 18px; max-width: 18ch; }
.phead .lede { margin: 0; }
.crumbs { font-family: var(--mono); font-size: 0.74rem; color: var(--ink-3); display: flex; gap: 8px; flex-wrap: wrap; letter-spacing: 0.02em; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- marketplace ---------- */
.mk-bar { position: sticky; top: 72px; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); padding: 14px 0; }
.mk-bar .wrap { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line-2); background: transparent; padding: 7px 12px; border-radius: 999px; font-size: 0.84rem; cursor: pointer; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; }
.chip span { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-3); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip[aria-pressed="true"] span { color: var(--on-forest-2); }
.mk-tools { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.field { border: 1px solid var(--line-2); background: var(--card); border-radius: var(--radius); padding: 8px 12px; font-size: 0.88rem; min-height: 38px; }
.field:focus { outline: none; border-color: var(--ink); }
.search { position: relative; }
.search input { padding-left: 34px; width: 220px; }
.search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--ink-3); }
.viewtoggle { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.viewtoggle button { background: var(--card); border: 0; padding: 0 12px; min-height: 36px; cursor: pointer; font-size: 0.82rem; color: var(--ink-3); }
.viewtoggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
@media (max-width: 760px) { .mk-bar { position: static; } .mk-tools { margin-left: 0; width: 100%; } .search, .search input { width: 100%; } .search { flex: 1 1 100%; } }
.mk-summary { display: flex; justify-content: space-between; gap: 12px; padding: 24px 0 18px; font-size: 0.88rem; color: var(--ink-3); flex-wrap: wrap; }
.mk-summary b { color: var(--ink); font-weight: 500; font-family: var(--mono); }
.empty { padding: 72px 0; text-align: center; color: var(--ink-3); display: none; }
.empty h3 { color: var(--ink); margin-bottom: 8px; }

.mk-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); font-size: 0.9rem; display: none; }
.mk-table th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 138px; }
.mk-table td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.mk-table tr:hover td { background: var(--paper); }
.mk-table td a { text-decoration: none; font-weight: 500; }
.mk-table td a:hover { text-decoration: underline; }
.mk-table .num { text-align: right; font-family: var(--mono); white-space: nowrap; }
.mk-table .sub { display: block; color: var(--ink-3); font-size: 0.8rem; font-weight: 400; }
[data-view="list"] .grid-cards { display: none; }
[data-view="list"] .mk-table { display: table; }
.table-scroll { overflow-x: auto; }

/* ---------- project detail ---------- */
.pd-hero { position: relative; height: clamp(260px, 38vw, 440px); background: var(--forest); overflow: hidden; }
.pd-hero img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; filter: saturate(0.85); }
.pd-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16, 38, 31, 0.55), rgba(16, 38, 31, 0) 55%); }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .pd-grid { grid-template-columns: 1fr; } }
.pd-head { padding: 36px 0 28px; border-bottom: 1px solid var(--line); }
.pd-head h1 { margin: 14px 0 10px; }
.pd-tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-family: var(--mono); font-size: 0.78rem; color: var(--ink-3); }
.pd-tags .sep { color: var(--line-2); }
.pd-block { padding: 36px 0; border-bottom: 1px solid var(--line); }
.pd-block:last-child { border-bottom: 0; }
.pd-block h2 { font-size: 1.6rem; margin-bottom: 18px; }
.pd-block > p { color: var(--ink-2); font-size: 1.05rem; max-width: 64ch; margin: 0 0 16px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--card); }
.facts > div { padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts > div:nth-child(3n) { border-right: 0; }
.facts > div:nth-last-child(-n+3) { border-bottom: 0; }
.facts .kv__v { font-size: 1rem; margin-top: 4px; display: block; }
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
  .facts > div:nth-child(2n) { border-right: 0 !important; }
}
.hl { list-style: none; padding: 0; margin: 0; }
.hl li { padding: 14px 0 14px 34px; border-top: 1px solid var(--line); position: relative; }
.hl li::before { content: counter(list-item, decimal-leading-zero); position: absolute; left: 0; top: 16px; font-family: var(--mono); font-size: 0.74rem; color: var(--brass); }
.docs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.docs li { border: 1px solid var(--line); padding: 14px 16px; display: flex; justify-content: space-between; gap: 12px; align-items: center; background: var(--card); font-size: 0.93rem; }
.docs li span { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 560px) { .docs { grid-template-columns: 1fr; } }
.buybox { position: sticky; top: 96px; margin-top: -120px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 48px -32px rgba(16, 38, 31, 0.45); z-index: 2; }
@media (max-width: 960px) { .buybox { position: static; margin-top: 0; } }
.buybox__top { padding: 22px 22px 18px; border-bottom: 1px solid var(--line); }
.buybox__price { font-family: var(--mono); font-size: 2.1rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1; margin-top: 8px; }
.buybox__price small { font-size: 0.85rem; color: var(--ink-3); font-weight: 400; margin-left: 4px; letter-spacing: 0; }
.buybox__rows { padding: 6px 22px; }
.buybox__rows div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.buybox__rows div:last-child { border-bottom: 0; }
.buybox__rows dt { color: var(--ink-3); }
.buybox__rows dd { margin: 0; font-family: var(--mono); }
.buybox__calc { padding: 18px 22px; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.buybox__calc label { font-size: 0.8rem; color: var(--ink-3); display: block; margin-bottom: 6px; }
.buybox__calc input { width: 100%; }
.buybox__total { display: flex; justify-content: space-between; margin-top: 12px; font-size: 0.9rem; }
.buybox__total b { font-family: var(--mono); font-weight: 500; }
.buybox__act { padding: 18px 22px 22px; display: grid; gap: 8px; }
.buybox__note { font-size: 0.78rem; color: var(--ink-3); margin: 6px 0 0; line-height: 1.5; }

/* ---------- prose (articles) ---------- */
.doc-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr) 220px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.doc-grid--2 { grid-template-columns: minmax(0, 1fr) 240px; max-width: 1040px; }
@media (max-width: 1160px) { .doc-grid { grid-template-columns: 230px minmax(0, 1fr); } .doc-grid .toc { display: none; } }
@media (max-width: 860px) { .doc-grid, .doc-grid--2 { grid-template-columns: 1fr; } .doc-grid .kbnav { display: none; } .doc-grid--2 .toc { display: none; } }
.kbnav, .toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; padding-bottom: 24px; font-size: 0.88rem; }
.kbnav h4, .toc h4 { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin: 22px 0 8px; font-weight: 500; }
.kbnav h4:first-child, .toc h4:first-child { margin-top: 0; }
.kbnav a, .toc a { display: block; text-decoration: none; color: var(--ink-2); padding: 5px 0 5px 12px; border-left: 1px solid var(--line); line-height: 1.4; }
.kbnav a:hover, .toc a:hover { color: var(--ink); border-color: var(--ink-3); }
.kbnav a[aria-current="page"] { color: var(--ink); border-color: var(--brass); font-weight: 500; }
.toc a.lvl3 { padding-left: 24px; font-size: 0.84rem; }
.toc a.active { color: var(--ink); border-color: var(--brass); }

.prose { font-size: 1.06rem; line-height: 1.72; color: var(--ink); max-width: 72ch; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin-bottom: 0; }
.prose > :first-child, .prose details > div > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.85rem; margin-top: 2.2em; padding-top: 0.6em; border-top: 1px solid var(--line); }
.prose h3 { font-size: 1.35rem; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.7em; }
.prose a { color: var(--moss); text-decoration: underline; text-decoration-color: rgba(44, 106, 77, 0.4); }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 0; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--brass); }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--brass); font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; color: var(--ink-2); }
.prose blockquote p + p { margin-top: 0.6em; }
.prose img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--forest); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose .tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.92rem; line-height: 1.5; }
.prose th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); background: var(--paper); padding: 11px 14px; border-bottom: 1px solid var(--line); }
.prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.prose details + details { margin-top: 8px; }
.prose summary { cursor: pointer; padding: 15px 48px 15px 18px; font-weight: 500; list-style: none; position: relative; }
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-family: var(--mono); color: var(--brass); font-size: 1.1rem; }
.prose details[open] summary::after { content: "–"; }
.prose details[open] summary { border-bottom: 1px solid var(--line); }
.prose details > div { padding: 16px 18px 18px; font-size: 0.99rem; }
.prose details > div > * + * { margin-top: 0.9em; }
.art-head { padding: clamp(36px, 5vw, 64px) 0 32px; }
.art-head h1 { margin: 18px 0 18px; max-width: 22ch; }
.art-meta { display: flex; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 0.76rem; color: var(--ink-3); margin-top: 22px; }
.art-cover { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--forest); margin-bottom: 40px; }
.art-cover img { width: 100%; height: auto; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.pager a { border: 1px solid var(--line); padding: 18px 20px; text-decoration: none; border-radius: var(--radius); background: var(--card); transition: border-color .15s; }
.pager a:hover { border-color: var(--ink); }
.pager span { display: block; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.pager b { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; line-height: 1.25; }
.pager .next { text-align: right; grid-column: 2; }
@media (max-width: 560px) { .pager { grid-template-columns: 1fr; } .pager .next { grid-column: 1; } }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 40px; }
.tags span { font-family: var(--mono); font-size: 0.74rem; border: 1px solid var(--line); padding: 4px 9px; border-radius: 999px; color: var(--ink-3); }
.callout { margin-top: 48px; background: var(--forest); color: var(--on-forest); padding: 28px; border-radius: var(--radius); display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.callout h3 { font-size: 1.45rem; }
.callout p { margin: 6px 0 0; color: var(--on-forest-2); font-size: 0.95rem; }
@media (max-width: 640px) { .callout { grid-template-columns: 1fr; } }

.kb-search { position: relative; max-width: 560px; margin-top: 28px; }
.kb-search input { width: 100%; padding: 15px 16px 15px 44px; font-size: 1rem; border: 1px solid var(--line-2); background: var(--card); border-radius: var(--radius); }
.kb-search input:focus { outline: none; border-color: var(--ink); }
.kb-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 17px; color: var(--ink-3); }
.kb-results { list-style: none; margin: 8px 0 0; padding: 0; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); display: none; max-height: 380px; overflow: auto; }
.kb-results a { display: block; padding: 12px 16px; text-decoration: none; border-bottom: 1px solid var(--line); }
.kb-results a:hover, .kb-results a:focus { background: var(--paper); outline: none; }
.kb-results small { display: block; color: var(--ink-3); font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- services ---------- */
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.svc-col { padding: 36px 40px 8px 0; }
.svc-col + .svc-col { padding: 36px 0 8px 40px; border-left: 1px solid var(--line); }
.svc-col h3 { font-size: 1.7rem; margin: 12px 0 14px; }
.svc-col > p { color: var(--ink-2); }
.numlist { list-style: none; padding: 0; margin: 20px 0 0; counter-reset: n; }
.numlist li { counter-increment: n; display: grid; grid-template-columns: 40px 1fr; padding: 13px 0; border-top: 1px solid var(--line); font-size: 0.96rem; }
.numlist li::before { content: counter(n, decimal-leading-zero); font-family: var(--mono); color: var(--brass); font-size: 0.78rem; padding-top: 3px; }
@media (max-width: 860px) { .svc-cols { grid-template-columns: 1fr; } .svc-col, .svc-col + .svc-col { padding: 32px 0 8px; border-left: 0; } .svc-col + .svc-col { border-top: 1px solid var(--line); } }
.criteria { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--forest-line); border: 1px solid var(--forest-line); }
.criteria div { background: var(--forest); padding: 24px 22px 26px; }
.criteria b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; margin: 12px 0 8px; color: var(--on-forest); }
.criteria p { margin: 0; font-size: 0.9rem; color: var(--on-forest-2); }
.criteria .n { font-family: var(--mono); font-size: 0.74rem; color: var(--brass-soft); }
@media (max-width: 960px) { .criteria { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .criteria { grid-template-columns: 1fr; } }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.timeline div { padding: 20px 20px 0 0; position: relative; }
.timeline div::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--paper); border: 2px solid var(--ink); border-radius: 50%; }
.timeline .yr { font-family: var(--mono); font-size: 0.82rem; color: var(--brass); }
.timeline b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; margin: 6px 0 6px; }
.timeline p { margin: 0; font-size: 0.9rem; color: var(--ink-2); }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr 1fr; gap: 28px 0; } }
@media (max-width: 480px) { .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--ink); padding-left: 20px; } .timeline div { padding: 0; } .timeline div::before { left: -28px; top: 4px; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 0; font-family: var(--serif); font-size: 1.3rem; position: relative; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 1.2rem; color: var(--brass); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 24px; color: var(--ink-2); max-width: 70ch; }
.support { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.support a { background: var(--paper); padding: 24px 22px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; transition: background .15s; }
.support a:hover { background: var(--card); }
.support b { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; }
.support p { margin: 0; color: var(--ink-3); font-size: 0.9rem; }
.support .ext { margin-top: auto; padding-top: 10px; font-family: var(--mono); font-size: 0.72rem; color: var(--brass); letter-spacing: 0.04em; }
@media (max-width: 960px) { .support { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .support { grid-template-columns: 1fr; } }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
.calc__in { padding: clamp(24px, 3.5vw, 40px); }
.calc__out { padding: clamp(24px, 3.5vw, 40px); background: var(--forest); color: var(--on-forest); border-radius: 0 var(--radius) var(--radius) 0; }
@media (max-width: 900px) { .calc__out { border-radius: 0 0 var(--radius) var(--radius); } }
.fgroup { margin-bottom: 22px; }
.fgroup label, .flabel { display: block; font-size: 0.86rem; font-weight: 500; margin-bottom: 6px; }
.fgroup .hint { font-size: 0.8rem; color: var(--ink-3); margin-top: 6px; }
.fgroup input, .fgroup select, .fgroup textarea { width: 100%; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .frow { grid-template-columns: 1fr; } }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; }
.seg button { border: 0; background: transparent; padding: 8px 14px; cursor: pointer; font-size: 0.86rem; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.out-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--forest-line); font-size: 0.93rem; }
.out-row span { color: var(--on-forest-2); }
.out-row b { font-family: var(--mono); font-weight: 500; }
.out-big { padding: 26px 0 22px; border-bottom: 1px solid var(--forest-line); }
.out-big .k { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-forest-2); }
.out-big .v { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1.05; margin-top: 8px; letter-spacing: -0.02em; }
.out-big .v small { font-family: var(--mono); font-size: 0.9rem; color: var(--on-forest-2); letter-spacing: 0; }
.formula { font-family: var(--mono); font-size: 0.8rem; color: var(--on-forest-2); background: rgba(0, 0, 0, 0.18); padding: 12px 14px; border-radius: var(--radius); margin-top: 22px; line-height: 1.7; }

/* ---------- about / team / contact ---------- */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .team { grid-template-columns: 1fr; } }
.member { display: grid; grid-template-columns: 150px 1fr; gap: 22px; border: 1px solid var(--line); background: var(--card); padding: 18px; border-radius: var(--radius); }
.member img { width: 150px; height: 180px; object-fit: cover; object-position: top; border-radius: 2px; background: var(--paper-2); filter: grayscale(0.25); }
.member h3 { font-size: 1.45rem; }
.member .role { font-family: var(--mono); font-size: 0.74rem; color: var(--brass); letter-spacing: 0.04em; text-transform: uppercase; margin: 6px 0 12px; }
.member p { font-size: 0.93rem; color: var(--ink-2); margin: 0 0 12px; }
.member .links { display: flex; gap: 14px; font-size: 0.86rem; }
@media (max-width: 460px) { .member { grid-template-columns: 1fr; } .member img { width: 100%; height: 260px; } }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.values div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.values b { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; display: block; margin-bottom: 8px; }
.values p { margin: 0; font-size: 0.93rem; color: var(--ink-2); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.cinfo { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.cinfo li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.cinfo .k { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); display: block; margin-bottom: 4px; }
.cinfo a, .cinfo span.v { font-size: 1.08rem; text-decoration: none; }
.cinfo a:hover { text-decoration: underline; }
.form { border: 1px solid var(--line); background: var(--card); padding: clamp(22px, 3.5vw, 36px); border-radius: var(--radius); }
.form .field { width: 100%; }
.form textarea { min-height: 140px; resize: vertical; }
.form__actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.form__ok { display: none; margin-top: 14px; padding: 12px 14px; border-left: 2px solid var(--moss); background: var(--paper); font-size: 0.9rem; }
.map { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4) sepia(0.12); }

/* ---------- CTA band + footer ---------- */
.cta-band { background: var(--forest); color: var(--on-forest); padding: clamp(56px, 8vw, 104px) 0; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: end; }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -0.025em; }
.cta-band h2 em { color: var(--brass-soft); }
.cta-band p { color: var(--on-forest-2); margin: 18px 0 0; max-width: 52ch; }
.cta-band__act { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cta-band__act .row { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-band__phone { font-family: var(--mono); font-size: 0.9rem; color: var(--on-forest-2); margin-top: 8px; }
.cta-band__phone a { color: var(--on-forest); }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } }

.footer { background: #0b1b16; color: var(--on-forest-2); font-size: 0.9rem; padding: 64px 0 28px; }
.footer a { color: var(--on-forest); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-bottom: 44px; border-bottom: 1px solid var(--forest-line); }
.footer .brand { color: var(--on-forest); }
.footer .brand__mark { color: var(--on-forest); }
.footer .brand__top { color: var(--on-forest-2); }
.footer__about { margin: 18px 0 0; max-width: 34ch; line-height: 1.6; }
.footer h4 { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-forest-2); font-weight: 500; margin: 6px 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; font-size: 0.8rem; flex-wrap: wrap; }
.footer__legal { max-width: 70ch; line-height: 1.6; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- misc ---------- */
.two-col-text { columns: 2; column-gap: 48px; color: var(--ink-2); }
.two-col-text p { margin: 0 0 1em; break-inside: avoid; }
@media (max-width: 760px) { .two-col-text { columns: 1; } }
.legal { max-width: 72ch; }
.more { text-align: center; margin-top: 40px; }
.hidden { display: none !important; }
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } .reveal { opacity: 1; transform: none; } }
@media print { .header, .strip, .footer, .cta-band, .buybox, .kbnav, .toc { display: none !important; } }

/* mobile buy bar on project pages */
.mbar { display: none; }
@media (max-width: 960px) {
  .mbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--card); border-top: 1px solid var(--line); padding: 10px var(--gutter); box-shadow: 0 -12px 24px -18px rgba(16, 38, 31, 0.4); }
  .mbar b { font-size: 1.15rem; font-weight: 500; }
  .mbar + .section { padding-bottom: 100px; }
  body:has(.mbar) .footer { padding-bottom: 88px; }
}

/* ---------- header on scroll ---------- */
.header { transition: box-shadow .2s, background .2s; }
.header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(16, 38, 31, 0.55); background: rgba(244, 240, 230, 0.97); }

/* ---------- hero topography ---------- */
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero__topo {
  position: absolute; right: -8%; top: -6%; width: 70%; height: 112%; color: var(--line-2); opacity: 0.55; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent);
}
@media (max-width: 960px) { .hero__topo { width: 140%; right: -40%; top: 30%; opacity: 0.4; } }

/* ---------- programme strip ---------- */
.progs { border-bottom: 1px solid var(--line); }
.progs__in { display: flex; align-items: center; gap: 28px; padding-top: 20px; padding-bottom: 20px; }
.progs__k { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); flex-shrink: 0; max-width: 150px; line-height: 1.5; }
.progs__track { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.progs__row { display: flex; gap: 44px; width: max-content; animation: progs 48s linear infinite; }
.progs__row span { font-family: var(--serif); font-size: 1.28rem; color: var(--ink-2); white-space: nowrap; display: inline-flex; align-items: center; gap: 44px; }
.progs__row span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); opacity: 0.7; }
.progs:hover .progs__row { animation-play-state: paused; }
@keyframes progs { to { transform: translateX(-50%); } }
@media (max-width: 640px) { .progs__in { flex-direction: column; align-items: flex-start; gap: 12px; } .progs__k { max-width: none; } .progs__track { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .progs__row { flex-wrap: wrap; width: auto; gap: 10px 28px; } .progs__row span[aria-hidden] { display: none; } }

/* ---------- price range chart ---------- */
.pr { margin: 0; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 16px; }
.pr__axis { display: grid; grid-template-columns: 150px 1fr; gap: 16px; margin-bottom: 6px; }
.pr__scale { position: relative; height: 16px; }
.pr__scale span { position: absolute; transform: translateX(-50%); font-family: var(--mono); font-size: 0.68rem; color: var(--ink-3); }
.pr__row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; padding: 10px 0; text-decoration: none; border-top: 1px solid var(--line); }
.pr__row:hover .pr__bar { background: var(--moss-2); }
.pr__row:hover .pr__name { color: var(--moss); }
.pr__name { font-size: 0.92rem; font-weight: 500; line-height: 1.2; transition: color .15s; }
.pr__name small { display: block; font-weight: 400; font-family: var(--mono); font-size: 0.68rem; color: var(--ink-3); margin-top: 3px; }
.pr__track { position: relative; height: 34px; }
.pr__grid { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); opacity: 0.7; }
.pr__bar { position: absolute; top: 9px; height: 8px; border-radius: 4px; background: var(--moss); transition: background .15s; }
.pr__mid { position: absolute; top: 5px; width: 2px; height: 16px; margin-left: -1px; background: var(--ink); box-shadow: 0 0 0 2px var(--card); border-radius: 1px; }
.pr__lab { position: absolute; top: 21px; font-family: var(--mono); font-size: 0.66rem; color: var(--ink-3); white-space: nowrap; }
.pr__lab--min { transform: translateX(-100%); padding-right: 2px; }
.pr__lab--max { padding-left: 2px; }
.pr__cap { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--ink-3); }
.pr__key { display: inline-flex; gap: 7px; align-items: center; color: var(--ink-2); }
.k-bar { width: 18px; height: 8px; border-radius: 4px; background: var(--moss); display: inline-block; }
.k-mid { width: 2px; height: 14px; background: var(--ink); display: inline-block; }
.pr__tip { position: absolute; z-index: 5; background: var(--ink); color: var(--paper); font-size: 0.78rem; padding: 7px 10px; border-radius: 3px; pointer-events: none; white-space: nowrap; font-family: var(--mono); transform: translate(-50%, -120%); }
@media (max-width: 520px) { .pr { padding: 16px 14px 12px; } .pr__axis, .pr__row { grid-template-columns: 96px 1fr; gap: 10px; } .pr__name { font-size: 0.84rem; } }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; display: inline-flex; align-items: center; gap: 0; height: 56px; min-width: 56px; padding: 0 15px; border-radius: 28px;
  background: #1f8f4e; color: #fff; text-decoration: none; box-shadow: 0 14px 30px -12px rgba(16, 38, 31, 0.6);
  transition: gap .25s, background .15s, transform .15s;
}
.wa-float svg { width: 26px; height: 26px; flex-shrink: 0; }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 500; font-size: 0.92rem; transition: max-width .3s ease; }
.wa-float:hover, .wa-float:focus-visible { background: #19783f; gap: 10px; transform: translateY(-1px); }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 160px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #1f8f4e; opacity: 0; animation: wa-ring 3.2s ease-out 2s 3; pointer-events: none; }
@keyframes wa-ring { 0% { opacity: .6; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.35); } }
@media (max-width: 960px) { body:has(.mbar) .wa-float { bottom: 78px; } }
@media (max-width: 520px) { .wa-float { right: 16px; bottom: 16px; height: 52px; min-width: 52px; padding: 0 13px; } }
@media print { .wa-float { display: none; } }
.btn-wa-ico { display: inline-flex; }
.btn-wa-ico svg { width: 17px; height: 17px; display: block; }
