:root {
  --color-chalk: #f7f4ef;
  --color-ivory: #f3efe6;
  --color-teal: #5b8a8a;
  --color-teal-deep: #3f6b6b;
  --color-dune: #d4c4a8;
  --color-navy: #1e3a4c;
  --color-navy-deep: #152a38;
  --color-coral: #e07a5f;
  --color-ink: #243038;
  --color-muted: #5c6b73;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", sans-serif;
  --radius-card: 18px;
  --shadow-paper: 0 10px 28px rgba(30, 58, 76, 0.08);
  --header-h: 4.25rem;
  --space: clamp(1rem, 2vw, 1.75rem);
  --measure: 68rem;
}

*,
*::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.7;
  color: var(--color-ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(91, 138, 138, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(212, 196, 168, 0.35), transparent 50%),
    linear-gradient(180deg, var(--color-chalk) 0%, #efe9df 45%, var(--color-chalk) 100%);
  min-height: 100vh;
}

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

a {
  color: var(--color-teal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.25s ease, text-decoration-thickness 0.25s ease;
}

a:hover {
  color: var(--color-navy);
  text-decoration-thickness: 2px;
}

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

p {
  margin: 0 0 1rem;
}

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

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

.u-narrow {
  width: min(100% - 2.5rem, 42rem);
  margin-inline: auto;
}

.u-wide {
  width: min(100% - 2.5rem, 78rem);
  margin-inline: auto;
}

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

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

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

.btn--navy:hover {
  background: var(--color-navy-deep);
  color: #fff;
}

.btn--teal {
  background: var(--color-teal);
  color: #fff;
}

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

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

.btn--ghost:hover {
  background: rgba(30, 58, 76, 0.06);
  color: var(--color-navy);
}

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.08em;
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(247, 244, 239, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 58, 76, 0.08);
}

.site-header__inner {
  width: min(100% - 2rem, 78rem);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__brand {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-header__brand:hover {
  color: var(--color-teal-deep);
  text-decoration: none;
}

.site-header__toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.site-header__toggle span {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  margin: 0.35rem auto;
  background: var(--color-navy);
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 1px;
  background: var(--color-coral);
  transition: width 0.35s ease;
}

.site-nav__link:hover::after {
  width: 100%;
}

@media (max-width: 900px) {
  .site-header__toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(247, 244, 239, 0.97);
    border-bottom: 1px solid rgba(30, 58, 76, 0.1);
    padding: 1rem 1.25rem 1.5rem;
    display: none;
  }

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

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

/* Hero variants */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}

.hero--asymmetric {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
  width: min(100% - 2.5rem, 78rem);
  margin-inline: auto;
}

.hero__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-teal-deep);
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero__title {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  margin: 0 0 1.25rem;
  max-width: 12ch;
}

.hero__lede {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

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

.hero__media {
  position: relative;
  margin-bottom: -2rem;
}

.hero__media img {
  width: 100%;
  height: clamp(22rem, 48vw, 34rem);
  object-fit: cover;
  border-radius: var(--radius-card) 0 0 var(--radius-card);
  box-shadow: var(--shadow-paper);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: auto auto -1rem -1rem;
  width: 40%;
  height: 30%;
  background: var(--color-dune);
  opacity: 0.45;
  z-index: -1;
  border-radius: var(--radius-card);
}

.hero--split-band {
  padding: 0;
}

.hero--split-band .hero__band {
  background: var(--color-navy);
  color: #f7f4ef;
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.hero--split-band .hero__title {
  color: #f7f4ef;
  max-width: 18ch;
}

.hero--split-band .hero__lede {
  color: rgba(247, 244, 239, 0.82);
}

.hero--split-band .hero__offset-img {
  width: min(100% - 2.5rem, 78rem);
  margin: -4rem auto 0;
  position: relative;
  z-index: 1;
}

.hero--split-band .hero__offset-img img {
  width: 72%;
  margin-left: auto;
  height: clamp(16rem, 32vw, 24rem);
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-paper);
  border: 1px solid rgba(30, 58, 76, 0.12);
}

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

  .hero__media img {
    border-radius: var(--radius-card);
    height: 18rem;
  }

  .hero--split-band .hero__offset-img img {
    width: 100%;
  }
}

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

.section--ivory {
  background: rgba(243, 239, 230, 0.65);
}

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

.section--navy h2,
.section--navy h3 {
  color: #f7f4ef;
}

.section__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: end;
}

.section__header--stack {
  grid-template-columns: 1fr;
  max-width: 40rem;
}

.section__title {
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  margin: 0;
}

.section__intro {
  color: var(--color-muted);
  margin: 0;
}

.section--navy .section__intro {
  color: rgba(247, 244, 239, 0.75);
}

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

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

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

.card {
  background: var(--color-ivory);
  border: 1px solid rgba(30, 58, 76, 0.14);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-paper);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(30, 58, 76, 0.12);
}

.card__img {
  width: 100%;
  height: 12.5rem;
  object-fit: cover;
}

.card__body {
  padding: 1.35rem 1.4rem 1.6rem;
  border-top: 1px solid rgba(30, 58, 76, 0.12);
}

.card__title {
  font-size: 1.45rem;
  margin: 0 0 0.6rem;
}

.card__text {
  color: var(--color-muted);
  margin-bottom: 1rem;
  font-size: 0.98rem;
}

.card__link {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--color-navy);
}

.card__link::after {
  content: " →";
}

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

/* Offset / layered layouts */
.offset-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.offset-block--reverse {
  direction: rtl;
}

.offset-block--reverse > * {
  direction: ltr;
}

.offset-block__img {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-paper);
  border: 1px solid rgba(30, 58, 76, 0.1);
}

.offset-block__img img {
  width: 100%;
  height: clamp(16rem, 30vw, 24rem);
  object-fit: cover;
}

.offset-block__body h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  margin-top: 0;
}

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

.pull-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.35;
  color: var(--color-navy);
  border-left: 2px solid var(--color-coral);
  padding-left: 1.25rem;
  margin: 0 0 1rem;
  max-width: 36rem;
}

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

/* Pricing */
.rate-list {
  display: grid;
  gap: 1.25rem;
}

.rate-item {
  background: var(--color-ivory);
  border: 1px solid rgba(30, 58, 76, 0.14);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1rem;
  box-shadow: var(--shadow-paper);
}

.rate-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
}

.rate-item__price {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-teal-deep);
  text-align: right;
}

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

  .rate-item__price {
    text-align: left;
  }
}

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

.review-card {
  background: var(--color-ivory);
  border: 1px solid rgba(30, 58, 76, 0.14);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  box-shadow: var(--shadow-paper);
}

.review-card--wide {
  grid-column: 1 / -1;
}

.review-card__service {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-coral);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.review-card blockquote {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.story-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(91, 138, 138, 0.1);
  border-radius: var(--radius-card);
  border: 1px solid rgba(30, 58, 76, 0.1);
}

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

/* Forms */
.form {
  display: grid;
  gap: 1.1rem;
}

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

.form__row--2 {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .form__row--2 {
    grid-template-columns: 1fr;
  }
}

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

input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(30, 58, 76, 0.25);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  color: var(--color-ink);
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

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

.field-error {
  color: #a33b2a;
  font-size: 0.88rem;
  margin: 0;
}

.form-status {
  margin: 0.5rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
}

.form-status.is-success {
  background: rgba(91, 138, 138, 0.18);
  color: var(--color-navy);
}

.form-status.is-error {
  background: rgba(224, 122, 95, 0.2);
  color: #7a2f22;
}

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

.contact-aside {
  background: var(--color-navy);
  color: #f0ebe3;
  border-radius: var(--radius-card);
  padding: 2rem;
}

.contact-aside h2 {
  color: #f7f4ef;
  margin-top: 0;
}

.contact-aside a {
  color: #d4c4a8;
}

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

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

/* Legal */
.legal-content h2 {
  margin-top: 2.25rem;
  font-size: 1.65rem;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}

.legal-content th,
.legal-content td {
  border: 1px solid rgba(30, 58, 76, 0.2);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  background: var(--color-ivory);
}

/* Blog */
.post-list {
  display: grid;
  gap: 1.75rem;
}

.post-teaser {
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: 1.5rem;
  background: var(--color-ivory);
  border: 1px solid rgba(30, 58, 76, 0.14);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-paper);
  transition: transform 0.3s ease;
}

.post-teaser:hover {
  transform: translateY(-3px);
}

.post-teaser img {
  width: 100%;
  height: 100%;
  min-height: 11rem;
  object-fit: cover;
}

.post-teaser__body {
  padding: 1.35rem 1.35rem 1.35rem 0;
}

.post-teaser__date {
  font-size: 0.85rem;
  color: var(--color-muted);
  letter-spacing: 0.04em;
}

.post-teaser h2 {
  font-size: 1.55rem;
  margin: 0.35rem 0 0.6rem;
}

.post-teaser h2 a {
  color: var(--color-navy);
  text-decoration: none;
}

.post-body {
  font-size: 1.08rem;
}

.post-body p {
  margin-bottom: 1.25rem;
}

.post-hero-img {
  width: 100%;
  max-height: 26rem;
  object-fit: cover;
  border-radius: var(--radius-card);
  margin: 1.5rem 0 2rem;
  box-shadow: var(--shadow-paper);
}

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

  .post-teaser__body {
    padding: 0 1.25rem 1.35rem;
  }
}

/* Process / engagement page */
.timeline {
  display: grid;
  gap: 0;
  counter-reset: step;
}

.timeline__item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(30, 58, 76, 0.12);
}

.timeline__item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-coral);
}

.timeline__item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

/* Service detail */
.service-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.service-hero img {
  border-radius: var(--radius-card);
  height: 22rem;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-paper);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.detail-panel {
  background: var(--color-ivory);
  border: 1px solid rgba(30, 58, 76, 0.14);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-paper);
}

.detail-panel ul {
  margin: 0;
  padding-left: 1.1rem;
}

.detail-panel li {
  margin-bottom: 0.45rem;
}

@media (max-width: 800px) {
  .service-hero,
  .detail-grid {
    grid-template-columns: 1fr;
  }
}

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

.site-footer__inner {
  width: min(100% - 2.5rem, 78rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
  gap: 2rem;
}

.site-footer__wordmark {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: #f7f4ef;
  margin: 0 0 0.5rem;
}

.site-footer__tagline {
  color: rgba(247, 244, 239, 0.7);
  margin-bottom: 1.25rem;
}

.site-footer__address {
  font-style: normal;
  line-height: 1.8;
  font-size: 0.95rem;
}

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

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

.site-footer__heading {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #f7f4ef;
  margin: 0 0 1rem;
}

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

.site-footer__newsletter-text {
  font-size: 0.92rem;
  color: rgba(247, 244, 239, 0.7);
}

.newsletter-form {
  display: grid;
  gap: 0.6rem;
}

.newsletter-form input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(247, 244, 239, 0.25);
  color: #fff;
}

.site-footer__base {
  margin-top: 2.5rem;
  border-top: 1px solid rgba(247, 244, 239, 0.12);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(247, 244, 239, 0.55);
}

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

@media (max-width: 560px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

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

.cookie-banner__inner {
  background: var(--color-navy);
  color: #f0ebe3;
  border-radius: var(--radius-card);
  padding: 1.35rem 1.5rem;
  box-shadow: 0 18px 40px rgba(21, 42, 56, 0.35);
  border: 1px solid rgba(212, 196, 168, 0.25);
  display: grid;
  gap: 1rem;
}

.cookie-banner__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #f7f4ef;
  margin: 0 0 0.4rem;
}

.cookie-banner__copy p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(247, 244, 239, 0.8);
}

.cookie-banner__copy a {
  color: var(--color-dune);
}

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

.cookie-banner__error {
  color: #ffb4a2;
  margin: 0;
  font-size: 0.9rem;
}

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

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

[data-parallax] {
  will-change: transform;
}

/* 404 */
.page-404 {
  text-align: center;
  padding: 6rem 1.5rem 5rem;
}

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

.page-lead {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 0;
}

.page-lead h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin: 0 0 0.75rem;
}

.page-lead p {
  color: var(--color-muted);
  max-width: 40rem;
}

.coral-rule {
  width: 3.5rem;
  height: 2px;
  background: var(--color-coral);
  border: 0;
  margin: 0 0 1.25rem;
}

.list-plain {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.list-plain li {
  padding-left: 1rem;
  border-left: 2px solid var(--color-teal);
}
