:root {
  --ink: #141c24;
  --ink-soft: #2a3440;
  --muted: #5d6670;
  --cream: #f6f0e6;
  --cream-deep: #ebe3d4;
  --red: #b42318;
  --line: #c9a46a;
  --paper: #fffdf8;
  --max: 72rem;
  --section-y: 4.5rem; /* 72px desktop */
  --section-y-sm: 2.75rem; /* 44px mobile */
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: "Figtree", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(180, 35, 24, 0.06), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(201, 164, 106, 0.18), transparent 50%),
    var(--cream);
  line-height: 1.5;
}

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

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

a:hover,
a:focus-visible {
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 240, 230, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 164, 106, 0.4);
}

.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
}

.site-logo {
  display: block;
  width: min(100%, 13.5rem);
  height: auto;
  flex-shrink: 0;
}

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

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem 1.35rem;
  flex-wrap: nowrap;
  min-width: 0;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--red);
  border-bottom-color: rgba(180, 35, 24, 0.35);
}

.site-nav a[aria-current="page"] {
  color: var(--red);
  border-bottom-color: var(--red);
}

.site-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  border-bottom: 0;
  margin-left: 0.35rem;
  flex-shrink: 0;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible,
.site-nav .nav-cta[aria-current="page"] {
  background: var(--red);
  color: var(--cream);
  border-bottom-color: transparent;
}

.site-main {
  min-height: 60vh;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.narrow {
  max-width: 46rem;
}

h1,
h2,
h3 {
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
}

h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
}

h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
}

h3 {
  margin: 0 0 0.45rem;
  font-size: 1.22rem;
}

p {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
}

.lede {
  font-size: 1.08rem;
  max-width: 40rem;
}

.section {
  padding: var(--section-y) 0;
}

.section-muted {
  background: rgba(255, 253, 248, 0.55);
  border-top: 1px solid rgba(201, 164, 106, 0.28);
  border-bottom: 1px solid rgba(201, 164, 106, 0.28);
}

.section-head {
  margin-bottom: 1.35rem;
  max-width: 40rem;
}

.breadcrumbs {
  margin: 0;
  padding: 0.85rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--red);
}

.page-hero {
  padding: 1.75rem 0 0.5rem;
}

.page-hero .meta-line {
  margin: 0 0 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.02em;
}

/* Home hero — balanced columns, shorter overall */
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  max-width: var(--max);
  margin: 0 auto;
  min-height: 0;
  background: var(--cream);
  border-bottom: 1px solid rgba(201, 164, 106, 0.28);
}

.home-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1.25rem 2.25rem 1.25rem;
  background:
    linear-gradient(165deg, rgba(255, 253, 248, 0.55), transparent 40%),
    var(--cream);
}

.home-hero-visual {
  margin: 0;
  position: relative;
  background: #1a140e;
  overflow: hidden;
  min-height: 22rem;
  max-height: 34rem;
}

.home-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 42%;
  min-height: 22rem;
  max-height: 34rem;
}

.brand-mark {
  margin-bottom: 0.85rem;
}

.brand-mark img {
  display: block;
  width: min(100%, 16.5rem);
  height: auto;
}

.highlights {
  display: grid;
  gap: 0.95rem;
  margin: 0 0 1rem;
}

.promises {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  font-size: 1.05rem;
  line-height: 1.4;
}

.promises li:last-child {
  color: var(--ink-soft);
  max-width: 34rem;
}

.features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.features li {
  padding: 0.55rem 0.7rem;
  border-left: 3px solid var(--red);
  background: rgba(20, 28, 36, 0.05);
  font-weight: 600;
  font-size: 0.86rem;
  line-height: 1.3;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  align-items: center;
  margin: 1rem 0 0.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.75rem 1.05rem;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.btn:hover,
.btn:focus-visible {
  background: var(--red);
  color: var(--cream);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--ink);
  color: var(--cream);
}

.call-line {
  margin: 0.65rem 0 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.call-line a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.call-line a:hover {
  color: var(--red);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.service-link {
  display: block;
  padding: 1rem 0 0.15rem;
  text-decoration: none;
  color: inherit;
  border-top: 2px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-link:hover,
.service-link:focus-visible {
  border-color: var(--red);
  transform: translateY(-2px);
}

.service-link h3 {
  color: var(--ink);
}

.service-link p {
  margin-bottom: 0.3rem;
}

.service-link .more {
  font-weight: 600;
  color: var(--red);
  font-size: 0.92rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 1.5rem;
}

.audience-item h3 {
  margin-bottom: 0.3rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  position: relative;
  padding-top: 2.2rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--cream);
  font-family: "Figtree", sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
}

.course-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.35rem;
  margin: 1.25rem 0 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(201, 164, 106, 0.5);
  border-bottom: 1px solid rgba(201, 164, 106, 0.5);
}

.course-facts dt {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
}

.course-facts dd {
  margin: 0.15rem 0 0;
  color: var(--ink-soft);
}

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

.why-list li {
  padding-left: 1rem;
  border-left: 3px solid var(--red);
  color: var(--ink-soft);
}

.why-list strong {
  color: var(--ink);
}

.faq-list {
  display: grid;
  gap: 0.45rem;
  max-width: 48rem;
}

.faq-list details {
  border-bottom: 1px solid rgba(201, 164, 106, 0.45);
  padding: 0.2rem 0 0.65rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  padding: 0.45rem 0;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--red);
  font-weight: 600;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0.2rem 0 0.3rem;
}

.todo-note {
  margin: 0.85rem 0;
  padding: 0.75rem 0.9rem;
  background: rgba(180, 35, 24, 0.08);
  border-left: 3px solid var(--red);
  color: var(--ink);
  font-size: 0.95rem;
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  margin-top: 1.65rem;
}

.prose h3 {
  margin-top: 1.25rem;
}

.prose ul,
.prose ol {
  margin: 0 0 0.85rem;
  padding-left: 1.25rem;
  color: var(--ink-soft);
}

.prose li {
  margin-bottom: 0.35rem;
}

.prose li::marker {
  color: var(--red);
}

/* Contact / NAP aside (contact page only) */
.contact-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2rem;
  align-items: start;
}

.nap-block {
  margin: 0 0 1.15rem;
}

.nap-block p {
  margin: 0 0 0.3rem;
}

/* Unified quote form */
.quote-section .container:not(.contact-page-layout) {
  max-width: 40rem;
}

.quote {
  margin: 0;
  padding: 1.5rem 1.35rem 1.35rem;
  background: var(--paper);
  border: 1px solid rgba(201, 164, 106, 0.45);
}

.quote h2 {
  margin-top: 0;
  text-align: center;
}

.form-intro {
  margin: 0 0 1rem;
  text-align: center;
}

.request-type {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin: 0 0 1.15rem;
  padding: 0.3rem;
  background: rgba(20, 28, 36, 0.05);
  border: 1px solid rgba(201, 164, 106, 0.35);
}

.request-type input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.request-type label {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
  padding: 0.7rem 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
}

.request-type input:focus-visible + label {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.request-type input:checked + label {
  background: var(--ink);
  color: var(--cream);
}

.quote .fields-individual {
  display: none;
}

.quote:has(input[name="request_type"][value="individual"]:checked) .fields-onsite {
  display: none;
}

.quote:has(input[name="request_type"][value="individual"]:checked) .fields-individual {
  display: block;
}

.label-people-individual {
  display: none;
}

.quote:has(input[name="request_type"][value="individual"]:checked) .label-people-onsite {
  display: none;
}

.quote:has(input[name="request_type"][value="individual"]:checked) .label-people-individual {
  display: inline;
}

.prefer-talk {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
}

.prefer-talk a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.prefer-talk a:hover {
  color: var(--red);
}

fieldset {
  margin: 0 0 0.85rem;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

label {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.65rem 0.7rem;
  border: 1px solid #c9c2b4;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

button[type="submit"] {
  display: inline-flex;
  padding: 0.8rem 1.1rem;
  border: 0;
  background: var(--ink);
  color: var(--cream);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

button[type="submit"]:hover,
button[type="submit"]:focus-visible {
  background: var(--red);
}

.form-status {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
}

.site-footer {
  margin-top: 0;
  background: var(--ink);
  color: #d7dde4;
  padding: 2.25rem 0 1.5rem;
}

.site-footer a {
  color: #f0d9a8;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-seal {
  width: 5.5rem;
  height: auto;
}

.footer-logo-text {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.45rem;
  color: var(--cream);
  line-height: 1.2;
}

.footer-nap p {
  margin: 0 0 0.3rem;
  color: #c5ccd4;
  font-size: 0.95rem;
}

.footer-nav {
  display: grid;
  gap: 0.4rem;
}

.footer-nav strong {
  color: var(--cream);
  margin-bottom: 0.2rem;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.aha-box {
  margin: 0 0 1.15rem;
  padding: 0.85rem 0 0;
  border-top: 1px solid rgba(201, 164, 106, 0.35);
  font-size: 0.78rem;
  line-height: 1.45;
  color: #9aa3ad;
}

.aha-box p {
  margin: 0 0 0.55rem;
  color: #9aa3ad;
}

.legal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
}

.copyright {
  margin: 0;
  font-size: 0.85rem;
  color: #8b949e;
}

.draft-banner {
  background: #5c1a14;
  color: #fff;
  padding: 0.75rem 1.25rem;
  text-align: center;
  font-weight: 600;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .home-hero-copy {
    animation: rise 0.7s ease both;
  }

  .home-hero-visual img {
    animation: ken 18s ease-in-out infinite alternate;
  }

  .service-link,
  .audience-item,
  .steps li {
    animation: rise 0.55s ease both;
  }

  .service-link:nth-child(2),
  .audience-item:nth-child(2),
  .steps li:nth-child(2) {
    animation-delay: 0.08s;
  }

  .service-link:nth-child(3),
  .audience-item:nth-child(3),
  .steps li:nth-child(3) {
    animation-delay: 0.16s;
  }

  .service-link:nth-child(4),
  .audience-item:nth-child(4),
  .steps li:nth-child(4) {
    animation-delay: 0.24s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.6rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ken {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.04);
  }
}

@media (max-width: 1100px) {
  .site-nav {
    gap: 0.1rem 0.95rem;
  }

  .site-nav a {
    font-size: 0.84rem;
  }

  .site-logo {
    width: min(100%, 12rem);
  }
}

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

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-page-layout {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --section-y: var(--section-y-sm);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--cream);
    border-bottom: 1px solid rgba(201, 164, 106, 0.45);
    padding: 0.85rem 1.25rem 1.1rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.15rem;
    flex: none;
  }

  .nav-toggle-input:checked ~ .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(201, 164, 106, 0.25);
    white-space: normal;
  }

  .site-nav a[aria-current="page"] {
    border-bottom-color: rgba(201, 164, 106, 0.25);
  }

  .site-nav .nav-cta {
    margin: 0.55rem 0 0;
    justify-content: center;
    border-bottom: 0;
  }

  .home-hero {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .home-hero-visual {
    order: -1;
    height: 38vh;
    min-height: 14rem;
    max-height: 20rem;
  }

  .home-hero-visual img {
    min-height: 14rem;
    max-height: 20rem;
  }

  .home-hero-copy {
    padding: 1.35rem 1.2rem 1.75rem;
  }

  .course-facts {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 1.25rem 0 0.25rem;
  }

  .request-type {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .service-grid,
  .audience-grid,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .site-logo {
    width: min(100%, 11.5rem);
  }
}
