/* palette: bg=#0C2B24 fg=#F2EBD9 accent=#C9A86A */
/* fonts: display="Bodoni Moda" body="Lato" mono="Space Mono" */

:root {
  --bg: #0C2B24;        /* deep emerald background */
  --bg-alt: #0A231D;    /* darker emerald band */
  --bg-light: #F2EBD9;  /* champagne/ivory inverted section */
  --fg: #F2EBD9;        /* warm ivory text on emerald */
  --fg-soft: #E4D9BF;   /* slightly softer ivory */
  --muted: #9DB0A4;     /* muted sage for secondary text */
  --ink: #0C2B24;       /* dark text on ivory sections */
  --ink-soft: #3C4F47;  /* softened dark text */
  --accent: #C9A86A;    /* champagne gold */
  --accent-deep: #A8884E; /* darker gold for hover */
  --border: rgba(242, 235, 217, 0.16);
  --border-dark: rgba(12, 43, 36, 0.14);
  --serif: 'Bodoni Moda', ui-serif, Georgia, serif;
  --sans: 'Lato', 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: 18px;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  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-weight: 400; margin: 0; }
p { margin: 0; }

::selection { background: var(--accent); color: var(--ink); }

/* ---------- 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; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
}
@media (min-width: 768px) { .eyebrow { font-size: 12px; } }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  line-height: 1.78;
  color: var(--fg-soft);
  max-width: 56ch;
}

/* ---------- buttons / links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 9999px;
  font-size: 14px;
  letter-spacing: 0.02em;
  background: var(--accent);
  color: var(--ink);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), opacity 0.4s var(--ease);
}
.btn:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}
.btn--ghost:hover { background: rgba(242,235,217,0.06); border-color: var(--accent); }
.btn--dark { background: var(--ink); color: var(--bg-light); }
.btn--dark:hover { background: #06140F; }

.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); }
.arrow-link::after { content: '\2192'; }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 43, 36, 0.78);
  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);
}
.header[data-scrolled="true"] {
  background: rgba(10, 35, 29, 0.92);
  box-shadow: 0 1px 0 var(--border), 0 12px 40px -24px rgba(0,0,0,0.6);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.brand strong { font-weight: 700; color: var(--fg); }
.brand span { color: var(--accent); }

.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: 38px; }
  .nav a {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg-soft);
    transition: color 0.3s var(--ease);
    position: relative;
  }
  .nav a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.35s var(--ease);
  }
  .nav a:hover { color: var(--fg); }
  .nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
  .nav a[aria-current="page"] { color: var(--accent); }
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 4px 10px 16px;
  align-items: flex-end;
}
.menu-toggle span {
  display: block;
  width: 26px; height: 1.5px;
  background: var(--fg);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), width 0.4s var(--ease);
}
.menu-toggle span:nth-child(2) { width: 18px; }
.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); width: 26px; }
.menu-toggle__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-right: 12px;
  color: var(--fg-soft);
  display: none;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* ---------- mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg-alt);
  padding: 100px 28px 48px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; pointer-events: all; transform: none; }
.mobile-menu a {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 9vw, 3rem);
  letter-spacing: -0.01em;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu__foot {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.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;
  filter: saturate(0.7) brightness(0.62);
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,35,29,0.55) 0%, rgba(10,35,29,0.1) 30%, rgba(10,35,29,0.85) 100%),
    linear-gradient(90deg, rgba(10,35,29,0.7) 0%, rgba(10,35,29,0) 60%);
}
@keyframes heroZoom {
  from { transform: scale(1.09); }
  to { transform: scale(1); }
}
.hero__eyebrow {
  position: absolute;
  top: 120px; left: 0;
  z-index: 2;
  width: 100%;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(48px, 8vw, 96px);
  padding-top: 200px;
}
.hero h1 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin-bottom: 40px;
}
.hero h1 em { color: var(--accent); font-style: italic; }
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 8px;
  border-radius: 9999px;
  background: rgba(242,235,217,0.1);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 36px;
}
.hero__tag i {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-style: normal;
  font-size: 11px;
}
.hero__tag b { font-weight: 700; font-size: 13px; }
.hero__tag small {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-right: 8px;
}
.hero__intro {
  display: grid;
  gap: 28px;
  max-width: 540px;
}
@media (min-width: 1024px) {
  .hero { align-items: center; }
  .hero__inner { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 56px; padding-top: 120px; }
  .hero__intro { padding-bottom: 14px; }
}

/* ---------- manifesto / centered statement ---------- */
.statement { text-align: center; }
.statement .eyebrow { margin-bottom: 28px; }
.statement h2 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin: 0 auto 28px;
}
.statement h2 em { color: var(--accent); }
.statement p { max-width: 60ch; margin: 0 auto; color: var(--fg-soft); }
.statement__media {
  margin-top: clamp(48px, 7vw, 88px);
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 21 / 9;
}
.statement__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- inverted (ivory) section ---------- */
.invert {
  background: var(--bg-light);
  color: var(--ink);
}
.invert .eyebrow { color: var(--accent-deep); }
.invert .lede { color: var(--ink-soft); }
.invert .section-head h2 em { color: var(--accent-deep); }

/* ---------- section head ---------- */
.section-head {
  display: grid;
  gap: 22px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head h2 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.section-head h2 em { color: var(--accent); }
.section-head p { max-width: 52ch; }
@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
    gap: 56px;
  }
  .section-head--split p { justify-self: end; }
}

/* ---------- course / service grid ---------- */
.grid-courses {
  display: grid;
  gap: 1px;
  background: var(--border-dark);
  border: 1px solid var(--border-dark);
}
.invert .grid-courses { background: var(--border-dark); }
@media (min-width: 700px) { .grid-courses { grid-template-columns: repeat(2, 1fr); } }

.course {
  background: var(--bg-light);
  padding: clamp(32px, 4vw, 52px) clamp(28px, 3.5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 320px;
  transition: background 0.45s var(--ease);
}
.course:hover { background: #ECE3CC; }
.course__no {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
}
.course h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.course p { color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.course__meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--border-dark);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.course__meta .arrow-link { color: var(--accent-deep); }
.course__meta .arrow-link:hover { color: var(--ink); }

/* ---------- featured course card ---------- */
.featured {
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.featured__media { aspect-ratio: 16 / 11; overflow: hidden; }
.featured__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8) brightness(0.85); }
.featured__body {
  padding: clamp(36px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--bg-alt);
}
.featured__body h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.featured__body h3 em { color: var(--accent); }
.featured__list { display: grid; gap: 14px; margin-top: 6px; }
.featured__list li {
  list-style: none;
  display: flex;
  gap: 14px;
  align-items: baseline;
  color: var(--fg-soft);
  font-size: 16px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.featured__list li::before { content: '\2014'; color: var(--accent); }
.featured__list { padding: 0; margin: 0; }
@media (min-width: 900px) {
  .featured { grid-template-columns: 1.05fr 1fr; }
}

/* ---------- stats ---------- */
.stats {
  display: grid;
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--bg);
  padding: clamp(36px, 5vw, 64px) 24px;
  text-align: center;
}
.invert .stats { background: var(--border-dark); border-color: var(--border-dark); }
.invert .stat { background: var(--bg-light); }
.stat b {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.invert .stat b { color: var(--accent-deep); }
.stat span {
  display: block;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.invert .stat span { color: var(--ink-soft); }

/* ---------- pull quote (dark band) ---------- */
.pullquote { background: var(--bg-alt); text-align: center; }
.pullquote .mark {
  font-family: var(--serif);
  font-size: clamp(6rem, 16vw, 12rem);
  line-height: 0.6;
  color: var(--accent);
  display: block;
  height: 0.5em;
  margin-bottom: 8px;
}
.pullquote blockquote {
  margin: 0 auto;
  max-width: 20ch;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
}
.pullquote cite {
  display: block;
  margin-top: 40px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- testimonials ---------- */
.grid-quotes { display: grid; gap: 28px; }
@media (min-width: 900px) { .grid-quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: rgba(242,235,217,0.02);
}
.quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.4;
  color: var(--fg);
}
.quote__by { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink);
  flex: 0 0 auto;
}
.quote__by b { display: block; font-weight: 700; font-size: 14px; }
.quote__by span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--border); }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--mono);
  font-style: normal;
  font-size: 1.6rem;
  color: var(--accent);
  transition: transform 0.4s var(--ease);
  flex: 0 0 auto;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin-top: 18px;
  max-width: 62ch;
  color: var(--fg-soft);
  font-size: 16px;
}

/* ---------- CTA + form ---------- */
.cta { background: var(--bg-alt); }
.cta__grid { display: grid; gap: clamp(40px, 6vw, 72px); }
@media (min-width: 900px) { .cta__grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.cta h2 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}
.cta h2 em { color: var(--accent); }
.cta__contacts { margin-top: 36px; display: grid; gap: 18px; }
.cta__contacts div { display: grid; gap: 4px; }
.cta__contacts dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.cta__contacts dd { margin: 0; color: var(--fg-soft); }

.form { display: grid; gap: 18px; }
.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: rgba(242,235,217,0.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 16px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(242,235,217,0.07);
}
.field textarea { resize: vertical; min-height: 120px; }
.form .btn { justify-content: center; margin-top: 8px; }
.form__note { font-size: 13px; color: var(--muted); }
.form__note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- about / prose ---------- */
.split {
  display: grid;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split--media-first .split__media { order: -1; }
.split__media { border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; }
.split__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.78) brightness(0.86); }
.split__body h2 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.split__body h2 em { color: var(--accent); }
.invert .split__body h2 em { color: var(--accent-deep); }
.split__body p + p { margin-top: 20px; }
.prose-narrow {
  max-width: 70ch;
  display: grid;
  gap: 22px;
}
.prose-narrow .lede { max-width: none; }
.prose-narrow h2 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  line-height: 1.1;
  margin-top: 24px;
}
.prose-narrow h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  margin-top: 12px;
}
.prose-narrow p, .prose-narrow li { color: var(--fg-soft); }
.prose-narrow ul { padding-left: 20px; display: grid; gap: 10px; }
.prose-narrow a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* page hero (interior) */
.page-hero { padding: clamp(140px, 18vh, 220px) 0 clamp(56px, 8vw, 96px); border-bottom: 1px solid var(--border); }
.page-hero h1 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin: 22px 0 28px;
}
.page-hero h1 em { color: var(--accent); }
.page-hero p { max-width: 56ch; color: var(--fg-soft); }

/* values / principles list */
.principles { display: grid; gap: 0; border-top: 1px solid var(--border); }
.principle {
  display: grid;
  gap: 14px;
  padding: clamp(32px, 4vw, 52px) 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 800px) { .principle { grid-template-columns: 0.6fr 1.4fr; gap: 48px; } }
.principle__no { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--accent); }
.principle h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.1;
  margin-bottom: 6px;
}
.principle p { color: var(--fg-soft); max-width: 60ch; }

/* team text cards */
.grid-team { display: grid; gap: 28px; }
@media (min-width: 700px) { .grid-team { grid-template-columns: repeat(3, 1fr); } }
.member {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.member .avatar { width: 56px; height: 56px; font-size: 18px; }
.member h3 { font-family: var(--serif); font-style: italic; font-size: 1.6rem; }
.member__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.member p { color: var(--fg-soft); font-size: 15px; line-height: 1.65; }

/* ---------- footer ---------- */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: clamp(64px, 8vw, 110px) 0 40px;
}
.footer__top {
  display: grid;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer__brand h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin-bottom: 22px;
}
.footer__brand h3 em { color: var(--accent); }
.footer__brand p { color: var(--muted); max-width: 42ch; font-size: 15px; }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer__col a, .footer__col li { color: var(--fg-soft); font-size: 15px; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__bottom a:hover { color: var(--accent); }

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

/* ---------- cookie popup ---------- */
.cookie-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 24px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg-light);
  color: var(--ink);
  padding: 32px 36px;
  max-width: 480px;
  border-radius: 6px;
  box-shadow: 0 24px 80px -20px rgba(0,0,0,0.5);
}
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 14px;
}
.cookie-popup__card h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  line-height: 1.1;
  margin-bottom: 12px;
  color: var(--ink);
}
.cookie-popup__card p { font-size: 14px; line-height: 1.65; color: var(--ink-soft); }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button {
  padding: 11px 24px;
  border: 1px solid var(--border-dark);
  border-radius: 9999px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  color: var(--ink);
}
.cookie-popup__actions button:first-child:hover { background: rgba(12,43,36,0.06); }
.cookie-popup__actions button:last-child { background: var(--ink); color: var(--bg-light); border-color: var(--ink); }
.cookie-popup__actions button:last-child:hover { background: #06140F; }
