:root {
  --cream: #f7f5ef;
  --white: #ffffff;
  --mist: #eef4ed;
  --sage: #6f8374;
  --sage-dark: #1f392b;
  --sage-ink: #213026;
  --ink: #1c231e;
  --muted: #617069;
  --line: rgba(31, 57, 43, 0.16);
  --line-soft: rgba(31, 57, 43, 0.08);
  --accent: #ef8c45;
  --shadow: 0 18px 50px rgba(31, 57, 43, 0.08);
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  background: var(--cream);
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

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

h1,
h2,
h3,
p,
fieldset,
blockquote {
  margin: 0;
}

p,
li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 10px max(20px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

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

.brand__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand__name {
  color: var(--sage-ink);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: lowercase;
}

.site-nav,
.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.site-nav a,
.footer-nav a,
.site-footer__contact a {
  color: var(--sage-ink);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"],
.footer-nav a:hover,
.footer-nav a:focus-visible,
.site-footer__contact a:hover,
.site-footer__contact a:focus-visible {
  color: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--header,
.button--solid {
  color: var(--white);
  background: var(--sage-dark);
}

.button--header {
  justify-self: end;
}

.button--solid:hover,
.button--solid:focus-visible,
.button--header:hover,
.button--header:focus-visible {
  background: #2e513d;
}

.button--light {
  color: var(--ink);
  background: var(--white);
}

.button--outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.05);
}

.button--ghost {
  color: var(--sage-dark);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: var(--sage-dark);
  background: var(--white);
}

.eyebrow {
  color: var(--sage);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--sage-ink);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: 6.1rem;
}

h2 {
  font-size: 3.65rem;
}

h3 {
  font-size: 1.4rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 30, 22, 0.78) 0%, rgba(18, 30, 22, 0.38) 42%, transparent 76%),
    linear-gradient(180deg, rgba(18, 30, 22, 0.04) 0%, rgba(18, 30, 22, 0.28) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 20px;
  min-height: calc(100vh - 72px);
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 7rem 0;
}

.hero .eyebrow,
.hero h1,
.hero p {
  color: var(--white);
}

.hero p {
  max-width: 43rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.intro-band,
.story-band,
.consultation {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 116px) 0;
}

.intro-band__copy,
.story-band__copy,
.section-heading,
.consultation__intro {
  display: grid;
  gap: 18px;
}

.intro-band__title-lockup {
  position: relative;
  isolation: isolate;
  width: fit-content;
}

.intro-band__title-lockup h2 {
  max-width: 10ch;
}

.intro-band__floral {
  position: absolute;
  top: -42px;
  right: -82px;
  z-index: -1;
  width: 178px;
  aspect-ratio: 1;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(181, 103, 58, 0.26), rgba(71, 112, 84, 0.2));
  opacity: 0.72;
  transform: rotate(12deg);
  -webkit-mask: url("assets/mandala-ornament.svg") center / contain no-repeat;
  mask: url("assets/mandala-ornament.svg") center / contain no-repeat;
}

.intro-band__copy p,
.story-band__copy p,
.section-heading p,
.consultation__intro p {
  max-width: 42rem;
  font-size: 1.14rem;
}

.intro-band__media,
.story-band__image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.intro-band__media img,
.story-band__image img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.finder,
.quote-band {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: clamp(70px, 9vw, 110px) 20px;
  text-align: center;
  background: var(--white);
}

.finder h2,
.quote-band h2 {
  max-width: 920px;
}

.finder__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  width: min(920px, 100%);
  margin: 8px 0 12px;
}

.finder__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.finder__chips span,
.choice span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--sage-dark);
  border-radius: 999px;
  color: var(--sage-ink);
  background: var(--white);
  font-weight: 700;
}

.story-band {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - var(--max)) / 2));
  background: var(--mist);
}

.story-band__copy .button {
  width: fit-content;
}

.quote-band {
  background: #f1f0eb;
}

.quote-band h2 {
  color: var(--sage-ink);
  font-size: 2.75rem;
}

.quote-band__name {
  color: var(--sage-ink);
  font-weight: 800;
}

.quote-band__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  width: min(980px, 100%);
  margin-top: 22px;
  text-align: left;
}

blockquote {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

blockquote p {
  color: var(--sage-ink);
  font-size: 1.1rem;
  font-weight: 700;
}

cite {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.consultation {
  align-items: start;
}

.consultation-form {
  display: grid;
  gap: 22px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.field {
  display: grid;
  gap: 9px;
}

.field--full {
  grid-column: 1 / -1;
}

.field span,
.choice-set legend,
.counter {
  color: var(--sage-ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
  color: var(--ink);
}

.field input {
  min-height: 56px;
  padding: 0 16px;
}

.field textarea {
  min-height: 150px;
  padding: 16px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: 3px solid rgba(239, 140, 69, 0.22);
  border-color: var(--accent);
  background: var(--white);
}

.choice-set {
  min-width: 0;
  padding: 0;
  border: 0;
}

.choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.choice-grid--three .choice {
  flex: 1 1 160px;
}

.choice {
  position: relative;
  display: flex;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice span {
  min-height: 46px;
  border-color: var(--line);
  font-size: 0.93rem;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.choice input:focus-visible + span,
.choice input:checked + span {
  border-color: var(--sage-dark);
  color: var(--white);
  background: var(--sage-dark);
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.form-error {
  margin-top: 10px;
  color: #b84832;
  font-size: 0.92rem;
}

.form-note {
  font-size: 0.94rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: start;
  padding: 52px max(20px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: #172318;
}

.site-footer p,
.site-footer a,
.site-footer .brand__name {
  color: var(--white);
}

.brand--footer {
  margin-bottom: 12px;
}

.site-footer__contact {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
}

.thanks-main {
  min-height: calc(100vh - 72px);
}

.thanks-hero,
.expect-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 10vw, 130px) 0;
}

.expect-main {
  min-height: calc(100vh - 72px);
}

.expect-hero {
  align-items: start;
  gap: clamp(24px, 4vw, 52px);
  padding: clamp(30px, 4vw, 56px) 0 10px;
}

.thanks-hero__panel,
.expect-hero__content {
  display: grid;
  gap: 18px;
}

.expect-hero__content .button {
  width: fit-content;
  margin-top: 8px;
}

.expect-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(10px, 2vw, 22px) 0 clamp(70px, 10vw, 130px);
}

.expect-flow article {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 260px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.expect-flow h2 {
  max-width: 9ch;
  font-size: clamp(2.1rem, 4vw, 3.15rem);
}

.thanks-hero__logo {
  width: 64px;
  height: 64px;
}

.thanks-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.thanks-hero__image,
.expect-hero__image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.thanks-hero__image img,
.expect-hero__image img {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
}

.expect-hero__image img {
  height: clamp(270px, 28vw, 360px);
  object-position: center 58%;
}

@media (max-width: 980px) {
  .site-header,
  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-nav,
  .footer-nav {
    justify-content: flex-start;
  }

  .button--header,
  .site-footer__contact {
    justify-self: start;
    justify-items: start;
    text-align: left;
  }

  .intro-band,
  .story-band,
  .consultation,
  .thanks-hero,
  .expect-hero {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 5rem;
  }

  h2 {
    font-size: 3rem;
  }

  .quote-band h2 {
    font-size: 2.35rem;
  }

  .expect-hero {
    padding-top: 34px;
  }
}

@media (max-width: 700px) {
  .site-header {
    position: relative;
    gap: 14px;
  }

  .site-nav,
  .footer-nav {
    gap: 16px;
    flex-wrap: wrap;
  }

  .hero,
  .hero__content {
    min-height: 640px;
  }

  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .quote-band h2 {
    font-size: 1.7rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .expect-hero {
    padding: 28px 0 10px;
  }

  .expect-hero__image img {
    height: 150px;
  }

  .hero__actions,
  .finder__actions,
  .form-footer,
  .thanks-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .intro-band__floral {
    top: -30px;
    right: -38px;
    width: 128px;
    opacity: 0.5;
  }

  .button {
    width: 100%;
  }

  .finder__chips,
  .choice-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .quote-band__grid,
  .form-grid,
  .expect-flow {
    grid-template-columns: 1fr;
  }

  .field--full {
    grid-column: auto;
  }
  .consultation-form {
    padding: 22px;
  }
}

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

  .button,
  .choice span {
    transition: none;
  }
}
