/* palette: bg=#F3EEDF fg=#2B3326 accent=#6E7D43 */
/* fonts: display="Fraunces" body="Work Sans" mono="IBM Plex Mono" */

:root {
  --bg: #F3EEDF;         /* warm ivory/cream background */
  --bg-alt: #E3E5CF;     /* pale sage, alternating sections */
  --bg-tint: #ECE7D4;    /* subtle card fill */
  --fg: #2B3326;         /* deep olive ink */
  --fg-soft: #434E38;    /* softened foreground */
  --muted: #76795F;      /* secondary text */
  --accent: #6E7D43;     /* sage green */
  --accent-deep: #525E31;/* darker sage for hover */
  --sepia: #9A7B41;      /* sepia-gold ornament */
  --sepia-soft: #B79A63;
  --line: rgba(43, 51, 38, 0.16);
  --border: rgba(43, 51, 38, 0.14);
  --card: #FBF8EF;

  --serif: 'Fraunces', ui-serif, Georgia, serif;
  --sans: 'Work Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --container: 1240px;
  --pad: clamp(80px, 12vw, 160px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--accent); color: var(--bg); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  color: var(--fg);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }

section { padding: var(--pad) 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--sepia);
}
.eyebrow--center { justify-content: center; }

.lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
  color: var(--fg-soft);
  max-width: 62ch;
}

/* ---------- Ornament ---------- */
.ornament {
  display: block;
  width: 136px;
  height: 22px;
  margin: 28px 0;
  color: var(--sepia);
}
.ornament--center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 9999px;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
}
.btn--primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 10px 30px -12px rgba(82, 94, 49, 0.6);
}
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost {
  border: 1px solid var(--border);
  color: var(--fg);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--light {
  background: var(--bg);
  color: var(--fg);
}
.btn--light:hover { transform: translateY(-2px); background: #fff; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap 0.35s var(--ease), color 0.35s var(--ease);
}
.arrow-link:hover { gap: 14px; color: var(--accent-deep); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 238, 223, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgba(43, 51, 38, 0.5);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}
.brand__mark {
  width: 30px; height: 30px;
  color: var(--accent);
  flex: none;
}
.nav { display: none; }
@media (min-width: 900px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 34px;
  }
}
.nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.header__cta { display: none; }
@media (min-width: 900px) { .header__cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 0 9px;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--fg);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 74px 0 0;
  z-index: 99;
  background: var(--bg);
  padding: 40px 24px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-menu[data-open="true"] { opacity: 1; transform: none; pointer-events: all; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 2rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
}
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0;
  color: #F6F2E4;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 9s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,33,22,0.35) 0%, rgba(27,33,22,0.25) 40%, rgba(27,33,22,0.82) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: clamp(56px, 9vw, 104px);
  padding-top: 120px;
}
.hero .eyebrow { color: var(--sepia-soft); }
.hero .eyebrow::before { background: var(--sepia-soft); }
.hero h1 {
  font-size: clamp(3.5rem, 10vw, 8.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 300;
  max-width: 15ch;
  color: #F6F2E4;
}
.hero h1 em {
  font-style: italic;
  color: var(--sepia-soft);
}
.hero__sub {
  margin-top: 30px;
  max-width: 56ch;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  color: rgba(246, 242, 228, 0.86);
}
.hero__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero__scroll {
  position: absolute;
  right: 32px;
  bottom: 40px;
  z-index: 1;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246,242,228,0.7);
  writing-mode: vertical-rl;
  display: none;
}
@media (min-width: 900px) { .hero__scroll { display: block; } }

/* ---------- Stats band ---------- */
.stats {
  background: var(--bg-alt);
  padding: clamp(48px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 24px;
}
@media (min-width: 768px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: left; }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.stat__label {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- Section head ---------- */
.section-head {
  max-width: 760px;
  margin-bottom: clamp(48px, 7vw, 84px);
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.section-head p { margin-top: 24px; }

/* ---------- Services grid ---------- */
.services { background: var(--bg); }
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 768px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
.service {
  background: var(--bg);
  padding: clamp(32px, 4vw, 52px);
  position: relative;
  transition: background 0.4s var(--ease);
}
.service:hover { background: var(--bg-tint); }
.service__idx {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--sepia);
}
.service__corner {
  position: absolute;
  top: 20px; right: 20px;
  width: 30px; height: 30px;
  color: var(--sepia-soft);
  opacity: 0.55;
}
.service h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin: 22px 0 14px;
  line-height: 1.12;
}
.service p { color: var(--fg-soft); font-size: 16px; line-height: 1.7; margin: 0 0 22px; }

/* ---------- Manifesto (dark band) ---------- */
.manifesto {
  background: var(--fg);
  color: var(--bg);
  text-align: center;
}
.manifesto .eyebrow { color: var(--sepia-soft); }
.manifesto .eyebrow::before { background: var(--sepia-soft); }
.manifesto__quote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.9rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
  max-width: 960px;
  margin: 0 auto;
  color: #F5F1E2;
}
.manifesto__quote em { font-style: italic; color: var(--sepia-soft); }
.manifesto .ornament { color: var(--sepia-soft); }
.manifesto__mark {
  font-family: var(--serif);
  font-size: 6rem;
  line-height: 0.4;
  color: var(--sepia-soft);
  display: block;
  margin-bottom: 10px;
}

/* ---------- Approach / steps ---------- */
.approach { background: var(--bg-alt); }
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.step:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 768px) {
  .step { grid-template-columns: 120px 1fr auto; gap: 40px; padding: 42px 0; }
}
.step__num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--sepia);
}
.step__body h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 10px; }
.step__body p { color: var(--fg-soft); font-size: 16px; margin: 0; max-width: 60ch; }
.step__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: none;
}
@media (min-width: 768px) { .step__tag { display: block; } }

/* ---------- Projects ---------- */
.projects { background: var(--bg); }
.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
}
@media (min-width: 768px) { .project-grid { grid-template-columns: repeat(3, 1fr); } }
.project {
  display: flex;
  flex-direction: column;
}
.project__media {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
}
.project__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.project:hover .project__media img { transform: scale(1.06); }
.project__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 22px 0 10px;
}
.project h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.14; }
.project p { color: var(--fg-soft); font-size: 15px; margin: 12px 0 0; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg-alt); }
.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 36px);
}
@media (min-width: 768px) { .quote-grid { grid-template-columns: repeat(2, 1fr); } }
.quote-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(32px, 4vw, 46px);
  box-shadow: 0 4px 24px -4px rgba(43,51,38,0.08);
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.quote-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px -8px rgba(43,51,38,0.14); }
.quote-card blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.45;
  color: var(--fg);
}
.quote-card__meta {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatar {
  width: 48px; height: 48px;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: #F6F2E4;
  flex: none;
}
.quote-card__name { font-size: 15px; font-weight: 600; color: var(--fg); }
.quote-card__role { font-size: 13px; color: var(--muted); }
.ph-note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sepia);
  opacity: 0.7;
  margin-top: 18px;
}

/* ---------- FAQ ---------- */
.faq { background: var(--bg); }
.faq__list { max-width: 880px; margin: 0 auto; }
.faq__item {
  border-top: 1px solid var(--line);
  padding: 8px 0;
}
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  padding: 26px 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--fg);
}
.faq__q .sign {
  flex: none;
  width: 24px; height: 24px;
  position: relative;
  color: var(--accent);
}
.faq__q .sign::before, .faq__q .sign::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease);
}
.faq__q .sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[data-open="true"] .sign::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.faq__a p {
  margin: 0 0 26px;
  color: var(--fg-soft);
  font-size: 16px;
  line-height: 1.72;
  max-width: 70ch;
}

/* ---------- CTA band ---------- */
.cta {
  background: var(--accent);
  color: #F6F2E4;
  text-align: center;
}
.cta h2 {
  color: #F6F2E4;
  font-size: clamp(2.3rem, 5.5vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin: 0 auto;
}
.cta .ornament { color: rgba(246,242,228,0.6); }
.cta p { color: rgba(246,242,228,0.86); max-width: 54ch; margin: 24px auto 0; }
.cta__actions { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.cta .eyebrow { color: rgba(246,242,228,0.8); }
.cta .eyebrow::before { background: rgba(246,242,228,0.6); }

/* ---------- Footer ---------- */
.footer {
  background: var(--fg);
  color: rgba(246,242,228,0.72);
  padding: clamp(64px, 8vw, 110px) 0 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; } }
.footer .brand { color: #F5F1E2; margin-bottom: 20px; }
.footer .brand__mark { color: var(--sepia-soft); }
.footer__about { font-size: 15px; line-height: 1.7; max-width: 38ch; }
.footer__col h4 {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sepia-soft);
  margin-bottom: 20px;
}
.footer__col a, .footer__col p {
  display: block;
  font-size: 15px;
  color: rgba(246,242,228,0.72);
  margin: 0 0 12px;
  transition: color 0.3s var(--ease);
}
.footer__col a:hover { color: #F5F1E2; }
.footer__bottom {
  margin-top: clamp(48px, 7vw, 84px);
  padding-top: 30px;
  border-top: 1px solid rgba(246,242,228,0.14);
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13px;
  color: rgba(246,242,228,0.5);
}
@media (min-width: 768px) {
  .footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__legal a:hover { color: #F5F1E2; }

/* ---------- Contact form ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 72px);
}
@media (min-width: 900px) { .contact-wrap { grid-template-columns: 1fr 1fr; align-items: start; } }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--fg);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 16px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(110,125,67,0.15);
}
.field textarea { resize: vertical; min-height: 140px; }
.form .btn { justify-self: start; margin-top: 8px; }
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(28px, 4vw, 44px);
}
.contact-card h3 { font-size: 1.4rem; margin-bottom: 20px; }
.contact-row { padding: 18px 0; border-top: 1px solid var(--line); }
.contact-row:first-of-type { border-top: 0; }
.contact-row .k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sepia);
  margin-bottom: 6px;
}
.contact-row .v { font-size: 16px; color: var(--fg); line-height: 1.5; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--bg-alt);
  padding: clamp(120px, 16vw, 200px) 0 clamp(60px, 8vw, 100px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-weight: 300;
  max-width: 16ch;
}
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero p { margin-top: 28px; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 48px 0 18px; }
.prose h3 { font-size: 1.25rem; margin: 32px 0 12px; }
.prose p { color: var(--fg-soft); font-size: 17px; line-height: 1.78; margin: 0 0 18px; }
.prose ul { color: var(--fg-soft); font-size: 17px; line-height: 1.78; padding-left: 20px; margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--fg); }

/* ---------- Thank you ---------- */
.thanks {
  min-height: 72vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px 0;
}
.thanks h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); font-weight: 300; letter-spacing: -0.02em; }
.thanks h1 em { font-style: italic; color: var(--accent); }
.thanks p { max-width: 50ch; margin: 24px auto 36px; color: var(--fg-soft); }

/* ---------- About feature strip ---------- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 900px) { .feature-split { grid-template-columns: 1fr 1fr; } }
.feature-split--rev .feature-split__media { order: -1; }
@media (min-width: 900px) { .feature-split--rev .feature-split__media { order: 1; } }
.feature-split__media {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 5 / 4;
  border: 1px solid var(--line);
}
.feature-split__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-split h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.06; letter-spacing: -0.02em; }
.feature-split p { color: var(--fg-soft); margin-top: 20px; font-size: 17px; }

/* ---------- Values / principles list ---------- */
.values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 768px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value {
  background: var(--bg);
  padding: clamp(28px, 3.5vw, 44px);
}
.value__num { font-family: var(--mono); font-size: 12px; color: var(--sepia); letter-spacing: 0.1em; }
.value h3 { font-size: 1.4rem; margin: 18px 0 12px; }
.value p { color: var(--fg-soft); font-size: 15px; margin: 0; line-height: 1.7; }

/* ---------- Team (text/monogram) ---------- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card {
  background: var(--bg);
  padding: clamp(28px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.team-card .avatar { width: 56px; height: 56px; font-size: 1.25rem; }
.team-card__name { font-family: var(--serif); font-size: 1.3rem; }
.team-card__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-top: 4px; }
.team-card__bio { color: var(--fg-soft); font-size: 14px; line-height: 1.68; margin: 0; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img { animation: none; }
}

/* ---------- Cookie popup ---------- */
.cookie-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: rgba(27, 33, 22, 0.42);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg);
  padding: 32px 36px;
  max-width: 480px;
  border-radius: 4px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px -20px rgba(27,33,22,0.5);
  margin: 0 auto;
}
@media (min-width: 768px) { .cookie-popup { align-items: flex-end; } .cookie-popup__card { margin: 0; } }
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.cookie-popup__card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.cookie-popup__card p { font-size: 14px; line-height: 1.6; color: var(--fg-soft); margin: 0; }
.cookie-popup__card p a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button {
  padding: 11px 24px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cookie-popup__actions button:first-child:hover { border-color: var(--accent); color: var(--accent); }
.cookie-popup__actions button:last-child {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.cookie-popup__actions button:last-child:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- Divider ---------- */
.divider-row { display: flex; justify-content: center; }
