:root {
  --salt-white: #f4f7f5;
  --salt-deep: #e8eeeb;
  --atlantic: #0b3a5b;
  --atlantic-deep: #072a42;
  --sea-glass: #7eb8b0;
  --sea-glass-deep: #4f8f88;
  --coral: #e07a5f;
  --coral-soft: #f0a090;
  --brass: #d4a574;
  --brass-soft: #e6c49a;
  --ink: #1a2b33;
  --ink-muted: #4a5c66;
  --paper: #fbfcfb;
  --shadow: 0 12px 40px rgba(11, 58, 91, 0.08);
  --radius: 18px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --space: clamp(1rem, 2vw, 2rem);
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse at 10% 0%, rgba(126, 184, 176, 0.18), transparent 45%),
    radial-gradient(ellipse at 90% 10%, rgba(224, 122, 95, 0.12), transparent 40%),
    linear-gradient(180deg, var(--salt-white) 0%, var(--salt-deep) 48%, #dfe9e6 100%);
  line-height: 1.65;
  min-height: 100vh;
}

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

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

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

h1, h2, h3, .hero__brand, .site-header__brand, .section-label {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--atlantic-deep);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  margin: 0.2em 0 0.4em;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 0.5em;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  margin: 0 0 0.4em;
}

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,
.section-label,
.meta {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--sea-glass-deep);
  font-size: 1.05rem;
  margin: 0 0 0.6rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn--primary {
  background: var(--atlantic);
  color: var(--salt-white);
}

.btn--primary:hover {
  background: var(--coral);
  color: #fff;
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--atlantic);
  border: 1px solid var(--brass);
}

.btn--ghost:hover {
  background: rgba(224, 122, 95, 0.12);
  color: var(--coral);
  transform: translateY(-2px);
}

.text-link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(244, 247, 245, 0.72);
  border-bottom: 1px solid rgba(212, 165, 116, 0.35);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem var(--space);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.site-header__brand {
  grid-column: 2;
  justify-self: center;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  color: var(--atlantic-deep);
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.01em;
}

.site-header__toggle {
  grid-column: 1;
  width: 44px;
  height: 44px;
  border: 1px solid var(--brass);
  border-radius: 999px;
  background: rgba(251, 252, 251, 0.8);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.site-header__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--atlantic);
}

.site-header__nav {
  grid-column: 1 / -1;
}

.site-header__list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 0;
  display: none;
  flex-direction: column;
  gap: 0.55rem;
}

.site-header__nav.is-open .site-header__list {
  display: flex;
}

.site-header__list a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}

.site-header__cta {
  display: inline-flex !important;
  margin-top: 0.35rem;
  background: var(--atlantic);
  color: var(--salt-white) !important;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  width: fit-content;
}

@media (min-width: 980px) {
  .site-header__toggle {
    display: none;
  }

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

  .site-header__brand {
    grid-column: 2;
  }

  .site-header__nav {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .site-header__list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.1rem;
    padding-top: 0.35rem;
  }

  .site-header__cta {
    margin-top: 0;
  }
}

main {
  overflow-x: clip;
}

.hero,
.page-hero,
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) var(--space);
}

.hero--asymmetric {
  display: grid;
  gap: 2rem;
  align-items: end;
  min-height: calc(100vh - 110px);
}

.hero__brand {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  margin: 0.15em 0 0.35em;
}

.hero__lede {
  font-size: 1.2rem;
  max-width: 34rem;
  color: var(--ink-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.hero__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--brass);
  box-shadow: var(--shadow);
  will-change: transform;
}

.hero__media img,
.page-hero figure img,
.layered-media img {
  width: 100%;
  object-fit: cover;
  min-height: 280px;
}

@media (min-width: 900px) {
  .hero--asymmetric {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3rem;
  }

  .hero__copy {
    padding-bottom: 2rem;
  }
}

.page-hero--media,
.section--split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .page-hero--media,
  .section--split {
    grid-template-columns: 1fr 1fr;
  }

  .section--reverse {
    direction: rtl;
  }

  .section--reverse > * {
    direction: ltr;
  }
}

.page-hero--center {
  text-align: center;
}

.page-hero--center .lede {
  margin-inline: auto;
}

.section--band {
  max-width: none;
  background: linear-gradient(120deg, rgba(11, 58, 91, 0.92), rgba(79, 143, 136, 0.88));
  color: var(--salt-white);
  padding-block: clamp(3rem, 7vw, 5rem);
}

.section--band .quote-feature {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space);
}

.section--band blockquote {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.35;
}

.section--band cite {
  display: block;
  font-style: normal;
  opacity: 0.85;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
}

.section--band .btn--ghost {
  color: var(--salt-white);
  border-color: var(--brass-soft);
}

.section--narrow {
  max-width: 760px;
}

.section__head--row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.paper-panel,
.paper-card,
.review-card,
.contact-form,
.contact-details {
  background: var(--paper);
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.paper-panel,
.review-card {
  padding: clamp(1.4rem, 3vw, 2rem);
}

.paper-card {
  overflow: hidden;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.paper-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(11, 58, 91, 0.12);
}

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

.paper-card__body {
  padding: 1.35rem 1.45rem 1.6rem;
}

.card-grid,
.team-grid {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 720px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (min-width: 980px) {
  .card-grid--services {
    grid-template-columns: repeat(2, 1fr);
  }
}

.badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--atlantic);
  border: 1px solid var(--brass);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.6rem;
}

.checklist {
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.7rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--sea-glass);
}

.checklist--muted li {
  color: var(--ink-muted);
}

.detail-grid {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 800px) {
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.process-list {
  margin: 0;
  padding-left: 1.2rem;
}

.process-list li {
  margin-bottom: 1rem;
}

.process-list p {
  margin: 0.25rem 0 0;
  color: var(--ink-muted);
}

.facts-panel dl,
.facts-inline {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem 1rem;
  margin: 0 0 1.2rem;
}

.facts-panel dt,
.facts-inline dt {
  font-weight: 600;
  color: var(--atlantic);
}

.facts-panel dd,
.facts-inline dd {
  margin: 0;
}

.journal-preview {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .journal-preview {
    grid-template-columns: repeat(3, 1fr);
  }
}

.journal-preview__item {
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 165, 116, 0.55);
}

.layered-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--brass);
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.2rem;
}

.timeline li {
  background: var(--paper);
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  box-shadow: var(--shadow);
}

.reviews-list {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 800px) {
  .reviews-list {
    grid-template-columns: 1fr 1fr;
  }
}

.review-card {
  margin: 0;
}

.review-card p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.4;
}

.review-card cite {
  font-style: normal;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.fee-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.fee-table th,
.fee-table td {
  text-align: left;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(212, 165, 116, 0.35);
  vertical-align: top;
}

.fee-table th {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--atlantic);
  background: rgba(126, 184, 176, 0.12);
}

.contact-form,
.contact-details {
  padding: 1.5rem;
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-field input,
.form-field select,
.form-field textarea,
.newsletter-form input {
  width: 100%;
  border: 1px solid rgba(11, 58, 91, 0.25);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: #fff;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.newsletter-form input:focus {
  outline: 2px solid var(--sea-glass);
  border-color: transparent;
}

.field-error,
.form-status,
.cookie-banner__error {
  font-size: 0.92rem;
  margin: 0.4rem 0 0;
}

.field-error,
.form-status.is-error,
.cookie-banner__error {
  color: #9b2c2c;
}

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

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

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

.site-footer {
  margin-top: 3rem;
  background: var(--atlantic-deep);
  color: rgba(244, 247, 245, 0.88);
  padding: clamp(2.5rem, 6vw, 4rem) var(--space) 2rem;
}

.site-footer a {
  color: var(--brass-soft);
  text-decoration: none;
}

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

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(212, 165, 116, 0.28);
}

@media (min-width: 800px) {
  .site-footer__grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  }
}

.site-footer__label {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--sea-glass);
  margin: 0 0 0.8rem;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--salt-white);
  margin: 0 0 0.6rem;
}

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

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

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

.newsletter-form {
  display: grid;
  gap: 0.6rem;
}

.site-footer__base {
  padding-top: 1.4rem;
  font-size: 0.9rem;
  color: rgba(244, 247, 245, 0.65);
}

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

.cookie-banner__inner {
  max-width: 920px;
  margin: 0 auto;
  background: rgba(251, 252, 251, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.3rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .cookie-banner__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.cookie-banner__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
  color: var(--atlantic-deep);
}

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

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

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

[data-reveal].is-visible .hero__brand,
[data-reveal].is-visible h1,
[data-reveal].is-visible .hero__lede,
[data-reveal].is-visible .lede {
  animation: rise 0.9s ease both;
}

[data-reveal].is-visible .hero__lede,
[data-reveal].is-visible .lede {
  animation-delay: 0.12s;
}

[data-reveal].is-visible .hero__actions,
[data-reveal].is-visible .btn {
  animation: rise 0.9s ease both;
  animation-delay: 0.22s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal],
  .paper-card,
  .btn,
  [data-reveal].is-visible .hero__brand,
  [data-reveal].is-visible h1,
  [data-reveal].is-visible .hero__lede,
  [data-reveal].is-visible .lede,
  [data-reveal].is-visible .hero__actions,
  [data-reveal].is-visible .btn {
    transition: none;
    animation: none;
    opacity: 1;
    transform: none;
  }
}
