:root {
  --sand: #f6efe4;
  --sand-deep: #e7d8c3;
  --sand-soft: #fbf7f0;
  --sand-alt: #efe3d3;
  --ink: #1d2a22;
  --ink-soft: #57635c;
  --line: rgba(29, 42, 34, 0.14);
  --line-strong: rgba(29, 42, 34, 0.22);
  --accent: #ad6c3a;
  --accent-strong: #8f562a;
  --forest: #1f3128;
  --cream: #fbf7f1;
  --shadow: 0 22px 60px rgba(33, 25, 14, 0.16);
  --section-space: clamp(2.4rem, 5vw, 3.8rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--sand-soft);
}

img {
  max-width: 100%;
}

figure {
  margin: 0;
}

a {
  color: inherit;
}

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

.hero {
  position: relative;
  min-height: auto;
  overflow: clip;
  background:
    radial-gradient(circle at 12% 18%, rgba(173, 108, 58, 0.05), transparent 24%),
    linear-gradient(180deg, #fdfaf5 0%, var(--sand) 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
}

.hero::before {
  width: 30rem;
  height: 30rem;
  right: -8rem;
  top: -9rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 70%);
  animation: drift 14s ease-in-out infinite alternate;
}

.hero::after {
  display: none;
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1.2rem 0 0.15rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo {
  width: auto;
  height: 40px;
  display: block;
  opacity: 0.9;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(1.75rem, 5vw, 4.5rem);
  align-items: start;
  min-height: auto;
  padding: 1.8rem 0 4rem;
}

.hero-copy {
  max-width: 34rem;
  padding: 1.45rem 0 0.4rem;
}

.section-label {
  margin: 0 0 0.9rem;
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-label {
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 11.5ch;
  font-size: clamp(2.25rem, 4.6vw, 4.25rem);
  line-height: 1.16;
}

h2 {
  max-width: 11ch;
  font-size: clamp(1.7rem, 3.3vw, 2.95rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.section-copy,
.experience-step p,
.story-detail p,
.insight-text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.72;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.7rem;
  max-width: 42rem;
}

.hero-endorsement {
  margin: 1.35rem 0 0;
  width: 100%;
  max-width: 42rem;
  white-space: nowrap;
  display: block;
  padding: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.22rem, 1.85vw, 1.55rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--accent-strong);
  letter-spacing: 0.02em;
  text-align: center;
}

@media (max-width: 980px) {
  .hero-endorsement {
    margin-top: 2.1rem;
    max-width: 100%;
    padding: 0;
    white-space: normal;
    font-size: clamp(1.05rem, 2.6vw, 1.3rem);
    text-align: center;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--forest);
  color: #fff;
  box-shadow: 0 18px 36px rgba(31, 49, 40, 0.18);
}

.button.primary:hover {
  background: #17231d;
}

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

.button.secondary:hover {
  border-color: rgba(29, 42, 34, 0.34);
  background: rgba(255, 255, 255, 0.72);
}

.hero-visual {
  position: relative;
  min-height: clamp(390px, 60vh, 620px);
  overflow: hidden;
  border-radius: 2.4rem;
  box-shadow: none;
  background: transparent;
  margin-top: 2.6rem;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: inherit;
  transform: scale(1);
  animation: heroImageIn 1s ease-out both;
}

main {
  padding-bottom: 4.5rem;
}

.section {
  --section-bg: transparent;
  position: relative;
  padding: var(--section-space) 0;
  background: var(--section-bg);
  box-shadow: 0 0 0 100vmax var(--section-bg);
  clip-path: inset(0 -100vmax);
}

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

.signal {
  --section-bg: var(--sand-soft);
}

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

.signal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: center;
}

.signal .section-copy {
  max-width: 34rem;
}

.point-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.point-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 1.17rem;
  line-height: 1.6;
  font-weight: 500;
}

.point-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--accent);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  margin-top: 2.4rem;
  border-top: 1px solid var(--line);
}

.experience {
  --section-bg: var(--sand-alt);
}

.experience-step {
  padding-top: 1.5rem;
}

.experience-step + .experience-step {
  padding-left: 1.35rem;
  border-left: 1px solid var(--line);
}

.step-number {
  display: block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.experience-step h3 {
  margin-bottom: 0.8rem;
}

.story {
  --section-bg: var(--sand-soft);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: start;
}

.story-detail {
  max-width: 33rem;
}

.audience-list {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
}

.audience-list li {
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.insight {
  --section-bg: var(--sand-alt);
}

.insight-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: center;
}

.insight .section-label {
  color: var(--accent);
}

.insight h2 {
  color: var(--ink);
}

.insight-text {
  max-width: 37rem;
  color: var(--ink-soft);
}

.final-cta {
  --section-bg: #1f3128;
  text-align: center;
  color: var(--cream);
  background: var(--section-bg);
}

.final-cta .section-label {
  color: #d7b38f;
}

.final-cta h2 {
  max-width: 13ch;
  margin: 0 auto;
}

.final-cta .section-copy {
  max-width: 40rem;
  margin: 1.35rem auto 0;
  color: rgba(251, 247, 241, 0.82);
}

.reveal,
.reveal-delayed {
  opacity: 0;
  transform: translateY(28px);
  animation: revealUp 900ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-delayed {
  animation-delay: 140ms;
}

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

@keyframes heroImageIn {
  from {
    opacity: 0;
    transform: scale(1.02);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(0, 18px, 0) scale(1.05);
  }
}

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

  .site-header {
    padding-top: 0.95rem;
  }

  .hero-grid,
  .signal,
  .story,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 1.2rem;
    padding-bottom: 1rem;
  }

  .hero-copy {
    max-width: 100%;
    padding: 0.9rem 0 0;
  }

  h1,
  h2 {
    max-width: none;
  }

  .hero-visual {
    min-height: 360px;
    border-radius: 2rem;
    margin-top: 1.8rem;
  }

  .experience-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .experience-step {
    padding: 1.3rem 0 0;
  }

  .experience-step + .experience-step {
    padding-left: 0;
    margin-top: 1.3rem;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .story-detail,
  .signal .section-copy,
  .insight-text {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 1.25rem, 1160px);
  }

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

  .brand-logo {
    height: 36px;
  }

  .hero-grid {
    gap: 1.4rem;
    padding-top: 0.6rem;
  }

  .section-copy,
  .experience-step p,
  .story-detail p,
  .insight-text {
    font-size: 1rem;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 320px;
    border-radius: 1.6rem;
    margin-top: 1.3rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
