:root {
  --canvas: #f3eee4;
  --canvas-deep: #e7dfd0;
  --paper: #fbfaf6;
  --ink: #1b1712;
  --ink-soft: #5a5348;
  --line: #d4cbb8;
  --line-strong: #b7aa93;
  --accent: #9c3d2e;
  --accent-deep: #7a2e23;
  --mark: #2f4a3c;
  --focus: #9c3d2e;
  --error: #8a1c1c;
  --ok: #2f4a3c;
  --shadow: 0 18px 40px rgba(27, 23, 18, 0.08);
  --header-h: 4.25rem;
  --space: 1rem;
  --measure: 38rem;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

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

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

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

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.85rem;
  z-index: 200;
}

.skip-link:focus {
  top: 0.75rem;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 238, 228, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.header__mark {
  width: 1.15rem;
  height: 1.15rem;
  border: 1.5px solid var(--accent);
  clip-path: polygon(50% 6%, 94% 92%, 6% 92%);
}

.header__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.header__toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  position: relative;
}

.header__toggle-bar,
.header__toggle-bar::before,
.header__toggle-bar::after {
  position: absolute;
  left: 0.55rem;
  width: 1.3rem;
  height: 1.5px;
  background: var(--ink);
  content: "";
}

.header__toggle-bar {
  top: 50%;
}

.header__toggle-bar::before {
  top: -6px;
}

.header__toggle-bar::after {
  top: 6px;
}

.header__list {
  display: flex;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__link {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header__link:hover,
.header__link.is-current {
  color: var(--accent);
}

.header__link.is-current {
  box-shadow: inset 0 -1px 0 var(--accent);
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--canvas-deep);
  margin-top: 4rem;
  padding: 3rem 1.25rem 1.5rem;
}

.footer__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}

.footer__name {
  font-family: var(--display);
  font-size: 1.4rem;
  margin: 0 0 0.6rem;
}

.footer__tag,
.footer__address,
.footer__phone,
.footer__email {
  margin: 0 0 0.45rem;
  color: var(--ink-soft);
  font-style: normal;
}

.footer__heading {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
  color: var(--mark);
}

.footer__list,
.footer__legal-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__list a,
.footer__legal-list a,
.footer__phone a,
.footer__email a {
  color: var(--ink);
  text-decoration: none;
}

.footer__list li + li {
  margin-top: 0.35rem;
}

.footer__legal {
  max-width: 72rem;
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
}

.footer__legal-list {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

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

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 80;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.cookie-banner__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.2rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.95rem;
  max-width: 48rem;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.55rem;
  flex-shrink: 0;
}

.island-error {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  background: #f6e4e0;
  color: var(--error);
  border: 1px solid var(--error);
  padding: 0.7rem 1rem;
  z-index: 90;
  max-width: 28rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.55rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.btn--primary {
  background: var(--accent);
  color: var(--paper);
}

.btn--primary:hover {
  background: var(--accent-deep);
  color: var(--paper);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.wrap--narrow {
  max-width: 44rem;
}

.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mark);
  margin: 0 0 0.75rem;
}

.display {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 40rem;
}

.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: calc(100vh - var(--header-h));
  border-bottom: 1px solid var(--line);
}

.hero__copy {
  padding: 4.5rem 3rem 3.5rem 5vw;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, transparent 0%, rgba(227, 223, 210, 0.35) 100%),
    var(--canvas);
}

.hero__title {
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  max-width: 12ch;
}

.hero__note {
  margin: 1.25rem 0 2rem;
  max-width: 34rem;
}

.hero__media {
  position: relative;
  min-height: 22rem;
}

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

.hero__caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: var(--paper);
  padding: 0.45rem 0.7rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  max-width: 18rem;
}

.section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--line);
}

.section--flush {
  padding: 0;
}

.section__head {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
  align-items: end;
}

.section__index {
  font-family: var(--display);
  font-size: 2rem;
  color: var(--accent);
  margin: 0;
}

.section__title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.prose p {
  margin: 0 0 1rem;
}

.prose h2,
.prose h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.2;
}

.prose h2 {
  font-size: 1.8rem;
  margin: 2rem 0 0.8rem;
}

.prose h3 {
  font-size: 1.3rem;
  margin: 1.6rem 0 0.6rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.offer-card {
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.offer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 18rem;
}

.offer-card__body {
  padding: 2rem;
}

.offer-card__title {
  font-family: var(--display);
  font-size: 2rem;
  margin: 0 0 0.8rem;
}

.quiet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.quiet-list li {
  border-bottom: 1px solid var(--line);
}

.quiet-list a {
  display: grid;
  grid-template-columns: 8rem 1fr auto;
  gap: 1.25rem;
  padding: 1.15rem 0;
  text-decoration: none;
  color: inherit;
  align-items: baseline;
}

.quiet-list a:hover .quiet-list__title {
  color: var(--accent);
}

.quiet-list__kicker {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mark);
}

.quiet-list__title {
  font-family: var(--display);
  font-size: 1.35rem;
}

.quiet-list__more {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

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

.card {
  background: var(--paper);
  border: 1px solid var(--line);
}

.card img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
}

.card__body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.card__title {
  font-family: var(--display);
  font-size: 1.45rem;
  margin: 0 0 0.5rem;
}

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

.card__title a:hover {
  color: var(--accent);
}

.story {
  background: var(--paper);
  border-left: 3px solid var(--accent);
  padding: 2rem 2.2rem;
}

.story__quote {
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1.35;
  margin: 0 0 1rem;
}

.story__meta {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

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

.person img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  filter: grayscale(0.15);
}

.person__name {
  font-family: var(--display);
  font-size: 1.25rem;
  margin: 0.9rem 0 0.2rem;
}

.person__role {
  margin: 0 0 0.6rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--display);
  color: var(--accent);
  font-size: 1.3rem;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
}

.rate-table th,
.rate-table td {
  text-align: left;
  padding: 0.9rem 0.6rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.rate-table th {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mark);
}

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

.review {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.5rem 1.6rem;
}

.review--long {
  padding: 2rem;
}

.review__body {
  margin: 0 0 1rem;
}

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

.page-hero {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  max-width: 18ch;
}

.meta-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.form {
  display: grid;
  gap: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.6rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
}

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line-strong);
  background: var(--canvas);
  color: var(--ink);
  border-radius: var(--radius);
}

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

.form__error,
.field-error {
  color: var(--error);
  font-size: 0.88rem;
  margin: 0;
}

.form__success {
  color: var(--ok);
  background: #e7efe8;
  border: 1px solid var(--ok);
  padding: 0.9rem 1rem;
  margin: 0;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

.cover {
  margin: 1.5rem 0 2rem;
}

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

.cover figcaption {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.45rem;
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 4rem 1rem;
}

.not-found h1 {
  font-family: var(--display);
  font-size: 3rem;
  margin: 0 0 1rem;
}

@media (max-width: 900px) {
  .hero,
  .offer-card,
  .split,
  .section__head,
  .footer__inner,
  .card-grid,
  .people {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero__copy {
    padding: 2.5rem 1.25rem 2rem;
  }

  .hero__media {
    min-height: 16rem;
  }

  .hero__media img {
    position: relative;
    height: 18rem;
  }

  .header__toggle {
    display: block;
  }

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

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

  .header__list {
    flex-direction: column;
    gap: 0.85rem;
  }

  .quiet-list a {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .cookie-banner__inner,
  .footer__legal {
    flex-direction: column;
    align-items: flex-start;
  }

  .header {
    position: relative;
  }
}
