:root {
  --bg: #eae3dc;
  --bg-deep: #ddd2c8;
  --surface: rgba(247, 242, 237, 0.8);
  --surface-strong: rgba(250, 246, 242, 0.92);
  --text: #544948;
  --muted: #766966;
  --accent: #7b6761;
  --accent-deep: #5f504d;
  --line: rgba(84, 73, 72, 0.11);
  --shadow: 0 24px 60px rgba(84, 73, 72, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.62), transparent 32%),
    radial-gradient(circle at right 20%, rgba(123, 103, 97, 0.1), transparent 25%),
    linear-gradient(180deg, #f2ebe4 0%, var(--bg) 42%, var(--bg-deep) 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  filter: blur(6px);
}

body::before {
  width: 18rem;
  height: 18rem;
  top: 6rem;
  right: -5rem;
  background: rgba(248, 243, 239, 0.74);
}

body::after {
  width: 20rem;
  height: 20rem;
  left: -7rem;
  bottom: 8rem;
  background: rgba(123, 103, 97, 0.1);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 4rem;
}

.hero,
.manifesto,
.closing {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero {
  padding: 1.2rem;
  min-height: 90vh;
  display: grid;
  align-content: space-between;
}

.hero::after,
.manifesto::after,
.closing::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(45, 31, 26, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 31, 26, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 88%);
  pointer-events: none;
}

.topbar,
.hero-copy,
.hero-actions,
.hero-note,
.section-heading,
.manifesto-grid,
.closing-copy,
.closing .button {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.topbar-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.section-label,
.card-number,
.eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.text-link,
.section-label,
.card-number,
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
}

.brand-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
}

.brand-inline-mark {
  display: block;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(86, 48, 31, 0.09);
}

.brand-inline-text {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  line-height: 1;
  letter-spacing: 0.01em;
}

.text-link {
  color: var(--text);
  text-decoration: none;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(84, 73, 72, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.hero-copy {
  max-width: 760px;
  padding: 3rem 0 2rem;
  display: grid;
  gap: 1.35rem;
  animation: rise 900ms ease-out both;
}

.section-heading {
  display: grid;
  gap: 1.15rem;
}

.eyebrow,
.section-label {
  color: var(--accent);
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3.15rem, 8.2vw, 6.15rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  max-width: 12ch;
}

h3 {
  font-size: 2rem;
  margin-bottom: 0.9rem;
}

.lede,
.quote-band p,
.closing-copy,
.card p:last-child {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.8;
  color: var(--muted);
}

.lede {
  max-width: 46rem;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: rise 900ms ease-out 150ms both;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

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

.text-link:hover,
.text-link:focus-visible {
  background: rgba(255, 255, 255, 0.56);
  border-color: rgba(84, 73, 72, 0.18);
  color: var(--accent-deep);
}

.button-primary {
  background: var(--accent);
  color: #fff7f0;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-deep);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.45);
  border-color: var(--line);
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 2rem;
  color: var(--muted);
  animation: rise 900ms ease-out 300ms both;
  justify-content: center;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.hero-note span {
  padding: 0;
  background: transparent;
  position: relative;
}

.hero-note span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.42rem;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(84, 73, 72, 0.3);
  transform: translateY(-50%);
}

@media (min-width: 901px) {
  .hero {
    padding: 1.4rem 1.6rem 1.6rem;
  }

  .hero-copy {
    max-width: min(920px, 100%);
    margin: 0 auto;
    text-align: center;
    gap: 1.6rem;
  }

  h1 {
    max-width: 12ch;
    margin: 0 auto;
  }

  .lede {
    max-width: 46rem;
    margin: 0 auto;
  }

  .hero-actions,
  .hero-note {
    justify-content: center;
  }

  .manifesto .section-heading {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
    gap: 1.45rem;
  }

  .manifesto h2 {
    max-width: 14ch;
    margin: 0 auto;
  }
}

main {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.manifesto,
.closing {
  padding: 2rem 1.2rem;
}

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

.card {
  padding: 1.4rem;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  transform: translateY(16px);
  opacity: 0;
  animation: rise 800ms ease-out forwards;
}

.card:nth-child(2) {
  animation-delay: 120ms;
}

.card:nth-child(3) {
  animation-delay: 240ms;
}

.card-number {
  margin: 0 0 1rem;
  color: var(--accent);
}

.quote-band {
  padding: 4rem 1rem;
}

.quote-band p {
  max-width: 18ch;
  margin: 0 auto;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.1rem, 6vw, 4.1rem);
  line-height: 1.06;
  text-align: center;
  color: var(--text);
}

.closing {
  text-align: center;
}

.closing .section-heading {
  display: grid;
  justify-items: center;
}

.closing-copy {
  max-width: 42rem;
  margin: 1.25rem auto 2rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.3rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 2.8rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(45, 31, 26, 0.2);
  background: rgba(255, 255, 255, 0.7);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(184, 92, 56, 0.08);
  color: var(--accent-deep);
}

.social-icon svg {
  width: 1.05rem;
  height: 1.05rem;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-dot {
  fill: currentColor;
  stroke: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

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

  h1 {
    max-width: 12ch;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 1rem, 1120px);
    padding-top: 0.5rem;
  }

  .hero,
  .manifesto,
  .closing {
    border-radius: 24px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-links {
    justify-content: flex-start;
    gap: 0.8rem 1rem;
  }

  .brand-inline-text {
    font-size: 1.35rem;
  }

  .hero-copy {
    padding-top: 2.4rem;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  h2 {
    font-size: clamp(2.1rem, 12vw, 3.5rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 3.2rem;
  }

  .quote-band {
    padding: 2.5rem 0.5rem;
  }
}
