:root {
  --bg: #f7f4ef;
  --bg: oklch(0.97 0.008 80);
  --bg-warm: #eee8df;
  --bg-warm: oklch(0.94 0.014 75);
  --text: #2e2722;
  --text: oklch(0.23 0.02 55);
  --text-secondary: #6d6359;
  --text-secondary: oklch(0.45 0.015 55);
  --accent: #8a5a3a;
  --accent: oklch(0.48 0.10 55);
  --border: #e3dbd1;
  --border: oklch(0.90 0.012 75);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Karla', sans-serif;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: 'Alegreya', serif;
  line-height: 1.3;
}

h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 16px;
}

h3 {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 14px;
  font-family: 'Karla', sans-serif;
}

p {
  max-width: 60ch;
}


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

.hero {
  padding: 56px 0 0;
  text-align: center;
}

h1 {
  font-size: clamp(2rem, 1.3rem + 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  max-width: 14em;
  margin: 0 auto;
}

.hero-tagline {
  font-family: 'Alegreya', serif;
  font-style: italic;
  font-size: clamp(1.05rem, 0.9rem + 0.75vw, 1.25rem);
  color: var(--text-secondary);
  margin: 6px auto 0;
  line-height: 1.5;
}

.hero-photo {
  width: calc(100% + 48px);
  margin-left: -24px;
  height: clamp(200px, 30vh, 350px);
  object-fit: cover;
  object-position: center 55%;
  display: block;
  margin-top: 32px;
}


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

section {
  padding: 48px 0;
}

.section-lead {
  color: var(--text-secondary);
  margin-bottom: 28px;
}


/* ---- Story ---- */

.story p + p {
  margin-top: 14px;
}


/* ---- Share Button ---- */

.story {
  text-align: center;
}

.story p {
  margin-left: auto;
  margin-right: auto;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 32px;
  font-family: 'Karla', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--bg);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.share-btn:hover {
  background: none;
  color: var(--accent);
}

.share-btn.copied {
  background: var(--text-secondary);
  border-color: var(--text-secondary);
  color: var(--bg);
  pointer-events: none;
}


/* ---- Requirements ---- */

.requirements {
  background: var(--bg-warm);
  margin-left: -24px;
  margin-right: -24px;
  padding: 48px 24px;
}

.req-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 8px;
}

.req-group ul {
  list-style: none;
}

.req-group li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  line-height: 1.6;
}

.req-group li::before {
  content: '\2013';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 500;
}


/* ---- Timeline ---- */

.timeline {
  list-style: none;
  position: relative;
  padding-left: 48px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: var(--border);
}

.step {
  position: relative;
  padding: 10px 0;
}

.step-num {
  position: absolute;
  left: -48px;
  top: 10px;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: 'Karla', sans-serif;
  z-index: 1;
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step-content strong {
  font-family: 'Alegreya', serif;
  font-size: 1.1rem;
  font-weight: 500;
}

.step-content span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}


/* ---- Contact ---- */

.contact {
  text-align: center;
  padding-bottom: 56px;
}

.contact p {
  margin: 0 auto 24px;
}

.contact-btn {
  display: inline-block;
  padding: 12px 32px;
  font-family: 'Karla', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--bg);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.contact-btn:hover {
  background: none;
  color: var(--accent);
}

.contact-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}


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

footer {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
}


/* ---- Desktop ---- */

@media (min-width: 640px) {
  main {
    padding: 0 48px;
  }

  .hero {
    padding-top: 80px;
  }

  .hero-photo {
    width: calc(100% + 96px);
    margin-left: -48px;
    object-position: center 40%;
  }

  section {
    padding: 64px 0;
  }

  .requirements {
    margin-left: -48px;
    margin-right: -48px;
    padding: 64px 48px;
  }

  .req-columns {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  footer {
    padding: 32px 48px;
  }
}
