:root {
  --ink: #111014;
  --bone: #f6f5f2;
  --white: #ffffff;
  --claret: #7a1f3d;
  --blush: #f3d9e1;
  --muted: #5c5a63;
  --line: #d8d4cc;
  --shadow: 0 20px 50px rgba(17, 16, 20, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
  background: var(--bone);
  color: var(--ink);
  font-family: "Inter Tight", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  font-size: 1.03rem;
  line-height: 1.6;
}

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

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--claret);
  outline-offset: 2px;
}

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

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 0.65rem 0.85rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: rgba(246, 245, 242, 0.95);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.logo-mark {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid var(--claret);
  margin-right: 0.45rem;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.nav-links a,
.mobile-nav a,
.btn,
.btn-ghost,
.menu-btn {
  min-height: 44px;
  padding: 0.7rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}

.nav-links a,
.mobile-nav a {
  color: var(--ink);
  text-decoration: none;
}

.nav-links a:hover,
.mobile-nav a:hover {
  background: var(--blush);
}

.menu-btn {
  border: 1px solid var(--line);
  background: var(--white);
  font: inherit;
  color: var(--ink);
  display: none;
}

.btn {
  border: 1px solid var(--claret);
  background: var(--claret);
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}

.btn:hover {
  filter: brightness(0.95);
}

.btn-ghost {
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  background: transparent;
}

main {
  min-height: 60vh;
}

.section {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.4rem;
}

.kicker,
.meta-note {
  font-family: "DM Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  line-height: 1.12;
  margin: 0 0 0.8rem;
  font-weight: 300;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.hero {
  padding-top: 2.5rem;
  min-height: min(92vh, 800px);
  display: grid;
  align-items: center;
}

.hero-copy {
  grid-column: 1 / span 6;
}

.hero-media {
  grid-column: 7 / span 6;
  align-self: stretch;
}

.hero-media img {
  width: 100%;
  height: 100%;
  max-height: min(76vh, 720px);
  object-fit: cover;
  aspect-ratio: 3 / 4;
  border-radius: 2px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.pull-quote {
  border-left: 6px solid var(--claret);
  padding: 0.9rem 0 0.9rem 1rem;
  background: linear-gradient(90deg, rgba(243, 217, 225, 0.55), rgba(243, 217, 225, 0));
}

.pull-quote p {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-family: "Fraunces", serif;
  font-style: italic;
}

.margin-note {
  font-family: "DM Mono", monospace;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.logo-strip span {
  min-height: 54px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "DM Mono", monospace;
  font-size: 0.86rem;
}

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

.card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.card p:last-child {
  margin-bottom: 0;
}

.arc {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 1.25rem;
}

.arc svg {
  width: 100%;
  height: auto;
  display: block;
}

.arc-path {
  fill: none;
  stroke: var(--claret);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 880;
  stroke-dashoffset: 880;
}

.arc.is-visible .arc-path {
  animation: drawPath 1100ms ease-out forwards;
}

@keyframes drawPath {
  to {
    stroke-dashoffset: 0;
  }
}

.milestones {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.milestone {
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.stat {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 1rem;
}

.stat strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-family: "Fraunces", serif;
  color: var(--claret);
  line-height: 1;
}

.form-grid {
  display: grid;
  gap: 0.85rem;
}

label {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.65rem 0.7rem;
  font: inherit;
  color: var(--ink);
}

textarea {
  min-height: 150px;
}

.footer {
  margin-top: 5rem;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-inner {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.footer-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.55rem;
  color: var(--ink);
  text-decoration: none;
}

.footer-nav a:hover {
  background: var(--blush);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(17, 16, 20, 0.5);
  display: flex;
  justify-content: flex-end;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 0ms linear 220ms;
  z-index: 100;
}

.nav-drawer.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 220ms ease;
}

.nav-panel {
  width: min(86vw, 320px);
  background: var(--white);
  height: 100%;
  transform: translateX(100%);
  transition: transform 220ms ease;
  border-left: 1px solid var(--line);
  padding: 1rem;
}

.nav-drawer.is-open .nav-panel {
  transform: translateX(0);
}

.mobile-nav {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.2rem;
}

.hero-dark {
  background: radial-gradient(130% 100% at 100% 0%, #2a1120 0%, var(--ink) 62%, #0f0e12 100%);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.hero-dark .pull-quote {
  border-left-color: var(--blush);
  background: rgba(122, 31, 61, 0.35);
}

.hero-dark .margin-note,
.hero-dark .kicker {
  color: #d9c7cf;
}

.hero-dark a {
  color: var(--white);
}

@media (max-width: 810px) {
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .hero-copy,
  .hero-media {
    grid-column: 1 / -1;
  }

  .hero-media img {
    max-height: 58vh;
  }

  .cards,
  .stats,
  .logo-strip,
  .milestones,
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .cards,
  .stats,
  .logo-strip,
  .milestones,
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  .section {
    width: calc(100% - 1.2rem);
  }

  .hero {
    min-height: auto;
  }

  .btn,
  .btn-ghost,
  .menu-btn {
    width: 100%;
  }
}

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

  .arc-path {
    stroke-dashoffset: 0;
  }
}
