:root {
  --chalk: #f7f5f0;
  --chalk-warm: #f1ebe0;
  --sea-glass: #5b9a8b;
  --sea-glass-deep: #3f7a6c;
  --coral: #c4786a;
  --coral-soft: #e8c4bb;
  --dune: #d9cbb8;
  --dune-deep: #b9a68e;
  --ink: #1b2a4a;
  --ink-soft: #2c3f63;
  --warm-white: #fffdf9;
  --text: #243044;
  --muted: #5c6678;
  --line: rgba(27, 42, 74, 0.16);
  --shadow: 0 10px 30px rgba(27, 42, 74, 0.08);
  --radius: 14px;
  --radius-pill: 999px;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "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-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 8% -10%, rgba(91, 154, 139, 0.12), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(196, 120, 106, 0.1), transparent 55%),
    linear-gradient(180deg, var(--chalk) 0%, var(--chalk-warm) 100%);
  min-height: 100vh;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }

p { margin: 0 0 1rem; }

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

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

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

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

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

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

.page-header {
  padding: 2.5rem 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section--tint {
  background: rgba(217, 203, 184, 0.28);
}

.section--teal {
  background: linear-gradient(135deg, rgba(91, 154, 139, 0.14), rgba(247, 245, 240, 0.4));
}

.section--split {
  display: grid;
  gap: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.25s var(--ease);
}

.btn--primary {
  background: var(--ink);
  color: var(--warm-white);
}

.btn--primary:hover {
  background: var(--ink-soft);
  color: var(--warm-white);
}

.btn--teal {
  background: var(--sea-glass);
  color: var(--warm-white);
}

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

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

.btn--ghost:hover {
  background: var(--warm-white);
}

.text-link {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.text-link:hover::after {
  transform: scaleX(1);
}

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

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.wordmark {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}

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

.site-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

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

.nav-cta {
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--warm-white) !important;
}

.nav-cta:hover {
  background: var(--sea-glass-deep);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.85rem;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }

/* Hero variants */
.hero {
  position: relative;
  padding: 0 0 3rem;
}

.hero--home {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  min-height: calc(100vh - var(--header-h));
  align-items: stretch;
}

.hero--home .hero__panel {
  padding: clamp(2rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(160deg, rgba(247, 245, 240, 0.92), rgba(241, 235, 224, 0.85));
}

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

.hero--home .hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}

.hero__kicker {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--sea-glass-deep);
  margin-bottom: 1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-top: 1.5rem;
}

.hero--service,
.hero--page {
  padding-top: 0;
}

.hero--service .hero__media,
.hero--page .hero__media,
.band-image {
  position: relative;
  overflow: hidden;
  max-height: 480px;
}

.hero--service .hero__media img,
.hero--page .hero__media img,
.band-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.hero__copy {
  margin-top: -4rem;
  position: relative;
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 2.2rem;
  width: min(640px, 100%);
}

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

.card {
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(27, 42, 74, 0.12);
}

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

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

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

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

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

.card--tint {
  background: linear-gradient(180deg, #fffdf9, #efe6d8);
}

.feature-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

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

.feature-row--reverse .feature-row__copy {
  order: 2;
}

.quote-block {
  border-left: 3px solid var(--sea-glass);
  padding: 0.2rem 0 0.2rem 1.4rem;
  margin: 1.5rem 0;
}

.quote-block p {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--ink);
  line-height: 1.35;
}

.quote-block cite {
  font-style: normal;
  font-size: 0.92rem;
  color: var(--muted);
}

.reviews-grid {
  display: grid;
  gap: 1.25rem;
}

.review-card {
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow);
}

.review-card--wide {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(91, 154, 139, 0.1), var(--warm-white));
}

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

.story-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.story-panel article {
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pricing-table th,
.pricing-table td {
  text-align: left;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.pricing-table th {
  background: rgba(27, 42, 74, 0.04);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.note-box {
  background: rgba(196, 120, 106, 0.1);
  border: 1px solid rgba(196, 120, 106, 0.28);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin-top: 1.5rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.aside-card {
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.aside-card .btn {
  width: 100%;
  margin-top: 0.75rem;
}

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

.person-card {
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.person-card__body {
  padding: 1.25rem 1.4rem 1.5rem;
}

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

.steps li {
  counter-increment: step;
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem 1.25rem 4.2rem;
  position: relative;
  box-shadow: var(--shadow);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.1rem;
  top: 1.15rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--sea-glass);
  color: var(--warm-white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.faq details {
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-bottom: 0.75rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}

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

.contact-card a {
  color: var(--coral-soft);
}

.contact-card address {
  font-style: normal;
  margin: 1rem 0;
}

.form {
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

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

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

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: var(--chalk);
  color: var(--text);
}

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

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid rgba(91, 154, 139, 0.45);
  border-color: var(--sea-glass);
}

.field-error {
  color: #9b3d32;
  font-size: 0.85rem;
  margin-top: 0.3rem;
  display: none;
}

.form-row.has-error .field-error {
  display: block;
}

.form-row.has-error input,
.form-row.has-error select,
.form-row.has-error textarea {
  border-color: #c4786a;
}

.form-status {
  margin-top: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  font-size: 0.95rem;
}

.form-status.is-success {
  background: rgba(91, 154, 139, 0.15);
  color: var(--sea-glass-deep);
}

.form-status.is-error {
  background: rgba(196, 120, 106, 0.18);
  color: #8a3a30;
}

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

.newsletter-form input {
  flex: 1 1 160px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--warm-white);
  font: inherit;
}

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

.post-cover {
  margin: 0 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.post-cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

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

.post-back {
  margin-top: 2.5rem;
}

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

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

.cookies-table th,
.cookies-table td {
  border: 1px solid var(--line);
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
  background: var(--warm-white);
}

.cookies-table th {
  background: rgba(27, 42, 74, 0.05);
}

.legal-page,
.post-page {
  padding-bottom: 4rem;
}

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

.cta-band {
  background: var(--ink);
  color: var(--warm-white);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.cta-band h2 {
  color: var(--warm-white);
  margin-bottom: 0.4rem;
}

.cta-band p {
  color: rgba(255, 253, 249, 0.8);
  margin: 0;
  max-width: 34rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 253, 249, 0.82);
  margin-top: 3rem;
  padding-top: 3.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 1.1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer__wordmark {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--warm-white);
  margin-bottom: 0.75rem;
}

.footer__heading {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dune);
  margin-bottom: 0.9rem;
}

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

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

.site-footer a {
  color: rgba(255, 253, 249, 0.82);
  text-decoration: none;
}

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

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

.footer__strip {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.2rem 0 1.6rem;
}

.footer__strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer__legal,
.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__copy {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 253, 249, 0.55);
}

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

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

.cookie-banner__inner {
  width: min(920px, 100%);
  margin: 0 auto;
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(27, 42, 74, 0.18);
  padding: 1.15rem 1.3rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 280px;
}

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

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s 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 (max-width: 960px) {
  .hero--home,
  .feature-row,
  .feature-row--reverse,
  .content-grid,
  .contact-layout,
  .story-panel,
  .footer__grid,
  .card-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .feature-row--reverse .feature-row__copy {
    order: 0;
  }

  .hero--home .hero__media {
    min-height: 300px;
    max-height: 360px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(247, 245, 240, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.25rem;
    display: none;
  }

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

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

  .hero__copy {
    margin-top: -2.5rem;
  }
}

@media (max-width: 640px) {
  .container,
  .container.narrow {
    width: calc(100% - 1.5rem);
  }

  .section {
    padding: 3rem 0;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__actions .btn {
    flex: 1;
  }
}
