:root {
  --ink: #141c27;
  --navy: #1a2740;
  --deep: #0d1522;
  --burgundy: #8e2f3a;
  --red: #c5343a;
  --red-dark: #9d242c;
  --gold: #b68a45;
  --gold-soft: #e8d3a4;
  --cream: #f6f1e8;
  --paper: #fffcf7;
  --sand: #eadfce;
  --line: #e3d9cb;
  --text: #243142;
  --muted: #5d6b7c;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(16, 24, 38, 0.12);
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font-family: inherit; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--red);
  color: white;
  padding: 8px 12px;
  z-index: 10000;
}
.skip:focus { top: 12px; }

.topbar {
  background: var(--deep);
  color: #d9e2ee;
  font-size: 14px;
}
.topbar-inner, .wrap, .nav-inner, .footer-grid {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 42px;
}
.topbar a { color: #fff; text-decoration: none; }
.top-links, .top-contact { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.top-contact span { opacity: 0.75; margin-right: 6px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 252, 247, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo-mark { width: 42px; height: 42px; flex: none; }
.logo strong { display: block; font-family: var(--serif); font-size: 17px; letter-spacing: -0.02em; color: var(--ink); line-height: 1.1; white-space: nowrap; }
.logo small { display: block; letter-spacing: 0.12em; text-transform: uppercase; font-size: 10px; color: var(--burgundy); font-weight: 700; }
.menu { display: flex; align-items: center; gap: 2px; margin-left: auto; padding: 0; }
.menu > li { list-style: none; position: relative; }
.menu > li > a, .menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1;
  padding: 10px 12px;
  background: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.menu-btn:after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.menu > li > a:hover, .menu-btn:hover, .menu > li:hover > .menu-btn { color: var(--burgundy); background: #f3ebe3; }
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  width: 260px;
  max-height: 70vh;
  overflow: auto;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 10px;
  border-radius: 16px;
  z-index: 30;
}
.dropdown-wide { width: 460px; column-count: 2; column-gap: 6px; }
.dropdown a {
  display: block;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  break-inside: avoid;
}
.drop-label {
  margin: 8px 10px 2px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy);
  font-weight: 800;
  break-inside: avoid;
}
.dropdown a:hover { background: var(--cream); color: var(--burgundy); }
.menu > li:hover > .dropdown, .menu > li:focus-within > .dropdown { display: block; }
.menu-cta { margin-left: 8px; }
.header-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red);
  color: white !important;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(197, 52, 58, 0.25);
}
.header-cta { margin-left: 0; white-space: nowrap; padding: 11px 16px; }
.btn.secondary { background: var(--navy); box-shadow: none; }
.btn.gold { background: var(--gold); color: #1c1408 !important; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--ink) !important; border: 1px solid var(--line); box-shadow: none; }
.btn:hover { background: var(--red-dark); }
.btn.secondary:hover { background: var(--deep); }
.menu-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  padding: 8px 10px;
  font-weight: 800;
}

.hero {
  background:
    radial-gradient(900px 400px at 90% -10%, rgba(182, 138, 69, 0.18), transparent 50%),
    linear-gradient(180deg, #f8f3ea 0%, #f3ecdf 100%);
  padding: 54px 0 34px;
  border-bottom: 1px solid var(--line);
}
.hero-grid, .split, .cards, .steps, .quotes, .faq-grid, .portfolio, .stat-row, .service-grid {
  display: grid;
  gap: 22px;
}
.hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
.eyebrow, .kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--burgundy);
  font-weight: 800;
  font-size: 12px;
  margin: 0 0 10px;
}
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.25; letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 4.6vw, 54px); margin: 0 0 14px; }
h2 { font-size: clamp(28px, 3vw, 40px); margin: 0 0 12px; }
h3 { font-size: 22px; margin: 0 0 8px; }
.lede { font-size: 18.5px; color: var(--muted); margin-top: 0; }
.ticks { padding: 0; margin: 18px 0 0; list-style: none; }
.ticks li { position: relative; padding-left: 28px; margin: 8px 0; }
.ticks li:before { content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: inset 0 0 0 4px #f6efe2; }

.quote-card, .panel, .card, .step, .quote, .faq details, .book, .format {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.quote-card { padding: 22px; box-shadow: var(--shadow); }
.quote-card h2 { font-size: 28px; }
.quote-card p { color: var(--muted); margin-top: 0; }
form { display: grid; gap: 10px; }
label { font-size: 13px; font-weight: 800; color: var(--navy); }
input, select, textarea {
  width: 100%;
  border: 1px solid #d9d0c3;
  background: #fff;
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 15px;
  color: var(--ink);
}
textarea { min-height: 96px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--muted); margin: 0; }
.form-success { display: none; background: #eef8f0; border: 1px solid #b7e0c2; color: #1d6b38; padding: 12px; border-radius: 12px; }
[data-error] { color: var(--red-dark); font-weight: 700; margin: 0; }
.form-success.show { display: block; }

.band { padding: 68px 0; }
.band.alt { background: var(--cream); }
.band.dark { background: var(--navy); color: #e7edf5; }
.band.dark h2, .band.dark h3 { color: white; }
.center { text-align: center; }
.center .lede, .intro { max-width: 760px; margin-left: auto; margin-right: auto; }

.formats { grid-template-columns: repeat(4, 1fr); margin-top: 26px; }
.format { padding: 18px; }
.format .ico { font-size: 28px; }
.format h3 { font-size: 20px; }
.format p { color: var(--muted); margin-bottom: 0; }

.split { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
.panel { padding: 22px; background: linear-gradient(180deg, #fff, #fbf7f1); }
.stat-row { grid-template-columns: repeat(4, 1fr); margin-top: 22px; }
.stat { background: white; border-radius: 16px; padding: 16px; border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--serif); font-size: 30px; color: var(--burgundy); }
.service-grid { grid-template-columns: repeat(5, 1fr); }
.service-grid a, .mini-links a {
  text-decoration: none;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-weight: 800;
  color: var(--ink);
}
.service-grid a span, .mini-links a span { font-weight: 600; color: var(--muted); font-size: 13px; margin-top: 4px; }
.service-grid a:hover, .mini-links a:hover { border-color: var(--gold); transform: translateY(-2px); }

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--deep); color: white; }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: slide 32s linear infinite; padding: 14px 0; }
.marquee a { color: var(--gold-soft); text-decoration: none; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.checks { columns: 2; padding-left: 18px; }
.steps { grid-template-columns: repeat(4, 1fr); }
.step { padding: 18px; }
.step em { display: block; color: var(--gold); font-style: normal; font-weight: 800; letter-spacing: 0.08em; font-size: 12px; }
.portfolio { grid-template-columns: repeat(4, 1fr); }
.book { min-height: 220px; padding: 16px; display: flex; align-items: flex-end; color: white; position: relative; overflow: hidden; }
.book strong { position: relative; z-index: 1; font-family: var(--serif); font-size: 22px; }
.book span { position: relative; z-index: 1; display: block; font-size: 13px; opacity: 0.85; }
.book:before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255,255,255,0.14), transparent 40%); }
.b1 { background: linear-gradient(160deg, #3d2b4f, #8e2f3a); }
.b2 { background: linear-gradient(160deg, #1d3d4a, #b68a45); }
.b3 { background: linear-gradient(160deg, #24324a, #315c7a); }
.b4 { background: linear-gradient(160deg, #4a2c24, #c5343a); }
.b5 { background: linear-gradient(160deg, #1f3b32, #6d8b74); }
.b6 { background: linear-gradient(160deg, #2c2416, #b68a45); }
.b7 { background: linear-gradient(160deg, #3a2140, #d7b56d); }
.b8 { background: linear-gradient(160deg, #162033, #8e2f3a); }

.faq-grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
details { padding: 14px 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 800; color: var(--ink); }
details p { margin-bottom: 0; color: var(--muted); }
.quotes { grid-template-columns: repeat(4, 1fr); }
.quote { padding: 16px; }
.quote p { margin-top: 0; }
.quote b { display: block; }
.stars { color: var(--gold); letter-spacing: 2px; }

.page-hero { padding: 42px 0 20px; background: linear-gradient(180deg, #f7f2e9, #fffcf7 80%); border-bottom: 1px solid var(--line); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--burgundy); }
.prose { width: min(860px, 100%); }
.prose h2 { margin-top: 28px; }
.related { display: flex; flex-wrap: wrap; gap: 8px; }
.related a { text-decoration: none; border: 1px solid var(--line); background: white; border-radius: 999px; padding: 8px 12px; font-weight: 700; font-size: 14px; }
.article-list { display: grid; gap: 14px; }
.article-list a { text-decoration: none; background: white; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: block; }
.article-list small { color: var(--burgundy); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }

.site-footer { background: var(--deep); color: #d5deea; padding: 48px 0 18px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 22px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer h3 { color: white; font-size: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.legal { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 22px; padding-top: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #aeb9c9; }
.float-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 45;
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 26, 0.62);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 60;
}
.modal.open { display: flex; }
.modal .quote-card { width: min(460px, 100%); position: relative; }
.close-modal { position: absolute; right: 12px; top: 10px; border: 0; background: transparent; font-size: 26px; cursor: pointer; }

.lp-hero { padding: 72px 0; background: var(--deep); color: white; }
.lp-hero h1, .lp-hero h2 { color: white; }
.lp-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center; }
.obstacle-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; padding: 0; list-style: none; }
.obstacle-list li { background: white; border-radius: 12px; padding: 10px 12px; border: 1px solid var(--line); }

@media (max-width: 1120px) {
  .hero-grid, .split, .formats, .service-grid, .steps, .quotes, .faq-grid, .portfolio, .stat-row, .footer-grid, .lp-grid { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: inline-flex; }
  .site-header { position: sticky; }
  .nav-inner { position: relative; }
  .menu {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px 14px 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-height: calc(100vh - 76px);
    overflow: auto;
    z-index: 50;
  }
  .menu.open { display: flex; }
  .menu > li > a, .menu-btn { width: 100%; justify-content: space-between; border-radius: 10px; }
  .dropdown, .dropdown-wide {
    position: static;
    width: auto;
    column-count: 1;
    box-shadow: none;
    display: none;
    border: 0;
    padding: 0 0 6px 8px;
    max-height: none;
  }
  .menu > li.open > .dropdown { display: block; }
  .menu > li:hover > .dropdown { display: none; }
  .menu > li.open:hover > .dropdown, .menu > li.open > .dropdown { display: block; }
  .menu-cta { margin: 8px 0 0; }
  .menu-cta .header-cta { display: flex; width: 100%; }
}
@media (max-width: 700px) {
  .hero-grid, .split, .formats, .service-grid, .steps, .quotes, .faq-grid, .portfolio, .stat-row, .footer-grid, .lp-grid, .obstacle-list, .checks { grid-template-columns: 1fr; columns: 1; }
  .topbar-inner { flex-direction: column; align-items: flex-start; padding: 8px 0; }
  h1 { font-size: 34px; }
}
