/* GSAEDC — shared styles
   Springer Red Devils theme: devil red + black on white. */

:root {
  --ink:        #141414;
  --black:      #0d0d0d;
  --red:        #c1121f;
  --red-deep:   #97101a;
  --red-tint:   #fbeaeb;
  --paper:      #ffffff;
  --bone:       #f5f2ef;
  --line:       #e2ddd8;
  --line-dark:  #2a2a2a;
  --muted:      #5b5b5b;
  --cloud:      #ffffff;
  --shadow:     0 1px 2px rgba(20,20,20,.05), 0 10px 28px rgba(20,20,20,.07);
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  color: var(--ink); background: var(--paper); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .wordmark, .eyebrow, nav a, .btn, .stat-num, .footer-brand {
  font-family: "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--red-deep); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Header */
header.site { background: var(--cloud); border-bottom: 3px solid var(--red); position: sticky; top: 0; z-index: 50; }
.bar { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.wordmark { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; letter-spacing: -0.01em; }
.wordmark .mark { font-size: 1.35rem; letter-spacing: 0.02em; }
.wordmark .mark b { color: var(--red); }
.wordmark .sub { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
nav.main { display: flex; gap: 4px; align-items: center; }
nav.main a { text-decoration: none; color: var(--ink); font-size: .82rem; font-weight: 700; letter-spacing: .02em; padding: 10px 14px; border-radius: 4px; text-transform: uppercase; }
nav.main a:hover { background: var(--bone); }
nav.main a.active { color: var(--red); }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 800; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; padding: 13px 26px; border-radius: 3px; cursor: pointer; border: 0; transition: transform .12s ease, background .12s ease; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline { background: transparent; color: var(--red-deep); border: 2px solid var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(180deg, rgba(13,13,13,.86) 0%, rgba(13,13,13,.94) 100%), linear-gradient(120deg, #1a1a1a 0%, #2a2a2a 100%); }
.hero::before { content: ""; position: absolute; top: 0; bottom: 0; right: -8%; width: 46%;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  transform: skewX(-12deg); transform-origin: top right; opacity: .92; z-index: 1; box-shadow: -18px 0 40px rgba(0,0,0,.35); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1200' height='110' viewBox='0 0 1200 110' preserveAspectRatio='none'><path d='M0 110 L0 64 L120 56 L120 36 L360 36 L360 60 L520 60 L560 18 L760 18 L800 60 L980 60 L980 44 L1200 40 L1200 110 Z' fill='%230d0d0d' opacity='0.6'/><path d='M0 110 L0 84 L200 80 L260 68 L420 68 L470 84 L1200 84 L1200 110 Z' fill='%230d0d0d' opacity='0.9'/></svg>") no-repeat bottom center / cover;
  pointer-events: none; z-index: 2; }
.hero .wrap { position: relative; z-index: 3; padding: 96px 24px 120px; }
.hero.tall .wrap { padding: 120px 24px 140px; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; font-weight: 800; color: #fff; margin: 0 0 18px; display: inline-block; background: var(--red); padding: 5px 12px; border-radius: 3px; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.06; margin: 0 0 20px; font-weight: 800; letter-spacing: -0.02em; max-width: 16ch; }
.hero p.lede { font-size: 1.18rem; max-width: 52ch; margin: 0 0 32px; color: #eae7e4; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Sections */
section.block { padding: 72px 0; }
section.block.alt { background: var(--bone); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head .eyebrow, .eyebrow.plain { color: var(--red); background: none; padding: 0; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 0 0 14px; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--cloud); border: 1px solid var(--line); border-radius: 6px; padding: 28px; box-shadow: var(--shadow); border-top: 3px solid var(--red); }
.card .kicker { font-family: "Helvetica Neue", sans-serif; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.card h3 { margin: 0 0 10px; font-size: 1.24rem; }
.card p { margin: 0; color: var(--muted); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 8px; }
.stat-num { font-size: 2.4rem; font-weight: 800; color: var(--ink); line-height: 1; }
.stat-num small { font-size: 1.2rem; color: var(--red); }
.stat-label { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 8px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .panel { border-radius: 8px; min-height: 320px; background: var(--ink); display: flex; align-items: flex-end; padding: 28px; color: #fff; position: relative; overflow: hidden; border-left: 6px solid var(--red); }
.split .panel::before { content: ""; position: absolute; top: -20%; right: -10%; width: 55%; height: 140%; background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%); transform: skewX(-12deg); opacity: .9; }
.split .panel .panel-tag { position: relative; z-index: 1; font-family: "Helvetica Neue", sans-serif; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; background: rgba(0,0,0,.4); padding: 6px 12px; border-radius: 3px; }

/* Prose */
.prose { max-width: 68ch; }
.prose p { margin: 0 0 18px; font-size: 1.08rem; }
.prose h3 { margin: 34px 0 12px; font-size: 1.3rem; }
.prose ul { padding-left: 1.1rem; }
.prose li { margin: 8px 0; }
.prose strong { color: var(--ink); }

/* Band */
.band { background: var(--ink); color: #fff; text-align: center; padding: 64px 24px; position: relative; overflow: hidden; border-top: 4px solid var(--red); }
.band h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 0 0 14px; position: relative; z-index: 1; }
.band p { color: #d9d5d1; max-width: 52ch; margin: 0 auto 28px; font-size: 1.1rem; position: relative; z-index: 1; }
.band .btn { position: relative; z-index: 1; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: "Helvetica Neue", sans-serif; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; font-family: inherit; font-size: 1rem; background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--red); border-color: var(--red); }
.info-line { display: flex; gap: 12px; margin-bottom: 18px; align-items: flex-start; }
.info-line .label { font-family: "Helvetica Neue", sans-serif; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red); min-width: 74px; padding-top: 3px; }

/* Footer */
footer.site { background: var(--black); color: #b8b8b8; padding: 56px 0 28px; margin-top: 0; border-top: 4px solid var(--red); }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-brand { color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: 10px; }
footer.site h4 { font-family: "Helvetica Neue", sans-serif; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin: 0 0 14px; }
footer.site a { color: #b8b8b8; text-decoration: none; display: block; margin-bottom: 8px; font-size: .95rem; }
footer.site a:hover { color: #fff; }
footer.site .legal { border-top: 1px solid #262626; padding-top: 20px; font-size: .82rem; color: #7d7d7d; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.badge-501 { display: inline-block; border: 1px solid #3a3a3a; border-radius: 3px; padding: 4px 10px; font-size: .72rem; letter-spacing: .06em; color: #9a9a9a; }

/* Responsive */
@media (max-width: 860px) {
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr; gap: 28px; }
  .hero::before { width: 60%; right: -20%; opacity: .85; }
  nav.main { display: none; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; gap: 0; }
  nav.main.open { display: flex; }
  nav.main a { padding: 12px 8px; border-radius: 0; border-bottom: 1px solid var(--bone); }
  .menu-toggle { display: block; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .wordmark .sub { display: none; }
  .hero::before { display: none; }
}
