/* ============================================================
   PCL Web 3.0 — Base tokens + fonts
   ============================================================ */

@font-face {
  font-family: "DIN Condensed";
  src: url("/fonts/DIN-Condensed-Bold.ttf") format("truetype"),
       url("/fonts/DINStdHM-Condensed.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DIN Alternate";
  src: url("/fonts/DIN-Alternate-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Zapf Dingbats";
  src: url("/fonts/ZapfDingbats.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Body humanist — close to Open-Sans-ish on the live site */

:root {
  /* ---------- Sharpened PCL palette (v3.0) ----------
     Brief: cream / orange / near-black / warm gray.
     Sharpening: warmer cream (more paper, less gray), deeper ink,
     introduce a darker "stage" surface for the footer + sticky pills. */

  /* Brand */
  --pcl-orange:        #F49600;    /* PANTONE 144 C, untouched */
  --pcl-orange-deep:   #DA8500;    /* hover / press */
  --pcl-orange-press:  #B86F00;
  --pcl-orange-soft:   #FFE9C2;    /* tint for hover bg, callouts */
  --pcl-orange-tint:   #FBF1DE;    /* very soft wash */

  /* Surfaces — three-stop cream stack */
  --paper:             #F7F4EF;    /* page background — primary cream */
  --paper-soft:        #FBF8F2;    /* elevated card / hover */
  --paper-deep:        #EEEAE3;    /* secondary band (Zone 8 callouts) */
  --stage:             #1A1815;    /* footer + sticky pills — deeper than ink */
  --white:             #FFFFFF;

  /* Ink — warm-black scale */
  --ink:               #1F1C18;    /* primary text — deeper than #221F1B */
  --ink-soft:          #574F44;    /* secondary text */
  --ink-mute:          #8A7E6E;    /* meta / labels */
  --ink-faint:         #C5B9A8;    /* dividers in text */

  /* Lines */
  --line:              #E5DDD0;
  --line-soft:         #EEE7DA;
  --line-strong:       #C5B9A8;

  /* Status (semantic) */
  --ok:                #4F9D5F;
  --warn:              #F49600;
  --bad:               #D94F4F;

  /* ---------- Type ---------- */
  --font-display:      "DIN Condensed", "Barlow Condensed", "Oswald", system-ui, sans-serif;
  --font-alt:          "DIN Alternate", "DIN Condensed", system-ui, sans-serif;
  --font-body:         "Nunito", "Open Sans", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --font-dingbat:      "Zapf Dingbats", system-ui, sans-serif;

  /* Scale */
  --fs-11: 12px;
  --fs-12: 13px;
  --fs-13: 15px;
  --fs-14: 16px;
  --fs-15: 17px;
  --fs-16: 18px;
  --fs-17: 19px;
  --fs-18: 20px;
  --fs-20: 22px;
  --fs-24: 27px;
  --fs-28: 31px;
  --fs-32: 36px;
  --fs-40: 45px;
  --fs-48: 54px;
  --fs-56: 63px;
  --fs-64: 72px;
  --fs-72: 81px;
  --fs-88: 99px;
  --fs-96: 108px;
  --fs-112: 125px;
  --fs-128: 143px;
  --fs-160: 179px;

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

  /* Radii — brief: 12 for cards, 8 for pills/buttons, 0 for bands */
  --r-0: 0;
  --r-pill: 999px;
  --r-button: 8px;
  --r-card: 12px;
  --r-input: 6px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 120ms;
  --dur: 240ms;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-17);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--pcl-orange); text-decoration: none; }
a:hover { color: var(--pcl-orange-deep); }

/* ---------- Display utilities ---------- */
.display, .h1, .h2, .h3, .h4, .eyebrow, .nav-item, .btn-label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  font-weight: 700;
  margin: 0;
}
.alt {
  font-family: var(--font-alt);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.eyebrow {
  font-size: var(--fs-13);
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  font-weight: 700;
}
.eyebrow.on-orange { color: var(--white); }
.eyebrow.on-ink { color: rgba(255,255,255,0.6); }
.eyebrow .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--pcl-orange); vertical-align: middle; margin-right: 8px; }

.kicker {
  font-family: var(--font-body);
  font-size: var(--fs-13);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}

.lead {
  font-family: var(--font-body);
  font-size: var(--fs-20);
  line-height: 1.5;
  color: var(--ink);
  font-weight: 400;
}

/* Buttons (filled / outlined) */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-button);
  font-family: var(--font-display);
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  border: 2px solid transparent;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  cursor: pointer;
  text-decoration: none;
}
.btn-primary { background: var(--pcl-orange); color: var(--white); }
.btn-primary:hover { background: var(--pcl-orange-deep); color: var(--white); }
.btn-primary:active { background: var(--pcl-orange-press); }

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

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }

.btn-dark { background: var(--stage); color: var(--paper); }
.btn-dark:hover { background: #2A2620; color: var(--paper); }

.btn .arrow { font-family: var(--font-body); font-weight: 400; transition: transform var(--dur) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Pills */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 12px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.pill-open { background: rgba(79, 157, 95, 0.14); color: #2E6B3C; }
.pill-open .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(79,157,95,0.18); }
.pill-closed { background: rgba(31, 28, 24, 0.06); color: var(--ink-soft); }
.pill-closed .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-mute); }
.pill-dark { background: var(--stage); color: var(--paper); }

@keyframes pulse-dot {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}
.pill-open .dot { animation: pulse-dot 2.4s var(--ease) infinite; }

/* Section title with orange underline (brand signature) */
.section-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(45px, 5vw, 72px);
  color: var(--ink-soft);
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--pcl-orange);
  letter-spacing: 0.005em;
  line-height: 1;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
