:root {
  color-scheme: light;
  --ink: #20211d;
  --ink-2: #2b2d27;
  --ink-3: #3b3d35;
  --gold: #e4bc43;
  --gold-deep: #745514;
  --cyan: #e4bc43;
  --cyan-soft: #fff;
  --cream: #fff;
  --paper: #fff;
  --white: #fff;
  --muted: #5f6057;
  --line: rgba(32, 33, 29, .16);
  --max-width: 1220px;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.62 "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 4px; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; }
h1, h2 { letter-spacing: -.045em; }

.container { width: min(var(--max-width), calc(100% - 3rem)); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: .65rem;
  left: .65rem;
  z-index: 60;
  padding: .65rem 1rem;
  color: var(--ink);
  background: var(--gold);
  font-weight: 700;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.preview-ribbon {
  display: flex;
  justify-content: center;
  gap: .65rem;
  padding: .45rem 1rem;
  color: #4f514b;
  background: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}
.preview-ribbon span:first-child { color: #726022; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  color: var(--white);
  background: rgba(32, 33, 29, .98);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.header-inner { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; color: inherit; text-decoration: none; }
.brand-mark {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: -.1em;
  line-height: 1;
  white-space: nowrap;
}
.brand-copy {
  display: grid;
  gap: .1rem;
  padding-left: .85rem;
  border-left: 1px solid rgba(255,255,255,.26);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.main-nav a {
  padding: .45rem 0;
  color: #f1f0eb;
  font-size: .82rem;
  font-weight: 650;
  text-decoration: none;
  transition: color .18s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"], .main-nav a[aria-current="location"] { color: var(--cyan); }
.main-nav .nav-cta {
  padding: .8rem 1rem;
  border: 1px solid rgba(255,255,255,.38);
  color: var(--white);
  white-space: nowrap;
}
.main-nav .nav-cta:hover { border-color: var(--cyan); color: var(--cyan); }
.nav-toggle { display: none; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); color: var(--white); background: var(--ink); }
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6.4vw, 6.5rem) clamp(2rem, 6.6vw, 7rem);
}
.eyebrow {
  margin-bottom: 1.15rem;
  color: var(--gold);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.5;
  text-transform: uppercase;
}
.eyebrow-dark { color: #786c3f; }
.hero h1 { max-width: 12ch; margin-bottom: 1.45rem; font-size: clamp(2.8rem, 5vw, 5.2rem); font-weight: 760; }
.hero h1 span, .page-hero h1 span { color: var(--gold); }
.hero-intro { max-width: 42rem; margin-bottom: 1.9rem; color: #e3dfd4; font-size: clamp(1rem, 1.4vw, 1.14rem); }
.hero-actions { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 1.3rem;
  padding: .8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: .84rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-gold { color: var(--ink); background: var(--gold); }
.button-gold:hover { background: #f6d55d; }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { background: var(--ink-3); }
.button-outline { border-color: rgba(255,255,255,.55); color: var(--white); background: transparent; }
.button-outline:hover { border-color: var(--cyan); color: var(--cyan); }
.text-link { padding: .5rem 0; color: var(--white); font-size: .87rem; font-weight: 700; text-decoration-color: var(--cyan); text-underline-offset: .35em; }
.text-link span { margin-left: .35rem; color: var(--cyan); }
.hero-service-tags { display: flex; flex-wrap: wrap; gap: .45rem 1rem; margin-top: 3.2rem; color: #d7d2c7; font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-service-tags span + span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 .75rem .12rem 0; border-radius: 50%; background: var(--cyan); }
.hero-media { position: relative; min-height: 570px; margin: 0; overflow: hidden; background: #30322c; }
.hero-media::after { position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, transparent, rgba(10,19,23,.72)); content: ""; pointer-events: none; }
.hero-media img { width: 100%; height: 100%; min-height: 570px; object-fit: cover; object-position: center; }
.hero-media figcaption {
  position: absolute;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(1rem, 3vw, 2.5rem);
  left: clamp(1rem, 3vw, 2.5rem);
  z-index: 1;
  display: grid;
  gap: .25rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--gold);
  color: var(--white);
  background: rgba(25,26,22,.88);
  font-size: .9rem;
  font-weight: 750;
}
.hero-media figcaption small { color: #e6e1d6; font-size: .74rem; font-weight: 500; }

.section { padding: clamp(4rem, 7vw, 7.25rem) 0; }
.section-light { background: var(--paper); }
.section-cream { background: var(--cream); }
.section-dark { color: var(--white); background: var(--ink); }
#services.section-dark { position: relative; z-index: 1; margin-top: -3.5rem; border-top-left-radius: 50% clamp(2rem, 4vw, 4rem); border-top-right-radius: 50% clamp(2rem, 4vw, 4rem); }
.section-cyan { background: var(--paper); }
.section-heading { max-width: 760px; margin-bottom: 2.5rem; }
.section-heading h2, .about-heading h2, .contact-heading h2, .document-layout h2 { margin-bottom: 1.15rem; font-size: clamp(2.25rem, 4.2vw, 4.1rem); font-weight: 740; }
.section-heading-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(240px,.78fr); align-items: end; gap: 2.5rem; max-width: none; }
.section-heading-split h2 { margin-bottom: 0; }
.section-summary { max-width: 460px; margin-left: auto; }
.section-summary p, .section-lede { margin-bottom: 0; color: var(--muted); }
.section-lede { max-width: 620px; margin-top: .5rem; }
.accent-cyan { color: #6b500c; }
.section-heading-light .eyebrow { color: var(--gold); }
.section-heading-light h2 { color: var(--white); }
.section-heading-light h2 span { color: var(--cyan); }
.section-heading-light .section-lede { color: #d6d1c5; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; margin-top: 3rem; }
.service-card { display: flex; flex-direction: column; padding: clamp(1.35rem, 2.5vw, 2.2rem); border: 1px solid var(--line); border-top: 3px solid var(--gold); background: var(--white); }
.card-index { margin-bottom: 1rem; color: #786c3f; font-size: .66rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.service-card h3 { min-height: 2.3em; margin-bottom: 1rem; font-size: clamp(1.35rem, 2vw, 1.9rem); letter-spacing: -.035em; }
.service-card > p:not(.card-index) { min-height: 5.3em; margin-bottom: 1.25rem; color: var(--muted); font-size: .9rem; }
.plus-list { display: grid; gap: .68rem; margin: 0 0 1.4rem; padding: 0; list-style: none; }
.plus-list li { position: relative; padding-left: 1.2rem; font-size: .85rem; }
.plus-list li::before { position: absolute; left: 0; color: #078894; content: "+"; font-weight: 800; }
.card-link { display: inline-flex; align-items: center; gap: .55rem; width: fit-content; margin-top: auto; color: var(--ink); font-size: .78rem; font-weight: 750; text-decoration-color: var(--cyan); text-underline-offset: .3em; }
.card-link span { color: #6b500c; text-decoration: none; }
.scope-note, .credential-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin: 1.5rem 0 0;
  padding: .95rem 1rem;
  color: #405157;
  background: #f3f0e6;
  font-size: .79rem;
}
.scope-note span, .credential-disclaimer span { display: inline-flex; flex: 0 0 1.15rem; width: 1.15rem; height: 1.15rem; align-items: center; justify-content: center; border: 1px solid #a39c8b; border-radius: 50%; font-size: .7rem; font-weight: 800; }

.featured-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.1rem; }
.project-card { overflow: hidden; background: var(--white); box-shadow: 0 8px 24px rgba(32,33,29,.06); }
.project-image { position: relative; aspect-ratio: 1.32; margin: 0; overflow: hidden; background: #e7e3d8; }
.project-image::after { position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(25,26,22,.44)); content: ""; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.project-card:hover .project-image img { transform: scale(1.035); }
.image-tag { position: absolute; bottom: .9rem; left: .9rem; z-index: 1; padding: .4rem .58rem; color: var(--ink); background: var(--gold); font-size: .63rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.project-copy { padding: 1.25rem 1.3rem 1.45rem; }
.project-copy h3 { margin-bottom: .55rem; font-size: 1.22rem; letter-spacing: -.025em; }
.project-copy p { margin-bottom: 0; color: var(--muted); font-size: .84rem; }
.project-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .85rem; margin-top: 1rem; }
.project-tile { overflow: hidden; padding-bottom: 1rem; background: #e4e2d8; }
.project-tile img { width: 100%; aspect-ratio: 1.45; object-fit: cover; background: #d8d5cb; }
.project-tile h3 { margin: .8rem .85rem 0; font-size: .9rem; letter-spacing: -.015em; }

.planning-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; margin-top: 2.8rem; background: rgba(255,255,255,.17); border: 1px solid rgba(255,255,255,.17); }
.planning-card { min-height: 220px; padding: clamp(1.3rem, 3vw, 2.2rem); background: var(--ink); }
.step-number { display: inline-flex; width: 2.1rem; height: 2.1rem; align-items: center; justify-content: center; margin-bottom: 1.2rem; border: 1px solid var(--cyan); border-radius: 50%; color: var(--cyan); font-size: .72rem; font-weight: 800; }
.planning-card h3 { margin-bottom: .7rem; color: var(--white); font-size: 1.23rem; }
.planning-card p { max-width: 44rem; margin-bottom: 0; color: #d6d1c5; font-size: .86rem; }
.planning-footnote { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 1.6rem; }
.planning-footnote p { max-width: 640px; margin: 0; color: #e6e1d6; font-size: .85rem; }
.estimate-process-section { scroll-margin-top: 8rem; background: #f7f6f1; }
.estimate-process-heading { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); column-gap: clamp(2rem,5vw,5rem); align-items: end; max-width: none; margin-bottom: 2.4rem; }
.estimate-process-heading h2 { grid-row: span 2; max-width: 12ch; margin: 0; }
.estimate-process-heading p { max-width: 43ch; margin: 0 0 .9rem; color: var(--muted); font-size: 1rem; }
.estimate-process-link { width: fit-content; color: var(--gold-deep); font-size: .88rem; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: .32em; }
.estimate-process-link span { margin-left: .3rem; }
.estimate-steps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: .9rem; }
.estimate-step { min-height: 0; padding: 0; overflow: hidden; border: 1px solid #dcd9ce; border-radius: 14px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.estimate-step:hover, .estimate-step[open] { border-color: #b99b42; }
.estimate-step[open] { box-shadow: 0 12px 30px rgba(32,33,29,.07); }
.estimate-step summary { display: flex; min-height: 112px; align-items: center; gap: 1rem; padding: 1.25rem 1.4rem; cursor: pointer; list-style: none; }
.estimate-step summary::-webkit-details-marker { display: none; }
.estimate-step summary:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: -5px; }
.estimate-step .step-number { flex: 0 0 2.35rem; width: 2.35rem; height: 2.35rem; margin: 0; border: 0; color: var(--ink); background: var(--gold); font-size: .83rem; font-variant-numeric: tabular-nums; }
.estimate-step-title { display: grid; flex: 1; gap: .28rem; min-width: 0; }
.estimate-step-title strong { color: var(--ink); font-size: clamp(1.03rem,1.6vw,1.2rem); font-weight: 750; line-height: 1.18; }
.estimate-step-title small { color: #65655d; font-size: .8rem; line-height: 1.35; }
.estimate-step-chevron { width: .7rem; height: .7rem; flex: 0 0 .7rem; margin-right: .2rem; border-right: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep); transform: rotate(45deg) translateY(-3px); transition: transform .2s ease; }
.estimate-step[open] .estimate-step-chevron { transform: rotate(225deg) translateY(-3px); }
.estimate-step-body { margin: 0 1.4rem 1.4rem; padding-top: 1.1rem; border-top: 1px solid #e4e1d9; }
.estimate-step .estimate-step-body p { max-width: 55ch; margin: 0 0 .9rem; color: #3e4039; font-size: .9rem; line-height: 1.58; }
.estimate-step-body ul { display: grid; gap: .5rem; margin: 0; padding-left: 1.2rem; color: #515249; font-size: .83rem; line-height: 1.48; }
.estimate-step-body li::marker { color: var(--gold-deep); }
@media (max-width: 760px) {
  .estimate-process-heading { grid-template-columns: 1fr; gap: .8rem; margin-bottom: 1.8rem; }
  .estimate-process-heading h2 { grid-row: auto; }
  .estimate-steps { grid-template-columns: 1fr; }
  .estimate-step summary { min-height: 100px; padding: 1rem 1.1rem; }
  .estimate-step-body { margin: 0 1.1rem 1.2rem; }
}

.about-layout { display: grid; grid-template-columns: minmax(230px,.78fr) minmax(0,1.22fr); gap: clamp(2rem, 7vw, 7rem); }
.about-heading h2 { max-width: 9ch; }
.about-content > p { max-width: 720px; color: var(--muted); }
.about-content .about-lede { color: var(--ink); font-size: 1.18rem; line-height: 1.55; }
.process-list { margin-top: 2.25rem; border-top: 1px solid var(--line); }
.process-list article { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.process-list article > span { color: #6b500c; font-size: .78rem; font-weight: 800; }
.process-list h3 { margin-bottom: .3rem; font-size: 1.02rem; }
.process-list p { margin-bottom: 0; color: var(--muted); font-size: .85rem; }

.credentials-preview { padding-block: clamp(3.5rem, 6vw, 5rem); }
.credentials-preview-inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.credentials-preview .eyebrow { color: #625a45; }
.credentials-preview h2 { margin-bottom: 1rem; font-size: clamp(2rem,3.7vw,3.55rem); }
.credentials-preview-inner > div:first-child > p:last-child { max-width: 580px; margin-bottom: 0; color: #45453d; }
.course-preview-list { display: grid; gap: .65rem; }
.course-preview-list article { padding: .9rem 1rem; border-left: 3px solid var(--ink); background: rgba(255,255,255,.48); }
.course-preview-list article span { color: #625a45; font-size: .62rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.course-preview-list article h3 { margin: .2rem 0; font-size: 1rem; }
.course-preview-list article p { margin: 0; color: #625a45; font-size: .78rem; }
.course-preview-list .button { justify-self: start; margin-top: .45rem; }

.contact-section { border-top: 1px solid rgba(32,33,29,.1); }
.contact-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(2rem, 8vw, 8rem); }
.contact-heading h2 { margin-bottom: 1.2rem; }
.contact-heading > p:not(.eyebrow) { max-width: 400px; margin-bottom: 1.5rem; color: var(--muted); }
.contact-details { display: flex; flex-direction: column; justify-content: center; }
.contact-list { display: grid; gap: .75rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.contact-list li { position: relative; padding: 0 0 .72rem 1.4rem; border-bottom: 1px solid var(--line); font-size: .92rem; }
.contact-list li::before { position: absolute; left: 0; color: #6b500c; content: "•"; font-size: 1.15rem; line-height: 1.2; }
.contact-email { display: grid; gap: .3rem; }
.contact-label { color: #786c3f; font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-email > a, .document-email { width: fit-content; overflow-wrap: anywhere; color: var(--ink); font-size: clamp(1rem, 1.7vw, 1.28rem); font-weight: 700; text-decoration-color: var(--cyan); text-underline-offset: .3em; }
.contact-email p, .email-note { margin: .35rem 0 0; color: var(--muted); font-size: .78rem; }

.site-footer { color: #e6e1d6; background: var(--ink); border-top: 3px solid var(--gold); border-radius: 1rem 1rem 0 0; }
.footer-inner { display: grid; grid-template-columns: minmax(13rem,1.35fr) repeat(4,minmax(0,1fr)); gap: clamp(1.25rem,3vw,3rem); padding-block: clamp(3rem,6vw,5rem); }
.brand-footer .brand-mark { font-size: 1.9rem; }
.brand-footer .brand-copy { font-size: .55rem; }
.footer-brand p { max-width: 17rem; margin: 1.2rem 0 0; color: #c6c0b4; font-size: .82rem; line-height: 1.7; }
.footer-column h2 { margin: 0 0 1.2rem; color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.footer-column ul { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.footer-column li, .footer-column a { color: #e6e1d6; font-size: .8rem; line-height: 1.55; }
.footer-column a { text-decoration-color: transparent; text-underline-offset: .22em; transition: color .18s ease, text-decoration-color .18s ease; }
.footer-column a:hover { color: var(--cyan); text-decoration-color: currentColor; }
.footer-contact-link { display: flex; align-items: flex-start; gap: .65rem; overflow-wrap: anywhere; }
.footer-contact-link svg { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; margin-top: .12rem; color: var(--cyan); }
.footer-contact-note { margin: .95rem 0 0; color: #c6c0b4; font-size: .75rem; line-height: 1.65; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding-block: 1rem 1.4rem; border-top: 1px solid rgba(255,255,255,.13); }
.footer-bottom small { color: #aaa69a; font-size: .7rem; }
.footer-back-to-top { color: #e6e1d6; font-size: .75rem; text-decoration-color: rgba(212,221,221,.4); text-underline-offset: .22em; }
.footer-back-to-top:hover { color: var(--cyan); }

.page-hero { padding: clamp(4.5rem,8vw,8rem) 0 clamp(4rem,7vw,6.5rem); color: var(--white); background: var(--ink); }
.page-hero-inner { max-width: var(--max-width); }
.page-hero h1 { max-width: 10ch; margin-bottom: 1.35rem; font-size: clamp(3rem, 6vw, 5.5rem); }
.page-hero h1 span { color: var(--gold); }
.page-hero-inner > p:last-child { max-width: 640px; margin-bottom: 0; color: #e3dfd4; font-size: 1.05rem; }
.document-section { padding-block: clamp(4rem,7vw,6.5rem); }
.document-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: start; gap: clamp(2rem,8vw,8rem); }
.document-layout h2 { max-width: 10ch; color: var(--white); }
.document-layout > div:last-child > p:first-child { max-width: 690px; margin-bottom: 1.45rem; color: #e1dccf; }
.document-email { display: block; margin-top: .6rem; color: var(--white); font-size: .95rem; }

/* Credentials page: treat each certificate as a source document in a quiet archive. */
.credentials-page .credential-hero-inner {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(18rem,.78fr);
  align-items: end;
  gap: clamp(2rem,7vw,7rem);
}
.credentials-page .credential-hero h1 { max-width: 8ch; margin: 0; line-height: .98; }
.credentials-page .credential-hero-inner > p { max-width: 38rem; margin: 0 0 .2rem; color: #e3dfd4; font-size: clamp(1rem,1.35vw,1.15rem); }
.credentials-page .credential-section { background: #fff; }
.credential-list-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.2rem; padding-bottom: 1.35rem; border-bottom: 1px solid rgba(32,33,29,.24); }
.credential-list-heading h2 { margin: 0; font-size: clamp(1.8rem,3vw,2.7rem); letter-spacing: -.035em; }
.credential-list-heading p { max-width: 34ch; margin: 0; color: #55564d; font-size: .92rem; }
.credential-records { border-top: 1px solid rgba(32,33,29,.2); }
.credential-record {
  display: grid;
  grid-template-columns: minmax(15rem,.78fr) minmax(0,1.22fr);
  align-items: center;
  gap: clamp(2rem,6vw,6rem);
  padding-block: clamp(2.25rem,4.5vw,4rem);
  border-bottom: 1px solid rgba(32,33,29,.2);
  scroll-margin-top: 7rem;
}
.credential-record-copy { max-width: 34rem; }
.credential-record-date { display: inline-block; margin-bottom: 1rem; color: #5d584d; font-size: .9rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.credential-record-copy h3 { max-width: 19ch; margin-bottom: .9rem; font-size: clamp(1.55rem,2.5vw,2.45rem); letter-spacing: -.035em; }
.credential-record-copy p { max-width: 34ch; margin: 0; color: #5f6057; font-size: .96rem; }
.credential-document { display: block; min-width: 0; padding: .65rem .65rem 0; color: var(--ink); background: #fff; text-decoration: none; }
.credential-document-preview { position: relative; display: grid; width: 100%; aspect-ratio: 1.48; place-items: center; overflow: hidden; background: #fff; }
.credential-document-preview img { width: 100%; height: 100%; object-fit: contain; }
.credential-document-preview-rotated { container-type: size; }
.credential-document-preview-rotated img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100cqh;
  height: 100cqw;
  max-width: none;
  transform: translate(-50%,-50%) rotate(-90deg);
}
.credential-document-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .6rem; padding: .75rem .3rem .8rem; border-top: 1px solid rgba(32,33,29,.16); font-size: .82rem; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(32,33,29,.36); text-underline-offset: .22em; }
.credential-document-link span { color: #55564d; font-size: 1rem; text-decoration: none; }
.credential-document:hover .credential-document-link { text-decoration-color: var(--ink); }
.credential-document:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 5px; }
.credentials-page .document-section { background: #252722; }

@media (max-width: 940px) {
  .main-nav { gap: 1rem; }
  .main-nav a { font-size: .76rem; }
  .footer-inner { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 2rem 1.25rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 4.8rem; }
  .container { width: min(var(--max-width), calc(100% - 2rem)); }
  .preview-ribbon { font-size: .55rem; letter-spacing: .08em; }
  .header-inner { min-height: 72px; }
  .brand-mark { font-size: 2rem; }
  .brand-copy { font-size: .56rem; }
  .nav-toggle {
    display: grid;
    width: 46px;
    height: 46px;
    align-content: center;
    justify-items: center;
    gap: 6px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: var(--radius);
    color: var(--white);
    background: transparent;
    cursor: pointer;
  }
  .nav-toggle span { display: block; width: 19px; height: 2px; background: currentColor; transition: transform .2s ease; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: .6rem 1rem 1rem;
    border-top: 1px solid rgba(255,255,255,.12);
    background: var(--ink);
    box-shadow: 0 16px 22px rgba(0,0,0,.18);
  }
  .main-nav.is-open { display: flex; flex-direction: column; }
  .main-nav a { padding: .9rem .5rem; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .9rem; }
  .main-nav .nav-cta { margin-top: .7rem; padding: .9rem; border: 1px solid rgba(255,255,255,.38); text-align: center; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 3.5rem 1.3rem 2.5rem; }
  .hero h1 { max-width: 11ch; font-size: clamp(2.75rem,12vw,4.2rem); }
  .hero-intro { font-size: 1rem; }
  .hero-service-tags { margin-top: 2rem; font-size: .6rem; }
  .hero-media { min-height: 340px; }
  .hero-media img { min-height: 340px; max-height: 480px; }
  .hero-media figcaption { right: 1rem; bottom: 1rem; left: 1rem; }
  .section { padding-block: 4rem; }
  #services.section-dark { margin-top: -2.5rem; border-top-left-radius: 50% 1.75rem; border-top-right-radius: 50% 1.75rem; }
  .section-heading-split { grid-template-columns: 1fr; align-items: start; gap: 1rem; }
  .section-summary { max-width: 600px; margin-left: 0; }
  .service-grid { grid-template-columns: 1fr; gap: .8rem; margin-top: 2rem; }
  .service-card { padding: 1.35rem; }
  .service-card h3, .service-card > p:not(.card-index) { min-height: 0; }
  .service-card > p:not(.card-index) { margin-bottom: 1rem; }
  .plus-list { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 1rem; }
  .featured-project-grid { grid-template-columns: 1fr; }
  .project-image { aspect-ratio: 1.55; }
  .project-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .project-tile img { aspect-ratio: 1.35; }
  .planning-grid { grid-template-columns: 1fr; }
  .planning-card { min-height: 0; }
  .planning-footnote { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .about-layout { grid-template-columns: 1fr; gap: 1rem; }
  .about-heading h2 { max-width: 13ch; }
  .credentials-preview-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.25rem; }
  .footer-inner { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem 1.25rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: .55rem; }
  .page-hero { padding-block: 4.2rem; }
  .page-hero h1 { font-size: clamp(2.85rem,13vw,4.5rem); }
  .credentials-page .credential-hero-inner { grid-template-columns: 1fr; gap: 1.35rem; }
  .credentials-page .credential-hero-inner > p { max-width: 39rem; }
  .credential-list-heading { align-items: flex-start; flex-direction: column; gap: .65rem; }
  .credential-record { grid-template-columns: 1fr; gap: 1.35rem; padding-block: 2rem; }
  .credential-record-copy h3 { max-width: 23ch; }
  .credential-document-preview { aspect-ratio: 1.32; }
  .document-layout { grid-template-columns: 1fr; gap: 1.3rem; }
}

@media (max-width: 430px) {
  .hero-copy { padding-inline: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: .65rem; }
  .hero-service-tags { display: grid; gap: .45rem; }
  .hero-service-tags span + span::before { margin-right: .55rem; }
  .plus-list { grid-template-columns: 1fr; }
  .project-strip { gap: .65rem; }
  .project-tile h3 { margin-inline: .65rem; font-size: .82rem; }
  .credential-document { padding-inline: .4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* Service directory and child-page layouts */
.hero-service-panel { display: flex; min-height: 570px; flex-direction: column; justify-content: center; padding: clamp(2rem,5vw,4.5rem); background: var(--ink-2); }
.hero-service-panel::after { display: none; }
.hero-panel-eyebrow { margin-bottom: .3rem; color: var(--cyan); font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero-panel-count { margin: 0; color: var(--gold); font-size: clamp(6rem,11vw,9.5rem); font-weight: 800; letter-spacing: -.08em; line-height: .95; }
.hero-panel-label { margin: .6rem 0 1.3rem; color: var(--white); font-size: 1.1rem; font-weight: 700; }
.hero-panel-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem 1rem; }
.hero-panel-list span { padding-top: .5rem; border-top: 1px solid rgba(255,255,255,.17); color: #e3dfd4; font-size: .74rem; line-height: 1.35; }
.hero-service-panel > a { display: inline-flex; width: fit-content; gap: .6rem; margin-top: 1.3rem; color: var(--gold); font-size: .8rem; font-weight: 750; text-underline-offset: .25em; }
.home-services-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin-top: 2.4rem; }
.home-services-grid .service-card { min-height: 100%; }
.home-services-grid .service-card h3 { min-height: 0; }
.home-services-link { margin-top: 1.5rem; }
.service-offer-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: .35rem 1rem; margin: 2rem 0 1.4rem; }
.service-offer-grid li { min-height: 3rem; padding: .75rem .4rem .7rem 1.2rem; border-top: 1px solid var(--line); font-weight: 650; line-height: 1.4; }
.section-dark .service-offer-grid li { border-top-color: rgba(255,255,255,.2); }
.section-dark .service-offer-grid li::before { color: var(--cyan); }
.service-guide-heading { margin-top: clamp(3rem,5vw,4.5rem); }
.testimonial-placeholder { max-width: 760px; margin-top: .2rem; padding-top: 1rem; border-top: 1px solid var(--line); }

/* The supplied Awards component's certificate variant, adapted to this static site. */
.certificate-badges-section { padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.certificate-badges-section .section-heading { max-width: 850px; margin: 0 auto 2rem; text-align: center; }
.certificate-badges-section .section-heading h2 { margin-bottom: .55rem; }
.certificate-badges-section .section-lede { max-width: 680px; margin-inline: auto; }
.certificate-marquee { --certificate-card-width: clamp(250px, 27vw, 300px); max-width: 950px; margin-inline: auto; }
.certificate-marquee-viewport { overflow-x: auto; overflow-y: hidden; padding: .55rem .35rem 1.25rem; margin: -.55rem -.35rem 0; }
.certificate-marquee.is-ready .certificate-marquee-viewport { overflow: hidden; }
.certificate-marquee-track { display: flex; width: max-content; transform: translateX(0); }
.certificate-award-group { display: flex; flex: 0 0 auto; align-items: stretch; gap: 1.1rem; padding-right: 1.1rem; }
.certificate-marquee.is-ready .certificate-marquee-track { animation: certificate-marquee 38s linear infinite; }
.certificate-marquee.is-paused .certificate-marquee-track { animation-play-state: paused; }
.certificate-award-card {
  display: flex;
  width: var(--certificate-card-width);
  min-height: 320px;
  flex: 0 0 var(--certificate-card-width);
  flex-direction: column;
  padding: .5rem;
  border: 0;
  border-radius: 4px;
  color: var(--ink);
  background: var(--paper);
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease;
  scroll-snap-align: start;
}
.certificate-award-card:hover { transform: translateY(-3px); }
.certificate-template {
  position: relative;
  display: flex;
  min-height: 280px;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.6rem;
  border: 0;
  border-radius: 3px;
  background: var(--white);
  text-align: center;
}
.certificate-template::before { position: absolute; inset: .4rem .25rem; background: url("assets/certificates/laurel-wreath.svg") center / contain no-repeat; content: ""; pointer-events: none; }
.certificate-template > * { position: relative; z-index: 1; }
.certificate-template-ribbon { display: inline-block; margin-bottom: .55rem; padding: .27rem .65rem; border-radius: .45rem; color: var(--ink); background: var(--gold); font-size: .62rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.certificate-template-heading { display: grid; max-width: 100%; margin: 0; line-height: 1.13; }
.certificate-template-heading strong { font-size: clamp(1.2rem,1.7vw,1.45rem); font-weight: 850; letter-spacing: -.035em; text-transform: uppercase; }
.certificate-template-heading span { max-width: 21ch; margin: .5rem auto 0; font-size: .7rem; font-weight: 450; line-height: 1.35; }
.certificate-template-recipient { margin: .72rem 0 .05rem; color: #5e5a50; font-size: .73rem; font-style: italic; line-height: 1.3; }
.certificate-template-date { margin: 0; color: var(--ink); font-size: .86rem; font-weight: 800; }
.certificate-template-subtitle { max-width: 28ch; margin: .65rem 0 0; color: var(--muted); font-size: .62rem; line-height: 1.35; }
.certificate-award-action { padding: .55rem .3rem .25rem; color: #6b500c; font-size: .75rem; font-weight: 800; text-decoration: underline; text-decoration-color: rgba(107,80,12,.42); text-underline-offset: .22em; }
.certificate-card .certificate-template { min-height: 280px; margin-bottom: 1rem; }
.certificate-award-card:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; }
@keyframes certificate-marquee {
  to { transform: translateX(-50%); }
}
@media (max-width: 760px) {
  .certificate-award-card { min-height: 320px; }
}
@media (max-width: 430px) {
  .certificate-template { padding-inline: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .certificate-marquee.is-ready .certificate-marquee-viewport { overflow-x: auto; scroll-snap-type: x mandatory; }
  .certificate-marquee.is-ready .certificate-marquee-track { animation: none; transform: none; }
  .certificate-award-group[aria-hidden="true"] { display: none; }
}

.why-choose-section { position: relative; padding: clamp(4.5rem,7vw,7rem) 0 clamp(7rem,10vw,10rem); color: var(--white); background: #292a25; scroll-margin-top: 7rem; }
.why-choose-section::before { position: absolute; top: -2px; left: 0; width: 45%; height: calc(clamp(150px,14vw,260px) + 2px); background: url("assets/why-choose-curve.svg") top left / 100% 100% no-repeat; content: ""; pointer-events: none; }
.why-choose-heading { max-width: 720px; margin: 0 auto clamp(2rem,4vw,3.2rem); text-align: center; }
.why-choose-heading h2 { margin-bottom: .9rem; font-size: clamp(2.4rem,4.8vw,4.6rem); letter-spacing: -.035em; }
.why-choose-heading p { max-width: 55ch; margin: 0 auto; color: #dedbd0; font-size: 1rem; }
.why-choose-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.why-choose-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; background: #20211d; }
.why-choose-card img { display: block; width: 100%; height: clamp(190px,20vw,250px); object-fit: cover; }
.why-choose-card-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.5rem; }
.why-choose-card h3 { margin: 0 0 .65rem; font-size: clamp(1.2rem,1.8vw,1.55rem); letter-spacing: -.025em; }
.why-choose-card p { margin: 0 0 1.3rem; color: #d9d6cb; font-size: .88rem; line-height: 1.55; }
.why-choose-card a { margin-top: auto; color: var(--gold); font-size: .81rem; font-weight: 800; text-decoration: underline; text-underline-offset: .25em; }
.why-choose-card a:hover { color: #fff; }
.why-choose-card a:focus-visible { outline-color: var(--gold); }
@media (max-width: 760px) {
  .why-choose-section { padding-bottom: 7rem; }
  .why-choose-section::before { width: 58%; height: 105px; }
  .why-choose-grid { grid-template-columns: 1fr; }
  .why-choose-card img { height: clamp(210px,57vw,320px); }
}
.proof-training { margin-top: clamp(2.5rem,4vw,3.5rem); padding-top: clamp(2rem,3vw,2.75rem); border-top: 1px solid var(--line); }
.service-hub-hero { padding-block: clamp(4rem,7vw,6rem); }
.service-hub-hero .page-hero-inner { max-width: var(--max-width); }
.service-hub-hero h1 { max-width: 13ch; }
.service-hub-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.service-hub-card { min-height: 100%; }
.service-hub-card h2 { min-height: 2.2em; margin-bottom: .8rem; font-size: clamp(1.35rem,2vw,1.8rem); letter-spacing: -.035em; }
.service-hub-card > p:not(.card-index) { min-height: 5.3em; margin-bottom: 1.1rem; color: var(--muted); font-size: .9rem; }
.service-hub-card .plus-list { margin-bottom: 1.35rem; }
.service-hub-contact { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr) auto; align-items: center; gap: 1.2rem; margin-top: 3rem; padding: clamp(1.3rem,3vw,2.2rem); background: var(--cream); border-left: 3px solid var(--gold); }
.service-hub-contact h2, .service-hub-contact p { margin: 0; }
.service-hub-contact h2 { font-size: 1.35rem; }
.service-hub-contact p { color: var(--muted); font-size: .88rem; }
.service-breadcrumb { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2.2rem; color: #ded9cb; font-size: .75rem; }
.service-breadcrumb a { color: var(--white); text-underline-offset: .22em; }
.service-page-hero h1 { max-width: 14ch; }
.service-scope-points { margin: 1rem 0 0; }
.service-planning-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; margin-top: 2.5rem; }
.service-planning-card { padding: clamp(1.15rem,2vw,1.65rem); border: 1px solid var(--line); border-top: 3px solid var(--cyan); background: var(--white); }
.service-planning-card h3 { margin-bottom: .8rem; font-size: 1.15rem; }
.service-planning-card ul { display: grid; gap: .55rem; margin: 0; padding-left: 1.15rem; color: var(--muted); font-size: .84rem; }
.service-planning-card li::marker { color: #6b500c; }
.service-confirm-card { border-top-color: var(--gold); }
.service-confirm-card p:last-child { margin-bottom: 0; color: var(--muted); font-size: .86rem; }
.service-project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 1rem; }
.service-material-card { overflow: hidden; height: 100%; background: var(--paper); box-shadow: 0 8px 24px rgba(32,33,29,.06); }
.service-material-image { position: relative; aspect-ratio: 1.28; margin: 0; overflow: hidden; background: #e7e3d8; }
.service-material-image img { width: 100%; height: 100%; object-fit: cover; }
.service-material-image figcaption { position: absolute; right: .65rem; bottom: .65rem; left: .65rem; width: fit-content; max-width: calc(100% - 1.3rem); padding: .38rem .55rem; color: var(--ink); background: var(--gold); font-size: .66rem; font-weight: 800; }
.service-material-copy { padding: 1rem 1.1rem 1.2rem; }
.service-material-copy p { margin: 0; color: var(--muted); font-size: .82rem; }
.service-material-note { max-width: 760px; padding: clamp(1.4rem,3vw,2.2rem); border: 1px solid var(--line); border-left: 3px solid var(--cyan); background: var(--paper); }
.service-material-note .eyebrow { margin-bottom: .6rem; }
.service-material-note h3 { margin-bottom: .6rem; font-size: 1.3rem; }
.service-material-note p:last-child { margin-bottom: 0; color: var(--muted); }
.service-page-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.service-project-section .email-note { margin: .8rem 0 0; color: var(--muted); font-size: .78rem; }
@media (max-width: 1000px) {
  .service-hub-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-offer-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .service-hub-contact { grid-template-columns: 1fr 1.2fr; }
  .service-hub-contact .button { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 760px) {
  .hero-service-panel { min-height: 340px; padding: 2rem 1.3rem; }
  .hero-panel-count { font-size: 6.5rem; }
  .service-offer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-services-grid, .service-hub-grid, .service-planning-grid, .service-project-grid { grid-template-columns: 1fr; }
  .service-hub-card > p:not(.card-index) { min-height: 0; }
  .service-hub-contact { grid-template-columns: 1fr; }
  .service-hub-contact .button { grid-column: auto; }
  .service-breadcrumb { margin-bottom: 1.5rem; }
  .service-page-actions { flex-direction: column; align-items: flex-start; }
  .service-page-actions .button { width: 100%; }
  .service-material-image { aspect-ratio: 1.5; }
}
@media (max-width: 430px) {
  .hero-panel-list, .service-offer-grid { grid-template-columns: 1fr; }
}


.service-project-grid-single { grid-template-columns: minmax(0,850px); }
.service-project-grid-single .service-material-card { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1fr); }
.service-project-grid-single .service-material-image { aspect-ratio: auto; height: 420px; min-height: 420px; background: #2b2d27; }
.service-project-grid-single .service-material-image img { object-fit: contain; background: #2b2d27; }
.service-project-grid-single .service-material-image-portrait { min-height: 360px; }
.service-project-grid-single .service-material-copy { display: flex; align-items: center; padding: clamp(1.2rem,3vw,2rem); }
@media (max-width: 760px) {
  .service-project-grid-single .service-material-card { grid-template-columns: 1fr; }
  .service-project-grid-single .service-material-image { height: auto; min-height: 0; aspect-ratio: 1.5; }
  .service-project-grid-single .service-material-image-portrait { aspect-ratio: .72; }
}


/* High-value offer cards and expandable remainder */
.featured-offer-grid, .more-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}
.featured-offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.featured-offer-grid > li, .more-offer-grid > li {
  position: relative;
  display: flex;
  min-height: 17rem;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  color: var(--white);
  background: var(--ink-2);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.featured-offer-grid > li:hover, .more-offer-grid > li:hover,
.featured-offer-grid > li:focus-within, .more-offer-grid > li:focus-within {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: #33352e;
}
.offer-card-number { color: var(--cyan); font-size: .7rem; font-weight: 800; letter-spacing: .14em; }
.featured-offer-grid h3, .more-offer-grid h3 { max-width: 22ch; margin: .8rem 0 .85rem; color: inherit; font-size: clamp(1.25rem, 1.8vw, 1.55rem); }
.offer-card-points { display: grid; gap: .28rem; max-width: 36ch; margin: 0 0 1.25rem; padding-left: 1.15rem; color: #e7e4da; font-size: .88rem; line-height: 1.45; list-style: disc; }
.offer-card-points li { padding: 0; }
.offer-card-points li::marker { color: var(--gold); }
.more-services-dropdown { margin-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.more-services-dropdown summary { position: relative; display: flex; min-height: 6rem; align-items: center; padding: 1rem 0; color: var(--white); font-size: 1rem; font-weight: 750; cursor: pointer; list-style: none; }
.more-services-dropdown summary::-webkit-details-marker { display: none; }
.more-services-dropdown summary:hover { color: var(--cyan); }
.more-services-dropdown summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: -3px; }
.more-services-dropdown summary svg { position: absolute; top: 50%; left: 50%; width: 2rem; height: 2rem; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transform: translate(-50%, -50%); transition: transform .25s ease; }
.more-services-dropdown[open] summary svg { transform: translate(-50%, -50%) rotate(180deg); }
.more-services-dropdown:not([open]) .more-offer-grid { display: none; }
.more-services-dropdown .more-offer-grid { margin: .25rem 0 2rem; }
@media (max-width: 760px) {
  .featured-offer-grid, .more-offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 430px) {
  .featured-offer-grid, .more-offer-grid { grid-template-columns: 1fr; }
}


.hero-priority-bullets {
  display: block;
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
  color: var(--white);
  list-style: disc;
}
.hero-priority-bullets li {
  padding-left: .15rem;
  font-size: .85rem;
}
.hero-priority-bullets li::marker { color: var(--cyan); }


/* Full-bleed video hero */
.hero-video {
  position: relative;
  display: block;
  min-height: clamp(620px, 80vh, 850px);
  overflow: hidden;
  background: #20211d url("assets/videos/hero-stock-wide-poster.jpg") center / cover no-repeat;
}
.hero-background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.hero-video-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(25,26,22,.93) 0%, rgba(25,26,22,.78) 44%, rgba(25,26,22,.25) 100%), linear-gradient(0deg, rgba(25,26,22,.32), transparent 55%);
}
.hero-video .hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-width));
  min-height: clamp(620px, 80vh, 850px);
  margin-inline: auto;
  padding: clamp(3.5rem,7vw,6.5rem) 1.5rem;
}
.hero-video h1 { max-width: 12ch; font-size: clamp(3.25rem, 7vw, 6rem); }
.hero-video .hero-intro { color: #f8f6ef; }
@media (max-width: 760px) {
  .hero-video, .hero-video .hero-copy { min-height: clamp(620px, 82svh, 820px); }
  .hero-video .hero-copy { padding: 3.5rem 1.3rem; }
  .hero-video-shade { background: linear-gradient(90deg, rgba(25,26,22,.9), rgba(25,26,22,.56)), linear-gradient(0deg, rgba(25,26,22,.35), transparent 60%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-background-video { display: none; }
}


/* Offer cards link directly to their individual service pages. */
.featured-offer-grid > li, .more-offer-grid > li { padding: 0; }
.offer-card-link {
  display: flex;
  min-height: 17rem;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.25rem, 2vw, 1.7rem);
  color: inherit;
  text-decoration: none;
}
.offer-card-link h3 { color: inherit; }
.offer-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: auto;
  padding-top: .9rem;
  color: var(--cyan);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.offer-card-link:hover .offer-card-action { color: var(--gold); }
.offer-card-link:focus-visible { border-radius: .55rem; outline: 3px solid var(--cyan); outline-offset: -5px; }
.service-offer-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  color: inherit;
  text-decoration-color: transparent;
  text-underline-offset: .2em;
}
.service-offer-grid a:hover { color: #6b500c; text-decoration-color: currentColor; }
.service-offer-grid a:focus-visible { outline: 2px solid #6b500c; outline-offset: 3px; }
@media (max-width: 760px) {
  .offer-card-link { min-height: 17rem; }
}

/* Service-system routing, related decisions, and visible FAQ disclosures. */
.service-related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.service-related-link { display: grid; gap: .65rem; min-height: 9rem; padding: 1.25rem; border: 1px solid var(--line); background: var(--white); text-decoration: none; }
.service-related-link strong { font-size: 1.1rem; }
.service-related-link span { color: var(--muted); font-size: .84rem; }
.service-related-link:hover strong { color: #6b500c; }
.service-faq-list { max-width: 860px; border-top: 1px solid var(--line); }
.service-faq-list details { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.service-faq-list summary { cursor: pointer; font-weight: 750; }
.service-faq-list p { max-width: 720px; margin: .75rem 0 0; color: var(--muted); }
.service-route-note h2 { max-width: 16ch; margin-bottom: .85rem; font-size: clamp(2rem,4vw,3.4rem); }
.service-route-note p { max-width: 720px; color: var(--muted); }
@media (max-width: 760px) {
  .service-related-grid { grid-template-columns: 1fr; }
}

/* The Services control opens the full service index from every page. */
.services-menu-wrap { position: static; }
.services-menu-button {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 2.45rem;
  padding: .45rem .8rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #f1f0eb;
  background: transparent;
  font: inherit;
  font-size: .82rem;
  font-weight: 650;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.services-menu-chevron { width: .85rem; height: .85rem; color: var(--gold); transition: transform .2s cubic-bezier(.16,1,.3,1), color .18s ease; }
.services-menu-button:hover,
.services-menu-button[aria-current="page"],
.services-menu-button[aria-current="location"],
.services-menu-wrap.is-open .services-menu-button {
  border-color: rgba(255,255,255,.14);
  color: var(--gold);
  background: rgba(255,255,255,.06);
}
.services-menu-wrap.is-open .services-menu-chevron { color: var(--gold); transform: rotate(180deg); }
.services-mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 32;
  display: grid;
  width: min(1160px, calc(100vw - 3rem));
  max-height: min(76vh, 720px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.35rem;
  overflow: auto;
  border: 1px solid rgba(32,33,29,.16);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 8px 8px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 18px 32px rgba(0,0,0,.28);
  transform: translateX(-50%);
  scrollbar-color: var(--gold-deep) var(--cream);
  animation: services-menu-enter .2s cubic-bezier(.16,1,.3,1) both;
}
.services-mega-menu[hidden] { display: none !important; }
.services-menu-group h2 { margin: 0 0 .65rem; color: var(--gold-deep); font-size: .67rem; font-weight: 800; letter-spacing: .11em; line-height: 1.4; text-transform: uppercase; }
.services-menu-group ul { display: grid; gap: .22rem; margin: 0; padding: 0; list-style: none; }
.services-mega-menu .services-menu-group a.services-menu-link {
  display: grid;
  min-height: 3.35rem;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: center;
  gap: .55rem;
  padding: .4rem .42rem;
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--ink);
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.services-menu-icon {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(32,33,29,.14);
  border-radius: 4px;
  color: var(--gold-deep);
  background: var(--cream);
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.services-menu-icon svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.services-menu-link-copy { display: grid; min-width: 0; gap: .15rem; }
.services-menu-link-title { color: var(--ink); font-size: .76rem; font-weight: 700; line-height: 1.25; }
.services-menu-link-description { color: #5f6057; font-size: .66rem; font-weight: 450; line-height: 1.35; }
.services-mega-menu .services-menu-group a.services-menu-link:hover,
.services-mega-menu .services-menu-group a.services-menu-link[aria-current="page"] {
  border-color: rgba(32,33,29,.13);
  color: var(--ink);
  background: var(--cream);
}
.services-mega-menu .services-menu-group a.services-menu-link:hover .services-menu-icon,
.services-mega-menu .services-menu-group a.services-menu-link[aria-current="page"] .services-menu-icon {
  border-color: var(--gold-deep);
  color: var(--ink);
  background: var(--gold);
}
.services-mega-menu .services-menu-all {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: .15rem;
  padding: .8rem .2rem 0;
  border-top: 1px solid var(--line);
  color: var(--gold-deep);
  font-size: .82rem;
  font-weight: 750;
  text-decoration: none;
}
.services-menu-all::after { content: "→"; color: var(--gold); font-size: 1.1rem; }
.services-mega-menu .services-menu-all:hover { color: var(--ink); }
@keyframes services-menu-enter {
  from { opacity: 0; transform: translateX(-50%) translateY(-.45rem); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .services-menu-chevron, .services-mega-menu, .services-menu-link, .services-menu-icon { transition: none; animation: none; }
}

@media (max-width: 940px) and (min-width: 761px) {
  .services-mega-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: 1.15rem; }
  .services-menu-button { font-size: .76rem; }
}

@media (max-width: 760px) {
  .services-menu-wrap { display: grid; }
  .main-nav .services-menu-button {
    width: 100%;
    justify-content: space-between;
    padding: .9rem .5rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
    font-size: .9rem;
    text-align: left;
  }
  .services-mega-menu {
    position: static;
    width: auto;
    max-height: min(62svh, 600px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.05rem .65rem;
    margin: .25rem 0 .5rem;
    padding: .85rem;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-top: 2px solid var(--gold);
    border-radius: 10px;
    background: var(--paper);
    box-shadow: none;
    transform: none;
    animation-name: services-menu-enter-mobile;
  }
  .services-menu-group h2 { min-height: 2em; font-size: .59rem; }
  .services-mega-menu .services-menu-group a.services-menu-link { min-height: 3rem; grid-template-columns: 1.8rem minmax(0, 1fr); gap: .42rem; padding: .35rem .2rem; }
  .services-menu-icon { width: 1.8rem; height: 1.8rem; }
  .services-menu-icon svg { width: 1.1rem; height: 1.1rem; }
  .services-menu-link-title { font-size: .72rem; }
  .services-menu-link-description { font-size: .62rem; }
  .services-mega-menu .services-menu-all { grid-column: 1 / -1; padding-top: .75rem; }
  @keyframes services-menu-enter-mobile {
    from { opacity: 0; transform: translateY(-.35rem); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 440px) {
  .services-mega-menu { grid-template-columns: minmax(0, 1fr); }
  .services-menu-group h2 { min-height: 0; margin-bottom: .4rem; }
}

/* Individual service guides: field notes, not interchangeable offer cards. */
.service-opening { padding: clamp(2.5rem,5vw,4.75rem) 0 clamp(3.2rem,6vw,5.2rem); color: var(--white); background: var(--ink); }
.service-opening-grid { display: grid; grid-template-columns: minmax(0,.96fr) minmax(330px,1.04fr); align-items: center; gap: clamp(2rem,5.5vw,5.5rem); }
@media (max-width: 940px) {
  .service-opening-grid { grid-template-columns: minmax(0, 1fr); }
  .service-opening-image { width: 100%; min-height: 0; aspect-ratio: 1.5; }
  .service-opening-image img { min-height: 0; }
}
.service-opening-image-left .service-opening-image,
.service-opening-image-left .service-opening-card { order: -1; }
.service-opening-copy { max-width: 620px; }
.service-opening .service-breadcrumb { margin-bottom: clamp(1.7rem,3.2vw,3rem); }
.service-opening h1 { max-width: 12ch; margin-bottom: 1.2rem; font-size: clamp(2.8rem,5vw,5.25rem); letter-spacing: -.055em; }
.service-opening-lead { max-width: 37rem; margin-bottom: 1.65rem; color: #e3dfd4; font-size: clamp(1rem,1.3vw,1.16rem); line-height: 1.6; }
.service-opening-image { position: relative; min-height: 370px; aspect-ratio: 1.12; margin: 0; overflow: hidden; background: var(--ink-2); }
.service-opening-image::after { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent,rgba(25,26,22,.76)); content: ""; pointer-events: none; }
.service-opening-image img { width: 100%; height: 100%; min-height: 370px; object-fit: cover; }
.service-opening-image figcaption { position: absolute; z-index: 1; right: 1rem; bottom: 1rem; left: 1rem; padding: .9rem 1rem; border-left: 2px solid var(--gold); color: var(--white); background: rgba(25,26,22,.86); font-size: .78rem; }
.service-opening-card { display: grid; align-content: center; gap: 1rem; min-height: 340px; padding: clamp(1.5rem,3vw,2.5rem); border: 1px solid rgba(255,255,255,.2); border-top: 3px solid var(--gold); background: var(--ink-2); }
.service-opening-label { margin: 0; color: var(--gold); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.service-opening-card strong { max-width: 12ch; font-size: clamp(1.7rem,3vw,2.7rem); line-height: 1.12; }
.service-opening-card span { max-width: 36rem; color: #e3dfd4; font-size: .92rem; }
.service-at-a-glance { color: var(--white); background: #2b2d27; }
.service-at-a-glance dl { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 0; }
.service-at-a-glance dl > div { min-height: 91px; display: grid; align-content: center; gap: .38rem; padding: 1rem 1.15rem; border-left: 1px solid rgba(255,255,255,.13); }
.service-at-a-glance dl > div:last-child { border-right: 1px solid rgba(255,255,255,.13); }
.service-at-a-glance dt { color: var(--gold); font-size: .6rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.service-at-a-glance dd { margin: 0; color: #eeeae0; font-size: .84rem; font-weight: 650; line-height: 1.35; }
.service-story-grid { display: grid; grid-template-columns: minmax(230px,.72fr) minmax(0,1.28fr); gap: clamp(2rem,7vw,7.5rem); align-items: start; }
.service-story-title h2, .service-work-topline h2, .service-estimate-grid h2, .service-faq-heading h2, .service-reference-layout h2, .service-contact-layout h2 { margin: 0; font-size: clamp(2rem,4vw,3.5rem); }
.service-story-copy > p { max-width: 760px; margin-bottom: 1.5rem; font-size: clamp(1.08rem,1.5vw,1.28rem); line-height: 1.65; }
.service-key-note { display: grid; grid-template-columns: 28px 1fr; gap: .75rem; max-width: 710px; padding: 1rem 1.15rem; border-left: 2px solid var(--gold-deep); background: #fff; }
.service-key-note > span { color: #745514; font-size: 1.3rem; }
.service-key-note p { margin: 0; color: #41433b; font-size: .88rem; }
.service-work-topline { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.25rem; }
.service-work-topline > p { max-width: 24rem; margin: 0; color: var(--muted); font-size: .9rem; }
.service-work-topline-light > p { color: #d6d1c5; }
.service-work-topline .eyebrow { margin-bottom: .85rem; }
.service-work-topline h2 span { color: var(--gold-deep); }
.service-work-topline-light h2 span { color: var(--gold); }
.service-steps-section { background: var(--ink); }
.service-steps-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid rgba(255,255,255,.2); }
.service-step { min-height: 224px; padding: 1.45rem 1.35rem 1.2rem 0; border-right: 1px solid rgba(255,255,255,.17); }
.service-step + .service-step { padding-left: 1.35rem; }
.service-step:last-child { border-right: 0; }
.service-step-no { margin-bottom: 1.4rem; color: var(--cyan); font-size: .7rem; font-weight: 850; letter-spacing: .13em; }
.service-step h3 { margin-bottom: .75rem; color: var(--white); font-size: 1.25rem; }
.service-step > p:last-child { max-width: 28rem; margin: 0; color: #d3cec2; font-size: .86rem; }
.service-estimate-section { background: var(--cream); }
.service-estimate-grid { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: clamp(2rem,8vw,8rem); align-items: start; }
.service-estimate-grid > div:first-child > p:not(.eyebrow) { max-width: 25rem; margin: 1.1rem 0 1.45rem; color: var(--muted); }
.service-estimate-grid h2 { margin-bottom: .9rem; }
.service-estimate-grid h2 span { color: #6b500c; }
.service-estimate-list ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.service-estimate-list li { display: grid; grid-template-columns: 42px 1fr; align-items: start; gap: .7rem; padding: .88rem 0; border-bottom: 1px solid var(--line); font-size: .91rem; }
.service-estimate-list li span { color: #6b500c; font-size: .7rem; font-weight: 850; letter-spacing: .1em; }
.service-estimate-note { margin-top: 1.35rem; padding: 1rem 1.2rem; border-left: 3px solid var(--gold-deep); background: rgba(255,255,255,.68); }
.service-estimate-note strong { font-size: .75rem; letter-spacing: .04em; }
.service-estimate-note p { margin: .38rem 0 0; color: var(--muted); font-size: .82rem; }
.service-work-section { padding: clamp(3.5rem,6vw,6rem) max(1.5rem, calc((100vw - var(--max-width))/2)); background: var(--paper); }
.service-work-section .service-work-topline { max-width: var(--max-width); margin-right: auto; margin-left: auto; }
.service-work-gallery { display: grid; max-width: var(--max-width); grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; margin-inline: auto; }
.service-work-gallery-1 { grid-template-columns: minmax(0,1fr); max-width: 820px; }
.service-work-gallery-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.service-work-frame { position: relative; min-width: 0; margin: 0; overflow: hidden; background: #e5e2d8; }
.service-work-frame img, .service-work-frame video { width: 100%; height: clamp(210px,27vw,380px); object-fit: cover; }
.service-work-gallery-3 .service-work-frame img, .service-work-gallery-3 .service-work-frame video { height: clamp(190px,22vw,300px); }
.service-work-frame figcaption { padding: .7rem .85rem; color: #55564d; background: #fff; font-size: .72rem; line-height: 1.4; }
.service-work-frame video { display: block; background: #20211d; }
.service-faq-layout { display: grid; grid-template-columns: minmax(220px,.75fr) minmax(0,1.25fr); gap: clamp(2rem,8vw,8rem); align-items: start; }
.service-faq-heading h2 { max-width: none; }
.service-reference-section { background: #fff; }
.service-reference-layout { display: grid; grid-template-columns: minmax(240px,.8fr) minmax(0,1.2fr); gap: clamp(2rem,8vw,8rem); align-items: start; }
.service-reference-layout h2 { max-width: 12ch; }
.service-reference-layout ul { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.service-reference-layout li { border-bottom: 1px solid var(--line); }
.service-reference-layout a { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem .1rem; color: #3f4138; font-size: .86rem; font-weight: 700; text-decoration-color: #a89f8a; text-underline-offset: .2em; }
.service-reference-layout a span { color: #6b500c; }
.service-related-section { padding-top: 3.5rem; }
.service-directory-link { color: var(--ink); }
.service-directory-link span { color: #6b500c; }
.service-contact-section { padding-block: clamp(3rem,5vw,4.5rem); }
.service-contact-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 3rem; align-items: center; }
.service-contact-layout .eyebrow { margin-bottom: .85rem; }
.service-contact-layout > div:last-child p { max-width: 30rem; margin-bottom: 1.1rem; }

@media (max-width: 760px) {
  .service-opening { padding-top: 2rem; }
  .service-opening-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-opening-image-left .service-opening-image,
  .service-opening-image-left .service-opening-card { order: 0; }
  .service-opening h1 { max-width: 13ch; font-size: clamp(2.75rem,11vw,4rem); }
  .service-opening-image { min-height: 260px; aspect-ratio: 1.3; }
  .service-opening-image img { min-height: 260px; }
  .service-opening-card { min-height: 250px; }
  .service-at-a-glance dl { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-at-a-glance dl > div { min-height: 78px; padding-inline: .8rem; }
  .service-at-a-glance dl > div:nth-child(2) { border-right: 1px solid rgba(255,255,255,.13); }
  .service-at-a-glance dl > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.13); }
  .service-story-grid, .service-estimate-grid, .service-faq-layout, .service-reference-layout, .service-contact-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-work-topline { display: grid; gap: .8rem; align-items: start; }
  .service-steps-grid { grid-template-columns: 1fr; }
  .service-step, .service-step + .service-step { min-height: auto; padding: 1.15rem 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .service-step-no { margin-bottom: .7rem; }
  .service-work-section { padding-inline: 1rem; }
  .service-work-gallery, .service-work-gallery-3 { grid-template-columns: 1fr; }
  .service-work-frame img, .service-work-frame video, .service-work-gallery-3 .service-work-frame img, .service-work-gallery-3 .service-work-frame video { height: clamp(215px,66vw,380px); }
}

.service-directory-hero { padding: clamp(3.5rem,7vw,6.2rem) 0; color: var(--white); background: var(--ink); }
.service-directory-intro { max-width: var(--max-width); }
.service-directory-intro h1 { max-width: 13ch; margin-bottom: 1.15rem; font-size: clamp(3rem,6vw,5.5rem); letter-spacing: -.055em; }
.service-directory-intro h1 span { color: var(--gold); }
.service-directory-intro > p:not(.eyebrow) { max-width: 42rem; margin-bottom: 2rem; color: #e3dfd4; font-size: 1.08rem; }
.service-directory-jump { display: flex; flex-wrap: wrap; gap: .6rem; }
.service-directory-jump a { padding: .62rem .9rem; border: 1px solid rgba(255,255,255,.25); color: var(--white); font-size: .78rem; font-weight: 700; text-decoration: none; }
.service-directory-jump a:hover { border-color: var(--cyan); color: var(--cyan); }
.service-directory-section { padding: clamp(3.5rem,6vw,6rem) 0; background: var(--paper); scroll-margin-top: 6rem; }
.service-directory-wash { background: var(--cream); }
.service-category { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(300px,.9fr); align-items: start; gap: clamp(2.5rem,7vw,7rem); }
.service-category-reverse .service-category-copy { order: 2; }
.service-category-reverse .service-category-photo { order: 1; }
.service-category-copy h2 { max-width: 12ch; margin-bottom: 1rem; font-size: clamp(2.5rem,4.7vw,4.2rem); }
.service-category-copy > p:not(.eyebrow) { max-width: 38rem; margin-bottom: 1.5rem; color: var(--muted); }
.service-category-photo { position: sticky; top: 7.5rem; margin: 0; background: #e4e1d7; }
.service-category-photo img { width: 100%; height: clamp(320px,40vw,490px); object-fit: cover; }
.service-category-photo figcaption { padding: .7rem .9rem; color: #55564d; background: var(--paper); font-size: .7rem; }
.service-directory-links { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.service-directory-links li { border-bottom: 1px solid var(--line); }
.service-directory-links a { display: grid; gap: .15rem; padding: .83rem .2rem; text-decoration: none; }
.service-directory-links strong { font-size: .95rem; }
.service-directory-links a > span { display: flex; justify-content: space-between; gap: .8rem; color: var(--muted); font-size: .76rem; }
.service-directory-links b { color: #6b500c; font-size: .95rem; font-weight: 700; }
.service-directory-links a:hover strong { color: #6b500c; }
.service-directory-links a:focus-visible { outline-offset: -3px; }
.service-directory-contact { padding: clamp(3rem,5vw,4.5rem) 0; background: var(--cyan-soft); }
.service-directory-contact .container { display: grid; grid-template-columns: minmax(0,.65fr) minmax(0,1.25fr) auto; align-items: center; gap: 2.5rem; }
.service-directory-contact .eyebrow { margin-bottom: .7rem; }
.service-directory-contact h2 { margin: 0; font-size: clamp(1.8rem,3vw,2.7rem); }
.service-directory-contact .container > p { max-width: 35rem; margin: 0; color: #3b3d35; }
@media (max-width: 760px) {
  .service-category { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-category-photo { position: static; }
  .service-category-photo img { height: clamp(235px,68vw,370px); }
  .service-category-reverse .service-category-copy { order: 1; }
  .service-category-reverse .service-category-photo { order: 2; }
  .service-directory-contact .container { grid-template-columns: 1fr; gap: 1rem; }
}


/* Glass header and cinematic video treatment inspired by the supplied shader hero. */
.preview-ribbon {
  position: relative;
  z-index: 31;
  color: #e1dccf;
  background: #191a16;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.preview-ribbon span:first-child { color: var(--cyan); }
.site-header {
  --floating-header-height: 96px;
  position: sticky;
  top: 0;
  margin-bottom: calc(-1 * var(--floating-header-height));
  padding-block: .65rem;
  border-bottom: 0;
  background: transparent;
}
.site-header .header-inner {
  position: relative;
  min-height: 74px;
  padding: .45rem 1.15rem .45rem 1.3rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(32,33,29,.96);
  box-shadow: 0 12px 34px rgba(0,0,0,.16);
}
.site-header .brand-mark {
  color: var(--gold);
  background: none;
  filter: none;
  transition: color .2s ease;
}
.site-header .brand:hover .brand-mark { color: #fff; }
.site-header .brand-copy { border-left-color: rgba(255,255,255,.22); }
.site-header .main-nav { gap: .2rem; padding: .25rem; border: 1px solid rgba(255,255,255,.09); border-radius: 999px; background: rgba(255,255,255,.035); }
.site-header .main-nav a { padding: .58rem .85rem; border-radius: 999px; transition: color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.site-header .main-nav a:hover,
.site-header .main-nav a[aria-current="page"],
.site-header .main-nav a[aria-current="location"] { color: #fff; background: rgba(255,255,255,.09); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.site-header .main-nav .nav-cta { margin-left: .25rem; padding: .68rem 1.05rem; border: 1px solid var(--gold); color: var(--ink); background: var(--gold); font-weight: 800; }
.site-header .main-nav .nav-cta:hover { border-color: #fff; color: var(--ink); background: #f2cf68; box-shadow: none; }
.site-header .services-menu-button { border-radius: 999px; }
.site-header .nav-toggle { border-radius: 999px; background: rgba(255,255,255,.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.home-page .hero-video {
  isolation: isolate;
  min-height: max(720px, calc(100svh - 32px));
}
.home-page .hero-background-video { z-index: -2; object-position: center; }
.home-page .hero-video-shade {
  z-index: -1;
  background: linear-gradient(90deg, rgba(25,26,22,.76) 0%, rgba(25,26,22,.36) 38%, transparent 72%),
    linear-gradient(0deg, rgba(25,26,22,.78) 0%, rgba(25,26,22,.16) 46%, rgba(25,26,22,.28) 100%);
}
.home-page .hero-video-glow { display: none; }
.home-page .hero-video .hero-copy {
  z-index: 1;
  min-height: max(720px, calc(100svh - 32px));
  justify-content: flex-end;
  padding: 9rem 1.5rem clamp(3rem, 7vh, 5rem);
}
.home-page .hero-copy-panel {
  position: relative;
  width: min(100%, 590px);
  padding: 0;
  text-shadow: 0 2px 20px rgba(0,0,0,.42);
}
.home-page .hero-copy-panel::before { display: none; }
.home-page .hero-glass-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.3rem;
  padding: .48rem .8rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.065);
  font-size: .65rem;
  font-weight: 750;
  letter-spacing: .12em;
  line-height: 1.35;
  text-transform: uppercase;
}
.home-page .hero-glass-eyebrow span { color: var(--cyan); }
.home-page .hero-video h1 { max-width: 11ch; margin-bottom: 1rem; font-size: clamp(3.4rem, 6vw, 5.5rem); line-height: .98; letter-spacing: -.065em; }
.home-page .hero-video h1 .hero-title-main,
.home-page .hero-video h1 .hero-title-gradient { display: block; }
.home-page .hero-video h1 .hero-title-main { color: #fff; }
.home-page .hero-video h1 .hero-title-gradient {
  width: fit-content;
  color: var(--gold);
  background: none;
  animation: none;
}
.home-page .hero-video .hero-intro { max-width: 37rem; }
.home-page .hero-priority-bullets { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0 0 1.15rem; padding: 0; list-style: none; }
.home-page .hero-priority-bullets li { padding: .34rem .65rem; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #f4f1e8; background: rgba(255,255,255,.055); font-size: .73rem; }
.home-page .hero-video .button-gold { border-radius: 999px; color: var(--ink); background: var(--gold); box-shadow: 0 10px 28px rgba(0,0,0,.2); }
.home-page .hero-video .button-gold:hover { background: #f2cf68; box-shadow: 0 12px 34px rgba(0,0,0,.24); }
.home-page .hero-video .text-link { display: inline-flex; min-height: 52px; align-items: center; padding: .7rem 1rem; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; background: rgba(255,255,255,.06); text-decoration: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.home-page .hero-video .text-link:hover { border-color: var(--gold); background: rgba(255,255,255,.12); }
@keyframes hero-mesh-drift {
  from { opacity: .54; transform: translate3d(-1%, .6%, 0) scale(1); }
  to { opacity: .84; transform: translate3d(1%, -.6%, 0) scale(1.035); }
}
@keyframes hero-title-shimmer {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}
@media (max-width: 940px) {
  .site-header .header-inner { gap: 1rem; padding-inline: 1rem; }
  .site-header .brand-copy { letter-spacing: .09em; }
  .site-header .main-nav { gap: .05rem; }
  .site-header .main-nav a { padding-inline: .65rem; }
}
@media (max-width: 760px) {
  .site-header { --floating-header-height: 84px; padding-block: .45rem; }
  .site-header .header-inner { min-height: 66px; gap: .6rem; padding: .4rem .55rem .4rem .9rem; }
  .site-header .brand { gap: .65rem; }
  .site-header .brand-mark { font-size: 1.95rem; }
  .site-header .brand-copy { padding-left: .65rem; font-size: .51rem; letter-spacing: .08em; }
  .site-header .main-nav { top: calc(100% + .5rem); right: 0; left: 0; gap: 0; padding: .7rem; border: 1px solid rgba(255,255,255,.14); border-radius: 1.1rem; background: rgba(12,23,28,.94); box-shadow: 0 18px 42px rgba(0,0,0,.3); }
  .site-header .main-nav a { padding: .8rem .75rem; border-radius: .65rem; }
  .site-header .main-nav a:hover,
  .site-header .main-nav a[aria-current="page"],
  .site-header .main-nav a[aria-current="location"] { background: rgba(255,255,255,.08); }
  .site-header .main-nav .nav-cta { margin: .55rem 0 0; text-align: center; }
  .home-page .hero-video, .home-page .hero-video .hero-copy { min-height: max(700px, calc(100svh - 32px)); }
  .home-page .hero-video .hero-copy { align-items: flex-start; padding: 7rem 1rem 2.5rem; }
  .home-page .hero-video-shade { background: linear-gradient(0deg, rgba(25,26,22,.88), rgba(25,26,22,.44) 55%, rgba(25,26,22,.25)); }
  .home-page .hero-glass-eyebrow { gap: .42rem; margin-bottom: 1rem; font-size: .55rem; letter-spacing: .08em; }
  .home-page .hero-video h1 { font-size: clamp(3.15rem, 13vw, 4.4rem); }
  .home-page .hero-priority-bullets { gap: .4rem; }
  .home-page .hero-priority-bullets li { font-size: .68rem; }
  .home-page .hero-video .hero-actions { gap: .65rem; }
  .home-page .hero-video .button, .home-page .hero-video .text-link { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .hero-video-glow,
  .home-page .hero-video h1 .hero-title-gradient { animation: none; }
}
.service-work-gallery-full { grid-template-columns: minmax(0,1fr); max-width: var(--max-width); }
.service-work-frame.service-work-video-full { grid-column: 1 / -1; }
.service-work-frame.service-work-video-full video { height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.service-work-frame.service-work-video-full video:fullscreen,
.service-work-frame.service-work-video-full video:-webkit-full-screen { width: 100vw; height: 100vh; aspect-ratio: auto; object-fit: contain; background: #20211d; }

/* Reserve space for the shared glass navigation over each dark page hero. */
.service-opening { padding-top: calc(clamp(2.5rem, 5vw, 4.75rem) + 6rem); }
.page-hero { padding-top: calc(clamp(4.5rem, 8vw, 8rem) + 6rem); }
.service-directory-hero { padding-top: calc(clamp(3.5rem, 7vw, 6.2rem) + 6rem); }
@media (max-width: 760px) {
  .service-opening { padding-top: calc(2rem + 5rem); }
  .page-hero { padding-top: calc(4.2rem + 5rem); }
  .service-directory-hero { padding-top: calc(3.5rem + 5rem); }
}

/* Full-width navigation with a slim landscaping announcement. */
.landscape-announcement { display: flex; justify-content: center; align-items: center; gap: 20px; min-height: 38px; padding: 5px 20px; background: #e4bc43; color: #20211d; font-size: 12px; line-height: 1.4; }
.landscape-announcement p { margin: 0; font-weight: 650; }
.landscape-announcement p span { display: inline-block; margin-left: 12px; padding-left: 12px; border-left: 1px solid #9d8436; font-weight: 400; }
.landscape-announcement > a { display: inline-flex; gap: 9px; align-items: center; padding: 4px 12px; border: 1px solid #615321; border-radius: 4px; color: #20211d; font-weight: 750; text-decoration: none; white-space: nowrap; }
.landscape-announcement > a:hover { background: #20211d; color: #fff; }
.site-header { --floating-header-height: 88px; padding: 0; margin-bottom: 0; background: #20211d; }
.site-header .header-inner { width: 100%; max-width: none; min-height: 88px; padding: 10px clamp(20px, 3.2vw, 64px); border: 0; border-bottom: 1px solid rgba(255,255,255,.15); border-radius: 0; box-shadow: none; background: #20211d; }
@media (max-width: 760px) {
 .site-header .header-inner { min-height: 72px; padding: 8px 18px; }
 .site-header .main-nav { top: 100%; border-radius: 0 0 12px 12px; }
 .landscape-announcement { gap: 12px; padding: 6px 12px; font-size: 11px; }
 .landscape-announcement p span { display: block; margin: 1px 0 0; padding: 0; border: 0; font-size: 10px; }
 .landscape-announcement > a { padding: 5px 9px; }
}
/* Compact homepage erosion feature, positioned beside the hero copy. */
.home-page .erosion-feature { position: absolute; z-index: 3; right: clamp(24px,3.2vw,64px); top: 50%; transform: translateY(-35%); width: 280px; padding: 29px 25px 25px; border: 1px solid rgba(255,255,255,.28); border-top: 3px solid #e4bc43; border-radius: 10px; background: rgba(32,33,29,.95); color: #fff; box-shadow: 0 16px 40px rgba(0,0,0,.2); }
.home-page .erosion-feature[hidden] { display: none; }
.erosion-feature .erosion-feature-label { color: #e4bc43; text-transform: uppercase; letter-spacing: .1em; font-size: 10px; font-weight: 750; margin-bottom: 16px; }
.erosion-feature h2 { font-size: 26px; line-height: 1.16; letter-spacing: -.025em; margin-bottom: 14px; }
.erosion-feature p { font-size: 14px; line-height: 1.65; color: #dedfd5; margin-bottom: 20px; }
.erosion-feature > a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 5px; background: #e4bc43; color: #20211d; text-decoration: none; font-size: 13px; font-weight: 750; }
.erosion-feature > a:hover { background: #f2cf68; }
.erosion-feature-close { position: absolute; right: 5px; top: 5px; width: 32px; height: 32px; border: 0; background: transparent; color: #eee; font-size: 23px; cursor: pointer; }
@media (max-width: 1100px) {
 .home-page .erosion-feature { position: relative; top: auto; right: auto; transform: none; width: auto; max-width: 440px; margin: 0 24px 32px; }
}

/* Two project films immediately following the homepage hero. */
.home-project-videos { padding: clamp(36px,5vw,72px) 0; background: #fafaf8; }
.home-video-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.home-video-heading h2 { margin: 0; font-size: clamp(28px,3vw,42px); }
.home-video-heading .eyebrow { margin-bottom: 12px; }
.home-video-heading > a, .home-video-grid figcaption a { color: #4b6036; font-size: 14px; font-weight: 650; text-underline-offset: 4px; }
.home-video-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.home-video-grid figure { margin: 0; min-width: 0; }
.home-video-grid video { display: block; width: 100%; aspect-ratio: 16/9; object-fit: contain; background: #20211d; border-radius: 8px; }
.home-video-grid figcaption { padding-top: 18px; }
.home-video-grid h3 { font-size: 21px; line-height: 1.3; margin-bottom: 9px; }
@media(max-width:700px) { .home-video-grid { grid-template-columns: 1fr; gap: 30px; } .home-video-heading { align-items: start; flex-direction: column; gap: 14px; } }
/* Estimate request above the erosion feature. */
.home-page .hero-popup-stack { position: absolute; z-index: 3; top: 30px; right: clamp(24px,3.2vw,64px); width: 340px; display: grid; gap: 16px; }
.home-page .hero-popup-stack .erosion-feature { position: relative; top: auto; right: auto; transform: none; width: 100%; margin: 0; }
.home-page .hero-video:has(.hero-popup-stack) { min-height: 900px; }
.rachee-estimate { position: relative; padding: 25px; border-radius: 10px; background: #fafaf5; color: #252722; border-top: 3px solid #e4bc43; box-shadow: 0 16px 40px #0003; }
.rachee-estimate[hidden] { display: none; }
.rachee-estimate h2 { font-size: 28px; margin: 0 0 8px; }
.rachee-estimate > p { margin: 0 0 16px; font-size: 14px; color: #65685d; }
.rachee-estimate-close { position: absolute; top: 4px; right: 5px; width: 30px; height: 30px; border: 0; background: transparent; font-size: 22px; cursor: pointer; }
#hero-estimate-form label { display: grid; gap: 4px; font-size: 12px; font-weight: 650; margin-bottom: 10px; min-width: 0; }
#hero-estimate-form input, #hero-estimate-form textarea { width: 100%; min-width: 0; padding: 9px; border: 1px solid #c6c9be; border-radius: 4px; background: #fff; color: #252722; font: inherit; font-size: 16px; }
#hero-estimate-form textarea { resize: vertical; }
.hero-estimate-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-estimate-submit { width: 100%; padding: 12px; background: #e4bc43; border: 0; border-radius: 5px; font-weight: 750; cursor: pointer; color: #20211d; }
#hero-estimate-form .hero-estimate-note, #hero-estimate-status { margin: 8px 0 0; color: #65685d; font-size: 11px; line-height: 1.5; }
@media(min-width:1101px) { .home-page .hero-video .hero-copy { max-width: calc(100% - 410px); } }
@media(max-width:1100px) { .home-page .hero-popup-stack { position: relative; top: auto; right: auto; width: calc(100% - 48px); max-width: 480px; margin: 0 24px 32px; } .home-page .hero-video:has(.hero-popup-stack) { min-height: auto; } }

/* Project request dialog, using the same form shown beside the homepage hero. */
.project-dialog { width: min(520px, calc(100vw - 2rem)); max-width: none; max-height: min(90vh, 900px); padding: 0; border: 0; border-radius: 12px; overflow-y: auto; background: transparent; box-shadow: 0 30px 90px rgba(0,0,0,.36); }
.project-dialog::backdrop { background: rgba(13,17,15,.72); backdrop-filter: blur(5px); }
.project-dialog .rachee-estimate { width: 100%; padding: clamp(1.5rem,4vw,2.4rem); border-radius: 12px; box-shadow: none; }
.project-dialog .rachee-estimate h2 { font-size: clamp(1.8rem,4vw,2.4rem); }
.project-dialog .rachee-estimate-close { top: .55rem; right: .55rem; }
#hero-estimate-form select { width: 100%; min-width: 0; padding: 9px; border: 1px solid #c6c9be; border-radius: 4px; background: #fff; color: #252722; font: inherit; font-size: 16px; }
#hero-estimate-form :is(input,textarea,select):focus-visible { outline: 3px solid rgba(228,188,67,.5); outline-offset: 1px; }
#hero-estimate-form .hero-estimate-copy { display: block; margin: .45rem auto 0; padding: .2rem; border: 0; background: none; color: #5e490e; font: inherit; font-size: .75rem; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
#hero-estimate-status[hidden] { display: none; }
@media(max-width:430px) { .hero-estimate-fields { grid-template-columns: 1fr; gap: 0; } }

/* Delayed floating panels stay inside the viewport, independent of hero cropping. */
[hidden] { display: none !important; }
.home-page .hero-popup-stack {
  position: fixed; top: auto; right: 20px; bottom: 20px;
  z-index: 90; width: min(380px, calc(100vw - 32px));
  max-height: calc(100dvh - 150px); margin: 0;
  overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 12px;
  border-radius: 10px;
}
.hero-popup-stack > * { flex-shrink: 0; animation: popup-arrive .35s ease-out both; }
.hero-popup-stack .rachee-estimate { max-height: calc(100dvh - 340px); min-height: 230px; overflow-y: auto; padding: 20px; }
.hero-popup-stack .rachee-estimate-close { position: sticky; float: right; top: 0; background: #fafaf5; z-index: 1; }
.project-dialog { max-height: calc(100dvh - 32px); }
@keyframes popup-arrive { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@media(max-width:600px) {
  .home-page .hero-popup-stack { right: 16px; bottom: 16px; max-height: calc(100dvh - 120px); }
  .hero-popup-stack .rachee-estimate { max-height: calc(100dvh - 300px); }
}
@media(prefers-reduced-motion:reduce) { .hero-popup-stack > * { animation: none; } }

/* Fit the complete request form without nested scroll areas. */
.home-page .hero-popup-stack { width: min(480px, calc(100vw - 32px)); max-height: none; overflow: visible; bottom: 16px; }
.hero-popup-stack .rachee-estimate, .project-dialog .rachee-estimate { max-height: none; min-height: 0; overflow: visible; padding: 16px 20px; }
.project-dialog { width: min(560px, calc(100vw - 24px)); max-height: none; overflow: visible; }
.rachee-estimate h2, .project-dialog .rachee-estimate h2 { font-size: 25px; margin-bottom: 4px; }
.rachee-estimate > p { font-size: 12px; line-height: 1.4; margin-bottom: 10px; }
#hero-estimate-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
#hero-estimate-form > :not(label) { grid-column: 1 / -1; }
#hero-estimate-form > label:has(textarea) { grid-column: 1 / -1; }
#hero-estimate-form label { margin: 0; gap: 3px; font-size: 12px; }
#hero-estimate-form input, #hero-estimate-form textarea, #hero-estimate-form select { padding: 7px 8px; line-height: 1.2; }
#hero-estimate-form textarea { height: 52px; resize: none; }
#hero-estimate-form .hero-estimate-fields { grid-template-columns: 1fr 1fr; gap: 12px; }
#hero-estimate-form .hero-estimate-note { margin: 0; line-height: 1.3; }
#hero-estimate-form .hero-estimate-email-fallback, #hero-estimate-form .hero-estimate-copy { font-size: 11px; margin: 0; padding: 0; line-height: 1.3; }
.hero-estimate-submit { padding: 10px; }
.hero-popup-stack .rachee-estimate-close { position: absolute; float: none; top: 3px; }
.home-page .hero-popup-stack .erosion-feature { padding: 12px 18px; }
.home-page .hero-popup-stack .erosion-feature h2 { font-size: 18px; margin: 0 0 4px; }
.home-page .hero-popup-stack .erosion-feature p { font-size: 12px; margin: 4px 0; line-height: 1.35; }
@media(max-height:740px) {
 .home-page .hero-popup-stack { bottom: 8px; gap: 8px; }
 .rachee-estimate > p { display: none; }
 .hero-popup-stack .rachee-estimate { padding: 12px 16px; }
 #hero-estimate-form { gap: 5px 10px; }
}
@media(max-height:580px) {
 .home-page .hero-popup-stack { position: absolute; top: 130px; bottom: auto; }
 .project-dialog[open] { position: absolute; top: 16px; margin-top: 0; }
}

/* Shared navigation: centered links and a full-width Services directory. */
@media (min-width: 941px) {
  .site-header .header-inner { display: grid; grid-template-columns: minmax(290px, 1fr) auto minmax(290px, 1fr); gap: 1.5rem; }
  .site-header .brand { grid-column: 1; justify-self: start; }
  .site-header .main-nav { grid-column: 2; justify-self: center; gap: .5rem; padding: 0; border: 0; border-radius: 0; background: transparent; }
  .site-header .main-nav > a:not(.nav-cta),
  .site-header .main-nav .services-menu-button { min-height: 44px; padding: .65rem 1rem; border: 0; border-radius: 4px; background: transparent; color: #f5f2e9; font-size: .88rem; }
  .site-header .main-nav > a:not(.nav-cta):hover,
  .site-header .main-nav > a:not(.nav-cta)[aria-current],
  .site-header .main-nav .services-menu-button:hover,
  .site-header .main-nav .services-menu-button[aria-current],
  .site-header .services-menu-wrap.is-open .services-menu-button { background: rgba(255,255,255,.1); color: var(--gold); box-shadow: none; }
  .site-header .main-nav .nav-cta { position: absolute; right: clamp(20px, 3.2vw, 64px); top: 50%; margin: 0; transform: translateY(-50%); }
  .site-header .services-mega-menu {
    left: 50%; width: 100vw; max-height: min(78dvh, 680px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(1rem, 2vw, 2.5rem); row-gap: .8rem;
    padding: 1.5rem clamp(24px, 3.2vw, 64px);
    border: 0; border-top: 1px solid rgba(255,255,255,.17);
    border-radius: 0; background: #20211d; color: #f5f2e9;
    box-shadow: 0 20px 36px rgba(0,0,0,.24);
    scrollbar-color: var(--gold) #20211d;
  }
  .services-menu-group h2 { color: var(--gold); }
  .services-mega-menu .services-menu-group a.services-menu-link { min-height: 3.1rem; gap: .55rem; padding: .35rem .2rem; color: #f5f2e9; }
  .services-menu-icon { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: var(--gold); }
  .services-menu-link-title { color: #f5f2e9; font-size: .8rem; }
  .services-menu-link-description { color: #c7c3b8; font-size: .68rem; }
  .services-mega-menu .services-menu-group a.services-menu-link:hover,
  .services-mega-menu .services-menu-group a.services-menu-link[aria-current="page"] { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.08); }
  .services-mega-menu .services-menu-group a.services-menu-link:hover .services-menu-icon,
  .services-mega-menu .services-menu-group a.services-menu-link[aria-current="page"] .services-menu-icon { border-color: var(--gold); color: var(--ink); background: var(--gold); }
  .services-mega-menu .services-menu-all { border-top-color: rgba(255,255,255,.18); color: var(--gold); }
  .services-mega-menu .services-menu-all:hover { color: #fff; }
}
@media (min-width: 1500px) {
  .site-header .services-mega-menu { max-height: min(76dvh, 660px); }
  .services-mega-menu .services-menu-group:first-child ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
}
@media (max-width: 940px) and (min-width: 761px) {
  .site-header .header-inner { gap: .65rem; }
  .site-header .main-nav { padding: 0; border: 0; background: transparent; }
  .site-header .services-mega-menu { width: 100vw; max-height: calc(100dvh - 126px); background: #20211d; color: #f5f2e9; }
}

@media (min-width: 1101px) {
  .site-header .services-mega-menu {
    width: 100%;
    max-height: min(82dvh, 720px);
    grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
    column-gap: clamp(1rem, 2vw, 2.5rem);
    overflow-x: hidden;
  }
  .services-mega-menu .services-menu-group:first-child ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(.75rem, 1.3vw, 1.5rem);
  }
}
@media (min-width: 941px) and (max-width: 1100px) {
  .site-header .services-mega-menu { width: 100%; overflow-x: hidden; }
}

@media (max-width: 1100px) {
  .site-header .services-mega-menu { background: #20211d; color: #f5f2e9; border-color: rgba(255,255,255,.17); scrollbar-color: var(--gold) #20211d; }
  .services-menu-group h2 { color: var(--gold); }
  .services-mega-menu .services-menu-group a.services-menu-link { color: #f5f2e9; }
  .services-menu-link-title { color: #f5f2e9; }
  .services-menu-link-description { color: #c7c3b8; }
  .services-menu-icon { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: var(--gold); }
  .services-mega-menu .services-menu-group a.services-menu-link:hover,
  .services-mega-menu .services-menu-group a.services-menu-link[aria-current="page"] { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.08); }
  .services-mega-menu .services-menu-all { border-top-color: rgba(255,255,255,.18); color: var(--gold); }
}

/* Full-bleed certificate motion across the homepage. */
.certificate-badges-section > .container { width: 100%; max-width: none; }
.certificate-badges-section .section-heading { padding-inline: 1.5rem; }
.certificate-marquee { --certificate-card-width: clamp(260px, 20vw, 340px); width: 100%; max-width: none; }
.certificate-marquee-viewport { width: 100%; margin: -.55rem 0 0; padding: .55rem 0 1.25rem; }
.certificate-marquee.is-ready .certificate-marquee-track { animation-name: certificate-marquee-wide; }
@keyframes certificate-marquee-wide { to { transform: translateX(calc(-1 * var(--certificate-loop-width))); } }
