@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Black+Ops+One&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Space+Grotesk:wght@300..700&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap");
:root {
  --green-950: #08140f;
  --green-900: #0d2a1d;
  --green-800: #123825;
  --gold-500: #c9a24b;
  --gold-300: #e3cd8f;
  --gold-100: #f4ead0;
  --cream: #f8f4ea;
  --ink: #12140f;
  --line: rgba(201, 162, 75, 0.35);

  --bg: var(--cream);
  --bg-2: #f1ead8;
  --card: #ffffff;
  --fg: var(--ink);
  --fg-muted: rgba(18, 20, 15, 0.62);
  --header-bg: #f8f4ea;
  --forest: #0e2417;
  --gold-light: #e6c07d;
  --gold: #c8963d;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0f1c15;
  --bg-2: #182a20;
  --card: #182a20;
  --fg: #eef2ec;
  --fg-muted: #a7b7ab;
  --line: rgba(249, 244, 233, 0.14);
  --header-bg: #0f1c15;
  color-scheme: dark;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ----------- HEADER ------------*/
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 26px;
  padding: 10px 28px;
  max-width: 1320px;
  min-height: 72px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}
.logo-mark {
  width: 250%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.logo-text {
  display: none;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-width: 0;
}
.nav-links a {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
  letter-spacing: 0.025em;
  color: var(--fg);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-links a.active {
  color: var(--gold);
}
.nav-links a.active::after {
  width: 100%;
}
.nav-links li {
  position: relative;
}
/* ---------- REFERENCE-STYLE DESKTOP DROPDOWNS ---------- */
.has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 7px;
}
.has-dropdown .caret {
  font-size: 0;
  width: 12px;
  height: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
}
.has-dropdown .caret::before {
  content: "+";
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 400;
  transition: transform 0.25s ease;
}
.has-dropdown:hover .caret::before {
  transform: rotate(45deg);
}
.has-dropdown::before {
  content: "";
  position: absolute;
  top: 100%;
  left: -22px;
  right: -22px;
  height: 26px;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 22px);
  left: 50%;
  transform: translate(-50%, 8px);
  width: 260px;
  max-width: calc(100vw - 32px);
  background: rgba(249, 244, 233, 0.98);
  color: #17251b;
  border: 1px solid rgba(23, 37, 27, 0.1);
  border-radius: 0;
  padding: 18px 16px 16px;
  box-shadow: 0 18px 40px rgba(20, 30, 22, 0.16);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
  transition-delay: 0.08s;
  z-index: 250;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
.nav-dropdown-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.nav-dropdown-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7b806f;
  padding: 4px 10px 11px;
  margin-bottom: 2px;
  border-bottom: 1px solid rgba(23, 37, 27, 0.14);
}
.nav-dropdown a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 46px;
  padding: 10px 10px;
  border-radius: 0;
  border-bottom: 1px solid rgba(23, 37, 27, 0.1);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.73rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #27352b;
  line-height: 1.4;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    padding-left 0.18s ease;
}
.nav-dropdown a:last-child {
  border-bottom: none;
}
.nav-dropdown a::after {
  display: none;
}
.nav-dropdown a::before {
  content: "+";
  order: 2;
  flex: 0 0 auto;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.76rem;
  color: #6d745f;
  transition:
    transform 0.18s ease,
    color 0.18s ease;
}
.nav-dropdown a:hover {
  background: rgba(255, 255, 255, 0.68);
  color: #0d2516;
  padding-left: 14px;
}
.nav-dropdown a:hover::before {
  color: #b8893c;
  transform: rotate(45deg);
}
.has-dropdown:nth-child(3) .nav-dropdown {
  width: 292px;
}
.nav-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  white-space: nowrap;
}
.nav-cta .btn {
  font-size: 0.84rem;
  padding: 12px 20px;
}
.mobile-cta {
  display: none;
}
/* Mobile-only menu elements must stay hidden on desktop. */
.mobile-menu-brand,
.mobile-menu-foot {
  display: none;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle .toggle-africa {
  font-size: 1.3rem;
  transition:
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
/* Icon and bars follow the active theme, same as the About page */
[data-theme="light"] .nav-toggle .toggle-africa {
  color: var(--forest);
}
[data-theme="dark"] .nav-toggle .toggle-africa {
  color: var(--cream);
}
[data-theme="light"] .nav-toggle .bar {
  background: var(--forest);
}
[data-theme="dark"] .nav-toggle .bar {
  background: var(--cream);
}
.nav-toggle .bar {
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  opacity: 0;
  transition:
    opacity 0.2s ease,
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav-toggle .bar.b1 {
  transform: rotate(0deg) scale(0.5);
}
.nav-toggle .bar.b2 {
  transform: rotate(0deg) scale(0.5);
}
.nav-toggle.open .toggle-africa {
  opacity: 0;
  transform: scale(0.4) rotate(90deg);
}
.nav-toggle.open .bar {
  opacity: 1;
}
.nav-toggle.open .bar.b1 {
  transform: rotate(45deg) scale(1);
}
.nav-toggle.open .bar.b2 {
  transform: rotate(-45deg) scale(1);
}

.theme-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 210;
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}
.theme-toggle:hover {
  background: var(--bg-2);
}
.theme-toggle i {
  position: absolute;
  font-size: 0.95rem;
  color: var(--fg);
  transition:
    opacity 0.3s ease,
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    color 0.3s ease;
}
.theme-toggle .icon-moon {
  opacity: 0;
  transform: scale(0.4) rotate(-90deg);
}
.theme-toggle .icon-sun {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  color: var(--gold);
}
[data-theme="dark"] .theme-toggle .icon-sun {
  opacity: 0;
  transform: scale(0.4) rotate(90deg);
}
[data-theme="dark"] .theme-toggle .icon-moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  color: var(--gold-light);
}

@media (max-width: 980px) {
  header {
    position: static;
    backdrop-filter: none;
  }
  nav {
    padding: 10px 24px;
    min-height: 68px;
  }
  .nav-toggle {
    display: flex;
    z-index: 210;
  }
  .nav-cta {
    gap: 0;
  }
  .nav-cta .btn {
    display: none;
  }
  .nav-links {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    background:
      linear-gradient(180deg, rgba(8, 24, 15, 0.97), rgba(8, 24, 15, 0.985)),
      var(--forest);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 88px 28px 28px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-105%);
    transition:
      opacity 0.3s ease,
      transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1),
      visibility 0s linear 0.38s;
    z-index: 200;
    box-shadow:
      18px 0 55px rgba(0, 0, 0, 0.28),
      0 0 0 100vmax rgba(0, 0, 0, 0.38);
  }
  .nav-links.mobile-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition:
      opacity 0.3s ease,
      transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .nav-links::-webkit-scrollbar {
    width: 4px;
  }
  .nav-links::-webkit-scrollbar-thumb {
    background: rgba(249, 244, 233, 0.18);
    border-radius: 999px;
  }

  .mobile-menu-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    min-height: 82px;
    margin-bottom: 12px;
    padding: 0 0 18px;
    border-bottom: 1px solid rgba(249, 244, 233, 0.28);
  }
  .mobile-menu-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
  }
  .mobile-brand-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-top: 1px;
  }
  .mobile-brand-name {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--fg);
  }

  .mobile-brand-tagline {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fg-muted);
  }
  .mobile-brand-tagline b:nth-child(2) {
    color: #d3a14a;
    font-weight: 700;
  }
  .mobile-brand-tagline::after {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    margin-top: 6px;
    background: #b8532f;
    opacity: 0.9;
  }
  .nav-links > li:not(.mobile-menu-brand):not(.mobile-menu-foot) {
    border-bottom: 1px solid rgba(249, 244, 233, 0.24);
  }
  .nav-links > li.mobile-cta {
    border-bottom: none;
  }
  .nav-links > li > a {
    font-family: "Barlow Condensed", sans-serif;
    padding: 16px 1px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(249, 244, 233, 0.86);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .has-dropdown .caret {
    display: block;
    color: rgba(249, 244, 233, 0.5);
    transition: transform 0.3s ease;
  }
  .has-dropdown.expanded .caret {
    transform: rotate(180deg);
    color: var(--gold-light);
  }
  .has-dropdown:hover .nav-dropdown,
  .has-dropdown:focus-within .nav-dropdown {
    position: static;
    left: auto;
    top: auto;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-dropdown {
    position: static;
    left: auto;
    top: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none !important;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
    min-width: 0;
    width: auto !important;
    max-width: none;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .has-dropdown.expanded .nav-dropdown {
    grid-template-rows: 1fr;
  }
  .has-dropdown:not(.expanded) .nav-dropdown {
    visibility: visible;
    opacity: 1;
  }
  .nav-dropdown-inner {
    overflow: hidden;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .nav-dropdown-label {
    padding: 12px 0 7px 7px;
    color: rgba(249, 244, 233, 0.38);
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }
  .nav-dropdown a {
    padding: 7px 0 7px 7px;
    min-height: 0;
    display: block;
    font-family: "Inter", sans-serif;
    font-size: 0.69rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(249, 244, 233, 0.65);
    border-bottom: none;
  }
  .nav-dropdown a::before {
    display: none;
  }
  .nav-dropdown a:hover {
    background: transparent;
    color: var(--gold-light);
  }
  .mobile-cta {
    display: block !important;
    margin-top: 18px;
  }
  .mobile-cta .btn {
    color: var(--cream);
  }
  .mobile-menu-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px solid rgba(249, 244, 233, 0.18);
  }
  .mmf-mark {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    opacity: 0.85;
  }
  .mmf-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .mobile-theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(249, 244, 233, 0.2);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--cream);
    cursor: pointer;
    flex: 0 0 40px;
  }
  .mobile-theme-toggle i {
    position: absolute;
    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }
  .mobile-theme-toggle .icon-sun {
    opacity: 1;
  }
  .mobile-theme-toggle .icon-moon {
    opacity: 0;
  }
  [data-theme="dark"] .mobile-theme-toggle .icon-sun {
    opacity: 0;
  }
  [data-theme="dark"] .mobile-theme-toggle .icon-moon {
    opacity: 1;
  }
  [data-theme="dark"] .mobile-theme-toggle {
    color: #f9f4e9;
    border-color: rgba(249, 244, 233, 0.25);
  }
  .mmf-links {
    display: flex;
    gap: 10px;
  }
  .mmf-links a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(249, 244, 233, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    font-size: 0.78rem;
  }
}
/* =========================================================
         MOBILE NAVIGATION — restyled to match the About page
         (drawer slides in from the right, follows the active
         light/dark theme via the --bg/--fg variables)
         ========================================================= */
@media (max-width: 980px) {
  .nav-links {
    background: var(--bg);
    box-shadow:
      -18px 0 55px rgba(0, 0, 0, 0.18),
      0 0 0 100vmax rgba(0, 0, 0, 0.38);
    transform: translateX(100%);
  }
  .nav-links.mobile-open {
    transform: translateX(0);
  }
  .nav-links::-webkit-scrollbar-thumb {
    background: rgba(21, 35, 26, 0.18);
  }
  .mobile-brand-name {
    color: var(--fg);
  }
  .mobile-brand-tagline {
    color: var(--fg-muted);
  }
  .mobile-brand-tagline::after {
    display: none;
  }
  .nav-links > li:not(.mobile-menu-brand):not(.mobile-menu-foot) {
    border-bottom: 1px solid var(--line);
  }
  .nav-links > li > a {
    font-family: "Barlow Condensed", sans-serif;
    color: var(--fg);
    text-transform: none;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    padding: 16px 2px;
  }
  .nav-links > li > a.active {
    color: var(--gold);
  }
  .has-dropdown::before {
    display: none;
  }
  .has-dropdown .caret {
    color: var(--gold);
  }
  .has-dropdown.expanded .caret {
    color: var(--gold-light);
  }
  .nav-dropdown-label {
    color: var(--fg-muted);
  }
  .nav-dropdown a {
    color: var(--fg);
    font-size: 0.92rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.02em;
    border-bottom: 1px solid var(--line);
    padding: 9px 2px 9px 6px;
  }
  .nav-dropdown a:hover {
    background: transparent;
    color: var(--gold);
  }
  .mobile-menu-foot {
    border-top: 1px solid var(--line);
  }
  .mobile-theme-toggle {
    border: 1px solid var(--line);
    color: var(--fg);
  }
  .mobile-theme-toggle:hover {
    background: var(--bg-2);
  }
  .mmf-links a {
    border: 1px solid var(--line);
    color: var(--fg);
  }
  .mobile-theme-toggle {
    display: none;
  }
}
@media (max-width: 560px) {
  nav {
    padding: 10px 18px;
  }
  .logo {
    width: 52px;
    height: 52px;
  }
  .logo-mark {
    width: 230%;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-300);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-500);
  display: inline-block;
}

/* ---------- HERO / CONTACT ---------- */
.contact {
  position: relative;
  background: linear-gradient(
    to bottom,
    var(--green-950) 0%,
    var(--green-900) 64%,
    var(--bg) 85%,
    var(--bg) 100%
  );
  overflow: hidden;
  min-height: 780px;
  padding: 80px 6vw 0;
}

/* signature: constellation / network lines echoing the diaspora "connection" theme */
.network-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 78%;
  opacity: 0;
  pointer-events: none;
  animation: networkFadeIn 2s ease 0.2s forwards;
}

/* gentle constant motion — nodes twinkle, connections pulse with light */
.network-svg .node {
  transform-box: fill-box;
  transform-origin: center;
  animation: twinkle 4s ease-in-out infinite;
}
.network-svg .node:nth-of-type(1) {
  animation-delay: 0s;
}
.network-svg .node:nth-of-type(2) {
  animation-delay: 0.35s;
}
.network-svg .node:nth-of-type(3) {
  animation-delay: 0.7s;
}
.network-svg .node:nth-of-type(4) {
  animation-delay: 1.05s;
}
.network-svg .node:nth-of-type(5) {
  animation-delay: 1.4s;
}
.network-svg .node:nth-of-type(6) {
  animation-delay: 1.75s;
}
.network-svg .node:nth-of-type(7) {
  animation-delay: 2.1s;
}
.network-svg .node:nth-of-type(8) {
  animation-delay: 2.45s;
}
.network-svg .node:nth-of-type(9) {
  animation-delay: 2.8s;
}
.network-svg .node:nth-of-type(10) {
  animation-delay: 0.2s;
}
.network-svg .node:nth-of-type(11) {
  animation-delay: 0.55s;
}
.network-svg .node:nth-of-type(12) {
  animation-delay: 0.9s;
}
.network-svg .node:nth-of-type(13) {
  animation-delay: 1.25s;
}

.network-svg .link {
  stroke-dasharray: 5 9;
  animation: flowLine 7s linear infinite;
}
.network-svg .link:nth-of-type(even) {
  animation-direction: reverse;
  animation-duration: 9s;
}

/* ---------- page-entrance animation (hero) ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes networkFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.3;
  }
}
@keyframes twinkle {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}
@keyframes flowLine {
  to {
    stroke-dashoffset: -140;
  }
}
@keyframes logoPopIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.contact-info > * {
  opacity: 0;
  animation: fadeUp 1.1s cubic-bezier(0.16, 0.8, 0.24, 1) forwards;
}
.contact-info .eyebrow {
  animation-delay: 0.15s;
}
.contact-info h1 {
  animation-delay: 0.3s;
}
.contact-info .lede {
  animation-delay: 0.5s;
}
.contact-info .contact-details {
  animation-delay: 0.68s;
}
.contact-info .social-links {
  animation-delay: 0.86s;
}

.logo-stage {
  opacity: 0;
  animation: logoPopIn 1.3s cubic-bezier(0.16, 0.8, 0.24, 1) 0.55s forwards;
}

/* ---------- scroll-triggered reveal (everything below the hero) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 0.8, 0.24, 1),
    transform 0.9s cubic-bezier(0.16, 0.8, 0.24, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal.d1 {
  transition-delay: 0.05s;
}
.reveal.d2 {
  transition-delay: 0.16s;
}
.reveal.d3 {
  transition-delay: 0.27s;
}
.reveal.d4 {
  transition-delay: 0.38s;
}
.faq-item.reveal:nth-child(1) {
  transition-delay: 0.05s;
}
.faq-item.reveal:nth-child(2) {
  transition-delay: 0.13s;
}
.faq-item.reveal:nth-child(3) {
  transition-delay: 0.21s;
}
.faq-item.reveal:nth-child(4) {
  transition-delay: 0.29s;
}
.faq-item.reveal:nth-child(5) {
  transition-delay: 0.37s;
}

@media (prefers-reduced-motion: reduce) {
  .network-svg,
  .network-svg .node,
  .network-svg .link,
  .contact-info > *,
  .logo-stage,
  .logo-stage img,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .network-svg {
    opacity: 0.3 !important;
  }
}

.contact-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
}

.contact-info {
  max-width: 480px;
}

.contact-info h1 {
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.1;
  color: #fff;
  margin: 14px 0 16px;
}
.contact-info h1 em {
  font-style: normal;
  color: var(--gold-500);
}

.contact-info > p.lede {
  max-width: 400px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(244, 234, 208, 0.72);
  margin-bottom: 40px;
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
  max-width: 420px;
  margin-bottom: 26px;
}
.contact-details .full {
  grid-column: 1 / -1;
}

.contact-item .label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 600;
  margin-bottom: 8px;
}
.contact-item .value {
  font-size: 14.5px;
  color: var(--gold-100);
  line-height: 1.5;
}
.contact-item .value a:hover {
  color: var(--gold-500);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}
.social-link {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-300);
  font-size: 13px;
  transition: all 0.25s ease;
}
.social-link:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--green-950);
  transform: translateY(-3px);
}

/* logo stage — grounded bottom-right, sitting on the seam like the vases do */
.logo-stage {
  position: absolute;
  right: 7%;
  bottom: 70px;
  z-index: 2;
  width: min(30vw, 340px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.logo-stage::before {
  content: "";
  position: absolute;
  bottom: 6px;
  width: 70%;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(18, 20, 15, 0.28) 0%,
    rgba(18, 20, 15, 0) 72%
  );
}
.logo-stage img {
  position: relative;
  width: 100%;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.28));
}

/* ---------- FORM SECTION ---------- */
.get-in-touch {
  padding: 100px 6vw 110px;
  background: var(--bg);
  text-align: center;
}
.get-in-touch .eyebrow {
  color: var(--gold-500);
  justify-content: center;
  width: 100%;
}
.get-in-touch .eyebrow::before {
  display: none;
}
.get-in-touch h2 {
  font-size: clamp(30px, 3.6vw, 42px);
  color: var(--fg);
  margin: 14px 0 16px;
}
.divider {
  width: 64px;
  height: 2px;
  background: var(--gold-500);
  margin: 0 auto 20px;
}
.get-in-touch p.sub {
  max-width: 520px;
  margin: 0 auto 48px;
  color: var(--fg-muted);
  line-height: 1.7;
  font-size: 15.5px;
}

form#contactForm {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
  background: #fff;
  border: 1px solid #e9e1cc;
  border-radius: 14px;
  padding: 44px 44px 36px;
  box-shadow: 0 30px 60px -30px rgba(18, 20, 15, 0.18);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-bottom: 26px;
}
.form-group {
  margin-bottom: 26px;
  position: relative;
}
.form-row .form-group {
  margin-bottom: 0;
}
.form-group:last-of-type {
  margin-bottom: 0;
}

.field-icon {
  position: absolute;
  left: 2px;
  top: 15px;
  font-size: 13px;
  color: var(--green-950);
  opacity: 1;
}
.form-group input,
.form-group textarea {
  padding-left: 24px;
}

input,
textarea {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid #e2d9c0;
  background: transparent;
  padding: 14px 4px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.25s ease;
}
input::placeholder,
textarea::placeholder {
  color: #6b6355;
}
input:focus,
textarea:focus {
  outline: none;
  border-bottom-color: var(--gold-500);
}
textarea {
  resize: none;
  min-height: 130px;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #f0e9d6;
}
.form-footer .note {
  font-size: 12.5px;
  color: #6b6355;
  line-height: 1.6;
  max-width: 280px;
}

.form-status {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 26px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  opacity: 1;
  transition: opacity 0.5s ease;
}
.form-status.visible {
  display: flex;
}
.form-status.fade-out {
  opacity: 0;
}
.form-status.sending {
  background: #f1ead8;
  color: #6b5a2e;
  border: 1px solid #e3cd8f;
}
.form-status.success {
  background: #e6f4ea;
  color: #1e5e33;
  border: 1px solid #a9d9b8;
}
.form-status.error {
  background: #fbe9e7;
  color: #9c2f1f;
  border: 1px solid #f0b6ac;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-950);
  color: var(--gold-300);
  border: 1px solid var(--green-950);
  border-radius: 999px;
  padding: 16px 38px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary:hover {
  background: #0a1c11;
}
[data-theme="dark"] .btn-primary:hover {
  background: #ffffff;
  color: var(--green-950);
}

/* ---------- FAQ (own section, animated accordion) ---------- */
.faq {
  padding: 100px 6vw 110px;
  background: var(--green-950);
  color: var(--gold-100);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.faq .eyebrow {
  color: var(--gold-500);
  justify-content: center;
  width: 100%;
}
.faq .eyebrow::before {
  display: none;
}
.faq h2 {
  font-size: clamp(30px, 3.6vw, 42px);
  color: #fff;
  margin: 14px 0 0;
}
.faq .divider {
  background: var(--gold-500);
}
.faq p.sub {
  max-width: 520px;
  margin: 0 auto 56px;
  color: rgba(244, 234, 208, 0.72);
  line-height: 1.7;
  font-size: 15.5px;
}
.faq-list {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  text-align: left;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-question {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  cursor: pointer;
}
.faq-question span:first-child {
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  transition: color 0.25s ease;
}
.faq-item.active .faq-question span:first-child {
  color: var(--gold-300);
}
.faq-question:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 4px;
  border-radius: 4px;
}
.faq-question .q-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-500);
  font-size: 13px;
  transition:
    transform 0.35s cubic-bezier(0.65, 0, 0.35, 1),
    background 0.3s ease,
    color 0.3s ease;
}
.faq-item.active .faq-question .q-icon {
  background: var(--gold-500);
  color: var(--green-950);
  transform: rotate(135deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}
.faq-answer-inner {
  padding: 0 34px 26px 4px;
}
.faq-answer-inner p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(244, 234, 208, 0.72);
  max-width: 640px;

  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.35s ease 0.05s,
    transform 0.35s ease 0.05s;
}
.faq-item.active .faq-answer-inner p {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- MAP ---------- */
.map-section {
  position: relative;
  line-height: 0;
}
.map-section iframe {
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(0.35) contrast(1.05) brightness(0.97);
}
.map-pin-label {
  position: absolute;
  top: 24px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  background: var(--green-950);
  color: var(--gold-300);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: 0 14px 30px -10px rgba(18, 20, 15, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.map-pin-label i {
  color: var(--gold-500);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--green-950);
  color: rgba(244, 234, 208, 0.55);
  text-align: center;
  padding: 32px 6vw;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.footer strong {
  color: var(--gold-300);
}

@media (max-width: 860px) {
  .contact {
    min-height: auto;
    padding-bottom: 50px;
  }
  .contact-info {
    max-width: 100%;
  }
  .logo-stage {
    position: relative;
    right: auto;
    bottom: auto;
    width: 220px;
    margin: 36px auto 0;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  form#contactForm {
    padding: 32px 24px 28px;
  }
  .form-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-footer .btn-primary {
    width: 100%;
    justify-content: center;
  }
  .map-section iframe {
    height: 300px;
  }
  .map-pin-label {
    font-size: 11px;
    padding: 10px 16px;
  }
  .faq {
    padding: 70px 6vw 80px;
  }
  .faq-question span:first-child {
    font-size: 16px;
  }
  .faq-question {
    gap: 14px;
  }
}
