@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/kmKUZrc3Hgbbcjq75U4uslyuy4kn0olVQ-LglH6T17uj8Q4SDAlOvuPCfQ.woff2") format("woff2");
}
@font-face {
  font-family: "Libre Baskerville";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/kmKWZrc3Hgbbcjq75U4uslyuy4kn0qNccR04_RUJeby2OU36SgNPnObSfbge.woff2") format("woff2");
}
@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/kmKUZrc3Hgbbcjq75U4uslyuy4kn0olVQ-LglH6T17ujFgkSDAlOvuPCfQ.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/LDIbaomQNQcsA88c7O9yZ4KMCoOg4IA6-91aHEjcWuA_qU7NTxXUEKi4Rw.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/LDIbaomQNQcsA88c7O9yZ4KMCoOg4IA6-91aHEjcWuA_m07NTxXUEKi4Rw.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/LDIbaomQNQcsA88c7O9yZ4KMCoOg4IA6-91aHEjcWuA_d0nNTxXUEKi4Rw.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/LDIbaomQNQcsA88c7O9yZ4KMCoOg4IA6-91aHEjcWuA_TknNTxXUEKi4Rw.woff2") format("woff2");
}

:root {
  --teal: #05868c;
  --teal-deep: #004f59;
  --navy: #1f2a44;
  --ink: #333333;
  --muted: #5c6570;
  --line: #e5e5e5;
  --gold: #bd9749;
  --gold-hover: #bd6042;
  --cream: #fdf5ec;
  --sand: #ecdcbb;
  --peach: #f6ce9e;
  --white: #ffffff;
  --container: 1500px;
  --edge: 30px;
  --header-main: 100px;
  --topbar: 42px;
  --menu-pad: 15px;
  --shadow-menu: 0 0 20px rgba(0, 0, 0, 0.5);
  --font-body: "Plus Jakarta Sans", sans-serif;
  --font-heading: "Libre Baskerville", Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); text-decoration-thickness: 1px; }
a:hover { color: var(--gold-hover); }
button, input, select, textarea { font-family: inherit; }

h1, h2, h3, h4, .font-serif {
  font-family: var(--font-heading);
  color: var(--navy);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0;
}

h1 { font-size: clamp(2.15rem, 1.2rem + 2.4vw, 3.375rem); font-weight: 500; margin: 0 0 1rem; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 1.15rem + 1.5vw, 2.5rem); font-weight: 500; margin: 0 0 1rem; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 1rem + 0.4vw, 1.625rem); font-weight: 600; margin: 0 0 0.6rem; }
h4 { font-size: 1.25rem; font-weight: 700; margin: 0 0 0.4rem; }
h1 em, h2 em, h3 em { color: var(--teal); font-style: italic; font-weight: 400; }

p { margin: 0 0 1rem; }
.lead { font-size: 1.05rem; color: var(--ink); max-width: 68ch; }

.site-container {
  width: min(var(--container), calc(100% - (var(--edge) * 2)));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--gold);
  color: #fff;
  padding: 8px 12px;
  z-index: 10000;
}
.skip-link:focus { top: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; }

.topbar {
  background: var(--gold);
  color: #fff;
  min-height: 36px;
}
.topbar-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2px;
  min-height: 36px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 6px;
  border-radius: 4px;
}
.social-link:hover { color: var(--navy); }
.social-link svg { width: 18px; height: 18px; fill: currentColor; }
.social-link .label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.topbar .social-link:first-child .label,
.footer-social .social-link:first-child .label {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
}

.mainbar {
  background: var(--navy);
  min-height: var(--header-main);
  position: relative;
  transition: min-height 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-stuck .mainbar {
  min-height: 70px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.mainbar-inner {
  min-height: inherit;
  display: flex;
  align-items: stretch;
  gap: 18px;
  position: relative;
}
.brand { flex: 0 0 auto; display: flex; align-items: center; align-self: center; }
.brand img { width: 200px; height: auto; }
.site-header.is-stuck .brand img { width: 168px; }

.nav-wrap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin-left: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  min-height: inherit;
}

.primary-nav { display: flex; align-items: stretch; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav-item { position: static; display: flex; align-items: stretch; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
  letter-spacing: 0.01em;
  padding: 10px 12px;
  border-radius: 6px;
  background: transparent;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.nav-link:hover,
.nav-item.is-open > .nav-link,
.nav-link.is-active,
.nav-link:focus-visible {
  color: #83c1c0;
  background: transparent;
}
.caret {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: #fff !important;
  text-decoration: none;
  border: 0;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1.4;
  padding: 14px 28px;
  cursor: pointer;
  box-shadow: 0 0 0 -7px rgba(0,0,0,0);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--gold-hover); box-shadow: 0 15px 25px -7px rgba(0,0,0,0.18); color: #fff !important; }
.btn-navy { background: var(--navy); }
.btn-navy:hover { background: var(--teal); color: #fff !important; }
.btn-outline {
  background: transparent;
  color: var(--navy) !important;
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff !important; }
.header-cta {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  flex: 0 0 auto;
  padding: 12px 22px;
  z-index: 2;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}
.topbar .social-link:first-child { order: 10; }
.brand { position: relative; z-index: 2; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  color: #fff;
  border-radius: 6px;
  position: relative;
  z-index: 5;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  position: relative;
  margin: 0 auto;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

/* Mega menus — full width of the header bar, content constrained to 1500px */
.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 1px);
  background: #fff;
  color: #000;
  box-shadow: var(--shadow-menu);
  padding: 8px 0 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
  z-index: 40;
  pointer-events: none;
}
.mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  height: 20px;
}
.nav-item.is-open > .mega,
.mega:focus-within {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.mega-inner {
  width: min(var(--container), calc(100% - (var(--edge) * 2)));
  margin: 0 auto;
  padding: var(--menu-pad);
}
.mega a { color: var(--navy); text-decoration: none; }
.mega a:hover { color: var(--gold-hover); }

.mega-services {
  background-color: #fff;
  background-image: url("../images/png/services-megamenu-bg.png");
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: contain;
}
.mega-services .mega-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 280px;
}
.mega-thread { display: flex; align-items: center; justify-content: center; padding: 10px; }
.mega-thread img { width: 220px; height: auto; }
.svc-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 18px;
}
.icon-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
}
.icon-link img { width: 48px; height: 48px; object-fit: contain; flex: 0 0 48px; }
.icon-link:hover { background: var(--cream); }

.mega-cards .card-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 22px;
}
.card-col { display: flex; flex-direction: column; gap: 18px; }
.menu-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.35;
}
.menu-card img {
  width: 100%;
  height: 148px;
  object-fit: cover;
  border-radius: 2px;
  background: var(--sand);
}
.menu-card:hover img { opacity: 0.92; }

.mega-about {
  min-height: 300px;
  background-image: url("../images/png/man-holding-Jump-Start-your-Future.png");
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: contain;
}
.about-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 280px));
  gap: 8px 20px;
  min-height: 250px;
  padding-right: 220px;
}
.about-cols .icon-link img { width: 46px; height: 46px; flex-basis: 46px; }

.genre-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px 16px;
}

/* Mobile drawer */
.drawer {
  display: none;
}
.drawer-backdrop {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  background: #f7f4ef url("../images/png/palmetto-homepage-hero.png") center / cover no-repeat;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, calc(55% - 45px)) minmax(280px, calc(45% - 45px));
  gap: 90px;
  padding: 5rem 0;
  align-items: center;
}
.hero-grid > * { min-width: 0; }
.hero h1 {
  font-size: 60px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 1.64rem 0 36px;
}
.bookflow { container-type: inline-size; padding: 28px 0 0; width: 100%; max-width: 100%; }
.bookflow-window { overflow-x: clip; overflow-y: visible; max-width: 100%; }
.bookflow-track {
  display: flex;
  align-items: flex-end;
  width: max-content;
  transition: transform 600ms ease;
  transform: translateX(calc(var(--book-i, 0) * -20cqw));
}
.book {
  position: relative;
  z-index: 1;
  flex: 0 0 20cqw;
  width: 20cqw;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.book.is-active { z-index: 3; }
.book.is-active + .book { z-index: 6; }
.book.is-active + .book + .book { z-index: 10; }
.book.is-active + .book + .book + .book { z-index: 6; }
.book.is-active + .book + .book + .book + .book { z-index: 3; }
.cover {
  position: relative;
  display: block;
  width: 92%;
  transform-origin: 50% 100%;
  transform: scale(0.5);
  filter: drop-shadow(0 14px 16px rgba(50, 40, 30, 0.32));
}
.bookflow.is-ready .cover { transition: transform 600ms ease; }
.book.is-active .cover { transform: scale(0.58); }
.book.is-active + .book .cover { transform: scale(0.9) translateX(-8%); }
.book.is-active + .book + .book .cover { transform: scale(1.08); }
.book.is-active + .book + .book + .book .cover { transform: scale(0.92) translateX(8%); }
.book.is-active + .book + .book + .book + .book .cover { transform: scale(0.6); }
.cover img { width: 100%; height: auto; display: block; position: relative; z-index: 1; }
.cover::before {
  content: "";
  position: absolute;
  top: 2%;
  right: -7px;
  width: 7px;
  height: 96%;
  background: linear-gradient(to right, #fff 0%, #f0f3f5 50%, #d4dade 100%);
  border-radius: 0 2px 2px 0;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.12);
  z-index: 0;
}
.cover::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.16) 42%, rgba(0, 0, 0, 0) 100%);
  z-index: 2;
  pointer-events: none;
}
.hero p { max-width: none; font-size: 18px; line-height: 1.6; margin: 0 0 1.6rem; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 28px;
  margin: 0.4rem 0 0;
}
.tp-badge {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #191919;
  text-decoration: none;
  min-width: 148px;
}
.tp-brand { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.tp-brand svg { width: 20px; height: 20px; fill: #00b67a; }
.tp-stars { display: inline-flex; gap: 2px; }
.tp-stars i { width: 18px; height: 18px; background: #00b67a; display: block; position: relative; }
.tp-stars i::after {
  content: "★";
  color: #fff;
  font-size: 12px;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
}
.tp-score { font-size: 13px; color: #191919; }
.tp-score strong { font-weight: 700; }
.tp-score u { color: #191919; text-underline-offset: 2px; }
.ti-badge { display: flex; align-items: flex-start; gap: 8px; min-width: 150px; color: #191919; }
.ti-logo.bbb {
  width: 34px; height: 34px; flex: 0 0 34px;
  background: #005a78; color: #fff;
  font-size: 9px; font-weight: 800; letter-spacing: 0.04em;
  display: flex; align-items: center; justify-content: center;
}
.ti-logo.google { font-weight: 700; font-size: 15px; letter-spacing: -0.03em; line-height: 1; padding-top: 2px; }
.ti-logo.google span:nth-child(1) { color: #4285f4; }
.ti-logo.google span:nth-child(2) { color: #ea4335; }
.ti-logo.google span:nth-child(3) { color: #fbbc05; }
.ti-logo.google span:nth-child(4) { color: #4285f4; }
.ti-logo.google span:nth-child(5) { color: #34a853; }
.ti-logo.google span:nth-child(6) { color: #ea4335; }
.ti-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; font-size: 12px; line-height: 1.25; max-width: 150px; }
.ti-stars { color: #00b67a; letter-spacing: 1px; font-size: 13px; }
.ti-badge:last-child .ti-stars { color: #fbbc04; }
.ti-main strong { font-size: 14px; }
.ti-title { flex-basis: 100%; font-weight: 700; font-size: 12px; }
.ti-by { flex-basis: 100%; color: #6b6b6b; font-size: 11px; }

.inquiry-card {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(180deg, #05868c 0%, #bd9749 100%) border-box;
  border: 2px solid transparent;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 16px 32px rgba(0, 0, 0, 0.08);
  padding: clamp(24px, 3vw, 36px);
}
.hero .inquiry-card {
  padding: 5rem 3rem 1rem;
}
.inquiry-card h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.3;
  text-align: center;
  color: var(--navy);
  margin: 0 0 1.15rem;
}
.hero .inquiry-form .field { margin: 0 0 16px; }
.hero .inquiry-form select {
  height: 50px;
  border: 1px solid #707070;
  border-radius: 0;
  background-color: #fff;
  color: #222;
  font-size: 16px;
  font-weight: 400;
  padding: 0 40px 0 14px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.hero .form-actions { margin: 8px 0 4px; }
.hero .inquiry-card .form-actions .btn {
  width: 100%;
  min-height: 52px;
  border-radius: 4px;
  font-size: 16px;
  letter-spacing: 0.06em;
}
.inquiry-form .field:has(select[name="writing_help"]) { display: none; }
.inquiry-form .field label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea { border-radius: 0; border-color: #707070; }
.inquiry-form input[type="submit"].btn {
  width: 100%;
  height: 48px;
  cursor: pointer;
  border: 0;
}
.inquiry-card .form-actions .btn { width: 100%; }
.contact-form-card { max-width: 480px; }
.progress-dots { display: none; }
.form-grid { display: grid; gap: 12px; }
.field label, .sr-only-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--navy);
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%;
  height: 48px;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  padding: 0 14px;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
}
textarea { height: 120px; padding: 12px 14px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--teal);
  border-color: var(--teal);
}
.field-error { color: #9d2c2c; font-size: 13px; margin-top: 4px; }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.form-actions .btn { flex: 1; }
.call-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 20px 0 10px;
  color: #333;
  font-size: 16px;
  font-weight: 500;
}
.call-line a { font-weight: 500; color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.form-note { font-size: 12px; color: var(--muted); }
.form-success {
  background: #eef7f4;
  border: 1px solid #b7ddd4;
  color: var(--teal-deep);
  border-radius: 8px;
  padding: 14px;
}
.step { display: none; }
.step.is-active { display: block; }
.progress-dots { display: flex; gap: 6px; margin-bottom: 12px; }
.hero .progress-dots { display: none; }
.progress-dots i { width: 36px; height: 4px; background: #e5e5e5; border-radius: 4px; display: block; }
.progress-dots i.on { background: var(--gold); }

/* Sections */
.section { padding: 6.5rem 0 5rem; position: relative; overflow: hidden; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3, .section-navy p { color: #fff; }
.section-sand { background: #f6f1ea; }
.scheme-gold { background: linear-gradient(30deg, rgba(189, 151, 73, 0.33) 0%, #fff 30%); }
.scheme-green { background: linear-gradient(30deg, rgba(5, 134, 140, 0.33) 0%, #fff 30%); }
.section-teal { background: var(--teal); color: #fff; }
.section-teal h2, .section-teal h3, .section-teal p, .section-teal a { color: #fff; }
.accent { position: relative; padding-bottom: 32px; }
.accent::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 58px;
  border-top: 3px solid var(--gold);
}
.split .accent::after { left: 0; transform: none; }
.deco::before,
.deco::after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}
.deco > .site-container { position: relative; z-index: 1; }
.deco-circle-tl::before { width: 220px; height: 220px; left: -70px; top: -50px; background-image: url("../images/png/Circle.svg"); }
.deco-circle-tr::before { width: 220px; height: 220px; right: -70px; top: -40px; background-image: url("../images/png/Circle.svg"); }
.deco-star-br::after { width: 160px; height: 160px; right: 20px; bottom: 10px; background-image: url("../images/png/Star-Big.svg"); }
.deco-star-bl::after { width: 120px; height: 120px; left: 10px; bottom: 16px; background-image: url("../images/png/Star.svg"); }
.deco-star-tr::after { width: 160px; height: 160px; right: 24px; top: 10px; background-image: url("../images/png/Star-Big.svg"); }
.deco-circle-teal-bl::before { width: 200px; height: 200px; left: -40px; bottom: -40px; background-image: url("../images/png/Circle-Teal.svg"); }
.deco-comp-tr::after { width: 220px; height: 180px; right: 0; top: 0; background-image: url("../images/png/Composition-5.svg"); }
.center { text-align: center; }
.center .lead, .center p { margin-inline: auto; }

.marquee { overflow: hidden; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: marquee 40s linear infinite;
  padding: 22px 0;
  align-items: flex-end;
}
.marquee img { height: 210px; width: auto; max-width: none; filter: drop-shadow(0 10px 16px rgba(0,0,0,0.15)); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.kicker {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 16px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 8px;
}

.slider { position: relative; padding: 0 52px; }
.slider-viewport { overflow: hidden; }
.slider-track { display: flex; gap: 22px; transition: transform 0.4s ease; }
.genre-card {
  flex: 0 0 calc((100% - 44px) / 3);
  position: relative;
  background: transparent;
  border-radius: 0;
  padding: 12px 10px 8px;
  overflow: visible;
  min-height: 100%;
}
.genre-card::before {
  content: "";
  position: absolute;
  inset: 0 8% 38% 8%;
  background:
    radial-gradient(ellipse 55% 50% at 28% 42%, rgba(5, 134, 140, 0.28) 0%, transparent 70%),
    radial-gradient(ellipse 48% 45% at 72% 38%, rgba(189, 96, 66, 0.22) 0%, transparent 68%),
    radial-gradient(ellipse 40% 38% at 55% 68%, rgba(131, 193, 192, 0.35) 0%, transparent 70%),
    radial-gradient(circle at 78% 62%, rgba(189, 151, 73, 0.18) 0 18%, transparent 19%);
  pointer-events: none;
  z-index: 0;
}
.genre-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 14px 18px rgba(31, 42, 68, 0.16));
}
.genre-card .body { position: relative; z-index: 1; padding: 8px 4px 0; }
.genre-card h4 { color: var(--teal); font-family: var(--font-body); font-size: 20px; font-weight: 700; }
.genre-card p { font-size: 16px; color: #333; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 10px 0 0; }
.chips li {
  background: #fff;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid rgba(189, 151, 73, 0.35);
}
.slider-btn {
  position: absolute;
  top: 38%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: var(--gold);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}
.slider-btn:hover { background: var(--gold-hover); }
.slider-btn.prev { left: -8px; }
.slider-btn.next { right: -8px; }

.stories {
  display: grid;
  grid-template-columns: minmax(0, calc(55% - 2rem)) minmax(0, calc(45% - 2rem));
  gap: 4rem;
  align-items: center;
}
.stories img { width: 100%; border-radius: 16px; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split-30 { grid-template-columns: minmax(0, 30%) minmax(0, 70%); align-items: end; }
.split.reverse { grid-template-columns: 0.9fr 1.1fr; }
.split img { width: 100%; border-radius: 6px; }
.diff-row { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
.diff-row.two { grid-template-columns: 1fr 1fr; }
.diff-row.three { grid-template-columns: 1fr 1fr 1fr; }
.diff-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
  background: #fdf5ec;
  color: var(--navy);
  border-radius: 0 50px 0 50px;
  padding: 2rem;
  min-height: 180px;
}
.diff-card h3 { margin: 0 0 4px; font-weight: 700; }
.diff-card p { margin: 0; font-size: 16px; }
.diff-card img { width: 100%; max-height: 160px; object-fit: contain; }
.stat { font-family: var(--font-heading); font-size: 2.4rem; color: var(--navy); line-height: 1; margin: 0; }

.icon-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px 18px;
}
.icon-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 14px;
  text-align: center;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.icon-tile img { width: 56px; height: 56px; object-fit: contain; }
.icon-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(31,42,68,0.08); color: var(--teal-deep); }
.scheme-gold .icon-tile {background: #ffff;border: 0;box-shadow: 0 0 10px #e7e7e7;}
.scheme-gold .icon-tile:hover { box-shadow: none; background: rgba(255,255,255,0.45); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card { background: #fff; border-radius: 10px; padding: 18px; box-shadow: 0 8px 24px rgba(31,42,68,0.06); }
.step-card img { width: 84px; height: 84px; object-fit: contain; }

.page-hero {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 88px 0 72px;
}
.page-hero h1, .page-hero p { color: #fff; }
.page-hero .site-container { max-width: 860px; }
.page-hero p { font-size: 18px; margin-left: auto; margin-right: auto; }
.page-hero .btn { margin-top: 8px; text-transform: none; letter-spacing: 0; font-weight: 600; }
.page-hero .kicker, .page-hero .crumbs { display: none; }
.crumbs { font-size: 13px; margin-bottom: 12px; color: rgba(255,255,255,0.8); }
.crumbs a { color: #fff; text-decoration: none; }
.prose { max-width: 860px; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.info-card, .price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  height: 100%;
}
.price-card { background: var(--cream); }
.price { color: var(--gold); font-weight: 700; font-size: 1.2rem; }

.accordion details {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.accordion summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}
.accordion summary:hover { color: var(--teal); }

.footer { background: var(--navy); color: #fff; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--peach); }
.footer-main {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  padding: 72px 0 30px;
}
.footer-logo { width: 200px; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 24px;
  align-content: start;
}
.footer-links a { font-weight: 600; padding: 4px 0; display: inline-block; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 18px; }
.footer-social .social-link { padding: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 22px 0 28px; font-size: 14px; }

.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal-backdrop { position: absolute; inset: 0; background: rgba(31,42,68,0.62); }
.modal-dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: min(90vh, 760px);
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  z-index: 1;
}
.modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--navy);
}

.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; }
.contact-panel { background: var(--cream); border-radius: 12px; padding: 24px; }
.quote {
  background: #fff;
  border-left: 4px solid var(--gold);
  padding: 16px 18px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(31,42,68,0.05);
}
.quote footer { margin-top: 8px; font-weight: 700; color: var(--navy); }

@media (max-width: 1280px) {
  .hero-grid { gap: 40px; }
  .about-cols { padding-right: 120px; }
  .menu-card img { height: 120px; }
}
@media (max-width: 1130px) {
  .nav-wrap { display: none; }
  .menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    align-self: center;
    margin-left: auto;
    background: transparent;
    position: absolute;
    right: 16px;
    top: 58px;
  }
  .mainbar { position: relative; }
  .drawer > a.m-top {
    display: flex;
    padding: 14px 4px;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px solid var(--line);
  }
  .topbar .label { display: none; }
  .drawer {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: min(420px, 100%);
    height: 100%;
    background: #fff;
    z-index: 1200;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow: auto;
    padding: 18px 18px 40px;
    color: var(--navy);
  }
  body.nav-open .drawer { transform: none; }
  body.nav-open .drawer-backdrop { display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 1100; }
  .drawer a { color: var(--navy); text-decoration: none; }
  .drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
  .drawer-close { border: 0; background: transparent; font-size: 30px; cursor: pointer; }
  .m-acc { border-bottom: 1px solid var(--line); }
  .m-acc > button, .m-acc > a.m-top {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 14px 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;
    color: var(--navy);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .m-panel { display: none; padding: 0 0 12px 8px; }
  .m-acc.open .m-panel { display: block; }
  .m-panel a { display: flex; gap: 10px; align-items: center; padding: 8px 0; font-weight: 600; }
  .m-panel img { width: 32px; height: 32px; object-fit: contain; }
  .hero-grid, .split, .split.reverse, .split-30, .stories, .footer-main, .contact-grid, .diff-row.two, .diff-row.three {
    grid-template-columns: 1fr;
  }
  .nav-wrap { position: static; }
  .menu-toggle { top: 50%; transform: translateY(-50%); }
  .genre-card { flex-basis: calc((100% - 22px) / 2); }
  .icon-grid, .card-grid, .steps { grid-template-columns: 1fr 1fr; }
  .about-cols { padding-right: 0; }
}
@media (max-width: 1130px) {
  .hero h1 { font-size: 40px; }
  .hero .inquiry-card { padding: 2.4rem 1.4rem 1rem; }
}
@media (max-width: 768px) {
  :root { --edge: 18px; }
  .hero-grid { padding: 2.4rem 0; }
  .hero h1 { font-size: 34px; margin-bottom: 20px; }
  .section { padding: 3rem 0; }
  .genre-card { flex-basis: 100%; }
  .icon-grid, .card-grid, .steps, .footer-links { grid-template-columns: 1fr; }
  .name-row { grid-template-columns: 1fr; }
  .marquee img { height: 150px; }
  .footer-social { justify-content: flex-start; }
  .brand img { width: 160px; }
}
@media (max-width: 390px) {
  .trust-badge { min-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

section.section.scheme-gold.deco.deco-circle-tl.deco-star-br .site-container.split {
    display: block;
    text-align: center;
}

section.section.scheme-gold.deco.deco-circle-tl.deco-star-br .site-container.split img {
    width: auto !important;
    margin: auto;
    display: block;
    margin-bottom: 30px;
}

section.section.scheme-green {
  padding: 100px 0 0 0 !important;
}

section.section.scheme-green .site-container.split.split-30 {display: flex;flex-direction: row-reverse;}

section.section.scheme-green .site-container.split.split-30 div {
  margin-bottom: 60px;
}

section.section.scheme-green .site-container.split.split-30 img {
  width: 20% !important;
}

section.section.scheme-gold.deco.deco-star-tr .site-container.split img {
    width: 30%;
}

section.section.scheme-gold.deco.deco-star-tr .site-container.split {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

section.section.scheme-gold.deco.deco-star-tr .site-container.split div {
    flex: 0 0 60%;
}
/* --- About group page layouts --- */

/* --- About group page layouts --- */
.mission-split {
  display: grid;
  grid-template-columns: minmax(0, 280px) 1fr;
  gap: 32px 48px;
  align-items: start;
}
.mission-split h2 { margin: 0; }
.origin-collage {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.origin-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  aspect-ratio: 4/3;
}
.origin-collage img:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 200px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 36px;
  margin-top: 32px;
}
.value-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px 16px;
  align-items: start;
}
.value-card img {
  width: 64px;
  height: auto;
  object-fit: contain;
  grid-column: 1;
  grid-row: 1;
}
.value-card h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--navy);
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}
.value-card p {
  grid-column: 1 / -1;
  margin: 0;
  max-width: none;
  width: 100%;
}
.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 16px;
  margin-top: 28px;
}
.culture-stat {
  text-align: center;
  background: rgba(255,255,255,0.55);
  border-radius: 10px;
  padding: 18px 12px;
}
.culture-stat .stat {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  margin: 0 0 8px;
  line-height: 1.1;
}
.culture-stat .num { font-weight: 700; }
.journey-timeline {
  position: relative;
  max-width: 980px;
  margin: 40px auto 0;
  padding: 8px 0 28px;
}
.journey-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: translateX(-50%);
  z-index: 0;
}
.journey-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr);
  column-gap: 18px;
  align-items: start;
  margin-bottom: 40px;
  z-index: 1;
}
.journey-item > * { min-width: 0; grid-row: 1; }
.journey-year {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
  padding-top: 4px;
}
.journey-dot {
  grid-column: 2;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  margin: 6px auto 0;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(196, 164, 87, 0.28);
  z-index: 2;
}
.journey-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 28px rgba(31, 42, 68, 0.08);
  border: 1px solid rgba(31, 42, 68, 0.06);
}
.journey-item.is-right .journey-year {
  grid-column: 1;
  justify-self: end;
  text-align: right;
}
.journey-item.is-right .journey-card { grid-column: 3; }
.journey-item.is-left .journey-year {
  grid-column: 3;
  justify-self: start;
  text-align: left;
}
.journey-item.is-left .journey-card { grid-column: 1; }
.journey-card img {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 12px;
  display: block;
}
.journey-card h3 { color: var(--teal); margin: 0 0 8px; font-size: 1.35rem; }
.journey-card p { margin: 0; font-size: 15px; line-height: 1.55; color: #444; text-align: left; }
.section-media-logos { background: var(--navy); color: #fff; padding: 72px 0; }
.section-media-logos h2 { color: #fff; }
.media-logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
}
.media-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  max-width: 280px;
}
.media-logo:hover { color: var(--peach); }
.media-logo img { filter: brightness(0) invert(1); max-height: 120px; width: auto; }
.section:not(.section-media-logos) img[src*="BBB-White-logo"] { filter: none; }
.cta-band { padding: 72px 0; }
.cta-band .cta-logo { width: 200px; margin-bottom: 20px; }
.cta-band h2 { margin-bottom: 16px; }
.svc-hero { padding: 72px 0 56px; }
.svc-hero h1 em { color: var(--teal); font-style: italic; }
.svc-hero .subhead { font-size: 1.35rem; color: var(--navy); margin: 12px 0 20px; }
.svc-hero-img { width: 100%; max-width: 520px; display: block; margin-left: auto; }
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 32px;
}
.reason-card img { width: 100%; max-width: 280px; border-radius: 8px; margin-bottom: 12px; }
.process-timeline { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.process-step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 22px rgba(31,42,68,0.06);
}
.process-step img { width: 100px; height: auto; object-fit: contain; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.testimonial-card {
  background: var(--cream);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.testimonial-card img { max-height: 220px; width: auto; margin: 0 auto 16px; display: block; }
.faq-page .faq-category { margin-bottom: 40px; }
.faq-page .faq-category h2 {
  font-size: 1.35rem;
  color: var(--teal);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.faq-list.accordion details.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq-list.accordion summary {
  list-style: none;
  padding: 16px 36px 16px 0;
  position: relative;
  cursor: pointer;
}
.faq-list.accordion summary::-webkit-details-marker { display: none; }
.faq-list.accordion summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 700;
}
.faq-list.accordion details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 0 16px; color: var(--text-muted, #4a5568); }
.faq-answer p { margin: 0; line-height: 1.65; }
.faq-contact { margin-top: 48px; }
.video-embed {
  max-width: 720px;
  margin: 0 auto 32px;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(31,42,68,0.12);
}
.video-embed iframe { width: 100%; height: 100%; border: 0; }
.author-cover { max-height: 320px; width: auto; display: block; margin: 0 auto; }
.contact-side-img { width: 100%; border-radius: 12px; margin-bottom: 16px; }
@media (max-width: 991px) {
  .mission-split { grid-template-columns: 1fr; }
  .values-grid, .reasons-grid { grid-template-columns: 1fr; }
  .culture-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey-timeline { padding-left: 28px; }
  .journey-timeline::before { left: 8px; transform: none; }
  .journey-item {
    grid-template-columns: 20px minmax(0, 1fr);
    column-gap: 14px;
  }
  .journey-item .journey-year { display: none; }
  .journey-item .journey-dot {
    grid-column: 1;
    margin: 10px 0 0;
  }
  .journey-item.is-left .journey-card,
  .journey-item.is-right .journey-card { grid-column: 2; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .origin-collage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --- Service page layouts --- */
.svc-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.svc-hero-inner.svc-hero-reverse .svc-hero-media { order: 2; }
.svc-hero-inner:not(.svc-hero-reverse) .svc-hero-copy { order: 1; }
.svc-hero-icon { width: 56px; height: auto; margin-bottom: 16px; }
.svc-hero-center .svc-hero-icon { width: 88px; margin: 0 auto 18px; display: block; }
.svc-hero-center h1 { max-width: 16ch; margin-left: auto; margin-right: auto; }
.svc-hero-center .lead { max-width: 52ch; margin-left: auto; margin-right: auto; }
.svc-hero-center .svc-note { font-size: 15px; color: var(--muted); margin: 0 0 1.2rem; }
.svc-hero-media img { width: 100%; max-width: 420px; margin-inline: auto; display: block; }
.svc-hero .crumbs { margin-bottom: 12px; }
.price-tiers { display: flex; flex-direction: column; gap: 32px; margin-top: 24px; }
.tier-card {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 28px;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(31, 42, 68, 0.08);
}
.tier-card-reverse { grid-template-columns: 1fr minmax(140px, 220px); }
.tier-card-reverse img { order: 2; }
.tier-card img { width: 100%; max-width: 220px; height: auto; object-fit: contain; }
.tier-price { font-weight: 700; color: var(--gold); font-size: 1.1rem; }
.why-grid,
.process-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.feature-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 8px 22px rgba(31, 42, 68, 0.06);
}
.feature-item img { width: 64px; height: 64px; object-fit: contain; margin: 0 auto 12px; display: block; }
.feature-item h3 { font-size: 1rem; margin-bottom: 8px; color: var(--navy); }
.faq-list { max-width: 880px; margin: 28px auto 0; }
details.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
details.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  padding: 14px 36px 14px 0;
  position: relative;
  color: var(--navy);
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1.35rem;
  font-weight: 700;
}
details.faq-item[open] summary::after { content: "−"; }
.faq-body { padding: 0 0 16px; color: var(--text-muted, #4a5568); line-height: 1.65; }
.author-love {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 28px;
  justify-items: center;
}
.author-love .author-cover img { max-height: 280px; width: auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18)); }
.other-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.other-svc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  padding: 16px 10px;
  border-radius: 12px;
  background: var(--cream);
  transition: background 0.2s ease;
}
.other-svc:hover { background: #fff; color: var(--teal); }
.other-svc img { width: 48px; height: 48px; object-fit: contain; }
.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band-inner img { width: min(240px, 100%); }
.cta-band-inner h2 { color: #fff; margin: 0 0 8px; }
.cta-band-inner p { color: rgba(255, 255, 255, 0.92); margin: 0 0 16px; }
.svc-block.content-img img { max-width: 100%; height: auto; border-radius: 12px; }
@media (max-width: 991px) {
  .svc-hero-inner { grid-template-columns: 1fr; }
  .tier-card,
  .tier-card-reverse { grid-template-columns: 1fr; text-align: center; }
  .tier-card-reverse img { order: 0; }
  .why-grid,
  .process-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .other-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .why-grid,
  .process-4,
  .other-services { grid-template-columns: 1fr; }
  .slider { padding: 0 40px; }
}

/* Guides & blog inner pages */
.guide-hero,
.article-hero {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.guide-hero-grid,
.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: center;
}
.guide-hero-text h1,
.article-hero-text h1 { margin-top: 0.35rem; }
.guide-hero-img,
.article-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}
.guide-body { padding-top: 3.5rem; }
.guide-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}
.guide-toc {
  position: sticky;
  top: 110px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  font-size: 15px;
}
.guide-toc-title {
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
}
.guide-toc ol {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
}
.guide-toc a { color: var(--navy); text-decoration: none; }
.guide-toc a:hover { color: var(--gold); text-decoration: underline; }
.guide-content.prose { max-width: none; }
.guide-content.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1rem 0;
}
.guide-hub-grid { margin-top: 1.5rem; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}
.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.blog-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}
.blog-card h3 {
  font-size: 18px;
  line-height: 1.35;
  padding: 1rem 1.1rem 1.25rem;
  margin: 0;
  color: var(--navy);
}
.legal-prose h2 { margin-top: 2rem; }
@media (max-width: 991px) {
  .guide-hero-grid,
  .article-hero-grid { grid-template-columns: 1fr; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-toc { position: static; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
}
/* genre-rebuild */
.genre-book-covers { margin-top: 0; }
.genre-book-covers figcaption {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.3;
}
.genre-split-media img { border-radius: 12px; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12); }
.genre-hub-icon { width: 48px; height: auto; margin-bottom: 12px; }
.genre-service-grid .feature-item { text-align: center; }
.genre-service-grid .feature-item img { width: 48px; height: 48px; object-fit: contain; margin: 0 auto 10px; }

/* Process step grids (illustration + similar service pages) */
.process-6 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 20px;
  max-width: 1200px;
  margin: 28px auto 0;
}
.process-card {
  text-align: center;
  background: #fff;
  border-radius: 14px;
  padding: 22px 18px;
  box-shadow: 0 10px 24px rgba(31, 42, 68, 0.07);
  border: 1px solid rgba(31, 42, 68, 0.06);
  height: 100%;
}
.process-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin: 0 auto 14px;
  display: block;
}
.process-card h3 {
  font-size: 1.1rem;
  margin: 0 0 10px;
  color: var(--navy);
  line-height: 1.3;
}
.process-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #444;
  text-align: left;
}
.lead-narrow {
  max-width: 52ch;
  margin: 0 auto 1.5rem;
  text-align: center;
}
.why-grid .feature-item p {
  text-align: left;
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  color: #444;
}
.why-grid .feature-item h3 {
  margin-bottom: 10px;
}
@media (max-width: 991px) {
  .process-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .process-6 { grid-template-columns: 1fr; }
}

/* ============================================================
   INNER PAGES — unified alignment + design system
   ============================================================ */
#main {
  overflow-x: clip;
}
#main > .section,
#main > .page-hero,
#main > .svc-hero,
#main > .guide-hero,
#main > .article-hero,
#main > .cta-band,
#main > .section-media-logos {
  width: 100%;
}
#main .site-container {
  width: min(var(--container), calc(100% - (var(--edge) * 2)));
  margin-inline: auto;
  box-sizing: border-box;
}
#main .site-container > * { min-width: 0; }

/* Consistent section rhythm */
#main > .section {
  padding: 5.5rem 0 4.5rem;
}
#main > .section + .section.scheme-gold,
#main > .section + .section.scheme-green {
  padding-top: 5.5rem;
}

/* Page / service heroes */
.page-hero {
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(5, 134, 140, 0.22) 0%, transparent 55%),
    var(--navy);
  padding: 96px 0 80px;
}
.page-hero .site-container {
  max-width: 760px;
  text-align: center;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 1.4rem + 2.2vw, 3.25rem);
  font-weight: 400;
  margin: 0 0 1.1rem;
  line-height: 1.2;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.65;
  max-width: 52ch;
  margin: 0 auto 1.25rem;
}
.page-hero .btn {
  margin-top: 4px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.svc-hero {
  padding: 4.5rem 0 3.75rem;
  position: relative;
}
.svc-hero.scheme-green,
.svc-hero.scheme-gold {
  background: linear-gradient(160deg, rgba(5, 134, 140, 0.12) 0%, #fff 42%, rgba(189, 151, 73, 0.1) 100%);
}
.svc-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.svc-hero-inner.svc-hero-reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}
.svc-hero-inner.svc-hero-reverse .svc-hero-media { order: 2; }
.svc-hero-inner.svc-hero-reverse .svc-hero-copy { order: 1; }
.svc-hero-copy { max-width: 640px; }
.svc-hero-copy h1 {
  font-size: clamp(2.1rem, 1.3rem + 2vw, 3rem);
  font-weight: 400;
  margin: 0 0 1rem;
  line-height: 1.18;
}
.svc-hero-copy > p { max-width: 48ch; }
.svc-hero .crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 14px;
}
.svc-hero .crumbs a { color: var(--teal); text-decoration: none; }
.svc-hero .crumbs a:hover { color: var(--gold); }
.svc-hero-icon {
  width: 64px;
  height: auto;
  margin: 0 0 16px;
  display: block;
}
.svc-hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}
.svc-hero-media img {
  width: 100%;
  max-width: 460px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(31, 42, 68, 0.14));
}
.svc-hero-center {
  text-align: center;
}
.svc-hero-center .site-container {
  max-width: 780px;
}
.svc-hero-center .svc-hero-icon {
  width: 92px;
  margin: 0 auto 20px;
}
.svc-hero-center h1 {
  max-width: 14ch;
  margin: 0 auto 1rem;
  font-size: clamp(2.3rem, 1.5rem + 2.4vw, 3.4rem);
}
.svc-hero-center .lead,
.svc-hero-center > .site-container > p.lead {
  max-width: 50ch;
  margin: 0 auto 0.85rem;
  font-size: 18px;
}
.svc-hero-center .svc-note {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 1.35rem;
}

/* Headings + accent rule */
#main h2.center,
#main .center.accent,
#main h2.accent.center {
  text-align: center;
}
#main h2.accent {
  margin-bottom: 1.5rem;
}
#main .accent::after {
  left: 50%;
  transform: translateX(-50%);
}
#main .split .accent::after,
#main .mission-split .accent::after,
#main .prose-wide .accent::after,
#main .svc-block .accent:not(.center)::after {
  left: 0;
  transform: none;
}
#main .center.accent::after,
#main h2.center.accent::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Prose blocks */
#main .prose,
#main .prose-wide {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
  line-height: 1.65;
}
#main .prose-wide { max-width: 900px; }
#main .prose:has(.icon-cat-grid),
#main .prose-wide:has(.icon-cat-grid),
#main .prose:has(.illust-process),
#main .prose-wide:has(.illust-process),
#main .prose:has(.process-6),
#main .prose-wide:has(.process-6),
#main .prose:has(.media-row),
#main .prose-wide:has(.media-row) {
  max-width: 1200px;
  width: 100%;
}
#main .prose h3,
#main .prose-wide h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.55rem;
  font-size: 1.35rem;
  color: var(--navy);
}
#main .prose ul,
#main .prose-wide ul {
  padding-left: 1.25rem;
  margin: 0.75rem 0 1.25rem;
}
#main .prose-wide ul.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 2rem;
}
@media (max-width: 700px) {
  #main .prose-wide ul.two-col { grid-template-columns: 1fr; }
}
#main .prose p,
#main .prose-wide p { margin: 0 0 1rem; }
#main .svc-block > p:first-child { text-align: center; }
#main .svc-block > p strong:only-child { display: inline; }

/* Mission / about */
.mission-split {
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 24px 56px;
  align-items: start;
  max-width: 1100px;
  margin-inline: auto;
}
.mission-split h2 { margin-top: 0.2rem; }
.mission-split h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.origins-split { align-items: center !important; }
.origin-collage {
  gap: 12px;
  border-radius: 18px;
  overflow: hidden;
}
.origin-collage img { border-radius: 10px; }
.values-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 40px;
  max-width: 1100px;
  margin: 36px auto 0;
}
.value-card {
  background: rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 8px 22px rgba(31, 42, 68, 0.05);
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px 16px;
}
.value-card p { grid-column: 1 / -1; }
.culture-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1000px;
  margin: 32px auto 0;
}
.culture-stat {
  background: #fff;
  border: 1px solid rgba(5, 134, 140, 0.12);
  border-radius: 14px;
  padding: 22px 16px;
  box-shadow: 0 8px 20px rgba(31, 42, 68, 0.05);
}
.journey-timeline { max-width: 960px; }

/* Pricing tiers */
.price-tiers {
  gap: 28px;
  max-width: 1100px;
  margin: 8px auto 0;
}
.tier-card {
  grid-template-columns: minmax(160px, 240px) 1fr;
  gap: 32px;
  padding: 28px 32px;
  border: 1px solid rgba(31, 42, 68, 0.06);
  border-radius: 18px;
  align-items: center;
}
.tier-card-reverse { grid-template-columns: 1fr minmax(160px, 240px); }
.tier-body h3 { margin: 0 0 6px; font-size: 1.5rem; }
.tier-price { margin: 0 0 12px; font-size: 1.15rem; color: var(--gold); }
.tier-body ul {
  margin: 0 0 18px;
  padding-left: 1.15rem;
}
.tier-body li { margin-bottom: 0.35rem; }

/* Feature / process / other services grids */
.why-grid,
.process-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 28px auto 0;
}
.feature-item {
  height: 100%;
  border: 1px solid rgba(31, 42, 68, 0.06);
}
.other-services {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 28px auto 0;
}
.author-love {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px 18px;
  max-width: 1100px;
  margin: 28px auto 0;
  align-items: end;
}
.author-love .author-cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.author-love .author-cover img {
  max-height: 260px;
  width: auto;
  max-width: 100%;
}
.genre-book-covers {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 1200px;
}
.genre-book-covers figcaption {
  order: -1;
  min-height: 2.6em;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 20px auto 0;
}
details.faq-item summary {
  font-size: 1.05rem;
  line-height: 1.4;
}

/* CTA band */
.cta-band {
  padding: 4.5rem 0;
  background: linear-gradient(120deg, var(--teal) 0%, #004f59 55%, var(--navy) 100%);
  color: #fff;
}
.cta-band.scheme-green,
.cta-band.scheme-gold {
  background: linear-gradient(120deg, var(--teal) 0%, #004f59 55%, var(--navy) 100%);
}
.cta-band-inner {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 32px 48px;
  align-items: center;
  max-width: 1000px;
  margin-inline: auto;
}
.cta-band-inner img {
  width: 100%;
  max-width: 220px;
  filter: brightness(0) invert(1);
}
.cta-band-inner h2 { color: #fff; margin: 0 0 10px; }
.cta-band-inner p { color: rgba(255, 255, 255, 0.9); margin: 0 0 18px; max-width: 42ch; }
.cta-band-inner .btn { background: var(--gold); }

/* Guides / articles */
.guide-hero,
.article-hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(165deg, rgba(5, 134, 140, 0.1) 0%, #fff 50%, rgba(253, 245, 236, 0.8) 100%);
}
.guide-hero-grid,
.article-hero-grid {
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.guide-hero-text,
.article-hero-text { max-width: 560px; }
.guide-layout {
  gap: 2.5rem 3rem;
  max-width: 1200px;
  margin-inline: auto;
}
.guide-toc {
  border-color: rgba(5, 134, 140, 0.18);
  box-shadow: 0 10px 24px rgba(31, 42, 68, 0.05);
}
.blog-grid {
  gap: 1.5rem;
  max-width: 1200px;
  margin: 1.5rem auto 0;
}
.blog-card {
  border: 0;
  box-shadow: 0 10px 28px rgba(31, 42, 68, 0.08);
}
.legal-prose {
  max-width: 820px;
  margin: 0 auto;
}

/* Contact */
.contact-grid {
  gap: 40px;
  max-width: 1100px;
  margin-inline: auto;
  align-items: start;
}

/* Icon grids on inner pages */
#main .icon-grid {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Split sections inside #main */
#main .split {
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  max-width: 1200px;
  margin-inline: auto;
}
#main .print-formats-split {
  margin-top: 28px;
  align-items: start;
}
#main .print-formats-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 48px 0 48px;
  box-shadow: 0 14px 32px rgba(31, 42, 68, 0.12);
  object-fit: cover;
}
#main .print-formats-copy p {
  margin: 0 0 1rem;
  font-size: 16px;
  line-height: 1.65;
  color: #444;
  text-align: left;
}
#main .print-formats-copy .palmetto-list {
  margin: 0;
  padding-left: 1.2rem;
}
#main .print-formats-copy .palmetto-list li {
  margin-bottom: 0.45rem;
  line-height: 1.5;
}
@media (max-width: 900px) {
  #main .print-formats-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1130px) {
  .svc-hero-inner,
  .svc-hero-inner.svc-hero-reverse {
    grid-template-columns: 1fr;
  }
  .svc-hero-inner.svc-hero-reverse .svc-hero-media,
  .svc-hero-inner.svc-hero-reverse .svc-hero-copy { order: unset; }
  .svc-hero-copy { max-width: none; }
  .svc-hero-media { order: -1; }
  .genre-book-covers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta-band-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .cta-band-inner p { margin-left: auto; margin-right: auto; }
  .culture-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid,
  .process-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  #main > .section { padding: 3.5rem 0; }
  .page-hero { padding: 72px 0 56px; }
  .svc-hero { padding: 3rem 0 2.5rem; }
  .tier-card,
  .tier-card-reverse {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 22px;
  }
  .tier-card-reverse img { order: 0; }
  .tier-card img { margin-inline: auto; }
  .tier-body ul { text-align: left; display: inline-block; }
  .values-grid { grid-template-columns: 1fr; }
  .genre-book-covers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .other-services,
  .why-grid,
  .process-4 { grid-template-columns: 1fr; }
  .mission-split { grid-template-columns: 1fr; }
}

/* Icon category / process grids — dedicated (avoids stacked figure collapse) */
#main .icon-cat-grid,
#main .illust-process,
#main .process-6 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
  width: 100%;
  max-width: 1200px;
  margin: 32px auto 0;
  box-sizing: border-box;
}
#main .icon-cat-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#main .icon-cat-grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#main .icon-cat-grid-many { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#main .media-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1100px;
  margin: 28px auto;
  align-items: center;
}
#main .media-row > img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}
@media (max-width: 768px) {
  #main .media-row { grid-template-columns: 1fr; }
}
#main .icon-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  text-align: center;
  background: #fff;
  border-radius: 16px;
  padding: 24px 18px 20px;
  border: 1px solid rgba(31, 42, 68, 0.08);
  box-shadow: 0 12px 28px rgba(31, 42, 68, 0.07);
}
#main .icon-cat > img {
  width: 88px;
  height: 88px;
  max-width: 88px;
  object-fit: contain;
  margin: 0 auto 14px;
  display: block;
  flex-shrink: 0;
}
#main .icon-cat > h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--navy);
  width: 100%;
}
#main .icon-cat > p,
#main .icon-cat > ul {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #444;
  text-align: left;
  width: 100%;
}
#main .icon-cat > ul {
  padding-left: 1.1rem;
}
@media (max-width: 991px) {
  #main .icon-cat-grid,
  #main .icon-cat-grid-4,
  #main .icon-cat-grid-6,
  #main .icon-cat-grid-many {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  #main .icon-cat-grid,
  #main .icon-cat-grid-4,
  #main .icon-cat-grid-6,
  #main .icon-cat-grid-many {
    grid-template-columns: 1fr;
  }
}

/* Illustration process — dedicated grid (avoids feature-item conflicts) */
#main .illust-process,
#main .process-6 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
  width: 100%;
  max-width: 1200px;
  margin: 32px auto 0;
  box-sizing: border-box;
}
#main .illust-step,
#main .process-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  text-align: center;
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px 24px;
  border: 1px solid rgba(31, 42, 68, 0.08);
  box-shadow: 0 12px 28px rgba(31, 42, 68, 0.07);
}
#main .illust-step > img,
#main .process-card > img {
  width: 96px;
  height: 96px;
  max-width: 96px;
  object-fit: contain;
  margin: 0 auto 16px;
  display: block;
  flex-shrink: 0;
}
#main .illust-step > h3,
#main .process-card > h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--navy);
  width: 100%;
}
#main .illust-step > p,
#main .process-card > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  text-align: left;
  width: 100%;
}
#main .illust-step > p + p { margin-top: 16px; text-align: center; }
@media (max-width: 991px) {
  #main .illust-process,
  #main .process-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  #main .illust-process,
  #main .process-6 { grid-template-columns: 1fr; }
}

/* Writing coach extras */
#main .coach-quotes {
  list-style: none;
  padding: 0;
  margin: 1.5rem auto 0;
  max-width: 720px;
  display: grid;
  gap: 12px;
}
#main .coach-quotes li {
  background: #fff;
  border: 1px solid rgba(31, 42, 68, 0.08);
  border-radius: 12px;
  padding: 14px 18px;
  text-align: center;
  font-style: italic;
  color: var(--navy);
  box-shadow: 0 8px 18px rgba(31, 42, 68, 0.05);
}
#main .compare-table-wrap {
  overflow-x: auto;
  margin: 28px auto 0;
  max-width: 1100px;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(31, 42, 68, 0.07);
  background: #fff;
}
#main .compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
#main .compare-table th,
#main .compare-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(31, 42, 68, 0.08);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.55;
}
#main .compare-table thead th {
  background: var(--navy);
  color: #fff;
  font-size: 15px;
}
#main .compare-table tbody th {
  background: rgba(5, 134, 140, 0.08);
  color: var(--navy);
  font-weight: 700;
  width: 18%;
}
#main .coach-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 1000px;
  margin: 28px auto 0;
}
#main .coach-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(31, 42, 68, 0.08);
  box-shadow: 0 12px 28px rgba(31, 42, 68, 0.07);
  text-align: center;
}
#main .coach-card img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: block;
}
#main .coach-card h3 { margin: 0 0 10px; color: var(--navy); }
#main .coach-card p { margin: 0; text-align: left; font-size: 15px; line-height: 1.6; color: #444; }
@media (max-width: 768px) {
  #main .coach-grid { grid-template-columns: 1fr; }
}


/* === SVC IMAGE HARDENING === */
#main .content-img {
  margin: 0 auto 1.5rem;
  max-width: 920px;
  text-align: center;
}
#main .content-img img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin-inline: auto;
}
#main .process-card > img,
#main .feature-item > img,
#main .why-grid .feature-item > img {
  width: 72px;
  height: 72px;
  max-width: 72px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto 12px;
}
#main .icon-cat > img {
  width: 72px;
  height: 72px;
  max-width: 72px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto 12px;
}
/* Photo / product tiles (not tiny icons) */
#main .media-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem 1rem;
  margin: 1.25rem 0 1.75rem;
  text-align: center;
}
#main .media-tile-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#main .media-tile {
  margin: 0;
  padding: 0;
}
#main .media-tile > img {
  width: 100%;
  max-width: 240px;
  height: 160px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto 10px;
}
#main .media-tile > h3 {
  font-size: 1rem;
  margin: 0;
  line-height: 1.3;
}
#main .icon-cat > img[src*="/image/"],
#main .icon-cat > img[src$=".jpg"],
#main .icon-cat > img[src$=".jpeg"],
#main .icon-cat > img[src$=".webp"] {
  width: 100%;
  max-width: 220px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
}
#main .svc-hero-media img {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
}
#main .split img,
#main .print-formats-media img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
}
#main .illust-process img,
#main .illust-type img {
  object-fit: contain;
  height: auto;
}
@media (max-width: 900px) {
  #main .media-tile-grid,
  #main .media-tile-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  #main .media-tile-grid,
  #main .media-tile-grid-3 { grid-template-columns: 1fr; }
}
