/* ═══════════════════════════════════════════════════════
   TFG — THE FOREVERGREEN GROUP
   Website Stylesheet v3.0
   Brand: Stealth Mode — Dark, Authoritative, Minimal
   v3 fixes: logo size (desktop), logo clip (mobile/tablet),
             image strip container, complete responsive section
   ═══════════════════════════════════════════════════════ */

/* ─── EUROPA (Display / Headings / UI) ───────────────── */
@font-face {
  font-family: 'Europa';
  src: url('../assets/fonts/Europa-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Europa';
  src: url('../assets/fonts/Europa-LightItalic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Europa';
  src: url('../assets/fonts/Europa-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Europa';
  src: url('../assets/fonts/Europa-RegularItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Europa';
  src: url('../assets/fonts/Europa-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Europa';
  src: url('../assets/fonts/Europa-BoldItalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ─── BILO (Body Text) ───────────────────────────────── */
@font-face {
  font-family: 'Bilo';
  src: url('../assets/Text%20Fonts/Bilo%20ExtraLight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bilo';
  src: url('../assets/Text%20Fonts/Bilo%20ExtraLight%20Italic.otf') format('opentype');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Bilo';
  src: url('../assets/Text%20Fonts/Bilo%20Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bilo';
  src: url('../assets/Text%20Fonts/Bilo%20Light%20Italic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Bilo';
  src: url('../assets/Text%20Fonts/Bilo.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bilo';
  src: url('../assets/Text%20Fonts/Bilo%20Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Bilo';
  src: url('../assets/Text%20Fonts/Bilo%20Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bilo';
  src: url('../assets/Text%20Fonts/Bilo%20Medium%20Italic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Bilo';
  src: url('../assets/Text%20Fonts/Bilo%20Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bilo';
  src: url('../assets/Text%20Fonts/Bilo%20Bold%20Italic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Bilo';
  src: url('../assets/Text%20Fonts/Bilo%20ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bilo';
  src: url('../assets/Text%20Fonts/Bilo%20Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ─── MUSEO SANS (Supporting / Secondary) ────────────── */
@font-face {
  font-family: 'Museo Sans';
  src: url('../assets/Text%20Fonts/Museo%20Sans%20100.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Museo Sans';
  src: url('../assets/Text%20Fonts/Museo%20Sans%20100%20Italic.otf') format('opentype');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Museo Sans';
  src: url('../assets/Text%20Fonts/Museo%20Sans%20300.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Museo Sans';
  src: url('../assets/Text%20Fonts/Museo%20Sans%20300%20Italic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Museo Sans';
  src: url('../assets/Text%20Fonts/Museo%20Sans%20500.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Museo Sans';
  src: url('../assets/Text%20Fonts/Museo%20Sans%20500%20Italic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Museo Sans';
  src: url('../assets/Text%20Fonts/Museo%20Sans%20700.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Museo Sans';
  src: url('../assets/Text%20Fonts/Museo%20Sans%20700%20Italic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Museo Sans';
  src: url('../assets/Text%20Fonts/Museo%20Sans%20900.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ─── DESIGN TOKENS ─────────────────────────────────── */
:root {
  --bg-primary:    #0A0D0B;
  --bg-secondary:  #0F1A12;
  --accent:        #014326;
  --text-primary:  #F2F0EA;
  --text-secondary:#8A8A7E;
  --hover-gold:    #C9B882;
  --border:        #1A2E1F;
  --white:         #FFFFFF;

  --font-display:  'Europa', system-ui, sans-serif;       /* headings, nav, labels, buttons */
  --font-body:     'Bilo', system-ui, sans-serif;          /* paragraphs, body copy */
  --font-support:  'Museo Sans', system-ui, sans-serif;   /* tags, form fields, legal, footer */
  /* legacy aliases kept for compatibility */
  --font-serif:    var(--font-display);
  --font-sans:     var(--font-display);

  --ease-reveal:   cubic-bezier(0.77, 0, 0.175, 1);
  --ease-smooth:   cubic-bezier(0.4, 0, 0.2, 1);

  --container:     1280px;
  --gutter:        clamp(1.5rem, 5vw, 4rem);

  /* ── v3: nav height increased to give logo proper room ── */
  /* ── v3: nav min-height — content (logo) defines actual height ── */
  --nav-height:    80px;

  /* ── v3: logo width (portrait logo 1:1.32 — width drives the size) ── */
  --logo-width:         110px;   /* desktop  → natural height ≈ 145px */
  --logo-width-tablet:   88px;   /* tablet   → natural height ≈ 116px */
  --logo-width-mobile:   78px;   /* mobile   → natural height ≈ 103px */
}

/* ─── RESET & BASE ───────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

address {
  font-style: normal;
}

/* ─── GRAIN OVERLAY ──────────────────────────────────── */
.grain-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  background-repeat: repeat;
}

/* ─── CONTAINER ──────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ─── PRELOADER ──────────────────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s var(--ease-smooth), visibility 0.5s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__logo {
  width: 55px;
  opacity: 0;
  animation: preloaderFade 1.4s var(--ease-smooth) forwards;
}

@keyframes preloaderFade {
  0%   { opacity: 0; transform: translateY(8px); }
  40%  { opacity: 1; transform: translateY(0); }
  80%  { opacity: 1; }
  100% { opacity: 0; }
}

/* ─── NAVIGATION ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* v3: height auto so the nav grows to fit the portrait logo.
     min-height keeps it from collapsing when logo isn't loaded yet. */
  height: auto;
  min-height: var(--nav-height);
  display: flex;
  /* v3: flex-start so logo anchors to the TOP of the nav —
     prevents the portrait logo from overflowing the viewport edge above. */
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  padding-inline: var(--gutter);
  overflow: visible;
  transition: background 0.4s var(--ease-smooth),
              border-color 0.4s var(--ease-smooth);
}

.nav.scrolled {
  background: rgba(10, 13, 11, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

/* logo-wrap: flex-start, overflow visible, never squished */
.nav__logo-wrap {
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
  overflow: visible;
}

/* ── v3: WIDTH-based sizing (logo is portrait 1:1.32 ratio).
   Setting width lets height be natural — no viewport clip, no crop. ── */
.nav__logo {
  width: var(--logo-width);
  height: auto;
  display: block;
  transition: opacity 0.2s;
}

.nav__logo:hover {
  opacity: 0.8;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  /* v3: align links to the centre of the nav's top zone (mark area),
     not to the full portrait logo height */
  align-self: flex-start;
  margin-top: 8px;
}

.nav__link {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-smooth);
}

.nav__link:hover { color: var(--white); }
.nav__link:hover::after { width: 100%; }

.nav__link--portal {
  color: var(--text-secondary);
  letter-spacing: 0.1em;
}

.nav__link--portal:hover { color: var(--hover-gold); }
.nav__link--portal::after { background: var(--hover-gold); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  /* v3: align toggle with the links at the top zone, not the full logo height */
  align-self: flex-start;
  margin-top: 8px;
}

.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text-primary);
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile nav open state */
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ─── MOBILE MENU ────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__link {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  color: var(--text-primary);
  transition: color 0.2s;
}

.mobile-menu__link:hover { color: var(--hover-gold); }

/* ─── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  cursor: pointer;
  transition: background 0.2s var(--ease-smooth),
              color 0.2s,
              border-color 0.2s;
}

.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn--ghost:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--bg-primary);
}

.btn--solid {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--white);
}

.btn--solid:hover {
  background: #025c35;
  border-color: #025c35;
}

/* ─── CLIP REVEAL (Investas-style) ───────────────────── */
.clip-reveal {
  position: relative;
  overflow: hidden;
}

.clip-reveal__panel {
  position: absolute;
  inset: 0;
  z-index: 2;
  transition: transform 1.1s var(--ease-reveal);
}

/* Direction variants */
.clip-reveal--up    .clip-reveal__panel { transform: translateY(0); }
.clip-reveal--up.revealed .clip-reveal__panel { transform: translateY(-101%); }

.clip-reveal--left  .clip-reveal__panel { transform: translateX(0); }
.clip-reveal--left.revealed .clip-reveal__panel { transform: translateX(-101%); }

/* ─── REVEAL ON SCROLL ───────────────────────────────── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-smooth),
              transform 0.7s var(--ease-smooth);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── SECTION LABEL ──────────────────────────────────── */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 3rem;
}

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__reveal-panel {
  position: absolute;
  inset: 0;
  background: var(--bg-primary);
  z-index: 2;
  transform-origin: top;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 13, 11, 0.25) 0%,
    rgba(10, 13, 11, 0.15) 50%,
    rgba(10, 13, 11, 0.6) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 3;
  padding-inline: var(--gutter);
  max-width: var(--container);
  margin-inline: auto;
  width: 100%;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s var(--ease-smooth), transform 0.9s var(--ease-smooth);
}

.hero__content.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero__label {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 2.5rem;
  letter-spacing: 0.01em;
}

.hero__scroll-line {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--text-secondary));
  z-index: 3;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) scaleY(1); }
  50%       { opacity: 0.8; transform: translateX(-50%) scaleY(1.1); }
}

/* ─── PERSPECTIVE ────────────────────────────────────── */
.perspective {
  padding-block: clamp(5rem, 10vw, 8rem);
}

.perspective__inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
  margin-bottom: clamp(4rem, 8vw, 6rem);
}

.perspective__eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.perspective__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  border: none;
  padding: 0;
  text-align: justify;
}

.perspective__text-col p {
  font-family: var(--font-body);
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.perspective__text-col p:last-child { margin-bottom: 0; }

.perspective__text--accent {
  color: var(--text-primary) !important;
  font-style: italic;
}

/* ─── IMAGE STRIP ────────────────────────────────────── */
/*
  v3 fix: removed fixed height constraint.
  The image now defines its own natural proportions —
  no cropping, no letterboxing, no "too small" effect.
  max-height caps it at 85vh so it never dominates the viewport.
*/
.image-strip {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-bottom: clamp(4rem, 8vw, 6rem);
  background: var(--bg-primary);
  /* clip-reveal panel will still cover the full element */
}

.image-strip .clip-reveal__panel {
  background: var(--bg-primary);
}

.image-strip__img {
  display: block;
  width: 100%;
  height: auto;
  /* v3: no max-height — landscape image (2500×1666, 3:2 ratio) fills
     full container width at natural proportions on every device.
     Matches mobile proportions exactly. */
}

/* ─── PILLARS ────────────────────────────────────────── */
.pillars__rule {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: clamp(3rem, 6vw, 4rem);
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.pillar__title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.pillar__divider {
  width: 24px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 1rem;
}

.pillar__text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── ECOSYSTEM ──────────────────────────────────────── */
.ecosystem {
  background: var(--bg-secondary);
  padding-block: clamp(5rem, 10vw, 8rem);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ecosystem__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ecosystem__card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s var(--ease-smooth);
  display: flex;
  flex-direction: column;
}

.ecosystem__card:hover {
  border-color: var(--hover-gold);
}

.ecosystem__card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.ecosystem__card-image .clip-reveal__panel {
  background: var(--bg-secondary);
}

.ecosystem__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.ecosystem__card:hover .ecosystem__card-image img {
  transform: scale(1.03);
}

.ecosystem__card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ecosystem__card-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.ecosystem__card-text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex: 1;
}

.ecosystem__card-link {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--hover-gold);
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
  align-self: flex-start;
}

.ecosystem__card-link:hover { opacity: 0.7; }

.ecosystem__card-tag {
  font-family: var(--font-support);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.ecosystem__card--undisclosed {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border-style: dashed;
}

.ecosystem__card--undisclosed:hover {
  border-color: var(--border);
}

.ecosystem__card-text--italic {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.7;
  text-align: center;
}

/* ─── CONTACT ────────────────────────────────────────── */
.contact {
  padding-block: clamp(5rem, 10vw, 8rem);
}

.contact__inner {
  max-width: 860px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.contact__header {
  margin-bottom: 3.5rem;
}

.contact__heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.contact__subline {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 560px;
}

/* Form */
.contact__form {
  margin-bottom: 2.5rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2.5rem;
  margin-bottom: 1.5rem;
}

.form__row--full {
  grid-template-columns: 1fr;
}

.form__field {
  position: relative;
  padding-top: 1.25rem;
}

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-support);
  font-size: 0.9375rem;
  font-weight: 300;
  padding: 0.5rem 0;
  appearance: none;
  -webkit-appearance: none;
}

.form__field select option {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.form__field textarea {
  resize: none;
  line-height: 1.7;
}

.form__field label {
  position: absolute;
  top: 1.75rem;
  left: 0;
  font-family: var(--font-support);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-secondary);
  pointer-events: none;
  transition: top 0.2s var(--ease-smooth),
              font-size 0.2s,
              color 0.2s;
}

/* Float label on focus or when filled */
.form__field input:focus ~ label,
.form__field input:not(:placeholder-shown) ~ label,
.form__field select:focus ~ label,
.form__field select:valid ~ label,
.form__field textarea:focus ~ label,
.form__field textarea:not(:placeholder-shown) ~ label {
  top: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--hover-gold);
}

/* Placeholder trick for floated label */
.form__field input::placeholder,
.form__field textarea::placeholder { color: transparent; }

.form__line {
  height: 1px;
  background: var(--border);
  position: relative;
  margin-top: 2px;
}

.form__line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hover-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-smooth);
}

.form__field:focus-within .form__line::after {
  transform: scaleX(1);
}

.form__submit {
  margin-top: 2rem;
}

.contact__email {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-align: center;
  margin-top: 2rem;
  transition: color 0.2s;
}

.contact__email a:hover { color: var(--text-primary); }

/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding-block: clamp(3rem, 6vw, 4rem) 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.footer__logo {
  width: 60px;
  margin-bottom: 1.5rem;
}

.footer__address {
  font-family: var(--font-support);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

.footer__col--legal p {
  font-family: var(--font-support);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 2;
}

.footer__col--nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}

.footer__link {
  font-size: 0.8125rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer__link:hover { color: var(--text-primary); }

.footer__disclaimer {
  font-family: var(--font-support);
  font-size: 0.6875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  opacity: 0.6;
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   v3: this entire section was missing in v2 (file truncated).
   All breakpoints now complete.
   ═══════════════════════════════════════════════════════ */

/* ─── TABLET — up to 1024px ─────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --logo-width: var(--logo-width-tablet);
  }

  .nav {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .pillars__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 3rem;
  }

  .ecosystem__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .ecosystem__card--undisclosed {
    display: none;
  }
}

/* ─── MOBILE — up to 768px ──────────────────────────── */
@media (max-width: 768px) {
  :root {
    --logo-width: var(--logo-width-mobile);
  }

  .nav {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  /* Hide desktop nav links, show hamburger */
  .nav__links  { display: none; }
  .nav__toggle {
    display: flex;
    margin-top: 6px;
  }

  .perspective__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .pillars__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ecosystem__cards {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__col--nav {
    align-items: flex-start;
  }

  .form__row {
    grid-template-columns: 1fr;
  }
}

/* ─── SMALL MOBILE — up to 480px ───────────────────── */
@media (max-width: 480px) {
  .hero__headline { font-size: 2.5rem; }
}

/* ─── CUSTOM SCROLLBAR ───────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ─── SELECTION ──────────────────────────────────────── */
::selection {
  background: var(--accent);
  color: var(--white);
}
