:root {
  --night: #1d1a38;
  --night-soft: #2c2650;
  --dawn: #f3c3a4;
  --rose: #e8a0a8;
  --cream: #fdf6ee;
  --linen: #f7ece3;
  --ink: #2a2440;
  --ink-soft: #5a5170;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Nunito", system-ui, sans-serif;

  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--night);
}

h3 {
  font-size: 1.35rem;
  color: var(--night);
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(ellipse at 50% 0%, var(--night-soft) 0%, transparent 60%),
    linear-gradient(180deg, var(--night) 0%, #2a2347 100%);
  color: var(--cream);
  text-align: center;
  padding: 0 0 4.5rem;
}

.hero__photo {
  width: 100%;
  height: clamp(280px, 62vw, 420px);
  object-fit: cover;
  object-position: 100% 40%;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}

.hero__text {
  padding-top: 1rem;
}

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

.hero h1 {
  font-size: clamp(3rem, 9vw, 4.75rem);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 3.5vw, 1.7rem);
  color: var(--linen);
  max-width: 28rem;
  margin: 0 auto 2.25rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--dawn), var(--rose));
  color: var(--night);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px -10px rgba(232, 160, 168, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px rgba(232, 160, 168, 0.8);
}

.btn:focus-visible,
a:focus-visible {
  outline: 3px solid var(--dawn);
  outline-offset: 3px;
}

/* ---------- Sections ---------- */

.section {
  padding: 4.5rem 0;
}

.section--idea .wrap {
  display: flow-root;
}

.founder {
  float: left;
  width: clamp(6.5rem, 24vw, 9.5rem);
  height: auto;
  margin: 0.25rem 1.25rem 0.5rem 0;
}

.section--tint {
  background: var(--linen);
}

.section--closing {
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 100%, #f8d9c4 0%, transparent 70%),
    var(--cream);
}

.section--closing p {
  max-width: 30rem;
  margin: 0 auto 2rem;
  color: var(--ink-soft);
}

main a {
  color: var(--night-soft);
  text-decoration-color: var(--rose);
  text-underline-offset: 3px;
}

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1.75rem;
}

.steps li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.steps h3 {
  margin-bottom: 0.2em;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
}

.steps__num {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--night);
  color: var(--dawn);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--night);
  color: var(--linen);
  text-align: center;
  padding: 2.5rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
}

.footer p {
  margin: 0;
}

/* ---------- Wider screens ---------- */

@media (min-width: 900px) {
  .hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(92vh, 52rem);
    overflow: hidden;
    padding: 4rem 0;
    text-align: left;
  }

  .hero__photo {
    position: absolute;
    top: 0;
    right: 0;
    width: 72%;
    height: 100%;
    object-position: 100% 40%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  }

  .hero__text {
    position: relative;
    max-width: 72rem;
    padding: 0 3rem;
  }

  .hero__text > * {
    max-width: 26rem;
  }

  .lead {
    margin-left: 0;
  }
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .steps li {
    flex-direction: column;
  }
}

/* ---------- Motion ---------- */

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

  .btn {
    transition: none;
  }
}
