:root {
  --bg: #f1e9dc;
  --bg-strong: #e8ddcd;
  --paper: rgba(255, 255, 255, 0.36);
  --ink: #16120d;
  --muted: #61584d;
  --accent: #9b5630;
  --accent-soft: #d3ad96;
  --line: rgba(22, 18, 13, 0.13);
  --shadow: 0 24px 70px rgba(75, 41, 20, 0.09);
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Instrument Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(155, 86, 48, 0.09), transparent 28rem),
    linear-gradient(180deg, var(--bg) 0%, #f7f1e7 100%);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
  line-height: 0.96;
  text-wrap: balance;
}

h1,
h2 {
  font-family: "Instrument Serif", serif;
}

h3 {
  font-family: "Instrument Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(22, 18, 13, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(22, 18, 13, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, black, transparent 84%);
  opacity: 0.55;
}

.site-header,
.site-footer,
.section-shell,
.proof-strip,
.hero-stage {
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 2;
  min-height: 5.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.32);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: grid;
  gap: 0.12rem;
}

.brand-name {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav,
.footer-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.site-nav a,
.footer-nav a {
  color: var(--muted);
  font-size: 0.83rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--ink);
}

main {
  position: relative;
  z-index: 1;
}

section {
  padding: 0;
}

.hero {
  margin-inline: calc(50% - 50vw);
  padding: 1rem 0 0;
}

.hero-stage {
  min-height: calc(100svh - 6.4rem);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.eyebrow {
  margin-bottom: 1.1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 10.5ch;
  font-size: clamp(4.5rem, 11vw, 8.8rem);
  letter-spacing: -0.05em;
}

.hero-lead,
.cta-copy,
.legal-meta {
  max-width: 32rem;
  margin-top: 1.35rem;
  font-size: clamp(1.02rem, 1.8vw, 1.15rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff9f4;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #8b4927;
  border-color: #8b4927;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.34);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.7);
}

.hero-visual {
  position: relative;
  min-height: 34rem;
  display: grid;
  place-items: center;
}

.hero-orb {
  position: absolute;
  width: min(34rem, 72%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(155, 86, 48, 0.24) 0%, rgba(211, 173, 150, 0.24) 42%, transparent 70%);
  filter: blur(2px);
}

.hero-grid {
  position: absolute;
  inset: 11% 8%;
  border-radius: 2rem;
  border: 1px solid rgba(22, 18, 13, 0.08);
  background:
    linear-gradient(90deg, rgba(22, 18, 13, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(22, 18, 13, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
}

.hero-monogram {
  position: relative;
  z-index: 1;
  font-family: "Instrument Serif", serif;
  font-size: clamp(7rem, 18vw, 14rem);
  font-style: italic;
  letter-spacing: -0.08em;
  color: rgba(22, 18, 13, 0.9);
}

.hero-caption {
  position: absolute;
  right: 0;
  bottom: 0.2rem;
  display: grid;
  gap: 0.45rem;
  text-align: right;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 1.25rem 0 4rem;
  border-top: 1px solid var(--line);
}

.proof-strip > div {
  padding-top: 1rem;
}

.proof-label,
.structure-label {
  display: inline-block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.proof-strip p {
  margin-top: 0.6rem;
  color: var(--ink);
}

.section-shell {
  padding: 4.5rem 0;
}

.section-heading {
  max-width: 36rem;
}

.section-heading h2 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  letter-spacing: -0.05em;
}

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

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

.story-grid p,
.focus-row p {
  max-width: 30rem;
}

.story-grid p,
.focus-row {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.focus-list {
  margin-top: 2.4rem;
}

.focus-row {
  display: grid;
  grid-template-columns: 5rem minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.focus-row + .focus-row {
  margin-top: 1rem;
}

.cta-shell {
  border-top: 1px solid var(--line);
  padding-bottom: 5rem;
}

.site-footer {
  padding: 1.3rem 0 2.8rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.footer-copy {
  max-width: 28rem;
}

.footer-copy p {
  margin-top: 0.55rem;
}

.legal-page {
  width: min(calc(100% - 2rem), 1100px);
  margin: 0 auto;
  padding-bottom: 4rem;
}

.legal-hero {
  padding: 3.4rem 0 2rem;
  max-width: 42rem;
}

.legal-hero h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  letter-spacing: -0.05em;
}

.legal-meta {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

.policy-section h2 {
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.7rem, 2.2vw, 2.3rem);
  letter-spacing: -0.04em;
}

.policy-section p + p,
.policy-list {
  margin-top: 0.85rem;
}

.policy-list {
  padding-left: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

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

@media (max-width: 980px) {
  .site-header {
    padding-top: 1rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-stage,
  .proof-strip,
  .story-grid,
  .legal-grid,
  .focus-row {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: auto;
    padding: 1.5rem 0 2rem;
  }

  .hero-visual {
    min-height: 25rem;
    order: -1;
  }

  .proof-strip {
    gap: 1rem;
    padding-bottom: 3rem;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer,
  .section-shell,
  .proof-strip,
  .hero-stage,
  .legal-page {
    width: min(calc(100% - 1.4rem), var(--content-width));
  }

  .hero h1 {
    max-width: 9ch;
    font-size: clamp(3.5rem, 17vw, 5.6rem);
  }

  .section-heading h2,
  .legal-hero h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .button {
    width: 100%;
  }

  .hero-caption {
    position: static;
    margin-top: 1rem;
    text-align: center;
  }
}

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

  .reveal,
  .button,
  .site-nav a,
  .footer-nav a {
    transition: none;
  }

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