:root {
  --paper: #f2efe8;
  --paper-deep: #e8e2d7;
  --ink: #171715;
  --muted: #6e6a62;
  --line: rgba(23, 23, 21, 0.16);
  --accent: #8c6b3f;
  --night: #171715;
  --night-muted: #bcb6aa;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.5rem, 3vw, 2.75rem) clamp(1.4rem, 5vw, 5rem);
}

.wordmark,
.header-link {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.header-link {
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.3rem;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 7rem 1.5rem 5rem;
}

.hero::before,
.hero::after {
  position: absolute;
  width: min(64vw, 52rem);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero::before {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero::after {
  top: 50%;
  left: 50%;
  width: min(47vw, 38rem);
  transform: translate(-50%, -50%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 78rem);
  text-align: center;
}

.eyebrow {
  margin: 0 0 1.75rem;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.3rem, 14vw, 11.5rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.82;
}

h1 span {
  color: var(--accent);
  font-size: 0.38em;
  letter-spacing: -0.03em;
}

.number-mark {
  margin-bottom: 2.3rem;
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: clamp(0.78rem, 1.5vw, 1rem);
  font-weight: 700;
  letter-spacing: clamp(0.3em, 1.1vw, 0.7em);
}

.number-mark span {
  color: var(--accent);
}

.intro {
  margin-bottom: 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3.3vw, 2.65rem);
}

.descriptor {
  margin-bottom: 2.4rem;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.4vw, 1.12rem);
  line-height: 1.7;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: 0 auto 2.75rem;
}

.facts span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.24);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.primary-action {
  display: inline-flex;
  min-height: 3.4rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  padding: 0.9rem 1.45rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  background: transparent;
  color: var(--ink);
}

.scroll-cue {
  position: absolute;
  z-index: 1;
  right: clamp(1.4rem, 5vw, 5rem);
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

.pattern {
  display: grid;
  grid-template-columns: minmax(15rem, 0.8fr) minmax(22rem, 1.2fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;
  padding: clamp(6rem, 12vw, 11rem) clamp(1.4rem, 8vw, 8rem);
  background: #faf8f3;
}

.section-copy {
  max-width: 29rem;
}

h2 {
  margin-bottom: 1.4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.section-copy > p:last-child,
.inquiry > p {
  color: var(--muted);
  line-height: 1.75;
}

.sequence {
  border-top: 1px solid var(--line);
}

.sequence div {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
}

.sequence span {
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 0.85rem;
}

.sequence strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: 0.06em;
}

.sequence .featured strong,
.sequence .featured span {
  color: var(--accent);
}

.inquiry {
  padding: clamp(7rem, 14vw, 13rem) 1.5rem;
  background: var(--night);
  color: #f4f1e9;
  text-align: center;
}

.inquiry h2 {
  max-width: 55rem;
  margin-right: auto;
  margin-left: auto;
}

.inquiry > p:not(.eyebrow) {
  color: var(--night-muted);
}

.primary-action-light {
  margin-top: 1.2rem;
  border-color: #f4f1e9;
  background: #f4f1e9;
  color: var(--ink);
}

.primary-action-light:hover,
.primary-action-light:focus-visible {
  background: transparent;
  color: #f4f1e9;
}

.inquiry .transfer-note {
  margin: 1.5rem 0 0;
  font-size: 0.75rem;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 1.35rem clamp(1.4rem, 5vw, 5rem);
  background: var(--night);
  color: var(--night-muted);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

@media (max-width: 720px) {
  .hero {
    min-height: 52rem;
  }

  .hero::before {
    width: 105vw;
  }

  .hero::after {
    width: 76vw;
  }

  h1 {
    font-size: clamp(4rem, 23vw, 7rem);
  }

  .facts {
    max-width: 20rem;
  }

  .scroll-cue {
    right: 50%;
    transform: translateX(50%);
  }

  .pattern {
    grid-template-columns: 1fr;
  }
}

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

  .primary-action {
    transition: none;
  }
}
