/* =========================================================
   PANAMA RED — Brand System (workspace canonical)
   Source of truth for all landings. Mirrors the live
   panamared.cc Squarespace render, audited 2026-05-25.
   See assets/brand-system.md for rationale & font licensing.
   ========================================================= */

/* ---- Fonts: Adobe Fonts (preferred) + Google Fonts fallback ----
   Adobe Fonts kit (amboy-black + protipo-wide) is domain-locked
   to panamared.cc by default. To use these on new domains, either:
     (a) Add the domain to the kit's whitelist in Adobe Fonts dashboard
     (b) Replace the @import below with the kit's <link> tag
     (c) Accept the Google Fonts substitutes (current behavior)
   Stacks list the Adobe names FIRST, so when the kit IS loaded
   by the host page, it overrides automatically.
------------------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@800;900&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,700&display=swap');

:root {
  /* ── BRAND COLOR (verified live studio.panamared.cc 2026-06-09) */
  --pr-red:        #F50537;             /* the primary brand red */
  --pr-red-hover:  #D60030;             /* slightly deeper for hover */

  /* ── NEUTRALS ──────────────────────────────────────── */
  --pr-ink:        #1D1D1D;             /* near-black body @ 100% */
  --pr-ink-soft:   rgba(29, 29, 29, 0.7); /* the actual on-page body color */
  --pr-white:      #FFFFFF;             /* primary canvas */
  --pr-fog:        rgba(29, 29, 29, 0.15); /* hairlines, dividers */

  /* ── TYPE FAMILIES (Adobe first, Google substitutes after) */
  --font-display:  "amboy-black", "Big Shoulders Display", "Druk", "Anton", Impact, sans-serif;
  --font-body:     "protipo-wide", "DM Sans", "Manrope", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  /* ── TYPE SCALE (matches live render) ──────────────── */
  --fs-display:    clamp(56px, 8vw, 80px);   /* big section headers */
  --fs-display-xl: clamp(80px, 14vw, 200px); /* hero / wordmark moments */
  --fs-eyebrow:    14px;                     /* small caps labels */
  --fs-body:       18px;                     /* live site body size */
  --fs-body-lg:    21px;                     /* lead paragraphs */

  --lh-display:    1.4;                      /* matches 80px → 112px on live */
  --lh-body:       1.8;                      /* matches 18px → 32.4px on live */

  --tr-display:    0.01em;                   /* matches 0.8px @ 80px */
  --tr-body:       0.06em;                   /* matches 1.08px @ 18px — notably open */
  --tr-eyebrow:    0.18em;                   /* tight tracked all-caps */
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--pr-white);
  color: var(--pr-ink-soft);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--tr-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--pr-red); color: var(--pr-white); }

a {
  color: var(--pr-red);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color 0.15s ease;
}
a:hover { color: var(--pr-red-hover); }

/* ============================================================
   TYPE UTILITIES — apply to landings
   ============================================================ */

/* Big section headers — the "UNBIASED THINKING..." moment */
.pr-display {
  font-family: var(--font-display);
  font-weight: 900;                  /* Big Shoulders Black; amboy-black is its only weight */
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: var(--tr-display);
  text-transform: uppercase;
  color: var(--pr-red);
  margin: 0;
}

/* Hero / wordmark scale — for the "RED" moments */
.pr-display--xl {
  font-size: var(--fs-display-xl);
  line-height: 1;
}

/* Inverted: over images / dark backgrounds */
.pr-display--inverse { color: var(--pr-white); }

/* Eyebrow — small tracked all-caps, like the "panama" above "RED" */
.pr-eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--pr-red);
  margin: 0 0 1rem 0;
}

/* Lead paragraph — sized up body */
.pr-lead {
  font-size: var(--fs-body-lg);
  line-height: 1.7;
  color: var(--pr-ink);
}

/* ============================================================
   SECTION RHYTHM — light / image-over-dark alternation
   matches the live panamared.cc pattern
   ============================================================ */

.pr-section {
  padding: clamp(80px, 12vh, 160px) clamp(24px, 6vw, 96px);
  width: 100%;
}

.pr-section--light {
  background: var(--pr-white);
  color: var(--pr-ink-soft);
}

.pr-section--image {
  background-color: var(--pr-ink);
  background-size: cover;
  background-position: center;
  color: var(--pr-white);
}

.pr-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================================
   CTA BUTTON — for sign-up / try / get-started moments
   ============================================================ */

.pr-cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--pr-white);
  background: var(--pr-red);
  border: none;
  padding: 18px 32px;
  border-bottom: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.pr-cta:hover { background: var(--pr-red-hover); color: var(--pr-white); }

.pr-cta--ghost {
  background: transparent;
  color: var(--pr-ink);
  border: 2px solid var(--pr-ink);
  padding: 16px 30px;
}
.pr-cta--ghost:hover { background: var(--pr-ink); color: var(--pr-white); }
