:root {
  --bg: #f4efe7;
  --paper: rgba(255, 251, 245, 0.82);
  --ink: #1b1713;
  --muted: #5f564d;
  --line: rgba(27, 23, 19, 0.12);
  --accent: #a33f1f;
  --accent-2: #d9b564;
  --shadow: 0 24px 80px rgba(38, 24, 8, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(163, 63, 31, 0.16), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(217, 181, 100, 0.18), transparent 25%),
    linear-gradient(180deg, #efe7db 0%, var(--bg) 55%, #efe5d5 100%);
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  overflow: hidden;
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 20px 56px;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(var(--ink) 0.45px, transparent 0.45px);
  background-size: 9px 9px;
  mix-blend-mode: multiply;
}

.topbar,
.hero,
.grid-section,
.steps-section,
.closing-card {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
}

.brand,
.topline,
.eyebrow,
.section-label,
.quote-kicker {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand {
  font-size: 0.88rem;
  font-weight: 600;
}

.topline,
.eyebrow,
.section-label,
.quote-kicker,
.promise-list,
.card p,
.step-card p,
.contact-line {
  color: var(--muted);
}

.topline {
  font-size: 0.82rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
  gap: 24px;
  align-items: end;
  padding: 30px 0 24px;
}

.hero-copy h1,
.grid-section h2,
.steps-header h2,
.closing-card h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.96;
  margin: 0;
}

.hero-copy h1 {
  font-size: clamp(3.7rem, 8vw, 7.8rem);
  max-width: 11ch;
}

.hero-copy h1 span,
.quote-price {
  color: var(--accent);
}

.lede {
  max-width: 60ch;
  margin: 22px 0 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: #2d251f;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.fallback-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

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

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

.button-primary {
  background: var(--ink);
  color: #fff9f0;
  box-shadow: 0 14px 36px rgba(27, 23, 19, 0.18);
}

.button-primary:hover {
  box-shadow: 0 18px 42px rgba(27, 23, 19, 0.22);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(8px);
}

.promise-list,
.quote-card ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.promise-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.95rem;
}

.promise-list li::before,
.quote-card li::before {
  content: "- ";
  color: var(--accent);
}

.quote-card,
.card,
.step-card,
.closing-card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.quote-card {
  padding: 28px;
  border-radius: 28px 28px 28px 10px;
  transform: translateY(22px) rotate(-1.2deg);
}

.quote-price {
  margin-top: 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1;
}

.quote-card ul {
  display: grid;
  gap: 10px;
}

.grid-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 18px;
  margin-top: 58px;
}

.card,
.step-card,
.closing-card {
  border-radius: 26px;
}

.card {
  padding: 28px;
}

.card-large {
  background:
    linear-gradient(145deg, rgba(255, 249, 240, 0.92), rgba(247, 236, 220, 0.76)),
    var(--paper);
}

.grid-section h2,
.closing-card h2 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  max-width: 12ch;
  margin-top: 10px;
}

.card p,
.step-card p,
.closing-card p {
  line-height: 1.7;
  font-size: 1rem;
}

.steps-section {
  margin-top: 22px;
  padding: 28px 0 0;
}

.steps-header h2 {
  font-size: clamp(2.2rem, 4.6vw, 4.1rem);
  max-width: 10ch;
  margin-top: 10px;
}

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

.step-card {
  padding: 26px;
}

.step-card span {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: var(--accent);
}

.step-card h3 {
  margin: 10px 0 8px;
  font-size: 1.2rem;
}

.closing-card {
  margin-top: 24px;
  padding: 30px;
}

.contact-line {
  margin-top: 18px;
}

@media (max-width: 960px) {
  .hero,
  .grid-section,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .quote-card {
    transform: none;
  }

  .grid-section h2,
  .steps-header h2,
  .closing-card h2,
  .hero-copy h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 20px 14px 42px;
  }

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

  .hero {
    padding-top: 10px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .button {
    width: 100%;
  }

  .quote-card,
  .card,
  .step-card,
  .closing-card {
    border-radius: 22px;
  }
}
