/* Layout: one dark column of full-width bands, gold used sparingly for headings, rules and the one primary action */
:root {
  --ink: #050505;          /* page ground */
  --panel: #0e0d0a;        /* raised band, warm black */
  --line: #2a261b;         /* hairlines, gold-tinted */
  --gold: #d4af37;         /* brand accent */
  --gold-soft: #b8982f;
  --text: #f5f3ee;         /* headings */
  --muted: rgba(245, 243, 238, 0.72);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink); color: var(--muted);
  font-family: var(--sans); font-size: 16px; line-height: 1.65; letter-spacing: 0.01em;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--ink); }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap {
  max-width: var(--max); margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--text); text-wrap: balance; margin: 0; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); line-height: 1.2; color: var(--gold); }
h3 { font-size: 1.25rem; line-height: 1.3; color: var(--gold); }
p { margin: 0; max-width: 62ch; }
.rule { width: 64px; height: 2px; background: var(--gold); border: 0; margin: 0; }
.eyebrow { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 15px 30px; font: 500 0.875rem/1.2 var(--sans); letter-spacing: 0.06em;
  text-decoration: none; border: 1px solid var(--gold); transition: background .2s, color .2s;
}
.btn-primary { background: var(--gold); color: #000; }
.btn-primary:hover { background: transparent; color: var(--gold); }
.btn-ghost { color: var(--text); border-color: rgba(245,243,238,0.35); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Header */
header.site {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(5,5,5,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { display: block; border-radius: 50%; }
.brand { gap: 14px; }
.brand span { font-family: var(--serif); font-size: 1.45rem; letter-spacing: 0.14em; color: var(--gold); }
.bar { padding-block: 12px !important; }
@media (max-width: 640px) { .logo-head { width: 50px; height: 50px; } .brand span { font-size: 1.25rem; } }
nav.main { display: flex; align-items: center; gap: 28px; }
nav.main a { font-size: 0.8rem; letter-spacing: 0.06em; text-decoration: none; color: var(--text); }
nav.main a:hover { color: var(--gold); }
nav.main .btn { padding: 11px 20px; font-size: 0.78rem; color: #000; }
nav.main .btn:hover { color: var(--gold); }
.menu-toggle { display: none; background: none; border: 0; color: var(--gold); padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; display: block; }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  nav.main {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line);
    padding: 8px max(24px, env(safe-area-inset-right, 0px)) 24px max(24px, env(safe-area-inset-left, 0px));
  }
  nav.main.open { display: flex; }
  nav.main a { padding: 14px 0; font-size: 0.95rem; border-bottom: 1px solid var(--line); }
  nav.main .btn { margin-top: 18px; justify-content: center; border-bottom: 1px solid var(--gold); padding: 15px; }
}

/* Hero */
.hero { padding-block: clamp(56px, 9vw, 112px) clamp(56px, 8vw, 96px); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.1; letter-spacing: -0.01em; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .sub { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.45rem); color: var(--gold); line-height: 1.4; }
.hero .lead { font-size: 1.05rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero-art { min-width: 0; }
.hero-art svg { width: 100%; height: auto; display: block; }

/* Bands */
section.band { padding-block: clamp(64px, 9vw, 104px); border-bottom: 1px solid var(--line); }
section.band.raised { background: var(--panel); }
.head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(36px, 5vw, 56px); }

/* Problem */
.problem { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.problem .body { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.problem strong { color: var(--text); font-weight: 600; font-size: 1.05rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 32px 28px 8px 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step .num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--gold); }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pillar {
  background: var(--panel); padding: 28px 22px 26px; display: flex; flex-direction: column; gap: 12px;
  text-decoration: none; min-width: 0; transition: background .2s;
}
.pillar:hover { background: #17150f; }
.pillar p { font-size: 0.92rem; }
.pillar .more { margin-top: auto; padding-top: 8px; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }

/* Who we serve */
.serve { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.serve .body { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { border: 1px solid var(--gold-soft); color: var(--text); padding: 8px 16px; font-size: 0.85rem; letter-spacing: 0.04em; }
.roles { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }

/* Solutions preview */
.domains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); list-style: none; padding: 0; margin: 0; }
.domains a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--ink); padding: 22px 22px; text-decoration: none; color: var(--text);
  font-size: 0.95rem; transition: color .2s, background .2s; height: 100%;
}
.domains a:hover { color: var(--gold); background: var(--panel); }
.domains a span { color: var(--gold); }

/* Closing CTA */
.cta { text-align: center; padding-block: clamp(72px, 10vw, 120px); }
.cta .inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta p { margin-inline: auto; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding-block: 48px 36px; font-size: 0.85rem; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.foot .tag { font-family: var(--serif); font-style: italic; color: var(--gold); margin-top: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot a { text-decoration: none; color: var(--muted); }
.foot a:hover { color: var(--gold); }
.foot h4 { margin: 0 0 14px; font: 500 0.72rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.78rem; }

@media (max-width: 960px) {
  .hero-grid, .problem, .serve { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillars .pillar:last-child { grid-column: 1 / -1; }
  .domains { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0 24px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .pillars { grid-template-columns: 1fr; }
  .domains { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
.pulse { animation: pulse 3.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 0%,100% { opacity: .35; } 50% { opacity: .9; } }

/* ---------- Inner pages ---------- */
nav.main a[aria-current="page"] { color: var(--gold); }
.page-hero { padding-block: clamp(56px, 8vw, 96px) clamp(44px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: flex; flex-direction: column; gap: 22px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.12; }
.page-hero p { font-size: 1.08rem; }

.label { font: 500 0.7rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }

/* Domain cards (Solutions) */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { background: var(--ink); padding: 32px 30px; display: flex; flex-direction: column; gap: 14px; min-width: 0; scroll-margin-top: 110px; }
.card h2 { font-size: 1.5rem; }
.card .pair { display: flex; flex-direction: column; gap: 6px; }

/* Service groups (Services) */
.group { display: grid; grid-template-columns: 220px 1fr; gap: clamp(20px, 4vw, 56px); padding-block: 44px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.group:first-of-type { border-top: 0; padding-top: 0; }
.group > header { display: flex; flex-direction: column; gap: 10px; }
.group > header p { font-size: 0.92rem; }
.services { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.service { display: flex; flex-direction: column; gap: 14px; padding: 26px 28px; background: var(--panel); border: 1px solid var(--line); }
.service h3 { color: var(--text); font-size: 1.35rem; }
.service dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; }
.service dt { margin-bottom: 6px; }
.service dd { margin: 0; font-size: 0.93rem; }

/* Process (How We Work) */
.process { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.process li { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding-block: 26px; border-top: 1px solid var(--line); }
.process li:last-child { border-bottom: 1px solid var(--line); }
.process .num { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--gold); }
.process h3 { color: var(--text); margin-bottom: 6px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.split > div { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* Feature list (Partners) */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { background: var(--panel); padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }

/* Why Vintana */
.purpose { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.45; color: var(--text); max-width: none; }
.purpose-line { max-width: none; }
.purpose-line { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.2rem; }
.meaning { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.meaning .text { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.meaning img { width: 100%; max-width: 420px; height: auto; justify-self: center; }
.meaning .word { font-family: var(--serif); font-style: italic; color: var(--gold); }
.beliefs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.beliefs li { background: var(--ink); padding: 30px 26px; font-family: var(--serif); font-size: 1.2rem; line-height: 1.4; color: var(--text); }

/* Baobab photo, edges dissolving into the page */
.baobab-band { overflow: hidden; }
.baobab { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.baobab-photo { margin: 0; min-width: 0; }
.baobab-photo img {
  display: block; width: 100%; height: auto; max-width: 640px;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 52%, rgba(0,0,0,0.6) 70%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 52%, rgba(0,0,0,0.6) 70%, transparent 100%);
}
.baobab-text { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.baobab-point { display: flex; flex-direction: column; gap: 10px; padding-left: 20px; border-left: 1px solid var(--gold-soft); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-grid > * { min-width: 0; }
.book { display: flex; flex-direction: column; gap: 18px; padding: 32px 30px; border: 1px solid var(--gold-soft); background: var(--panel); }
.book .note { font-style: italic; font-size: 0.92rem; }
.direct { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; font-size: 0.92rem; }
.direct a { color: var(--text); }
form.inquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
form.inquiry .full { grid-column: 1 / -1; }
form.inquiry label { display: flex; flex-direction: column; gap: 8px; font-size: 0.8rem; letter-spacing: 0.06em; color: var(--text); }
form.inquiry input, form.inquiry select, form.inquiry textarea {
  font: 400 0.95rem/1.4 var(--sans); color: var(--text); background: var(--ink);
  border: 1px solid #3a3528; padding: 12px 14px; border-radius: 0; width: 100%;
}
form.inquiry textarea { min-height: 130px; resize: vertical; }
form.inquiry input:focus, form.inquiry select:focus, form.inquiry textarea:focus { outline: none; border-color: var(--gold); }
form.inquiry .req { color: var(--gold); }
form.inquiry button { justify-self: start; cursor: pointer; }
.form-msg { grid-column: 1 / -1; font-size: 0.92rem; color: var(--gold); }
.hidden-field { position: absolute; left: -9999px; }

/* Prose (Privacy) */
.prose { display: flex; flex-direction: column; gap: 16px; max-width: 70ch; }
.prose h2 { font-size: 1.4rem; margin-top: 18px; }
.prose ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }

@media (max-width: 960px) {
  .cards, .features { grid-template-columns: 1fr; }
  .group { grid-template-columns: 1fr; }
  .service dl { grid-template-columns: 1fr; gap: 14px; }
  .split, .meaning, .contact-grid { grid-template-columns: 1fr; }
  .meaning img { max-width: 300px; }
  .beliefs { grid-template-columns: 1fr; }
  .baobab { grid-template-columns: 1fr; }
  .baobab-photo img { max-width: 520px; margin-inline: auto; }
}
@media (max-width: 640px) {
  form.inquiry { grid-template-columns: 1fr; }
  .process li { grid-template-columns: 48px 1fr; gap: 14px; }
  .process .num { font-size: 1.9rem; }
}
