/* ============================================================
   Dennis Moffitt Painting (DMP) — Colors & Type
   "Your Experience Matters" — refined coastal, people-first.
   ------------------------------------------------------------
   Fonts:
   - Spectral  → display/headlines/pull-quotes (warm, trustworthy serif)
   - Jost      → body, UI, labels (geometric sans; stand-in for the
                 brand's "Town" / Century Gothic geometric voice)
   - Trajan    → LOGO ONLY (self-hosted, real brand font). Never set in running text.
   See README "VISUAL FOUNDATIONS".
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Jost:wght@300;400;500;600;700&display=swap');

/* Trajan — LOGO LOCKUPS ONLY (uploaded by brand). Never set in running text. */
@font-face {
  font-family: 'Trajan Pro';
  src: url('fonts/Trajan_Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Trajan Pro';
  src: url('fonts/Trajan_Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---------- BRAND CORE ---------- */
  --navy:        #14304A;  /* deep coastal navy — primary */
  --navy-deep:   #0E2436;  /* darker navy — footers, overlays */
  --navy-soft:   #234763;  /* lifted navy — hovers on navy */

  --teal:        #4A8B89;  /* muted, matured teal — secondary */
  --teal-deep:   #2F6B69;  /* pressed/!-states */
  --teal-soft:   #6FA6A4;  /* tints, illustration */

  --brass:       #B68D4C;  /* warm brass accent — sparingly */
  --brass-deep:  #9A7638;  /* brass hover/press */
  --brass-soft:  #D8BE92;  /* brass tint / underline */

  --aqua:        #AEE9E8;  /* legacy DMP aqua — subtle cue only */
  --aqua-soft:   #DCF4F3;  /* faint aqua wash */

  /* ---------- NEUTRALS ---------- */
  --cream:       #F7F2E9;  /* warm off-white — page background */
  --cream-deep:  #EFE7D7;  /* warmer card / strip */
  --bluegray:    #E4EBED;  /* pale blue-gray — section background */
  --bluegray-2:  #D3DEE0;  /* deeper blue-gray border/fill */
  --white:       #FFFFFF;

  --ink:         #262421;  /* charcoal — primary text */
  --ink-2:       #4F555A;  /* secondary text */
  --ink-3:       #7B8288;  /* muted / captions */
  --line:        #DBD7CC;  /* warm hairline on cream */
  --line-cool:   #C8D3D5;  /* cool hairline on blue-gray */

  /* ---------- SEMANTIC ---------- */
  --bg:          var(--cream);
  --bg-section:  var(--bluegray);
  --surface:     var(--white);
  --fg:          var(--ink);
  --fg-muted:    var(--ink-2);
  --primary:     var(--navy);
  --accent:      var(--brass);
  --success:     #3E7C5A;
  --danger:      #A8453C;

  /* ---------- TYPE FAMILIES ---------- */
  --serif: 'Spectral', 'Iowan Old Style', Georgia, serif;
  --sans:  'Jost', 'Century Gothic', 'Futura', system-ui, sans-serif;
  --logo:  'Trajan Pro', 'Spectral', serif; /* logo lockups only */

  /* ---------- TYPE SCALE (fluid-ish) ---------- */
  --fs-display: 64px;   --lh-display: 1.04;
  --fs-h1:      46px;   --lh-h1:      1.08;
  --fs-h2:      34px;   --lh-h2:      1.14;
  --fs-h3:      24px;   --lh-h3:      1.25;
  --fs-lead:    20px;   --lh-lead:    1.5;
  --fs-body:    17px;   --lh-body:    1.65;
  --fs-small:   14.5px; --lh-small:   1.5;
  --fs-eyebrow: 13px;

  /* ---------- SPACING (8pt base) ---------- */
  --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 ---------- */
  --r-xs: 3px; --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-pill: 999px;

  /* ---------- SHADOWS (soft, low, coastal) ---------- */
  --sh-sm: 0 1px 2px rgba(20,48,74,.06), 0 1px 3px rgba(20,48,74,.08);
  --sh-md: 0 4px 14px rgba(20,48,74,.10);
  --sh-lg: 0 18px 48px rgba(20,48,74,.16);
  --ring:  0 0 0 3px rgba(174,233,232,.55); /* aqua focus ring */
}

/* ============================================================
   BASE / SEMANTIC ELEMENTS
   ============================================================ */
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .display {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}
.display { font-size: var(--fs-display); line-height: var(--lh-display); font-weight: 700; }
h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: 600; }

.lead { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--ink-2); }
p { margin: 0 0 var(--sp-4); text-wrap: pretty; }
small, .small { font-size: var(--fs-small); line-height: var(--lh-small); }

/* Eyebrow / kicker — geometric caps, wide tracking, brass or teal */
.eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.eyebrow--brass { color: var(--brass-deep); }

a { color: var(--teal-deep); text-decoration-color: var(--brass-soft); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

::selection { background: var(--aqua); color: var(--navy-deep); }
