/* Veylrio: primary palette (teal & terracotta) */
:root {
  --ink: #123a36;         /* teal */
  --ink-glow: #17453f;    /* lifted teal for subtle gradients */
  --clay: #c56a4a;        /* terracotta accent (on light) */
  --clay-lifted: #e0906f; /* accent on dark */
  --paper: #f0ebe1;       /* light background */
  --paper-card: #f7f3ea;
  --paper-deep: #e7dfcd;  /* darker band for alternating sections */
  --line: rgba(18, 58, 54, 0.14);
  --shadow: 0 1px 2px rgba(18, 58, 54, 0.06), 0 8px 24px rgba(18, 58, 54, 0.08);
  --radius: 14px;
  --maxw: 1080px;
  --sans: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

/* Visually hidden but available to screen readers and crawlers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--clay); }

/* ---- Header (dark, sticky) ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  box-shadow: 0 6px 20px rgba(18, 58, 54, 0.18);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
}
.brand { display: inline-flex; }
.brand__logo { height: 30px; width: auto; display: block; }

.site-nav { display: flex; gap: 1.4rem; }
.site-nav a {
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.site-nav a:hover { color: var(--clay-lifted); }
.site-nav a.is-active { border-bottom-color: var(--clay-lifted); }

/* ---- Hero (dark, reversed) ---- */
.hero {
  position: relative;
  background: radial-gradient(125% 130% at 10% -25%, var(--ink-glow) 0%, var(--ink) 58%);
  color: var(--paper);
  overflow: hidden;
}
/* Brand "signal-fan" pattern: seamless tile covering the full height,
   faded in from the left so it stays on the right and never fights the text */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/images/pattern-tile-dark.svg") 0 0 / 74px auto repeat;
  opacity: 0.14;
  -webkit-mask-image: linear-gradient(100deg, transparent 38%, #000 92%);
  mask-image: linear-gradient(100deg, transparent 38%, #000 92%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 100px 1.5rem;
}

.hero__eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--clay-lifted);
  margin: 0 0 1.5rem;
}
.hero__title {
  font-weight: 700;
  font-size: clamp(2.6rem, 7.2vw, 4.6rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 0 0 1.5rem;
  max-width: 16ch;
}
.hero__title-lead { display: block; }
.hero__title-accent {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--clay-lifted);
}
.hero__intro {
  font-size: 1.2rem;
  max-width: 560px;
  margin: 0 0 2.25rem;
  color: rgba(240, 235, 225, 0.82);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 2.25rem;
}

.hero__highlights {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  padding: 0;
  margin: 0;
}
.hero__highlight {
  position: relative;
  padding-left: 1.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--paper);
}
.hero__highlight::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--clay-lifted);
}

/* ---- Buttons ---- */
.button {
  display: inline-block;
  background: var(--clay);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: transform 0.12s ease, background 0.15s ease;
}
.button:hover { background: #b45c3e; transform: translateY(-1px); }

.button--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
  box-shadow: none;
}
.button--ghost:hover { background: transparent; border-color: var(--ink); }

/* Ghost button on the dark hero */
.hero .button--ghost { color: var(--paper); border-color: rgba(240, 235, 225, 0.35); }
.hero .button--ghost:hover { border-color: var(--paper); }

/* ---- Main / features (paper) ---- */
.site-main {
  --main-pad-bottom: 4rem;
  flex: 1;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 3.5rem 1.5rem var(--main-pad-bottom);
}
/* A full-bleed band that ends the page sits flush against the footer */
.site-main > .band:last-child { margin-bottom: calc(-1 * var(--main-pad-bottom)); }
/* ---- Shared section header ---- */
.section-head { max-width: 660px; margin: 0 auto 2.5rem; text-align: center; }
.section-head__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--clay);
  margin: 0 0 0.75rem;
}
.section-head__title {
  font-size: clamp(1.9rem, 4.2vw, 2.7rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
}
.section-head__subtitle { margin: 0; color: rgba(18, 58, 54, 0.8); font-size: 1.05rem; }

/* ---- What we sell (icon cards) ---- */
.offer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}
.offer-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.offer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(197, 106, 74, 0.45);
  box-shadow: 0 2px 6px rgba(18, 58, 54, 0.08), 0 18px 40px rgba(18, 58, 54, 0.14);
}
.offer-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: rgba(197, 106, 74, 0.12);
  color: var(--clay);
  margin-bottom: 1.1rem;
}
.offer-card__icon svg { display: block; }
.offer-card__title { margin: 0 0 0.5rem; font-size: 1.15rem; letter-spacing: -0.01em; }
.offer-card__body { margin: 0; color: rgba(18, 58, 54, 0.82); font-size: 0.96rem; }

/* ---- How it works (numbered steps) ---- */
.steps { margin-top: 4.5rem; scroll-margin-top: 90px; }
.steps__list {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  padding: 0;
  margin: 0;
}
.step {
  counter-increment: step;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.step::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--clay);
  color: var(--paper);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}
.step__title { margin: 0 0 0.5rem; font-size: 1.1rem; }
.step__body { margin: 0; color: rgba(18, 58, 54, 0.85); font-size: 0.95rem; }

/* ---- Testimonials ---- */
.quotes { margin-top: 4.5rem; scroll-margin-top: 90px; }
.quotes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.quote {
  margin: 0;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}
.quote__text {
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.55;
}
.quote__text::before { content: "\201C"; color: var(--clay); }
.quote__text::after { content: "\201D"; color: var(--clay); }
.quote__by { display: flex; flex-direction: column; gap: 0.1rem; }
.quote__name { font-weight: 700; }
.quote__role { font-size: 0.88rem; color: rgba(18, 58, 54, 0.65); }

/* ---- FAQ ---- */
.faq { margin-top: 4.5rem; scroll-margin-top: 90px; }
.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}
.faq__item {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
}
.faq__question {
  cursor: pointer;
  list-style: none;
  position: relative;
  font-weight: 700;
  padding: 1.1rem 3rem 1.1rem 1.4rem;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: "+";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--clay);
  font-size: 1.4rem;
  font-weight: 600;
  transition: transform 0.15s ease;
}
.faq__item[open] .faq__question::after { content: "–"; }
.faq__answer { margin: 0; padding: 0 1.4rem 1.2rem; color: rgba(18, 58, 54, 0.85); }

/* ---- Own vs. rent comparison ---- */
.compare { margin-top: 4.5rem; scroll-margin-top: 90px; }
.compare__table {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.compare__row {
  display: grid;
  grid-template-columns: 170px 1fr 1fr;
  gap: 0 1.5rem;
  padding: 1.15rem 1.5rem;
  border-top: 1px solid var(--line);
}
.compare__row:first-child { border-top: 0; }
.compare__row--head {
  padding-top: 1rem;
  padding-bottom: 1rem;
  background: rgba(18, 58, 54, 0.04);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.compare__row--head .compare__cell--vendor { color: rgba(18, 58, 54, 0.55); }
.compare__row--head .compare__cell--own { color: var(--clay); }

.compare__aspect {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.compare__cell {
  position: relative;
  margin: 0;
  padding-left: 1.7rem;
  font-size: 0.95rem;
  line-height: 1.55;
}
.compare__row--head .compare__cell { padding-left: 0; }
.compare__cell--vendor { color: rgba(18, 58, 54, 0.68); }
.compare__cell--own { color: rgba(18, 58, 54, 0.92); }

/* ✕ for the vendor side, ✓ for the ownership side */
.compare__row:not(.compare__row--head) .compare__cell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 1.05rem;
  height: 1.05rem;
}
.compare__row:not(.compare__row--head) .compare__cell--vendor::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23123A36' stroke-opacity='0.4' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3C/svg%3E") center / contain no-repeat;
}
.compare__row:not(.compare__row--head) .compare__cell--own::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C56A4A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Per-cell labels only appear when the head row is hidden (mobile) */
.compare__tag { display: none; }
.compare__note {
  max-width: 720px;
  margin: 2.25rem auto 0;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(18, 58, 54, 0.72);
}

@media (max-width: 760px) {
  .compare__row--head { display: none; }
  .compare__row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1.25rem 1.25rem;
  }
  .compare__aspect { font-size: 1.05rem; }
  .compare__tag {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.2rem;
  }
  .compare__cell--vendor .compare__tag { color: rgba(18, 58, 54, 0.55); }
  .compare__cell--own .compare__tag { color: var(--clay); }
}

/* ---- Setup bundles (comparison matrix) ---- */
.bundles { margin-top: 4.5rem; scroll-margin-top: 90px; }
.bundles__scroll { overflow-x: auto; border-radius: var(--radius); }
.bundles__table {
  min-width: 760px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.bundles__row {
  display: grid;
  grid-template-columns: minmax(240px, 1.8fr) repeat(3, 1fr);
  align-items: center;
  border-top: 1px solid var(--line);
}
.bundles__row:first-child { border-top: 0; }
.bundles__row--head {
  align-items: stretch;
  background: rgba(18, 58, 54, 0.04);
}
.bundles__feature {
  padding: 0.8rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(18, 58, 54, 0.9);
}
.bundles__tier {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.3rem;
  padding: 1.1rem 1rem;
  text-align: center;
  border-left: 1px solid var(--line);
}
.bundles__tier--featured { background: rgba(197, 106, 74, 0.09); }
.bundles__tier-name { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.bundles__tier--featured .bundles__tier-name { color: var(--clay); }
.bundles__tier-tagline { font-size: 0.8rem; color: rgba(18, 58, 54, 0.7); line-height: 1.4; }

.bundles__mark {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  border-left: 1px solid var(--line);
}
.bundles__mark--featured { background: rgba(197, 106, 74, 0.06); }
.bundles__mark::before {
  content: "";
  width: 0.85rem;
  height: 2px;
  border-radius: 2px;
  background: rgba(18, 58, 54, 0.22);
}
.bundles__mark--yes::before {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C56A4A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Stacked per-tier cards, shown instead of the matrix on small screens */
.bundles__cards { display: none; }
.bundle-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow);
}
.bundle-card--featured { border: 1.5px solid var(--clay); }
.bundle-card__name { margin: 0 0 0.2rem; font-size: 1.25rem; letter-spacing: -0.01em; }
.bundle-card--featured .bundle-card__name { color: var(--clay); }
.bundle-card__tagline { margin: 0 0 1rem; color: rgba(18, 58, 54, 0.7); font-size: 0.92rem; }
.bundle-card__inherits { margin: 0 0 0.85rem; font-weight: 700; font-size: 0.9rem; }
.bundle-card__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.bundle-card__item {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
.bundle-card__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 1.05rem;
  height: 1.05rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C56A4A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 760px) {
  .bundles__scroll { display: none; }
  .bundles__cards { display: grid; gap: 1.25rem; }
}
.bundles__note {
  max-width: 720px;
  margin: 2.25rem auto 0;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(18, 58, 54, 0.72);
}

/* ---- Blog slider (home) ---- */
.blogroll { margin-top: 4.5rem; scroll-margin-top: 90px; }
.blogroll__slider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.blogroll__viewport { overflow: hidden; flex: 1; }
.blogroll__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.25rem 0.25rem 1rem;
  scrollbar-width: none;
}
.blogroll__track::-webkit-scrollbar { display: none; }
.blogroll__card {
  flex: 0 0 min(340px, 82vw);
  scroll-snap-align: start;
}
.blogroll__arrow {
  flex: 0 0 auto;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--paper-card);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0.2rem;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}
.blogroll__arrow:hover { border-color: var(--clay); color: var(--clay); transform: translateY(-1px); }
.blogroll__all { margin: 1.5rem 0 0; text-align: center; }

@media (max-width: 600px) {
  .blogroll__arrow { display: none; }
}

/* ---- Book a call (dark banner) ---- */
.book {
  position: relative;
  margin-top: 4.5rem;
  scroll-margin-top: 90px;
  background: radial-gradient(120% 160% at 15% -30%, var(--ink-glow) 0%, var(--ink) 60%);
  color: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(18, 58, 54, 0.1), 0 20px 48px rgba(18, 58, 54, 0.22);
}
.book::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/images/pattern-tile-dark.svg") 0 0 / 74px auto repeat;
  opacity: 0.12;
  -webkit-mask-image: linear-gradient(100deg, transparent 42%, #000 95%);
  mask-image: linear-gradient(100deg, transparent 42%, #000 95%);
  pointer-events: none;
}
.book__inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 0;
  text-align: center;
}
.book__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--clay-lifted);
  margin: 0 0 1rem;
}
.book__title {
  font-size: clamp(1.9rem, 4.2vw, 2.7rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
}
.book__body {
  margin: 0 0 2rem;
  color: rgba(240, 235, 225, 0.82);
  font-size: 1.05rem;
}
.book__calendar {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.book__calendar iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: #fff;
}
.book__email {
  position: relative;
  z-index: 1;
  margin: 1.75rem 0 0;
  padding: 0 1.5rem 3rem;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(240, 235, 225, 0.75);
}
.book__email-link {
  color: var(--clay-lifted);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(224, 144, 111, 0.45);
}
.book__email-link:hover { border-bottom-color: var(--clay-lifted); }

/* ---- Generic page (about / error) ---- */
.page { max-width: 640px; }
.page--center { text-align: center; margin: 2rem auto; }
.page__title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 1rem; letter-spacing: -0.02em; }
.page__intro { font-size: 1.12rem; margin: 0 0 1.75rem; }

/* ---- About the team (home) ---- */
.about { margin-top: 4.5rem; scroll-margin-top: 90px; }
.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 420px));
  gap: 1.5rem;
  justify-content: center;
}
.team-member {
  display: flex;
  flex-direction: column;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.team-member__photo {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.team-member__content { padding: 1.5rem; }
.team-member__head { margin: 0 0 1rem; }
.team-member__name { margin: 0; font-size: 1.25rem; letter-spacing: -0.01em; }
.team-member__role {
  margin: 0.15rem 0 0;
  color: var(--clay);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.team-member__bio p { margin: 0 0 1rem; color: rgba(18, 58, 54, 0.88); }
.team-member__bio p:last-child { margin-bottom: 0; }

.error-code {
  font-size: clamp(3rem, 12vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--clay);
  margin: 0 0 0.5rem;
  line-height: 1;
}

/* ---- Blog listing ---- */
.blog__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 2.25rem;
}
.blog__filter {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.95rem;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.blog__filter:hover { border-color: var(--clay); color: var(--clay); }
.blog__filter.is-active {
  background: var(--clay);
  border-color: var(--clay);
  color: var(--paper);
}
.blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.blog__empty { text-align: center; color: rgba(18, 58, 54, 0.72); }

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.post-card__media { display: block; }
.post-card__image { display: block; width: 100%; height: 180px; object-fit: cover; }
.post-card__body { display: flex; flex-direction: column; padding: 1.5rem; }
.post-card__meta {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
}
.post-card__category {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--clay);
}
.post-card__date { color: rgba(18, 58, 54, 0.6); }
.post-card__title { margin: 0 0 0.6rem; font-size: 1.2rem; line-height: 1.35; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--clay); }
.post-card__excerpt { margin: 0 0 1rem; color: rgba(18, 58, 54, 0.85); font-size: 0.95rem; }
.post-card__more { font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.post-card__more:hover { text-decoration: underline; }

/* ---- Blog post ---- */
.post { max-width: 720px; margin: 0 auto; }
.post__head { margin: 0 0 1.75rem; }
.post__meta {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
}
.post__category {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--clay);
  text-decoration: none;
}
.post__category:hover { text-decoration: underline; }
.post__date { color: rgba(18, 58, 54, 0.6); }
.post__title {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 0.85rem;
}
.post__excerpt {
  margin: 0;
  font-size: 1.15rem;
  color: rgba(18, 58, 54, 0.75);
}
.post__image {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  margin: 0 0 1.75rem;
}
.post__body { font-size: 1.05rem; }
.post__body p { margin: 0 0 1.2rem; }
.post__foot { margin-top: 2.5rem; }

/* ---- Admin CMS ---- */
.admin { max-width: 860px; margin: 0 auto; }
.admin--narrow { max-width: 640px; }
.admin__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0 0 1.75rem;
}
.admin__title { margin: 0; font-size: clamp(1.6rem, 3.5vw, 2.2rem); letter-spacing: -0.02em; }
.admin__actions { display: flex; gap: 0.75rem; align-items: center; }
.admin__inline { display: inline; margin: 0; }
.admin__error {
  background: rgba(197, 106, 74, 0.12);
  border: 1px solid rgba(197, 106, 74, 0.4);
  color: #9c4527;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.admin__form { display: grid; gap: 0.4rem; }
.admin__label { font-weight: 700; font-size: 0.9rem; margin-top: 0.9rem; }
.admin__hint { margin: 0; font-size: 0.82rem; color: rgba(18, 58, 54, 0.6); }
.admin__input {
  font: inherit;
  color: var(--ink);
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
}
.admin__input:focus { outline: 2px solid var(--clay); outline-offset: 1px; }
.admin__input--body { min-height: 280px; resize: vertical; }
.admin__form .button { margin-top: 1.5rem; justify-self: start; }

.admin__table {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.admin__row {
  display: grid;
  grid-template-columns: 2.2fr 1fr 0.8fr 1.6fr;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.admin__row:first-child { border-top: 0; }
.admin__row--head {
  background: rgba(18, 58, 54, 0.04);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.admin--section { margin-top: 3.5rem; }
.admin__cell-title a { color: var(--ink); text-decoration: none; font-weight: 600; }
.admin__cell-title a:hover { color: var(--clay); }
.admin__cell-quote {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin__status { text-transform: capitalize; color: rgba(18, 58, 54, 0.6); }
.admin__status--live { color: var(--clay); font-weight: 700; }
.admin__cell-actions { display: flex; gap: 0.9rem; align-items: center; flex-wrap: wrap; }
.admin__action {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clay);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}
.admin__action:hover { text-decoration: underline; }
.admin__action--danger { color: #a03d2e; }

@media (max-width: 720px) {
  .admin__row { grid-template-columns: 1fr; gap: 0.35rem; }
  .admin__row--head { display: none; }
}

/* ---- Section rhythm: spacing + alternating full-bleed bands ---- */
.steps, .compare, .bundles, .quotes, .blogroll, .about, .faq, .book { margin-top: 5.5rem; }
.band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 4.25rem max(1.5rem, calc(50vw - 540px)) 4.75rem;
  background: var(--paper-deep);
}

/* ---- FAQ page + home FAQ extras ---- */
.faq__more { text-align: center; margin: 1.75rem 0 0; }
.faq-page { max-width: 760px; margin: 0 auto; }
.faq-group { margin-top: 2.5rem; }
.faq-group__title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clay);
  margin: 0 0 0.85rem;
}
.faq-page__cta {
  margin: 2.75rem 0 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-weight: 600;
}

/* ---- Mobile refinements ---- */
@media (max-width: 640px) {
  .site-header__inner { padding: 0.85rem 1.25rem; }
  .brand__logo { height: 26px; }
  .site-nav { gap: 1rem; }

  .hero__inner { padding: 68px 1.25rem; }
  .hero__intro { font-size: 1.05rem; margin-bottom: 1.75rem; }
  .hero__cta { gap: 0.7rem; margin-bottom: 1.75rem; }
  .hero__cta .button { flex: 1 1 100%; text-align: center; }

  .site-main { --main-pad-bottom: 3rem; padding: 2.5rem 1.25rem var(--main-pad-bottom); }
  .steps, .compare, .bundles, .quotes, .blogroll, .about, .faq, .book { margin-top: 3.5rem; }
  .band {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
    padding-left: max(1.25rem, calc(50vw - 540px));
    padding-right: max(1.25rem, calc(50vw - 540px));
  }
  .section-head { margin-bottom: 1.75rem; }

  .post-card__body { padding: 1.25rem; }

  .book__inner { padding: 2.75rem 1.25rem 0; }
  .book__calendar { padding: 0 1rem; }
  .book__email { padding-bottom: 2.5rem; }

  .site-footer__inner { padding: 1.4rem 1.25rem; }
}

/* ---- Footer (dark) ---- */
.site-footer { background: var(--ink); color: var(--paper); margin-top: auto; }
.site-footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 3.25rem 1.5rem 1.5rem; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2.25rem;
}
.site-footer__logo { display: block; height: 30px; width: auto; margin-bottom: 1rem; }
.site-footer__tagline {
  margin: 0;
  color: rgba(240, 235, 225, 0.7);
  font-size: 0.95rem;
  max-width: 34ch;
}
.site-footer__col { display: flex; flex-direction: column; gap: 0.55rem; align-items: flex-start; }
.site-footer__head {
  margin: 0 0 0.4rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clay-lifted);
}
.site-footer__col a {
  color: rgba(240, 235, 225, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
}
.site-footer__col a:hover { color: var(--clay-lifted); }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(240, 235, 225, 0.14);
  padding-top: 1.4rem;
}
.site-footer p { margin: 0; padding: 0.1rem 0; }
.site-footer__mark { font-weight: 600; }
.site-footer__slogan { font-family: var(--serif); font-style: italic; color: var(--clay-lifted); }

@media (max-width: 760px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
