/* ==========================================================================
   Greenfield Infra — shared theme
   Colours are sampled from the logo (ogo.png) and the business deck PDF.
   Loaded by: index.html, Default.aspx and the member area.
   ========================================================================== */

:root {
  /* greens, darkest to brightest */
  --gf-night:   #04140a;   /* page background */
  --gf-ink:     #021c0f;   /* deck text ink */
  --gf-forest:  #0a2a14;
  --gf-pine:    #11401d;
  --gf-green:   #295906;   /* deck heading green */
  --gf-leaf:    #5a9216;
  --gf-lime:    #93cf1c;   /* logo towers */
  --gf-citron:  #dfe906;   /* logo highlight */

  /* gold accent (logo sun, deck highlights) */
  --gf-gold:    #f5c302;
  --gf-sun:     #ffd84d;
  --gf-amber:   #d99a00;

  /* text */
  --gf-text:    #edf6e6;
  --gf-muted:   #a9bfa3;
  --gf-dim:     #7d957a;

  /* surfaces */
  --gf-line:    rgba(190, 232, 150, .14);
  --gf-line-2:  rgba(190, 232, 150, .26);
  --gf-glass:   rgba(9, 30, 16, .66);
  --gf-card:    rgba(255, 255, 255, .035);

  /* status */
  --gf-ok:      #4ade80;
  --gf-warn:    #fbbf24;
  --gf-bad:     #f87171;

  --gf-grad:       linear-gradient(100deg, #dfe906 0%, #93cf1c 46%, #3f9a2a 100%);
  --gf-grad-gold:  linear-gradient(100deg, #ffe680 0%, #f5c302 52%, #d99a00 100%);
  --gf-glow:       0 12px 34px -8px rgba(147, 207, 28, .55);
  --gf-glow-gold:  0 12px 34px -8px rgba(245, 195, 2, .5);

  --gf-r-sm: 12px;
  --gf-r:    18px;
  --gf-r-lg: 26px;

  --gf-head: "Poppins", "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gf-body: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gf-script: "Kaushan Script", "Segoe Script", cursive;

  --gf-ease: cubic-bezier(.22, .8, .24, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--gf-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gf-text);
  background: var(--gf-night);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }   /* width/height attributes are only there to reserve space; never let them fix the box */
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

/* Icons come from an inline <svg> sprite and are used as <svg class="ico"><use href="#i-name"/></svg> */
.ico {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------------------------------------------------------------- buttons */
.gf-btn {
  --pad-y: .85em; --pad-x: 1.6em;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: var(--pad-y) var(--pad-x);
  border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--gf-head); font-weight: 600; font-size: .95rem; line-height: 1.2;
  letter-spacing: .01em; white-space: nowrap; text-decoration: none;
  transition: transform .25s var(--gf-ease), box-shadow .25s var(--gf-ease), background-color .25s, border-color .25s, color .25s;
}
.gf-btn:active { transform: translateY(1px) scale(.985); }

.gf-btn--primary { color: #06240c; background: var(--gf-grad); box-shadow: var(--gf-glow); }
.gf-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -8px rgba(147, 207, 28, .7); }

.gf-btn--gold { color: #2a1d00; background: var(--gf-grad-gold); box-shadow: var(--gf-glow-gold); }
.gf-btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -8px rgba(245, 195, 2, .65); }

.gf-btn--ghost {
  color: var(--gf-text); background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px var(--gf-line-2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.gf-btn--ghost:hover { background: rgba(147, 207, 28, .14); box-shadow: inset 0 0 0 1px rgba(147, 207, 28, .6); }

.gf-btn--sm { --pad-y: .62em; --pad-x: 1.15em; font-size: .85rem; }
.gf-btn--block { display: flex; width: 100%; }

:focus-visible { outline: 2px solid var(--gf-citron); outline-offset: 3px; border-radius: 6px; }

/* brand wordmark: "Greenfield" lime, "Infra" gold — as on the deck cover */
.gf-word { font-family: var(--gf-head); font-weight: 700; letter-spacing: -.01em; line-height: 1; }
.gf-word b { font-weight: inherit; color: var(--gf-gold); }
.gf-word > span {
  background: linear-gradient(180deg, #c9e43a, #7fbf1c);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.gf-gold { color: var(--gf-gold); }
.gf-lime { color: var(--gf-lime); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
