:root {
  --teal: #7ba8a0;
  --teal-deep: #4f7a73;
  --sand: #d4c4a8;
  --sand-light: #ebe3d4;
  --coral: #e8c4b8;
  --coral-deep: #c9897a;
  --navy: #1a2b4a;
  --navy-soft: #2a3f63;
  --chalk: #f7f4ef;
  --ivory: #faf7f2;
  --ink: #1a2b4a;
  --muted: #5c6578;
  --rule: rgba(26, 43, 74, 0.18);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --shadow-paper: 0 12px 30px rgba(26, 43, 74, 0.08);
  --radius: 6px;
  --header-h: 4.25rem;
  --container: 72rem;
}

*,
*::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 at 12% 0%, rgba(123, 168, 160, 0.22), transparent 45%),
    radial-gradient(ellipse at 90% 8%, rgba(232, 196, 184, 0.28), transparent 40%),
    linear-gradient(180deg, var(--chalk) 0%, var(--sand-light) 48%, var(--chalk) 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: 600;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 0.65em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.45rem; }

p { margin: 0 0 1em; }

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

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: path(inset(50%));
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 0.85rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn--ink {
  background: var(--navy);
  color: var(--chalk);
  border-color: var(--navy);
}

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

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

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

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

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(247, 244, 239, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: height 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.site-header.is-condensed {
  height: 3.4rem;
  background: rgba(247, 244, 239, 0.92);
  border-bottom-color: var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100% - 2.5rem, var(--container));
}

.site-header__brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.site-header__nav ul {
  display: flex;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.site-header__nav a:hover,
.site-header__nav a[aria-current="page"] {
  color: var(--teal-deep);
}

.site-header__toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--rule);
  background: var(--ivory);
  border-radius: 3px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.site-header__toggle span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--navy);
}

/* Hero home — asymmetrical editorial */
.hero-editorial {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(26, 43, 74, 0.45), rgba(79, 122, 115, 0.35));
}

.hero-editorial__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  z-index: -1;
  will-change: transform;
}

.hero-editorial__content {
  width: min(100% - 2.5rem, var(--container));
  margin: 0 auto 4.5rem;
  max-width: 36rem;
  margin-left: max(1.25rem, calc((100% - var(--container)) / 2 + 2rem));
  padding: 2rem 2.25rem;
  background: rgba(250, 247, 242, 0.92);
  border: 1px solid var(--rule);
  border-radius: var(--radius) var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-paper);
  position: relative;
}

.hero-editorial__content::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  border-radius: inherit;
  opacity: 0.7;
}

.hero-editorial h1 {
  margin-bottom: 0.5em;
}

.hero-editorial .lede {
  margin-bottom: 0;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section--band {
  background: linear-gradient(180deg, rgba(123, 168, 160, 0.12), rgba(212, 196, 168, 0.18));
  border-block: 1px solid var(--rule);
}

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

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

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

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

.section__head--offset {
  margin-left: clamp(0rem, 8vw, 6rem);
}

/* Cards as printed panels */
.panel,
.card {
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--navy);
  border-radius: var(--radius) var(--radius) 2px 2px;
  box-shadow: var(--shadow-paper);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.panel::after,
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(26, 43, 74, 0.12);
}

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

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

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

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

.card__body h3 {
  margin-bottom: 0.4em;
  font-size: 1.55rem;
}

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

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

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

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

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.prose-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.panel--sticky {
  position: sticky;
  top: 5rem;
  padding: 1.5rem;
}

.panel--sticky h3 {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule);
}

.spec-list {
  margin: 0 0 1.25rem;
}

.spec-list dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-top: 0.85rem;
}

.spec-list dd {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.check-list,
.dash-list {
  list-style: none;
  padding: 0;
}

.check-list li,
.dash-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.65rem;
}

.check-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--teal-deep);
  font-size: 0.7rem;
  top: 0.25rem;
}

.dash-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--coral-deep);
}

.price-note {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  margin: 1rem 0;
}

/* Page heroes */
.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero--compact {
  padding-bottom: 1.5rem;
}

.page-hero--split {
  padding-bottom: 0;
}

.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;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-paper);
}

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

.post-cover {
  width: min(100% - 2.5rem, var(--container));
  margin: 0 auto 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--rule);
}

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

.meta-date {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: -0.5rem;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 1.75em;
}

.cta-band {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  max-width: 40rem;
  margin-inline: auto;
}

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

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

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

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

.quote-block {
  padding: 2rem;
  border-left: 3px solid var(--coral);
  background: rgba(250, 247, 242, 0.7);
  margin: 0;
}

.quote-block p {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.35;
  font-style: italic;
  color: var(--navy);
}

.quote-block footer {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 1rem;
}

.review-grid {
  display: grid;
  gap: 1.5rem;
}

.review-card {
  padding: 1.75rem;
}

.review-card p {
  font-size: 1.05rem;
}

.review-card cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
}

.story-panel {
  padding: 2rem;
  margin-top: 2rem;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ivory);
  border: 1px solid var(--rule);
}

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

.fee-table th {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  background: rgba(123, 168, 160, 0.12);
}

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

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

.process-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.35rem;
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.process-steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--teal-deep);
  line-height: 1;
}

/* Forms */
.form {
  display: grid;
  gap: 1.1rem;
  max-width: 36rem;
}

.form__field {
  display: grid;
  gap: 0.35rem;
}

.form__field label {
  font-weight: 600;
  font-size: 0.92rem;
}

.form__field input,
.form__field select,
.form__field textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--ivory);
  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: #9b3b2e;
  font-size: 0.85rem;
  min-height: 1.1em;
}

.form-status {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 3px;
  font-size: 0.95rem;
}

.form-status.is-success {
  background: rgba(123, 168, 160, 0.2);
  color: var(--navy);
  border: 1px solid var(--teal);
}

.form-status.is-error {
  background: rgba(232, 196, 184, 0.45);
  color: #7a2f24;
  border: 1px solid var(--coral-deep);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
}

.contact-card {
  padding: 1.75rem;
}

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

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

.newsletter-form input {
  flex: 1 1 12rem;
  font: inherit;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(212, 196, 168, 0.4);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--chalk);
}

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

.cookies-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1.5rem 0;
  background: var(--ivory);
  border: 1px solid var(--rule);
}

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

.cookies-table th {
  background: rgba(26, 43, 74, 0.06);
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(247, 244, 239, 0.85);
  padding: 4rem 0 0;
  margin-top: 3rem;
}

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

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

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.7fr) 1.1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}

.site-footer__ornament {
  color: var(--coral);
  margin: 0 0 0.5rem;
  letter-spacing: 0.2em;
}

.site-footer__wordmark {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--chalk) !important;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.site-footer__tag {
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 22rem;
}

.site-footer__contact {
  font-style: normal;
  margin-top: 1.25rem;
  font-size: 0.92rem;
}

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

.site-footer__col h2,
.site-footer__newsletter h2 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1rem;
}

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

.site-footer__col li {
  margin-bottom: 0.5rem;
}

.site-footer__base {
  border-top: 1px solid rgba(212, 196, 168, 0.2);
  padding: 1.25rem 0;
  font-size: 0.85rem;
  color: rgba(247, 244, 239, 0.55);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 50;
  max-width: 42rem;
  margin-inline: auto;
}

.cookie-banner__inner {
  background: var(--ivory);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(26, 43, 74, 0.18);
  padding: 1.25rem 1.35rem;
  display: grid;
  gap: 1rem;
}

.cookie-banner__copy h2 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

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

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

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.35s; }

.full-bleed-quote {
  padding: 4rem 0;
  background: linear-gradient(90deg, rgba(26, 43, 74, 0.94), rgba(42, 63, 99, 0.9));
  color: var(--chalk);
}

.full-bleed-quote blockquote {
  width: min(100% - 2.5rem, 48rem);
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.35;
  font-style: italic;
}

.full-bleed-quote cite {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.95rem;
  color: var(--sand);
}

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

/* Responsive */
@media (max-width: 960px) {
  .card-grid,
  .card-grid--2,
  .two-col,
  .prose-grid,
  .page-hero__grid,
  .feature-split,
  .feature-split--reverse,
  .contact-layout,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-header__toggle {
    display: flex;
  }

  .site-header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250, 247, 242, 0.98);
    border-bottom: 1px solid var(--rule);
    padding: 1rem 1.25rem 1.25rem;
    display: none;
  }

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

  .site-header__nav ul {
    flex-direction: column;
    gap: 0.85rem;
  }

  .hero-editorial__content {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
  }

  .panel--sticky {
    position: static;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.5rem 0;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }
}
