:root {
  --ink: #19151f;
  --paper: #fff8e7;
  --sun: #ffd23f;
  --coral: #ff5a5f;
  --green: #31c46c;
  --blue: #2394ff;
  --violet: #8b5cf6;
  --shadow: 0 18px 50px rgba(25, 21, 31, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.topbar {
  position: fixed;
  z-index: 10;
  top: 18px;
  left: 50%;
  display: flex;
  width: min(1120px, calc(100% - 28px));
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border: 2px solid rgba(25, 21, 31, 0.1);
  border-radius: 8px;
  background: rgba(255, 248, 231, 0.86);
  box-shadow: 0 12px 30px rgba(25, 21, 31, 0.14);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand,
.nav a,
.hero-button {
  color: inherit;
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: white;
  font-size: 0.82rem;
  box-shadow: 4px 4px 0 var(--sun);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  min-width: 78px;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 0.93rem;
  font-weight: 800;
  text-align: center;
}

.nav a:hover,
.nav a:focus-visible {
  background: var(--sun);
  outline: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #111;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% center;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 44%, rgba(0, 0, 0, 0.08) 100%),
    linear-gradient(0deg, rgba(255, 210, 63, 0.88) 0%, rgba(255, 210, 63, 0) 30%);
}

.hero-content {
  width: min(780px, calc(100% - 32px));
  margin: 0 auto 8vh;
  color: white;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: clamp(0.85rem, 1.8vw, 0.98rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sun);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  margin-bottom: 28px;
  font-size: clamp(1.08rem, 2.2vw, 1.55rem);
  line-height: 1.55;
}

.hero-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: var(--sun);
  color: var(--ink);
  font-weight: 950;
  box-shadow: 7px 7px 0 var(--coral);
}

.story-section,
.rhythm-section,
.quote-section {
  padding: clamp(64px, 9vw, 118px) max(18px, calc((100vw - 1120px) / 2));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

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

.story-card {
  min-height: 310px;
  padding: 24px;
  border: 2px solid rgba(25, 21, 31, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.story-card.coral {
  background: #ffdbda;
}

.story-card.lime {
  background: #dfffc6;
}

.story-card.sky {
  background: #d9efff;
}

.number {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-weight: 950;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.story-card p,
.rhythm-copy p,
.rhythm-list span,
blockquote p,
footer {
  font-size: 1.06rem;
  line-height: 1.65;
}

.rhythm-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
  gap: 32px;
  align-items: center;
  background: var(--ink);
  color: white;
}

.rhythm-copy {
  max-width: 520px;
}

.rhythm-copy .eyebrow {
  color: var(--green);
}

.rhythm-list {
  display: grid;
  gap: 12px;
}

.rhythm-list div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 78px;
  padding: 14px 18px;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  box-shadow: 7px 7px 0 var(--blue);
}

.rhythm-list div:nth-child(even) {
  box-shadow: 7px 7px 0 var(--green);
}

.rhythm-list strong {
  font-size: 1.3rem;
  font-weight: 950;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  background: var(--sun);
}

.quote-photo {
  overflow: hidden;
  border: 5px solid white;
  border-radius: 8px;
  box-shadow: 12px 12px 0 var(--violet);
}

.quote-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 42% 36%;
}

blockquote {
  margin: 0;
}

blockquote p {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.8vw, 5.5rem);
  line-height: 1.02;
  font-weight: 950;
}

cite {
  font-style: normal;
  font-weight: 900;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px max(18px, calc((100vw - 1120px) / 2));
  background: var(--coral);
  color: white;
  font-weight: 850;
}

@media (max-width: 760px) {
  .topbar {
    top: 10px;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav a {
    min-width: 0;
    padding: 9px 8px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-media img {
    object-position: 38% center;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.22) 70%),
      linear-gradient(0deg, rgba(255, 210, 63, 0.78) 0%, rgba(255, 210, 63, 0) 28%);
  }

  .hero-content {
    margin-bottom: 5vh;
  }

  .story-grid,
  .rhythm-section,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .story-card {
    min-height: 250px;
  }

  .number {
    margin-bottom: 26px;
  }

  .rhythm-list div {
    grid-template-columns: 72px 1fr;
  }

  footer {
    flex-direction: column;
  }
}
