/* Kastone Construction — unified site stylesheet */
/* 1) Shared chrome (header/footer/popup) */
/* Shared header / footer / quote popup — matches root index.html theme */
:root {
  --brand-gold: #DE550A;
  --brand-gold-deep: #A8400A;
  --brand-maroon: #7A2E05;
  --ink: #0f1011;
  --ink-soft: #1a1c1d;
  --charcoal: #2a2a2a;
  --gray-700: #4a4a4a;
  --gray-500: #7a7a7a;
  --gray-300: #c9c9c9;
  --gray-100: #f2f0ec;
  --bone: #f7f4ee;
  --paper: #ffffff;
  --font-display: "Archivo Black", system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --header-h: 104px;
  --container: 1280px;
  --pad: 24px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  /* Shared content edge for service-page sections (matches split copy inset) */
  --content-inline: max(var(--pad), calc((100vw - var(--container)) / 2));
}

@media (max-width: 960px) {
  :root { --pad: 20px; }
}

/* Underlines off site-wide; color inherit only in main (never stomps footer/header) */
.site-chrome-reset a { text-decoration: none; }
.site-chrome-reset main a { color: inherit; }
.site-chrome-reset button:not(.mobile-menu__lang-option):not(.lang-switch__toggle):not(.lang-switch__option) {
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.site-chrome-reset ul { list-style: none; margin: 0; padding: 0; }

/* Footer — explicit winners so chrome reset can never wash these out */
.site-chrome-reset .site-footer .footer__link {
  font-size: .92rem;
  line-height: 1.65;
  color: #ffffffa6;
  transition: color .2s var(--ease), transform .2s var(--ease);
  text-decoration: none;
}
.site-chrome-reset .site-footer .footer__link:hover {
  color: var(--brand-gold);
  transform: translate(3px);
}
.site-chrome-reset .site-footer .footer__callband-phone,
.site-chrome-reset .site-footer .footer__callband-phone:hover {
  color: #fff;
}
.site-chrome-reset .site-footer .footer__contact-item {
  color: #ffffffa6;
}

/* Match home body type so shared chrome/sections don't reflow differently */
body.has-hero-transparent,
body.service-page {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bone);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Chrome CTAs — keep white on service/about pages (don't inherit ink) */
.site-chrome-reset .btn--primary,
.site-chrome-reset .header__phone-cta {
  color: #fff;
}
.site-chrome-reset .btn--primary:hover,
.site-chrome-reset .header__phone-cta:hover {
  color: #fff;
}
.site-chrome-reset .side-rail,
.site-chrome-reset .side-rail:hover {
  color: #fff;
}
.site-chrome-reset .whatsapp-float,
.site-chrome-reset .whatsapp-float:hover,
.site-chrome-reset .whatsapp-float:focus-visible {
  color: #fff;
}
.site-chrome-reset .whatsapp-float svg {
  fill: currentColor;
  color: #fff;
}

/* Quote popup — restore button chrome wiped by site-chrome-reset */
.site-chrome-reset .quote-popup__close {
  border: 1px solid #d5d5d5;
  border-radius: 2px;
  background: #fff;
  color: #222;
}
.site-chrome-reset .quote-popup__close:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.site-chrome-reset .quote-popup__submit,
.site-chrome-reset a.quote-popup__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: 4px;
  border: 0;
  border-radius: 2px;
  background: var(--brand-gold);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
}
.site-chrome-reset .quote-popup__submit:hover,
.site-chrome-reset a.quote-popup__submit:hover {
  background: var(--brand-gold-deep);
  color: #fff;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #111;
  color: #fff;
  padding: 8px 14px;
  border-radius: 0 0 6px 0;
  z-index: 1000;
  font: 600 14px/1.2 sans-serif;
  text-decoration: none;
}
.skip:focus { left: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  width: 100%;
}

.text-serif {
  font-family: var(--font-serif);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}

.brand-gold { color: var(--brand-gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  transition: all .3s var(--ease);
  white-space: nowrap;
  line-height: 1;
  position: relative;
  text-decoration: none;
}
.btn--primary {
  background: var(--brand-gold);
  color: #fff;
  border-color: var(--brand-gold);
}
.btn--primary:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px #DE550A99;
}
.btn--cta { padding: 10px 18px; font-size: .75rem; letter-spacing: .12em; }
.btn--large { padding: 18px 36px; font-size: .95rem; }
.btn--full { width: 100%; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}
.header__link.is-active { color: var(--brand-gold); }
.header__link.is-active:after { width: 100%; }
.mobile-menu__link.is-active { color: var(--brand-gold); }

body.menu-open { overflow: hidden; }
body.quote-open { overflow: hidden; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--paper);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  height: var(--header-h);
  transition: background .4s var(--ease), box-shadow .3s var(--ease), border-color .4s var(--ease);
}
.site-header.scrolled { box-shadow: 0 10px 30px -16px #0003; }
.site-header:after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-maroon) 0%, var(--brand-gold) 50%, var(--brand-maroon) 100%);
  transition: opacity .4s var(--ease);
}

body.has-hero-transparent .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent;
}
body.has-hero-transparent .site-header:after { opacity: 0; }
body.has-hero-transparent .site-header .header__link { color: #fff; }
body.has-hero-transparent .site-header .header__burger-line { background: #fff; }
body.has-hero-transparent.past-hero .site-header {
  position: fixed;
  background: var(--ink);
  border-bottom-color: #ffffff14;
}
body.has-hero-transparent.past-hero .site-header:after { opacity: 1; }
body.has-hero-transparent.past-hero .site-header .header__link { color: #fff; }
body.has-hero-transparent.past-hero .site-header .header__burger-line { background: #fff; }
body.has-hero-transparent.past-hero .site-header .header__phone-cta:hover,
body.has-hero-transparent.past-hero .site-header .header__phone-cta:focus-visible {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .35);
}

.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: 100%;
  align-items: center;
  gap: 4rem;
}
.header__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  align-self: center;
  height: 100%;
  gap: .75rem;
  flex-shrink: 0;
}
.header__logo img {
  height: 80px;
  width: auto;
  display: block;
  transition: transform .3s var(--ease);
  border-radius: 2px;
}
.header__logo:hover img { transform: scale(1.04); }
.header__nav {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 0;
}
.header__nav--left { justify-self: end; }
.header__nav--right { justify-self: start; }
.header__link {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: .5rem .9rem;
  text-decoration: none;
  transition: color .22s var(--ease);
}
.header__link:not(.btn):after {
  content: "";
  position: absolute;
  left: .9rem;
  right: .9rem;
  bottom: -2px;
  width: auto;
  height: 2px;
  background: var(--brand-gold);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  transform: scaleX(0);
  transform-origin: left center;
}
.header__link:not(.btn):hover { color: var(--brand-gold); }
.header__link:not(.btn):hover:after { transform: scaleX(1); width: auto; }
.header__phone-cta { margin-left: .35rem; font-size: .8rem; }

/* Services dropdown — padding bridge so hover never drops */
.header__dropdown {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 0 .9rem;
}
.header__dropdown-trigger {
  cursor: pointer;
  padding-left: 0;
  padding-right: 0;
}
.header__dropdown-trigger:after {
  left: 0;
  right: 0;
}
.header__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  padding: .55rem 0;
  margin: 0;
  background: var(--paper);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 4px;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s var(--ease), visibility .22s;
  z-index: 950;
}
.header__dropdown-menu a {
  display: flex;
  align-items: center;
  gap: .85rem;
  white-space: nowrap;
  padding: .7rem 1.1rem;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.header__dropdown-menu a:hover,
.header__dropdown-menu a.is-active {
  background: rgba(222, 85, 10, .06);
  color: var(--brand-gold);
}
.header__dropdown:hover .header__dropdown-menu,
.header__dropdown:focus-within .header__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
body.has-hero-transparent:not(.past-hero) .header__dropdown-menu {
  background: var(--ink);
  border-color: rgba(255, 255, 255, .12);
}
body.has-hero-transparent:not(.past-hero) .header__dropdown-menu a { color: #fff; }
body.has-hero-transparent:not(.past-hero) .header__dropdown-menu a:hover,
body.has-hero-transparent:not(.past-hero) .header__dropdown-menu a.is-active {
  background: rgba(255, 255, 255, .08);
  color: #ffc29a;
}
.header__dropdown-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: var(--brand-gold);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
  transition: transform .25s var(--ease);
}
.header__dropdown-icon--design-build { --icon: url("../images/icons/design-build.svg"); }
.header__dropdown-icon--commercial { --icon: url("../images/icons/commercial.svg"); }
.header__dropdown-icon--residential { --icon: url("../images/icons/residential.svg"); }
.header__dropdown-icon--project-management { --icon: url("../images/icons/project-management.svg"); }
.header__dropdown-icon--general-contracting { --icon: url("../images/icons/general-contracting.svg"); }
.header__dropdown-icon--skilled-trades { --icon: url("../images/icons/skilled-trades.svg"); }
.header__dropdown-icon--construction-management { --icon: url("../images/icons/construction-management.svg"); }
.header__dropdown-menu a:hover .header__dropdown-icon { transform: scale(1.08); }
body.has-hero-transparent:not(.past-hero) .header__dropdown-icon { background: #ffc29a; }

/* Sub-service flyouts (Commercial, Residential) */
.header__dropdown-item { position: relative; }
.header__dropdown-caret {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin: 0 .2rem 0 auto;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: .55;
  transition: opacity .2s var(--ease);
}
.header__dropdown-item--has-sub > a { padding-right: 1.25rem; }
.header__submenu {
  position: absolute;
  top: -.55rem;
  left: 100%;
  min-width: 220px;
  padding: .55rem 0;
  background: var(--paper);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 4px;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.header__dropdown-menu .header__submenu a { padding: .75rem 1.25rem; }
.header__dropdown-item--has-sub:hover > .header__submenu,
.header__dropdown-item--has-sub:focus-within > .header__submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}
.header__dropdown-item--has-sub:hover > a,
.header__dropdown-item--has-sub:focus-within > a {
  background: rgba(222, 85, 10, .06);
  color: var(--brand-gold);
}
.header__dropdown-item--has-sub:hover > a .header__dropdown-caret { opacity: 1; }
body.has-hero-transparent:not(.past-hero) .header__submenu {
  background: var(--ink);
  border-color: rgba(255, 255, 255, .12);
}
body.has-hero-transparent:not(.past-hero) .header__dropdown-item--has-sub:hover > a,
body.has-hero-transparent:not(.past-hero) .header__dropdown-item--has-sub:focus-within > a {
  background: rgba(255, 255, 255, .08);
  color: #ffc29a;
}

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  z-index: 1001;
}
.header__burger-line {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .3s var(--ease);
}
.header__burger.active .header__burger-line { background: #fff; }
.header__burger.active .header__burger-line:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.header__burger.active .header__burger-line:nth-child(2) { opacity: 0; }
.header__burger.active .header__burger-line:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .header__inner {
    grid-template-columns: 44px 1fr 44px;
    grid-template-rows: 100%;
    grid-auto-flow: dense;
    gap: .75rem;
  }
  .header__nav { display: none; }
  .header__burger {
    display: flex;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: center;
  }
  .header__logo { grid-column: 2; grid-row: 1; justify-self: center; }
  .header__logo img { height: 80px; }
}
@media (max-width: 480px) {
  .header__logo img { height: 64px; }
}

/* Side rail */
.side-rail {
  position: fixed;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 800;
  background: var(--brand-gold);
  color: #fff;
  padding: 14px 10px;
  writing-mode: vertical-rl;
  letter-spacing: .2em;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: -2px 0 16px #00000040;
  border-radius: 2px 0 0 2px;
  transition: background .25s var(--ease), padding .25s var(--ease);
  text-decoration: none;
}
.side-rail:hover {
  background: var(--ink);
  color: #fff;
  padding-right: 14px;
}
.side-rail__label { transform: rotate(180deg); display: inline-block; }
body.has-hero-transparent .side-rail {
  transform: translate(110%, -50%);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .4s var(--ease), background .25s var(--ease), padding .25s var(--ease);
}
body.has-hero-transparent.past-hero .side-rail {
  transform: translateY(-50%);
  opacity: 1;
}
@media (max-width: 960px) {
  .side-rail { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 850;
  background: var(--ink);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s var(--ease);
  overflow-y: auto;
}
body.menu-open .site-header {
  z-index: 1000;
  background: transparent;
  border-bottom-color: transparent;
}
body.menu-open .site-header:after { opacity: 0; }
body.menu-open .site-header .header__burger-line { background: #fff; }
body.menu-open .site-header .header__logo img { filter: none; }
.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-menu__inner {
  padding: calc(var(--header-h) + 40px) var(--pad) 40px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.mobile-menu__link {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 6vw, 2rem);
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  text-decoration: none;
}
.mobile-menu__link:hover { color: var(--brand-gold); }
.mobile-menu__services {
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  padding-bottom: .75rem;
}
.mobile-menu__services-label {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 6vw, 2rem);
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
  padding: 1rem 0 .5rem;
}
.mobile-menu__services-links {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 0 0 .75rem .25rem;
}
.mobile-menu__services-links a {
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  padding: .45rem 0;
}
.mobile-menu__services-links a:hover,
.mobile-menu__services-links a.is-active { color: var(--brand-gold); }
.mobile-menu__services-links .mobile-menu__sub-link {
  position: relative;
  padding: .3rem 0 .3rem 1.1rem;
  font-size: .8rem;
  color: rgba(255, 255, 255, .5);
}
.mobile-menu__services-links .mobile-menu__sub-link:before {
  content: "";
  position: absolute;
  left: .1rem;
  top: 50%;
  width: .5rem;
  height: 1px;
  background: currentColor;
}
.mobile-menu__cta { margin-top: 2rem; }
.mobile-menu__contact {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.mobile-menu__phone,
.mobile-menu__email {
  font-size: 1rem;
  color: #ffffffb3;
  letter-spacing: .04em;
  text-decoration: none;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #fff;
  margin-top: 0;
  position: relative;
  font-family: var(--font-body);
}
.footer__callband { background: var(--brand-gold); padding: 3rem 0; }
.footer__callband-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer__callband-kicker {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: .78rem;
  color: #ffffffb8;
}
.footer__callband-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  color: #fff;
  line-height: 1;
  margin-top: .5rem;
  margin-bottom: 0;
}
.footer__callband-phone {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #fff;
  letter-spacing: .02em;
  transition: transform .3s var(--ease);
  text-decoration: none;
}
.footer__callband-phone:hover { transform: translate(6px); color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 3rem;
  padding: 4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer__logo {
  height: 90px;
  width: auto;
  margin-bottom: 1.25rem;
  border-radius: 2px;
  display: block;
}
.footer__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: #ffffffd9;
  line-height: 1.55;
  margin-bottom: .75rem;
  max-width: 380px;
}
.footer__service-area {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #ffffff80;
}
.footer__heading {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 1.25rem !important;
  position: relative;
  padding-bottom: .75rem;
}
.footer__heading:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--brand-gold);
}
.footer__list {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer__list > li {
  margin: 0;
  padding: 0;
  line-height: 1.65;
  list-style: none;
}
.footer__link {
  font-size: .92rem;
  line-height: 1.65;
  color: #ffffffa6;
  transition: color .2s var(--ease), transform .2s var(--ease);
  text-decoration: none;
}
.footer__link:hover {
  color: var(--brand-gold);
  transform: translate(3px);
}
.footer__contact-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  line-height: 1.65;
  color: #ffffffa6;
}
.footer__contact-item svg {
  flex-shrink: 0;
  color: var(--brand-gold);
}
.footer__bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__bottom p {
  font-size: .78rem;
  color: #fff6;
  letter-spacing: .04em;
  margin: 0;
}
.footer__bottom-meta {
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
}
.footer__credit { display: none; }

@media (max-width: 960px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 0; }
  .footer__callband-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .footer__callband-phone {
    font-size: 1.55rem;
    gap: .65rem;
  }
  .footer__callband-phone svg {
    width: 28px;
    height: 28px;
  }
  .footer__logo { height: 72px; }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
  }
  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 1rem;
    bottom: 1rem;
  }
  .whatsapp-float svg { width: 28px; height: 28px; }
}

/* Quote popup */
.quote-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 16, 17, .62);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.quote-popup.is-open { opacity: 1; pointer-events: auto; }
.quote-popup__dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, .88fr) minmax(0, 1.12fr);
  width: min(900px, 100%);
  max-height: min(720px, 88vh);
  background: var(--bone);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .45);
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px) scale(.97);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.quote-popup.is-open .quote-popup__dialog {
  opacity: 1;
  transform: none;
}
.quote-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid #d5d5d5;
  border-radius: 2px;
  background: #fff;
  color: #222;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}
.quote-popup__close:hover { border-color: var(--ink); color: var(--ink); }
.quote-popup__visual {
  position: relative;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: var(--ink);
}
.quote-popup__visual img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.quote-popup__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 0;
  overflow: auto;
  padding: 20px 28px 18px;
  background: #fff;
}
.quote-popup__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 44px 8px 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.3;
}
.quote-popup__kicker span {
  width: 28px;
  height: 3px;
  background: var(--brand-gold);
  flex: 0 0 auto;
}
.quote-popup__form h2 {
  margin: 0 0 24px;
  color: var(--ink);
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(1.55rem, 2.2vw, 1.9rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.quote-popup__form h2 span { color: var(--brand-gold); }
.quote-popup__field { display: block; margin: 0 0 15px; }
.quote-popup__field input,
.quote-popup__field select {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #e4e4e4;
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  box-sizing: border-box;
}
.quote-popup__field input::placeholder { color: #9a9a9a; }
.quote-popup__field input:focus,
.quote-popup__field select:focus {
  outline: none;
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(222, 85, 10, .16);
}
.quote-popup__field select {
  appearance: none;
  padding-right: 40px;
  color: #9a9a9a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23222' d='M1 1h10L6 7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-color: #fff;
}
.quote-popup__field select:valid { color: var(--ink); }
.quote-popup__field select option { color: var(--ink); }
.quote-popup__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.quote-popup__row .quote-popup__field { margin-bottom: 15px; }
.quote-popup__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: 4px;
  border: 0;
  border-radius: 2px;
  background: var(--brand-gold);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
}
.quote-popup__submit:hover { background: var(--brand-gold-deep); color: #fff; }
.quote-popup__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 20px 0 0;
  color: #8a8a8a;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}
.quote-popup__note svg { flex-shrink: 0; color: var(--brand-gold); }
.quote-popup__thanks {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}
.quote-popup__thanks[hidden],
.quote-popup__form[hidden] { display: none; }
.quote-popup__thanks h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.quote-popup__thanks-copy {
  margin: 0 0 20px;
  color: var(--gray-700);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}
.quote-popup__mail {
  display: block;
  margin-top: 14px;
  color: var(--brand-gold);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: center;
  text-decoration: none;
}
.quote-popup__mail:hover { color: var(--brand-gold-deep); }

@media (max-width: 800px) {
  .quote-popup { padding: 12px; }
  .quote-popup__dialog {
    grid-template-columns: 1fr;
    max-height: 88vh;
  }
  .quote-popup__visual { display: none; }
  .quote-popup__panel { padding: 18px 16px 16px; }
  .quote-popup__row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}
@media (max-width: 560px) {
  .quote-popup {
    padding: 10px;
    place-items: center;
    align-items: center;
  }
  .quote-popup__dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: 12px;
  }
  .quote-popup__panel { padding: 16px 14px 14px; }
  .quote-popup__close {
    top: 7px;
    right: 7px;
    width: 30px;
    height: 30px;
    font-size: 22px;
  }
  .quote-popup__form h2 {
    font-size: 1.35rem;
    margin-bottom: 18px;
  }
  .quote-popup__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .quote-popup__row .quote-popup__field { margin-bottom: 12px; }
  .quote-popup__field { margin-bottom: 12px; }
  .quote-popup__note { margin-top: 14px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .quote-popup,
  .quote-popup__dialog { transition: none; }
}

/* WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 820;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
  display: block;
}
.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 28px rgba(37, 211, 102, .55);
  outline: none;
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { transition: none; }
}


/* 2) Lucide icon helpers */
/* Lucide icon helpers for service pages */
[data-lucide] {
  display: inline-block;
  vertical-align: middle;
  width: 1.15em;
  height: 1.15em;
  stroke-width: 2;
  flex-shrink: 0;
}

.hero-badge [data-lucide] {
  width: 22px;
  height: 22px;
  color: #fff;
}

.hero-nav [data-lucide],
.ba-arrow [data-lucide] {
  width: 26px;
  height: 26px;
  color: currentColor;
}

.pill,
.learn,
.ba-quote {
  display: inline-flex;
  align-items: center;
}

.pill [data-lucide] {
  width: 16px;
  height: 16px;
  margin-right: 0.35rem;
}

.pill-navy [data-lucide] {
  margin-right: 0;
  margin-left: 0.35rem;
}

.learn [data-lucide] {
  width: 14px;
  height: 14px;
  margin-left: 0.25rem;
}

.benefit-card > [data-lucide] {
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 0.35rem;
  color: var(--kastone-orange, #DE550A);
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--kastone-orange, #DE550A);
}

.check [data-lucide] {
  width: 18px;
  height: 18px;
}

.cta-meta [data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--kastone-orange, #DE550A);
}

.cta-success [data-lucide] {
  width: 3rem;
  height: 3rem;
  color: var(--kastone-orange, #DE550A);
}

.faq-item .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
}

.faq-item .icon [data-lucide] {
  width: 20px;
  height: 20px;
  color: var(--kastone-orange, #DE550A);
}

.footer__callband-phone [data-lucide] {
  width: 36px;
  height: 36px;
}

.footer__contact-item [data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--brand-gold, #DE550A);
}

.quote-popup__note [data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--brand-gold, #DE550A);
}

.quote-popup__close [data-lucide] {
  width: 18px;
  height: 18px;
}

.whatsapp-float [data-lucide] {
  width: 30px;
  height: 30px;
  color: #fff;
}

.ba-handle [data-lucide] {
  width: 18px;
  height: 18px;
  color: #222;
}


/* 3) Service page content styles */
:root {
  --kastone-orange: #DE550A;
  --kastone-black: #0a0a0a;
  --navy: #0f1e3c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, sans-serif;
  background: #fff;
  color: #111;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }
button { font: inherit; }

.ext-hero-title {
  font-family: Lato, sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.05;
}
.ext-hero-sub {
  font-family: Lato, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.35;
}
@media (min-width: 768px) {
  .ext-hero-title { font-size: 58px; }
  .ext-hero-sub { font-size: 24px; }
}

/* Hero */
.service-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.service-hero .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-hero .slide.is-active { opacity: 1; }
.service-hero .shade {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #000;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  display: grid;
  place-items: center;
}
.hero-nav.prev { left: 1rem; }
.hero-nav.next { right: 1rem; }
@media (min-width: 768px) {
  .hero-nav.prev { left: 2rem; }
  .hero-nav.next { right: 2rem; }
}
.hero-content {
  position: relative;
  z-index: 10;
  width: min(64rem, calc(100% - 6rem));
  margin: 0 auto;
  padding: 7rem 0 5rem;
}
.hero-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-family: Lato, sans-serif;
  font-weight: 700;
  font-size: 18px;
}
.hero-content h1 { margin: 0; color: #fff; }
.hero-content h1 .red { color: var(--brand-gold); }
.hero-content .sub {
  margin: 1rem 0 2rem;
  color: #fff;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 5px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  min-width: 220px;
  height: 52px;
  padding: 0 28px;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}
.pill-red {
  background: var(--brand-gold);
  color: #fff;
}
.pill-red:hover { background: var(--brand-gold-deep); }
.pill-navy {
  background: var(--ink);
  color: #fff;
}
.pill-navy:hover { background: var(--ink-soft); }
.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 0.5rem;
}
.hero-dots button {
  width: 0.5rem;
  height: 0.5rem;
  border: 0 !important;
  border-radius: 999px;
  background: rgba(255,255,255,0.7) !important;
  padding: 0;
  cursor: pointer !important;
}
.hero-dots button.is-active {
  width: 0.625rem;
  height: 0.625rem;
  background: var(--brand-gold) !important;
}

/* Cards */
.card-row {
  background: #fff;
  padding: 3.5rem var(--content-inline);
}
.card-row__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}
.card-row__head {
  text-align: center;
  margin: 0 auto 2.5rem;
  width: 100%;
  max-width: 55rem;
  padding: 0 1rem;
  box-sizing: border-box;
}
.card-row__head h2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  color: var(--ink);
  line-height: 1.15;
  margin: .5rem 0 0;
  max-width: none;
  width: 100%;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
}
.cards {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(5, 1fr); }
}
.card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
}
.card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2), transparent);
}
.card .cap {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 3.5rem 0.75rem 1.15rem;
  text-align: center;
  color: #fff;
}
.card h3,
.card .cap h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-body) !important;
  font-weight: 800;
  font-size: clamp(0.78rem, 0.95vw, 0.92rem);
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}
.card .learn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-gold);
  color: #fff;
  border-radius: 5px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  min-width: 120px;
  height: 36px;
  padding: 0 14px;
  transition: background 0.2s;
}
.card .learn:hover { background: var(--brand-gold-deep); }

/* Before / After */
.ba-section {
  background: var(--ink);
  padding: 4rem var(--content-inline);
  color: #fff;
}
.ba-inner { width: 100%; max-width: var(--container); margin: 0 auto; }
.ba-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  padding: 0;
}
.ba-head h2 {
  margin: 0;
  max-width: 40rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #fff;
}
.ba-head h2 em {
  font-family: var(--font-serif);
  color: var(--brand-gold);
  font-style: italic;
  font-weight: 700;
  text-transform: none;
}
.ba-quote {
  display: inline-flex;
  background: var(--brand-gold);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  white-space: nowrap;
}
.ba-quote:hover { background: var(--brand-gold-deep); }
.ba-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ba-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 800px) {
  .ba-grid { grid-template-columns: 1fr 1fr; }
  .ba-grid--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: calc(50% - 0.5rem);
    margin-inline: auto;
  }
}
.ba-frame {
  aspect-ratio: 1;
  border-radius: 0.75rem;
  overflow: hidden;
  position: relative;
  background: #071226;
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: pan-y;
}
.ba-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.ba-before-wrap {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
}
.ba-before-wrap img {
  width: 200%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(255,255,255,0.8);
  z-index: 2;
  pointer-events: none;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: #fff;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  pointer-events: none;
}
.ba-label {
  position: absolute;
  top: 1rem;
  z-index: 3;
  background: #fff;
  color: #000;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}
.ba-label.before { left: 1rem; }
.ba-label.after { right: 1rem; }
.ba-arrow {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.1);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.ba-arrow:disabled { opacity: 0.2; cursor: default; }
.ba-arrow:not(:disabled):hover { background: rgba(255,255,255,0.2); }
.ba-empty {
  display: none;
  aspect-ratio: 1;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.05);
}
@media (min-width: 800px) {
  .ba-empty.is-visible { display: block; }
}
.ba-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.ba-dots button {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  padding: 0;
}
.ba-dots button.is-active {
  width: 1.25rem;
  background: #fff;
}

/* Sticky */
.sticky-call {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 40;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  background: var(--kastone-orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 1rem 0.65rem;
}
.whatsapp {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 40;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}
.whatsapp:hover { background: #1da851; }
.asterisk {
  position: fixed;
  top: 1rem;
  right: 3.5rem;
  z-index: 40;
  width: 32px;
  height: 32px;
}

/* Exterior-only sections */
.font-anton { font-family: Anton, sans-serif; }
.font-playfair { font-family: "Playfair Display", serif; }

.benefits { background: #fff; padding: 5rem var(--content-inline); }
.benefits-head {
  text-align: center;
  margin: 0 auto 3.5rem;
  max-width: 42rem;
  padding: 0;
  box-sizing: border-box;
}
.benefits-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 0 0 0.75rem;
  color: var(--ink);
}
.benefits-head .accent {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--brand-gold);
  font-size: 1.5rem;
  margin: 0;
}
.benefits-grid {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) { .benefits-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: 1fr 1fr 1fr; } }
.benefit-card {
  padding: 2rem;
  border: 1px solid #f3f4f6;
  transition: 0.3s;
}
.benefit-card:hover {
  border-color: rgba(222,85,10,0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.benefit-card h3 { margin: 1rem 0 0.75rem; font-size: 1.125rem; }
.benefit-card p { margin: 0; color: #6b7280; font-size: 0.875rem; line-height: 1.6; }

.split { overflow: hidden; width: 100%; }
.split-inner {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 520px;
  align-items: stretch;
}
@media (min-width: 768px) {
  .split-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: min(720px, 90vh);
  }
  .split-media {
    min-height: 100%;
    align-self: stretch;
  }
  /*
   * Align copy to --content-inline (same edge as other inner sections).
   * Image blade stays full-bleed — do not wrap split-inner in a container.
   */
  .split-dark .split-copy {
    padding-left: var(--content-inline);
    padding-right: clamp(1.5rem, 3vw, 2.5rem);
  }
  .split-light .split-copy {
    padding-right: var(--content-inline);
    padding-left: clamp(1.5rem, 3vw, 2.5rem);
  }
}
.split-dark { background: var(--ink); color: #fff; }
.split-light { background: #fff; color: var(--ink); }
.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem var(--pad);
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .split-copy {
    padding-top: 5rem;
    padding-bottom: 5rem;
    justify-self: stretch;
  }
  .split-copy > * { max-width: 36rem; }
}
.split-media {
  position: relative;
  min-height: 400px;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0e1116;
}
.split-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.split .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--brand-gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.split .eyebrow::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--brand-gold);
}
.split h2 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3rem);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  color: inherit;
}
.split h2 .accent {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  text-transform: none;
  color: var(--brand-gold);
  font-size: 0.85em;
  margin-top: 0.35rem;
}
.split p { color: rgba(255,255,255,0.65); font-size: 0.875rem; line-height: 1.7; max-width: 28rem; margin: 0 0 1.5rem; }
.split-light p { color: #4b5563; }
.split ul { list-style: none; margin: 0 0 2rem; padding: 0; }
.split li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.split-light li { color: #374151; }
.check { color: var(--brand-gold); font-weight: 700; }
.btn-red-block {
  display: inline-block;
  background: var(--brand-gold);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  width: fit-content;
}
.btn-red-block:hover { background: var(--brand-gold-deep); }

.surfaces { background: #f9fafb; padding: 5rem var(--content-inline); }
.surfaces-head {
  text-align: center;
  margin: 0 auto 3.5rem;
  max-width: 42rem;
  padding: 0;
  box-sizing: border-box;
}
.surfaces-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 0 0 0.75rem;
  color: var(--ink);
}
.surfaces-head .accent {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--brand-gold);
  font-size: 1.5rem;
  max-width: none;
  margin: 0 0 1rem;
  text-align: center;
}
.surfaces-head p { color: #6b7280; font-size: 0.875rem; max-width: none; margin: 0; }
.surfaces-grid {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .surfaces-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .surfaces-grid { grid-template-columns: 1fr 1fr 1fr; } }
.surface-card { background: #fff; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.surface-card .thumb { position: relative; height: 12rem; overflow: hidden; }
.surface-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.surface-card:hover img { transform: scale(1.05); }
.surface-card .body { padding: 1.5rem; }
.surface-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.surface-card p { margin: 0; color: #6b7280; font-size: 0.875rem; line-height: 1.6; }

.process { background: var(--ink); padding: 5rem var(--content-inline); color: #fff; }
.process-head {
  text-align: center;
  margin: 0 auto 4rem;
  max-width: 42rem;
  padding: 0;
  box-sizing: border-box;
}
.process-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3rem);
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 0.75rem;
  color: #fff;
}
.process-head .accent {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--brand-gold);
  font-size: 1.5rem;
}
.process-grid {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-step {
  position: relative;
  padding: 2rem;
  border-top: 2px solid var(--brand-gold);
}
@media (min-width: 1024px) {
  .process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: rgba(255,255,255,0.12);
  }
}
.process-step .num {
  font-family: var(--font-display);
  font-size: 3.75rem;
  color: rgba(222, 85, 10, 0.35);
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}
.process-step h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  text-transform: uppercase;
  color: #fff;
}
.process-step p {
  margin: 0;
  color: rgba(255,255,255,0.65);
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
}

.faq { background: #fff; padding: 5rem var(--content-inline); }
.faq-inner { width: 100%; max-width: 48rem; margin: 0 auto; }
.faq-head {
  text-align: center;
  margin: 0 auto 3rem;
  max-width: 42rem;
  padding: 0;
  box-sizing: border-box;
}
.faq-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 0 0 0.75rem;
  color: var(--ink);
}
.faq-head .accent {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--brand-gold);
  font-size: 1.5rem;
}
.faq-item { border-bottom: 1px solid #f3f4f6; }
.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}
.faq-item .icon { color: var(--brand-gold); font-size: 1.25rem; flex-shrink: 0; }
.faq-item .answer {
  display: none;
  padding: 0 0 1.25rem;
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}
.faq-item.is-open .answer { display: block; }

.cta-ext { background: #f9fafb; padding: 5rem var(--content-inline); }
.cta-grid {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}
@media (min-width: 1024px) { .cta-grid { grid-template-columns: 1fr 1fr; } }
.cta-ext .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--brand-gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.cta-ext .eyebrow::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--brand-gold);
}
.cta-ext h2 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 0 0 1rem;
  color: var(--ink);
}
.cta-ext .accent {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--brand-gold);
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
}
.cta-ext > .cta-grid > div > p {
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 28rem;
  margin: 0 0 2rem;
}
.cta-meta { font-size: 0.875rem; color: #374151; }
.cta-meta a { font-weight: 600; }
.cta-meta a:hover { color: var(--brand-gold); }
.cta-meta p { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 1rem; }
.cta-form {
  background: #fff;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.cta-form .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .cta-form .row { grid-template-columns: 1fr 1fr; } }
.cta-form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}
.cta-form input,
.cta-form select,
.cta-form textarea {
  width: 100%;
  border: 2px solid #e5e7eb;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  outline: none;
  background: #fff;
}
.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus { border-color: var(--brand-gold); }
.cta-form .full { grid-column: 1 / -1; }
.cta-form button[type="submit"] {
  width: 100%;
  background: var(--brand-gold);
  color: #fff;
  border: 0;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem;
  cursor: pointer;
}
.cta-form button[type="submit"]:hover { background: var(--brand-gold-deep); }
.cta-success { display: none; text-align: center; padding: 2.5rem 1rem; }
.cta-success.is-visible { display: block; }
.cta-success h3 {
  font-family: Anton, sans-serif;
  font-size: 1.75rem;
  text-transform: uppercase;
  margin: 0.75rem 0;
}
.cta-success p { color: #6b7280; font-size: 0.875rem; }

.ba-frame.wide { aspect-ratio: 3 / 2; }
.ba-frame.wide img { object-fit: cover; }
@media (min-width: 768px) {
  .split-dark .split-copy { order: 1 !important; }
  .split-dark .split-media { order: 2 !important; }
}

/* Service pages — mobile */
@media (max-width: 767px) {
  .service-hero { min-height: 100svh; }
  .hero-content {
    width: min(64rem, calc(100% - 2rem));
    padding: 6.25rem 0 4.25rem;
  }
  .hero-nav {
    width: 2.4rem;
    height: 2.4rem;
  }
  .hero-nav.prev { left: 0.4rem; }
  .hero-nav.next { right: 0.4rem; }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .pill {
    min-width: 0;
    width: 100%;
    height: 48px;
    font-size: 15px;
    padding: 0 1.25rem;
  }
  .hero-dots { bottom: 1.25rem; }
  .card-row { padding: 2.5rem 1.25rem; }
  .card-row__head { margin-bottom: 1.75rem; }
  .card-row__head h2 { font-size: clamp(1.45rem, 6vw, 1.8rem); }
  .card h3,
  .card .cap h3 { font-size: 0.9rem; }
  .card .learn { min-width: 130px; height: 38px; font-size: 13px; }
  .card { min-height: 280px; border-radius: 0.85rem; }
  .ba-section { padding: 3rem 1rem; }
  .ba-head {
    padding: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
  }
  .ba-head h2 { font-size: 1.65rem; }
  .ba-quote {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
  .ba-row { gap: 0.4rem; }
  .ba-arrow {
    width: 2rem;
    height: 2rem;
  }
  .ba-label {
    font-size: 10px;
    padding: 0.3rem 0.55rem;
  }
  .ba-label.before { left: 0.6rem; }
  .ba-label.after { right: 0.6rem; }
  .split-copy { padding: 3rem var(--content-inline); }
  .split-media { min-height: 260px; }
  .split-inner { min-height: 0; }
  .benefits { padding: 3.5rem 1.25rem; }
  .benefits-head { margin-bottom: 2rem; }
  .benefit-card { padding: 1.5rem; }
  .surfaces,
  .process,
  .faq,
  .cta-ext { padding: 3.5rem 1.25rem; }
  .surfaces-head,
  .process-head,
  .faq-head { margin-bottom: 2rem; }
  .process-step:not(:last-child)::after { display: none; }
  .whatsapp-float {
    right: 0.85rem;
    bottom: 0.85rem;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 480px) {
  .hero-content { width: calc(100% - 1.5rem); }
  .hero-nav { display: none; }
  .ext-hero-title { font-size: 1.85rem; }
  .ext-hero-sub { font-size: 1rem; }
  .ba-arrow { display: none; }
}


/* 4) Homepage font/brand alignment for service pages */

/* ===== Site design tokens (match homepage) ===== */
:root {
  --kastone-orange: #DE550A;
  --kastone-black: #0f1011;
  --navy: #0f1011;
  --brand-gold: #DE550A;
  --brand-gold-deep: #A8400A;
  --brand-maroon: #7A2E05;
  --ink: #0f1011;
  --bone: #f7f4ee;
  --paper: #ffffff;
  --font-display: "Archivo Black", system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

/*
 * Zero browser heading margins inside main only.
 * Whole selector is wrapped in :where() so specificity stays 0 —
 * section classes (why-choose, surfaces, feature-project, etc.) keep home spacing.
 */
:where(
  body.service-page main h1,
  body.service-page main h2,
  body.service-page main h3,
  body.service-page main h4,
  body.service-page main h5,
  body.service-page main h6,
  body.has-hero-transparent main h1,
  body.has-hero-transparent main h2,
  body.has-hero-transparent main h3,
  body.has-hero-transparent main h4,
  body.has-hero-transparent main h5,
  body.has-hero-transparent main h6
) {
  margin: 0;
}

.ext-hero-title {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.ext-hero-title .red,
.ext-hero-title .accent,
.red { color: var(--brand-gold) !important; }

.ext-hero-sub,
.hero-content .sub {
  font-family: var(--font-body) !important;
}

.hero-badge {
  font-family: var(--font-body) !important;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem !important;
}

.benefits-head h2,
.ba-head h2,
.split-copy h2,
.surfaces-head h2,
.process-head h2,
.faq-head h2,
.cta-ext h2 {
  font-family: var(--font-display) !important;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.ba-head h2 em,
.benefits-head .accent,
.split-copy .accent,
.surfaces-head .accent,
.process-head .accent,
.faq-head .accent,
.cta-ext .accent {
  font-family: var(--font-serif) !important;
  font-style: italic;
  text-transform: none;
  color: var(--brand-gold);
}

.benefit-card h3,
.process-step h3,
.faq-item button span:first-child {
  font-family: var(--font-display) !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.surface-card h3 {
  font-family: var(--font-body) !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.pill,
.learn,
.ba-quote,
.btn-red-block,
.cta-form button,
.faq-item button {
  font-family: var(--font-body) !important;
}

.pill-red,
.btn-red-block,
.cta-form button[type="submit"] {
  background: var(--brand-gold) !important;
  border-color: var(--brand-gold);
}

.pill-red:hover,
.btn-red-block:hover {
  background: var(--ink) !important;
}

/* Hide obsolete local chrome leftovers */
.sticky-call, .whatsapp, .asterisk, .nav { display: none !important; }

/* Shared section utilities (used on About + other PHP pages) */
.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
  position: relative;
}
.section--dark { background: var(--ink); color: #fff; }
.section--bone { background: var(--bone); }
.section--paper { background: var(--paper); }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 1rem;
}
.kicker:before {
  content: "";
  width: 30px;
  height: 1.5px;
  background: var(--brand-gold);
  display: inline-block;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 1rem;
}
.section--dark .section__title { color: #fff; }
.btn--ghost-light {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, .45);
}
.btn--ghost-light:hover {
  background: #fff;
  color: var(--ink) !important;
  border-color: #fff;
}

/* Feature project (home + about) */
.feature-project.section { padding: 0; }
.feature-project__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 50%);
  gap: 0;
  align-items: stretch;
}
.feature-project__media {
  position: relative;
  min-height: 100%;
}
.feature-project__image-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--ink);
}
.feature-project__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.feature-project__image--storefront { object-position: 26% center; }
.feature-project__content {
  padding: clamp(4rem, 9vw, 7rem) max(var(--pad), calc((100vw - var(--container)) / 3)) clamp(4rem, 9vw, 7rem) clamp(2rem, 5vw, 4rem);
}
.feature-project__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -.01em;
  margin: 0 0 1.5rem;
  color: #fff;
}
.feature-project__title .text-serif { color: var(--brand-gold); }
.feature-project__para {
  color: rgba(255, 255, 255, .78);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 1rem;
}
.feature-project__list,
.site-chrome-reset .feature-project__list {
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.feature-project__list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .95rem;
  color: rgba(255, 255, 255, .9);
}
.feature-project__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-gold);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}
@media (max-width: 860px) {
  .feature-project__grid { grid-template-columns: 1fr; }
  .feature-project__image-wrap {
    position: relative;
    height: min(56vh, 420px);
  }
  .feature-project__content {
    padding: clamp(2.5rem, 6vw, 4rem) var(--pad);
  }
}
@media (max-width: 560px) {
  .feature-project__image-wrap { height: min(42vh, 320px); }
  .feature-project__title { font-size: clamp(1.75rem, 8vw, 2.4rem); }
  .feature-project__para { font-size: 1rem; }
}

/* Services accordion track — exact home styles */
.section__lede {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 560px;
  color: var(--gray-700);
}
.section--dark .section__lede { color: rgba(255, 255, 255, .72); }
.services.section {
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: 0;
  scroll-margin-top: var(--header-h);
}
.services__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: .25rem 2rem;
  flex-wrap: wrap;
  text-align: left;
}
.services__head .kicker { justify-content: flex-start; }
.services__track {
  display: flex;
  width: 100%;
  height: min(68vh, 540px);
  margin-top: 2.5rem;
  overflow: hidden;
}
.service-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
  isolation: isolate;
  transition: flex .55s cubic-bezier(.25, .8, .25, 1);
}
.service-card__media {
  position: absolute;
  inset: 0;
  transform: scale(1.04);
  filter: brightness(.72) saturate(.95);
  transition: transform .55s ease, filter .55s ease;
}
.service-card__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}
.service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .28) 42%, rgba(0, 0, 0, .18) 100%);
  transition: opacity .45s ease;
}
.service-card__collapsed {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .75rem;
  padding: 1.15rem 1rem 1.25rem;
  opacity: 1;
  transition: opacity .25s ease, transform .35s ease;
}
.service-card__collapsed-title {
  font-family: var(--font-body);
  font-size: clamp(.78rem, 1.1vw, .95rem);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
}
.service-card__collapsed-arrow {
  flex-shrink: 0;
  color: #fff;
  font-size: .95rem;
  line-height: 1;
}
.service-card__expanded {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .85rem;
  padding: 2.5rem 2rem 2.5rem 2.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .3s ease .08s, transform .4s ease;
}
.service-card__expanded-title {
  margin: 0;
  max-width: 16ch;
  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(1.65rem, 2.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.01em;
  text-transform: none;
}
.service-card__desc {
  margin: 0 0 .35rem;
  max-width: 40ch;
  color: rgba(255, 255, 255, .92);
  font-family: var(--font-body);
  font-size: clamp(.88rem, 1.15vw, 1rem);
  font-weight: 400;
  line-height: 1.55;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .25);
}
.service-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .75rem 1.45rem;
  border: 1.5px solid var(--brand-gold);
  border-radius: 5px;
  background: var(--brand-gold);
  color: #fff !important;
  font-family: var(--font-body);
  font-size: clamp(.72rem, 1.05vw, .8rem);
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.service-card__cta:hover,
.service-card__cta:focus-visible {
  background: #fff;
  border-color: var(--brand-gold);
  color: var(--brand-gold) !important;
  outline: none;
}
.service-card__cta:active { transform: scale(.98); }
.services__track:hover .service-card:not(:hover) { flex: .72 1 0; }
.services__track:hover .service-card:not(:hover) .service-card__media {
  filter: brightness(.55) saturate(.85);
}
.service-card:hover,
.service-card:focus-within { flex: 3.4 1 0; }
.service-card:hover .service-card__media,
.service-card:focus-within .service-card__media {
  transform: scale(1);
  filter: brightness(.78) saturate(1.02);
}
.service-card:hover .service-card__media::after,
.service-card:focus-within .service-card__media::after {
  opacity: 1;
  background: linear-gradient(to right, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .58) 42%, rgba(0, 0, 0, .36) 72%, rgba(0, 0, 0, .28) 100%);
}
.service-card:hover .service-card__collapsed,
.service-card:focus-within .service-card__collapsed {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}
.service-card:hover .service-card__expanded,
.service-card:focus-within .service-card__expanded {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.services__more {
  display: flex;
  justify-content: center;
  padding: 1.75rem var(--pad) clamp(3.5rem, 7vw, 5.5rem);
}
@media (max-width: 820px) {
  .services__track {
    flex-direction: column;
    height: auto;
    overflow: hidden;
    width: 100%;
  }
  .service-card,
  .services__track:hover .service-card:not(:hover),
  .service-card:hover,
  .service-card:focus-within {
    flex: none;
    min-height: 160px;
    width: 100%;
    max-width: 100%;
  }
  .service-card__media {
    width: 100%;
    max-width: 100%;
  }
  .service-card__media img {
    width: 100%;
    max-width: 100%;
  }
  .service-card:hover,
  .service-card:focus-within,
  .service-card.is-open { min-height: 340px; }
  .service-card__collapsed-title { font-size: 1rem; }
  .service-card__desc { max-width: 42ch; }
  .service-card.is-open .service-card__media {
    transform: scale(1);
    filter: brightness(.78) saturate(1.02);
  }
  .service-card.is-open .service-card__media::after {
    background: linear-gradient(to right, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .58) 42%, rgba(0, 0, 0, .36) 72%, rgba(0, 0, 0, .28) 100%);
  }
  .service-card.is-open .service-card__collapsed {
    opacity: 0;
    pointer-events: none;
  }
  .service-card.is-open .service-card__expanded {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .service-card__media,
  .service-card__collapsed,
  .service-card__expanded,
  .service-card__cta { transition: none; }
}

/* Areas We Service — exact home styles */
.areas-service {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 560px;
  background: linear-gradient(281deg, #0f1011 9%, #DE550A 100%);
  color: #fff;
  overflow: hidden;
}
.areas-service__map {
  position: relative;
  min-height: 320px;
  background: #0e1116;
}
.areas-service__panel {
  position: relative;
  z-index: 1;
  padding: 56px 36px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.areas-service__sparkle {
  position: absolute;
  top: 28px;
  right: 36px;
  width: 72px;
  height: 72px;
  opacity: .22;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, .9) 0 8%, transparent 9%),
    conic-gradient(from 0deg, transparent 0 20%, rgba(255, 194, 154, .85) 25%, transparent 30% 70%, rgba(255, 194, 154, .85) 75%, transparent 80% 100%);
  clip-path: polygon(50% 0%, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0% 50%, 42% 42%);
  pointer-events: none;
}
.areas-service__panel h2 {
  margin: 0 0 10px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.areas-service__sub {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .88);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.5;
}
.areas-service__lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 40px;
  max-width: 560px;
}
.areas-service__lists ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.areas-service__lists li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.3;
}
.areas-service__lists i {
  color: #ffc29a;
  font-size: 1.15rem;
  line-height: 1;
  flex: 0 0 auto;
}
@media (min-width: 900px) {
  .areas-service {
    grid-template-columns: 1fr 1fr;
    min-height: 640px;
  }
  .areas-service__map { min-height: 100%; }
  .areas-service__panel { padding: 80px 56px 80px 48px; }
}
.areas-service--interactive {
  background: linear-gradient(281deg, #0f1011 9%, #DE550A 100%);
}
.areas-service__map--interactive { background: #0e1116; }
.areas-interactive-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: #dfe6ea;
}
.areas-interactive-map--static,
.areas-interactive-map--static * {
  touch-action: pan-y !important;
}
.areas-interactive-map .leaflet-control-attribution {
  background: rgba(255, 255, 255, .82);
  color: #555;
  font-size: 10px;
  margin: 0;
  border: 0;
}
.areas-interactive-map .leaflet-control-zoom {
  border: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
  overflow: hidden;
  border-radius: 12px;
}
.areas-interactive-map .leaflet-control-zoom a {
  width: 36px;
  height: 36px;
  line-height: 36px;
  color: #1a1a1a;
  border-bottom-color: #ececec;
  font-size: 16px;
}
.areas-interactive-map .leaflet-control-zoom a:hover {
  background: #f7f7f7;
  color: var(--brand-gold);
}
.areas-pin { background: transparent; border: 0; }
.areas-pin__inner {
  position: relative;
  width: 28px;
  height: 36px;
  display: grid;
  place-items: start center;
  filter: drop-shadow(0 8px 14px rgba(26, 26, 26, .28));
  transform: translateY(0) scale(1);
  transform-origin: 50% 100%;
  transition: transform .28s cubic-bezier(.32, .72, .28, 1);
}
.areas-pin__inner::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  background: var(--brand-gold);
  border: 2.5px solid #fff;
  transform: rotate(-45deg);
  box-shadow: inset 0 0 0 3px rgba(168, 64, 10, .22);
}
.areas-pin__inner::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}
.areas-pin.is-hub .areas-pin__inner::before {
  width: 26px;
  height: 26px;
  background: #0f1011;
  box-shadow: inset 0 0 0 3px rgba(222, 85, 10, .55);
}
.areas-pin.is-hub .areas-pin__inner::after {
  background: var(--brand-gold);
  top: 10px;
  left: 12px;
}
.areas-pin.is-active .areas-pin__inner,
.areas-pin:hover .areas-pin__inner {
  transform: translateY(-8px) scale(1.14);
  filter: drop-shadow(0 14px 18px rgba(26, 26, 26, .34));
}
.areas-pin-tooltip {
  background: #0f1011;
  color: #fff;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .28);
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.areas-pin-tooltip::before { border-top-color: #0f1011; }
.leaflet-tooltip-top.areas-pin-tooltip::before { border-top-color: #0f1011; }
.areas-service--interactive .areas-service__lists li {
  cursor: pointer;
  padding: 4px 8px 4px 4px;
  margin: 0 -4px;
  border-radius: 8px;
  transition: background-color .22s ease, transform .22s ease;
}
.areas-service--interactive .areas-service__lists li:hover,
.areas-service--interactive .areas-service__lists li.is-active {
  background: rgba(255, 255, 255, .14);
  transform: translateX(4px);
}
.areas-service--interactive .areas-service__lists li.is-active i {
  color: #fff;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, .55));
}
@media (max-width: 899px) {
  .areas-service__map--interactive { min-height: 420px; }
  .areas-service__lists { gap: 8px 24px; }
  .areas-service__panel { padding: 40px 24px 48px; order: -1; }
}
@media (max-width: 560px) {
  .areas-service__map--interactive { min-height: 280px; }
  .areas-service__panel { padding: 32px 20px 40px; }
  .areas-service__lists { gap: 6px 16px; max-width: none; }
  .areas-service__lists ul { gap: 10px; }
  .areas-service__lists li { font-size: .95rem; gap: 8px; }
  .areas-service__sub { margin-bottom: 20px; font-size: .95rem; }
}

/* Why Choose — layout from reference, Kastone brand colors */
.why-choose {
  --why-navy: var(--ink);
  --why-yellow: var(--brand-gold);
  position: relative;
  padding: 80px var(--content-inline) 80px;
  color: #fff;
  overflow: hidden;
  background-color: var(--why-navy);
  background-image: linear-gradient(180deg, rgba(15, 16, 17, .88) 0%, rgba(122, 46, 5, .90) 100%), url(../images/hero.jpg);
  background-size: cover;
  background-position: center;
}
.why-choose__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}
.why-choose__head {
  text-align: center;
  max-width: 1040px;
  margin: 0 auto 40px;
}
.why-choose__tagline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
}
.why-choose__spark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--why-yellow);
  flex-shrink: 0;
  line-height: 0;
}
.why-choose__spark .bi {
  font-size: 22px;
  line-height: 1;
  color: var(--brand-gold);
}
.why-choose__title {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 3vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
}
.why-choose__lede {
  margin: 0 auto;
  max-width: 900px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  color: #fff;
}
.why-choose__lede strong {
  color: #fff;
  font-weight: 700;
}
.why-choose__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
  padding-bottom: 60px; /* room for dropped cards */
}
.why-choose__grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.why-choose__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 15px;
  padding: 25px 20px;
  text-align: center;
  color: #1b1b1b;
  border: 0 solid var(--why-yellow);
  border-right-width: 5px;
  border-bottom-width: 5px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.09);
  box-sizing: border-box;
}
/*
 * Stagger: drop even cards (About 4-col → 2nd & 4th).
 * translateY keeps grid stretch heights equal so dropped bottoms still match.
 */
.why-choose__card:nth-child(even) {
  transform: translateY(50px);
}
/* Exterior 3-col: drop middle card of each row (2nd & 5th) for the same rhythm */
.why-choose__grid--3 .why-choose__card:nth-child(even) {
  transform: none;
}
.why-choose__grid--3 .why-choose__card:nth-child(3n + 2) {
  transform: translateY(50px);
}
.why-choose__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  color: var(--why-yellow);
}
.why-choose__icon .bi {
  font-size: 52px;
  line-height: 1;
  color: var(--brand-gold);
}
.why-choose__card-title {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  color: #1b1b1b;
  text-transform: none;
  letter-spacing: 0;
}
.why-choose__card-text {
  margin: 0;
  flex: 1 1 auto;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: #1b1b1b;
}
@media (max-width: 1100px) {
  .why-choose__grid,
  .why-choose__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 2-col: drop even cards (2nd column) on both grids */
  .why-choose__grid--3 .why-choose__card:nth-child(3n + 2) { transform: none; }
  .why-choose__grid--3 .why-choose__card:nth-child(even) { transform: translateY(50px); }
  .why-choose__card-title { font-size: 22px; }
}
@media (max-width: 640px) {
  .why-choose { padding: 56px var(--content-inline) 72px; }
  .why-choose__grid,
  .why-choose__grid--3 { grid-template-columns: 1fr; gap: 20px; padding-bottom: 0; }
  .why-choose__card:nth-child(even),
  .why-choose__grid--3 .why-choose__card:nth-child(even),
  .why-choose__grid--3 .why-choose__card:nth-child(3n + 2) { transform: none; }
  .why-choose__card { padding: 22px 18px; }
  .why-choose__card-title { font-size: 20px; }
  .why-choose__card-text { font-size: 15px; }
  .why-choose__lede { font-size: 15px; }
  .why-choose__icon { width: 56px; height: 56px; margin-bottom: 14px; }
  .why-choose__icon .bi { font-size: 44px; }
  .why-choose__tagline { font-size: 14px; flex-wrap: wrap; }
}

/* Compact page hero (About Us, etc.) */
.page-hero {
  position: relative;
  min-height: clamp(320px, 42vh, 460px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: calc(var(--header-h) + 2rem) var(--pad) 3.5rem;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 16, 17, .72) 0%, rgba(15, 16, 17, .55) 45%, rgba(15, 16, 17, .78) 100%),
    linear-gradient(90deg, rgba(122, 46, 5, .35) 0%, transparent 55%);
}
.page-hero__content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: pageHeroIn .8s var(--ease) both;
}
.page-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 4px 28px rgba(0, 0, 0, .35);
}
.page-hero__lede {
  margin: 1rem auto 0;
  max-width: 34rem;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, .92);
}
.page-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 1.75rem;
}
.page-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 52px;
  padding: .85rem 1.6rem;
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.page-hero__cta--primary {
  background: var(--brand-gold);
  color: #fff !important;
  border: 2px solid var(--brand-gold);
  box-shadow: 0 12px 28px -12px rgba(222, 85, 10, .65);
}
.page-hero__cta--primary:hover {
  background: #fff;
  color: var(--ink) !important;
  border-color: #fff;
  transform: translateY(-2px);
}
.page-hero__cta--phone {
  background: #fff;
  color: var(--ink) !important;
  border: 2px solid #fff;
}
.page-hero__cta--phone:hover {
  background: transparent;
  color: #fff !important;
  transform: translateY(-2px);
}
.page-hero__cta svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  stroke: currentColor;
}
.page-hero__cta--phone svg {
  width: 18px;
  height: 18px;
}
@keyframes pageHeroIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero__content { animation: none; }
  .page-hero__cta { transition: none; }
}
@media (max-width: 560px) {
  .page-hero { min-height: 300px; padding-bottom: 2.75rem; }
  .page-hero__content { width: 100%; max-width: 100%; }
  .page-hero__title { font-size: clamp(2rem, 10vw, 2.6rem); }
  .page-hero__lede { font-size: 15px; }
  .page-hero__ctas {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .page-hero__cta {
    width: 100%;
    max-width: none;
  }
}

/* —— Blog listing (Blooming Minds–style grid) —— */
.blog-listing {
  background: #f7f8f9;
  padding: 64px var(--pad) 88px;
}
.blog-listing__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.blog-listing__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #1b1b1b;
  overflow: hidden;
}
.blog-card__media {
  display: block;
  aspect-ratio: 413 / 270;
  overflow: hidden;
  background: #e8e8e8;
}
.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s var(--ease);
}
.blog-card:hover .blog-card__media img {
  transform: scale(1.04);
}
.blog-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 20px 28px;
  flex: 1;
}
.blog-card__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 600;
  line-height: 1.25;
  color: #2f3a39;
}
.blog-card__title a {
  color: inherit;
  text-decoration: none;
}
.blog-card__title a:hover {
  color: var(--brand-gold);
}
.blog-card__excerpt {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: #5a6362;
}
.blog-card__more {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: #2f3a39;
  text-decoration: none;
  align-self: flex-start;
}
.blog-card__more:hover {
  color: var(--brand-gold);
}
@media (max-width: 960px) {
  .blog-listing__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 640px) {
  .blog-listing { padding: 40px var(--pad) 64px; }
  .blog-listing__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* —— Contact page (Mixing Bowl–style dark form) —— */
.contact-page {
  background: #0a0a0a;
  color: #fff;
  padding: 72px var(--pad) 80px;
}
.contact-page__inner {
  max-width: 980px;
  margin: 0 auto;
}
.contact-page__head {
  text-align: center;
  margin: 0 auto 40px;
  max-width: 720px;
}
.contact-page__kicker {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-gold);
}
.contact-page__title {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.02em;
}
.contact-page__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--brand-gold);
}
.contact-page__lede {
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, .82);
  max-width: 560px;
}
.contact-page__form-wrap {
  background: #141414;
  border: 1px solid #1f1f1f;
  border-radius: 8px;
  padding: 36px 32px 32px;
  margin-bottom: 40px;
}
.contact-page__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-page__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-page__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: #fff;
}
.contact-page__field abbr {
  color: var(--brand-gold);
  text-decoration: none;
}
.contact-page__field input,
.contact-page__field select,
.contact-page__field textarea {
  width: 100%;
  min-height: 47px;
  padding: 10px 16px;
  border: 1px solid #333;
  border-radius: 4px;
  background: #000;
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  appearance: none;
  color-scheme: dark;
}
.contact-page__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23aaa' d='M1 1h10L6 7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  color: #9a9a9a;
}
.contact-page__field select:valid {
  color: #fff;
}
.contact-page__field textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.5;
}
.contact-page__field input::placeholder,
.contact-page__field textarea::placeholder {
  color: #7a7a7a;
}
.contact-page__field input:focus,
.contact-page__field select:focus,
.contact-page__field textarea:focus {
  outline: none;
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(222, 85, 10, .22);
}
.contact-page__field--full { width: 100%; }
.site-chrome-reset .contact-page__submit,
.contact-page__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 6px;
  padding: 15px 30px;
  border: 0 !important;
  border-radius: 4px;
  background: var(--brand-gold) !important;
  color: #fff !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer !important;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.site-chrome-reset .contact-page__submit:hover,
.contact-page__submit:hover {
  background: var(--brand-gold-deep) !important;
  color: #fff !important;
}
.contact-page__submit-sending,
.contact-page__submit.is-submitting .contact-page__submit-text {
  display: none;
}
.contact-page__submit.is-submitting .contact-page__submit-sending {
  display: inline;
}
.contact-page__submit.is-submitting {
  opacity: .75;
  cursor: wait;
  pointer-events: none;
}
.contact-page__thanks {
  text-align: center;
  padding: 48px 24px;
}
.contact-page__thanks svg {
  width: 48px;
  height: 48px;
  color: #22c55e;
  margin-bottom: 16px;
}
.contact-page__thanks h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
}
.contact-page__thanks p {
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .8);
}
.contact-page__thanks-link {
  display: inline-flex;
  color: var(--brand-gold);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}
.contact-page__thanks-link:hover { color: #fff; }
.contact-page__info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.contact-page__info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 28px 20px;
  background: #141414;
  border: 1px solid #1f1f1f;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
a.contact-page__info-card:hover {
  border-color: var(--brand-gold);
  transform: translateY(-2px);
  color: #fff;
}
.contact-page__info-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--brand-gold);
  margin-bottom: 4px;
}
.contact-page__info-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
}
.contact-page__info-card h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.contact-page__info-card p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}
@media (max-width: 720px) {
  .contact-page { padding: 48px var(--pad) 56px; }
  .contact-page__form-wrap { padding: 28px 20px; }
  .contact-page__row { grid-template-columns: 1fr; gap: 16px; }
  .contact-page__info { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .contact-page { padding: 40px var(--pad) 48px; }
  .contact-page__title { font-size: clamp(1.65rem, 7vw, 2.1rem); }
  .contact-page__lede { font-size: 15px; }
  .contact-page__form-wrap {
    padding: 22px 16px;
    border-radius: 6px;
  }
  .contact-page__info-card { padding: 22px 16px; }
  .contact-page__submit { min-height: 48px; font-size: 14px; }
}


/* Kastone stacked logo sizing */
.site-header .header__logo img { height: 60px; }
.footer__logo { height: 64px; }
@media (max-width: 960px) { .site-header .header__logo img { height: 50px; } }
@media (max-width: 480px) { .site-header .header__logo img { height: 42px; } }
.quote-popup__field textarea { width: 100%; min-height: 104px; padding: 12px 14px; border: 1px solid #e4e4e4; border-radius: 2px; background: #fff; color: var(--ink); font-family: var(--font-body); font-size: 15px; line-height: 1.5; resize: vertical; }
.quote-popup__field textarea::placeholder { color: #9a9a9a; }
.quote-popup__field textarea:focus { outline: none; border-color: var(--brand-gold); box-shadow: 0 0 0 3px rgba(222, 85, 10, .16); }

/* Gallery page — grid uses the home "Recent projects" card styling */
.gallery-page {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
  background: var(--paper);
}
.gallery-page__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: .25rem 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
/* Gallery featured projects — header over a 1 large + 3 small mosaic */
.feature-work { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.feature-work__head { margin-bottom: 1.25rem; }
.feature-work__cat {
  display: block;
  margin-bottom: .5rem;
  font-family: var(--font-display);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand-gold);
}
.feature-work__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 .85rem;
}
.feature-work__desc {
  max-width: 600px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-700);
}
.feature-work__mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, clamp(150px, 18vw, 250px));
  gap: .75rem;
}
.feature-work__mosaic--4 .feature-work__tile:first-child { grid-row: span 2; }
.feature-work__mosaic--4 .feature-work__tile:last-child { grid-column: 2 / span 2; }
.feature-work__mosaic--2 { grid-template-columns: 1fr 1fr; }
.feature-work__mosaic--2 .feature-work__tile { grid-row: span 2; }
.feature-work__mosaic--2 .feature-work__tile img { object-position: center 35%; }
.feature-work__mosaic--3 { grid-template-columns: repeat(3, 1fr); }
.feature-work__mosaic--3 .feature-work__tile { grid-row: span 2; }
.feature-work__mosaic--3 .feature-work__tile img { object-position: center 35%; }
.feature-work__mosaic .feature-work__tile {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 2px;
  overflow: hidden;
  background: var(--ink);
  cursor: zoom-in;
}
.feature-work__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.feature-work__tile:hover img,
.feature-work__tile:focus-visible img { transform: scale(1.05); }
.feature-work__mosaic .feature-work__tile:focus-visible { outline: 3px solid var(--brand-gold); outline-offset: 3px; }
@media (max-width: 760px) {
  .feature-work__mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: .5rem; }
  .feature-work__mosaic .feature-work__tile { aspect-ratio: 4 / 3; height: auto; }
  .feature-work__mosaic--4 .feature-work__tile:first-child,
  .feature-work__mosaic--4 .feature-work__tile:last-child { grid-row: auto; grid-column: 1 / -1; }
  .feature-work__mosaic--2 .feature-work__tile { grid-row: auto; aspect-ratio: 3 / 4; }
  .feature-work__mosaic--3 .feature-work__tile { grid-row: auto; aspect-ratio: 3 / 4; }
  .feature-work__mosaic--3 .feature-work__tile:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .feature-work__tile img { transition: none; }
}

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  padding: 1rem 0;
  margin-bottom: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, .08);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.gallery-filter__label {
  margin-right: .75rem;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.gallery-filter .gallery-filter__btn {
  min-height: 38px;
  padding: .55rem 1.1rem;
  border: 1px solid #d5d5d5;
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.gallery-filter .gallery-filter__btn:hover { border-color: var(--brand-gold); color: var(--brand-gold); }
.gallery-filter .gallery-filter__btn.is-active {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  color: #fff;
}
.gallery-filter .gallery-filter__btn:focus-visible { outline: 3px solid var(--brand-gold); outline-offset: 2px; }
.gallery-grid .gallery-grid__item[hidden] { display: none; }
.gallery-grid .gallery-grid__item.is-entering { animation: galleryItemIn .45s var(--ease) both; }
@keyframes galleryItemIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 560px) {
  .gallery-filter { gap: .4rem; }
  .gallery-filter__label { width: 100%; margin: 0 0 .25rem; }
  .gallery-filter .gallery-filter__btn { padding: .5rem .8rem; font-size: .68rem; }
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.gallery-grid .gallery-grid__item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  border-radius: 2px;
  overflow: hidden;
  background: var(--ink);
  color: #fff !important;
  cursor: zoom-in;
  text-align: left;
}
.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.gallery-grid__item:hover img,
.gallery-grid__item:focus-visible img { transform: scale(1.08); }
.gallery-grid__item:focus-visible { outline: 3px solid var(--brand-gold); outline-offset: 3px; }
.gallery-grid__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .1) 50%, transparent 100%);
}
.gallery-grid__cat {
  font-family: var(--font-display);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: .35rem;
}
.gallery-grid__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}
@media (max-width: 960px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.gallery-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}
.gallery-more[hidden] { display: none; }
.gallery-more__count {
  margin: 0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.gallery-more .gallery-more__btn {
  border: 2px solid var(--ink) !important;
  font-family: var(--font-body) !important;
  font-size: .82rem !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
}
.gallery-more .gallery-more__btn:hover { background: var(--ink) !important; color: #fff !important; }
.gallery-more .gallery-more__btn[hidden] { display: none; }
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; gap: .75rem; }
}

/* Gallery lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: grid;
  place-items: center;
  padding: 72px 80px;
  background: rgba(15, 16, 17, .94);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
body.lightbox-open { overflow: hidden; }
.lightbox__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 100%;
  max-height: 100%;
}
.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 200px);
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .45);
}
.lightbox__caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  color: #fff;
  text-align: center;
}
.lightbox__count {
  font-family: var(--font-body);
  font-size: .75rem;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .6);
}
.lightbox .lightbox__close,
.lightbox .lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .3) !important;
  border-radius: 2px;
  background: transparent !important;
  color: #fff !important;
  cursor: pointer !important;
  transition: background .2s ease, border-color .2s ease;
}
.lightbox .lightbox__close { top: 20px; right: 20px; width: 44px; height: 44px; font-size: 26px; line-height: 1; }
.lightbox .lightbox__nav { top: 50%; width: 52px; height: 52px; transform: translateY(-50%); font-size: 22px; }
.lightbox .lightbox__nav--prev { left: 16px; }
.lightbox .lightbox__nav--next { right: 16px; }
.lightbox .lightbox__close:hover,
.lightbox .lightbox__nav:hover { background: var(--brand-gold); border-color: var(--brand-gold); }
@media (max-width: 640px) {
  .lightbox { padding: 64px 12px 96px; }
  .lightbox__img { max-height: calc(100vh - 240px); }
  .lightbox .lightbox__nav { top: auto; bottom: 24px; transform: none; width: 48px; height: 48px; }
  .lightbox .lightbox__nav--prev { left: calc(50% - 60px); }
  .lightbox .lightbox__nav--next { right: calc(50% - 60px); }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox, .gallery-grid__item img { transition: none; }
  .gallery-grid .gallery-grid__item.is-entering { animation: none; }
}

/* Service page portfolio grid */
.portfolio-section {
  background: var(--ink);
  padding: 4rem var(--content-inline);
  color: #fff;
}
.portfolio-inner { width: 100%; max-width: var(--container); margin: 0 auto; }
.portfolio-head { text-align: center; margin: 0 auto 2.5rem; }
.portfolio-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #fff;
}
.portfolio-head h2 em {
  font-family: var(--font-serif);
  color: var(--brand-gold);
  font-style: italic;
  font-weight: 700;
  text-transform: none;
}
.portfolio-head h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 1rem auto 0;
  background: var(--brand-gold);
}
.portfolio-grid .gallery-grid__item { background: #1c1d1f; }
.portfolio-foot { display: flex; justify-content: center; margin-top: 2.5rem; }

/* Reviews marquee — same as the homepage section */
.reviews__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.reviews__head .kicker { justify-content: center; }
.reviews__carousel { position: relative; }
.reviews__marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.reviews__track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: reviewsScroll 70s linear infinite;
}
.reviews__marquee:hover .reviews__track,
.reviews__marquee:focus-within .reviews__track { animation-play-state: paused; }
@keyframes reviewsScroll {
  0% { transform: translate(0); }
  to { transform: translate(-50%); }
}
.reviews__card {
  flex: 0 0 auto;
  width: clamp(260px, 82vw, 360px);
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--paper);
  border: 1px solid rgba(0, 0, 0, .08);
  border-top: 3px solid var(--brand-gold);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 10px 30px -18px #0000002e;
}
.reviews__stars { font-size: .9rem; letter-spacing: .2em; color: var(--brand-gold); }
.reviews__quote {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: .98rem;
  line-height: 1.55;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1 1 auto;
}
.reviews__cap {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding-top: .75rem;
  border-top: 1px solid rgba(0, 0, 0, .08);
}
.reviews__name {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}
.reviews__role {
  font-family: var(--font-body);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand-gold);
}
.reviews__foot { text-align: center; margin-top: 2.25rem; }
.reviews__link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 2px solid var(--brand-gold);
  padding-bottom: 3px;
  transition: color .25s var(--ease);
}
.reviews__link:hover { color: var(--brand-gold); }
@media (prefers-reduced-motion: reduce) {
  .reviews__track { animation: none; }
  .reviews__marquee { overflow-x: auto; scroll-snap-type: x mandatory; }
  .reviews__card { scroll-snap-align: start; }
}

/* ── Skilled Trades: Capabilities explorer ── */
.capabilities {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.capabilities__head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
  gap: 1.5rem 3rem;
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.capabilities__head .kicker { justify-content: flex-start; }
.capabilities__head .section__title { margin: 0; }
.capabilities__lede {
  margin: 0;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(15, 16, 17, 0.15);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--gray-500);
  max-width: 34ch;
}
.capabilities__layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.capabilities__aside {
  background: #fff;
  border: 1px solid rgba(15, 16, 17, 0.08);
  border-radius: 14px;
  box-shadow: 0 18px 40px -28px rgba(15, 16, 17, 0.45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.capabilities__aside-head {
  padding: 1.15rem 1.15rem 0.85rem;
  border-bottom: 1px solid rgba(15, 16, 17, 0.06);
}
.capabilities__aside-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.9rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.capabilities__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.55rem;
  height: 1.55rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--brand-gold);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
}
.capabilities__search {
  position: relative;
  display: block;
}
.capabilities__search i,
.capabilities__search svg {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--gray-500);
  pointer-events: none;
}
.capabilities__search input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(15, 16, 17, 0.12);
  border-radius: 10px;
  background: #fff;
  padding: 0.75rem 0.9rem 0.75rem 2.4rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
}
.capabilities__search input:focus {
  outline: none;
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(222, 85, 10, 0.12);
}
.capabilities__nav-wrap {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.capabilities__nav {
  display: flex;
  flex-direction: column;
  max-height: min(58vh, 560px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.capabilities__nav-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.95rem 1.1rem;
  border: 0;
  border-bottom: 1px solid rgba(15, 16, 17, 0.06);
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.capabilities__nav-item:hover { background: rgba(15, 16, 17, 0.03); }
.capabilities__nav-item.is-active {
  background: var(--ink);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--brand-gold);
}
.capabilities__nav-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand-gold);
  letter-spacing: 0.02em;
}
.capabilities__nav-item.is-active .capabilities__nav-num { color: #fff; }
.capabilities__nav-label {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
}
.capabilities__nav-chevron {
  color: rgba(15, 16, 17, 0.28);
  font-size: 1.15rem;
  line-height: 1;
}
.capabilities__nav-item.is-active .capabilities__nav-chevron { color: rgba(255, 255, 255, 0.7); }
.capabilities__scroll-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.85rem 1rem 1.05rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
}
.capabilities__scroll-hint svg { width: 14px; height: 14px; }
.capabilities__panels {
  background: #fff;
  border: 1px solid rgba(15, 16, 17, 0.08);
  border-radius: 14px;
  box-shadow: 0 18px 40px -28px rgba(15, 16, 17, 0.45);
  min-height: 640px;
}
.capabilities__panel {
  padding: clamp(1.4rem, 3vw, 2rem);
  animation: capabilitiesIn 0.35s var(--ease) both;
}
.capabilities__panel[hidden] { display: none !important; }
.capabilities__meta {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-gold);
}
.capabilities__panel-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.capabilities__panel-desc {
  margin: 0 0 1.25rem;
  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-700);
}
.capabilities__media {
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  max-width: 420px;
  background: var(--gray-100);
}
.capabilities__media img {
  width: 100%;
  height: auto;
  display: block;
}
.capabilities__covers-title {
  margin: 0 0 1rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.capabilities__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.75rem;
}
.capabilities__items li {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 0.65rem;
  align-items: baseline;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--gray-700);
}
.capabilities__code {
  font-weight: 800;
  color: var(--brand-gold);
  letter-spacing: 0.02em;
}
.capabilities__cta-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.75rem;
}
.capabilities__cta-row .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.capabilities__cta-row svg { width: 16px; height: 16px; }

@keyframes capabilitiesIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .capabilities__head {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .capabilities__lede {
    padding-left: 0;
    border-left: 0;
    max-width: 48ch;
  }
  .capabilities__layout { grid-template-columns: 1fr; }
  .capabilities__nav { max-height: 280px; }
  .capabilities__panels { min-height: 0; }
}

@media (max-width: 640px) {
  .capabilities__items { grid-template-columns: 1fr; }
  .capabilities__cta-row { justify-content: stretch; }
  .capabilities__cta-row .btn { width: 100%; justify-content: center; }
  .capabilities__media { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .capabilities__panel { animation: none; }
}
