/* palette: bg=#0A1410 fg=#F4F1E9 accent=#E8744E */
/* fonts: display="Lora" body="DM Sans" mono="Space Mono" */

:root {
  --bg: #0A1410;
  --bg-alt: #10211A;
  --bg-panel: #14271F;
  --bg-card: #122019;
  --fg: #F4F1E9;
  --fg-soft: #D6DAD2;
  --muted: #8B9A90;
  --accent: #E8744E;
  --accent-deep: #C85A38;
  --accent-soft: rgba(232, 116, 78, 0.14);
  --teal: #2E6F5E;
  --teal-soft: rgba(46, 111, 94, 0.18);
  --border: rgba(244, 241, 233, 0.12);
  --border-soft: rgba(244, 241, 233, 0.07);
  --serif: 'Lora', ui-serif, Georgia, serif;
  --sans: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  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; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

/* ---------- 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: clamp(80px, 12vw, 160px) 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--panel { background: var(--bg-panel); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  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(--accent);
  display: inline-block;
}

.lead { color: var(--fg-soft); font-size: clamp(1.05rem, 2vw, 1.22rem); line-height: 1.7; max-width: 60ch; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), opacity 0.4s var(--ease);
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #1A0E08; }
.btn--primary:hover { background: var(--accent-deep); color: #fff; }
.btn--ghost { border-color: var(--border); color: var(--fg); }
.btn--ghost:hover { border-color: var(--accent); background: var(--accent-soft); }
.btn .arw { transition: transform 0.4s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.txtlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--accent);
  transition: gap 0.35s var(--ease);
}
.txtlink:hover { gap: 14px; }

/* ---------- announcement bar ---------- */
.announce {
  background: var(--accent);
  color: #1A0E08;
  text-align: center;
  font-size: 13.5px;
  padding: 10px 16px;
  letter-spacing: 0.01em;
}
.announce a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 20, 16, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.header[data-scrolled="true"] {
  box-shadow: 0 10px 40px -16px rgba(0, 0, 0, 0.6);
  background: rgba(10, 20, 16, 0.92);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 20px; letter-spacing: -0.01em; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--accent);
  display: grid; place-items: center;
  color: #1A0E08; font-family: var(--mono); font-size: 15px; font-weight: 700;
}
.nav { display: none; }
@media (min-width: 940px) {
  .nav { display: flex; align-items: center; gap: 34px; }
  .nav a { font-size: 14.5px; color: var(--fg-soft); transition: color 0.3s var(--ease); position: relative; }
  .nav a:hover { color: var(--fg); }
  .nav a::after {
    content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0; background: var(--accent);
    transition: width 0.35s var(--ease);
  }
  .nav a:hover::after { width: 100%; }
}
.header__cta { display: none; }
@media (min-width: 940px) { .header__cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex; flex-direction: column; gap: 5px; padding: 8px;
}
@media (min-width: 940px) { .menu-toggle { display: none; } }
.menu-toggle span { width: 22px; height: 2px; background: var(--fg); display: block; transition: transform 0.35s var(--ease), opacity 0.35s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  padding: 100px 28px 40px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
  display: flex; flex-direction: column; gap: 6px;
}
.mobile-menu[data-open="true"] { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--serif); font-size: 30px; padding: 14px 0;
  border-bottom: 1px solid var(--border-soft); color: var(--fg);
}
.mobile-menu .btn { margin-top: 26px; justify-content: center; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}
.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; opacity: 0.34; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 15% 20%, rgba(10,20,16,0.45) 0%, rgba(10,20,16,0.92) 70%),
    linear-gradient(180deg, rgba(10,20,16,0.4) 0%, var(--bg) 96%);
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__content { position: relative; z-index: 1; padding: 120px 0 90px; max-width: 920px; }
.hero h1 {
  font-size: clamp(3.5rem, 10vw, 8.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 0 0 30px;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero__sub { max-width: 52ch; color: var(--fg-soft); font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 38px; margin-top: 72px; padding-top: 36px; border-top: 1px solid var(--border-soft); }
.hero__stat .n { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); display: block; line-height: 1; }
.hero__stat .l { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; display: block; }

/* ---------- section heading block ---------- */
.head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 84px); }
.head h2 { font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.04; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head--center .eyebrow { justify-content: center; }
.head p { margin-top: 22px; }

/* ---------- services grid (dark cards) ---------- */
.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 680px) { .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 34px 30px 36px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card::before {
  content: "";
  position: absolute; top: -40%; right: -30%;
  width: 70%; height: 70%;
  background: radial-gradient(circle, var(--teal-soft) 0%, transparent 65%);
  opacity: 0.7; pointer-events: none;
  transition: opacity 0.6s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--border); box-shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.7); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--accent-soft); border: 1px solid rgba(232,116,78,0.25);
  display: grid; place-items: center; color: var(--accent); margin-bottom: 24px;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.card__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; display: block; }
.card .txtlink { margin-top: 20px; }

/* ---------- manifesto / dark band ---------- */
.manifesto { text-align: center; }
.manifesto .quote-mark {
  font-family: var(--serif); font-size: clamp(5rem, 14vw, 9rem); line-height: 0.5;
  color: var(--accent); display: block; margin-bottom: 10px;
}
.manifesto p {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 980px; margin: 0 auto;
}
.manifesto p em { color: var(--accent); font-style: italic; }
.manifesto .cite { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 38px; display: block; }

/* ---------- impact stats ---------- */
.impact__grid { display: grid; gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); border-radius: 16px; overflow: hidden; }
@media (min-width: 680px) { .impact__grid { grid-template-columns: 1fr 1fr; } }
.impact__cell {
  position: relative; background: var(--bg-card); padding: 48px 36px 54px; overflow: hidden;
}
.impact__cell::after {
  content: ""; position: absolute; bottom: -40%; left: 20%; width: 60%; height: 80%;
  background: radial-gradient(circle, rgba(46,111,94,0.22) 0%, transparent 70%);
  pointer-events: none;
}
.impact__cell .n { font-family: var(--serif); font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: 1; position: relative; }
.impact__cell .l { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 16px; display: block; position: relative; }

/* ---------- process / numbered ---------- */
.steps { display: grid; gap: 0; }
.step {
  display: grid; gap: 8px 30px; padding: 38px 0;
  border-top: 1px solid var(--border-soft);
  grid-template-columns: 1fr;
}
@media (min-width: 820px) { .step { grid-template-columns: 120px 1fr 1.2fr; align-items: start; } }
.step:last-child { border-bottom: 1px solid var(--border-soft); }
.step__num { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.1em; }
.step h3 { font-size: 1.7rem; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ---------- testimonials ---------- */
.quotes { display: grid; gap: 18px; }
@media (min-width: 820px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote-card {
  background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: 16px;
  padding: 38px 34px; display: flex; flex-direction: column; gap: 24px;
}
.quote-card p { font-family: var(--serif); font-size: 1.35rem; line-height: 1.5; }
.quote-card .who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-size: 16px; color: #1A0E08; flex-shrink: 0;
}
.avatar--mono { font-weight: 600; }
.who .name { font-size: 15px; font-family: var(--sans); }
.who .role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.placeholder-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--muted); opacity: 0.6; }

/* ---------- logos strip ---------- */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 46px; }
.logos span { font-family: var(--serif); font-size: 1.25rem; color: var(--fg-soft); opacity: 0.55; transition: opacity 0.35s var(--ease); letter-spacing: -0.01em; }
.logos span:hover { opacity: 1; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq__item { border-top: 1px solid var(--border-soft); }
.faq__item:last-child { border-bottom: 1px solid var(--border-soft); }
.faq__q {
  width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 30px 0; font-family: var(--serif); font-size: clamp(1.2rem, 2.6vw, 1.55rem);
}
.faq__q .ic { flex-shrink: 0; width: 22px; height: 22px; position: relative; transition: transform 0.4s var(--ease); }
.faq__q .ic::before, .faq__q .ic::after { content: ""; position: absolute; background: var(--accent); }
.faq__q .ic::before { left: 0; top: 10px; width: 22px; height: 2px; }
.faq__q .ic::after { left: 10px; top: 0; width: 2px; height: 22px; transition: transform 0.4s var(--ease); }
.faq__item[data-open="true"] .ic::after { transform: scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq__a-inner { padding: 0 0 30px; color: var(--muted); max-width: 70ch; font-size: 16px; }
.faq__item[data-open="true"] .faq__a { max-height: 340px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent); color: #1A0E08; text-align: center; border-radius: 0; }
.cta-band .head h2 { color: #1A0E08; }
.cta-band p { color: rgba(26, 14, 8, 0.78); }
.cta-band .btn--dark { background: #0A1410; color: var(--fg); }
.cta-band .btn--dark:hover { background: #000; }

/* ---------- split / about ---------- */
.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 70px; } }
.split--media img { border-radius: 16px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.split__body h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.08; margin-bottom: 24px; }
.split__body p + p { margin-top: 18px; }
.split__body p { color: var(--fg-soft); }

.value-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.value-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--fg-soft); }
.value-list li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); margin-top: 11px; flex-shrink: 0; transform: rotate(45deg); }

/* ---------- team / principles cards (no faces) ---------- */
.people { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .people { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .people { grid-template-columns: repeat(3, 1fr); } }
.person { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: 16px; padding: 30px; }
.person .avatar { width: 56px; height: 56px; font-size: 19px; margin-bottom: 22px; }
.person h3 { font-size: 1.3rem; }
.person .role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 6px 0 14px; }
.person p { color: var(--muted); font-size: 15px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 50px; }
@media (min-width: 920px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 70px; } }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 16px; color: var(--fg); background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: var(--bg-panel); }
.field textarea { resize: vertical; min-height: 130px; }
.form .btn { justify-content: center; margin-top: 6px; }
.form__note { font-size: 13px; color: var(--muted); }
.form__note a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.info-block { display: grid; gap: 26px; }
.info-item { display: grid; gap: 6px; padding-bottom: 24px; border-bottom: 1px solid var(--border-soft); }
.info-item .k { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.info-item .v { font-size: 16px; color: var(--fg-soft); }
.info-item .v a:hover { color: var(--accent); }

/* ---------- legal pages ---------- */
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 16px; line-height: 1.05; }
.legal .updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; margin-bottom: 46px; display: block; }
.legal h2 { font-size: 1.7rem; margin: 46px 0 16px; }
.legal h3 { font-size: 1.2rem; margin: 30px 0 10px; font-family: var(--sans); font-weight: 600; }
.legal p { color: var(--fg-soft); margin-bottom: 16px; }
.legal ul { color: var(--fg-soft); padding-left: 22px; margin: 0 0 18px; display: grid; gap: 8px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- thank you ---------- */
.thanks { min-height: 78vh; display: flex; align-items: center; }
.thanks__inner { max-width: 680px; }
.thanks h1 { font-size: clamp(2.8rem, 8vw, 5.5rem); line-height: 1; margin-bottom: 26px; }
.thanks h1 em { color: var(--accent); font-style: italic; }

/* ---------- footer ---------- */
.footer { background: #06100C; border-top: 1px solid var(--border-soft); padding: clamp(64px, 9vw, 110px) 0 40px; }
.footer__top { display: grid; gap: 44px; }
@media (min-width: 860px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; } }
.footer__brand .brand { margin-bottom: 20px; }
.footer__brand p { color: var(--muted); font-size: 15px; max-width: 36ch; }
.footer__brand .tag { font-family: var(--serif); font-size: 1.05rem; color: var(--fg-soft); margin-top: 18px; }
.footer__col h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 18px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer__col a { color: var(--fg-soft); font-size: 15px; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: clamp(48px, 7vw, 80px); padding-top: 30px; border-top: 1px solid var(--border-soft);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
}
.footer__bottom p, .footer__bottom a { font-size: 13px; color: var(--muted); }
.footer__bottom .legal-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__bottom .legal-links a:hover { color: var(--accent); }

/* ---------- cookie popup ---------- */
.cookie-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; padding: 24px; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card { background: var(--bg-panel); border: 1px solid var(--border); padding: 32px 36px; max-width: 480px; border-radius: 14px; box-shadow: 0 24px 70px -20px rgba(0,0,0,0.7); }
.cookie-popup__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.cookie-popup__card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.cookie-popup__card p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.cookie-popup__card p a { color: var(--accent); text-decoration: underline; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 20px; }
.cookie-popup__actions button { padding: 11px 24px; border: 1px solid var(--border); cursor: pointer; font-size: 14px; border-radius: 9999px; transition: background 0.3s var(--ease), border-color 0.3s var(--ease); }
.cookie-popup__actions button:first-child:hover { border-color: var(--accent); }
.cookie-popup__actions button:last-child { background: var(--accent); color: #1A0E08; border-color: var(--accent); }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); color: #fff; }

/* ---------- 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; }
  * { scroll-behavior: auto; }
}
