/* Ah Ah Press — static site styles */

:root {
  --navy: #00162d;
  --navy-mid: #0a243c;
  --navy-soft: #16324a;
  --gold: #e6b84d;
  --gold-bright: #f3d489;
  --cream: #eae5df;
  --cream-light: #f6f3ef;
  --ink: #00162d;
  --ink-soft: #2a3d4e;
  --sage: #2f5c59;
  --line: rgba(230, 184, 77, 0.35);
  --shadow: 0 18px 50px rgba(0, 10, 24, 0.35);
  --font-display: "Fraunces", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;
  --header-h: 4.25rem;
  --max: 68rem;
  --radius: 1rem;
}

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-italic.woff") format("woff");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito.woff") format("woff");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-italic.woff") format("woff");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  font-weight: 400;
  color: var(--ink);
  background: var(--cream-light);
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 40, "WONK" 0.4;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

a {
  color: var(--sage);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--navy); }

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100%;
  z-index: 100;
  background: var(--gold);
  color: var(--navy);
  padding: 0.5rem 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 0.4rem 0.4rem;
}

.skip-link:focus {
  top: 0;
}

/* Header */
.site-header {
  background: var(--navy);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner,
.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.logo:hover { color: var(--gold-bright); }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  justify-content: flex-end;
}

.nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: var(--gold);
}

.nav a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Main */
main {
  flex: 1 0 auto;
}

/* Hero */
.hero {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(230, 184, 77, 0.12), transparent 55%),
    var(--navy);
  color: var(--cream);
  padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(2.5rem, 6vw, 5.5rem);
}

.hero-grid {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.cover-frame {
  margin: 0;
  justify-self: center;
  width: min(100%, 32rem);
}

.cover-frame img {
  width: 100%;
  border-radius: 0.35rem;
  box-shadow: var(--shadow), 0 0 0 4px var(--gold);
}

.hero h1,
.hero h2,
.page-hero h1 {
  color: var(--cream);
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.75rem;
}

.lede {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: #d5ddd9;
  margin-bottom: 1.25rem;
}

.tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--gold-bright);
  margin: 0.5rem 0 1.5rem;
}

.tagline-on-light {
  color: #6e5416;
}

.badge {
  display: inline-block;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
  margin: 0 0 1.25rem;
}

.badge-on-light {
  color: #6e5416;
  border-color: #6e5416;
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.btn:hover {
  background: var(--gold-bright);
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  box-shadow: inset 0 0 0 1.5px var(--gold);
}

.btn-ghost:hover {
  background: var(--gold);
  color: var(--navy);
}

/* Sections */
.section {
  padding: clamp(2.25rem, 5vw, 4rem) 0;
}

.section-navy {
  background: var(--navy);
  color: var(--cream);
}

.section-navy h2,
.section-navy h3 { color: var(--cream); }

.prose {
  max-width: 40rem;
}

.prose-wide { max-width: 46rem; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.details {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border-top: 1px solid rgba(0, 22, 45, 0.12);
}

.details div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(0, 22, 45, 0.12);
}

.details dt {
  font-weight: 700;
  color: var(--ink-soft);
}

.details dd { margin: 0; }

.page-hero {
  background: var(--navy);
  color: var(--cream);
  padding: 2.25rem 0 2rem;
}

.page-hero p {
  color: #d5ddd9;
  margin: 0;
  max-width: 36rem;
}

.email-link {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  color: var(--navy);
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
}

.email-link:hover { color: var(--sage); }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #c9c4bc;
  padding: 1.35rem 0;
  margin-top: auto;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  align-items: center;
}

.site-footer a { color: var(--gold); }
.site-footer a:hover { color: var(--gold-bright); }

/* 404 */
.error {
  text-align: center;
  padding: 4rem 0 5rem;
}

.error h1 { margin-bottom: 1rem; }

/* Helpers */
.muted { color: var(--ink-soft); }
.center { text-align: center; }
.stack-sm > * + * { margin-top: 0.5rem; }

@media (max-width: 800px) {
  body { font-size: 1.0625rem; }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .cover-frame { width: min(100%, 24rem); }

  .details div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
    padding: 0.85rem 0;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem 0 0.85rem;
    gap: 0.4rem;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.35rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header, .site-footer, .btn { }
  .site-header { position: static; }
  body { background: #fff; color: #000; }
  .hero, .page-hero, .section-navy, .site-header, .site-footer {
    background: #fff;
    color: #000;
  }
  .hero h1, .page-hero h1, .logo, .nav a { color: #000; }
  .cover-frame img { box-shadow: none; }
}

.tm{font-size:.5em;vertical-align:super;line-height:0;margin-left:.05em;font-weight:400}
