/* ============================================================
   JAKOB SCHMIDT & SONS — schmidt-sons.com
   Brand: Schmidt Consulting House (since 1928)
   Type:  Playfair Display (serif) · Lato (sans)
   Color: Navy #0F1E3C  ·  Gold #C4992A  ·  Ivory #FAF7F2
   ============================================================ */

:root {
  --navy:        #0F1E3C;
  --navy-2:      #1C3461;
  --navy-soft:   #254275;
  --ink:         #1A1F2E;
  --ink-mute:    #4A5568;
  --rule:        #D8DFE8;
  --paper:       #FAF7F2;
  --paper-2:     #F5F2EB;
  --ivory:       #FFFFFF;
  --gold:        #C4992A;
  --gold-soft:   #E0C070;
  --gold-pale:   #E8C96A;
  --measure:     720px;
  --wide:        1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--gold-soft); transition: color .2s, border-color .2s; }
a:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* ---------- Type scale ---------- */
.serif  { font-family: 'Playfair Display', 'Georgia', serif; }
.sans   { font-family: 'Lato', sans-serif; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.eyebrow {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.2rem;
}

.lede {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2.1vw, 1.6rem);
  line-height: 1.45;
  color: var(--navy-2);
  max-width: var(--measure);
}

p, ul, ol { max-width: var(--measure); }
ul, ol { padding-left: 1.1rem; }
li { margin-bottom: 0.4rem; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: var(--measure); margin: 0 auto; padding: 0 32px; }

section { padding: 96px 0; }
section + section { border-top: 1px solid var(--rule); }

.rule-gold {
  display: inline-block;
  width: 56px; height: 2px;
  background: var(--gold);
  margin: 0 0 28px;
}

/* ---------- Header / Navigation — Navy + Cream + Gold ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,30,60,0.97);     /* navy */
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid rgba(196,153,42,0.35); /* gold hairline */
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
  max-width: var(--wide); margin: 0 auto; padding: 0 32px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  border: 0;
}
.brand-mark {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--paper);            /* cream on navy */
  line-height: 1;
}
.brand-mark sup {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.2em;
  margin-left: 6px;
}
.brand-sub {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 9px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.55);  /* dimmed cream */
  margin-top: 4px;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);            /* cream */
  border-bottom: 0;
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
  transition: color .18s;
}
.nav-links a.active { color: var(--gold); }

/* ---------- Practices dropdown ---------- */
.nav-drop { position: relative; }
.nav-drop > button {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);              /* cream on navy */
  background: transparent;
  border: 0;
  padding: 8px 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .18s;
}
.nav-drop > button:hover { color: var(--gold); }
.nav-drop > button .caret { color: var(--gold); font-size: 10px; line-height: 1; transform: translateY(1px); }
.nav-drop > button.active { color: var(--gold); }
.nav-drop > button.active::after {
  content: ""; position: absolute; left: 0; right: 18px; bottom: -8px;
  height: 2px; background: var(--gold);
}
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  background: var(--paper);
  border: 1px solid var(--rule);
  box-shadow: 0 24px 64px rgba(15,30,60,0.10), 0 2px 6px rgba(15,30,60,0.06);
  padding: 14px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  z-index: 60;
}
.nav-drop-menu::before {
  content: "";
  position: absolute;
  top: -7px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: var(--paper);
  border-left: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity .18s ease, transform .18s ease, visibility 0s;
}
.nav-drop-menu a {
  display: block;
  padding: 9px 22px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 0;
  border-left: 2px solid transparent;
}
.nav-drop-menu a:hover { color: var(--gold); border-left-color: var(--gold); background: var(--paper-2); }
.nav-drop-menu a.active { color: var(--gold); border-left-color: var(--gold); }

@media (max-width: 1100px) { .nav-links { gap: 18px; } .nav-links a, .nav-drop > button { font-size: 11px; letter-spacing: 0.14em; } }
.nav-links a:hover { color: var(--gold); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--gold);
}
.nav-cta {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy) !important;       /* navy text on gold */
  background: var(--gold);
  padding: 11px 20px;
  border: 1px solid var(--gold) !important;
  transition: all .2s;
}
.nav-cta:hover { background: transparent; color: var(--gold) !important; }

/* ---------- Hero ---------- */
.hero {
  padding: 140px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero-eyebrow {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 30px;
}
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 6.2rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
}
.hero h1 .amp { color: var(--gold); font-style: italic; font-weight: 400; padding: 0 4px; }
.hero-tag {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: var(--navy-2);
  max-width: 740px;
  margin: 0 0 48px;
}
.hero-meta {
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex; flex-wrap: wrap; gap: 22px;
}
.hero-meta span::before { content: "·"; color: var(--gold); margin-right: 22px; }
.hero-meta span:first-child::before { content: ""; margin: 0; }

/* Ghost year mark behind hero */
.year-ghost {
  position: absolute;
  right: -40px; top: 60px;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(12rem, 28vw, 30rem);
  color: var(--paper-2);
  line-height: 0.85;
  letter-spacing: -0.04em;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.hero > .wrap { position: relative; z-index: 1; }

/* ---------- Pillar grid ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.pillar {
  padding: 56px 36px;
  border-right: 1px solid var(--rule);
  background: var(--paper);
}
.pillar:last-child { border-right: 0; }
.pillar-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.pillar h3 {
  font-size: 1.65rem;
  margin-bottom: 14px;
}
.pillar p {
  font-size: 15px;
  color: var(--ink-mute);
  line-height: 1.65;
  max-width: none;
}

/* ---------- Stat band ---------- */
.stat-band {
  background: var(--navy);
  color: var(--paper);
  padding: 88px 0;
}
.stat-band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; }
.stat-fig {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  color: var(--paper);
  line-height: 1;
}
.stat-fig .unit { color: var(--gold); font-size: 0.55em; font-weight: 400; font-style: italic; margin-left: 4px; }
.stat-lbl {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.65);
  margin-top: 12px;
}

/* ---------- Heritage timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 32px;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
}
.timeline:first-of-type { border-top: 0; }
.timeline-year {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--gold);
}
.timeline-body h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin: 4px 0 6px;
  color: var(--navy);
}
.timeline-body p { margin: 0; color: var(--ink-mute); font-size: 15px; }

/* ---------- Geography list ---------- */
.geo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
}
.geo {
  border-left: 2px solid var(--gold);
  padding: 4px 0 4px 20px;
}
.geo h3 {
  font-size: 1.35rem;
  margin: 0 0 6px;
}
.geo p {
  font-size: 15px;
  color: var(--ink-mute);
  margin: 0;
}

/* ---------- Quote block ---------- */
.pull {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding: 12px 0 12px 28px;
  max-width: 880px;
  line-height: 1.35;
}
.pull-cite {
  display: block;
  font-family: 'Lato', sans-serif;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--paper) !important;
  transition: all .2s;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy) !important; }
.btn-ghost { background: transparent; color: var(--navy) !important; }
.btn-ghost:hover { background: var(--navy); color: var(--paper) !important; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(250,247,242,0.75);
  padding: 64px 0 32px;
  font-size: 13px;
  line-height: 1.7;
}
.site-footer a { color: var(--gold-soft); border-bottom: 0; }
.site-footer a:hover { color: var(--gold); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: var(--wide); margin: 0 auto; padding: 0 32px;
}
.footer-grid h4 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--paper);
  margin: 0 0 14px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-base {
  max-width: var(--wide);
  margin: 56px auto 0;
  padding: 22px 32px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.45);
}

/* ---------- Compliance band ---------- */
.compliance {
  background: var(--paper-2);
  padding: 28px 0;
  font-size: 13px;
  color: var(--ink-mute);
  text-align: center;
  border-top: 1px solid var(--rule);
}
.compliance strong { color: var(--navy); }

/* ---------- Forms ---------- */
form label {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 18px 0 6px;
}
form input, form textarea, form select {
  width: 100%;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  background: var(--ivory);
  border: 1px solid var(--rule);
  color: var(--ink);
}
form input:focus, form textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
form button { margin-top: 24px; cursor: pointer; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  section { padding: 64px 0; }
  .hero { padding: 100px 0 80px; }
  .nav { height: 64px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 11px; letter-spacing: 0.12em; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--rule); }
  .pillar:last-child { border-bottom: 0; }
  .stat-band .wrap { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .geo-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 8px; }
  .year-ghost { display: none; }
}
@media (max-width: 520px) {
  .nav-cta { padding: 8px 12px; font-size: 10px; }
  .nav-links a { display: none; }
  .nav-links a.nav-cta { display: inline-block; }
}

/* ---------- Reveal on scroll (progressive enhancement) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
