/* Kessy Services — brand: navy #002058, copper #C85A12 */
:root {
  --navy: #002058;
  --navy-deep: #001133;
  --navy-mid: #0c326e;
  --copper: #c85a12;
  --copper-hover: #dd6d22;
  --copper-soft: #f3d4b8;
  --cream: #f6f1ea;
  --cream-dark: #ebe3d6;
  --ink: #161c28;
  --muted: #4e5868;
  --line: #d8d1c6;
  --white: #fff;
  --shadow: 0 16px 40px rgba(0, 16, 48, 0.12);
  --font-sans: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --header-h: 5.25rem;
  --wrap: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); margin: 0 0 0.75rem; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: min(calc(100% - 2.5rem), var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 200;
  border-radius: 2px;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.55rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn-primary {
  background: var(--copper);
  color: var(--white);
  border-color: var(--copper);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--copper-hover);
  border-color: var(--copper-hover);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn-sm { padding: 0.65rem 1.15rem; font-size: 0.875rem; }
button.btn { appearance: none; }

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(0, 16, 48, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1.5rem;
}
.logo img {
  width: auto;
  height: 3.15rem;
  max-width: min(16.5rem, 52vw);
  object-fit: contain;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.85rem;
}
.site-nav a {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
}
.site-nav a:hover { color: var(--copper); }
.site-nav .btn { color: var(--white); }
.site-nav .btn:hover { color: var(--white); }

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.hero-media video {
  position: absolute;
  inset: 0;
}
.hero-media::after { z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-media video { display: none; }
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 17, 51, 0.88) 0%, rgba(0, 17, 51, 0.62) 42%, rgba(0, 17, 51, 0.28) 100%),
    linear-gradient(180deg, rgba(0, 17, 51, 0.15) 0%, rgba(0, 17, 51, 0.55) 100%);
}
.hero-content {
  padding: 7rem 0 6.5rem;
  max-width: 46rem;
  margin-left: max(1.25rem, calc((100% - var(--wrap)) / 2));
  margin-right: auto;
  width: min(calc(100% - 2.5rem), 46rem);
}
.hero .eyebrow { color: var(--copper-soft); }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.35rem, 5.4vw, 4.15rem);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 1.15rem;
  text-wrap: balance;
}
.lede {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Pillars */
.pillars {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 0;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 3rem;
}
.pillars h2 {
  color: var(--white);
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
}
.pillars p { color: rgba(255,255,255,0.78); font-weight: 300; }
.pillar-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--copper-soft);
  margin-bottom: 0.65rem;
}

/* About */
.about {
  padding: 6.5rem 0;
  background: var(--cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4.5rem;
  align-items: center;
}
.about-copy h2 { font-size: clamp(2rem, 3.5vw, 2.85rem); margin-bottom: 1.35rem; }
.about-copy p { color: var(--muted); }
.about-copy p + p { margin-top: 1rem; }
.about-photo {
  margin: 0;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* Services */
.services { padding: 6.5rem 0; background: var(--white); }
.section-head { max-width: 38rem; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(2rem, 3.5vw, 2.85rem); }
.section-intro { color: var(--muted); font-size: 1.1rem; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.service-card {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-photo { overflow: hidden; aspect-ratio: 16 / 10; background: var(--navy); }
.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.service-card:hover .service-photo img { transform: scale(1.04); }
.service-photo-icon {
  display: grid;
  place-items: center;
  color: var(--copper-soft);
  background:
    linear-gradient(160deg, var(--navy-mid) 0%, var(--navy-deep) 100%);
}
.service-photo-icon svg { width: 5.5rem; height: 5.5rem; }
.service-body { padding: 1.5rem 1.5rem 1.75rem; flex: 1; }
.service-body h3 { font-size: 1.4rem; margin-bottom: 0.65rem; }
.service-body p { color: var(--muted); font-size: 0.98rem; }

/* How we work */
.how {
  padding: 6.5rem 0;
  background: var(--navy-deep);
  color: var(--white);
  background-image:
    radial-gradient(ellipse at 80% 20%, rgba(200, 90, 18, 0.18), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(12, 50, 110, 0.7), transparent 55%);
}
.section-head.light h2 { color: var(--white); }
.section-head.light { margin-bottom: 3.25rem; }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  counter-reset: none;
}
.steps li {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(243, 212, 184, 0.28);
}
.step-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--copper);
  line-height: 1;
  margin-bottom: 1rem;
}
.steps h3 { color: var(--white); font-size: 1.45rem; }
.steps p { color: rgba(255,255,255,0.74); font-weight: 300; }

/* Contact */
.contact {
  padding: 6.5rem 0;
  background: var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: start;
}
.contact-copy h2 { font-size: clamp(2rem, 3.5vw, 2.85rem); margin-bottom: 1.15rem; }
.contact-copy p { color: var(--muted); }
.contact-note {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-weight: 500;
  color: var(--navy) !important;
  letter-spacing: 0.01em;
  line-height: 1.6;
}

.quote-form {
  background: var(--white);
  padding: 2rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 1.15rem; }
.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.quote-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.quote-form label span { color: var(--copper); }
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.quote-form textarea { resize: vertical; min-height: 8rem; }
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 32, 88, 0.12);
}
.quote-form input.is-invalid,
.quote-form textarea.is-invalid {
  border-color: #a32626;
}
.quote-form .btn { width: 100%; margin-top: 0.35rem; }
.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
.form-status.is-success {
  background: #e8f3ea;
  color: #1b4d28;
}
.form-status.is-error {
  background: #fbeaea;
  color: #7a1d1d;
}

/* Footer */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2.75rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem 2rem;
}
.logo-footer img { height: 2.85rem; max-width: 14rem; }
.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
  justify-content: center;
}
.footer-inner nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
}
.footer-inner nav a:hover { color: var(--copper); }
.copyright {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: right;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(0,16,48,0.08);
  }
  .nav-open .site-nav { display: flex; }
  .site-nav a { padding: 0.75rem 0; border-bottom: 1px solid var(--cream-dark); }
  .site-nav .btn { margin-top: 0.75rem; width: 100%; border-bottom: 0; color: var(--white); }
  .pillars-grid,
  .service-grid,
  .steps,
  .about-grid,
  .contact-grid,
  .form-pair,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .hero-content { padding: 5rem 0 4.5rem; }
  .about, .services, .how, .contact { padding: 4.25rem 0; }
  .about-grid { gap: 2.25rem; }
  .footer-inner nav,
  .copyright { justify-content: flex-start; text-align: left; }
  .logo img { height: 2.65rem; max-width: min(13.5rem, 58vw); }
}

@media (max-width: 560px) {
  .wrap { width: min(calc(100% - 1.75rem), var(--wrap)); }
  .hero h1 { font-size: 2.15rem; }
  .lede { font-size: 1.05rem; }
  .quote-form { padding: 1.35rem; }
  .pillars { padding: 2.5rem 0; }
  .pillars-grid { gap: 1.75rem; }
}

/* ===== Multi-page additions ===== */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 0.32s; }
.site-header { view-transition-name: site-header; }

.has-dropdown { position: relative; }
.dropdown-trigger { display: inline-flex; align-items: center; gap: 0.35rem; }
.dropdown-trigger::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 50%;
  transform: translate(-50%, 6px);
  min-width: 16.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.45rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
  z-index: 20;
}
.dropdown-menu a {
  display: block;
  padding: 0.65rem 1.1rem;
  font-size: 0.9rem;
  color: var(--navy);
  text-decoration: none;
}
.dropdown-menu a:hover { background: var(--cream); color: var(--copper); }
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.has-dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.site-nav a.is-active { color: var(--copper); }

.text-link {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--copper);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.text-link:hover { text-decoration: underline; }
.service-body h3 a { text-decoration: none; color: inherit; }
.service-body h3 a:hover { color: var(--copper); }
.home-about .btn { margin-top: 1.25rem; }
.section-cta { margin-top: 2.75rem; text-align: center; }
.how .btn-ghost { border-color: rgba(255,255,255,0.5); }

/* Page hero */
.page-hero {
  position: relative;
  isolation: isolate;
  min-height: 28rem;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}
.page-hero-media { position: absolute; inset: 0; z-index: -1; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,17,51,0.88) 0%, rgba(0,17,51,0.62) 50%, rgba(0,17,51,0.4) 100%),
    linear-gradient(180deg, rgba(0,17,51,0.1), rgba(0,17,51,0.5));
}
.page-hero-content { padding: 5.5rem 0 3.75rem; max-width: 46rem; margin-left: max(1.25rem, calc((100% - var(--wrap)) / 2)); margin-right: auto; width: min(calc(100% - 2.5rem), 46rem); }
.page-hero h1 { color: var(--white); font-size: clamp(2.15rem, 4.6vw, 3.4rem); margin-bottom: 0.85rem; }
.page-hero .lede { color: rgba(255,255,255,0.88); font-weight: 300; font-size: 1.12rem; margin-bottom: 0; }
.page-hero.not-found { min-height: 70vh; }
.page-hero.not-found .hero-actions { margin-top: 1.75rem; }

.crumbs { margin-bottom: 1.15rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--copper-soft); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.45rem; opacity: 0.7; }
.crumbs a { color: var(--copper-soft); text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current="page"] { color: rgba(255,255,255,0.8); }

.prose-section { padding: 5.5rem 0; background: var(--cream); }
.prose { color: var(--muted); }
.prose h2 { margin-top: 2rem; margin-bottom: 0.85rem; font-size: 1.75rem; }
.prose h2:first-child { margin-top: 0; }
.prose a { color: var(--copper); }
.prose ul { margin: 0 0 1.25rem; padding-left: 1.2rem; }
.prose li { margin: 0.4rem 0; }
.prose-grid, .detail-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: start;
}
.value-list { display: grid; gap: 1rem; }
.value-list article, .panel, .point-list {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.35rem 1.5rem;
}
.value-list h3, .panel h2 { font-size: 1.25rem; margin-bottom: 0.35rem; }
.value-list p, .panel p { color: var(--muted); }
.point-list { list-style: none; margin: 1.35rem 0 0; padding: 1.35rem 1.5rem; }
.point-list li { position: relative; padding-left: 1.25rem; margin: 0.55rem 0; color: var(--navy); font-weight: 500; }
.point-list li::before { content: ""; position: absolute; left: 0; top: 0.55rem; width: 0.5rem; height: 0.5rem; background: var(--copper); border-radius: 1px; }
.muted { color: var(--muted); font-size: 0.95rem; }

.compare-section { padding: 5.5rem 0 6rem; background: var(--white); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.compare { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.compare th, .compare td { padding: 1rem 1.15rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--navy); color: var(--white); font-family: var(--font-serif); font-size: 1.1rem; font-weight: 600; }
.compare tbody th { font-family: var(--font-sans); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); width: 9.5rem; background: var(--cream); }
.compare td { color: var(--muted); }
.compare a { color: var(--copper); font-weight: 600; text-decoration: none; }
.compare a:hover { text-decoration: underline; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

.cta-band { background: var(--navy); color: var(--white); padding: 3.75rem 0; }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.4rem; }
.cta-band p { color: rgba(255,255,255,0.78); }
.cta-band .eyebrow { color: var(--copper-soft); }

.cream-band { background: var(--white); padding: 5rem 0 5.5rem; }
.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: start; }
.panel .btn { margin-top: 1.15rem; }
.steps-page { grid-template-columns: 1fr; gap: 0; }
.steps-page li { padding: 2rem 0; border-top: 1px solid var(--line); }
.steps-page li:first-child { border-top: 0; padding-top: 0; }
.steps-page h2 { color: var(--navy); font-size: 1.85rem; }
.steps-page p { color: var(--muted); font-weight: 400; max-width: 42rem; }
.prose-section .steps-page { background: transparent; }
.narrow { max-width: 46rem; }

/* FAQ */
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom: 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 3rem 1.15rem 1.35rem;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.05rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--copper);
  border-bottom: 2px solid var(--copper);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(225deg); }
.faq details p { padding: 0 1.35rem 1.25rem; margin: 0; color: var(--muted); }
.faq a { color: var(--copper); }

/* Footer grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  gap: 2.5rem 2rem;
  padding: 3rem 0 2rem;
  align-items: start;
}
.footer-brand p { color: var(--muted); font-size: 0.95rem; max-width: 20rem; margin-top: 0.75rem; }
.footer-grid h2 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.85rem;
}
.footer-grid nav { display: flex; flex-direction: column; gap: 0.45rem; }
.footer-grid nav a, .footer-grid p a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.footer-grid nav a:hover, .footer-grid p a:hover { color: var(--copper); }
.footer-grid .btn { margin-top: 0.85rem; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.site-footer { padding: 0; }

/* Quote wizard */
.quote-wrap { max-width: 48rem; }
.quote-wizard {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 2rem 2.15rem 2.25rem;
}
.wizard-progress {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin: 0 0 2rem;
  padding: 0;
}
.wizard-progress li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 3px solid var(--line);
  padding-top: 0.65rem;
}
.wizard-progress li span {
  display: none;
}
.wizard-progress li.is-current,
.wizard-progress li.is-done { color: var(--navy); border-top-color: var(--copper); }
.wizard-panel { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.wizard-panel legend {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 0.5rem;
  padding: 0;
}
.field-hint { color: var(--muted); margin-bottom: 1.25rem; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.choice {
  display: block;
  cursor: pointer;
  border: 1px solid var(--line);
  padding: 1.1rem 1.15rem;
  background: var(--cream);
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.choice:hover { border-color: var(--navy); }
.choice:has(input:checked),
.choice:has(input:focus-visible) {
  border-color: var(--copper);
  background: #fff8f2;
  box-shadow: 0 0 0 3px rgba(200, 90, 18, 0.15);
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice strong { display: block; color: var(--navy); font-size: 1.05rem; margin-bottom: 0.2rem; }
.choice span { color: var(--muted); font-size: 0.92rem; }
.wizard-nav { display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 1.75rem; }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--navy); background: var(--cream); }
.review-card {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 1.25rem 1.4rem;
}
.review-card dl { margin: 0; display: grid; grid-template-columns: 9rem 1fr; gap: 0.45rem 1rem; }
.review-card dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 0.2rem; }
.review-card dd { margin: 0; color: var(--navy); font-weight: 500; }

@media (max-width: 900px) {
  .prose-grid, .detail-grid, .split, .footer-grid, .choice-grid {
    grid-template-columns: 1fr;
  }
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 0;
    padding: 0 0 0.5rem 0.75rem;
    background: transparent;
    display: none;
  }
  .has-dropdown.is-open .dropdown-menu,
  .nav-open .dropdown-menu { display: block; }
  .dropdown-menu a { padding: 0.5rem 0; border-bottom: 0; }
  .page-hero { min-height: 22rem; }
  .page-hero-content { padding: 4rem 0 3rem; }
  .quote-wizard { padding: 1.35rem; }
  .wizard-progress { grid-template-columns: repeat(4, 1fr); }
  .prose-section, .compare-section, .cream-band { padding: 3.75rem 0; }
  .footer-grid { padding: 2.5rem 0 1.5rem; }
}
@media (max-width: 560px) {
  .choice-grid, .form-pair { grid-template-columns: 1fr; }
  .wizard-progress li { font-size: 0.65rem; }
}

.about-photo-motion {
  perspective: 920px;
}
.about-photo-link {
  display: block;
  position: relative;
  color: inherit;
  text-decoration: none;
  transform-style: preserve-3d;
  transform: rotateX(0) rotateY(0) scale(1);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  border-radius: 2px;
  overflow: hidden;
}
.about-photo-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
  background: var(--navy-deep);
}
.about-photo-hint {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream, #f6f1ea);
  background: rgba(0, 17, 51, 0.72);
  border-radius: 1px;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.35s var(--ease);
}
.about-photo-motion:hover .about-photo-hint,
.about-photo-motion.is-playing .about-photo-hint {
  opacity: 0;
}
.about-photo-motion.is-tilting .about-photo-link {
  box-shadow: var(--shadow);
  transition: transform 0.12s ease-out, box-shadow 0.35s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .about-photo-link { transform: none !important; transition: none; }
  .about-photo-hint { display: none; }
}

/* Form honeypot and sending state */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
form.is-sending button[type="submit"] { opacity: 0.65; cursor: progress; }
