/* Sapphire Ridge Customs — static site styles
   Brand colors from the official logo (Illustrator, March 2024):
   black, teal-blue #3D7F98 / #194457, tan #8A745A, white. */

:root {
  --black: #000000;
  --charcoal: #100e0d;
  --teal: #3d7f98;
  --teal-dark: #194457;
  --tan: #8a745a;
  --tan-soft: #b59a7a;
  --white: #ffffff;
  --paper: #f7f5f2;
  --mist: #e7eef1;
  --ink: #100e0d;
  --muted: #5c5854;
  --line: rgba(16, 14, 13, 0.12);
  --line-strong: rgba(16, 14, 13, 0.22);
  --focus: #3d7f98;
  --header-h: 8.6rem;
  --radius: 0.45rem;
  --radius-lg: 0.75rem;
  --shadow: 0 12px 32px rgba(16, 14, 13, 0.12);
  --shadow-soft: 0 4px 16px rgba(16, 14, 13, 0.08);
  --font-display: "Alfa Slab One", "Rockwell", "Trebuchet MS", "Arial Black", serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --content: 72rem;
  --pad: clamp(1.15rem, 4vw, 2rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

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

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--black);
  margin: 0 0 0.55em;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2rem, 5.2vw, 3.35rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-dark); text-underline-offset: 0.18em; }
a:hover { color: var(--teal); }

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

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -5rem;
  z-index: 1000;
  background: var(--tan);
  color: var(--black);
  padding: 0.6rem 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 0.35rem 0.35rem;
}
.skip-link:focus { top: 0; }

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

.wrap {
  width: min(var(--content), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}

.site-header.is-scrolled { box-shadow: var(--shadow-soft); }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--black);
  flex-shrink: 0;
}

.brand img {
  height: 7.6rem;
  width: auto;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--black);
  border-radius: 0.35rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle:hover { background: var(--paper); }

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.1rem 1.05rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--teal-dark);
  border-bottom-color: var(--tan);
}

.site-nav .btn { margin-left: 0.25rem; }

/* Nav pills are links, so they must beat `.site-nav a` color rules. */
.site-nav a.btn,
.site-nav a.btn:hover,
.site-nav a.btn:focus,
.site-nav a.btn:focus-visible,
.site-nav a.btn[aria-current="page"] {
  color: var(--white);
  border-bottom-color: transparent;
  padding: 0.72rem 1.3rem;
  font-weight: 700;
}

.site-nav a.btn-teal:hover,
.site-nav a.btn-teal:focus,
.site-nav a.btn-teal:focus-visible {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.3rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-teal,
a.btn-teal:link,
a.btn-teal:visited {
  background: var(--teal-dark);
  color: var(--white);
  border-color: var(--teal-dark);
}
.btn-teal:hover,
.btn-teal:focus,
.btn-teal:focus-visible,
a.btn-teal:hover,
a.btn-teal:focus,
a.btn-teal:focus-visible {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.btn-black,
a.btn-black:link,
a.btn-black:visited {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-black:hover,
.btn-black:focus,
.btn-black:focus-visible,
a.btn-black:hover,
a.btn-black:focus,
a.btn-black:focus-visible {
  background: #222;
  color: var(--white);
}

.btn-tan,
a.btn-tan:link,
a.btn-tan:visited {
  background: var(--tan);
  color: var(--white);
  border-color: var(--tan);
}
.btn-tan:hover,
.btn-tan:focus,
.btn-tan:focus-visible,
a.btn-tan:hover,
a.btn-tan:focus,
a.btn-tan:focus-visible {
  background: #74624c;
  color: var(--white);
  border-color: #74624c;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); border-color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-outline:hover { background: var(--black); color: var(--white); }

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--black);
}

.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.05) 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 8vh, 5rem) 0 clamp(2.75rem, 7vh, 4.25rem);
}


.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tan-soft);
  margin-bottom: 0.8rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 0.4em;
  max-width: 16ch;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero .lede {
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.6rem;
}

/* ---------- Sections ---------- */

.section { padding: clamp(3.4rem, 7.5vw, 5.75rem) 0; }

.section-header {
  max-width: 40rem;
  margin-bottom: 2.35rem;
}
.section-header.centered {
  margin-inline: auto;
  text-align: center;
}

.section-kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 0.6rem;
}

.lede { font-size: 1.125rem; color: var(--muted); }

.band-black {
  background: var(--black);
  color: var(--paper);
}
.band-black h2, .band-black h3 { color: var(--white); }
.band-black .section-kicker { color: var(--tan-soft); }
.band-black .lede, .band-black p { color: rgba(247, 245, 242, 0.86); }

.band-mist { background: var(--mist); }
.band-white { background: var(--white); }
.band-paper { background: var(--paper); }

/* ---------- Work cards ---------- */

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

.work-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.work-card .work-photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.work-photo-empty {
  background:
    linear-gradient(180deg, rgba(61, 127, 152, 0.08), rgba(138, 116, 90, 0.08)),
    var(--mist);
}
.work-card .work-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-body { padding: 1.2rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: 0.45rem; }
.work-body h3 { margin: 0; }
.work-body p { color: var(--muted); margin: 0; }

.work-card.no-photo { border-top: 4px solid var(--teal); }
.work-card.no-photo .work-body { padding-top: 1.35rem; }

/* ---------- Process ---------- */

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

.process-list li {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.1rem 1.35rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.process-num {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.6rem;
  display: block;
}

.process-list h3 { margin-bottom: 0.35rem; }
.process-list p { color: var(--muted); font-size: 0.98rem; margin: 0; }

/* ---------- Feature band ---------- */

.feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.feature.reverse { grid-template-columns: 1fr 1.1fr; }
.feature.reverse .feature-copy { order: 1; }
.feature.reverse .feature-photo { order: 2; }

.feature-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--black);
}
.feature-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.feature-photo.portrait img { aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; }
.feature + .feature { margin-top: clamp(2rem, 4vw, 3.5rem); }

.feature-photo figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

/* ---------- Gallery ---------- */

.gallery-block { margin-bottom: 2.5rem; }
.gallery-block h3 {
  margin-bottom: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--tan);
  display: inline-block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.85rem;
}

.gallery-item {
  grid-column: span 4;
  margin: 0;
  position: relative;
}

.gallery-item.wide { grid-column: span 6; }
.gallery-item.tall { grid-column: span 4; }

.gallery-item a {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.35s ease;
}

.gallery-item.tall img,
.gallery-item.portrait img { aspect-ratio: 3 / 4; }

.gallery-item a:hover img,
.gallery-item a:focus-visible img { transform: scale(1.03); }

.gallery-item figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(138, 116, 90, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
}

.about-panel h3 {
  color: var(--tan-soft);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.about-panel dl { margin: 0; }
.about-panel dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tan-soft);
  margin-top: 0.9rem;
}
.about-panel dt:first-child { margin-top: 0; }
.about-panel dd { margin: 0.2rem 0 0; color: rgba(247, 245, 242, 0.92); }

/* ---------- Community ---------- */

.community-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.community-note {
  background: var(--white);
  border-left: 4px solid var(--teal);
  padding: 1.4rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-soft);
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.contact-list { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.contact-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-list strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tan);
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--teal-dark); text-decoration: underline; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.icon-facebook {
  flex-shrink: 0;
  display: block;
}
.site-footer .social-link { color: var(--paper); }
.site-footer .social-link:hover { color: var(--tan-soft); }
.contact-list .social-link { font-weight: 600; color: var(--ink); }
.contact-list .social-link:hover { color: var(--teal-dark); }


/* ---------- Form ---------- */

.quote-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.85rem);
  box-shadow: var(--shadow-soft);
}

.form-row { margin-bottom: 1.05rem; }
.form-row label { display: block; font-weight: 700; margin-bottom: 0.35rem; }
.hint { display: inline; font-weight: 400; color: var(--muted); font-size: 0.88rem; }
.req { color: var(--teal-dark); }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 0.35rem;
  padding: 0.65rem 0.75rem;
  appearance: none;
  -webkit-appearance: none;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23100e0d' stroke-width='1.5' d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  padding-right: 2.2rem;
}

textarea { min-height: 8.5rem; resize: vertical; }

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--teal);
  background: var(--white);
}

.honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note { font-size: 0.9rem; color: var(--muted); margin: 0.85rem 0 0; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--black);
  color: rgba(247, 245, 242, 0.8);
  padding: 2.75rem 0 2rem;
  border-top: 3px solid var(--tan);
}

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

.site-footer .brand { margin-bottom: 0.85rem; }
.site-footer .brand img { height: 7rem; }
.site-footer p { margin: 0; }

.site-footer h2 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tan-soft);
  margin-bottom: 0.7rem;
  font-weight: 700;
}

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a {
  color: var(--paper);
  text-decoration: none;
  display: inline-block;
  padding: 0.2rem 0;
}
.footer-links a:hover { color: var(--tan-soft); text-decoration: underline; }

.footer-base {
  border-top: 1px solid rgba(247, 245, 242, 0.12);
  padding-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  font-size: 0.88rem;
  color: rgba(247, 245, 242, 0.62);
}

/* ---------- Interior pages ---------- */

.page-hero {
  background: var(--black);
  color: var(--paper);
  padding: clamp(3rem, 8vw, 5rem) 0;
}
.page-hero h1 { color: var(--white); }
.thin { max-width: 38rem; }

/* ---------- Lightbox ---------- */

.lightbox {
  border: 0;
  padding: 0;
  max-width: min(96vw, 1100px);
  max-height: 96vh;
  background: transparent;
  color: var(--white);
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.88); }

.lightbox-inner { position: relative; display: grid; gap: 0.75rem; }
.lightbox img {
  max-height: 82vh;
  width: auto;
  max-width: 96vw;
  margin-inline: auto;
  object-fit: contain;
}
.lightbox-caption { text-align: center; font-size: 1rem; color: rgba(255,255,255,0.9); margin: 0; }

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  border-radius: 999px;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.35rem;
  line-height: 1;
  display: grid;
  place-items: center;
}
.lightbox-close { top: 0.25rem; right: 0.25rem; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 0.25rem; }
.lightbox-next { right: 0.25rem; }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--teal-dark); }

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .process-list li:last-child { grid-column: 1 / -1; }
  .feature, .feature.reverse, .about-grid, .community-split, .contact-grid {
    grid-template-columns: 1fr;
  }
  .feature.reverse .feature-copy,
  .feature.reverse .feature-photo { order: unset; }
  .gallery-item, .gallery-item.wide, .gallery-item.tall { grid-column: span 6; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .brand-block { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --header-h: 6.5rem; }
  .brand img { height: 5.5rem; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--pad) 1.15rem;
    display: none;
    box-shadow: var(--shadow-soft);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a {
    display: block;
    padding: 0.7rem 0.2rem;
    border-bottom: 1px solid var(--line);
  }
  .site-nav .btn { margin: 0.85rem 0 0; width: 100%; }
}

@media (max-width: 640px) {
  .work-grid,
  .process-list,
  .footer-grid,
  .gallery-grid { grid-template-columns: 1fr; }

  .process-list li:last-child,
  .gallery-item,
  .gallery-item.wide,
  .gallery-item.tall,
  .footer-grid .brand-block { grid-column: auto; }

  .hero h1 { max-width: none; }
  .hero { min-height: 70svh; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 3.2rem; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (prefers-contrast: more) {
  .work-card, .process-list li, .quote-form, .community-note { border-color: var(--black); }
}

@media print {
  .nav-toggle, .lightbox, .hero-scrim { display: none !important; }
  .site-nav { display: block !important; position: static; }
  .hero { min-height: 0; color: var(--black); }
  .hero h1, .hero .lede { color: var(--black); text-shadow: none; }
  .btn { border: 1px solid #000; }
}


/* ---------- Pricing ---------- */

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

.price {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  color: var(--teal-dark);
  margin: 0.1rem 0 0.4rem;
  letter-spacing: 0.01em;
}

.price-note {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 0.55rem;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.quote-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.quote-card h3 { margin-bottom: 0.85rem; }

.quote-card > p:last-child { margin-bottom: 0; }

.factor-list,
.policy-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.factor-list li,
.policy-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.factor-list li:last-child,
.policy-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.factor-list li:first-child,
.policy-list li:first-child { padding-top: 0; }

.factor-list strong,
.policy-list strong {
  display: block;
  margin-bottom: 0.15rem;
}

.min-note {
  margin-top: 1.1rem;
  padding: 0.75rem 0.9rem;
  background: var(--mist);
  border-radius: var(--radius);
  font-weight: 600;
}

.page-hero .lede { color: rgba(247, 245, 242, 0.9); max-width: 40rem; }

.cta-band {
  text-align: center;
}
.cta-band .section-header { margin-bottom: 1.4rem; }

@media (max-width: 1020px) {
  .quote-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
