/* ==========================================================================
   Marshall for Washington — Campaign Site Design System
   Classic red / navy / white. Modern, photo-forward, civic.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500&family=Newsreader:ital,opsz,wght@0,18..72,400;0,18..72,500;1,18..72,400;1,18..72,500&display=swap');

:root {
  /* --- Brand color (current site = white/red M on a strong campaign red) --- */
  --red:        #C0142B;   /* primary action / brand red */
  --red-700:    #9E0F22;   /* hover / pressed */
  --red-600:    #B0121F;
  --red-tint:   #FBEAEC;   /* faint red wash */

  --navy:       #0C2340;   /* deep federal navy */
  --navy-900:   #071A30;
  --navy-700:   #163559;
  --navy-tint:  #EAEEF4;

  --ink:        #16202B;   /* near-black text */
  --slate:      #50607A;   /* muted body on light */
  --slate-2:    #7A8aa0;   /* meta / captions */

  --paper:      #FBF9F4;   /* warm off-white canvas */
  --paper-2:    #F3F0E8;   /* slightly deeper paper */
  --white:      #FFFFFF;

  --gold:       #B5882F;   /* sparing accent / hairline rule */
  --star:       #C0142B;

  --line:       rgba(12, 35, 64, 0.12);
  --line-strong:rgba(12, 35, 64, 0.22);
  --line-onnavy:rgba(255, 255, 255, 0.16);

  /* semantic */
  --bg:         var(--paper);
  --fg:         var(--ink);
  --accent:     var(--red);

  /* type */
  --font-display: 'Libre Franklin', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Libre Franklin', 'Helvetica Neue', Arial, sans-serif;
  --font-serif:   'Newsreader', Georgia, 'Times New Roman', serif;

  /* layout */
  --container: 1200px;
  --container-wide: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 3px;       /* near-sharp, civic */
  --radius-lg: 6px;

  --nav-h: 88px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 220ms;

  --shadow-sm: 0 1px 2px rgba(12,35,64,0.06), 0 2px 8px rgba(12,35,64,0.05);
  --shadow-md: 0 6px 24px rgba(12,35,64,0.10), 0 2px 6px rgba(12,35,64,0.06);
  --shadow-lg: 0 24px 60px rgba(7,26,48,0.20);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--ink);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1em 0; }
a { color: inherit; }

::selection { background: var(--red); color: #fff; }

/* --- shared layout helpers --- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.container-wide { max-width: var(--container-wide); }

.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px; background: var(--red); display: inline-block;
}
.eyebrow--onnavy { color: #fff; }
.eyebrow--onnavy::before { background: var(--red); }
.eyebrow--center { justify-content: center; }

.section-title {
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 60px);
  letter-spacing: -0.025em;
  margin: 18px 0 0;
  text-wrap: balance;
}
.lead {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
  color: var(--slate);
  max-width: 60ch;
}

/* --- buttons --- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 15px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--red-700); }
.btn:active { transform: translateY(1px); }

.btn--navy { --btn-bg: var(--navy); }
.btn--navy:hover { background: var(--navy-900); }

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

.btn--ghost-light {
  background: transparent; color: #fff; border-color: var(--line-onnavy);
}
.btn--ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn--lg { padding: 18px 34px; font-size: 16px; }
.btn--sm { padding: 11px 18px; font-size: 13px; }
.btn--block { width: 100%; }

/* --- small star glyph (used as a quiet motif, not slop) --- */
.star {
  display: inline-block; width: 1em; height: 1em;
  background: currentColor;
  -webkit-mask: var(--star-mask) center / contain no-repeat;
  mask: var(--star-mask) center / contain no-repeat;
}
:root {
  --star-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l2.95 6.5 7.05.7-5.3 4.8 1.5 6.95L12 18.6 5.8 20.95l1.5-6.95L2 9.2l7.05-.7z'/%3E%3C/svg%3E");
}

/* utility */
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
