:root {
  --salt: #f7f4ef;
  --dune: #e8dfd0;
  --teal: #5b8a8a;
  --teal-deep: #3f6b6b;
  --navy: #1b3a4b;
  --navy-soft: #2a5166;
  --coral: #e07a5f;
  --coral-deep: #c45f45;
  --ink: #1a2a32;
  --muted: #5c6b73;
  --paper: #fffcf8;
  --rule: rgba(27, 58, 75, 0.14);
  --shadow: 0 12px 40px rgba(27, 58, 75, 0.08);
  --radius: 18px;
  --font-serif: "Libre Baskerville", Georgia, serif;
  --font-sans: "DM Sans", "Helvetica Neue", sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --max: 1120px;
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(91, 138, 138, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(224, 122, 95, 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(--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.2;
  color: var(--navy);
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.35rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

p { margin: 0 0 1rem; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.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-sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

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

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

.text-link:hover {
  color: var(--coral-deep);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.65rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.15s 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(--salt);
}

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

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

.btn--coral:hover {
  background: var(--salt);
  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);
}

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

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

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

.has-hero-header .site-header:not(.is-scrolled) .site-header__cta {
  background: var(--coral);
  color: var(--salt);
  border-color: transparent;
}

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

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

.site-header__brand {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  text-align: center;
  letter-spacing: -0.01em;
  justify-self: center;
}

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

.site-header__nav--left { justify-content: flex-start; }
.site-header__nav--right { justify-content: flex-end; }
.site-header__nav-mobile-only { display: none; }

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

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

.site-header__cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--salt) !important;
  font-weight: 600 !important;
}

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

.site-header__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: var(--salt);
  overflow: hidden;
}

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

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

.hero__overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: calc(var(--header-h) + 3rem) 0 4.5rem;
  background: linear-gradient(180deg, rgba(27, 58, 75, 0.15) 0%, rgba(27, 58, 75, 0.72) 55%, rgba(27, 58, 75, 0.88) 100%);
}

.hero__brand {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 1rem;
  color: var(--salt);
}

.hero__title {
  color: var(--salt);
  max-width: 18ch;
  margin-bottom: 1.25rem;
}

.hero__lede {
  max-width: 34rem;
  color: rgba(247, 244, 239, 0.9);
  margin-bottom: 1.75rem;
}

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

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

.section--tint {
  background: rgba(232, 223, 208, 0.55);
}

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

.section--navy h2,
.section--navy blockquote {
  color: var(--salt);
}

.section-head {
  margin-bottom: 2.5rem;
}

.section-head--row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  flex-wrap: wrap;
}

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

.page-hero--simple .lede {
  margin-top: 0.5rem;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

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

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

/* Cards & grids */
.matte-card {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

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

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

.card-grid--4 {
  grid-template-columns: repeat(2, 1fr);
}

.service-card h2,
.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card a {
  text-decoration: none;
  color: inherit;
}

.price-chip {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(91, 138, 138, 0.15);
  color: var(--teal-deep);
  font-size: 0.88rem;
  font-weight: 600;
}

.asym-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.asym-block--reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.asym-block--reverse .asym-block__media {
  order: 2;
}

.asym-block__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
}

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

.journal-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--rule);
  padding-top: 2rem;
}

.journal-preview__item time {
  font-size: 0.85rem;
  color: var(--muted);
}

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

.quote-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.quote-strip blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  line-height: 1.45;
}

.quote-strip footer {
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  opacity: 0.85;
}

.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 1rem 0;
}

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

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  margin-top: 0.75rem;
  color: var(--muted);
}

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

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

.included-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.included-grid .matte-card {
  padding: 1.5rem;
}

.included-grid ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.cta-band {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(91, 138, 138, 0.12);
  border: 1px solid var(--rule);
}

.cta-band .btn {
  margin-top: 0.5rem;
}

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

.team-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.team-card .role {
  color: var(--teal-deep);
  font-weight: 600;
  font-size: 0.92rem;
}

.pricing-table {
  overflow-x: auto;
  padding: 0.5rem;
}

.pricing-table table,
.cookies-table {
  width: 100%;
  border-collapse: collapse;
}

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

.pricing-table th,
.cookies-table th {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.review-card {
  margin: 0;
  padding: 1.75rem;
}

.review-card__service {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  font-weight: 600;
}

.review-card__quote {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--navy);
  margin: 1rem 0;
}

.review-card footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.story-card {
  padding: 2rem;
  border-top: 2px solid var(--coral);
}

.format-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.format-row {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
}

.format-row__num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--coral);
}

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

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

.post-hero__inner {
  max-width: 820px;
}

.post-meta {
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.post-hero__figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
  margin: 0 0 1rem;
}

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

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

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.75rem;
  align-items: start;
}

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

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

.contact-note {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

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

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

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

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

.field-error,
.form-message {
  font-size: 0.9rem;
  margin-top: 0.4rem;
}

.field-error {
  color: var(--coral-deep);
}

.form-message.is-success {
  color: var(--teal-deep);
}

.form-message.is-error {
  color: var(--coral-deep);
}

.prose-narrow {
  max-width: 42rem;
}

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

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

.prose table {
  margin: 1.5rem 0;
}

.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 2rem);
}

/* 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)),
    var(--navy);
  color: rgba(247, 244, 239, 0.88);
  padding: 4rem 0 2rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(247, 244, 239, 0.15);
}

.site-footer__wordmark {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--salt);
  margin-bottom: 0.75rem;
}

.site-footer__tagline {
  color: rgba(247, 244, 239, 0.7);
  font-size: 0.95rem;
}

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

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

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

.site-footer__heading {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, 0.55);
  margin-bottom: 1rem;
}

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

.site-footer li {
  margin-bottom: 0.55rem;
}

.newsletter-form__row {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  font-size: 0.9rem;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-footer__copy {
  margin: 0;
  opacity: 0.65;
}

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

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

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

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

.cookie-banner__actions {
  display: flex;
  gap: 0.65rem;
  flex-shrink: 0;
}

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

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

[data-reveal].is-visible:nth-child(2) { transition-delay: 0.08s; }
[data-reveal].is-visible:nth-child(3) { transition-delay: 0.14s; }
[data-reveal].is-visible:nth-child(4) { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__bg img {
    transform: none !important;
  }
  html { scroll-behavior: auto; }
}

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

  .site-header__toggle {
    display: flex;
    grid-column: 1;
  }

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

  .site-header__nav--right {
    display: none;
  }

  .site-header__nav--left {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: rgba(247, 244, 239, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rule);
  }

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

  .site-header__nav--left a {
    color: var(--navy) !important;
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--rule);
  }

  .site-header__nav-mobile-only {
    display: block;
  }

  .site-header__nav--left .site-header__cta {
    margin-top: 0.5rem;
    text-align: center;
    background: var(--navy);
    color: var(--salt) !important;
    border-radius: 999px;
    border-bottom: 0 !important;
  }

  .site-header__nav--left::after {
    content: none;
  }

  .page-hero__grid,
  .asym-block,
  .asym-block--reverse,
  .card-grid,
  .card-grid--4,
  .journal-preview,
  .detail-grid,
  .included-grid,
  .team-grid,
  .reviews-grid,
  .story-block,
  .post-list,
  .contact-layout,
  .quote-strip,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .asym-block--reverse .asym-block__media {
    order: 0;
  }

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

  .cookie-banner__actions {
    width: 100%;
  }

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

  .newsletter-form__row {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 85vh;
  }

  .hero__title {
    max-width: none;
  }
}
