:root {
  --salt: #f7f4ef;
  --salt-deep: #efe9df;
  --dune: #d9cbb8;
  --teal: #4a8b8c;
  --teal-deep: #3a7273;
  --navy: #1b3a4b;
  --navy-soft: #2a5163;
  --coral: #d4745a;
  --ink: #1a2a33;
  --muted: #5c6b73;
  --paper: #fffcf7;
  --rule: rgba(27, 58, 75, 0.14);
  --shadow: 0 12px 32px rgba(27, 58, 75, 0.08);
  --radius: 18px;
  --font-display: "Libre Baskerville", Georgia, serif;
  --font-body: "DM Sans", "Helvetica Neue", sans-serif;
  --space: clamp(1rem, 2vw, 1.5rem);
  --container: 1180px;
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 10% 0%, rgba(74, 139, 140, 0.08), transparent 45%),
    radial-gradient(ellipse at 90% 10%, rgba(212, 116, 90, 0.07), transparent 40%),
    linear-gradient(180deg, var(--salt) 0%, var(--salt-deep) 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-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); margin: 0 0 0.75rem; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); margin: 0 0 0.7rem; }
h3 { font-size: 1.25rem; margin: 0 0 0.5rem; }

p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin-bottom: 0.35rem; }

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

.content-narrow {
  width: min(100% - 2.5rem, 720px);
  margin-inline: auto;
}

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

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

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

.text-link {
  font-weight: 600;
  color: var(--navy);
}

.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: 0.98rem;
  font-weight: 600;
  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);
  border-color: var(--navy);
}

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

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

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

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

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

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  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(.page--hero) .site-header {
  background: rgba(247, 244, 239, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--rule);
}

.page--hero .site-header:not(.is-scrolled) {
  background: transparent;
}

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

.site-header__brand {
  text-decoration: none;
  text-align: center;
  justify-self: center;
}

.site-header__wordmark {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

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

.site-header__nav--left { justify-content: flex-start; }
.site-header__nav--right { justify-content: flex-end; }

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

.site-header__cta {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--salt) !important;
}

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

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

.mobile-nav {
  display: none;
  background: rgba(247, 244, 239, 0.96);
  border-top: 1px solid var(--rule);
  padding: 1rem 1.25rem 1.5rem;
}

.mobile-nav a {
  display: block;
  padding: 0.7rem 0;
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 900px) {
  .site-header__nav { display: none; }
  .site-header__toggle { display: flex; }
  .site-header__inner {
    grid-template-columns: 1fr auto;
  }
  .site-header__brand { justify-self: start; }
  .mobile-nav:not([hidden]) { display: block; }
}

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

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

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

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(27, 58, 75, 0.25) 0%, rgba(27, 58, 75, 0.72) 70%, rgba(27, 58, 75, 0.88) 100%);
}

.home-hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--container));
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) 0 4.5rem;
}

.home-hero__content h1 {
  color: var(--salt);
  max-width: 14ch;
}

.home-hero__content .lead {
  color: rgba(247, 244, 239, 0.88);
  max-width: 32rem;
}

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

.home-hero .btn--navy:hover {
  background: transparent;
  color: var(--salt);
}

.home-hero .btn--ghost {
  color: var(--salt);
  border-color: rgba(247, 244, 239, 0.7);
}

.home-hero .btn--ghost:hover {
  background: var(--salt);
  color: var(--navy);
}

.home-hero .eyebrow {
  color: #f0b9a8;
}

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

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

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

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

.section--navy .lead,
.section--navy p {
  color: rgba(247, 244, 239, 0.82);
}

.section__head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section__head--center {
  text-align: center;
  margin-inline: auto;
}

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

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

.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: 16 / 10;
  overflow: hidden;
}

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

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

.card__body p {
  color: var(--muted);
  flex: 1;
}

.card__price {
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}

/* Asym layout */
.asym {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.asym--reverse { direction: rtl; }
.asym--reverse > * { direction: ltr; }

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

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

@media (max-width: 800px) {
  .asym,
  .asym--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

/* Page heroes */
.page-hero {
  padding: calc(var(--header-h) + 2.5rem) 0 3rem;
}

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

.page-hero__media {
  margin: 0;
  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: 280px;
}

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

.page-hero--plain {
  border-bottom: 1px solid var(--rule);
  background: rgba(255, 252, 247, 0.55);
}

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

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

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

/* Quotes */
.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.7rem;
  position: relative;
}

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

.quote p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--navy);
}

.quote footer {
  color: var(--muted);
  font-size: 0.92rem;
  font-style: normal;
  font-family: var(--font-body);
}

/* Forms */
.form-panel {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 3vw, 2rem);
}

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

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

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

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

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

.field-error {
  color: #9b3b2c;
  font-size: 0.85rem;
  margin: 0.35rem 0 0;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 500;
}

.form-status.is-success {
  background: rgba(74, 139, 140, 0.15);
  color: var(--teal-deep);
}

.form-status.is-error {
  background: rgba(212, 116, 90, 0.18);
  color: #8a3a2c;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

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

.contact-aside {
  background: rgba(74, 139, 140, 0.1);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.5rem;
}

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

/* Footer */
.site-footer {
  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;
  margin-top: 2rem;
}

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

.site-footer a:hover { color: #fff; text-decoration: underline; }

.site-footer h2 {
  color: var(--salt);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.9rem;
}

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

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

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

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

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

.site-footer__newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  padding: 2.2rem 0;
  border-bottom: 1px solid rgba(247, 244, 239, 0.15);
}

.site-footer__newsletter h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  text-transform: none;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: end;
}

.newsletter-form .form-field { grid-column: 1 / -1; }
.newsletter-form .form-field + .btn { grid-column: 2; }
.newsletter-form .form-status { grid-column: 1 / -1; }

.newsletter-form label { color: var(--salt); }
.newsletter-form input {
  background: rgba(247, 244, 239, 0.08);
  border-color: rgba(247, 244, 239, 0.25);
  color: var(--salt);
}

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

.site-footer__contact p { margin: 0 0 0.25rem; }

@media (max-width: 800px) {
  .site-footer__top,
  .site-footer__newsletter,
  .site-footer__cols {
    grid-template-columns: 1fr;
  }
  .newsletter-form {
    grid-template-columns: 1fr;
  }
  .newsletter-form .form-field + .btn { grid-column: 1; }
}

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

.cookie-banner__inner {
  max-width: 920px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(27, 58, 75, 0.18);
  padding: 1.25rem 1.4rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner h2 {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 48rem;
}

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

/* Legal / prose */
.prose-page {
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
}

.prose-page__header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}

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

.prose-page__body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1.25rem 0;
  background: var(--paper);
  border-radius: 12px;
  overflow: hidden;
}

.prose-page__body th,
.prose-page__body td {
  border: 1px solid var(--rule);
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

.prose-page__body th {
  background: rgba(217, 203, 184, 0.35);
  color: var(--navy);
}

/* Post */
.post-hero {
  padding: calc(var(--header-h) + 2rem) 0 2rem;
}

.post-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

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

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

.post-body {
  padding: 1rem 0 2rem;
}

.post-body h2 { margin-top: 2rem; }

.post-footer {
  padding-bottom: 3rem;
}

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

/* Issue cards / custom page */
.issue-list {
  display: grid;
  gap: 1.25rem;
}

.issue-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.issue-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 120px;
}

.issue-item__body {
  padding: 1.2rem 1.2rem 1.2rem 0;
}

.issue-item__body h3 { margin-bottom: 0.35rem; }

@media (max-width: 600px) {
  .issue-item { grid-template-columns: 1fr; }
  .issue-item__body { padding: 0 1.2rem 1.2rem; }
}

/* Pricing */
.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.2rem;
  text-align: left;
  border-bottom: 1px solid var(--rule);
}

.rate-table th {
  background: rgba(74, 139, 140, 0.12);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

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

.note-box {
  margin-top: 2rem;
  padding: 1.4rem 1.5rem;
  border-left: 3px solid var(--coral);
  background: rgba(217, 203, 184, 0.25);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Story blocks */
.story {
  display: grid;
  gap: 1.5rem;
}

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

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

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

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* 404 */
.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 3rem) 1.5rem 4rem;
}

.error-page h1 {
  font-size: clamp(3rem, 10vw, 5rem);
  margin-bottom: 0.5rem;
}

/* Utility */
.list-clean {
  list-style: none;
  padding: 0;
}

.list-clean li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--rule);
}

.pill-meta {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 0.4rem;
}
