/* ==========================================================================
   Ezen Trade Hub — corporate site styles
   ========================================================================== */

:root {
  --navy: #071b35;
  --navy-2: #102a4c;
  --navy-3: #1b3a63;
  --gold: #c8a45d;
  --gold-dark: #a8853f;
  --gold-soft: rgba(200, 164, 93, 0.14);
  --white: #ffffff;
  --light: #f5f7fa;
  --line: #e3e8ef;
  --text: #455468;
  --heading: #071b35;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(7, 27, 53, 0.06), 0 2px 8px rgba(7, 27, 53, 0.04);
  --shadow: 0 10px 30px -12px rgba(7, 27, 53, 0.18);
  --shadow-lg: 0 24px 48px -20px rgba(7, 27, 53, 0.28);

  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--navy-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--gold);
  color: var(--navy);
  padding: 0.6rem 1rem;
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #d6b46f; color: var(--navy); transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(200, 164, 93, 0.7); }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); color: var(--white); transform: translateY(-1px); }

.btn-outline-light { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); color: var(--white); }

.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.88rem; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 700; font-size: 0.93rem;
  color: var(--navy); text-decoration: none;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s, gap 0.2s;
}
.text-link:hover { color: var(--gold-dark); gap: 0.6rem; }
.text-link svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.brand-name span { color: var(--gold-dark); }
.brand-sub {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 5px;
}

.primary-nav { display: flex; align-items: center; gap: 1.8rem; }
.nav-list { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  position: relative;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  padding: 0.4rem 0;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-list a:hover::after,
.nav-list a.is-active::after { transform: scaleX(1); }
.nav-list a:hover { color: var(--navy); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 20px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), background-color 0.2s;
  position: relative;
}
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-list { gap: 1.1rem; }
  .primary-nav { gap: 1.1rem; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1.5rem 1.5rem 2rem;
    overflow-y: auto;
    border-top: 1px solid var(--line);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
  }
  .primary-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.35s var(--ease), visibility 0s;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-list a::after { display: none; }
  .nav-list a.is-active { color: var(--gold-dark); }
  .primary-nav .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 27, 53, 0.94) 0%, rgba(7, 27, 53, 0.82) 45%, rgba(7, 27, 53, 0.45) 100%),
    linear-gradient(0deg, rgba(7, 27, 53, 0.6) 0%, rgba(7, 27, 53, 0) 40%);
}
.hero-content { padding: 6rem 1.5rem; max-width: var(--container); }
.hero-inner { max-width: 720px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 32px; height: 1.5px; background: currentColor; }
.eyebrow-light { color: var(--gold); }

.hero h1 { color: var(--white); margin-bottom: 0.3em; }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 400; }
.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 1.4rem;
}
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.84);
  max-width: 600px;
  margin-bottom: 2.4rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.hero-scroll span.line { width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); animation: scrollLine 2.2s ease-in-out infinite; }
.hero-scroll:hover { color: var(--white); }
@keyframes scrollLine { 0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-light { background: var(--light); }
.section-navy { background: var(--navy); color: rgba(255, 255, 255, 0.8); }
.section-navy h2, .section-navy h3 { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: 3.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 32px; height: 1.5px; background: currentColor; }
.section-head p { font-size: 1.12rem; margin: 0; }
.section-navy .section-head p { color: rgba(255, 255, 255, 0.78); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  margin-bottom: 4.5rem;
}
.about-media { position: relative; }
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-media::before {
  content: "";
  position: absolute;
  top: -18px; left: -18px;
  width: 45%; height: 55%;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius-lg) 0 0 0;
  z-index: -1;
}
.about-copy .lead { font-size: 1.15rem; color: var(--navy-2); }
.fact-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
}
.fact-list dt, .fact-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.2rem;
}
.fact-list li div:last-child { color: var(--navy); font-weight: 600; font-size: 0.98rem; line-height: 1.5; }

.card-grid { display: grid; gap: 1.5rem; }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.info-card::before {
  content: "";
  position: absolute; top: -1px; left: 2rem;
  width: 48px; height: 3px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.info-card:hover::before { width: 84px; }
.info-card .label {
  font-family: var(--font-body);
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 0.9rem; display: block;
}
.info-card p { margin: 0; color: var(--navy-2); font-size: 1.04rem; }

.icon-badge {
  width: 54px; height: 54px;
  display: inline-grid; place-items: center;
  border-radius: var(--radius);
  background: var(--gold-soft);
  color: var(--gold-dark);
  margin-bottom: 1.4rem;
  transition: background-color 0.3s, color 0.3s;
}
.icon-badge svg { width: 26px; height: 26px; }

/* ---------- Brands ---------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.5rem;
}
.brand-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.brand-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.brand-card:nth-child(4) { grid-column: 2 / span 2; }

.brand-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  background: var(--navy);
  border-color: var(--navy);
  color: rgba(255, 255, 255, 0.82);
}
.brand-card.featured .brand-card-top { background: none; border: 0; min-height: 0; padding: 0; }
.brand-card.featured h3 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.4rem); }
.brand-card.featured .brand-cat { color: var(--gold); }
.brand-card.featured .brand-card-body p { color: rgba(255, 255, 255, 0.8); font-size: 1.1rem; }
.featured-visual {
  position: relative;
  min-height: 320px;
  background: var(--navy-2);
  overflow: hidden;
}
.featured-visual:has(.brand-logo) {
  background: var(--white);
  display: grid; place-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: inset 0 0 0 10px var(--white), inset 0 0 0 11px rgba(200, 164, 93, 0.45);
}
.featured-visual .brand-logo {
  width: 100%; max-width: 420px; height: auto;
  object-fit: contain;
}

.brand-card-top {
  position: relative;
  min-height: 150px;
  padding: 1.6rem 1.75rem;
  background: var(--light);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.brand-card-top .icon-badge { margin: 0; background: var(--navy); color: var(--gold); width: 60px; height: 60px; }
.brand-card:hover .brand-card-top .icon-badge { background: var(--navy-2); }

.status {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 99px;
  white-space: nowrap;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-dev { color: #6b5520; background: rgba(200, 164, 93, 0.18); border: 1px solid rgba(200, 164, 93, 0.45); }
.status-live { color: var(--navy); background: var(--gold); }

.brand-card-body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.brand-card.featured .brand-card-body { padding: clamp(2rem, 4vw, 3.5rem); justify-content: center; }
.brand-cat {
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 0.5rem;
}
.brand-card h3 { font-size: 1.55rem; margin-bottom: 0.6rem; }
.brand-card-body p { font-size: 0.99rem; margin-bottom: 1.6rem; }
.brand-card-body .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.brand-domain { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

.legend {
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: center;
  margin-top: 2.25rem;
  font-size: 0.9rem;
}
.legend p { margin: 0; display: flex; align-items: center; gap: 0.6rem; }

/* Initiative details */
.initiatives {
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid var(--line);
}
.initiatives-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2.5rem; }
.initiatives-head h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 0; }
.initiatives-head p { max-width: 520px; margin: 0; font-size: 0.98rem; }
.initiative-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.initiative {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  scroll-margin-top: calc(var(--header-h) + 24px);
  transition: border-color 0.4s, box-shadow 0.4s;
}
.initiative:target, .initiative.is-highlight { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.initiative .icon-badge { margin: 0; width: 48px; height: 48px; }
.initiative h4 { font-size: 1.25rem; margin-bottom: 0.15rem; }
.initiative .brand-cat { margin-bottom: 0.7rem; }
.initiative p { font-size: 0.96rem; margin-bottom: 0.6rem; }
.initiative p:last-child { margin-bottom: 0; }
.initiative .note { font-size: 0.86rem; color: #5d6b7e; font-style: italic; }

/* ---------- Services ---------- */
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
  position: relative;
  overflow: hidden;
}
.service-card .num {
  position: absolute; top: 1.6rem; right: 1.8rem;
  font-family: var(--font-display); font-size: 1rem; color: #b5bfcc;
  transition: color 0.3s;
}
.service-card h3 { font-size: 1.22rem; font-family: var(--font-body); font-weight: 800; letter-spacing: 0.01em; margin-bottom: 0.7rem; }
.service-card p { font-size: 0.98rem; margin: 0; }
.service-card::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover .icon-badge { background: var(--navy); color: var(--gold); }
.service-card:hover .num { color: var(--gold-dark); }
.section-note { margin: 2.5rem auto 0; max-width: 760px; text-align: center; font-size: 0.92rem; color: #5d6b7e; }

/* ---------- Ecosystem ---------- */
.eco-wrap {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.eco-copy p { font-size: 1.1rem; }
.eco-keys { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.eco-keys li { display: flex; gap: 0.85rem; align-items: flex-start; font-size: 0.98rem; color: var(--navy-2); }
.eco-keys svg { width: 20px; height: 20px; color: var(--gold-dark); flex-shrink: 0; margin-top: 4px; }

.eco-diagram {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}
.eco-diagram .eco-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.eco-lines .ring { fill: none; stroke: #d5dce6; stroke-width: 1; stroke-dasharray: 3 6; }
.eco-lines .spoke { stroke: var(--gold); stroke-width: 1; opacity: 0.6; stroke-dasharray: 220; stroke-dashoffset: 220; }
.eco-diagram.is-visible .spoke { animation: drawLine 1.2s var(--ease) forwards; }
.eco-diagram.is-visible .spoke:nth-child(3) { animation-delay: 0.1s; }
.eco-diagram.is-visible .spoke:nth-child(4) { animation-delay: 0.2s; }
.eco-diagram.is-visible .spoke:nth-child(5) { animation-delay: 0.3s; }
.eco-diagram.is-visible .spoke:nth-child(6) { animation-delay: 0.4s; }
.eco-diagram.is-visible .spoke:nth-child(7) { animation-delay: 0.5s; }
.eco-diagram.is-visible .spoke:nth-child(8) { animation-delay: 0.6s; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

.eco-nodes { list-style: none; margin: 0; padding: 0; }
.eco-node {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 25%;
  text-align: center;
}
.eco-node a, .eco-node > span {
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
  padding: 0.85rem 0.5rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  text-decoration: none;
  border: 1px solid var(--navy);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), background-color 0.3s, border-color 0.3s;
}
.eco-node a:hover { transform: translateY(-3px); background: var(--navy-2); border-color: var(--gold); color: var(--white); }
.eco-node strong { font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; line-height: 1.2; }
.eco-node small { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.eco-node.future > span { background: var(--white); color: var(--navy); border: 1.5px dashed var(--gold); box-shadow: none; }
.eco-node.future small { color: var(--gold-dark); }

.eco-center {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 34%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 0 10px rgba(200, 164, 93, 0.1), var(--shadow-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 1rem;
}
.eco-center img { width: 42%; height: auto; margin-bottom: 0.4rem; }
.eco-center strong { font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: clamp(0.9rem, 1.6vw, 1.1rem); line-height: 1.15; }

/* positions: 7 nodes around a circle (radius 37%) */
.eco-node:nth-child(1) { left: 50%; top: 13%; }
.eco-node:nth-child(2) { left: 78.9%; top: 26.9%; }
.eco-node:nth-child(3) { left: 86.1%; top: 58.2%; }
.eco-node:nth-child(4) { left: 66.1%; top: 83.3%; }
.eco-node:nth-child(5) { left: 33.9%; top: 83.3%; }
.eco-node:nth-child(6) { left: 13.9%; top: 58.2%; }
.eco-node:nth-child(7) { left: 21.1%; top: 26.9%; }

/* Ecosystem brand card */
.eco-card {
  margin-top: clamp(3rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem 2rem;
  align-items: start;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.eco-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.eco-card .icon-badge { margin: 0; background: var(--navy); color: var(--gold); width: 60px; height: 60px; }
.eco-card h3 { font-size: 1.55rem; margin-bottom: 0.6rem; }
.eco-card-body p:not(.brand-cat) { font-size: 0.99rem; margin-bottom: 1.1rem; max-width: 62ch; }

/* CTA panel */
.cta-panel {
  margin-top: clamp(4rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  padding: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem 3rem;
  align-items: center;
  isolation: isolate;
}
.cta-panel::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 100% 0%, rgba(200, 164, 93, 0.18), transparent 45%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
}
.cta-panel h3 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta-panel p { margin: 0; font-size: 1.06rem; }
.cta-actions { display: flex; flex-direction: column; gap: 0.85rem; }
.cta-actions .btn { width: 100%; justify-content: space-between; }

/* Elite membership info */
.elite {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem 2rem;
  padding: clamp(2rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  scroll-margin-top: calc(var(--header-h) + 24px);
  transition: border-color 0.4s, box-shadow 0.4s;
}
.elite:target, .elite.is-highlight { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.elite .icon-badge { margin: 0; }
.elite h3 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.elite p { font-size: 0.99rem; }
.elite .disclaimer {
  font-size: 0.88rem;
  padding: 1rem 1.2rem;
  background: var(--light);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--navy-2);
}

/* ---------- Why ---------- */
.why-grid .info-card { padding: 2rem 1.75rem; background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); }
.why-grid .info-card::before { left: 1.75rem; }
.why-grid .info-card:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(200, 164, 93, 0.4); box-shadow: none; }
.why-grid .icon-badge { background: rgba(200, 164, 93, 0.12); color: var(--gold); }
.why-grid h3 { font-family: var(--font-body); font-size: 0.92rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 0.8rem; }
.why-grid p { color: rgba(255, 255, 255, 0.76); font-size: 0.99rem; }

/* ---------- Opportunities ---------- */
.opps {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(5rem, 10vw, 8rem) 0;
  color: rgba(255, 255, 255, 0.86);
  background: var(--navy-2);
}
.opps-media { position: absolute; inset: 0; z-index: -2; }
.opps-media img { width: 100%; height: 100%; object-fit: cover; }
.opps::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7, 27, 53, 0.95) 0%, rgba(7, 27, 53, 0.85) 55%, rgba(16, 42, 76, 0.7) 100%);
}
.opps-inner { max-width: 680px; }
.opps h2 { color: var(--white); }
.opps p { font-size: 1.12rem; margin-bottom: 2rem; }
.opps-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.25rem; list-style: none; padding: 0; }
.opps-tags li {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(200, 164, 93, 0.55);
  border-radius: 99px;
  color: var(--white);
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.contact-info .lead { font-size: 1.1rem; }
.contact-items { list-style: none; padding: 0; margin: 2.25rem 0 0; display: grid; gap: 1.25rem; }
.contact-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.contact-item .icon-badge { margin: 0; width: 46px; height: 46px; }
.contact-item .icon-badge svg { width: 22px; height: 22px; }
.contact-item a, .contact-item address { color: var(--navy); font-weight: 600; font-style: normal; font-size: 0.99rem; line-height: 1.55; word-break: break-word; }
.contact-item a { text-decoration: none; }
.contact-item a:hover { color: var(--gold-dark); text-decoration: underline; }
.contact-reg { margin-top: 1.5rem; font-size: 0.86rem; color: #5d6b7e; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow);
}
.form-card h3 { font-size: 1.6rem; margin-bottom: 0.4rem; }
.form-card > p { font-size: 0.95rem; margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-size: 0.86rem; font-weight: 700; color: var(--navy); margin-bottom: 0.45rem; }
.field label .req { color: var(--gold-dark); }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--navy);
  background: var(--light);
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.field.has-error input, .field.has-error textarea { border-color: #b42318; background: #fff8f7; }
.field-error { display: block; font-size: 0.82rem; color: #b42318; margin-top: 0.35rem; min-height: 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.5rem; }
.form-foot small { font-size: 0.82rem; color: #5d6b7e; max-width: 320px; line-height: 1.5; }
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

.form-status {
  display: none;
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 1.55;
}
.form-status.is-success { display: block; background: #ecf7f0; color: #14532d; border: 1px solid #b7e1c6; }
.form-status.is-error { display: block; background: #fdf0ef; color: #8a1c13; border: 1px solid #f4c7c2; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  padding: 5rem 0 0;
  font-size: 0.95rem;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-name span { color: var(--gold); }
.footer-brand .brand-sub { color: rgba(255, 255, 255, 0.6); }
.footer-logo { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; margin-bottom: 1.25rem; }
.footer-logo .logo-tile { background: var(--white); border-radius: 8px; padding: 5px; display: grid; place-items: center; }
.footer-logo img { width: 40px; height: 40px; }
.footer-brand p { max-width: 340px; }
.footer-tagline { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 1.05rem; }
.site-footer h2 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.footer-links a { color: rgba(255, 255, 255, 0.78); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-contact address { font-style: normal; line-height: 1.65; }
.footer-contact a { color: var(--white); text-decoration: none; font-weight: 600; word-break: break-word; }
.footer-contact a:hover { color: var(--gold); }
.footer-contact p { margin-bottom: 1rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  /* Extra bottom clearance keeps the legal links above the fixed hosting badge
     Netlify injects at the bottom-right of the viewport. */
  padding: 1.5rem 0 5rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: 0.86rem;
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.footer-legal a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.footer-legal a:hover { color: var(--gold); }

.back-to-top {
  position: fixed;
  right: 1.25rem; bottom: 1.25rem;
  z-index: 90;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  border: 1px solid rgba(200, 164, 93, 0.5);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  text-decoration: none;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Legal / simple pages ---------- */
.page-hero {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  border: 1px solid rgba(200, 164, 93, 0.25);
}
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 0.4em; }
.page-hero p { max-width: 640px; margin: 0; }
.breadcrumb { font-size: 0.85rem; margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: var(--gold); }

.legal { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.legal-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 4rem; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 2rem); font-size: 0.9rem; }
.legal-toc h2 { font-family: var(--font-body); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dark); }
.legal-toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.5rem; }
.legal-toc a { color: var(--text); text-decoration: none; }
.legal-toc a:hover { color: var(--navy); text-decoration: underline; }
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 1.6rem; margin-top: 2.6rem; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body ul { padding-left: 1.3rem; margin: 0 0 1em; }
.legal-body li { margin-bottom: 0.4rem; }
.draft-notice {
  padding: 1.1rem 1.3rem;
  background: rgba(200, 164, 93, 0.12);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--navy-2);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.simple-page {
  min-height: calc(100vh - var(--header-h) - 200px);
  display: grid; place-items: center;
  text-align: center;
  padding: 6rem 0;
  background: var(--light);
}
.simple-page .code { font-family: var(--font-display); font-size: clamp(5rem, 14vw, 9rem); color: var(--gold); line-height: 1; margin-bottom: 0.5rem; }
.simple-page p { max-width: 520px; margin: 0 auto 2rem; }
.simple-page .actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .about-grid, .eco-wrap, .contact-grid, .cta-panel { grid-template-columns: 1fr; }
  .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-card, .brand-card:nth-child(4) { grid-column: span 1; }
  .brand-card:last-child:nth-child(even) { grid-column: 1 / -1; }
  .brand-card.featured { grid-template-columns: 1fr; }
  .featured-visual { min-height: 220px; }
  .initiative-list { grid-template-columns: 1fr; }
  .legal-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .legal-toc { position: static; padding: 1.25rem 1.5rem; background: var(--light); border-radius: var(--radius-lg); }
  .about-media { max-width: 640px; }
}

@media (max-width: 680px) {
  body { font-size: 1rem; }
  .container { padding: 0 1.15rem; }
  .cols-3, .cols-4, .brand-grid { grid-template-columns: 1fr; }
  .brand-card:last-child:nth-child(even) { grid-column: auto; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .fact-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .hero-content { padding: 4.5rem 1.15rem 6rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero::before { background: linear-gradient(180deg, rgba(7, 27, 53, 0.82) 0%, rgba(7, 27, 53, 0.92) 100%); }
  .brand-sub { display: none; }
  .elite { grid-template-columns: 1fr; }
  .initiative { grid-template-columns: 1fr; }
  .about-media::before { top: -10px; left: -10px; }

  /* Ecosystem: stack vertically */
  .eco-diagram { aspect-ratio: auto; max-width: 420px; padding-left: 1.75rem; }
  .eco-diagram .eco-lines { display: none; }
  .eco-diagram::before {
    content: ""; position: absolute; left: 0.55rem; top: 2rem; bottom: 2rem;
    width: 1px; background: var(--gold); opacity: 0.6;
  }
  .eco-center {
    position: relative; left: auto; top: auto; transform: none;
    width: 100%; aspect-ratio: auto; border-radius: var(--radius-lg);
    flex-direction: row; gap: 0.9rem; justify-content: flex-start; padding: 1rem 1.2rem;
    box-shadow: 0 0 0 6px rgba(200, 164, 93, 0.1), var(--shadow);
    margin-bottom: 0.9rem;
  }
  .eco-center img { width: 44px; margin: 0; }
  .eco-center strong { font-size: 1.15rem; }
  .eco-nodes { display: grid; gap: 0.75rem; }
  .eco-node, .eco-node:nth-child(n) { position: relative; left: auto; top: auto; transform: none; width: 100%; }
  .eco-node::before {
    content: ""; position: absolute; left: -1.2rem; top: 50%;
    width: 1.2rem; height: 1px; background: var(--gold); opacity: 0.6;
  }
  .eco-node a, .eco-node > span { flex-direction: row; justify-content: space-between; padding: 0.95rem 1.2rem; text-align: left; }
  .eco-card { grid-template-columns: auto 1fr; }
  .eco-card .status { grid-row: 1; grid-column: 2; justify-self: end; align-self: center; }
  .eco-card-body { grid-column: 1 / -1; }
  .eco-center::before {
    content: ""; position: absolute; left: -1.2rem; top: 50%;
    width: 1.2rem; height: 1px; background: var(--gold); opacity: 0.6;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .eco-lines .spoke { stroke-dashoffset: 0; }
}

/* Planned status + hero note */
.status-planned { color: var(--navy-2); background: var(--white); border: 1px dashed var(--gold-dark); }
.hero-note { margin: 1.5rem 0 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); }
.hero-note a { color: var(--gold); }
