:root {
  --color-bg: #f4efe6;
  --color-bg-deep: #ebe4d7;
  --color-paper: #fbf8f2;
  --color-ink: #1e2420;
  --color-ink-soft: #3d4840;
  --color-muted: #5c675e;
  --color-line: #d4cbb8;
  --color-accent: #9c4a2a;
  --color-accent-dark: #7a3820;
  --color-forest: #3d5a4c;
  --color-forest-soft: #dce6df;
  --shadow: 0 18px 40px rgba(30, 36, 32, 0.08);
  --radius: 14px;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --space: clamp(1rem, 2vw, 2rem);
  --max: 72rem;
}

*,
*::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(--color-ink);
  background: var(--color-bg);
}

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

a {
  color: var(--color-accent-dark);
  text-underline-offset: 0.18em;
}

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

h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.site-header__mark {
  width: 2.4rem;
  height: 2.4rem;
  border: 1.5px solid var(--color-accent);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--color-accent);
}

.site-header__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.05rem;
}

.site-header__place {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.site-header__toggle {
  display: none;
  font: inherit;
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
}

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

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

.site-header__list a[aria-current="page"],
.site-header__list a:hover {
  color: var(--color-accent);
}

main {
  min-height: 60vh;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem var(--space) 4rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 78vh;
  background: var(--color-bg-deep);
}

.hero__copy {
  padding: clamp(2rem, 6vw, 5rem) var(--space);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 38rem;
  margin-left: auto;
}

.hero__kicker {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-forest);
  margin-bottom: 0.8rem;
}

.hero__lede {
  font-size: 1.15rem;
  color: var(--color-ink-soft);
}

.hero__figure {
  margin: 0;
  position: relative;
}

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

.hero__caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: var(--color-paper);
  padding: 0.55rem 0.8rem;
  font-size: 0.85rem;
  max-width: 16rem;
  border-left: 3px solid var(--color-accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn--primary:hover {
  background: var(--color-accent-dark);
  color: #fff;
}

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

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

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

.card {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

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

.card__body {
  padding: 1.15rem 1.2rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__body p {
  flex: 1;
  color: var(--color-ink-soft);
}

.panel {
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.band {
  background: var(--color-forest);
  color: #f4efe6;
}

.band a {
  color: #f4efe6;
}

.band h2,
.band p {
  color: inherit;
}

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

.split img {
  width: 100%;
  border-radius: var(--radius);
  min-height: 16rem;
  object-fit: cover;
}

.prose {
  max-width: 44rem;
}

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

.list {
  padding-left: 1.1rem;
}

.list li {
  margin-bottom: 0.4rem;
}

.quote {
  margin: 0;
  padding: 1.25rem 0 1.25rem 1.25rem;
  border-left: 3px solid var(--color-accent);
}

.quote p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
}

.quote footer {
  font-size: 0.92rem;
  color: var(--color-muted);
}

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

.people img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  border-radius: var(--radius);
}

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

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

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

.form textarea {
  min-height: 8rem;
}

.field-error {
  color: var(--color-accent);
  font-weight: 400;
  font-size: 0.88rem;
}

.form-status {
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

.form-status--ok {
  background: var(--color-forest-soft);
  color: var(--color-forest);
}

.form-status--error {
  background: #f3dcd4;
  color: var(--color-accent-dark);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-paper);
}

th,
td {
  text-align: left;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--color-line);
  vertical-align: top;
}

.site-footer {
  background: #1e2420;
  color: #dce6df;
  padding: 3rem var(--space) 1.5rem;
}

.site-footer a {
  color: #f4efe6;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #f4efe6;
}

.site-footer__heading {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b8c7be;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links li {
  margin-bottom: 0.35rem;
}

.site-footer__copy {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid #3d4840;
  font-size: 0.88rem;
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  max-width: 34rem;
  margin-left: auto;
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem;
  z-index: 40;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.page-hero {
  padding: 3rem var(--space) 1rem;
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero--image {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: end;
  padding-bottom: 0;
}

.page-hero--image img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  border-radius: var(--radius);
}

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

.steps {
  display: grid;
  gap: 1rem;
}

.steps article {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  background: var(--color-paper);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  border: 1px solid var(--color-line);
}

.steps span {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-accent);
}

.fee-table td:nth-child(2) {
  white-space: nowrap;
  font-weight: 600;
}

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

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

  .site-header__nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-line);
    padding: 0.5rem var(--space) 1rem;
  }

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

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

  .site-header {
    position: sticky;
  }

  .site-header__inner {
    position: relative;
  }
}
