/* KAI ZEN — kineziologija · site styles */

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FAF8F4;
  --warm: #F7F5EF;
  --paper: #FCFBF8;
  --green: #173F35;
  --green-2: #1F4A3E;
  --green-ink: #12332B;
  --sage: #9DAF9F;
  --sage-bg: #E2E6DB;
  --sage-line: #C9D0C5;
  --sand: #D8CCB8;
  --ink: #1D2422;
  --text: #555D5A;
  --muted: #5F6763;
  --line: #DCDDD5;
  --line-2: #C3C8C1;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec: clamp(72px, 8.5vw, 128px);
  --radius: 4px;
  --header-h: 72px;

  --fs-display: clamp(2.75rem, 1.35rem + 4.3vw, 5.25rem);
  --fs-h2: clamp(2.15rem, 1.25rem + 2.5vw, 3.5rem);
  --fs-h3: clamp(1.35rem, 1.15rem + .55vw, 1.7rem);
  --fs-lead: clamp(1.05rem, .98rem + .3vw, 1.2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern";
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--serif); font-weight: 500; font-variation-settings: "opsz" 72; letter-spacing: -.018em; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--green); color: var(--warm); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sec { position: relative; padding-block: var(--sec); overflow: hidden; }
.sec--green { background: var(--green); color: rgba(247, 245, 239, .78); }
.sec--green h2, .sec--green h3 { color: var(--warm); }
.sec--sage { background: var(--sage-bg); }

/* ---------- type ---------- */
.display { font-size: var(--fs-display); line-height: 1.02; font-weight: 560; letter-spacing: -.025em; }
.h2 { font-size: var(--fs-h2); line-height: 1.06; font-weight: 520; letter-spacing: -.022em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text); max-width: 34em; }
.eyebrow {
  display: flex; align-items: center; gap: 18px;
  margin: 0 0 22px;
  font: 600 .6875rem/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  color: #39443F;
}
.eyebrow::after { content: ""; flex: 0 0 46px; height: 1px; background: var(--line-2); }
.eyebrow--long::after { flex: 1 1 auto; max-width: 500px; }
.eyebrow--light { color: rgba(247, 245, 239, .78); }
.eyebrow--light::after { background: rgba(247, 245, 239, .45); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 13px 24px; border: 1px solid transparent; border-radius: 3px;
  font: 500 .9375rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--green { background: var(--green); color: var(--warm); }
.btn--green:hover { background: var(--green-ink); }
.btn--light { background: var(--warm); color: var(--green); }
.btn--light:hover { background: #fff; }
.btn--ghost { border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--green); }
.btn--lg, .sec .btn { font: 400 1.125rem/1.2 var(--serif); font-variation-settings: "opsz" 24; padding: 15px 30px; letter-spacing: 0; }
.btn--block { width: 100%; }
.arr { flex: none; transition: transform .2s ease; }
a:hover > .arr, button:hover > .arr { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 500; }
.link-arrow:hover { color: var(--green); }
.link-arrow--sm { font-size: .9375rem; }
.link-under {
  display: inline-flex; align-items: center; gap: 12px; padding-bottom: 6px;
  border-bottom: 1px solid currentColor; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .9375rem;
}
.link-under:hover { color: var(--green); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 244, .96); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__in { display: flex; align-items: center; gap: 32px; min-height: var(--header-h); }
.brand { display: block; color: var(--green); flex: none; }
.brand__mark { display: block; width: auto; height: 48px; }
@media (max-width: 600px) { .brand__mark { height: 40px; } }
.nav { margin-inline: auto; }
.nav ul { display: flex; gap: clamp(20px, 2.8vw, 44px); list-style: none; }
.nav a { display: block; padding: 8px 0; font-size: .9375rem; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--green); }
.nav a[aria-current="page"] { border-bottom-color: currentColor; }
.nav .nav__cta-mobile { display: none; }
.site-header__cta { padding: 11px 22px; }
.menu-btn { display: none; }

@media (max-width: 1000px) {
  .site-header__cta { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
    width: 44px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer;
  }
  .menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .menu-btn__bars { position: relative; }
  .menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
  .menu-btn__bars::before { top: -7px; }
  .menu-btn__bars::after { top: 7px; }
  .menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; margin: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 28px; display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 14px 0; font-size: 1.125rem; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { color: var(--green); border-bottom-color: var(--line); font-weight: 600; }
  .nav .nav__cta-mobile { display: flex; margin-top: 22px; padding: 14px 22px; border: 0; color: var(--warm); font-size: 1rem; }
}

/* ---------- hero ---------- */
.hero { position: relative; display: grid; min-height: clamp(520px, 64vh, 700px); overflow: hidden; background: #F2F0EB; }
.hero__media { position: absolute; inset: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 30%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(246, 245, 241, .94) 0%, rgba(246, 245, 241, .82) 24%, rgba(246, 245, 241, .28) 44%, rgba(246, 245, 241, 0) 58%);
}
.hero__in { position: relative; display: flex; align-items: center; padding-block: clamp(56px, 7vw, 96px); }
.hero__text { max-width: 560px; }
.hero h1 { margin-bottom: 18px; }
.hero__sub { margin: 0 0 22px; font: 400 clamp(1.5rem, 1.15rem + 1vw, 2.05rem)/1.2 var(--serif); font-variation-settings: "opsz" 36; color: var(--ink); letter-spacing: -.012em; }
.hero .lead { margin-bottom: 34px; }

@media (max-width: 760px) {
  .hero { display: block; min-height: 0; background: var(--bg); }
  .hero__media { position: relative; inset: auto; aspect-ratio: 4 / 3.1; order: 2; }
  .hero__img { object-position: 74% 30%; }
  .hero__media::after { background: linear-gradient(180deg, rgba(250, 248, 244, 0) 70%, rgba(250, 248, 244, .35) 100%); }
  .hero { display: flex; flex-direction: column-reverse; }
  .hero__in { padding-block: 40px 44px; }
}

/* ---------- pristop ---------- */
.pristop .h2 { margin-bottom: 22px; }
.pristop__lead { margin-bottom: clamp(44px, 5vw, 64px); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 960px; list-style: none; }
.pillar { position: relative; padding: 0 clamp(16px, 3vw, 44px); }
.pillar:first-child { padding-left: 0; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar__icon { width: 72px; height: 72px; margin-bottom: 22px; }
.pillar__title { font-size: var(--fs-h3); font-weight: 500; line-height: 1.2; }
.pillar__text { margin: 10px 0 0; font-size: .95rem; }
.pillar__rule { display: block; width: 44px; height: 1px; margin-top: 22px; background: var(--line-2); }
.leaf { position: absolute; pointer-events: none; user-select: none; z-index: 0; }
.sec > .wrap { position: relative; z-index: 1; }
.leaf--pristop { right: max(-60px, calc((100vw - var(--wrap)) / 2 - 220px)); bottom: -40px; width: clamp(220px, 24vw, 340px); opacity: .9; }

@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr; gap: 0; }
  .pillar, .pillar:first-child { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; align-items: center; padding: 20px 0; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }
  .pillar__icon { width: 64px; height: 64px; margin: 0; grid-row: span 2; }
  .pillar__rule { display: none; }
  .leaf--pristop { width: 180px; right: -70px; bottom: -30px; opacity: .55; }
}

/* ---------- proces (green) ---------- */
.proces .h2 { margin-bottom: clamp(36px, 4vw, 52px); }
.steps { --sg: clamp(14px, 2vw, 28px); display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin-inline: calc(-1 * var(--sg)); }
.step { padding: 0 var(--sg); }
.step + .step { border-left: 1px solid rgba(247, 245, 239, .2); }
.step__media { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 2px; margin-bottom: 28px; background: var(--green-2); }
.step__img { width: 100%; height: 100%; object-fit: cover; }
.step__num { display: block; margin-bottom: 14px; font: 300 clamp(2.4rem, 1.8rem + 1.6vw, 3.25rem)/1 var(--serif); font-variation-settings: "opsz" 72; color: var(--warm); letter-spacing: -.02em; }
.step__title { margin-bottom: 12px; font-size: var(--fs-h3); font-weight: 450; line-height: 1.2; }
.step__text { margin: 0; font-size: .975rem; line-height: 1.6; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 44px; margin-inline: 0; }
  .step { padding: 0; }
  .step + .step { border-left: 0; border-top: 1px solid rgba(247, 245, 239, .2); padding-top: 44px; }
  .step__text br { display: none; }
}

/* ---------- section head with link ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 3.5vw, 44px); }
@media (max-width: 640px) { .sec-head { flex-direction: column; align-items: flex-start; } }

/* ---------- article cards ---------- */
.cards { display: grid; gap: clamp(18px, 2vw, 28px); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.a-card { display: flex; flex-direction: column; }
.a-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px; margin-bottom: 18px; background: var(--sage-bg); }
.a-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.a-card:hover .a-card__media img { transform: scale(1.02); }
.a-card__cat { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 10px; font: 600 .6875rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.a-card__min { color: var(--muted); font-weight: 500; letter-spacing: .08em; }
.a-card__title { margin-bottom: 16px; font-size: clamp(1.3rem, 1.15rem + .4vw, 1.55rem); font-weight: 450; line-height: 1.22; }
.a-card__title a { text-decoration: none; }
.a-card__title a:hover { color: var(--green); }
.a-card .link-arrow { margin-top: auto; }
@media (max-width: 900px) { .cards--3 { grid-template-columns: 1fr 1fr; } .cards--3 > :nth-child(3) { display: none; } }
@media (max-width: 600px) { .cards--3 { grid-template-columns: 1fr; gap: 40px; } .cards--3 > :nth-child(3) { display: flex; } }

/* ---------- storitve cards ---------- */
.storitve .h2 { margin-bottom: clamp(36px, 4vw, 52px); }
.svc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2vw, 28px); }
.svc-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid #E7E4DC; border-radius: var(--radius); overflow: hidden; }
.svc-card__media { display: block; aspect-ratio: 1.55; overflow: hidden; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-card:hover .svc-card__media img { transform: scale(1.02); }
.svc-card__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: clamp(24px, 2.6vw, 34px); }
.svc-card__title { margin-bottom: 12px; font-size: clamp(1.6rem, 1.3rem + .8vw, 2.05rem); font-weight: 520; line-height: 1.12; }
.svc-card__text { margin-bottom: 26px; }
.svc-card .link-under { margin-top: auto; }
.leaf--storitve { top: 30px; right: max(-40px, calc((100vw - var(--wrap)) / 2 - 120px)); width: clamp(160px, 17vw, 240px); transform: rotate(8deg); opacity: .9; }
@media (max-width: 760px) { .svc-cards { grid-template-columns: 1fr; } .leaf--storitve { width: 130px; right: -30px; top: 20px; opacity: .6; } }

/* ---------- skupinska ---------- */
.skupinska__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.skupinska__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1.05; }
.skupinska__media img { width: 100%; height: 100%; object-fit: cover; }
.skupinska__text { max-width: 440px; }
.skupinska .eyebrow::after { flex-basis: 30px; }
.skupinska .h2 { margin-bottom: 22px; font-size: clamp(2.4rem, 1.3rem + 3vw, 4rem); }
.skupinska .lead { margin-bottom: 34px; }
.leaf--skupinska { right: max(-40px, calc((100vw - var(--wrap)) / 2 - 140px)); bottom: -20px; width: clamp(150px, 15vw, 220px); opacity: .75; }
@media (max-width: 900px) { .skupinska__grid { grid-template-columns: 1fr; } .skupinska__media { aspect-ratio: 4 / 3; } .leaf--skupinska { display: none; } }

/* ---------- kdo sem ---------- */
.kdo { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); }
.kdo__media { position: relative; min-height: 520px; overflow: hidden; background: var(--sage-bg); }
.kdo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 20%; }
.kdo__text { padding: var(--sec) var(--gutter) var(--sec) clamp(32px, 5vw, 80px); max-width: 660px; align-self: center; }
.kdo__name { margin-bottom: 8px; font-size: clamp(2.8rem, 1.6rem + 3.2vw, 4.75rem); }
.kdo__role { margin: 0 0 28px; font: 300 clamp(1.4rem, 1.2rem + .6vw, 1.85rem)/1.2 var(--sans); color: var(--ink); }
.kdo__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; color: #3E4643; margin-bottom: 40px; }
.quote { position: relative; margin: 0 0 32px; padding-left: clamp(56px, 6vw, 72px); }
.quote::before { content: "\201C"; position: absolute; left: 0; top: -.12em; font: 400 clamp(4rem, 3rem + 2vw, 5.25rem)/1 var(--serif); color: #B7C1B3; }
.quote p { margin: 0; font: italic 400 clamp(1.6rem, 1.2rem + 1.1vw, 2.25rem)/1.22 var(--serif); font-variation-settings: "opsz" 48; color: var(--ink); letter-spacing: -.01em; }
@media (max-width: 900px) {
  .kdo { grid-template-columns: 1fr; }
  .kdo__media { min-height: 0; aspect-ratio: 1 / 1; }
  .kdo__text { padding: 48px var(--gutter) 64px; max-width: none; }
  .kdo__lead br, .quote br { display: none; }
}

/* ---------- contact ---------- */
.contact { padding-bottom: clamp(64px, 7vw, 96px); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.contact__intro { padding-right: clamp(24px, 6vw, 96px); }
.contact__intro .h2 { margin-bottom: 22px; }
.contact__loc { display: flex; align-items: center; gap: 14px; margin-top: 30px; color: var(--ink); }
.contact__loc svg { color: var(--ink); }
.contact__form { padding-left: clamp(24px, 6vw, 96px); border-left: 1px solid var(--sage-line); }
.leaf--contact { left: -70px; bottom: -40px; width: clamp(200px, 22vw, 320px); opacity: .55; filter: blur(1.5px); transform: rotate(-20deg); }
@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact__intro { padding: 0; }
  .contact__form { padding: 36px 0 0; border-left: 0; border-top: 1px solid var(--sage-line); }
  .leaf--contact { display: none; }
}

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label, .field .label { font-size: .875rem; font-weight: 500; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid transparent; border-radius: 4px;
  background: #F8F7F2; color: var(--ink); font: 400 1rem/1.4 var(--sans);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px rgba(23, 63, 53, .12); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #A6503F; }
.form .btn--block { margin-top: 6px; }
.form__note { margin: 2px 0 0; font-size: .8125rem; color: var(--muted); }
.form__note a { color: var(--ink); }
.notice { padding: 16px 18px; border-radius: 4px; font-size: .95rem; }
.notice--ok { background: #F4F6F0; border: 1px solid var(--sage); color: var(--green); }
.notice--err { background: #FBF1EE; border: 1px solid #E2B9AF; color: #7A3426; margin-bottom: 18px; }

/* ---------- footer ---------- */
.site-footer { background: var(--sage-bg); color: var(--ink); }
.site-footer .wrap > .site-footer__row { border-top: 1px solid var(--sage-line); }
.site-footer__row { display: flex; align-items: center; gap: 32px; padding-block: 30px 26px; }
.site-footer__brand { display: grid; gap: 7px; text-decoration: none; color: var(--green); }
.site-footer__word { font: 500 1.6rem/1 var(--serif); letter-spacing: .14em; }
.site-footer__word svg { display: block; width: auto; height: 44px; }
.site-footer__tag { font: 500 .625rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 12px clamp(18px, 3vw, 40px); margin-left: auto; font-size: .875rem; }
.site-footer__nav a, .site-footer__legal { text-decoration: none; }
.site-footer__nav a:hover, .site-footer__legal:hover { color: var(--green); text-decoration: underline; }
.site-footer__legal { padding-left: 32px; border-left: 1px solid var(--sage-line); font-size: .8125rem; color: #4B5450; }
.site-footer__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 16px 0 26px; border-top: 1px solid rgba(201, 208, 197, .6); font-size: .8125rem; color: #5E6763; }
.site-footer__contact { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer__meta a { text-decoration: none; }
.site-footer__meta a:hover { color: var(--green); text-decoration: underline; }
body.is-home .site-footer .wrap > .site-footer__row { border-top-color: var(--sage-line); }
@media (max-width: 860px) {
  .site-footer__row { flex-direction: column; align-items: flex-start; gap: 22px; }
  .site-footer__nav { margin-left: 0; }
  .site-footer__legal { padding-left: 0; border-left: 0; }
}


/* =========================================================
   Subpages
   ========================================================= */
.wrap--narrow { max-width: calc(980px + 2 * var(--gutter)); }
.wrap--text { max-width: calc(760px + 2 * var(--gutter)); }
.sec--tight-top { padding-top: 0; }
.eyebrow--plain::after { display: none; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::before { content: ""; flex: 0 0 46px; height: 1px; background: rgba(247, 245, 239, .45); }
.h2--sm { font-size: clamp(2rem, 1.3rem + 1.9vw, 3rem); }
.muted { color: var(--muted); }
.small-note { margin-top: 28px; font-size: .8125rem; line-height: 1.55; color: var(--muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.prose-sm p { max-width: 36em; }

.page-head { padding-block: clamp(48px, 7vw, 104px) clamp(48px, 5vw, 72px); }
.page-head .display { margin-bottom: 24px; }
.page-head__lead { margin: 0; }
.page-head--404 { padding-bottom: var(--sec); }
.crumbs { margin: 0 0 22px; font-size: .8125rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green); text-decoration: underline; }

/* feature: image + text */
.feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: clamp(8px, 1vw, 16px); border-top: 1px solid var(--line); padding-block-start: clamp(40px, 5vw, 64px); }
.feature__media { aspect-ratio: 1.1; overflow: hidden; border-radius: var(--radius); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__text { max-width: 500px; }
.feature__text .h2 { margin-bottom: 22px; }
.feature__text .btn { margin-top: 12px; }
@media (max-width: 860px) { .feature__grid { grid-template-columns: 1fr; } .feature__media { aspect-ratio: 4 / 3; } }

/* text pillars (Pristop principles) */
.pillars--text { max-width: none; }
.pillar__icon--sm { width: 56px; height: 56px; margin-bottom: 20px; }
.pillars--text .pillar__text { max-width: 26em; color: var(--text); }
@media (max-width: 760px) { .pillars--text .pillar { grid-template-columns: 56px 1fr; } }

/* split: heading left, content right */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split__head .h2 { margin-bottom: 18px; }
.split__text { max-width: 26em; margin-bottom: 24px; }
@media (max-width: 860px) { .split, .split--wide { grid-template-columns: 1fr; } }

.checks { list-style: none; display: grid; gap: 0; margin-top: 24px; }
.checks li { position: relative; padding: 14px 0 14px 34px; color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 1.3em; width: 13px; height: 7px; border-left: 1.5px solid var(--green); border-bottom: 1.5px solid var(--green); transform: translateY(-60%) rotate(-45deg); }
.checks--lines { margin-top: 0; }
.checks--lines li { border-bottom: 1px solid var(--line); }
.checks--lines li:first-child { border-top: 1px solid var(--line); }
.sec--sage .checks--lines li { border-color: var(--sage-line); }

/* accordion */
.acc { border-top: 1px solid var(--line); }
.sec--sage .acc { border-color: var(--sage-line); }
.acc__item { border-bottom: 1px solid var(--line); }
.sec--sage .acc__item { border-color: var(--sage-line); }
.acc__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; color: var(--ink); font-weight: 500; }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary:hover { color: var(--green); }
.acc__icon { position: relative; flex: none; width: 14px; height: 14px; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 14px; height: 1.5px; background: currentColor; transition: transform .2s ease; }
.acc__icon::after { transform: rotate(90deg); }
.acc__item[open] .acc__icon::after { transform: rotate(0deg); }
.acc__body { padding: 0 0 22px; max-width: 40em; }
.acc__body p:last-child { margin-bottom: 0; }

.methods__in { max-width: calc(820px + 2 * var(--gutter)); }
.methods .h2 { margin-bottom: 16px; }
.methods__text { max-width: 34em; margin-bottom: 36px; }

/* green CTA band */
.cta-band { text-align: center; padding-block: clamp(72px, 8vw, 112px); }
.cta-band__in { display: flex; flex-direction: column; align-items: center; }
.cta-band .h2 { margin-bottom: 18px; }
.cta-band__text { max-width: 34em; margin-bottom: 32px; }
.cta-band .btn { font: 500 .9375rem/1.2 var(--sans); padding: 14px 26px; }

/* services list */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(32px, 3.5vw, 48px); border-top: 1px solid var(--line); }
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row__media { display: block; aspect-ratio: 1.5; overflow: hidden; border-radius: var(--radius); }
.svc-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-row:hover .svc-row__media img { transform: scale(1.02); }
.svc-row__text { max-width: 480px; }
.svc-row__title { margin-bottom: 14px; font-size: clamp(1.9rem, 1.4rem + 1.3vw, 2.6rem); line-height: 1.08; }
.svc-row__title a { text-decoration: none; }
.svc-row__title a:hover { color: var(--green); }
.svc-row .link-under { margin-top: 8px; }
@media (max-width: 860px) { .svc-row { grid-template-columns: 1fr; gap: 24px; } }

/* about page */
.about { padding-block: clamp(40px, 6vw, 88px) var(--sec); }
.about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about__media { aspect-ratio: .92; overflow: hidden; border-radius: var(--radius); }
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 25%; }
.about__name { margin-bottom: 6px; font-size: clamp(2.8rem, 1.6rem + 3.2vw, 4.75rem); }
.about__role { margin: 0 0 32px; font-size: .9375rem; color: var(--muted); letter-spacing: .02em; }
.quote--sm { padding-left: 52px; margin-bottom: 28px; }
.quote--sm::before { font-size: 4rem; }
.quote--sm p { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.95rem); }
.about__text .btn { margin-top: 10px; }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } .about__media { aspect-ratio: 1; } }

/* blog list */
.blog__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; margin-bottom: clamp(32px, 4vw, 48px); border-block: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 3px; font-size: .8125rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.chip:hover { border-color: var(--green); color: var(--green); }
.chip[aria-current="page"] { background: var(--green); border-color: var(--green); color: var(--warm); }
.search { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 3px; background: var(--paper); }
.search input { width: 220px; padding: 9px 12px; border: 0; background: transparent; font: inherit; font-size: .875rem; color: var(--ink); }
.search input:focus { outline: 0; }
.search:focus-within { border-color: var(--green); }
.search button { display: grid; place-items: center; width: 40px; height: 38px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.cards--grid { row-gap: clamp(40px, 4vw, 56px); }
.cards--grid > :nth-child(3) { display: flex; }
.empty { padding: 40px 0; color: var(--muted); }
@media (max-width: 600px) { .search, .search input { width: 100%; } }

/* single article */
.post__head { padding-block: clamp(40px, 6vw, 88px) clamp(32px, 4vw, 48px); }
.post__title { margin-bottom: 20px; font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem); line-height: 1.06; font-weight: 520; max-width: 18em; }
.post__head .lead { margin-bottom: 28px; }
.dot { display: inline-block; width: 3px; height: 3px; margin: 0 8px; border-radius: 50%; background: currentColor; vertical-align: middle; }
.byline { display: flex; align-items: center; gap: 14px; font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.byline strong { color: var(--ink); font-weight: 600; }
.byline__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sage-bg); color: var(--green); }
.byline__mark svg { width: 26px; height: auto; }
.post__hero { margin-bottom: clamp(40px, 5vw, 64px); }
.post__hero img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius); }
.post__grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-bottom: var(--sec); }
.post__grid:not(:has(.toc)) { grid-template-columns: minmax(0, 1fr); max-width: calc(720px + 2 * var(--gutter)); }
.toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; font-size: .8125rem; }
.toc__title { margin: 0 0 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .6875rem; color: var(--ink); }
.toc ol { list-style: none; border-top: 1px solid var(--line); }
.toc li { border-bottom: 1px solid var(--line); }
.toc a { display: block; padding: 10px 0; color: var(--text); text-decoration: none; line-height: 1.4; }
.toc a:hover { color: var(--green); }
.prose { max-width: 40em; font-size: 1.0625rem; line-height: 1.72; }
.prose h2 { margin: 1.8em 0 .55em; font-size: clamp(1.45rem, 1.25rem + .6vw, 1.85rem); font-weight: 500; line-height: 1.18; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.5em 0 .4em; font-size: 1.3rem; font-weight: 500; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.25em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--green); }
.prose a { color: var(--green); }
.prose blockquote { margin: 1.5em 0; padding-left: 24px; border-left: 2px solid var(--sage); font: italic 400 1.3rem/1.45 var(--serif); color: var(--ink); }
.next-step { margin-top: 44px; padding: clamp(24px, 3vw, 36px); background: var(--sage-bg); border-radius: var(--radius); }
.next-step__title { margin-bottom: 8px; font-size: clamp(1.5rem, 1.3rem + .6vw, 1.9rem); font-weight: 500; }
.legal h2 { margin-top: 1.6em; }
@media (max-width: 860px) { .post__grid { grid-template-columns: 1fr; } .toc { position: static; } }

/* contact page */
.contact-page__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.contact-page__info .h2 { margin-bottom: 28px; }
.contact-list { list-style: none; display: grid; gap: 16px; margin-bottom: 36px; }
.contact-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--ink); }
.contact-list svg { margin-top: 4px; color: var(--green); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--green); text-decoration: underline; }
.map-link { font-size: .875rem; color: var(--green) !important; text-decoration: underline !important; }
.mini-card { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-block: 1px solid var(--line); }
.mini-card__img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.mini-card__name { margin: 0; font: 500 1.35rem/1.2 var(--serif); color: var(--ink); }
.mini-card__role { margin: 0; font-size: .8125rem; color: var(--muted); }
.contact-page__form { background: var(--paper); border: 1px solid #E7E4DC; border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.form-hint { margin: 0 0 22px; padding: 12px 14px; background: var(--sage-bg); border-radius: 3px; font-size: .8125rem; color: #3E4643; }
.form--2 { grid-template-columns: 1fr 1fr; column-gap: 18px; }
.form--2 .field--full { grid-column: 1 / -1; }
.contact-page__form .field input, .contact-page__form .field textarea, .contact-page__form .field select { background: #fff; border-color: #DEDCD4; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231D2422' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.opt { margin-left: 6px; font-weight: 400; color: var(--muted); font-size: .8125rem; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .8125rem; line-height: 1.5; color: var(--text); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--green); }
.check a { color: var(--ink); }
@media (max-width: 860px) { .contact-page__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form--2 { grid-template-columns: 1fr; } }

.related .h2--sm { font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem); }
