@font-face {
  font-family: 'Titan One';
  src: url('/fonts/TitanOne-Regular.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Nunito Sans Variable';
  src: url('/seo-nunito.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #1c0c3e;
  --ink-soft: #40305f;
  --cream: #fff7ee;
  --paper: #fffefc;
  --rose: #d6337a;
  --rose-deep: #b3225f;
  --gold: #e8b04b;
  --line: #ead7c4;
  font-family: 'Nunito Sans Variable', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
p { line-height: 1.65; }

.skip {
  position: absolute;
  z-index: 10;
  left: 1rem;
  top: -5rem;
  padding: .75rem 1rem;
  background: var(--paper);
}
.skip:focus { top: 1rem; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.25rem, 5vw, 4rem);
  background: var(--ink);
  color: var(--cream);
}
.brand {
  font-family: 'Titan One', ui-rounded, system-ui, sans-serif;
  font-size: 1.65rem;
  text-decoration: none;
  white-space: nowrap;
}
nav { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 2rem); }
nav a { font-weight: 700; text-decoration: none; }
nav a:hover, nav a:focus-visible { text-decoration: underline; text-underline-offset: .3em; }
.nav-play { color: #ff9ac2; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  min-height: min(680px, 80vh);
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.hero__copy {
  align-self: center;
  padding: clamp(2.5rem, 7vw, 6rem) clamp(1.25rem, 5vw, 4rem);
}
.eyebrow {
  color: var(--gold);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.12; }
h1, .closing h2 { font-family: 'Titan One', ui-rounded, system-ui, sans-serif; font-weight: 400; }
h1 { max-width: 16ch; margin: 1.25rem 0; font-size: clamp(2.8rem, 5.5vw, 5.6rem); }
.lead { max-width: 56ch; font-size: clamp(1.1rem, 1.6vw, 1.35rem); }
.hero__art { position: relative; display: grid; place-items: center; padding: 2rem; background: #2a1468; }
.hero__art::before {
  content: '';
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--rose);
  filter: blur(5px);
  opacity: .8;
}
.hero__art img {
  position: relative;
  width: min(100%, 680px);
  border: 8px solid var(--cream);
  border-radius: 18px;
  box-shadow: 0 26px 0 rgb(18 8 40 / 52%);
  transform: rotate(-2deg);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 54px;
  margin-top: 1rem;
  padding: .75rem 1.5rem;
  border-radius: 14px;
  background: var(--rose);
  box-shadow: 0 4px 0 var(--rose-deep);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}
.button:hover { background: var(--rose-deep); }
.button:active { box-shadow: none; transform: translateY(4px); }
.button:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.action-note { margin: 1rem 0 0; color: #ded2ef; font-size: .9rem; }

.content { width: min(100% - 2.5rem, 1080px); margin: 0 auto; padding: clamp(2rem, 4vw, 4rem) 0; }
.section { padding: clamp(2rem, 4vw, 3rem) 0; border-bottom: 2px solid var(--line); }
.section:last-child { border: 0; }
.section h2 { max-width: 22ch; margin: 0 0 1rem; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.section > p { max-width: 76ch; margin: .75rem 0; color: var(--ink-soft); font-size: 1.08rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1rem; margin-top: 1.5rem; }
.card { padding: 1.3rem; border: 2px solid var(--line); border-radius: 18px; background: var(--paper); }
.card h3 { margin: 0 0 .7rem; font-size: 1.25rem; }
.card h3 a { text-decoration-color: var(--rose); text-decoration-thickness: .1em; text-underline-offset: .2em; }
.card h3 a:hover { color: var(--rose-deep); }
.card p { margin: .5rem 0; color: var(--ink-soft); }
.card .card__note { padding-top: .7rem; border-top: 1px solid var(--line); color: var(--ink); font-weight: 800; }

.related { background: #f4e7d7; padding: clamp(2.5rem, 5vw, 4rem) 1.25rem; }
.related__inner { width: min(100%, 1080px); margin: 0 auto; }
.related .eyebrow { color: var(--rose-deep); }
.related h2 { margin: .4rem 0 1.5rem; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.related__links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 1rem; }
.related__link { display: grid; gap: .6rem; padding: 1.3rem; border: 2px solid #d9bfd3; border-radius: 18px; background: var(--paper); text-decoration: none; }
.related__link:hover { border-color: var(--rose); transform: translateY(-2px); }
.related__link strong { font-size: 1.15rem; }
.related__link span:nth-child(2) { color: var(--ink-soft); line-height: 1.45; }
.related__link span:last-child { justify-self: end; color: var(--rose-deep); font-size: 1.4rem; }

.closing { padding: clamp(2.5rem, 6vw, 5rem) 1.25rem; background: var(--ink); color: var(--cream); text-align: center; }
.closing h2 { margin: .5rem 0; font-size: clamp(2.4rem, 4vw, 4rem); }
.closing p:not(.eyebrow) { max-width: 50ch; margin: 1rem auto; }
footer { display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 2rem clamp(1.25rem, 5vw, 4rem); font-size: .95rem; font-weight: 700; }
footer span { margin-right: auto; font-family: 'Titan One', ui-rounded, system-ui, sans-serif; }

@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; }
  nav { width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: .6rem 1rem; font-size: .85rem; }
  .hero { grid-template-columns: 1fr; }
  .hero__copy { padding-bottom: 2rem; }
  .hero__art { min-height: 260px; padding: 2rem 1.5rem 3rem; }
  .hero__art img { max-width: 540px; border-width: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
