@font-face {
  font-family: "League Spartan";
  src: url("archiv/LeagueSpartanVariable.woff2") format("woff2");
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --paper-strong: #fbf7fb;
  --ink: #0228fe;
  --ink-soft: #0228fe;
  --headline: #0228fe;
  --accent: rgb(253, 143, 254);
  --line: rgba(2, 40, 254, 0.18);
  --shadow: 0 24px 48px rgba(2, 40, 254, 0.08);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", serif;
  --sans: "League Spartan", "Avenir Next", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: var(--sans);
  line-height: 1.5;
}

footer a {
  text-decoration: none; 
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

p,
li {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 0.94rem + 0.28vw, 1.15rem);
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--headline);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.9;
  text-wrap: balance;
}

h1 {
  width: 100%;
  max-width: none;
  font-size: clamp(4.5rem, 9.5vw, 9.75rem);
  letter-spacing: -0.03em;
}

h2 {
  width: 100%;
  max-width: none;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(1.55rem, 2vw, 2.1rem);
}

ul {
  margin: 0;
  padding-left: 1.15rem;
}

li + li {
  margin-top: 0.5rem;
}

.page-shell {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  min-height: 100vh;
}

.side-rail {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  height: 100vh;
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(2, 40, 254, 0.14);
  background: rgba(253, 143, 254, 0.92);
  backdrop-filter: blur(14px);
}

.rail-brand,
.rail-nav,
.rail-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.rail-brand {
  display: none;
}

.rail-kicker,
.rail-nav a,
.rail-links a,
.eyebrow,
.meta-label,
.section-number {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rail-kicker,
.rail-nav a,
.rail-links a {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-decoration: none;
}

.main-content {
  padding: 1.5rem 1.5rem 2rem;
}

.hero,
.story-section,
.site-footer {
  max-width: 1520px;
  margin: 0 auto;
}

.split-panel,
.text-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.panel-media {
  position: relative;
  min-height: 34rem;
  background: #ffffff;
  overflow: hidden;
}

.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media img {
  filter: saturate(0.9) contrast(1.02);
}

.panel-copy,
.text-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.35rem;
  min-height: 34rem;
  padding: clamp(2rem, 3vw, 4.5rem);
}

.hero-copy {
  background:
    linear-gradient(180deg, rgba(2, 40, 254, 0.04), transparent),
    var(--paper);
}

.lead {
  color: var(--headline);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1.08rem + 1vw, 2rem);
  line-height: 1.2;
}

.meta-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 0.75rem;
}

.meta-card,
.practice-card,
.timeline-card,
.text-panel {
  background: rgba(255, 255, 255, 0.96);
}

.meta-card {
  min-height: 8rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
}

.meta-label {
  margin-bottom: 0.7rem;
  color: var(--headline);
}

.story-section {
  margin-top: 1.5rem;
}

.section-heading {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding: 2.5rem 0 1.75rem;
}

.section-number {
  color: var(--headline);
  opacity: 0.55;
}

.timeline-card {
  margin-top: 1.5rem;
  padding: clamp(1.5rem, 2vw, 2rem);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.timeline-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.timeline-note {
  max-width: 34rem;
  text-align: right;
}

.timeline-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.timeline-item {
  padding: 1.25rem 0;
  border-bottom: 1px dotted rgba(2, 40, 254, 0.32);
}

.timeline-item:nth-last-child(-n + 2) {
  border-bottom: none;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.practice-card {
  min-height: 100%;
  padding: clamp(1.5rem, 2vw, 2rem);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.practice-card p + ul {
  margin-top: 1rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.audience-grid p.eyebrow{
      margin: 0 0 1em 0;
}

.cta-panel {
  grid-template-columns: 1fr;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  padding-top: 0.5rem;
}

.text-link {
  color: var(--headline);
  font-weight: 650;
}

.site-footer {
  padding: 1.5rem 0 2rem;
}

.site-footer p {
  color: var(--headline);
}

.hero-copy h1,
.section-heading h2 {
  width: 100%;
  text-wrap: unset;
}

.hero-copy h1 {
  margin-left: -0.03em;
}

.section-heading > div {
  width: 100%;
}

@media (min-width: 1400px) {
  .rail-brand {
    display: flex;
  }
}

@media (max-width: 1100px) {
  .split-panel,
  .text-panel,
  .practice-grid,
  .timeline-list,
  .audience-grid,
  .meta-row {
    grid-template-columns: 1fr;
  }

  .panel-media,
  .panel-copy,
  .text-panel {
    min-height: auto;
  }

  .timeline-heading {
    flex-direction: column;
  }

  .timeline-note {
    text-align: left;
  }

}

@media (max-width: 820px) {
  .page-shell {
    grid-template-columns: 1fr;
  }

  .side-rail {
    position: static;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 1rem 1.25rem;
    gap: 0.75rem;
  }

  .rail-brand,
  .rail-nav,
  .rail-links {
    flex-direction: row;
  }

  .rail-nav {
    flex: 1 1 auto;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.5rem 0.9rem;
    width: 100%;
    min-width: 0;
  }

  .rail-nav a {
    white-space: nowrap;
  }

  .rail-kicker,
  .rail-nav a,
  .rail-links a {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .rail-links {
    display: none;
  }

  .main-content {
    padding: 1rem;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .section-heading h2 {
    text-wrap: balance;
  }

  .panel-copy,
  .text-panel,
  .hero-media {
    padding: 1.5rem;
  }

  .hero-copy h1,
  .section-heading h2,
  .timeline-note,
  .practice-card p,
  .practice-card li,
  .text-panel p,
  .text-panel li {
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .section-heading > div,
  .timeline-heading > *,
  .practice-card,
  .timeline-card,
  .text-panel {
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .side-rail {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
  }

  .rail-nav {
    width: 100%;
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(3.8rem, 18vw, 5.8rem);
  }
}
