/* =============================================================
   SHOREPINE GOVERNMENT RELATIONS — Base
   Reset + global typography + utility classes
   ============================================================= */

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

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--ink);
  background-color: var(--parchment);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ── GLOBAL TYPOGRAPHY ───────────────────────────────────── */

/* Serif headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: var(--leading-snug);
  color: var(--forest);
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
h5 { font-size: var(--text-base); }

p {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--slate);
}

p + p { margin-top: var(--space-4); }

strong { color: var(--ink); font-weight: 600; }

/* ── EYEBROW / LABEL ─────────────────────────────────────── */
/* DM Mono uppercase labels — use on any element */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--brass);
  display: block;
  margin-bottom: var(--space-3);
}

/* ── BRASS RULE ──────────────────────────────────────────── */
.brass-rule {
  height: 3px;
  background: var(--brass-gradient);
  border: none;
}

.brass-rule--thin {
  height: 1px;
  background: var(--border);
}

/* ── SECTION WRAPPERS ────────────────────────────────────── */
.section {
  padding: var(--section-pad) var(--space-7);
}

.section--parchment { background-color: var(--parchment); }
.section--parchment-dk { background-color: var(--parchment-dk); }
.section--forest { background-color: var(--forest); }
.section--forest-dk { background-color: var(--forest-dk); }
.section--white { background-color: var(--white); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.content-width {
  max-width: var(--content-width);
}

/* ── SECTION HEADER ROW ──────────────────────────────────── */
.section-header {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-7);
}

.section-header--light {
  border-bottom-color: rgba(255,255,255,0.12);
}

.section-number {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  color: var(--brass);
  flex-shrink: 0;
}

.section-number--light { color: rgba(245,240,230,0.45); }

.section-title {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--ink);
}

.section-title--light { color: var(--white); }

/* ── PULL QUOTE ──────────────────────────────────────────── */
.pull-quote {
  border-left: 3px solid var(--brass);
  padding: var(--space-4) var(--space-5);
  background: var(--parchment);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.pull-quote__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-md);
  color: var(--forest);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-3);
}

.pull-quote__cite {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--brass);
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: background var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--brass);
  color: var(--forest-dk);
  border: 1px solid var(--brass);
}

.btn--primary:hover {
  background: var(--brass-lt);
  border-color: var(--brass-lt);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.45);
}

.btn--outline:hover {
  border-color: var(--brass-lt);
  color: var(--brass-lt);
}

.btn--outline-forest {
  background: transparent;
  color: var(--forest);
  border: 1px solid var(--forest);
}

.btn--outline-forest:hover {
  background: var(--forest);
  color: var(--white);
}

/* ── FADE-IN ANIMATION ───────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

.fade-up--delay-1 { transition-delay: 0.1s; }
.fade-up--delay-2 { transition-delay: 0.2s; }
.fade-up--delay-3 { transition-delay: 0.3s; }
.fade-up--delay-4 { transition-delay: 0.4s; }

/* ── UTILITY ─────────────────────────────────────────────── */
.text-forest  { color: var(--forest) !important; }
.text-brass   { color: var(--brass) !important; }
.text-brass-lt { color: var(--brass-lt) !important; }
.text-white   { color: var(--white) !important; }
.text-ink-mid { color: var(--ink-mid) !important; }
.text-ink-faint { color: var(--ink-faint) !important; }

.font-serif { font-family: var(--font-serif) !important; }
.font-mono  { font-family: var(--font-mono) !important; }
.font-sans  { font-family: var(--font-sans) !important; }

.italic { font-style: italic; }

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

/* ── RESPONSIVE BREAKPOINTS ──────────────────────────────── */
/* Mobile first — breakpoints:
   sm: 640px   md: 768px   lg: 1024px   xl: 1200px */

@media (max-width: 1024px) {
  :root { --section-pad: 72px; }
  .section { padding: var(--section-pad) var(--space-6); }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 52px;
    --text-3xl: 2.2rem;
    --text-4xl: 2.75rem;
  }
  .section { padding: var(--section-pad) var(--space-5); }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.625rem; }
}

@media (max-width: 480px) {
  :root { --section-pad: 40px; }
  .section { padding: var(--section-pad) var(--space-4); }
}
