:root {
  --chalk: #f7f4ef;
  --apricot: #f3e6d4;
  --terracotta: #c45c3e;
  --olive: #6b7f4a;
  --coral: #d9897a;
  --espresso: #2c1f18;
  --espresso-muted: #5c4a3f;
  --paper: #fffdf9;
  --hairline: rgba(44, 31, 24, 0.14);
  --shadow: 0 12px 32px rgba(44, 31, 24, 0.08);
  --radius: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --max: 72rem;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--espresso);
  background:
    radial-gradient(ellipse at 10% 0%, rgba(243, 230, 212, 0.9), transparent 45%),
    radial-gradient(ellipse at 90% 20%, rgba(217, 137, 122, 0.18), transparent 40%),
    linear-gradient(180deg, var(--chalk) 0%, var(--apricot) 48%, var(--chalk) 100%);
  min-height: 100vh;
}

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

a {
  color: var(--terracotta);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--espresso);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(100% - 2.5rem, 46rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn--terracotta {
  background: var(--terracotta);
  color: var(--espresso);
}

.btn--terracotta:hover {
  background: transparent;
  border-color: var(--terracotta);
  color: var(--espresso);
  text-decoration: underline;
}

.btn--olive {
  background: var(--olive);
  color: var(--chalk);
}

.btn--olive:hover {
  background: var(--espresso);
  color: var(--chalk);
}

.btn--ghost {
  background: transparent;
  border-color: var(--hairline);
  color: var(--espresso);
}

.btn--ghost:hover {
  border-color: var(--espresso);
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(247, 244, 239, 0.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-solid {
  background: rgba(255, 253, 249, 0.96);
  border-bottom-color: var(--hairline);
  box-shadow: 0 8px 24px rgba(44, 31, 24, 0.05);
}

.has-hero .site-header {
  position: fixed;
  width: 100%;
  background: rgba(247, 244, 239, 0.28);
}

.has-hero .site-header.is-solid {
  background: rgba(255, 253, 249, 0.96);
}

.site-header__inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--espresso);
}

.site-header__mark {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.35rem;
  background: linear-gradient(135deg, var(--terracotta), var(--coral));
  box-shadow: inset 0 0 0 2px rgba(255, 253, 249, 0.35);
}

.site-header__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.site-header__toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--hairline);
  border-radius: 0.6rem;
  background: var(--paper);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
}

.site-header__toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--espresso);
}

.site-header__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
}

.site-header__list a {
  color: var(--espresso);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-header__list a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.site-header__cta {
  background: var(--terracotta);
  color: var(--espresso) !important;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  text-decoration: none !important;
}

.site-header__cta:hover {
  background: var(--olive);
  color: var(--chalk) !important;
}

.hero {
  position: relative;
  min-height: min(92vh, 52rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--chalk);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(44, 31, 24, 0.78) 8%, rgba(44, 31, 24, 0.35) 55%, rgba(44, 31, 24, 0.2) 100%),
    linear-gradient(0deg, rgba(44, 31, 24, 0.55), transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--header-h) + 4rem) 0 4.5rem;
  max-width: 40rem;
  margin-left: max(1.25rem, calc((100% - var(--max)) / 2));
}

.hero__kicker {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--apricot);
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  margin-bottom: 0.8rem;
  color: var(--chalk);
}

.hero__lead {
  font-size: 1.15rem;
  max-width: 34rem;
  color: rgba(247, 244, 239, 0.92);
  margin-bottom: 1.8rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section--paper {
  background: rgba(255, 253, 249, 0.72);
  border-block: 1px solid var(--hairline);
}

.section__header {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.section__header--stack {
  grid-template-columns: 1fr;
  max-width: 40rem;
}

.section__eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.6rem;
}

.section__title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
}

.section__aside {
  color: var(--espresso-muted);
  font-size: 1.05rem;
}

.asymmetric {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.asymmetric--flip {
  direction: rtl;
}

.asymmetric--flip > * {
  direction: ltr;
}

.feature-card,
.card {
  background:
    linear-gradient(160deg, rgba(255, 253, 249, 0.95), rgba(243, 230, 212, 0.55));
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover,
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(44, 31, 24, 0.12);
}

.card__media img,
.feature-card__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.card__body,
.feature-card__body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.card__meta,
.feature-card__meta {
  font-size: 0.85rem;
  color: var(--olive);
  margin-bottom: 0.45rem;
}

.card__title,
.feature-card__title {
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}

.card__title a,
.feature-card__title a {
  color: inherit;
  text-decoration: none;
}

.card__title a:hover,
.feature-card__title a:hover {
  text-decoration: underline;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.flagship {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border: 1px solid var(--hairline);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.flagship__media img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.flagship__body {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flagship__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--terracotta);
  margin: 0.4rem 0 1rem;
}

.quote-list {
  display: grid;
  gap: 1.25rem;
}

.quote {
  padding: 1.5rem 1.6rem;
  border-left: 3px solid var(--terracotta);
  background: rgba(255, 253, 249, 0.7);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote--wide {
  border-left-color: var(--olive);
}

.quote__text {
  font-size: 1.08rem;
  margin-bottom: 0.9rem;
}

.quote__meta {
  font-size: 0.92rem;
  color: var(--espresso-muted);
}

.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 2.5rem;
}

.page-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 16ch;
}

.page-hero__lead {
  max-width: 38rem;
  color: var(--espresso-muted);
  font-size: 1.12rem;
}

.prose {
  max-width: 44rem;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.6rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.prose th,
.prose td {
  border: 1px solid var(--hairline);
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
  background: rgba(255, 253, 249, 0.65);
}

.prose th {
  background: var(--apricot);
  font-weight: 600;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
}

.price-table th,
.price-table td {
  border-bottom: 1px solid var(--hairline);
  padding: 1rem 0.5rem;
  text-align: left;
}

.price-table th {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.form__group {
  display: grid;
  gap: 0.4rem;
}

.form label {
  font-weight: 600;
  font-size: 0.95rem;
}

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--hairline);
  border-radius: 0.7rem;
  background: var(--paper);
  color: var(--espresso);
}

.form textarea {
  min-height: 9rem;
  resize: vertical;
}

.form__error {
  color: #9a2f1c;
  font-size: 0.88rem;
  min-height: 1.1em;
}

.form-message {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.7rem;
  font-weight: 500;
}

.form-message--success {
  background: rgba(107, 127, 74, 0.18);
  color: #2f3d1c;
}

.form-message--error {
  background: rgba(196, 92, 62, 0.16);
  color: #7a2d1a;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
}

.contact-card {
  padding: 1.5rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.8);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0.9rem;
  border: 1px solid var(--hairline);
}

.issue-list {
  display: grid;
  gap: 1.5rem;
}

.issue {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.75);
  align-items: center;
}

.issue img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 0.7rem;
}

.site-footer {
  background: var(--espresso);
  color: rgba(247, 244, 239, 0.82);
  padding: 4rem 0 1.5rem;
  margin-top: 2rem;
}

.site-footer a {
  color: rgba(247, 244, 239, 0.88);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--apricot);
  text-decoration: underline;
}

.site-footer__inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 3rem;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--chalk);
  margin: 0 0 0.5rem;
}

.site-footer__tag {
  color: rgba(243, 230, 212, 0.75);
  margin-bottom: 1.5rem;
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.site-footer__heading {
  font-size: 1rem;
  color: var(--apricot);
  margin-bottom: 0.9rem;
}

.site-footer__cols ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer__address {
  white-space: pre-line;
}

.newsletter__label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--chalk);
}

.newsletter__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.newsletter__input {
  flex: 1 1 12rem;
  padding: 0.75rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(247, 244, 239, 0.25);
  background: rgba(255, 253, 249, 0.08);
  color: var(--chalk);
  font: inherit;
}

.site-footer__bottom {
  width: min(100% - 2.5rem, var(--max));
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(247, 244, 239, 0.15);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer__social,
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-banner {
  position: fixed;
  z-index: 60;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
}

.cookie-banner__inner {
  width: min(100%, 46rem);
  margin-inline: auto;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.35rem;
  display: grid;
  gap: 1rem;
}

.cookie-banner__title {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.error-page__code {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--terracotta);
  margin: 0;
}

@media (max-width: 960px) {
  .section__header,
  .asymmetric,
  .flagship,
  .grid-3,
  .grid-2,
  .contact-grid,
  .team-grid,
  .site-footer__inner,
  .site-footer__cols,
  .issue {
    grid-template-columns: 1fr;
  }

  .asymmetric--flip {
    direction: ltr;
  }

  .site-header__toggle {
    display: inline-flex;
  }

  .site-header__nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--hairline);
    padding: 1rem 1.25rem 1.25rem;
    display: none;
  }

  .site-header__nav.is-open {
    display: block;
  }

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

  .hero__content {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
