/* ——— tokens ——— */
:root {
  --ink: oklch(0.18 0.01 150);
  --ink-2: oklch(0.36 0.01 150);
  --ink-3: oklch(0.56 0.01 150);
  --line: oklch(0.85 0.01 120);
  --line-soft: oklch(0.90 0.01 120);

  --bg: oklch(0.965 0.010 85);
  --bg-warm: oklch(0.945 0.014 82);
  --paper: oklch(0.985 0.006 85);

  --forest: oklch(0.26 0.040 155);
  --forest-2: oklch(0.19 0.030 155);
  --forest-3: oklch(0.33 0.045 155);

  --gold: oklch(0.74 0.090 80);
  --gold-2: oklch(0.65 0.110 72);

  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --page-x: clamp(24px, 5vw, 72px);
  --page-max: 1360px;
  --section-y: clamp(96px, 12vw, 180px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.page { overflow-x: hidden; }

/* ——— type primitives ——— */
.mono-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.mono-label--light { color: oklch(0.78 0.020 120); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 7.2vw, 108px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--forest);
}

.h-display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 18px 0 0;
  color: var(--ink);
}
.h-display em { font-style: italic; color: var(--forest); font-weight: 400; }
.h-display--light, .h-display--light em { color: oklch(0.98 0.005 85); }
.h-display--light em { color: var(--gold); }

.lede {
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.55;
  max-width: 50ch;
  color: var(--ink-2);
  margin: 22px 0 36px;
}

/* ——— buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  letter-spacing: 0.02em;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn--solid {
  background: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
}
.btn--solid:hover { background: var(--forest-2); border-color: var(--forest-2); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  padding: 10px 20px;
  font-size: 13px;
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--link {
  background: transparent;
  padding: 14px 8px;
  border: none;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
}
.btn--link:hover { color: var(--forest); border-color: var(--forest); }
.btn--gold {
  background: var(--gold);
  color: var(--forest-2);
  border-color: var(--gold);
  font-weight: 500;
}
.btn--gold:hover { background: var(--gold-2); border-color: var(--gold-2); }

/* ——— nav ——— */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--page-x);
  z-index: 50;
  background: transparent;
  transition: background 0.4s ease, padding 0.3s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: oklch(0.965 0.010 85 / 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px var(--page-x);
  border-bottom-color: var(--line-soft);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.nav__mark {
  width: 22px;
  height: 22px;
  display: inline-flex;
  color: var(--forest);
}
.nav__mark svg { width: 100%; height: 100%; }
.nav__mark-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}
.nav__wordmark {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--ink);
}
.nav__links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav__links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--forest); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--forest);
  transition: right 0.3s ease;
}
.nav__links a:hover::after { right: 0; }

/* hamburger toggle — hidden on desktop */
.nav__hamburger {
  display: none !important;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 60;
  -webkit-tap-highlight-color: transparent;
}
.nav__hamburger svg { width: 24px; height: 24px; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; fill: none; }
.nav__hamburger .ham-close { display: none; }
.nav.is-menu-open .nav__hamburger .ham-open { display: none; }
.nav.is-menu-open .nav__hamburger .ham-close { display: block; }

@media (max-width: 820px) {
  .nav__hamburger { display: flex !important; align-items: center; order: 3; }
  .nav__right { display: none; }

  /* When menu is open, kill the nav's backdrop-filter so it doesn't
     create a stacking context that traps the fixed-position overlay */
  .nav.is-menu-open {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav__links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: oklch(0.975 0.008 85 / 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    font-size: 20px;
    z-index: 55;
    padding: 80px 32px 40px;
  }
  .nav__links a { color: var(--ink); }
  .nav__links a::after { display: none; }

  .nav.is-menu-open .nav__links {
    display: flex;
  }
  .nav.is-menu-open .nav__right {
    display: block;
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 56;
  }
}

/* ——— hero ——— */
.hero {
  position: relative;
  padding: 160px var(--page-x) var(--section-y);
  max-width: var(--page-max);
  margin: 0 auto;
}
.hero__grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  align-items: end;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--line);
}
.hero__meta { writing-mode: vertical-rl; transform: rotate(180deg); padding-bottom: 8px; }
.hero__copy { max-width: 900px; }
.hero__side {
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: right;
  min-width: 180px;
}
.hero__stat-val {
  font-family: var(--serif);
  display: block;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1;
  margin-top: 8px;
  color: var(--ink);
}
.hero__stat-val span {
  font-family: var(--serif);
  color: var(--gold-2);
  font-size: 0.6em;
  margin-left: 2px;
}
.hero__cta {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero { padding-top: 120px; }
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__meta { writing-mode: horizontal-tb; transform: none; }
  .hero__side { flex-direction: row; text-align: left; }
}

/* hero plates */
.hero__plate {
  position: relative;
  margin-top: 72px;
  height: clamp(380px, 48vw, 600px);
}
.plate {
  position: relative;
  overflow: hidden;
  background-color: oklch(0.88 0.010 110);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
}
.plate:not([style*="background-image"]) {
  background-image: repeating-linear-gradient(135deg,
      oklch(0.88 0.010 110) 0 2px,
      oklch(0.91 0.010 110) 2px 10px);
}
.plate--main {
  position: absolute;
  top: 0; left: 6%;
  width: 62%;
  height: 100%;
}
.plate--sm {
  position: absolute;
  width: 28%;
  height: 42%;
  color: oklch(0.95 0.01 85);
}
.plate--sm:not([style*="background-image"]) {
  background-image: repeating-linear-gradient(135deg,
      oklch(0.25 0.030 155) 0 2px,
      oklch(0.30 0.030 155) 2px 10px);
}
.plate--a { top: 8%; right: 2%; }
.plate--b { bottom: 0; right: 14%; width: 22%; height: 34%; }
.plate__caption {
  position: absolute;
  left: 16px; bottom: 14px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(0.97 0.005 85);
  opacity: 0.95;
  text-shadow: 0 1px 4px oklch(0.18 0.01 150 / 0.6);
  z-index: 2;
}
.plate__caption::before {
  content: "";
  position: absolute;
  inset: -20px -20px -16px -20px;
  background: linear-gradient(to top, oklch(0.18 0.01 150 / 0.55), transparent);
  z-index: -1;
  pointer-events: none;
}
.plate--sm .plate__caption { color: oklch(0.97 0.005 85); opacity: 0.95; }

@media (max-width: 700px) {
  .plate--main { width: 100%; left: 0; height: 70%; }
  .plate--a { width: 40%; right: 0; top: auto; bottom: 4%; height: 28%; }
  .plate--b { display: none; }
}

.scroll-cue {
  position: absolute;
  left: var(--page-x);
  bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.scroll-cue i {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--ink-3) 0%, var(--ink-3) 50%, transparent 50%);
  background-size: 1px 8px;
  animation: cue 2s linear infinite;
}
@keyframes cue {
  0% { background-position: 0 -8px; }
  100% { background-position: 0 8px; }
}

/* ——— trust marquee ——— */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-warm);
  padding: 24px var(--page-x);
  overflow: hidden;
}
.trust__inner {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: var(--page-max);
  margin: 0 auto;
}
.trust__city {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--forest);
}
.trust__dot { color: var(--ink-3); }

/* ——— generic section ——— */
.section {
  padding: var(--section-y) var(--page-x);
  max-width: var(--page-max);
  margin: 0 auto;
}
.section__head { margin-bottom: 72px; max-width: 720px; }
.section__head--split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
  max-width: none;
}
.section__head--split > div { max-width: 640px; }
.section__head--center {
  text-align: center;
  margin: 0 auto 64px;
}
.section__sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
@media (max-width: 820px) {
  .section__head--split { grid-template-columns: 1fr; gap: 24px; }
}

/* ——— approach ——— */
.approach { border-top: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 0; }
.step {
  display: grid;
  grid-template-columns: 100px 1.4fr 1fr;
  gap: 56px;
  align-items: start;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 44px;
  color: var(--gold-2);
  line-height: 1;
}
.step__body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.step__body p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  max-width: 48ch;
}
.step__plate { width: 100%; aspect-ratio: 4/3; }
.plate--step {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: oklch(0.88 0.010 110);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
}
.plate--step:not([style*="background-image"]) {
  background-image: repeating-linear-gradient(135deg,
      oklch(0.88 0.010 110) 0 2px,
      oklch(0.91 0.010 110) 2px 10px);
}
.plate--step.plate--alt:not([style*="background-image"]) {
  background-image: repeating-linear-gradient(135deg,
      oklch(0.25 0.030 155) 0 2px,
      oklch(0.30 0.030 155) 2px 10px);
}
.plate--step.plate--alt .plate__caption { color: oklch(0.97 0.005 85); opacity: 0.95; }

@media (max-width: 820px) {
  .step { grid-template-columns: 60px 1fr; gap: 24px; }
  .step__plate { grid-column: 1 / -1; margin-top: 8px; }
  .step__num { font-size: 32px; }
}

/* ——— why / pillars ——— */
.why { border-top: 1px solid var(--line); }
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pillar {
  background: var(--paper);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.pillar header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 4px;
}
.pillar__num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-2);
  font-size: 18px;
}
.pillar h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.pillar p {
  color: var(--ink-2);
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
}
.pillar__tag {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
}
@media (max-width: 820px) {
  .pillars { grid-template-columns: 1fr; }
}

/* ——— results ——— */
.results { max-width: none; padding: 0; margin-top: 0; }
.results__inner {
  background: var(--forest);
  color: var(--paper);
  padding: var(--section-y) var(--page-x);
  position: relative;
  overflow: hidden;
}
.results__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, oklch(0.33 0.045 155) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, oklch(0.22 0.035 155) 0%, transparent 50%);
  opacity: 0.6;
  pointer-events: none;
}
.results__inner > * { position: relative; }
.figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  max-width: 1200px;
  margin-inline: auto;
  background: oklch(0.33 0.045 155);
  border: 1px solid oklch(0.33 0.045 155);
}
.figure {
  background: var(--forest);
  padding: 48px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.figure__val {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
  margin: 0;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 820px) {
  .figures { grid-template-columns: repeat(2, 1fr); max-width: calc(100vw - 2 * var(--page-x)); }
  .figure { padding: 32px 16px; }
  .figure__val { font-size: clamp(36px, 8vw, 56px); }
}

/* ——— testimonials / carousel ——— */
.testimonials { border-top: 1px solid var(--line); }
.carousel {
  position: relative;
  margin-top: 24px;
}
.carousel__track {
  overflow: hidden;
  position: relative;
}
.quote {
  display: none;
  margin: 0;
  padding: 0 clamp(0px, 4vw, 64px);
  animation: fade 0.6s ease;
}
.quote.is-active { display: block; }
@keyframes fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.quote blockquote {
  position: relative;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 2.8vw, 42px);
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.quote__mark {
  font-family: var(--serif);
  font-size: 4em;
  line-height: 0;
  color: var(--gold);
  display: block;
  height: 0;
  transform: translate(-0.1em, 0.25em);
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
}
.quote figcaption {
  margin-top: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.quote__name {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
}
.quote__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
  transition: all 0.2s ease;
  z-index: 2;
}
.carousel__btn:hover { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.carousel__btn--prev { left: 0; }
.carousel__btn--next { right: 0; }
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
}
.carousel__dot {
  width: 24px;
  height: 2px;
  background: var(--line);
  border: none;
  padding: 0;
  transition: background 0.2s;
  cursor: pointer;
}
.carousel__dot.is-active { background: var(--forest); }

@media (max-width: 600px) {
  .carousel__btn--prev { left: -12px; }
  .carousel__btn--next { right: -12px; }
}

/* ——— faq accordion ——— */
.faq { border-top: 1px solid var(--line); }
.accordion { border-top: 1px solid var(--ink); }
.q {
  border-bottom: 1px solid var(--line);
}
.q summary {
  list-style: none;
  cursor: pointer;
  padding: 32px 0;
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  gap: 24px;
  align-items: center;
  transition: color 0.2s ease;
}
.q summary::-webkit-details-marker { display: none; }
.q summary:hover { color: var(--forest); }
.q__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.q__text {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 24px);
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.q__chev {
  width: 14px; height: 14px;
  justify-self: end;
  position: relative;
}
.q__chev::before, .q__chev::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.3s ease;
}
.q__chev::before { left: 0; right: 0; top: 50%; height: 1px; transform: translateY(-50%); }
.q__chev::after { top: 0; bottom: 0; left: 50%; width: 1px; transform: translateX(-50%); }
.q[open] .q__chev::after { transform: translateX(-50%) scaleY(0); }
.q__body {
  padding: 0 0 36px 84px;
  max-width: 680px;
  overflow: hidden;
  animation: revealBody 0.4s ease;
}
.q__body p {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
}
.q__body strong { color: var(--forest); font-weight: 500; }
@keyframes revealBody {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 700px) {
  .q summary { grid-template-columns: 40px 1fr 28px; gap: 12px; padding: 24px 0; }
  .q__body { padding-left: 52px; padding-bottom: 24px; }
}

/* ——— journal ——— */
.journal { border-top: 1px solid var(--line); }
.articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 24px;
}
.article {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0;
  transition: transform 0.4s ease;
}
.article:hover { transform: translateY(-4px); }
.article__plate { width: 100%; aspect-ratio: 4/3; }
.plate--art {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: oklch(0.88 0.010 110);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  transition: all 0.4s ease;
}
.plate--art:not([style*="background-image"]) {
  background-image: repeating-linear-gradient(135deg,
      oklch(0.88 0.010 110) 0 2px,
      oklch(0.91 0.010 110) 2px 10px);
}
.plate--art-2:not([style*="background-image"]) {
  background-image: repeating-linear-gradient(135deg,
      oklch(0.28 0.035 155) 0 2px,
      oklch(0.33 0.035 155) 2px 10px);
}
.plate--art-3:not([style*="background-image"]) {
  background-image: repeating-linear-gradient(135deg,
      oklch(0.82 0.040 80) 0 2px,
      oklch(0.85 0.040 80) 2px 10px);
}
.article__meta { margin-top: 4px; }
.article h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.article p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}
.article__read {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
  margin-top: 4px;
}
.journal__all {
  display: inline-block;
  margin-top: 72px;
  padding-bottom: 4px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
}
.journal__all:hover { color: var(--forest); border-color: var(--forest); }

@media (max-width: 900px) {
  .articles { grid-template-columns: 1fr; gap: 56px; }
}

/* ——— contact ——— */
.contact { max-width: none; padding: 0; }
.contact__inner {
  background: var(--forest-2);
  color: var(--paper);
  padding: var(--section-y) var(--page-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  max-width: none;
  align-items: start;
}
.contact__copy h2 { color: oklch(0.98 0.005 85); }
.contact__sub {
  color: oklch(0.85 0.010 120);
  max-width: 42ch;
  font-size: 17px;
  line-height: 1.6;
  margin: 22px 0 48px;
}
.contact__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-top: 1px solid oklch(0.35 0.030 155);
  padding-top: 32px;
}
.contact__list li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: baseline;
}
.contact__list a, .contact__list li > span:not(.mono-label) {
  font-family: var(--serif);
  font-size: 17px;
  color: oklch(0.95 0.005 85);
}
.contact__list a:hover { color: var(--gold); }

/* form */
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.field__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: oklch(0.78 0.020 120);
}
.field input, .field select, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid oklch(0.42 0.030 155);
  padding: 10px 0;
  font-family: var(--serif);
  font-size: 17px;
  color: oklch(0.97 0.005 85);
  transition: border-color 0.2s ease;
  width: 100%;
  border-radius: 0;
}
.field select { font-family: var(--sans); font-size: 15px; }
.field select option { color: var(--ink); }
.field textarea {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea {
  border-color: oklch(0.68 0.14 32);
}
.field__err {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: oklch(0.80 0.14 32);
  min-height: 0;
  opacity: 0;
  transition: opacity 0.2s;
}
.field.is-invalid .field__err { opacity: 1; min-height: 14px; }

.form button { align-self: flex-start; margin-top: 12px; }
.form__ok {
  display: none;
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 17px;
  margin: 0;
}
.form.is-sent .form__ok { display: block; }
.form.is-sent > *:not(.form__ok) { display: none; }

@media (max-width: 900px) {
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .form__row { grid-template-columns: 1fr; }
  .contact__list li { grid-template-columns: 1fr; gap: 4px; }
}

/* ——— footer ——— */
.foot {
  background: var(--bg);
  padding: 80px var(--page-x) 32px;
  border-top: 1px solid var(--line);
}
.foot__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.foot__brand { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.foot__brand .nav__mark { color: var(--forest); }
.foot__word {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--ink);
}
.foot__tag {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
  margin: 12px 0 0;
}
.foot__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.foot__cols .mono-label { display: block; margin-bottom: 18px; }
.foot__cols ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.foot__cols a:hover { color: var(--forest); }

.foot__rule {
  max-width: var(--page-max);
  margin: 56px auto 24px;
  height: 1px;
  background: var(--line);
}
.foot__base {
  max-width: var(--page-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

@media (max-width: 820px) {
  .foot__inner { grid-template-columns: 1fr; gap: 48px; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* ——— lang switcher ——— */
.lang { position: relative; }
.lang__current {
  background: transparent;
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink);
  font-family: var(--sans);
  transition: all 0.2s;
}
.lang__current:hover { border-color: var(--forest); }
.lang__current i { font-size: 10px; color: var(--ink-3); }
.foot__cols ul.lang__menu,
.lang__menu {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  list-style: none;
  margin: 0;
  display: none;
  flex-direction: column;
  gap: 0;
  min-width: 180px;
  max-height: 280px;
  overflow-y: auto;
  box-shadow: 0 18px 40px -20px oklch(0.18 0.01 150 / 0.35);
  z-index: 20;
}
.foot__cols ul.lang__menu.is-visible,
.lang.is-open .lang__menu { display: block; }
.lang__menu li {
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink-2);
  transition: background 0.15s;
}
.lang__menu li:hover, .lang__menu li.is-active {
  background: var(--bg-warm);
  color: var(--forest);
}

/* ——— reveal on scroll ——— */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.is-in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
