:root {
  --salt: #f7f5f1;
  --dune: #e8dfd2;
  --teal: #6fa8a0;
  --teal-deep: #4f8580;
  --navy: #1b3a4b;
  --navy-soft: #2a5166;
  --coral: #e07a5f;
  --coral-deep: #c45f46;
  --ink: #1e2a32;
  --muted: #5c6b74;
  --paper: #fffcf8;
  --rule: rgba(27, 58, 75, 0.14);
  --shadow: 0 12px 32px rgba(27, 58, 75, 0.08);
  --radius: 18px;
  --font-serif: "Libre Bodoni", Georgia, serif;
  --font-sans: "Source Sans 3", "Segoe UI", sans-serif;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(111, 168, 160, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(224, 122, 95, 0.1), transparent 50%),
    linear-gradient(180deg, var(--salt) 0%, var(--dune) 100%);
  min-height: 100vh;
}

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

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

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

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

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

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

.section {
  padding: 4.5rem 0;
}

.section--tint {
  background: rgba(255, 252, 248, 0.55);
}

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

.section__lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.7rem 1.55rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.15s var(--ease);
}

.btn:active {
  transform: scale(0.97);
}

.btn--navy {
  background: var(--navy);
  color: var(--salt);
}

.btn--navy:hover {
  background: var(--salt);
  color: var(--navy);
  border-color: var(--navy);
}

.btn--teal {
  background: var(--teal);
  color: var(--navy);
}

.btn--teal:hover {
  background: var(--navy);
  color: var(--salt);
}

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

.btn--coral:hover {
  background: #fff;
  color: var(--coral-deep);
  border-color: var(--coral);
}

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

.btn--ghost:hover {
  background: var(--navy);
  color: var(--salt);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled,
body:not(.has-hero) .site-header {
  background: rgba(247, 245, 241, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--rule);
}

.site-header__inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.site-header__wordmark {
  grid-column: 2;
  justify-self: center;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-header__toggle {
  grid-column: 1;
  justify-self: start;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  cursor: pointer;
}

.site-header__toggle-bar {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--navy);
}

.site-header__nav {
  grid-column: 3;
  justify-self: end;
}

.site-header__list {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-header__list a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

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

.site-header__cta {
  background: var(--navy);
  color: var(--salt) !important;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  overflow: hidden;
}

.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(180deg, rgba(27, 58, 75, 0.15) 0%, rgba(27, 58, 75, 0.55) 55%, rgba(27, 58, 75, 0.78) 100%),
    linear-gradient(90deg, rgba(247, 245, 241, 0.35), transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  color: var(--salt);
  max-width: 36rem;
}

.hero__content h1 {
  color: var(--salt);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin-bottom: 1rem;
}

.hero__content p {
  font-size: 1.15rem;
  color: rgba(247, 245, 241, 0.92);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.75rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.9;
}

.hero--split {
  min-height: auto;
  padding-top: calc(var(--header-h) + 3rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero--split .hero__content {
  color: var(--ink);
  max-width: none;
}

.hero--split .hero__content h1 {
  color: var(--navy);
}

.hero--split .hero__content p {
  color: var(--muted);
}

.hero--split .hero__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow);
}

.hero--page {
  min-height: 48vh;
  align-items: center;
}

.card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--rule);
  overflow: hidden;
}

.card__body {
  padding: 1.4rem 1.5rem 1.6rem;
}

.card__meta {
  font-size: 0.85rem;
  color: var(--teal-deep);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

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

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

.card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

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

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

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

.asymmetric {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.asymmetric--flip {
  grid-template-columns: 0.85fr 1.15fr;
}

.asymmetric__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.asymmetric__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.paper-panel {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
  padding: 1.75rem;
}

.paper-panel--tint {
  background: rgba(111, 168, 160, 0.12);
}

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

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

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

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

.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}

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

.site-footer {
  margin-top: 3rem;
  background: linear-gradient(180deg, rgba(27, 58, 75, 0.92), #152f3d);
  color: rgba(247, 245, 241, 0.88);
  padding: 4rem 0 0;
}

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

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

.site-footer__inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(247, 245, 241, 0.15);
}

.site-footer__name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--salt);
  margin-bottom: 0.4rem;
}

.site-footer__tag,
.site-footer__note {
  color: rgba(247, 245, 241, 0.7);
  font-size: 0.95rem;
}

.site-footer__address {
  font-style: normal;
  margin-top: 1rem;
  line-height: 1.7;
}

.site-footer__heading {
  font-family: var(--font-serif);
  color: var(--salt);
  margin-bottom: 0.85rem;
}

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

.site-footer__bottom {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.25rem 0 1.75rem;
  font-size: 0.9rem;
  color: rgba(247, 245, 241, 0.55);
}

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

.newsletter-form input {
  flex: 1 1 12rem;
  min-height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(247, 245, 241, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--salt);
  padding: 0 1rem;
  font: inherit;
}

.newsletter-form input::placeholder {
  color: rgba(247, 245, 241, 0.5);
}

.form {
  display: grid;
  gap: 1.1rem;
}

.form__field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--paper);
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--ink);
}

.form__field textarea {
  min-height: 140px;
  resize: vertical;
}

.form__field.is-invalid input,
.form__field.is-invalid select,
.form__field.is-invalid textarea {
  border-color: var(--coral);
}

.field-error {
  color: var(--coral-deep);
  font-size: 0.88rem;
  margin-top: 0.3rem;
}

.form-message {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 600;
}

.form-message.is-success {
  background: rgba(111, 168, 160, 0.2);
  color: var(--navy);
}

.form-message.is-error {
  background: rgba(224, 122, 95, 0.18);
  color: var(--coral-deep);
}

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

.cookie-banner__inner {
  max-width: 920px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__title {
  font-family: var(--font-serif);
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.cookie-banner__text {
  flex: 1 1 18rem;
  font-size: 0.95rem;
  color: var(--muted);
}

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

.cookie-banner__error {
  width: 100%;
  color: var(--coral-deep);
  margin: 0;
}

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

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

.prose th,
.prose td {
  border: 1px solid var(--rule);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: rgba(111, 168, 160, 0.12);
  color: var(--navy);
}

.price-row {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
}

.price-row strong {
  color: var(--navy);
  font-size: 1.15rem;
}

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

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

.stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }

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

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}

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

.archive-item {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.25rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--rule);
}

.archive-item__date {
  font-family: var(--font-serif);
  color: var(--coral);
  font-size: 1.1rem;
}

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

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

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 2rem) 1rem 3rem;
}

@media (max-width: 960px) {
  .hero--split,
  .asymmetric,
  .asymmetric--flip,
  .grid-3,
  .grid-2,
  .site-footer__inner,
  .contact-grid,
  .team-grid,
  .price-row {
    grid-template-columns: 1fr;
  }

  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .site-header__toggle {
    display: flex;
  }

  .site-header__nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(247, 245, 241, 0.96);
    backdrop-filter: blur(12px);
    padding: 1rem 1.25rem 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }

  .site-header__nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

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

  .archive-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}
