/* Frontline Beverage — Brand Tokens
 * Pulled from the official logo lockup (Red + Navy on light bg).
 * Use these everywhere. Do not invent new colors.
 */

:root {
  /* Brand */
  --flb-red:        #D6182A;   /* "FRONTLINE" red, primary action color */
  --flb-red-deep:   #A8101F;   /* hover / pressed */
  --flb-red-tint:   #FBE7E9;   /* badges, soft fills */

  --flb-navy:       #0E1E3A;   /* "BEVERAGE" navy, headlines, primary surface */
  --flb-navy-2:     #1B2D4F;   /* one step up, used for cards on navy */
  --flb-navy-deep:  #070F22;   /* near-black, hero overlays */

  --flb-blue:       #2E7DBF;   /* underline accent from logo (subtle) */

  /* Neutrals */
  --flb-ink:        #0E1E3A;   /* body text on white = navy, intentional */
  --flb-ink-2:      #364665;   /* secondary text on white */
  --flb-ink-3:      #6B7891;   /* meta / captions */
  --flb-rule:       #DEE3EC;   /* hairlines */
  --flb-bg-soft:    #F4F6FA;   /* section alt bg */
  --flb-paper:      #FFFFFF;
  --flb-cream:      #F8F4ED;   /* warm alt for editorial sections */

  /* Type */
  --flb-display:    "Oswald", "Anton", "Arial Narrow", sans-serif; /* @kind font */
  --flb-sans:       "Inter", "Helvetica Neue", Arial, sans-serif; /* @kind font */
  --flb-body:       "Source Sans 3", "Helvetica Neue", Arial, sans-serif; /* @kind font */
  --flb-serif:      "Source Serif 4", Georgia, serif; /* @kind font */

  /* Spacing scale (8pt) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Radii */
  --r-1: 2px;   /* hairline buttons */
  --r-2: 4px;   /* cards */
  --r-3: 8px;
  --r-pill: 999px;

  /* Shadows — used sparingly; brand is flat & confident */
  --shadow-1: 0 1px 2px rgba(14,30,58,.06), 0 2px 6px rgba(14,30,58,.04);
  --shadow-2: 0 8px 24px rgba(14,30,58,.10);

  /* Layout */
  --max-w: 1200px;
  --gutter: 24px;
}

/* ============================================================
 * Base resets — applied if you @import this file at top of doc
 * ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--flb-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--flb-ink);
  background: var(--flb-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Type system. Use these classes on your headlines.
 * Display = Oswald (matches the wordmark — bold, condensed, all-caps).
 * Editorial = Source Serif (matches the FB monogram letterforms).
 */
h1, h2, h3, h4, .display {
  font-family: var(--flb-display);
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--flb-navy);
  margin: 0 0 var(--s-4);
}
.h-eyebrow {
  font-family: var(--flb-sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--flb-red);
}
.h-display-xl { font-size: clamp(56px, 8vw, 104px); line-height: 0.95; letter-spacing: -0.005em; }
.h-display-l  { font-size: clamp(40px, 5.5vw, 72px); }
.h-display-m  { font-size: clamp(28px, 3.2vw, 44px); }
.h-display-s  { font-size: 24px; }

.h-editorial {
  font-family: var(--flb-serif);
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

p, li { font-family: var(--flb-body); }
p { margin: 0 0 var(--s-4); max-width: 62ch; text-wrap: pretty; }
.lead { font-size: 20px; line-height: 1.5; color: var(--flb-ink-2); }
.meta { font-family: var(--flb-sans); font-size: 13px; color: var(--flb-ink-3); letter-spacing: 0.02em; }

a { color: var(--flb-red); text-decoration: none; }
a:hover { color: var(--flb-red-deep); }

/* ============================================================
 * Components
 * ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 14px 22px;
  font-family: var(--flb-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--r-1);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .15s ease;
}
.btn-primary {
  background: var(--flb-red);
  color: #fff;
  border-color: var(--flb-red);
}
.btn-primary:hover { background: var(--flb-red-deep); border-color: var(--flb-red-deep); color: #fff; }

.btn-secondary {
  background: var(--flb-navy);
  color: #fff;
  border-color: var(--flb-navy);
}
.btn-secondary:hover { background: var(--flb-navy-deep); border-color: var(--flb-navy-deep); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--flb-navy);
  border-color: var(--flb-navy);
}
.btn-outline:hover { background: var(--flb-navy); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--flb-navy);
  border-color: transparent;
  padding-left: 0; padding-right: 0;
}
.btn-ghost:hover { color: var(--flb-red); }

.tag {
  display: inline-block;
  padding: 4px 10px;
  font-family: var(--flb-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  background: var(--flb-red-tint);
  color: var(--flb-red-deep);
}
.tag-navy { background: var(--flb-navy); color: #fff; }
.tag-outline { background: transparent; border: 1px solid var(--flb-rule); color: var(--flb-ink-2); }

.card {
  background: var(--flb-paper);
  border: 1px solid var(--flb-rule);
  border-radius: var(--r-2);
  padding: var(--s-6);
}
.card-navy {
  background: var(--flb-navy);
  color: #fff;
  border: none;
}
.card-navy h1, .card-navy h2, .card-navy h3, .card-navy h4 { color: #fff; }
.card-navy p { color: rgba(255,255,255,0.78); }

/* Decorative red rule — recurs through the system */
.rule-red {
  display: block;
  width: 56px;
  height: 4px;
  background: var(--flb-red);
  border: 0;
  margin: 0 0 var(--s-5);
}

/* Layout helpers */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--s-9) 0; }
.section-tight { padding: var(--s-7) 0; }
.section-alt { background: var(--flb-bg-soft); }
.section-navy { background: var(--flb-navy); color: #fff; }
.section-navy h1, .section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: rgba(255,255,255,0.82); }

.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Numbered stat — recurring viz pattern */
.stat-num {
  font-family: var(--flb-display);
  font-size: 88px;
  line-height: 0.9;
  font-weight: 700;
  color: var(--flb-red);
  display: block;
}
.stat-label {
  font-family: var(--flb-sans);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--flb-ink-2);
  font-weight: 700;
}

/* Inline icon "stamp" — small monochrome circle/square accents */
.stamp {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  background: var(--flb-red);
  color: #fff;
  font-family: var(--flb-display);
  font-weight: 700;
  font-size: 20px;
  border-radius: 0; /* sharp — boots on the ground */
}

/* Print niceties so PDF export is clean */
@media print {
  .no-print { display: none !important; }
  .section { padding: 32px 0; break-inside: avoid; }
  body { font-size: 12pt; }
  h1, h2 { break-after: avoid; }
}
