/* =============================================================
   Green Conception — Colors & Type Tokens
   Source: uploads/Color_Palette.pdf (brand palette)
              + social-media post kit (semantic usage)
   ============================================================= */

/* Open Sans from Google Fonts (no licensed files provided yet). */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600;1,700&display=swap');

/* Roboto Slab — served locally from /fonts (user-provided .ttf files). */
@font-face {
  font-family: 'Roboto Slab';
  src: url('fonts/RobotoSlab-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto Slab';
  src: url('fonts/RobotoSlab-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto Slab';
  src: url('fonts/RobotoSlab-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto Slab';
  src: url('fonts/RobotoSlab-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Helvetica Neue LT Std — full licensed family (user-provided).
   Named per CSS spec: weight (100–900), style (normal|italic), stretch (condensed|normal|expanded).
   "Oblique" cuts (BdCnO, LtO, etc) are mapped to font-style: italic since CSS has no
   separate oblique slot for runtime selection. "Outline" (BdOu) is exposed as a distinct family. */

/* ---- Ultra Light (100) ---- */
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-UltLt.otf')     format('opentype'); font-weight:100; font-style:normal; font-stretch:normal;    font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-UltLtIt.otf')   format('opentype'); font-weight:100; font-style:italic; font-stretch:normal;    font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-UltLtCn.otf')   format('opentype'); font-weight:100; font-style:normal; font-stretch:condensed; font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-UltLtCnO.otf')  format('opentype'); font-weight:100; font-style:italic; font-stretch:condensed; font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-UltLtEx.otf')   format('opentype'); font-weight:100; font-style:normal; font-stretch:expanded;  font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-UltLtExO.otf')  format('opentype'); font-weight:100; font-style:italic; font-stretch:expanded;  font-display:swap; }

/* ---- Thin (200) ---- */
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-Th.otf')        format('opentype'); font-weight:200; font-style:normal; font-stretch:normal;    font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-ThIt.otf')      format('opentype'); font-weight:200; font-style:italic; font-stretch:normal;    font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-ThCn.otf')      format('opentype'); font-weight:200; font-style:normal; font-stretch:condensed; font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-ThCnO.otf')     format('opentype'); font-weight:200; font-style:italic; font-stretch:condensed; font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-ThEx.otf')      format('opentype'); font-weight:200; font-style:normal; font-stretch:expanded;  font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-ThExO.otf')     format('opentype'); font-weight:200; font-style:italic; font-stretch:expanded;  font-display:swap; }

/* ---- Light (300) ---- */
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-Lt.otf')        format('opentype'); font-weight:300; font-style:normal; font-stretch:normal;    font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-LtIt.otf')      format('opentype'); font-weight:300; font-style:italic; font-stretch:normal;    font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-LtCn.otf')      format('opentype'); font-weight:300; font-style:normal; font-stretch:condensed; font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-LtCnO.otf')     format('opentype'); font-weight:300; font-style:italic; font-stretch:condensed; font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-LtEx.otf')      format('opentype'); font-weight:300; font-style:normal; font-stretch:expanded;  font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-LtExO.otf')     format('opentype'); font-weight:300; font-style:italic; font-stretch:expanded;  font-display:swap; }

/* ---- Regular / Roman (400) ---- */
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-Roman.otf')     format('opentype'); font-weight:400; font-style:normal; font-stretch:normal;    font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-It.otf')        format('opentype'); font-weight:400; font-style:italic; font-stretch:normal;    font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-Cn.otf')        format('opentype'); font-weight:400; font-style:normal; font-stretch:condensed; font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-CnO.otf')       format('opentype'); font-weight:400; font-style:italic; font-stretch:condensed; font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-Ex.otf')        format('opentype'); font-weight:400; font-style:normal; font-stretch:expanded;  font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-ExO.otf')       format('opentype'); font-weight:400; font-style:italic; font-stretch:expanded;  font-display:swap; }

/* ---- Medium (500) ---- */
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-Md.otf')        format('opentype'); font-weight:500; font-style:normal; font-stretch:normal;    font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-MdIt.otf')      format('opentype'); font-weight:500; font-style:italic; font-stretch:normal;    font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-MdCn.otf')      format('opentype'); font-weight:500; font-style:normal; font-stretch:condensed; font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-MdCnO.otf')     format('opentype'); font-weight:500; font-style:italic; font-stretch:condensed; font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-MdEx.otf')      format('opentype'); font-weight:500; font-style:normal; font-stretch:expanded;  font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-MdExO.otf')     format('opentype'); font-weight:500; font-style:italic; font-stretch:expanded;  font-display:swap; }

/* ---- Bold (700) ---- */
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-Bd.otf')        format('opentype'); font-weight:700; font-style:normal; font-stretch:normal;    font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-BdIt.otf')      format('opentype'); font-weight:700; font-style:italic; font-stretch:normal;    font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-BdCn.otf')      format('opentype'); font-weight:700; font-style:normal; font-stretch:condensed; font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-BdCnO.otf')     format('opentype'); font-weight:700; font-style:italic; font-stretch:condensed; font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-BdEx.otf')      format('opentype'); font-weight:700; font-style:normal; font-stretch:expanded;  font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-BdExO.otf')     format('opentype'); font-weight:700; font-style:italic; font-stretch:expanded;  font-display:swap; }

/* ---- Heavy (800) ---- */
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-Hv.otf')        format('opentype'); font-weight:800; font-style:normal; font-stretch:normal;    font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-HvIt.otf')      format('opentype'); font-weight:800; font-style:italic; font-stretch:normal;    font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-HvCn.otf')      format('opentype'); font-weight:800; font-style:normal; font-stretch:condensed; font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-HvCnO.otf')     format('opentype'); font-weight:800; font-style:italic; font-stretch:condensed; font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-HvEx.otf')      format('opentype'); font-weight:800; font-style:normal; font-stretch:expanded;  font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-HvExO.otf')     format('opentype'); font-weight:800; font-style:italic; font-stretch:expanded;  font-display:swap; }

/* ---- Black (900) ---- */
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-Blk.otf')       format('opentype'); font-weight:900; font-style:normal; font-stretch:normal;    font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-BlkIt.otf')     format('opentype'); font-weight:900; font-style:italic; font-stretch:normal;    font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-BlkCn.otf')     format('opentype'); font-weight:900; font-style:normal; font-stretch:condensed; font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-BlkCnO.otf')    format('opentype'); font-weight:900; font-style:italic; font-stretch:condensed; font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-BlkEx.otf')     format('opentype'); font-weight:900; font-style:normal; font-stretch:expanded;  font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std'; src:url('fonts/HelveticaNeueLTStd-BlkExO.otf')    format('opentype'); font-weight:900; font-style:italic; font-stretch:expanded;  font-display:swap; }

/* ---- Extra Black / Outline — distinct families so designers can pick them explicitly ---- */
@font-face { font-family:'Helvetica Neue LT Std XBlk'; src:url('fonts/HelveticaNeueLTStd-XBlkCn.otf')   format('opentype'); font-weight:900; font-style:normal; font-stretch:condensed; font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std XBlk'; src:url('fonts/HelveticaNeueLTStd-XBlkCnO.otf')  format('opentype'); font-weight:900; font-style:italic; font-stretch:condensed; font-display:swap; }
@font-face { font-family:'Helvetica Neue LT Std Outline'; src:url('fonts/HelveticaNeueLTStd-BdOu.otf') format('opentype'); font-weight:700; font-style:normal; font-display:swap; }

:root {
  /* -----------------------------------------------------------
     CORE BRAND PALETTE (from Color_Palette.pdf)
     ----------------------------------------------------------- */
  --gc-green:        #96BF43;   /* signature leafy green — "green" in wordmark */
  --gc-charcoal:     #515251;   /* warm neutral dark — "conception" + body */
  --gc-sky:          #9CD1D3;   /* soft sky / solar blue — footer bands */
  --gc-white:        #FFFFFF;

  /* -----------------------------------------------------------
     EXTENDED NEUTRALS (derived, harmonized w/ #515251)
     ----------------------------------------------------------- */
  --gc-ink:          #2B2C2B;   /* headings on light bg */
  --gc-graphite:     #3E3F3E;
  --gc-slate:        #515251;   /* = charcoal; canonical body copy */
  --gc-stone:        #7A7B7A;
  --gc-pebble:       #A9AAA9;
  --gc-fog:          #D6D7D6;
  --gc-mist:         #EDEEED;
  --gc-cloud:        #F6F7F6;

  /* -----------------------------------------------------------
     EXTENDED GREEN SCALE
     ----------------------------------------------------------- */
  --gc-green-50:     #F3F8E8;
  --gc-green-100:    #E3EEC9;
  --gc-green-200:    #CDE29F;
  --gc-green-300:    #B5D373;
  --gc-green-400:    #A6CA58;
  --gc-green-500:    #96BF43;   /* = brand green */
  --gc-green-600:    #7BA234;
  --gc-green-700:    #5F7E26;
  --gc-green-800:    #455D1C;
  --gc-green-900:    #2E3F13;

  /* -----------------------------------------------------------
     EXTENDED SKY SCALE
     ----------------------------------------------------------- */
  --gc-sky-50:       #F2F9FA;
  --gc-sky-100:      #DEEFF0;
  --gc-sky-200:      #BFE0E2;
  --gc-sky-300:      #9CD1D3;   /* = brand sky */
  --gc-sky-400:      #6FB8BB;
  --gc-sky-500:      #4A9EA2;
  --gc-sky-600:      #367F83;
  --gc-sky-700:      #29636A;
  --gc-sky-800:      #1F4A50;
  --gc-sky-900:      #153136;

  /* -----------------------------------------------------------
     SEMANTIC COLORS
     ----------------------------------------------------------- */
  --fg-1:            var(--gc-ink);        /* primary text */
  --fg-2:            var(--gc-slate);      /* secondary text */
  --fg-3:            var(--gc-stone);      /* tertiary / captions */
  --fg-on-dark:      var(--gc-white);
  --fg-on-green:     var(--gc-ink);        /* "Built to Last." on green pill is dark */

  --bg-page:         var(--gc-white);
  --bg-subtle:       var(--gc-cloud);
  --bg-muted:        var(--gc-mist);
  --bg-dark:         var(--gc-charcoal);
  --bg-sky-band:     #6FA8E0;              /* saturated sky band seen in footers */
  --bg-sky-soft:     var(--gc-sky-300);

  --accent:          var(--gc-green-500);
  --accent-hover:    var(--gc-green-600);
  --accent-press:    var(--gc-green-700);

  --border-1:        var(--gc-fog);
  --border-2:        var(--gc-pebble);
  --divider-on-dark: rgba(255, 255, 255, 0.35);

  --success:         var(--gc-green-600);
  --warning:         #E8A13A;
  --danger:          #C44338;
  --info:            var(--gc-sky-500);

  /* -----------------------------------------------------------
     TYPOGRAPHY FAMILIES
     Source: Color_Palette.pdf lists: Roboto Slab, Helvetica, Open Sans
     Helvetica maps to Open Sans in practice (no webfont available)
     ----------------------------------------------------------- */
  --font-display: "Roboto Slab", "Source Serif Pro", Georgia, serif;
  --font-sans:    "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono:    ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* -----------------------------------------------------------
     TYPE SCALE  (social-post kit uses big, confident sans)
     ----------------------------------------------------------- */
  --fs-12: 0.75rem;
  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-20: 1.25rem;
  --fs-24: 1.5rem;
  --fs-28: 1.75rem;
  --fs-32: 2rem;
  --fs-40: 2.5rem;
  --fs-48: 3rem;
  --fs-56: 3.5rem;
  --fs-64: 4rem;
  --fs-80: 5rem;

  --lh-tight: 1.05;
  --lh-snug:  1.2;
  --lh-body:  1.55;
  --lh-loose: 1.75;

  --fw-light:    300;
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;
  --fw-black:    800;

  /* -----------------------------------------------------------
     SPACING / RADII / ELEVATION
     ----------------------------------------------------------- */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  14px;
  --radius-xl:  22px;   /* social-post pill radius */
  --radius-pill: 999px;
  --radius-card: 12px;

  --shadow-sm: 0 1px 2px rgba(40, 40, 40, 0.08);
  --shadow-md: 0 4px 14px rgba(40, 40, 40, 0.10);
  --shadow-lg: 0 18px 40px rgba(40, 40, 40, 0.14);
  --shadow-text: 0 2px 8px rgba(0, 0, 0, 0.35);   /* white text on photo backgrounds */

  /* -----------------------------------------------------------
     PROTECTION / OVERLAYS (photo-backed layouts)
     ----------------------------------------------------------- */
  --overlay-scrim:      linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.55) 100%);
  --overlay-footer:     rgba(81, 82, 81, 0.92);
  --overlay-footer-sky: rgba(111, 168, 224, 0.92);
}

/* =============================================================
   SEMANTIC ELEMENT STYLES
   ============================================================= */
html {
  font-family: var(--font-sans);
  color: var(--fg-1);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);   /* headings use Open Sans Bold per posts */
  color: var(--fg-1);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}

h1 { font-size: var(--fs-64); letter-spacing: -0.01em; }
h2 { font-size: var(--fs-48); letter-spacing: -0.005em; }
h3 { font-size: var(--fs-32); }
h4 { font-size: var(--fs-24); }
h5 { font-size: var(--fs-20); font-weight: var(--fw-semibold); }
h6 { font-size: var(--fs-16); font-weight: var(--fw-semibold); letter-spacing: 0.02em; text-transform: uppercase; color: var(--fg-2); }

/* Display variant — big social-post style headline */
.gc-display {
  font-family: var(--font-sans);
  font-weight: var(--fw-bold);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.08;
  color: var(--gc-white);
  text-shadow: var(--shadow-text);
  letter-spacing: -0.01em;
}

/* Italic subhead on photo ("It runs on sunlight") */
.gc-subhead-italic {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: var(--fw-regular);
  font-size: var(--fs-28);
  color: var(--gc-ink);
  text-shadow: 0 1px 3px rgba(255,255,255,0.4);
}

/* Serif editorial alternate — Roboto Slab from palette */
.gc-slab {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
}

p, li {
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  line-height: var(--lh-body);
  color: var(--fg-2);
  margin: 0 0 var(--space-4);
  text-wrap: pretty;
}

small, .caption {
  font-size: var(--fs-12);
  color: var(--fg-3);
  letter-spacing: 0.02em;
}

.eyebrow {
  font-size: var(--fs-12);
  font-weight: var(--fw-bold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gc-green-700);
}

a {
  color: var(--gc-green-700);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 120ms ease;
}
a:hover  { color: var(--gc-green-800); }
a:active { color: var(--gc-green-900); }

code, kbd, pre {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--gc-mist);
  padding: 0.1em 0.4em;
  border-radius: var(--radius-sm);
}

hr {
  border: 0;
  height: 1px;
  background: var(--border-1);
  margin: var(--space-6) 0;
}

/* Pill — the signature "Built to Last." / "All in One Place" chip */
.gc-pill {
  display: inline-block;
  background: var(--gc-green-500);
  color: var(--gc-ink);
  font-family: var(--font-sans);
  font-weight: var(--fw-bold);
  font-style: italic;
  padding: 0.45em 1.1em;
  border-radius: var(--radius-xl);
  font-size: var(--fs-28);
  letter-spacing: -0.005em;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
