:root {
  --mr-teal: #00b1b6;
  --mr-teal-soft: rgba(0, 177, 182, 0.1);
  --mr-teal-overlay: rgba(0, 177, 182, 0.85);
  --mr-dark: #31494b;
  --mr-mint: #ceffdd;
  --mr-body: #31494b;
  --mr-placeholder: #989898;
  --mr-ink: #1a1a1a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Rich-text wrappers for blocks whose copy comes from a WYSIWYG editor. */
.mr-rt > p { margin: 0 0 0.75em; }
.mr-rt > p:first-child { margin-top: 0; }
.mr-rt > p:last-child { margin-bottom: 0; }
.mr-rt ul, .mr-rt ol { margin: 0 0 0.75em; padding-left: 1.5em; list-style: revert; }
.mr-rt li { margin: 0.15em 0; }
/* Quill 2 exports both bullet and numbered lists as <ol>, distinguishing items
   via data-list="bullet"/"ordered" on each <li>. Restore disc markers for the
   bullet variant; ordered items already get decimal from list-style: revert. */
.mr-rt ol > li[data-list="bullet"] { list-style-type: disc; }
/* Quill injects an empty <span class="ql-ui"> for its in-editor marker; the
   editor CSS hides it, but on the frontend it leaks as inline whitespace. */
.mr-rt .ql-ui { display: none; }
.mr-rt a { color: inherit; text-decoration: underline; }
.mr-rt strong { font-weight: 700; }
.mr-rt em { font-style: italic; }
/* Restore heading visibility — Tailwind preflight zeroes h1–h6 font-size/weight,
   which would otherwise make headings in rich-text blocks indistinguishable
   from body copy. */
.mr-rt h1, .mr-rt h2, .mr-rt h3, .mr-rt h4 { line-height: 1.2; margin: 0.4em 0 0.3em; }
.mr-rt h1:first-child, .mr-rt h2:first-child, .mr-rt h3:first-child, .mr-rt h4:first-child { margin-top: 0; }
.mr-rt h1 { font-size: 2em; font-weight: 700; }
.mr-rt h2 { font-size: 1.7em; font-weight: 700; }
.mr-rt h3 { font-size: 1.35em; font-weight: 700; }
.mr-rt h4 { font-size: 1.15em; font-weight: 600; }

body {
  margin: 0;
  font-family: 'Inter', 'Bio Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--mr-dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
}

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

a { color: inherit; text-decoration: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

@media (min-width: 768px) { .container { padding: 0 40px; } }

/* Header — sticky nav bar; dark logo tile sticks out from the nav on desktop */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: flex-start;
  height: 70px;
  background: transparent;
}
.site-header__logo {
  background: var(--mr-dark);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 10px;
  z-index: 52;
}
.site-header__logo img { width: 100%; height: auto; object-fit: contain; }
.site-header__bar {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px;
  gap: 20px;
  height: 70px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  z-index: 51;
}
.site-nav {
  display: none;
  align-items: center;
  gap: 32px;
}
.site-nav a {
  font-weight: 600;
  font-size: 16px;
  color: var(--mr-dark);
  transition: color .2s;
}
.site-nav a:hover { color: var(--mr-teal); }
.site-nav a.is-active { color: var(--mr-teal); }

.site-header__cta {
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--mr-teal);
  color: #fff;
  font-weight: 600;
  padding: 12px 20px;
  height: 70px;
  font-size: 15px;
  white-space: nowrap;
  transition: background .2s;
}
.site-header__cta:hover { background: #008b8f; }

.nav-toggle {
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--mr-dark);
}
.nav-toggle svg { width: 24px; height: 24px; }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 70px 0 0 0;
  background: #fff;
  z-index: 40;
  padding: 24px;
  border-top: 1px solid rgba(0,0,0,0.06);
  overflow-y: auto;
}
.mobile-menu.is-open { display: flex; flex-direction: column; gap: 8px; }
.mobile-menu a {
  padding: 16px 8px;
  font-weight: 600;
  font-size: 18px;
  color: var(--mr-dark);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.mobile-menu a.cta {
  background: var(--mr-teal);
  color: #fff;
  text-align: center;
  margin-top: 12px;
  border: 0;
  border-radius: 2px;
}

@media (min-width: 1024px) {
  /* Desktop: sticky 70px nav bar; dark logo tile is 140x140 and overhangs below the nav */
  .site-header__logo { width: 140px; height: 140px; padding: 20px; }
  .site-header__bar { padding: 0 48px; gap: 40px; }
  .site-nav { display: flex; }
  .site-header__cta { display: flex; }
  .nav-toggle { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: 0;
  transition: background .2s, transform .15s;
  min-height: 52px;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn--teal { background: var(--mr-teal); color: #fff; }
.btn--teal:hover { background: #008b8f; }
.btn--dark { background: var(--mr-dark); color: #fff; }
.btn--dark:hover { background: #1f3233; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 64px;
  display: flex;
  align-items: center;
}
.hero--teal { background: var(--mr-teal); color: #fff; }
.hero--mint { background: var(--mr-mint); color: var(--mr-dark); }

.hero__art {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: min(420px, 75vw);
  pointer-events: none;
  opacity: 0.22;
}
.hero__inner { position: relative; z-index: 1; }
.hero__title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  max-width: 720px;
}
.hero__title--lg { font-size: clamp(30px, 6vw, 52px); }
.hero__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.5;
  max-width: 640px;
  margin: 0;
}
@media (min-width: 768px) {
  .hero { padding: 100px 0 100px; }
  .hero__art { right: -40px; width: min(560px, 55vw); opacity: 1; }
}
@media (min-width: 1024px) {
  .hero { padding: 160px 0 140px; min-height: 600px; }
  .hero__art { right: 0; width: min(780px, 50vw); }
}

/* Homepage split hero: logo block overlays top-left, title left column, art fills the right */
.hero--home {
  position: relative;
  overflow: hidden;
  background: var(--mr-teal);
  padding: 48px 0 64px;
  min-height: 60vh;
}

/* Art track — absolutely positioned column on desktop; dim bg on mobile */
.hero--home__art-track {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 75vw;
  max-width: 420px;
  pointer-events: none;
  opacity: 0.22;
  z-index: 0;
}
.hero--home__art {
  display: block;
  width: 100%;
  height: auto;
}

.hero--home .hero__inner,
.hero--home__inner {
  position: relative;
  z-index: 1;
}
.hero--home__title {
  color: #fff;
  font-weight: 800;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.15;
  margin: 0;
  max-width: 580px;
}

@media (min-width: 768px) {
  .hero--home { padding: 100px 0 120px; }
  .hero--home__art-track { width: 55vw; max-width: 640px; opacity: 0.9; }
}

@media (min-width: 1024px) {
  /* Hero section: exactly 100vh minus the 70px nav; art stays pinned (parallax) while scrolling */
  .hero--home {
    padding: 0;
    min-height: calc(100vh - 70px);
    height: calc(100vh - 70px);
  }
  .hero--home__art-track {
    position: fixed;
    top: 70px;
    right: 0;
    left: auto;
    bottom: auto;
    transform: none;
    height: calc(100vh - 70px);
    width: 56%;
    max-width: none;
    opacity: 1;
    overflow: visible;
    z-index: 1;
    pointer-events: none;
    transition: opacity .3s ease;
  }
  .hero--home__art-track.is-hidden { opacity: 0; }
  .hero--home__art {
    position: static;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center;
  }
  .hero--home > .container {
    max-width: none;
    padding: 0;
    height: 100%;
  }
  .hero--home__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    position: relative;
    z-index: 2;
  }
  .hero--home__title {
    font-size: clamp(30px, 3.4vw, 52px);
    max-width: 900px;
    margin: 0 auto;
  }
}

/* About page hero — same pattern as home hero, smaller text shifted right */
.hero--about {
  position: relative;
  overflow: hidden;
  background: #CEFFDD;
  color: #000;
  padding: 48px 0 64px;
  min-height: 60vh;
}
.hero--about__art-track {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 75vw;
  max-width: 420px;
  pointer-events: none;
  opacity: 0.22;
  z-index: 0;
}
.hero--about__art {
  display: block;
  width: 100%;
  height: auto;
}
.hero--about__inner {
  position: relative;
  z-index: 2;
}
.hero--about__subtitle {
  color: #000;
  font-weight: 500;
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.55;
  margin: 0;
  max-width: 580px;
}

@media (min-width: 768px) {
  .hero--about { padding: 100px 0 120px; }
  .hero--about__art-track { width: 55vw; max-width: 640px; opacity: 0.9; }
}

@media (min-width: 1024px) {
  .hero--about {
    padding: 0;
    min-height: calc(100vh - 70px);
    height: calc(100vh - 70px);
  }
  .hero--about__art-track {
    position: fixed;
    top: 70px;
    right: 0;
    left: auto;
    bottom: auto;
    transform: none;
    height: calc(100vh - 70px);
    width: 56%;
    max-width: none;
    opacity: 1;
    overflow: visible;
    z-index: 1;
    pointer-events: none;
    transition: opacity .3s ease;
  }
  .hero--about__art-track.is-hidden { opacity: 0; }
  .hero--about__art {
    position: static;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center;
  }
  .hero--about > .container {
    width: 100%;
    height: 100%;
  }
  .hero--about__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
  }
  .hero--about__subtitle {
    max-width: 760px;
    font-size: clamp(14px, 1.2vw, 18px);
  }
}

/* Sections */
.section { padding: 64px 0; background: #fff; }
.section--mint { background: var(--mr-mint); }
.section--dark { background: var(--mr-dark); color: #fff; }
.section--teal { background: var(--mr-teal); color: #fff; }

.section__eyebrow {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--mr-teal);
  margin: 0 0 12px;
}
.section__title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 32px;
  color: var(--mr-dark);
}
.section__title--teal { color: var(--mr-teal); }
.section__title--white { color: #fff; }
.section__subtitle {
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.5;
  margin: 0 0 24px;
  max-width: 960px;
  color: var(--mr-dark);
}

/* Sections that follow the home hero sit above the fixed born-to-mail art */
.hero--home ~ section,
.hero--home ~ article,
.hero--home ~ footer,
.hero--about ~ section,
.hero--about ~ article,
.hero--about ~ footer,
.blog-list-hero ~ section,
.blog-list-hero ~ article,
.blog-list-hero ~ footer,
.blog-hero ~ section,
.blog-hero ~ article,
.blog-hero ~ footer,
.hero--mint ~ section,
.hero--mint ~ article,
.hero--mint ~ footer {
  position: relative;
  z-index: 2;
}
/* Testimonial sits below other sections so its fixed art doesn't cover the banner above */
.hero--home ~ section.testimonial { z-index: 1; }
/* CTA block doesn't create its own stacking context, so the section above it
   paints over the fixed mail art, and the sell image (z-index 3) still escapes
   up to root level to paint over the footer. */
.hero--home ~ section.cta-block,
.hero--about ~ section.cta-block,
.blog-list-hero ~ section.cta-block,
.blog-hero ~ section.cta-block,
.hero--mint ~ section.cta-block { z-index: auto; }

/* Why DM — 3 col with aligned icons, titles and bodies across columns */
.why-section {
  padding: 64px 0;
}
.why-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .why-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0;
  }
  /* Without icons there's no big artwork to anchor the layout, so let the
     section size to its content instead of forcing a full viewport. */
  .why-section:has(.why-grid--no-icons) {
    min-height: 0;
    display: block;
    padding: 64px 0;
  }
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto 1fr; /* icon row, title row, body row */
    grid-auto-flow: column;
    column-gap: 40px;
    row-gap: 24px;
    align-items: start;
  }
  /* Each .why-item becomes a transparent wrapper so its children sit directly in the grid rows */
  .why-item { display: contents; }
  /* When no item in the grid has an icon, drop the icon row so the title row
     doesn't get pushed down by an empty placeholder row. */
  .why-grid--no-icons { grid-template-rows: auto 1fr; }
}
/* Empty slot used when some — but not all — items in the grid have icons.
   Keeps column alignment without rendering a visible image. */
.why-item__icon--placeholder { display: block; background: transparent; }
.why-item__icon {
  width: 140px; height: 140px;
  object-fit: contain;
  margin-bottom: 16px;
}
@media (min-width: 768px) {
  .why-item__icon { width: 160px; height: 160px; margin-bottom: 0; }
}
@media (min-width: 1024px) {
  .why-item__icon { width: 200px; height: 200px; }
}
.why-item__title {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  color: var(--mr-teal);
  line-height: 1.2;
  margin: 0;
}
.why-item__body {
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
}

/* Mail'n Roll banner — distressed headline + CTA */
.banner {
  position: relative;
  overflow: hidden;
  padding: 48px 0 56px;
  background: var(--mr-mint);
  display: flex;
  align-items: center;
}
@media (min-width: 1024px) { .banner { padding: 100px 0 110px; min-height: 520px; } }

.banner__wordmark-img {
  display: block;
  width: 100%;
  max-width: 1100px;
  height: auto;
  margin: 0 auto 24px;
}
@media (min-width: 1024px) {
  .banner__wordmark-img { margin-bottom: 40px; }
}

.banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.banner__content {
  max-width: 500px;
  text-align: left;
  margin-left: auto;
}
.banner__content h2 {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 20px;
  color: var(--mr-dark);
}

/* Distressed display type (shared) */
.grunge-text {
  font-family: 'Oswald', 'Impact', 'Arial Narrow Bold', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  fill: var(--mr-teal);
  filter: url(#grunge);
}

/* Testimonial */
.testimonial {
  background: var(--mr-teal);
  color: #fff;
  padding: 64px 0;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.testimonial .container { position: relative; z-index: 2; width: 100%; }
.testimonial__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 600px;
}
.testimonial__avatar {
  width: 260px; height: 260px;
  border-radius: 0;
  object-fit: cover;
  background: transparent;
}
.testimonial__quote {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.5;
  font-weight: 600;
  margin: 0 0 16px;
}
.testimonial__quote > p { display: inline; margin: 0; }
.testimonial__quote > ul,
.testimonial__quote > ol { display: block; margin: 0.5em 0; }
.testimonial__quote::before { content: '\201C'; }
.testimonial__quote::after { content: '\201D'; }
.testimonial__author { font-size: 16px; margin: 0 0 24px; opacity: .9; }

.testimonial__art-track { display: none; }
@media (min-width: 1024px) {
  .testimonial { min-height: calc(100vh - 70px); padding: 0; }
  .testimonial__art-track {
    display: block;
    position: fixed;
    top: 70px;
    right: 0;
    left: auto;
    bottom: auto;
    height: calc(100vh - 70px);
    width: 56%;
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
    transition: opacity .3s ease;
  }
  .testimonial__art-track.is-hidden { opacity: 0; }
  .testimonial__art {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
}

/* Guarantees grid — strict 3x2 on desktop matching Figma */
.guarantee-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .guarantee-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .guarantee-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.guarantee {
  position: relative;
  aspect-ratio: 1 / 1;
  background: transparent;
  color: #fff;
  padding: 0;
  display: block;
  transition: transform .2s;
}
.guarantee:hover { transform: translateY(-4px); }
.guarantee__icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.guarantee__title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22% 18%;
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  max-width: none;
  z-index: 2;
}

/* Process timeline — single illustration */
.process-flow {
  position: relative;
  padding: 24px 0;
}
.process-flow__img {
  display: block;
  width: 100%;
  max-width: 1100px;
  height: auto;
  margin: 0 auto;
}

/* Mobile default: vertical stack with down arrows between items */
.process-flow__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.process-flow__down {
  display: flex;
  justify-content: center;
  color: var(--mr-teal);
  margin: 8px 0;
}
.process-flow__down svg { width: 32px; height: 32px; }

/* Desktop: 4-in-row, then reverse 3-in-row with connector between */
@media (min-width: 900px) {
  .process-flow__row--top { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .process-flow__row--bottom {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-right: calc(25% + 8px);
    direction: rtl; /* reverse visually; content set with dir=ltr per item */
  }
  .process-flow__row--bottom > .process-item { direction: ltr; }
  .process-flow__bridge {
    position: relative;
    height: 80px;
    margin: 12px 0 8px;
  }
  .process-flow__bridge svg {
    position: absolute;
    right: 12%;
    top: 0;
    width: 140px;
    height: 80px;
    overflow: visible;
  }
  .process-flow__down { display: none; }
}

.process-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  position: relative;
}
.process-item__icon {
  width: 120px; height: 120px;
  object-fit: contain;
}
.process-item__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--mr-dark);
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.3;
  max-width: 180px;
}

/* Inline horizontal connector arrow between items on desktop */
.process-item__arrow {
  display: none;
  position: absolute;
  top: 60px;
  right: -30px;
  color: var(--mr-teal);
  z-index: 1;
}
.process-item__arrow svg { width: 30px; height: 30px; }
.process-item__arrow--left { right: auto; left: -30px; transform: scaleX(-1); }
@media (min-width: 900px) {
  .process-item:not(:last-child) .process-item__arrow { display: block; }
}

/* Vertical service timeline — mint pill spine with icons + arrows */
.service-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 72px;
  padding: 40px 0;
}
.service-timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 60px;
  background: #CEFFDD;
  border-radius: 80px;
  z-index: 0;
}
@media (min-width: 768px) {
  .service-timeline { gap: 80px; padding: 56px 0; }
  .service-timeline::before { width: 100px; left: 70px; }
}
.service-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .service-item { grid-template-columns: 240px 1fr; gap: 40px; }
}
.service-item__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  margin: 0 auto;
  background: transparent;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .service-item__icon-wrap { width: 180px; height: 180px; }
}
.service-item__icon-wrap img { width: 100%; height: 100%; object-fit: contain; }
.service-item__body { padding-top: 0; }
.service-item__title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--mr-teal);
  line-height: 1.2;
  margin: 0 0 12px;
}
.service-item__text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--mr-dark);
  margin: 0;
}
/* Down arrow (SVG) between items, centered on the mint pill */
.service-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 45px;
  margin-top: 20px;
  width: 30px;
  height: 33px;
  transform: translateX(-50%);
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='67' viewBox='0 0 60 67' fill='none'><rect x='47' y='0' width='32' height='33' transform='rotate(90 47 0)' fill='white'/><path d='M30 67L60 32L0 32L30 67Z' fill='white'/></svg>") no-repeat center / contain;
  z-index: 2;
}
@media (min-width: 768px) {
  .service-item:not(:last-child)::after { left: 120px; width: 44px; height: 48px; }
}

/* About page feature list */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 16px 0;
}
.feature-item {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 768px) {
  .feature-item { grid-template-columns: 280px 1fr; gap: 40px; }
}
.feature-item__icon-wrap {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 4px;
  max-width: 280px;
}
@media (min-width: 768px) {
  .feature-item__icon-wrap { margin-left: 2rem; }
}
.feature-item__icon-wrap img { width: 100%; height: 100%; object-fit: contain; }
.feature-item__title {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--mr-teal);
  line-height: 1.2;
  margin: 0 0 12px;
}
.feature-item__text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--mr-dark);
  margin: 0;
}

/* Blog cards */
.blog-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  transition: transform .2s;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card__img {
  object-fit: cover;
}
.blog-card__body { padding: 24px 33px; flex: 1; display: flex; flex-direction: column; }
.blog-card__title {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--mr-dark);
  margin: 0 0 12px;
}
.blog-card__excerpt {
  font-size: 16px;
  line-height: 1.55;
  color: var(--mr-dark);
  margin: 0 0 20px;
  flex: 1;
}
.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mr-teal);
  font-weight: 600;
  font-size: 15px;
}
.blog-card__link:hover { gap: 12px; transition: gap .2s; }

.blog-grid__load-more {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}
.blog-grid__load-more-btn {
  appearance: none;
  border: 2px solid var(--mr-teal);
  background: transparent;
  color: var(--mr-teal);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.blog-grid__load-more-btn:hover:not(:disabled) { background: var(--mr-teal); color: #fff; }
.blog-grid__load-more-btn:disabled { opacity: 0.6; cursor: progress; }

/* Blog detail */
.blog-hero {
  background: var(--mr-mint);
  padding: 48px 0 32px;
}
/* Background variants (page-builder MR Blog Hero block). Default/mint keep the
   dark text + teal button; the teal background flips text to white and swaps
   the button to the mint (light-green) variant for contrast. */
.blog-hero--white { background: #fff; }
.blog-hero--mint { background: var(--mr-mint); }
.blog-hero--teal { background: var(--mr-teal); }
.blog-hero--teal .blog-hero__title,
.blog-hero--teal .blog-hero__lead { color: #fff; }
.blog-hero--teal .blog-hero__cta { background: var(--mr-mint); color: var(--mr-dark); }
.blog-hero--teal .blog-hero__cta:hover { background: #b4f5cc; }
.blog-hero__inner {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 768px) {
  .blog-hero__inner { grid-template-columns: 1fr 1fr; gap: 48px; padding: 40px 0; }
}
.blog-hero__img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}
.blog-hero__title {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--mr-dark);
  margin: 0 0 24px;
}
.blog-hero__lead {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.5;
  color: var(--mr-dark);
  margin: 0;
}
.blog-hero__cta { margin-top: 28px; }

/* Site popup — reuses the blog-hero content inside a centered modal card. */
.site-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.site-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.site-popup__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow: auto;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  background: #fff;
  animation: site-popup-in .25s ease;
}
@keyframes site-popup-in {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.site-popup__close {
  position: absolute;
  top: 10px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: #31494b;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}
.site-popup__close:hover { background: #fff; }
/* The blog-hero is full-bleed by default; inside the popup card it should fill
   the card with comfortable padding instead. */
.site-popup__card .blog-hero { padding: 40px 8px; }
.site-popup__card .blog-hero__inner { padding: 0; gap: 28px; }
@media (min-width: 768px) {
  .site-popup__card .blog-hero__inner { padding: 0; }
}

.prose {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 40px;
  background: #fff;
  font-size: 17px;
  line-height: 1.65;
  color: var(--mr-dark);
}
/* Extend the white background full-viewport-width behind the prose article */
.prose::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 100vw;
  height: 100%;
  background: #fff;
  z-index: -1;
}
.prose h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--mr-teal);
  margin: 40px 0 16px;
  line-height: 1.25;
}
.prose h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--mr-dark);
  margin: 32px 0 12px;
}
.prose h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--mr-dark);
  margin: 24px 0 10px;
  line-height: 1.35;
}
.prose h1 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: var(--mr-dark);
  margin: 0 0 24px;
  line-height: 1.2;
}
.prose p { margin: 0 0 16px; }
.prose em { font-style: italic; }
.prose strong { font-weight: 700; }
.prose a { color: var(--mr-teal); text-decoration: underline; }
/* Lists — Quill 2 exports both bullet and numbered lists as <ol>, marking the
   variant via data-list="bullet"/"ordered" on each <li>. Restore native markers
   and give bullet items disc markers so they don't render as 1.2.3. */
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 1.5em; list-style: revert; }
.prose li { margin: 0.3em 0; }
.prose ol > li[data-list="bullet"] { list-style-type: disc; }
/* Quill injects an empty <span class="ql-ui"> marker that leaks as whitespace
   on the frontend; the editor hides it, so do the same here. */
.prose .ql-ui { display: none; }

/* Blog list hero (mint banner with title + DAAROM artwork) */
.blog-list-hero {
  background: var(--mr-mint);
  padding: 48px 0 32px;
  position: relative;
  overflow: hidden;
}
.blog-list-hero .container { width: 100%; height: 100%; }
.blog-list-hero__inner {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  align-items: center;
  height: 100%;
}
@media (min-width: 768px) {
  .blog-list-hero { padding: 72px 0; }
  .blog-list-hero__inner { grid-template-columns: 1fr 1.2fr; gap: 48px; }
}
@media (min-width: 1024px) {
  .blog-list-hero {
    padding: 0;
    min-height: calc(100vh - 70px);
    height: calc(100vh - 70px);
    display: flex;
    align-items: center;
  }
  .blog-list-hero__inner {
    grid-template-columns: 1fr;
    grid-template-areas: "stack";
    place-items: center;
  }
  .blog-list-hero__title,
  .blog-list-hero__daarom {
    grid-area: stack;
  }
  .blog-list-hero__daarom {
    max-width: 1700px;
    z-index: 1;
    justify-self: end;
  }
  .blog-list-hero__title {
    z-index: 2;
    max-width: none;
    white-space: nowrap;
    justify-self: start;
  }
}
.blog-list-hero__daarom {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 0;
}
.blog-list-hero__title {
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 700;
  color: var(--mr-dark);
  line-height: 1.1;
  margin: 0;
  max-width: 520px;
}
/* Blog grid: 2 columns on tablet and desktop, narrower cards */
@media (min-width: 640px) {
  .blog-list-hero ~ .section .blog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 900px;
    margin: 0 auto;
  }
}
/* Remove top padding so the blog grid sits flush against the banner */
.blog-list-hero + .section { padding-top: 0; }

/* Contact */
.contact-hero {
  background: var(--mr-mint);
  padding: 48px 0 64px;
}

/* On desktop the 140x140 dark logo tile is sticky and overhangs 70px below the nav,
   so it can cover the leftmost ~140px of any block as the user scrolls.
   Give every content block's container a 160px left gutter, except the full-bleed
   home/about heroes which use the entire viewport width by design. .hero--mint
   uses shallow inline padding (64px) so its content lands under the logo too —
   it gets the gutter like any other shallow block. */
@media (min-width: 1024px) {
  main > :not(.hero--home):not(.hero--about) > .container {
    padding-left: 160px;
  }
}
.contact-layout {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
/* Raw third-party booking embed (e.g. GoHighLevel iframe). The loader script
   resizes the iframe at runtime; give it a sensible min-height so it doesn't
   flash at the browser-default ~150px before that happens. */
.contact-embed { width: 100%; }
.contact-embed iframe { width: 100%; min-height: 700px; border: 0; display: block; }
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 320px 1fr; gap: 48px; }
}
.booking-card {
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .booking-card { grid-template-columns: 1fr 1fr; }
}
.booking-card__left {
  padding: 24px;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}
@media (min-width: 768px) {
  .booking-card__left { border-bottom: 0; border-right: 1px solid rgba(26, 26, 26, 0.08); }
}
.booking-card__logo { width: 80px; margin-bottom: 12px; }
.booking-card__title {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--mr-ink);
  margin: 0 0 16px;
  line-height: 1.3;
}
.booking-card__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.booking-card__meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--mr-teal);
  font-weight: 600;
  font-size: 15px;
}
.booking-card__desc { font-size: 15px; color: var(--mr-ink); line-height: 1.5; margin: 0; }
.booking-card__right { padding: 24px; }

/* Calendar */
.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.calendar-head button {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #f3f3f3;
  border: 0;
  cursor: pointer;
  color: var(--mr-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.calendar-head button:hover { background: #e7e7e7; }
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
}
.calendar-grid .dow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(26,26,26,0.6);
  padding: 8px 0;
}
.calendar-cell {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
  color: rgba(26,26,26,0.6);
  cursor: default;
  min-height: 36px;
}
.calendar-cell.is-available {
  background: var(--mr-teal-soft);
  color: var(--mr-teal);
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.calendar-cell.is-available:hover { background: rgba(0,177,182,0.22); }
.calendar-cell.is-selected { background: var(--mr-teal); color: #fff; }
.calendar-cell.is-empty { visibility: hidden; }

/* Contact form */
.contact-form-section { padding: 64px 0; background: #fff; }
.contact-form {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .contact-form { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--mr-dark);
}
.field input,
.field textarea {
  background: var(--mr-mint);
  border: 0;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--mr-dark);
  font-family: inherit;
  outline: none;
  border: 2px solid transparent;
  transition: border-color .2s;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--mr-placeholder); }
.field input:focus,
.field textarea:focus { border-color: var(--mr-teal); }
.field textarea { resize: vertical; min-height: 160px; }
.field--message { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .field--message { grid-column: 2; grid-row: 1 / span 4; }
  .field--message textarea { min-height: 100%; }
}
.form-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
@media (min-width: 768px) {
  .form-actions { grid-column: 2; justify-content: flex-end; }
}

/* Footer */
.site-footer {
  background: var(--mr-dark);
  color: #fff;
  padding: 48px 0 32px;
  position: relative;
  overflow: hidden;
}
.site-footer__inner {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  align-items: start;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 100px repeat(3, 1fr);
    gap: 40px;
  }
}
.site-footer__logo img { width: 80px; }
.site-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.site-footer__col a {
  font-size: 15px;
  opacity: .9;
  transition: opacity .2s, color .2s;
}
.site-footer__col a:hover { opacity: 1; color: var(--mr-teal); }
.site-footer__copyright {
  font-size: 14px;
  opacity: .7;
  margin-top: 24px;
}
@media (min-width: 768px) {
  .site-footer__copyright { margin-top: 0; text-align: right; }
}

/* Final CTA block before footer */
.cta-block {
  background: #00B1B6;
  padding: 64px 0;
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
}
.cta-block--mint { background: #CEFFDD; }
.cta-block--mint .cta-block__title { color: #000; }
.cta-block__sell { display: none; }
.cta-block .container { width: 100%; }
.cta-block__inner { position: relative; z-index: 2; max-width: 600px; text-align: left; }
.cta-block__title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 24px;
  line-height: 1.15;
}
.cta-block__art-track { display: none; }
@media (min-width: 1024px) {
  .cta-block {
    min-height: calc(100vh - 240px);
    padding: 0;
  }
  .cta-block__art-track {
    display: block;
    position: fixed;
    top: 160px;
    right: 0;
    left: auto;
    bottom: auto;
    height: calc(100vh - 240px);
    width: 56%;
    opacity: 1;
    z-index: 1;
    pointer-events: none;
    transition: opacity .3s ease;
  }
  .cta-block__art-track.is-hidden { opacity: 0; }
  .cta-block__art-img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
  }
  .cta-block__sell {
    display: block;
    position: absolute;
    top: 90px;
    right: 0;
    width: 56%;
    height: calc(100vh - 240px);
    object-fit: contain;
    object-position: center center;
    z-index: 3;
    pointer-events: none;
  }
}

/* Utilities */
.text-teal { color: var(--mr-teal); }
.text-dark { color: var(--mr-dark); }
.text-white { color: #fff; }
.mb-0 { margin-bottom: 0; }
.mt-6 { margin-top: 48px; }

.hidden { display: none; }
@media (min-width: 768px) {
  .hidden-md { display: none; }
  .show-md { display: block; }
}

/* Accessibility */
:focus-visible {
  outline: 2px solid var(--mr-teal);
  outline-offset: 2px;
}

/* Smooth section transitions */
.fade-section {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}
