:root {
  --chalk: #f7f5f0;
  --ivory: #faf8f3;
  --sea-glass: #5a9e8f;
  --sea-glass-deep: #3d7a6d;
  --dune: #d4c4a8;
  --dune-soft: #e8dcc8;
  --navy: #1e3a5f;
  --navy-deep: #152a45;
  --coral: #e07a5f;
  --ink: #2a2f36;
  --muted: #5c6570;
  --rule: rgba(30, 58, 95, 0.18);
  --shadow-paper: 0 12px 32px rgba(30, 58, 95, 0.08);
  --radius: 18px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --header-h: 4.25rem;
  --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-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(90, 158, 143, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(212, 196, 168, 0.35), transparent 50%),
    linear-gradient(180deg, var(--chalk) 0%, #f0ebe3 100%);
  min-height: 100vh;
}

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

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--sea-glass-deep);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin: 0 0 0.6em; }
h2 { font-size: clamp(1.85rem, 3vw, 2.6rem); margin: 0 0 0.55em; }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); margin: 0 0 0.45em; }

p { margin: 0 0 1em; }

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

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sea-glass-deep);
  margin: 0 0 0.75rem;
}

.lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 36rem;
}

.content-wrap {
  width: min(720px, calc(100% - 3rem));
  margin-inline: auto;
  padding: 2.5rem 0 4rem;
}

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

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

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

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

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

.btn--teal {
  background: var(--sea-glass);
  color: #fff;
}

.btn--teal:hover { background: var(--sea-glass-deep); color: #fff; }

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

.btn--ghost:hover { background: rgba(30, 58, 95, 0.06); color: var(--navy); }

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
}

.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(247, 245, 240, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-header__wordmark {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.site-header__wordmark:hover { color: var(--sea-glass-deep); }

.site-header__toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.4rem;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

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

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

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

.site-nav a:not(.site-nav__cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2em;
  width: 0;
  height: 1px;
  background: var(--coral);
  transition: width 0.35s var(--ease);
}

.site-nav a:not(.site-nav__cta):hover::after {
  width: 100%;
}

.site-nav__cta {
  background: var(--navy);
  color: #fff !important;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem !important;
}

.site-nav__cta:hover {
  background: var(--sea-glass-deep);
}

@media (max-width: 920px) {
  .site-header__toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--rule);
    padding: 1rem 1.25rem 1.5rem;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(247, 245, 240, 0.88);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.site-footer a { color: var(--dune-soft); }
.site-footer a:hover { color: #fff; }

.site-footer__inner {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
}

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

.site-footer__tag {
  max-width: 28rem;
  color: rgba(247, 245, 240, 0.7);
  font-size: 0.98rem;
}

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

.site-footer__heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--dune);
  margin: 0 0 0.85rem;
}

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

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

.site-footer__newsletter {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2rem;
  max-width: 420px;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.newsletter-form input {
  flex: 1 1 180px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
}

.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.45); }

.site-footer__contact {
  font-size: 0.95rem;
  color: rgba(247, 245, 240, 0.75);
}

.site-footer__copy {
  font-size: 0.85rem;
  color: rgba(247, 245, 240, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  margin: 0;
}

@media (max-width: 720px) {
  .site-footer__cols { grid-template-columns: 1fr; }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 50;
  max-width: 720px;
  margin: 0 auto;
}

.cookie-banner__inner {
  background: var(--navy);
  color: var(--chalk);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-paper);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(90, 158, 143, 0.35);
}

.cookie-banner__title {
  font-size: 1.35rem;
  color: var(--chalk);
  margin: 0 0 0.35rem;
}

.cookie-banner__copy {
  flex: 1 1 280px;
  font-size: 0.92rem;
}

.cookie-banner__copy a { color: var(--dune); }

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

.cookie-banner__error {
  width: 100%;
  color: var(--coral);
  margin: 0;
  font-size: 0.9rem;
}

/* Cards */
.card {
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-paper);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(30, 58, 95, 0.12);
}

.card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card__body {
  padding: 1.35rem 1.4rem 1.6rem;
  border-top: 1px solid var(--rule);
}

.card__body h3 {
  margin-bottom: 0.4rem;
}

.card__body h3 a {
  text-decoration: none;
  color: var(--navy);
}

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

/* Home hero — asymmetric editorial */
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 0;
  min-height: calc(100vh - var(--header-h));
  align-items: stretch;
}

.home-hero__panel {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(160deg, rgba(232, 220, 200, 0.55), transparent 60%),
    var(--chalk);
}

.home-hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  color: var(--navy);
  margin: 0 0 1.25rem;
  line-height: 1.05;
}

.home-hero__headline {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  max-width: 18ch;
  margin: 0 0 1rem;
}

.home-hero__support {
  color: var(--muted);
  max-width: 28rem;
  margin-bottom: 1.75rem;
}

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

.home-hero__visual {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.home-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.home-hero__caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  font-size: 0.85rem;
  color: var(--chalk);
  background: rgba(30, 58, 95, 0.55);
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  backdrop-filter: blur(6px);
}

@media (max-width: 880px) {
  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .home-hero__visual {
    min-height: 320px;
    order: -1;
  }
}

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section--dune {
  background: linear-gradient(180deg, rgba(212, 196, 168, 0.28), rgba(247, 245, 240, 0.4));
}

.section--offset {
  padding-left: clamp(0rem, 4vw, 2rem);
}

.section__head {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: end;
}

.section__head--solo {
  grid-template-columns: 1fr;
  max-width: 40rem;
}

@media (max-width: 720px) {
  .section__head { grid-template-columns: 1fr; }
}

.card-grid {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
}

.flagship-band {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

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

.flagship-band__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 800px) {
  .flagship-band { grid-template-columns: 1fr; }
}

.quote-strip {
  width: min(900px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.quote-strip blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-style: italic;
  color: var(--navy);
  line-height: 1.35;
}

.quote-strip cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.95rem;
  color: var(--muted);
}

.layered-row {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.layered-row__aside {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  padding-top: 0.5rem;
}

@media (max-width: 800px) {
  .layered-row { grid-template-columns: 1fr; }
  .layered-row__aside { position: static; }
}

.page-hero {
  width: min(1120px, calc(100% - 3rem));
  margin: 2.5rem auto 0;
  display: grid;
  gap: 2rem;
}

.page-hero--offset {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: end;
}

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

.page-hero__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

@media (max-width: 800px) {
  .page-hero--offset { grid-template-columns: 1fr; }
}

.post-hero {
  margin-bottom: 0;
}

.post-hero__meta {
  width: min(720px, calc(100% - 3rem));
  margin: 2.5rem auto 1.5rem;
}

.post-hero__date {
  color: var(--muted);
  font-size: 0.95rem;
}

.post-hero__media {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--rule);
}

.post-hero__media img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.post-back { padding-top: 0; }

.prose h2 { margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1.5rem 0;
}
.prose th, .prose td {
  border: 1px solid var(--rule);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
.prose th { background: rgba(212, 196, 168, 0.35); }

.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, #2a5078 100%);
  color: var(--chalk);
  margin: 2rem 0 0;
  padding: 3rem 1.5rem;
}

.cta-band__inner {
  width: min(720px, 100%);
  margin: 0 auto;
}

.cta-band h2 { color: var(--chalk); }
.cta-band p { color: rgba(247, 245, 240, 0.8); }

.review-list {
  width: min(900px, calc(100% - 3rem));
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

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

.review-card blockquote {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.review-card footer {
  font-size: 0.9rem;
  color: var(--muted);
}

.story-block {
  width: min(900px, calc(100% - 3rem));
  margin: 3rem auto;
  padding: 2rem;
  border-left: 3px solid var(--sea-glass);
  background: rgba(90, 158, 143, 0.08);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.pricing-table {
  width: min(900px, calc(100% - 3rem));
  margin: 0 auto 2rem;
}

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

.pricing-row strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  display: block;
}

.fee-note {
  width: min(720px, calc(100% - 3rem));
  margin: 0 auto;
  color: var(--muted);
}

.contact-layout {
  width: min(1000px, calc(100% - 3rem));
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
}

@media (max-width: 800px) {
  .contact-layout { grid-template-columns: 1fr; }
  .pricing-row { grid-template-columns: 1fr; }
}

.contact-details address {
  font-style: normal;
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

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

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

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

.form-group .error-msg {
  color: var(--coral);
  font-size: 0.85rem;
  margin: 0.35rem 0 0;
  display: none;
}

.form-group.is-invalid .error-msg { display: block; }
.form-group.is-invalid input,
.form-group.is-invalid select,
.form-group.is-invalid textarea {
  border-color: var(--coral);
}

.form-status {
  margin-top: 0.85rem;
  font-size: 0.95rem;
}

.form-status.is-success { color: var(--sea-glass-deep); }
.form-status.is-error { color: var(--coral); }

.team-grid {
  width: min(1000px, calc(100% - 3rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; }
}

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

.steps li {
  position: relative;
  padding: 0 0 2rem 3.5rem;
  border-left: 1px solid var(--rule);
  margin-left: 0.85rem;
}

.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -0.9rem;
  top: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--sea-glass);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: min(640px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 4rem 0;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--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; }

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