:root {
  --color-limestone: #F3EBDD;
  --color-teal: #2F6F6D;
  --color-teal-deep: #245958;
  --color-clay: #B8573B;
  --color-clay-deep: #9a4630;
  --color-ink: #1F2430;
  --color-sage: #D7E1D4;
  --color-paper: #faf6ef;
  --color-muted: #5c6472;
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Manrope", "Segoe UI", sans-serif;
  --shadow-soft: 0 10px 28px rgba(31, 36, 48, 0.08);
  --shadow-lift: 0 14px 32px rgba(31, 36, 48, 0.14);
  --radius-card: 18px;
  --radius-btn: 999px;
  --header-h: 4.25rem;
  --space: clamp(1rem, 2vw, 1.5rem);
  --content: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(215, 225, 212, 0.7), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(184, 87, 59, 0.08), transparent 45%),
    linear-gradient(180deg, var(--color-limestone) 0%, var(--color-paper) 40%, var(--color-sage) 160%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

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

p {
  margin: 0 0 1rem;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: var(--radius-btn);
  padding: 0.75rem 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--primary {
  background: var(--color-teal);
  color: #fff;
  box-shadow: 0 4px 0 rgba(31, 36, 48, 0.12);
}

.btn--primary:hover {
  background: var(--color-teal-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.btn--accent {
  background: var(--color-clay);
  color: #fff;
  box-shadow: 0 4px 0 rgba(31, 36, 48, 0.12);
}

.btn--accent:hover {
  background: var(--color-clay-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.btn--ghost {
  background: transparent;
  color: var(--color-ink);
  border: 1px solid rgba(31, 36, 48, 0.25);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.45);
  color: var(--color-ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
  background: transparent;
}

.site-header.is-solid {
  background: rgba(243, 235, 221, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(31, 36, 48, 0.08);
}

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

.site-header__brand {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-ink);
  text-decoration: none;
  max-width: 14rem;
  line-height: 1.2;
}

.site-header__toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(31, 36, 48, 0.2);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.5);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

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

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

.site-nav a {
  color: var(--color-ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--color-teal);
}

.site-nav__cta {
  background: var(--color-clay);
  color: #fff !important;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-btn);
}

.site-nav__cta:hover {
  background: var(--color-clay-deep);
  color: #fff !important;
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) var(--space);
}

.section--tight {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.section__inner {
  max-width: var(--content);
  margin: 0 auto;
}

.section__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 40rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}

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

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

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(31, 36, 48, 0.78) 0%, rgba(31, 36, 48, 0.45) 48%, rgba(31, 36, 48, 0.2) 100%),
    linear-gradient(0deg, rgba(31, 36, 48, 0.55), transparent 45%);
}

.hero__shape {
  position: absolute;
  width: 42vw;
  height: 42vw;
  max-width: 28rem;
  max-height: 28rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 225, 212, 0.35), transparent 70%);
  top: 8%;
  right: -8%;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) var(--space) clamp(3rem, 8vw, 5rem);
  color: #fff;
}

.hero__brand {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  margin: 0 0 1rem;
  max-width: 14ch;
}

.hero__text {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 34rem;
  opacity: 0.92;
  margin-bottom: 1.75rem;
}

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

.band {
  position: relative;
  min-height: 22rem;
  display: grid;
  place-items: center;
  overflow: hidden;
}

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

.band__caption {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  margin: var(--space);
  padding: 1.5rem 1.75rem;
  background: rgba(243, 235, 221, 0.92);
  border-radius: var(--radius-card);
  border: 1px solid rgba(31, 36, 48, 0.08);
  box-shadow: var(--shadow-soft);
}

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

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
}

.card {
  background: rgba(250, 246, 239, 0.92);
  border: 1px solid rgba(31, 36, 48, 0.08);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card__media img {
  transform: scale(1.04);
}

.card__body {
  padding: 1.25rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__meta {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.card h3 {
  font-size: 1.35rem;
}

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

.card h3 a:hover {
  color: var(--color-teal);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.split--reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.split__figure {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(31, 36, 48, 0.08);
  box-shadow: var(--shadow-soft);
}

.quote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.4;
  margin: 0 0 1rem;
}

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

.page-hero {
  padding: clamp(3rem, 6vw, 4.5rem) var(--space) 2rem;
}

.page-hero__inner {
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: end;
}

.page-hero--simple .page-hero__inner {
  grid-template-columns: 1fr;
  max-width: 46rem;
}

.page-hero__figure {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(31, 36, 48, 0.08);
  max-height: 18rem;
}

.page-hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prose {
  max-width: 46rem;
}

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

.list-check {
  list-style: none;
  padding: 0;
}

.list-check li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.65rem;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--color-teal);
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  counter-increment: step;
  background: rgba(250, 246, 239, 0.9);
  border: 1px solid rgba(31, 36, 48, 0.08);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.35rem 1.25rem 4rem;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.1rem;
  top: 1.15rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--color-sage);
  color: var(--color-ink);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--font-serif);
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(250, 246, 239, 0.92);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(31, 36, 48, 0.08);
}

.fee-table th,
.fee-table td {
  text-align: left;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(31, 36, 48, 0.08);
  vertical-align: top;
}

.fee-table th {
  font-family: var(--font-serif);
  background: rgba(215, 225, 212, 0.55);
}

.form {
  background: rgba(250, 246, 239, 0.95);
  border: 1px solid rgba(31, 36, 48, 0.08);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1rem;
}

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

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(31, 36, 48, 0.18);
  background: #fff;
  color: var(--color-ink);
}

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

.form .field-error {
  color: var(--color-clay);
  font-size: 0.85rem;
  font-weight: 500;
}

.form-status {
  margin: 0.5rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
}

.form-status.is-success {
  background: rgba(47, 111, 109, 0.12);
  color: var(--color-teal-deep);
}

.form-status.is-error {
  background: rgba(184, 87, 59, 0.12);
  color: var(--color-clay-deep);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-card {
  background: var(--color-ink);
  color: #e8e4dc;
  border-radius: var(--radius-card);
  padding: 1.75rem;
}

.contact-card a {
  color: #fff;
}

.contact-card h2 {
  color: #fff;
}

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

.legal-table th,
.legal-table td {
  border: 1px solid rgba(31, 36, 48, 0.15);
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: rgba(215, 225, 212, 0.5);
}

.site-footer {
  background: var(--color-ink);
  color: #c9c6bf;
  margin-top: 3rem;
}

.site-footer a {
  color: #e8e4dc;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer__grid {
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--space);
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
}

.site-footer__heading {
  font-family: var(--font-serif);
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}

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

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

.site-footer__band {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: var(--content);
  margin: 0 auto;
  padding: 1.5rem var(--space) 2rem;
  display: grid;
  gap: 1rem;
}

.newsletter__label {
  display: block;
  font-family: var(--font-serif);
  color: #fff;
  margin-bottom: 0.65rem;
}

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

.newsletter input {
  flex: 1 1 14rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
}

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

.site-footer__legal {
  font-size: 0.85rem;
  margin: 0;
  opacity: 0.8;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  max-width: 40rem;
  margin: 0 auto;
  background: var(--color-limestone);
  border: 1px solid rgba(31, 36, 48, 0.12);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lift);
  padding: 1.15rem 1.25rem;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.cookie-banner__error {
  color: var(--color-clay);
  margin: 0.5rem 0 0;
}

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

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem var(--space);
}

@media (max-width: 960px) {
  .site-header__toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(243, 235, 221, 0.98);
    border-bottom: 1px solid rgba(31, 36, 48, 0.08);
    padding: 1rem var(--space) 1.25rem;
    display: none;
  }

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

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

  .grid-asymmetric,
  .split,
  .split--reverse,
  .page-hero__inner,
  .contact-panel,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .card__media img {
    transition: none;
  }
}
