:root {
  --salt: #f7f5f0;
  --dune: #e6dfd2;
  --sea-glass: #5c8f8a;
  --sea-glass-deep: #3f6d69;
  --navy: #1b3a4b;
  --navy-soft: #2a5163;
  --coral: #c45c4a;
  --coral-soft: #d97868;
  --ink: #1a2429;
  --muted: #5a656b;
  --paper: #fffdf9;
  --rule: rgba(27, 58, 75, 0.14);
  --shadow: 0 12px 32px rgba(27, 58, 75, 0.08);
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 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.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(92, 143, 138, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(196, 92, 74, 0.08), transparent 50%),
    linear-gradient(180deg, var(--salt) 0%, var(--dune) 48%, var(--salt) 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(--coral);
}

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

h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 0.85rem; }
h3 { font-size: 1.35rem; margin: 0 0 0.6rem; }

p { margin: 0 0 1rem; }

ul, ol { 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;
}

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

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

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

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

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section--tint {
  background: rgba(255, 253, 249, 0.72);
  border-block: 1px solid var(--rule);
}

.section--dune {
  background: rgba(230, 223, 210, 0.55);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.75rem 1.55rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  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--sm {
  min-height: 2.4rem;
  padding: 0.45rem 1.1rem;
  font-size: 0.9rem;
}

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

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

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

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

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

.btn--coral:hover {
  background: transparent;
  color: var(--coral);
  border-color: var(--coral);
}

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

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

/* Header */
.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, 240, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--rule);
}

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

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

.has-hero .site-header:not(.is-scrolled) .site-header__wordmark {
  color: var(--paper);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.site-header__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  align-items: center;
}

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

.has-hero .site-header:not(.is-scrolled) .site-header__nav a {
  color: var(--paper);
}

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

.site-header__cta {
  justify-self: end;
}

.site-header__toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.site-header__toggle span {
  display: block;
  height: 2px;
  width: 1.4rem;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s var(--ease);
}

.has-hero .site-header:not(.is-scrolled) .site-header__toggle span {
  background: var(--paper);
}

/* Hero home */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  color: var(--paper);
  overflow: hidden;
}

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

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

.home-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(27, 58, 75, 0.35) 0%, rgba(27, 58, 75, 0.15) 35%, rgba(27, 58, 75, 0.72) 100%);
}

.home-hero__content {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 3rem) 0 4.5rem;
}

.home-hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 700;
  line-height: 0.95;
  margin: 0 0 1.25rem;
  max-width: 12ch;
  color: var(--paper);
}

.home-hero__line {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  max-width: 28rem;
  margin: 0 0 0.75rem;
  color: rgba(247, 245, 240, 0.95);
}

.home-hero__support {
  max-width: 32rem;
  color: rgba(247, 245, 240, 0.82);
  margin-bottom: 1.75rem;
}

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

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

.page-hero--split .page-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.page-hero__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.page-hero--plain {
  text-align: left;
}

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

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

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

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.card__body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid var(--rule);
}

.card__body h3 {
  font-size: 1.25rem;
}

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

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

.card__link {
  margin-top: auto;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

.card__link:hover {
  color: var(--coral);
}

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

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

.asymm {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.asymm--flip {
  grid-template-columns: 0.9fr 1.1fr;
}

.asymm__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.quote-list {
  display: grid;
  gap: 1.5rem;
}

.quote {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.8rem;
  position: relative;
}

.quote::before {
  content: "";
  position: absolute;
  left: 1.8rem;
  top: 0;
  width: 2.5rem;
  height: 3px;
  background: var(--coral);
}

.quote blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--navy);
}

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

.story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 2.5rem;
}

.story__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.rate-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--rule);
}

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

.rate-table th {
  font-family: var(--font-display);
  color: var(--navy);
  background: rgba(230, 223, 210, 0.45);
  width: 32%;
}

.rate-table tr:last-child th,
.rate-table tr:last-child td {
  border-bottom: 0;
}

.faq {
  display: grid;
  gap: 1rem;
}

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

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

.cta-band {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(255, 253, 249, 0.8);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta-band p {
  margin-inline: auto;
  max-width: 36rem;
  color: var(--muted);
}

.prose {
  max-width: 42rem;
}

.prose--wide {
  max-width: 48rem;
}

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

.post__header {
  padding: calc(var(--header-h) + 3rem) 0 1.5rem;
}

.post__hero {
  margin: 0 0 2.5rem;
}

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

.post__body {
  padding-bottom: 4rem;
}

.service-detail__price {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

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

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

.contact-card address {
  font-style: normal;
}

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

.form__row {
  display: grid;
  gap: 0.4rem;
}

.form label {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

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

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

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--sea-glass);
  outline-offset: 1px;
}

.form__error {
  color: var(--coral);
  font-size: 0.88rem;
  margin: 0;
}

.form-message {
  margin: 0.5rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 500;
}

.form-message--success {
  background: rgba(92, 143, 138, 0.15);
  color: var(--sea-glass-deep);
}

.form-message--error {
  background: rgba(196, 92, 74, 0.12);
  color: var(--coral);
}

.field-invalid {
  border-color: var(--coral) !important;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
}

.site-footer__wash {
  background:
    linear-gradient(180deg, rgba(27, 58, 75, 0.92), rgba(27, 58, 75, 0.98));
  color: rgba(247, 245, 240, 0.88);
  padding: 3.5rem 0 1.5rem;
}

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

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

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.3fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(247, 245, 240, 0.16);
}

.site-footer__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--paper);
  margin-bottom: 0.6rem;
}

.site-footer__heading {
  font-family: var(--font-display);
  color: var(--paper);
  margin-bottom: 0.85rem;
  font-size: 1.1rem;
}

.site-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

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

.site-footer__note {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

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

.newsletter-form input {
  flex: 1;
  min-width: 180px;
  border: 1px solid rgba(247, 245, 240, 0.25);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: rgba(255, 253, 249, 0.08);
  color: var(--paper);
  font: inherit;
}

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

.site-footer__bottom {
  padding-top: 1.25rem;
  font-size: 0.9rem;
  color: rgba(247, 245, 240, 0.65);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem;
  z-index: 200;
}

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

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

.cookie-banner__text {
  flex: 1;
  min-width: 220px;
}

.cookie-banner__text p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

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

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

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

.legal-page,
.error-page {
  padding: calc(var(--header-h) + 3rem) 0 4rem;
}

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

.cookie-table th,
.cookie-table td {
  border: 1px solid var(--rule);
  padding: 0.75rem;
  text-align: left;
  background: var(--paper);
}

.cookie-table th {
  background: rgba(230, 223, 210, 0.5);
  color: var(--navy);
}

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

.steps__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow);
}

.steps__num {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--font-display);
}

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

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

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

.issue__body {
  padding: 1.25rem 1.4rem 1.5rem;
  border-top: 1px solid var(--rule);
}

@media (max-width: 980px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .site-header__toggle {
    display: flex;
  }

  .site-header__nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(247, 245, 240, 0.96);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.85rem;
    border-bottom: 1px solid var(--rule);
    display: none;
  }

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

  .has-hero .site-header:not(.is-scrolled) .site-header__nav a {
    color: var(--navy);
  }

  .site-header__cta {
    display: none;
  }

  .card-grid,
  .detail-panels,
  .site-footer__grid,
  .page-hero--split .page-hero__grid,
  .asymm,
  .asymm--flip,
  .contact-grid,
  .story,
  .issue-grid {
    grid-template-columns: 1fr;
  }

  .asymm--flip .asymm__media {
    order: -1;
  }
}

@media (max-width: 640px) {
  .home-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner {
    inset: auto 0.5rem 0.5rem;
  }
}
