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

:root {
  --black: #0C0C0C;
  --cream: #FEFDF9;
  --blue: #1700DB;
  --blue-dark: #1700DB;
  --text-dark: #2A2724;
  --text-mid: #5C5650;
  --serif: 'STIX Two Text', Georgia, serif;
  --sans: 'Instrument Sans', Helvetica, sans-serif;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--sans); line-height: 1.6; overflow-x: hidden; }

/* ── PANEL 1: HERO (fixed behind) ── */
.hero-wrapper { position: relative; height: 115vh; }

.hero {
  position: fixed; top: 0; left: 0; right: 0;
  height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  z-index: 1;
  background: var(--black);
  color: #FEFDF9;
}

.hero-content { position: relative; z-index: 2; padding: 0 2rem; }

.hero-logo {
  width: 94px;
  height: 94px;
  margin: 0 auto 2.25rem;
  opacity: 0;
  animation: fadeIn 0.9s ease 0.2s forwards;
}
.hero-logo svg { width: 100%; height: 100%; }

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.01em;
  opacity: 0; animation: fadeUp 0.85s ease 0.35s forwards;
}

.hero-sub {
  font-family: var(--serif);
  font-size: clamp(0.92rem, 1.4vw, 1.1rem);
  font-weight: 400;
  font-style: italic;
  max-width: 460px;
  margin: 1.25rem auto 0;
  line-height: 1.7;
  opacity: 0; animation: fadeUp 0.85s ease 0.55s forwards;
}

/* ── SCROLL-OVER ── */
.scroll-content { position: relative; z-index: 10; }
.scroll-content > :first-child { box-shadow: 0 -30px 80px rgba(0,0,0,0.12); }

/* ── PANEL 2: BODY ── */
.panel-body {
  padding: clamp(4.5rem, 8vw, 7.5rem) clamp(2rem, 6vw, 5.5rem);
  background: var(--cream);
  color: var(--text-dark);
}

.panel-body-inner { max-width: 680px; margin: 0 auto; }

.body-label {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  color: rgba(42, 39, 36, 0.45);
}

.body-statement {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.38rem);
  font-weight: 400;
  line-height: 1.72;
  margin-bottom: 3rem;
}

.body-rule {
  width: 100%;
  height: 1px;
  margin-bottom: 3rem;
}

.body-solution {
  font-family: var(--serif);
  font-size: clamp(1.02rem, 1.55vw, 1.18rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.78;
}

.body-solution strong {
  font-style: normal;
  font-weight: 500;
}

/* ── PANEL 3: FOOTER ── */
.panel-footer {
  padding: clamp(3.5rem, 6vw, 5rem) clamp(2rem, 6vw, 5.5rem);
  background: var(--blue);
  color: #FFFFFF;
}

.panel-footer-inner { max-width: 680px; margin: 0 auto; }

.footer-heading {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.footer-text {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
}

.footer-email {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.3s;
}
.footer-email:hover { opacity: 0.8; }


/* V2: Electric Blue overrides */
.hero h1 { color: #FEFDF9; }
.hero-sub { color: rgba(254, 253, 249, 0.5); }
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 35% at 50% 45%, rgba(20, 0, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
}
.body-statement { color: var(--text-dark); }
.body-rule { background: var(--blue); opacity: 0.15; }
.body-solution { color: var(--text-mid); }
.body-solution strong { color: var(--blue-dark); }
.footer-heading { color: #FFFFFF; }
.footer-text { color: rgba(255,255,255,0.82); }
.footer-email { color: #FFFFFF; }
a.footer-email { color: #FFFFFF; border-bottom: 1px solid rgba(255,255,255,0.35); padding-bottom: 1px; }
a.footer-email:hover { border-color: #FFFFFF; }
.scroll-content > :first-child { box-shadow: 0 -30px 80px rgba(0,0,0,0.1); }


/* ── SITE HEADER ── */
.site-header {
  display: flex;
  align-items: center;
  min-height: 4.75rem;
  padding: 0 clamp(2rem, 6vw, 5.5rem);
  background: var(--black);
}

.site-header--overlay {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: transparent;
  z-index: 5;
}

.header-logo {
  display: inline-flex;
  width: 30px;
  height: 30px;
  flex: none;
  transition: opacity 0.3s;
}
.header-logo:hover { opacity: 0.8; }
.header-logo svg { width: 100%; height: 100%; }

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2.75rem;
}

.site-nav a {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(254, 253, 249, 0.65);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.site-nav a:hover { color: #FEFDF9; }
.site-nav a[aria-current="page"] {
  color: #FEFDF9;
  border-bottom: 1px solid rgba(254, 253, 249, 0.55);
  padding-bottom: 3px;
}

.site-nav a.nav-cta {
  color: #FEFDF9;
  border: 1px solid rgba(254, 253, 249, 0.45);
  border-radius: 999px;
  padding: 0.55em 1.6em;
}
.site-nav a.nav-cta:hover {
  border-color: #FEFDF9;
  background: rgba(254, 253, 249, 0.08);
}

/* ── FOOTER SOCIAL ICONS ── */
.footer-social {
  display: flex;
  gap: 1.4rem;
  margin-top: 1.6rem;
}

.footer-social a {
  display: inline-flex;
  color: #FFFFFF;
  transition: opacity 0.3s;
}
.footer-social a:hover { opacity: 0.8; }
.footer-social svg { width: 26px; height: 26px; }

/* ── SUBPAGES ── */
.subpage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
}
.subpage .panel-body { flex: 1; }

.page-heading {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 3rem;
}

.label-tight { margin-bottom: 1.1rem; }

.body-solution + .body-solution { margin-top: 1.6rem; }

.body-solution a {
  color: var(--blue-dark);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 0, 219, 0.3);
  padding-bottom: 1px;
  transition: border-color 0.3s;
}
.body-solution a:hover { border-color: var(--blue-dark); }

/* ── DISPATCH ARCHIVE ── */
.archive-entry {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.archive-label { margin-bottom: 0; }

.archive-date {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 400;
  color: var(--text-dark);
  margin-top: 0.6rem;
}

.archive-link {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--blue);
  white-space: nowrap;
  transition: opacity 0.3s;
}
.archive-link:hover { opacity: 0.75; }

.archive-rule { margin: 2.25rem 0; }


/* ── ANIMATIONS ── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .hero { position: relative; height: auto; min-height: 100vh; }
  .hero-wrapper { height: auto; }
  .scroll-content > :first-child { box-shadow: none; }

  .site-header { min-height: 4rem; padding: 0 1.25rem; }
  .site-nav { gap: 1.25rem; }
  .site-nav a { font-size: 0.62rem; letter-spacing: 0.18em; }
  .site-nav a.nav-cta { padding: 0.5em 1.1em; }
}
