/* Valley Kraft Türkiye — design system
   Palette: cream / kraft / ink / terracotta / Bosphorus teal
   Type: Fraunces (display) + Inter (body)                                   */

:root {
  --cream: #f4eee3;
  --paper: #fbf8f2;
  --sand: #e9dfcd;
  --kraft: #b5824a;
  --kraft-deep: #8e6234;
  --kraft-soft: #d9b98c;
  --ink: #1d1a16;
  --ink-2: #2a2621;
  --ink-soft: #3b3630;
  --muted: #6f675c;
  --terracotta: #c4522f;
  --teal: #1f6f78;
  --line: rgba(29, 26, 22, 0.12);
  --line-strong: rgba(29, 26, 22, 0.24);
  --white: #ffffff;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(29, 26, 22, 0.08), 0 2px 6px rgba(29, 26, 22, 0.06);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
.scene__media picture, .page-hero__media picture, .cta__media picture, .split__media picture, .tile__media picture { width: 100%; height: 100%; }

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-variation-settings: "opsz" 48; }
h4 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1.1em; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; color: var(--ink-soft); max-width: 60ch; }
.measure { max-width: 66ch; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--kraft-deep);
  margin: 0 0 1rem;
}
.eyebrow--light { color: var(--kraft-soft); }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container--narrow { max-width: 860px; }

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--dark { background: var(--ink); color: var(--cream); }
.section--dark h2, .section--dark h3 { color: var(--paper); }
.section--dark .lede { color: rgba(251, 248, 242, 0.78); }
.section--dark a { color: var(--kraft-soft); }
.section--dark a:hover { color: var(--paper); }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }

/* subtle kraft grain on cream sections */
.grain { position: relative; isolation: isolate; }
.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45 0 0 0 0 .33 0 0 0 0 .2 0 0 0 .18 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}

.section-head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lede { margin-left: auto; margin-right: auto; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Skip link / focus ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--terracotta); color: var(--paper); box-shadow: 0 6px 18px rgba(196, 82, 47, 0.28); }
.btn--primary:hover { background: #ad4526; color: var(--paper); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; color: var(--paper); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: rgba(251, 248, 242, 0.14); color: var(--paper); border-color: rgba(251, 248, 242, 0.5); backdrop-filter: blur(6px); }
.btn--light:hover { background: rgba(251, 248, 242, 0.24); color: var(--paper); }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.35s, box-shadow 0.35s, color 0.35s, backdrop-filter 0.35s;
  color: var(--paper);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.site-header.is-solid,
.site-header.is-static {
  background: rgba(244, 238, 227, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.28rem;
  letter-spacing: 0.02em;
  line-height: 1;
  font-variation-settings: "opsz" 48;
}
.brand__tag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 4px;
}
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.2s;
}
.nav a:hover { background: rgba(127, 127, 127, 0.14); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--kraft); }
.nav .btn { margin-left: 8px; min-height: 42px; padding: 8px 18px; }
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--ink);
    color: var(--paper);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
    padding: 90px var(--gutter) 40px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a {
    font-family: var(--font-display);
    font-size: clamp(2rem, 8vw, 2.6rem);
    padding: 10px 0;
    border-radius: 0;
    font-variation-settings: "opsz" 72;
  }
  .nav a:hover { background: transparent; }
  .nav .btn { margin: 24px 0 0; font-family: var(--font-body); font-size: 1rem; }
  .nav-open .site-header { color: var(--paper); background: transparent; box-shadow: none; backdrop-filter: none; }
  .nav-open { overflow: hidden; }
  .site-header .brand, .nav-toggle { position: relative; z-index: 2; }
  .nav-toggle .ico-close { display: none; }
  .nav-toggle[aria-expanded="true"] .ico-open { display: none; }
  .nav-toggle[aria-expanded="true"] .ico-close { display: block; }
}

/* ---------- Journey (cinematic scroll) ---------- */
.journey {
  position: relative;
  height: 560vh;
  background: var(--ink);
  color: var(--paper);
}
.journey__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--ink);
  perspective: 1200px;
}
.scene {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  will-change: transform, opacity;
  transform-origin: 50% 55%;
}
.scene:first-child { opacity: 1; }
.scene__media { position: absolute; inset: 0; }
.scene__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(29, 26, 22, 0.38) 0%, rgba(29, 26, 22, 0) 28%, rgba(29, 26, 22, 0) 46%, rgba(29, 26, 22, 0.55) 72%, rgba(29, 26, 22, 0.82) 100%);
  pointer-events: none;
}
.scene__text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(72px, 12vh, 140px);
  padding: 0 var(--gutter);
  max-width: min(760px, 100%);
  margin: 0 auto;
  z-index: 2;
  opacity: 0;
  will-change: transform, opacity;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.scene__text .eyebrow { color: rgba(251, 248, 242, 0.92); margin-bottom: 0.8rem; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5); }
.scene__text h1, .scene__text h2 {
  color: var(--paper);
  font-size: clamp(2.2rem, 5.6vw, 4.4rem);
  margin-bottom: 0.4em;
  font-weight: 500;
}
.scene__text p { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 56ch; color: rgba(251, 248, 242, 0.88); }
.scene__text .tr {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--kraft-soft);
  font-size: 1.05rem;
  font-variation-settings: "opsz" 24;
}
@media (min-width: 1000px) {
  .scene__text { left: 0; right: auto; max-width: none; width: 100%; }
  .scene__text > * { margin-left: max(var(--gutter), calc((100% - var(--max)) / 2)); }
}

.journey__rail {
  position: absolute;
  right: clamp(14px, 3vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 3;
}
.journey__rail button {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: rgba(251, 248, 242, 0.55);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
}
.journey__rail button::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 999px;
  border: 1.5px solid currentColor;
  transition: inset 0.3s var(--ease), background 0.3s;
}
.journey__rail button span { position: absolute; left: -9999px; }
.journey__rail button.is-active { color: var(--paper); }
.journey__rail button.is-active::before { inset: 6px; background: var(--kraft); border-color: var(--kraft); }

.journey__hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(251, 248, 242, 0.7);
  transition: opacity 0.4s;
}
.journey__hint span.line {
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, rgba(251, 248, 242, 0.9), rgba(251, 248, 242, 0));
  animation: hint 1.8s var(--ease) infinite;
}
@keyframes hint {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
.journey.is-past .journey__hint,
.journey.is-past-hint .journey__hint { opacity: 0; }

.journey__skip {
  position: absolute;
  top: 92px;
  right: clamp(14px, 3vw, 40px);
  z-index: 3;
  color: rgba(251, 248, 242, 0.8);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid rgba(251, 248, 242, 0.35);
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.journey__skip:hover { color: var(--paper); border-color: var(--paper); }

.journey__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: rgba(251, 248, 242, 0.12);
  z-index: 3;
}
.journey__progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--kraft);
  transform-origin: left;
}

/* film variant: scroll-scrubbed video chain */
.journey[data-film] { height: 720vh; }
.journey[data-film] .scene { transform: none !important; }
.film__video, .film__poster { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.25s linear; }
.film__video { object-fit: cover; object-position: 50% 50%; background: var(--ink); }
.film__poster img { width: 100%; height: 100%; object-fit: cover; }
.journey[data-film] .scene:first-child .film__poster { opacity: 1; }
.journey.is-static { height: auto; }
.journey.is-static .journey__stage { position: relative; height: auto; overflow: visible; }
.journey.is-static .scene { position: relative; opacity: 1 !important; visibility: visible !important; height: 100svh; min-height: 560px; }
.journey.is-static .film__poster { opacity: 1; }
.journey.is-static .film__video { display: none; }
.journey.is-static .scene__text { opacity: 1 !important; transform: none !important; visibility: visible !important; }
.journey.is-static .journey__rail, .journey.is-static .journey__hint, .journey.is-static .journey__progress, .journey.is-static .journey__skip { display: none; }

@media (max-width: 720px) {
  .journey { height: 440vh; }
  .journey[data-film] { height: 560vh; }
  .scene__text { bottom: 92px; }
  .journey__rail { display: none; }
  .journey__skip { top: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .journey { height: auto; }
  .journey__stage { position: relative; height: auto; overflow: visible; }
  .scene { position: relative; opacity: 1 !important; transform: none !important; height: 100svh; min-height: 560px; }
  .scene__text { opacity: 1 !important; transform: none !important; }
  .journey__rail, .journey__hint, .journey__progress, .journey__skip { display: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  min-height: clamp(420px, 56vh, 620px);
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29, 26, 22, 0.35) 0%, rgba(29, 26, 22, 0.12) 35%, rgba(29, 26, 22, 0.6) 65%, rgba(29, 26, 22, 0.86) 100%);
}
.page-hero .container { padding-top: 140px; padding-bottom: clamp(40px, 6vw, 72px); }
.page-hero h1 { color: var(--paper); max-width: 14ch; margin-bottom: 0.35em; }
.page-hero .lede { color: rgba(251, 248, 242, 0.86); }
.page-hero .eyebrow { color: rgba(251, 248, 242, 0.9); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: clamp(18px, 2.5vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card h3 { margin-bottom: 0.2em; }
.card p { margin: 0; color: var(--ink-soft); }
.card .num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--kraft);
  line-height: 1;
  font-variation-settings: "opsz" 72;
}
.card--dark { background: var(--ink-2); border-color: rgba(251, 248, 242, 0.1); color: var(--cream); box-shadow: none; }
.card--dark h3 { color: var(--paper); }
.card--dark p { color: rgba(251, 248, 242, 0.78); }

.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sand);
  color: var(--kraft-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.icon svg { width: 24px; height: 24px; }
.card--dark .icon { background: rgba(251, 248, 242, 0.08); color: var(--kraft-soft); }

/* product tiles */
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(29, 26, 22, 0.14); color: inherit; }
.tile__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.tile:hover .tile__media img { transform: scale(1.05); }
.tile__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.tile__body h3 { margin: 0; font-size: 1.3rem; }
.tile__body p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }
.tile__meta { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--kraft-deep); font-weight: 600; }

/* split (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--tall { aspect-ratio: 4 / 5; }
.split__media--wide { aspect-ratio: 4 / 3; }
.split--form { grid-template-columns: 1.5fr 1fr; align-items: start; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split, .split--form { grid-template-columns: 1fr; } }

/* steps */
.steps { counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--line); }
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.step__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--kraft);
  line-height: 1;
  font-variation-settings: "opsz" 72;
}
.step h3 { margin-bottom: 0.25em; }
.step p { margin: 0; color: var(--ink-soft); max-width: 62ch; }
@media (max-width: 640px) { .step { grid-template-columns: 56px 1fr; } .step__num { font-size: 1.9rem; } }
.section--dark .steps { border-top-color: rgba(251, 248, 242, 0.16); }
.section--dark .step { border-bottom-color: rgba(251, 248, 242, 0.16); }
.section--dark .step p { color: rgba(251, 248, 242, 0.76); }
.section--dark .step__num { color: var(--kraft-soft); }

/* facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.fact { border-left: 2px solid var(--kraft); padding-left: 18px; }
.fact strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: var(--paper);
  margin-bottom: 6px;
  line-height: 1.15;
}
.fact span { color: rgba(251, 248, 242, 0.72); font-size: 0.95rem; }
@media (max-width: 960px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* regions */
.regions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.region {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
}
.region h4 { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; }
.region p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }
.region small { display: block; margin-top: 10px; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--kraft-deep); font-weight: 600; }
@media (max-width: 1080px) { .regions { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .regions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .regions { grid-template-columns: 1fr; } }

/* CTA band */
.cta {
  position: relative;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.cta__media { position: absolute; inset: 0; z-index: -1; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29, 26, 22, 0.9), rgba(29, 26, 22, 0.45)); }
.cta .container { padding-top: clamp(64px, 9vw, 110px); padding-bottom: clamp(64px, 9vw, 110px); }
.cta h2 { color: var(--paper); max-width: 16ch; }
.cta p { color: rgba(251, 248, 242, 0.85); max-width: 52ch; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 640px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--kraft-deep); background: var(--sand); }
tr:last-child td { border-bottom: 0; }
td strong { font-weight: 600; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 48px;
  width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(31, 111, 120, 0.35); border-color: var(--teal); }
.field--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.field--check input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; }
.field--check label { font-weight: 400; font-size: 0.92rem; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { border-radius: 10px; padding: 14px 16px; font-size: 0.95rem; display: none; }
.form__status.is-ok { display: block; background: #e6f1ec; color: #1f4d3a; border: 1px solid #b9d9c8; }
.form__status.is-err { display: block; background: #fbe9e4; color: #7a2b18; border: 1px solid #ecc2b6; }

.contact-aside { display: grid; gap: 18px; align-content: start; }
.contact-aside .card { gap: 4px; }
.contact-aside .card h4 { margin: 0 0 2px; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--kraft-deep); }
.contact-aside .card p { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(251, 248, 242, 0.78); padding: clamp(48px, 7vw, 80px) 0 32px; }
.site-footer a { color: rgba(251, 248, 242, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-grid h4 { color: var(--paper); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid p { margin: 0; max-width: 34ch; font-size: 0.95rem; }
.footer-bottom { border-top: 1px solid rgba(251, 248, 242, 0.14); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 0.82rem; color: rgba(251, 248, 242, 0.55); }
.site-footer .brand { color: var(--paper); margin-bottom: 16px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Misc ---------- */
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0 0; }
.pill-list li { font-size: 0.82rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--sand); color: var(--ink-soft); }
.section--dark .pill-list li { background: rgba(251, 248, 242, 0.1); color: rgba(251, 248, 242, 0.85); }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.checklist svg { width: 20px; height: 20px; color: var(--kraft); margin-top: 3px; }

.prose h2 { margin-top: 2em; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { max-width: 68ch; }
.prose ul { padding-left: 1.2em; }

.error-page { min-height: 70vh; display: flex; align-items: center; }
