:root {
  --prussian: #153957;
  --prussian-deep: #0b2338;
  --gold: #f4b41b;
  --white: #ffffff;
  --ink: #172330;
  --header-height: 108px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #fff;
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
}

button, a { font: inherit; }

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

.site-header {
  position: relative;
  z-index: 10;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 1rem clamp(1.25rem, 5vw, 5rem);
  background: rgba(255,255,255,.97);
  border-bottom: 3px solid var(--prussian);
  box-shadow: 0 8px 25px rgba(7, 25, 40, .08);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  background: var(--gold);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: inherit;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand img {
  width: 76px;
  height: 64px;
  object-fit: contain;
}

.brand-copy { display: grid; gap: .4rem; }

.brand-name {
  display: flex;
  gap: .28rem;
  font-family: "BankGothic Md BT", "Bank Gothic", "Eurostile", Arial, sans-serif;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.brand-name strong:first-child { color: var(--prussian); }
.brand-name strong:last-child { color: var(--gold); }

.brand-tagline {
  color: var(--prussian);
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1.15rem, 2.4vw, 2.4rem);
  color: #17212a;
  font-size: .98rem;
  font-weight: 600;
}

.primary-nav > span { white-space: nowrap; }

/* Services mega-menu */
.nav-dropdown {
  position: relative;
  white-space: nowrap;
}

.services-nav-row {
  display: flex;
  align-items: center;
  gap: .18rem;
}

.nav-link {
  color: inherit;
  text-decoration: none;
}

.services-toggle {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  color: var(--prussian);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

.services-toggle span { transition: transform .18s ease; }
.services-toggle[aria-expanded="true"] span { transform: rotate(180deg); }

.services-menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  z-index: 20;
  width: min(860px, 92vw);
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  padding: 0;
  background: #fff;
  border: 1px solid rgba(21,57,87,.12);
  border-top: 4px solid var(--gold);
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(0,23,37,.18);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.nav-dropdown:hover .services-menu,
.nav-dropdown:focus-within .services-menu,
.nav-dropdown.menu-open .services-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.mega-categories {
  padding: 10px;
  border-right: 1px solid #d9e0e4;
}

.service-category-toggle {
  width: 100%;
  text-decoration: none;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 1rem;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.service-category-toggle:hover,
.service-category-toggle:focus-visible,
.service-category-toggle.active {
  color: var(--prussian);
  background: rgba(244,180,27,.18);
  outline: none;
}

.submenu-arrow {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 1.65rem;
  line-height: 1;
}

.mega-panels {
  min-width: 0;
  padding: 12px 28px;
}

.service-submenu {
  display: none;
}

.service-submenu.active {
  display: block;
}

.service-submenu a {
  display: block;
  padding: 11px 12px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  white-space: normal;
  border-bottom: 1px solid #eef1f3;
  border-radius: 8px;
  transition: background-color .18s ease, color .18s ease;
}

.service-submenu a:last-child {
  border-bottom: 0;
}

.service-submenu a:hover,
.service-submenu a:focus-visible {
  color: var(--prussian);
  background: rgba(244,180,27,.18);
  outline: none;
}

.service-submenu strong {
  display: block;
}

.service-submenu small {
  display: block;
  margin-top: 3px;
  color: #62717e;
  font-size: .72rem;
  font-weight: 600;
}

.quote-button, .primary-action, .secondary-action {
  min-height: 48px;
  border-radius: 999px;
  padding: .75rem 1.35rem;
  cursor: pointer;
  font-weight: 750;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.quote-button {
  color: #fff;
  background: var(--prussian);
  border: 2px solid var(--prussian);
}

.quote-button:hover, .primary-action:hover { transform: translateY(-2px); background: #1e4a70; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 44px;
  padding: 9px;
  background: #fff;
  border: 1px solid rgba(21,57,87,.2);
  border-radius: 10px;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--prussian);
}


.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  height: clamp(620px, 78vh, 820px);
  overflow: hidden;
  background: var(--prussian-deep);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(3, 15, 29, 1.00) 0%,
    rgba(3, 15, 29, .97) 30%,
    rgba(3, 15, 29, .78) 44%,
    rgba(3, 15, 29, .46) 58%,
    rgba(3, 15, 29, .27) 70%,
    rgba(3, 15, 29, .18) 82%,
    rgba(3, 15, 29, .12) 100%
  );
}

.slide-machine { background-image: url("assets/front-page-cnc-image-blue-v4.png"); }

.hero-machine-video {
   
 position: absolute;
  top: 0;
  right: -20%;
  bottom: 0;
  left: auto;
  z-index: 0;
  width: 120%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  
}

.slide-apex { background-image: url("assets/apex-edge-labeled-case.png"); }
.slide-reedge { background-image: url("assets/re-edge-labeled-case.png"); }

.hero-content {
  position: relative;
  z-index: 2;
  width: min(620px, 47vw);
  margin-left: clamp(2rem, 7vw, 7rem);
  color: #fff;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3.2rem, 5.4vw, 5.5rem);
  line-height: .96;
  letter-spacing: -.045em;
}

.hero h1 span { color: #fff; }

.hero-description {
  max-width: 590px;
  margin: 1.45rem 0 0;
  color: rgba(255,255,255,.88);
  font-size: 1.04rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2rem;
}

.hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .8rem 1.25rem;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.hero-actions .primary-action {
  color: var(--prussian-deep);
  background: var(--gold);
  border: 1px solid var(--gold);
}

.hero-actions .secondary-action {
  color: #fff;
  background: rgba(5,35,52,.34);
  border: 1px solid rgba(255,255,255,.72);
}

.slider-controls {
  position: absolute;
  right: 5vw;
  bottom: 28px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
}

.slider-dot {
  width: 42px;
  height: 4px;
  padding: 0;
  border: 0;
  background: rgba(255,255,255,.44);
  cursor: pointer;
}

.slider-dot.active { background: var(--gold); }

.slider-pause {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  background: rgba(4,31,45,.55);
  color: #fff;
  cursor: pointer;
}

@media (max-width: 980px) {
  /* Mobile navigation */
  .site-header {
    gap: .9rem;
    padding-left: 1.25rem;
    padding-right: 1.75rem;
  }

  .brand {
    gap: .65rem;
    min-width: 0;
  }

  .brand img {
    width: 52px;
    height: 44px;
  }

  .brand-copy {
    gap: .22rem;
    min-width: 0;
  }

  .brand-name {
    font-size: clamp(1.35rem, 5vw, 1.7rem);
    white-space: nowrap;
  }

  .brand-tagline {
    display: block;
    font-size: .56rem;
    letter-spacing: .10em;
    white-space: nowrap;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
    margin-left: auto;
    margin-right: .15rem;
    cursor: pointer;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
    max-height: calc(100vh - var(--header-height));
    display: none;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 1.35rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    border-bottom: 3px solid var(--prussian);
    box-shadow: 0 14px 30px rgba(3,15,29,.18);
  }

  .primary-nav.open { display: grid; }

  .primary-nav > span {
    width: 100%;
    padding: .9rem .25rem;
    border-bottom: 1px solid #e5e9ec;
  }

  .nav-dropdown {
    width: 100%;
    white-space: normal;
    border-bottom: 1px solid #e5e9ec;
  }

  .services-nav-row {
    width: 100%;
    justify-content: space-between;
  }

  .services-link {
    flex: 1;
    padding: .9rem .25rem;
  }

  .services-toggle {
    width: 44px;
    height: 44px;
  }

  .services-menu {
    position: static;
    width: 100%;
    display: none;
    grid-template-columns: 1fr;
    margin-top: .35rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    border-radius: 8px;
    box-shadow: none;
  }

  .nav-dropdown.menu-open .services-menu {
    display: grid;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .mega-categories {
    border-right: 0;
    border-bottom: 1px solid #d9e0e4;
  }

  .mega-panels { padding: 12px 18px; }

  .quote-button {
    width: 100%;
    margin-top: 1rem;
  }

  .hero {
    min-height: 720px;
    height: auto;
  }

  .hero-slide {
    align-items: flex-start;
    padding-top: 90px;
    background-position: 65% center;
  }

  .hero-slide::before {
    background: linear-gradient(180deg, rgba(3,24,38,.95) 0%, rgba(3,24,38,.76) 60%, rgba(3,24,38,.42) 100%);
  }

  .hero-content {
    width: min(560px, calc(100% - 2.5rem));
    margin-left: 1.25rem;
  }

  .hero h1 { font-size: clamp(3rem, 10vw, 4.5rem); }
}

@media (max-width: 620px) {
  .hero { min-height: 760px; }
  .hero-slide { padding-top: 70px; }
  .hero-content { width: calc(100% - 2rem); margin-left: 1rem; }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 3.6rem); }
  .hero-description { font-size: .96rem; line-height: 1.5; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions a { width: 100%; }
  .slider-controls { right: 18px; bottom: 22px; }
}
/* Service and reconditioning program sections */
.content-section {
  scroll-margin-top: calc(var(--header-height) + 24px);
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1.25rem, 6vw, 6.5rem);
}

.section-head {
  max-width: 780px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-kicker {
  color: #9b6500;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.content-section h2 {
  margin: .75rem 0 1rem;
  color: var(--prussian);
  font-size: clamp(2.25rem, 4.5vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.section-head p {
  margin: 0;
  color: #506171;
  font-size: 1.08rem;
  line-height: 1.65;
}

.program-section {
  background: #fff;
}

.program-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  width: min(1250px, 100%);
  margin: 0 auto;
}

.program-card {
  scroll-margin-top: calc(var(--header-height) + 28px);
  padding: 2.1rem 1.85rem;
  background: #fff;
  border: 1px solid #e0e6e9;
  border-top: 5px solid var(--gold);
  border-radius: 13px;
  box-shadow: 0 10px 25px rgba(11,42,59,.08);
}

.program-card:target {
  background: linear-gradient(135deg, rgba(244,180,27,.13), #fff 52%);
  box-shadow: 0 12px 34px rgba(11,42,59,.14);
}

.program-card h3 {
  margin: 0 0 .5rem;
  color: var(--prussian);
  font-size: 1.65rem;
}

.program-tagline {
  margin-bottom: 1.1rem;
  color: #9b6500;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.program-card p {
  margin: 0;
  color: #526270;
  line-height: 1.62;
}

.drill-section-head {
  margin-top: 4.5rem;
}

.services-section {
  background: #eef4f5;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.1rem;
  width: min(1250px, 100%);
  margin: 0 auto;
}

.service-tile {
  scroll-margin-top: calc(var(--header-height) + 28px);
  min-height: 190px;
  padding: 1.75rem 1.5rem;
  color: #fff;
  text-decoration: none;
  background: var(--prussian);
  border-radius: 11px;
  transition: transform .18s ease, background-color .18s ease;
}

.service-tile:hover,
.service-tile:focus-visible,
.service-tile:target {
  transform: translateY(-4px);
  background: #1e4a70;
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.service-tile b {
  display: block;
  margin-bottom: .7rem;
  font-size: 1.23rem;
}

.service-tile span {
  color: #d9e8ed;
  font-size: .9rem;
  line-height: 1.5;
}

@media (max-width: 1050px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 840px) {
  .program-cards { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .content-section { padding: 3.8rem 1rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-tile { min-height: 0; }
}


@media (max-width: 420px) {
  .site-header {
    padding-left: 1rem;
    padding-right: 1.35rem;
  }

  .brand {
    gap: .5rem;
  }

  .brand img {
    width: 46px;
    height: 40px;
  }

  .brand-name {
    font-size: 1.22rem;
    gap: .2rem;
  }

  .brand-tagline {
    font-size: .50rem;
    letter-spacing: .08em;
  }

  .menu-toggle {
    width: 44px;
    height: 42px;
    margin-right: .1rem;
  }
}


/* Hero refinement — production revision 20260914-01 */
.hero-content { width: min(600px, 45vw); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--gold);
}

.hero h1 { max-width: 590px; }
.hero-description { max-width: 560px; }
.hero-actions { gap: .8rem; }

.hero-actions a {
  min-width: 168px;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.hero-actions .primary-action { box-shadow: 0 8px 22px rgba(0,0,0,.16); }
.hero-actions .primary-action:hover,
.hero-actions .primary-action:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 11px 26px rgba(0,0,0,.22);
  outline: none;
}
.hero-actions .secondary-action {
  background: rgba(3,15,29,.18);
  border-color: rgba(255,255,255,.66);
}
.hero-actions .secondary-action:hover,
.hero-actions .secondary-action:focus-visible {
  transform: translateY(-2px);
  background: rgba(255,255,255,.10);
  border-color: #fff;
  outline: none;
}
.action-arrow {
  margin-left: .45rem;
  font-size: 1.08em;
  transition: transform .18s ease;
}
.secondary-action:hover .action-arrow,
.secondary-action:focus-visible .action-arrow { transform: translateX(3px); }

.slider-controls { gap: 8px; }
.slider-dot { width: 28px; height: 3px; border-radius: 999px; }
.slider-pause {
  width: 30px;
  height: 30px;
  margin-left: 3px;
  font-size: .78rem;
  background: rgba(3,15,29,.42);
}

.slide-machine { background-position: 68% center; }
.slide-apex { background-position: 66% center; }
.slide-reedge { background-position: 66% center; }


@media (max-width: 980px) {
  .hero-content { width: min(560px, calc(100% - 3rem)); }
  .hero h1 { font-size: clamp(2.8rem, 9vw, 4.15rem); }
  .slide-machine, .slide-apex, .slide-reedge { background-position: 68% center; }

}

@media (max-width: 620px) {
  .eyebrow { gap: .55rem; font-size: .72rem; letter-spacing: .13em; }
  .eyebrow::before { width: 28px; }
  .hero h1 { font-size: clamp(2.55rem, 12vw, 3.35rem); }
  .hero-description { max-width: 100%; }
  .slider-dot { width: 22px; }

}


/* Services refinement — production revision 20260914-02 */
.services-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #f5f8f9 0%, #edf3f5 100%);
}

.services-section::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--gold), rgba(244,180,27,.18));
}

.services-heading {
  max-width: 840px;
  margin-bottom: 3.35rem;
}

.services-heading .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}

.services-heading .section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
  width: min(1250px, 100%);
  margin: 0 auto;
}

.service-tile {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 1.65rem 1.65rem 1.45rem;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background:
    linear-gradient(145deg, rgba(255,255,255,.035), transparent 44%),
    linear-gradient(145deg, #173f60 0%, #0b2338 100%);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(11,35,56,.10);
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease,
    background .22s ease;
}

.service-tile:nth-child(-n+3) { grid-column: span 4; }
.service-tile:nth-child(n+4) { grid-column: span 6; }

.service-tile::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -48px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(244,180,27,.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgba(244,180,27,.035),
    0 0 0 56px rgba(244,180,27,.022);
  transition: transform .28s ease, border-color .28s ease;
}

.service-tile:hover,
.service-tile:focus-visible,
.service-tile:target {
  transform: translateY(-5px);
  background:
    linear-gradient(145deg, rgba(255,255,255,.055), transparent 44%),
    linear-gradient(145deg, #1b486d 0%, #0b2338 100%);
  border-color: rgba(244,180,27,.55);
  box-shadow: 0 20px 42px rgba(11,35,56,.16);
  outline: none;
}

.service-tile:hover::after,
.service-tile:focus-visible::after,
.service-tile:target::after {
  transform: scale(1.06);
  border-color: rgba(244,180,27,.28);
}


.service-accent {
  width: 42px;
  height: 3px;
  margin-bottom: 1.2rem;
  border-radius: 999px;
  background: var(--gold);
  transition: width .22s ease;
}

.service-tile:hover .service-accent,
.service-tile:focus-visible .service-accent {
  width: 66px;
}

.service-tile b {
  display: block;
  max-width: 430px;
  margin: 0 0 .8rem;
  color: #fff;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.16;
  letter-spacing: -.015em;
}

.service-tile .service-copy {
  display: block;
  max-width: 520px;
  margin: 0;
  color: #d4e2e9;
  font-size: .92rem;
  line-height: 1.62;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  margin-top: auto;
  padding-top: 1.35rem;
  color: #fff;
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.service-link span {
  color: var(--gold);
  font-size: 1.05rem;
  transition: transform .18s ease;
}

.service-tile:hover .service-link span,
.service-tile:focus-visible .service-link span {
  transform: translateX(4px);
}

@media (max-width: 1050px) {
  .service-tile:nth-child(n) {
    grid-column: span 6;
  }

  .service-tile:last-child {
    grid-column: 4 / span 6;
  }
}

@media (max-width: 700px) {
  .services-section::before {
    width: 3px;
  }

  .services-heading {
    margin-bottom: 2.4rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: .95rem;
  }

  .service-tile:nth-child(n),
  .service-tile:last-child {
    grid-column: 1;
  }

  .service-tile {
    min-height: 235px;
    padding: 1.45rem 1.3rem 1.25rem;
  }

  .service-tile b {
    font-size: 1.36rem;
  }
}


/* Service title accent alignment — production revision 20260914-04 */
.service-title-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .75rem;
  width: 100%;
  margin: 0 0 1.25rem;
  text-align: right;
}

.service-title-row .service-accent {
  flex: 0 0 auto;
  width: 42px;
  height: 3px;
  margin: 0;
  border-radius: 999px;
  background: var(--gold);
  transform-origin: right center;
  transition: width .24s ease, box-shadow .24s ease;
}

.service-title-row b {
  width: auto;
  max-width: calc(100% - 58px);
  margin: 0;
  text-align: right;
}

.service-tile:hover .service-title-row .service-accent,
.service-tile:focus-visible .service-title-row .service-accent {
  width: 66px;
  box-shadow: 0 0 12px rgba(244,180,27,.20);
}

@media (max-width: 700px) {
  .service-title-row {
    gap: .6rem;
    margin-bottom: 1.05rem;
  }

  .service-title-row .service-accent {
    width: 32px;
  }

  .service-tile:hover .service-title-row .service-accent,
  .service-tile:focus-visible .service-title-row .service-accent {
    width: 48px;
  }

  .service-title-row b {
    max-width: calc(100% - 44px);
  }
}


/* Reusable feature explainer */
.feature-explainer {
  background: #fff;
}

.feature-explainer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: min(1250px, 100%);
  margin: 0 auto;
}

.feature-explainer-copy h2 {
  max-width: 760px;
  margin: .75rem 0 1.35rem;
}

.feature-explainer-copy p {
  max-width: 760px;
  margin: 0 0 1rem;
  color: #506171;
  font-size: 1.04rem;
  line-height: 1.7;
}

.feature-explainer-box {
  padding: clamp(1.8rem, 3vw, 2.5rem);
  color: #fff;
  background: linear-gradient(145deg, #173f60 0%, #0b2338 100%);
  border-top: 5px solid var(--gold);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(11,35,56,.14);
}

.feature-explainer-box h3 {
  margin: 0 0 1.35rem;
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.2;
}

.feature-explainer-box ul {
  margin: 0;
  padding-left: 1.2rem;
}

.feature-explainer-box li {
  margin: 0 0 .8rem;
  color: #d9e8ed;
  line-height: 1.55;
}

.feature-explainer-box li::marker {
  color: var(--gold);
}

@media (max-width: 840px) {
  .feature-explainer-grid {
    grid-template-columns: 1fr;
  }
}


/* Latest Shane quote component styles, filtered to quote UI only */
.quote-pill{padding:15px 25px!important;border-radius:999px;background:var(--navy)!important;color:#fff!important;transition:.2s}
.quote-pill:hover,.quote-pill:focus-visible{background:var(--gold)!important;color:var(--navy)!important}
.quote{background:linear-gradient(120deg,var(--navy),#086f71);color:#fff;text-align:center}
.quote h2{color:#fff}
.quote>p{max-width:720px;margin:0 auto 28px;font-size:19px;line-height:1.55}
.pricing-shell{max-width:1180px;margin:54px auto 0;border-radius:18px;background:#fff;color:var(--ink);box-shadow:0 22px 55px rgba(0,20,33,.28);overflow:hidden;text-align:left}
.pricing-head{display:grid;grid-template-columns:230px 1fr;gap:34px;align-items:center;padding:30px 34px;border-bottom:4px solid var(--gold);background:#f7fafb}
.pricing-logo{display:block;width:100%;height:auto}
.pricing-head h3{margin:0 0 8px;color:var(--navy);font-size:30px}
.pricing-head p{margin:0;color:#566978;font-size:16px;line-height:1.5}
.estimate-badge{display:inline-block;margin-top:11px;padding:6px 10px;border-radius:999px;background:var(--cream);color:#805400;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.pricing-body{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(310px,.75fr)}
.pricing-form{padding:34px}
.pricing-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.pricing-field{display:flex;flex-direction:column;gap:7px}
.pricing-field.full{grid-column:1/-1}
.pricing-field label{color:var(--navy);font-size:13px;font-weight:900}
.pricing-field select,.pricing-field input{width:100%;min-height:48px;padding:11px 13px;border:1px solid #acbbc4;border-radius:8px;background:#fff;color:var(--ink);font-size:16px}
.pricing-field select:focus,.pricing-field input:focus{border-color:var(--teal);outline:3px solid rgba(8,127,123,.16)}
.pricing-note{grid-column:1/-1;margin:2px 0 0;padding:13px 15px;border-left:4px solid var(--gold);border-radius:5px;background:#fff8e8;color:#5c6570;font-size:13px;line-height:1.5}
.estimate{display:flex;flex-direction:column;padding:34px;background:var(--deep);color:#fff}
.estimate .kicker{color:var(--gold)}
.estimate h3{margin:9px 0 5px;font-size:26px}
.estimate-program{margin:0 0 25px;color:#bfd0d9;font-size:14px;line-height:1.45}
.estimate-row{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.14);font-size:14px}
.estimate-row strong{text-align:right}
.estimate-row.savings strong{color:#76ddd1}
.estimate-total{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;padding:24px 0 7px}
.estimate-total span{font-weight:900}
.estimate-total strong{color:var(--gold);font-size:38px;line-height:1}
.estimate-small{margin:4px 0 22px;color:#afc1ca;font-size:11px;line-height:1.45}
.estimate .btn{width:100%;margin-top:auto}
.estimate-reset{margin-top:12px;border:0;background:none;color:#c8d6dd;text-decoration:underline;cursor:pointer}
.estimate-reset:hover,.estimate-reset:focus-visible{color:#fff;outline:none}
.pricing-disclaimer{padding:17px 34px;background:#edf3f5;color:#5c6c77;font-size:12px;line-height:1.5;text-align:center}
.modal{position:fixed;inset:0;z-index:100;display:none;place-items:center;padding:20px;background:rgba(0,16,27,.75)}
.modal.open{display:grid}
.modal-card{width:min(560px,100%);padding:30px;border-radius:14px;background:#fff;box-shadow:var(--shadow)}
.modal-head{display:flex;align-items:start;justify-content:space-between}
.modal h2{margin:0;color:var(--navy)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:24px}
.field{display:flex;flex-direction:column;gap:6px}
.field.full{grid-column:1/-1}
.field label{font-size:13px;font-weight:800}
.field input,.field select,.field textarea{width:100%;padding:12px;border:1px solid #b9c5cb;border-radius:7px}
.field textarea{min-height:95px;resize:vertical}
@media(max-width:1000px){.pricing-body{grid-template-columns:1fr}.pricing-head{grid-template-columns:190px 1fr}}
@media(max-width:780px){.quote-pill{text-align:center!important;margin-top:8px}.form-grid,.pricing-grid{grid-template-columns:1fr}.field.full,.pricing-field.full{grid-column:auto}.pricing-head{grid-template-columns:1fr;padding:25px}.pricing-logo{width:230px}.pricing-form,.estimate{padding:25px}.estimate-total strong{font-size:34px}.pricing-disclaimer{padding:16px 22px}}
.quote-list{padding:30px;color:var(--navy)}
.quote-list h3{font-size:27px;margin:0 0 12px}
.quote-table-wrap{overflow-x:auto}
.quote-list table{width:100%;border-collapse:collapse;min-width:650px;text-align:left}
.quote-list th,.quote-list td{padding:13px 9px;border-bottom:1px solid var(--line);font-size:14px}
.quote-list small{display:block;margin-top:5px;color:#566978}
.quote-list button{cursor:pointer}
.line-action{background:#edf3f5;color:var(--navy);border:0;border-radius:5px;padding:8px;margin:2px}
.list-total{text-align:right;font-size:24px;font-weight:bold}
.quote-list input{padding:12px;border:1px solid #acbbc4;border-radius:7px;width:100%;font:inherit}
.workflow-status{background:var(--cream);padding:16px;margin:15px 0;line-height:1.5}
.quote-list button:disabled{opacity:.45;cursor:not-allowed}
.quote-list details{margin-top:22px;padding:16px;border:1px dashed #acbbc4}
.quote-list summary{cursor:pointer;font-weight:bold}
.modal-card{max-height:90vh;overflow:auto}
.quote-intro{margin:6px 0 0!important}
.quote-heading h3{margin-bottom:0!important}
#blankLength-field,#coatingChoice-field{grid-column:2}
#workpiece-field{grid-column:2}
@media(max-width:780px){#blankLength-field,#coatingChoice-field,#workpiece-field{grid-column:1}}
.quote-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.customer-pin{width:235px;max-width:100%;font-size:13px}
.customer-pin label{display:block;font-weight:bold;margin-bottom:6px}
.customer-pin>div{display:flex;gap:6px}
.customer-pin input{width:140px;min-width:0;min-height:38px;border:1px solid #a9b8c4;border-radius:6px;padding:6px}
.customer-pin button{border:0;border-radius:6px;background:var(--navy);color:white;padding:8px;cursor:pointer}
.customer-pin small{display:block;margin-top:6px;line-height:1.4}
@media(max-width:780px){.quote-heading{flex-direction:column}}
.quote-mode{display:grid;grid-template-columns:1fr 1fr;gap:18px;border:0;padding:0;margin:0 0 24px;min-width:0}
.quote-mode label{display:flex;align-items:center;gap:9px;padding:14px 10px;background:#edf3f5;border-radius:8px;font-weight:bold;color:var(--navy);cursor:pointer;font-size:15px}
.quote-mode input{width:18px;height:18px;flex-shrink:0;accent-color:var(--teal)}
.quote-mode label:focus-within{outline:2px solid var(--teal)}
.pricing-field[hidden]{display:none}
.pricing-field textarea{font:inherit;min-height:88px;border:1px solid #acbbc4;border-radius:8px;padding:12px;width:100%}
.tool-details{margin-top:20px}
.tool-details summary{cursor:pointer;font-weight:bold;color:var(--navy);padding:10px 0}
.tool-details p{font-size:13px;color:#566978}
.quote-totals{max-width:500px;margin-left:auto}
.quote-totals p{display:flex;justify-content:space-between;gap:20px}
.quote-list{color:var(--ink)}
#build-a-quote{scroll-margin-top:20px}
.estimate button:disabled{opacity:.5;cursor:not-allowed}
.pricing-form{min-width:0}
.pricing-field{min-width:0}
.quote-table-wrap td{overflow-wrap:anywhere}
.quote-table-wrap td:nth-child(2){min-width:200px;max-width:440px}
@media(max-width:780px){.pricing-head h3{font-size:26px}.quote-list{padding:22px}.quote-totals p{font-size:15px}}
#quote-print-sheet{display:none}
.quote-identity{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:16px 0;color:#123652}
.quote-identity small{font-size:12px}
.print-help{font-size:13px;color:#526576}
@media print{@page{size:letter portrait;margin:14mm 15mm}body>*:not(#quote-print-sheet){display:none!important}#quote-print-sheet{display:block!important;font:10pt Arial,sans-serif;width:100%;max-width:100%;padding-right:2mm;overflow:visible;overflow-wrap:anywhere}#quote-print-sheet *{box-sizing:border-box}.print-head{display:flex;justify-content:space-between;align-items:center;border-bottom:3px solid #d9a531;padding-bottom:16px}.print-head img{width:220px;max-height:80px;object-fit:contain}.print-head>div{text-align:right}.print-head h1{font-size:20pt;color:#123652;margin:0 0 8px}.print-head p{margin:5px 0}.print-contact{padding:12px 0;line-height:1.6;font-size:9pt}.print-parties{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin:14px 0 20px}.print-parties section{line-height:1.6}#quote-print-sheet h2{font-size:10pt;text-transform:uppercase;color:#087f7b;margin:0 0 8px}.print-address{white-space:pre-wrap;overflow-wrap:anywhere}.print-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:8pt}.print-table th{background:#123652!important;color:white!important;print-color-adjust:exact;padding:8px 5px;text-align:right}.print-table th:nth-child(1){width:4%}.print-table th:nth-child(2){width:38%;text-align:left}.print-table th:nth-child(3){width:6%}.print-table td{padding:9px 5px;border-bottom:1px solid #dbe3e8;vertical-align:top;text-align:right;overflow-wrap:anywhere}.print-table td:nth-child(2){text-align:left}.print-table tr.print-savings td{text-align:right}.print-table tr.print-savings td:first-child{text-align:left}.print-table th{overflow-wrap:anywhere}.print-head>div,.print-parties section{min-width:0}.print-table thead{display:table-header-group}.print-table tr{break-inside:avoid}.print-detail{font-size:7.5pt;color:#44596c;line-height:1.5;margin-top:5px}.print-summary{margin:18px 0 18px auto;width:55%;break-inside:avoid}.print-summary p{display:flex;justify-content:space-between;gap:20px}.print-grand{border-top:2px solid #123652;padding-top:12px;font-size:14pt}.print-notes{font-size:8pt;line-height:1.5;break-inside:avoid}#quote-print-sheet footer{border-top:1px solid #dbe3e8;margin-top:22px;padding-top:8px;font-size:8pt;color:#526576}}
.ct-contact-details{font-style:normal;font-size:15px;line-height:1.7;margin:14px 0}
.ct-contact-details a{color:inherit;text-decoration:underline}
.quote-mode{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:780px){.quote-mode{grid-template-columns:1fr}}
#insertDimensions-field{grid-column:1/-1}
.quote-step{min-width:0;margin:0 0 24px;padding:20px;border:1px solid #15958e;border-radius:12px;background:#fff;box-shadow:0 2px 8px rgba(8,127,123,.04)}
.quote-step>legend{padding:0 9px;color:#123652;font-size:15px;font-weight:800;letter-spacing:0}
.quote-step .quote-mode{border:0;padding:0;margin:0;min-width:0}
.quote-step .tool-details{border:0;margin:0;padding:0}
.quote-step .pricing-grid{gap:18px}
.quote-step .tool-details>summary{margin-bottom:16px}
.quote-step .pricing-field{min-width:0}
.quote-step input,.quote-step select,.quote-step textarea{max-width:100%;box-sizing:border-box}
@media(max-width:650px){.quote-step{padding:16px 12px}.quote-step .pricing-grid{grid-template-columns:minmax(0,1fr)}.quote-step>legend{font-size:14px}}
@media print{.print-savings-group,.print-savings-group tr,.print-savings-group td{break-inside:avoid!important;page-break-inside:avoid!important}.print-savings-group{break-before:auto;break-after:avoid;page-break-after:avoid}.print-savings-group td{padding-top:12px;padding-bottom:12px;line-height:1.5;white-space:normal}.print-savings-group strong{display:inline-block;white-space:nowrap}.print-table{overflow:visible}.print-table tr{page-break-inside:avoid}.print-summary{page-break-inside:avoid}}
@keyframes quote-glow{0%,100%{box-shadow:0 0 0 0 rgba(217,165,49,0)}50%{box-shadow:0 0 0 6px rgba(217,165,49,.22),0 0 20px rgba(217,165,49,.22)}}
#add-line:not(:disabled){animation:quote-glow 3.5s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){#add-line:not(:disabled){animation:none;outline:2px solid #d9a531;outline-offset:3px}}
.quote-heading{display:block}
.quote-step .customer-pin{width:100%;max-width:none;min-width:0}
.customer-step-help{font-size:13px;color:#526576;margin:12px 0 0}
.quote-step .customer-pin>div{display:flex;gap:10px}
.quote-step .customer-pin input{min-width:0;flex:1}
#workpiece-field,#cuttingApplication-field,#coatingChoice-field{grid-column:1/-1}
.unit-radios{margin:0 0 22px;padding:12px;border:0;border-bottom:1px solid #b8d9d6;text-align:center}
.unit-radios legend{float:none;margin:auto;color:#123652;font-size:13px;font-weight:700}
.unit-radios label,.scope-radios label{display:inline-flex;align-items:center;gap:7px;margin:5px 12px;color:#123652;font-size:14px}
.unit-radios input[type=radio],.scope-radios input[type=radio]{width:17px!important;height:17px!important;min-height:0!important;padding:0!important;accent-color:#087f7b}
.scope-radios{margin:8px 0 0;padding:8px;border:1px solid #b8d9d6;border-radius:8px}
.scope-radios legend{font-size:12px;padding:0 4px}
.scope-radios label{margin:5px 0;font-size:12px;display:flex}
.pricing-shell{overflow:visible}
.pricing-head{border-radius:18px 18px 0 0}
.pricing-disclaimer{border-radius:0 0 18px 18px}
.unit-radios{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 18px;margin:0 0 16px;padding:8px 0 12px}
.unit-radios .units-caption{font-size:13px;font-weight:800;color:var(--navy)}
.unit-radios label{margin:0;white-space:nowrap}
.scope-radios{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:8px}
.scope-radios label{display:inline-flex;margin:0;white-space:nowrap}
@media screen and (min-width:1001px){.pricing-body>.estimate{position:sticky;top:12px;align-self:start;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;scrollbar-gutter:stable;box-sizing:border-box}.pricing-body>.estimate>*{flex-shrink:0}}
@media screen and (max-width:1000px){.pricing-body>.estimate{position:static;max-height:none;overflow:visible}}

/* Quote integration — inherits CuttingTech master visual system */
.primary-nav > .nav-link { color: inherit; text-decoration:none; white-space:nowrap; transition:color .18s ease; }
.primary-nav > .nav-link:hover,.primary-nav > .nav-link:focus-visible { color:var(--gold); outline:none; }
.quote-button { display:inline-flex; align-items:center; justify-content:center; color:#fff; text-decoration:none; background:var(--prussian); border:0; border-radius:999px; padding:.8rem 1.25rem; font-weight:700; cursor:pointer; transition:background-color .18s ease,color .18s ease,transform .18s ease; }
.quote-button:hover,.quote-button:focus-visible { background:var(--gold); color:var(--prussian-deep); outline:none; transform:translateY(-1px); }
.quote-system-section { background:linear-gradient(135deg,var(--prussian-deep),var(--prussian)); padding-top:clamp(4rem,7vw,6rem); }
.quote-section-heading { max-width:1180px; margin:0 auto 1.6rem; color:#fff; }
.quote-section-heading h2 { color:#fff; margin:.35rem 0 .55rem; font-size:clamp(2rem,4vw,3.2rem); }
.quote-section-heading p { max-width:760px; margin:0; color:rgba(255,255,255,.86); line-height:1.65; }
.quote-system-section .section-kicker { color:var(--gold); }
#build-a-quote.pricing-shell { max-width:1180px; margin:0 auto; border:1px solid rgba(255,255,255,.55); border-radius:16px; overflow:visible; background:#fff; box-shadow:0 22px 55px rgba(0,0,0,.22); font-family:inherit; }
#build-a-quote .pricing-head { background:var(--prussian); border-bottom:3px solid var(--gold); }
#build-a-quote .pricing-head h3,#build-a-quote .pricing-head p { color:#fff; }
#build-a-quote .pricing-logo { width:78px; height:68px; object-fit:contain; }
#build-a-quote .estimate { background:var(--prussian-deep); }
#build-a-quote .estimate h4,#build-a-quote .estimate strong,#build-a-quote .estimate p { color:#fff; }
#build-a-quote .kicker,#build-a-quote .estimate .kicker { color:var(--gold); }
#build-a-quote button:not(.line-action),#build-a-quote .btn { font-family:inherit; }
#build-a-quote .quote-step { border-color:rgba(21,57,87,.28); box-shadow:0 2px 8px rgba(21,57,87,.05); }
#build-a-quote .quote-step>legend,#build-a-quote .pricing-field label,#build-a-quote .unit-radios legend { color:var(--prussian); }
#build-a-quote input:focus,#build-a-quote select:focus,#build-a-quote textarea:focus { outline:2px solid rgba(244,180,27,.55); border-color:var(--gold); }
#build-a-quote .quote-mode input { accent-color:var(--prussian); }
#build-a-quote .quote-mode label:focus-within { outline-color:var(--gold); }
#build-a-quote #add-line:not(:disabled) { animation:quote-glow 3.5s ease-in-out infinite; }
@keyframes quote-glow { 0%,100%{box-shadow:0 0 0 0 rgba(244,180,27,0)} 50%{box-shadow:0 0 0 6px rgba(244,180,27,.18),0 0 20px rgba(244,180,27,.2)} }
.contact-section { background:#fff; }
.contact-panel { max-width:1180px; margin:0 auto; display:grid; grid-template-columns:1.35fr .65fr; gap:clamp(2rem,6vw,5rem); padding:clamp(2rem,4vw,3.5rem); border-radius:16px; background:var(--prussian-deep); color:#fff; box-shadow:0 18px 45px rgba(11,35,56,.16); }
.contact-panel h2 { color:#fff; margin:.4rem 0 1rem; font-size:clamp(2rem,4vw,3rem); }
.contact-panel p { color:rgba(255,255,255,.82); line-height:1.7; }
.contact-panel address { align-self:center; padding-left:2rem; border-left:3px solid var(--gold); font-style:normal; line-height:1.8; }
.contact-panel a { color:#fff; text-decoration-color:var(--gold); text-underline-offset:3px; }
@media(max-width:980px){ .primary-nav > .nav-link{display:block;width:100%;padding:.8rem 0;} .contact-panel{grid-template-columns:1fr}.contact-panel address{padding-left:0;padding-top:1.5rem;border-left:0;border-top:3px solid var(--gold)} }

/* Production refinement — 20260916-05 */
html { scroll-behavior: smooth; }

/* Compact service cards: preserve 3 + 2 balance and approved visual effects. */
.services-section .service-grid { gap: 1rem; }
.services-section .service-tile {
  min-height: 0;
  padding: 1.35rem 1.45rem 1.4rem;
}
.services-section .service-title-row { margin-bottom: .85rem; }
.services-section .service-tile b { font-size: clamp(1.18rem, 1.7vw, 1.48rem); }
.services-section .service-tile .service-copy { line-height: 1.52; }
.services-section .service-link { display: none; }
@media (max-width: 700px) {
  .services-section .service-tile { min-height: 0; padding: 1.2rem 1.2rem 1.25rem; }
}

/* Quote brand uses the approved white icon with the site's existing typography/colors. */
#build-a-quote .pricing-head { grid-template-columns: 230px 1fr; }
#build-a-quote .quote-brand { display:flex; align-items:center; gap:.75rem; min-width:0; }
#build-a-quote .pricing-logo { width:58px; height:58px; flex:0 0 auto; }
#build-a-quote .quote-brand-copy { min-width:0; line-height:1; }
#build-a-quote .quote-brand-name { color:#fff; font-family:inherit; font-size:1.12rem; font-weight:800; letter-spacing:.025em; white-space:nowrap; }
#build-a-quote .quote-brand-name strong { color:var(--gold); font:inherit; }
#build-a-quote .quote-brand-slogan { margin-top:.35rem; color:rgba(255,255,255,.68); font-family:inherit; font-size:.68rem; letter-spacing:.02em; white-space:nowrap; }
@media (max-width:780px) {
  #build-a-quote .pricing-head { grid-template-columns:1fr; }
  #build-a-quote .quote-brand { margin-bottom:.4rem; }
}

/* One discreet return link per primary menu section. */
.section-home { width:min(1250px,100%); margin:1.7rem auto 0; text-align:right; }
.section-home a { display:inline-flex; align-items:center; gap:.3rem; color:var(--prussian); text-decoration:none; font-size:.78rem; font-weight:750; letter-spacing:.035em; transition:color .18s ease, transform .18s ease; }
.section-home a:hover,.section-home a:focus-visible { color:var(--gold); transform:translateY(-1px); outline:none; }
.section-home-on-dark a { color:rgba(255,255,255,.78); }
.section-home-on-dark a:hover,.section-home-on-dark a:focus-visible { color:var(--gold); }
.contact-section .section-home { max-width:1180px; }

/* Navigation return target — 20260916-06 */
#site-navigation { scroll-margin-top: 0; }

/* Brighter quote steps and primary actions, using the site gold/navy palette. */
#build-a-quote .quote-step {
  border-color: var(--gold);
  box-shadow: 0 2px 8px rgba(244,180,27,.10);
}
#build-a-quote #add-line,
#build-a-quote #list-submit {
  background: var(--gold);
  color: var(--prussian-deep);
  border: 2px solid var(--gold);
  border-radius: 10px;
  font-weight: 800;
  line-height: 1.3;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(244,180,27,.28);
  transition: background-color .18s ease, box-shadow .18s ease;
}
#build-a-quote #add-line { padding: 15px 18px; font-size: 16px; }
#build-a-quote #list-submit {
  padding: 18px 30px;
  min-height: 60px;
  min-width: 220px;
  max-width: 100%;
  font-size: 19px;
}
#build-a-quote #add-line:hover:not(:disabled),
#build-a-quote #list-submit:hover:not(:disabled) {
  background: #ffcc52;
  box-shadow: 0 5px 18px rgba(244,180,27,.40);
}
#build-a-quote #add-line:focus-visible,
#build-a-quote #list-submit:focus-visible {
  outline: 3px solid var(--prussian);
  outline-offset: 3px;
}
#build-a-quote #add-line:focus-visible { outline-color: #fff; }
#build-a-quote #add-line:disabled,
#build-a-quote #list-submit:disabled {
  opacity: .5;
  box-shadow: none;
  cursor: not-allowed;
}
@media (prefers-reduced-motion: reduce) {
  #build-a-quote #add-line:not(:disabled) { animation: none; }
}

/* Customer access and animated Build a Quote introduction. */
#build-a-quote #apply-pin { display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:88px;min-height:46px;padding:10px 20px;background:var(--gold);color:var(--prussian-deep);border:2px solid var(--gold);border-radius:8px;font-size:16px;font-weight:800;cursor:pointer;opacity:1; }
#build-a-quote .customer-request-link { display:inline-block;margin-top:8px;padding:10px 0;background:none;color:var(--prussian);border:0;text-decoration:underline;text-underline-offset:4px;font-weight:750;cursor:pointer;text-align:left; }
#customer-request-dialog { width:min(680px,calc(100% - 32px));max-height:88vh;overflow:auto;box-sizing:border-box;border:2px solid var(--gold);border-radius:16px;padding:28px;color:var(--ink);background:white;box-shadow:0 25px 80px #0005; }
#customer-request-dialog::backdrop { background:rgba(11,35,56,.75); }
.customer-request-head {display:flex;gap:16px;align-items:flex-start;justify-content:space-between;}
.customer-request-head h2 {font-size:25px;color:var(--prussian);margin:0;}
#close-customer-request {font-size:28px;background:none;border:0;color:var(--prussian);cursor:pointer;}
.customer-request-grid {display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.customer-request-grid label {display:flex;flex-direction:column;gap:7px;font-weight:650;font-size:14px;}
.customer-request-grid input,.customer-request-grid select,.customer-request-grid textarea {box-sizing:border-box;width:100%;min-width:0;font:inherit;padding:11px;border:1px solid #91a3b2;border-radius:7px;background:#fff;color:var(--ink);}
.request-wide {grid-column:1/-1;}.request-help {font-size:13px;line-height:1.5;color:#536476;}
.request-send {background:var(--gold);color:var(--prussian-deep);padding:14px 22px;border:0;border-radius:8px;font-weight:800;cursor:pointer;}
#customer-request-dialog :focus-visible,#apply-pin:focus-visible,.customer-request-link:focus-visible {outline:3px solid #c28b00;outline-offset:3px;}
.slide-quote {background:linear-gradient(120deg,#0b2338,#153957);justify-content:space-between;gap:25px;}
.slide-quote::before {background:none;}
.slide-quote .hero-content {width:42%;margin-left:5%;}
.slide-quote .hero-content h1 {font-size:clamp(34px,4.2vw,65px);}
.quote-demo {position:relative;z-index:2;width:43%;margin-right:5%;max-width:550px;box-sizing:border-box;border:1px solid #f4b41b80;border-radius:16px;padding:20px;background:#0b2338;box-shadow:0 24px 65px #0005;color:#fff;}
.demo-heading {font-size:11px;font-weight:800;letter-spacing:.1em;color:var(--gold);}
.demo-drawing {display:block;width:100%;height:130px;margin:5px 0;}
.demo-fields {display:grid;gap:8px;}
.demo-fields>div {padding:8px 12px;border:1px solid #627c91;border-radius:7px;background:#153957;transition:border-color .3s,background .3s;}
.demo-fields span {display:block;color:#c4d3df;font-size:10px;margin-bottom:4px;}
.demo-fields b {font-size:13px;font-weight:600;}
.demo-fields .demo-selected {border-color:var(--gold);background:#234762;}
.demo-add {padding:12px;margin-top:12px;border-radius:7px;text-align:center;background:#294b64;color:#d9e4ed;font-weight:800;font-size:13px;}
.demo-add.demo-ready {background:var(--gold);color:var(--prussian-deep);}
.demo-caption {margin:10px 0 0;font-size:10px;color:#b7c8d6;}
@media(max-width:780px){.slide-quote{flex-direction:column;justify-content:center;gap:16px;padding:20px 20px 62px;}.slide-quote .hero-content{width:100%;margin:0;}.slide-quote .hero-content h1{font-size:30px;margin:8px 0;}.slide-quote .hero-description{font-size:13px;line-height:1.4;margin:10px 0;}.slide-quote .eyebrow{font-size:10px;}.slide-quote .hero-actions{margin-top:10px;}.slide-quote .primary-action{padding:10px 16px;}.quote-demo{width:100%;max-width:480px;margin:0;padding:12px;}.demo-drawing{height:65px;}.demo-fields{grid-template-columns:1fr 1fr;gap:5px;}.demo-fields>div{padding:6px 8px;}.demo-fields b{font-size:11px;}.demo-fields>div:last-child{grid-column:1/-1;}.demo-add{padding:8px;margin-top:8px;}.demo-caption{margin-top:6px;}}
@media(max-width:500px){.customer-request-grid{grid-template-columns:1fr;}#customer-request-dialog{padding:20px;}.customer-request-head h2{font-size:22px;}}
@media(prefers-reduced-motion:reduce){.demo-fields>div{transition:none;}}

/* Quote slide echoes the live builder over a technical drawing grid. */
.slide-quote {background-color:var(--prussian-deep);background-image:linear-gradient(rgba(160,195,218,.10) 1px,transparent 1px),linear-gradient(90deg,rgba(160,195,218,.10) 1px,transparent 1px),linear-gradient(120deg,#0b2338,#153957);background-size:32px 32px,32px 32px,100% 100%;}
.slide-quote::before {background:linear-gradient(90deg,rgba(11,35,56,.7),transparent);}
.slide-quote .hero-content{width:37%;margin-left:4%;}
.demo-builder{width:52%;max-width:680px;margin-right:4%;padding:0;background:#fff;color:var(--prussian);overflow:hidden;}
.demo-builder-head{display:flex;gap:20px;align-items:center;background:var(--prussian);padding:18px;border-bottom:3px solid var(--gold);color:#fff;}
.demo-builder-head>div>strong{font-size:20px;}.demo-builder-head small{display:block;font-size:10px;margin-top:5px;color:#d2dfe8;}
.demo-mini-brand{font-size:12px;font-weight:850;white-space:nowrap;}.demo-mini-brand strong{color:var(--gold);}
.demo-builder-body{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);}
.demo-config{padding:14px;min-width:0;}.demo-step{border:1px solid var(--gold);border-radius:7px;padding:10px;margin-bottom:12px;}
.demo-step-title{font-size:10px;font-weight:800;margin-bottom:9px;}.demo-step-title i{display:inline-flex;align-items:center;justify-content:center;font-style:normal;background:var(--prussian);color:white;border-radius:50%;width:17px;height:17px;margin-right:4px;}
.demo-id{display:flex;border:1px solid #a7b9c6;border-radius:4px;font-size:11px;justify-content:space-between;align-items:center;}.demo-id span{padding:6px 8px;}.demo-id b{background:var(--gold);padding:7px 11px;color:var(--prussian-deep);}
.demo-builder [data-demo-row]{padding:0;border:0;background:none;}.demo-builder [data-demo-row]>span{display:block;font-size:9px;color:var(--prussian);margin-bottom:4px;}
.demo-builder [data-demo-value]{display:block;position:relative;box-sizing:border-box;padding:7px 18px 7px 7px;background:#fff;border:1px solid #a7b9c6;border-radius:4px;color:#536978;font-size:10px;line-height:1.3;min-height:29px;}
.demo-builder [data-demo-value]::after{content:'▾';position:absolute;right:6px;top:7px;color:var(--prussian);}
.demo-builder .demo-selected [data-demo-value]{border-color:#c59113;background:#fff8e5;color:var(--prussian-deep);}
.demo-units{text-align:center;font-size:9px;margin-bottom:10px;}.demo-builder .demo-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px;}.demo-builder [data-demo-row="3"],.demo-builder [data-demo-row="4"]{grid-column:1/-1;}
.demo-print{background:var(--prussian-deep);padding:7px;border-radius:5px;}.demo-print>span{font-size:8px;color:#d1e2ec;}.demo-builder .demo-drawing{height:65px;margin:0;}
.demo-estimate{background:var(--prussian-deep);color:#fff;padding:18px 14px;display:flex;flex-direction:column;min-width:0;}.demo-quote-kicker{font-size:9px;letter-spacing:.08em;color:var(--gold);}.demo-estimate h3{font-size:20px;margin:12px 0 8px;color:white;}.demo-estimate p{font-size:10px;line-height:1.5;color:#c4d2dc;margin:0 0 18px;}
.demo-estimate>div:not(.demo-add){display:flex;justify-content:space-between;gap:6px;padding:11px 0;border-bottom:1px solid #ffffff25;font-size:10px;}.demo-estimate b{white-space:nowrap;}.demo-estimate .demo-total{font-size:13px!important;color:var(--gold);}.demo-estimate .demo-add{display:block;margin-top:auto;background:var(--gold);color:var(--prussian-deep);font-size:11px;padding:12px 7px;}.demo-estimate small{font-size:8px;color:#b8cad7;line-height:1.5;margin-top:12px;}.demo-builder .demo-caption{margin:0;padding:9px 14px;color:#536978;font-size:9px;}
@media(max-width:780px){.slide-quote .hero-content{width:100%;margin:0;}.slide-quote .hero-content h1{font-size:27px;}.slide-quote .hero-description{font-size:12px;}.demo-builder{width:100%;margin:0;max-width:540px;}.demo-builder-head{padding:10px 12px;gap:12px;}.demo-builder-head>div>strong{font-size:16px;}.demo-config{padding:9px;}.demo-step{padding:7px;margin-bottom:8px;}.demo-step-title{margin-bottom:5px;}.demo-builder .demo-fields{gap:5px;}.demo-builder [data-demo-value]{padding:5px 16px 5px 5px;min-height:25px;font-size:9px;}.demo-builder .demo-print{display:none;}.demo-estimate{padding:12px 9px;}.demo-estimate h3{font-size:16px;margin:8px 0;}.demo-estimate>div:not(.demo-add){padding:8px 0;font-size:9px;}.demo-estimate p{margin-bottom:8px;}.demo-estimate .demo-add{font-size:9px;padding:9px 5px;}.demo-builder .demo-caption{padding:6px 10px;}.demo-units{margin-bottom:6px;}}

/* Larger live-price preview with the actual site logo and CAD tool profiles. */
.slide-quote .demo-cad-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.36;pointer-events:none;z-index:0;}
.slide-quote .hero-content{width:31%;margin-left:4%;}
.slide-quote .hero-content h1{font-size:clamp(32px,3.7vw,58px);}
.slide-quote .hero-description{font-size:clamp(14px,1.2vw,18px);}
.demo-builder{width:59%;max-width:830px;margin-right:3%;}
.demo-builder-head{padding:16px 20px;gap:28px;}
.demo-real-brand{display:flex;align-items:center;gap:10px;min-width:0;}
.demo-real-brand img{display:block;width:54px;height:54px;object-fit:contain;}
.demo-real-brand span{font-size:15px;font-weight:850;letter-spacing:.025em;white-space:nowrap;}
.demo-real-brand strong{color:var(--gold);}
.demo-real-brand small{font-size:9px!important;margin-top:5px!important;}
.demo-builder-head>div:last-child>strong{font-size:23px;}
.demo-config{padding:16px;}.demo-step{padding:11px;margin-bottom:12px;}
.demo-step-title{font-size:12px;}.demo-builder [data-demo-row]>span{font-size:10px;}
.demo-builder [data-demo-value]{font-size:12px;min-height:33px;}
.demo-estimate{padding:20px 17px;}.demo-estimate h3{font-size:23px;}
.demo-estimate>div:not(.demo-add){font-size:11px;gap:8px;}
.demo-estimate b{font-variant-numeric:tabular-nums;}
.demo-estimate .demo-total{font-size:15px!important;}
@media(min-width:781px) and (max-width:1100px){.demo-real-brand{gap:6px;}.demo-real-brand img{width:40px;height:40px;}.demo-real-brand span{font-size:12px;}.demo-builder-head{gap:14px;padding:13px;}.demo-builder-head>div:last-child>strong{font-size:19px;}.demo-builder-head small{font-size:9px;}.demo-config{padding:10px;}.demo-step{padding:8px;}.demo-estimate{padding:16px 10px;}.demo-estimate>div:not(.demo-add){font-size:10px;}.demo-builder [data-demo-value]{font-size:10px;}.demo-estimate .demo-total{font-size:12px!important;}}
@media(max-width:780px){.slide-quote .hero-content{width:100%;margin:0;}.slide-quote .hero-content h1{font-size:25px;}.slide-quote .hero-description{font-size:12px;}.demo-builder{width:100%;max-width:580px;margin:0;}.demo-builder-head{padding:9px 12px;gap:14px;}.demo-real-brand{gap:6px;}.demo-real-brand img{width:36px;height:36px;}.demo-real-brand span{font-size:11px;}.demo-real-brand small{font-size:7px!important;}.demo-builder-head>div:last-child>strong{font-size:16px;}.demo-builder-head>div:last-child>small{font-size:8px;}.demo-config{padding:8px;}.demo-step{padding:6px;margin-bottom:7px;}.demo-step-title{font-size:9px;}.demo-builder [data-demo-row]>span{font-size:8px;}.demo-builder [data-demo-value]{font-size:9px;min-height:25px;}.demo-estimate{padding:10px 8px;}.demo-estimate h3{font-size:15px;}.demo-estimate>div:not(.demo-add){font-size:8px;padding:7px 0;}.demo-estimate .demo-total{font-size:11px!important;}.demo-builder-body{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);}.demo-estimate small{font-size:7px;}.demo-estimate p{font-size:8px;}.slide-quote .demo-cad-backdrop{opacity:.25;}}

.submission-honeypot{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}

/* Keep Customer Login visible on smaller desktop screens. */
@media (min-width:981px) and (max-width:1280px) {
  .site-header { padding-left:1.25rem; padding-right:1.25rem; gap:1rem; }
  .site-header .brand { gap:.6rem; }
  .site-header .brand img { width:64px; height:54px; }
  .site-header .brand-name { font-size:1.45rem; }
  .site-header .brand-tagline { font-size:.6rem; letter-spacing:.08em; }
  .primary-nav { gap:.75rem; font-size:.84rem; }
  .primary-nav .quote-button { padding:.75rem .85rem; white-space:nowrap; }
}

/* Quiet employee access at the bottom of the public website. */
.site-footer{background:#f5f7f9;border-top:1px solid #dfe6ec;padding:12px clamp(1.25rem,5vw,5rem);color:#5e7180}
.site-footer-inner{max-width:1180px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px}
.site-footer small{font-size:12px;letter-spacing:.015em}
.employee-footer-link{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:8px 3px;color:#5e7180;font-size:12px;font-weight:500;text-decoration:none;text-underline-offset:4px;white-space:nowrap;border-radius:3px;transition:color .18s ease}
.employee-footer-link svg{width:15px;height:15px;flex:none}
.employee-footer-link:hover{color:var(--prussian);text-decoration:underline;text-decoration-color:var(--gold)}
.employee-footer-link:focus-visible{color:var(--prussian);outline:2px solid var(--gold);outline-offset:4px}

/* Cosmetic-03 — two narrowly scoped corrections approved 2026-09-21. */
/* Header: Sign In uses the same color/hover language as Get Instant Quote,
   while retaining its rectangular silhouette. */
.nav-account-actions .signin-link {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:.8rem 1.25rem;
  color:#fff;
  text-decoration:none;
  background:var(--prussian);
  border:0;
  border-radius:8px;
  font-size:1em;
  font-weight:750;
  cursor:pointer;
  white-space:nowrap;
  transition:background-color .18s ease,color .18s ease,transform .18s ease;
}
.nav-account-actions .signin-link:hover,
.nav-account-actions .signin-link:focus-visible {
  background:var(--gold);
  color:var(--prussian-deep);
  outline:none;
  transform:translateY(-1px);
}

/* Customer Portal / Get Instant Quote strip: preserve Shane's original section;
   only style Sign In and the preview-link hover. */
.quote-system-section .quote-section-signin {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:.8rem 1.25rem;
  margin-left:.45rem;
  color:#fff;
  text-decoration:none;
  background:var(--prussian);
  border:0;
  border-radius:8px;
  font-weight:700;
  cursor:pointer;
  transition:background-color .18s ease,color .18s ease,transform .18s ease;
}
.quote-system-section .quote-section-signin:hover,
.quote-system-section .quote-section-signin:focus-visible {
  background:var(--gold);
  color:var(--prussian-deep);
  outline:none;
  transform:translateY(-1px);
}
#portal-preview-link a:hover,
#portal-preview-link a:focus-visible {
  color:var(--prussian);
  font-weight:700;
  outline:none;
}

/* Cosmetic-12 — approved CT treatment for the eight hero-slider action buttons only.
   Slider rule: whenever the CT treatment would use a blue fill here, use transparent instead. */
.hero .hero-actions .primary-action,
.hero .hero-actions .secondary-action{
  transition:transform .18s ease,background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease;
}

/* Five buttons whose resting state is Gold CT. Gold always carries Blue CT text + Blue CT border. */
.hero .hero-actions .primary-action{
  background:var(--gold);
  color:var(--prussian);
  border:1px solid var(--prussian);
}
.hero .hero-actions .primary-action:hover,
.hero .hero-actions .primary-action:focus-visible{
  background:transparent;
  color:#f5f7f9;
  border-color:#f5f7f9;
  transform:translateY(-2px);
  box-shadow:0 11px 26px rgba(0,0,0,.22);
  outline:none;
}

/* Stage 71.6.15 — the three NORMAL-treatment hero buttons must render in their approved resting state immediately. */
.hero .hero-actions .secondary-action{
  background:#102B45;
  color:#EAF1F8;
  border:1px solid #102B45;
}
.hero .hero-actions .secondary-action:hover,
.hero .hero-actions .secondary-action:focus-visible{
  background:var(--gold);
  color:var(--prussian);
  border-color:var(--prussian);
  transform:translateY(-2px);
  box-shadow:0 11px 26px rgba(0,0,0,.22);
  outline:none;
}

/* Cosmetic-13 — coordinated hero-button motion approved 2026-09-21. */
/* Make the hovered button's lift clearly visible. */
.hero .hero-actions .primary-action:hover,
.hero .hero-actions .primary-action:focus-visible,
.hero .hero-actions .secondary-action:hover,
.hero .hero-actions .secondary-action:focus-visible{
  transform:translateY(-6px);
}

/* On the three two-button slides, hovering either button swaps BOTH visual states.
   Only the button actually hovered/focused moves upward. */
.hero .hero-actions:has(.primary-action:hover) .secondary-action,
.hero .hero-actions:has(.primary-action:focus-visible) .secondary-action{
  background:var(--gold);
  color:var(--prussian);
  border-color:var(--prussian);
}
.hero .hero-actions:has(.secondary-action:hover) .primary-action,
.hero .hero-actions:has(.secondary-action:focus-visible) .primary-action{
  background:transparent;
  color:#f5f7f9;
  border-color:#f5f7f9;
}

/* CTic #1 — external/file control: preserve native resting state; CT treatment on hover over this light surface. */
#build-a-quote #files::file-selector-button {
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
#build-a-quote #files::file-selector-button:hover {
  background:#102B45;
  border-color:#EAF1F8;
  color:#EAF1F8;
  font-style:italic;
  transform:translateY(-2px);
}

/* CTic #2 — Start New Quote: approved normal CT button treatment. */
#build-a-quote #quote-new {
  background:#102B45;
  border:1px solid #EAF1F8;
  color:#EAF1F8;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
#build-a-quote #quote-new:hover,
#build-a-quote #quote-new:focus-visible {
  background:#F4B41B;
  border-color:#102B45;
  color:#102B45;
  transform:translateY(-2px);
  outline:none;
}

/* CTic #3 — Submit Order already uses the approved CT disabled treatment above:
   opacity:.5; box-shadow:none; cursor:not-allowed. No duplicate override required. */


/* CTic #4 — Submit Quote Request: normal CT treatment + CT disabled state. */
#build-a-quote #list-quote-request {
  background:#102B45;
  border:1px solid #EAF1F8;
  color:#EAF1F8;
  box-shadow:none;
  cursor:pointer;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
#build-a-quote #list-quote-request:hover:not(:disabled),
#build-a-quote #list-quote-request:focus-visible:not(:disabled) {
  background:#F4B41B;
  border-color:#102B45;
  color:#102B45;
  transform:translateY(-2px);
  outline:none;
}
#build-a-quote #list-quote-request:disabled {
  opacity:.5;
  box-shadow:none;
  cursor:not-allowed;
  transform:none;
}
#build-a-quote #list-quote-request:disabled:hover {
  background:#102B45;
  border-color:#EAF1F8;
  color:#EAF1F8;
  transform:none;
}

/* CTic #5 — Download Web Quote PDF: external-action treatment on a light surface + special disabled state. */
#build-a-quote #quote-print {
  background:#EFEFEF;
  color:#000;
  border:1px solid #767676;
  box-shadow:none;
  cursor:pointer;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
#build-a-quote #quote-print:hover:not(:disabled),
#build-a-quote #quote-print:focus-visible:not(:disabled) {
  background:#102B45;
  border-color:#EAF1F8;
  color:#EAF1F8;
  font-style:italic;
  transform:translateY(-2px);
  outline:none;
}
#build-a-quote #quote-print:disabled {
  background:#EFEFEF;
  color:#000;
  border-color:#767676;
  opacity:.5;
  box-shadow:none;
  cursor:not-allowed;
  transform:none;
  font-style:normal;
}
#build-a-quote #quote-print:disabled:hover {
  background:#EFEFEF;
  color:#000;
  border-color:#767676;
  transform:none;
  font-style:normal;
}

/* CTic #6 — quote action layout: equal buttons, PDF at far right, balanced divider spacing. */
#build-a-quote .quote-submit-actions {
  --quote-action-gap:14px;
  display:flex;
  align-items:center;
  width:100%;
  margin:16px 0;
}
#build-a-quote .quote-submit-primary {
  display:flex;
  align-items:center;
  gap:var(--quote-action-gap);
}
#build-a-quote .quote-submit-pdf {
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:var(--quote-action-gap);
}
#build-a-quote .quote-submit-divider {
  display:block;
  width:1px;
  height:38px;
  background:#b9c5cb;
  margin-left:var(--quote-action-gap);
}
#build-a-quote .quote-submit-actions #list-submit,
#build-a-quote .quote-submit-actions #list-quote-request,
#build-a-quote .quote-submit-actions #quote-print {
  box-sizing:border-box;
  width:220px;
  min-width:220px;
  max-width:220px;
  height:38px;
  min-height:38px;
  padding:8px 14px;
  margin:0;
  font-size:16px;
  line-height:20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
@media (max-width:900px) {
  #build-a-quote .quote-submit-actions { flex-wrap:wrap; gap:var(--quote-action-gap); }
  #build-a-quote .quote-submit-pdf { margin-left:0; }
  #build-a-quote .quote-submit-divider { display:none; }
}


/* CTic #7 — keep all three submission actions equal and keep the PDF label on one line. */
#build-a-quote .quote-submit-actions #list-submit,
#build-a-quote .quote-submit-actions #list-quote-request,
#build-a-quote .quote-submit-actions #quote-print {
  width:260px;
  min-width:260px;
  max-width:260px;
  height:38px;
  min-height:38px;
  white-space:nowrap;
}

/* CTic #8 — give the native file control and selector button more breathing room without changing typography. */
#build-a-quote #files {
  box-sizing:border-box;
  min-height:58px;
  padding:7px 12px;
}
#build-a-quote #files::file-selector-button {
  min-height:36px;
  padding:7px 16px;
  margin-right:4px;
}

/* CTic #9 — symmetric three-line Shipping address / Request notes pair; PO moves below notes. */
#build-a-quote #list-request .pricing-grid > label {
  min-width:0;
}
#build-a-quote #list-request textarea {
  box-sizing:border-box;
  width:100%;
  height:84px;
  min-height:84px;
  padding:12px;
  border:1px solid #acbbc4;
  border-radius:7px;
  background:#fff;
  color:inherit;
  font:inherit;
}
#build-a-quote #list-shipping { resize:vertical; }
#build-a-quote #list-notes { resize:none; }


/* CTic #10 — Drawing reference + file upload share one compact, aligned row. */
#build-a-quote #quote-step-3 > .pricing-grid {
  grid-template-columns:minmax(0,1fr) max-content;
  column-gap:20px;
  row-gap:18px;
  align-items:start;
}
#build-a-quote #quote-step-3 #drawing-field {
  grid-column:1;
  grid-row:1;
}
#build-a-quote #quote-step-3 #files-field {
  grid-column:2;
  grid-row:1;
  width:max-content;
  max-width:100%;
}
#build-a-quote #quote-step-3 #insertDimensions-field {
  grid-column:1 / -1;
  grid-row:2;
}
#build-a-quote #quote-step-3 #files {
  width:auto;
  min-width:0;
  max-width:100%;
  display:block;
  padding-top:7px;
  padding-bottom:7px;
}
#build-a-quote #quote-step-3 #files::file-selector-button {
  vertical-align:middle;
}
#build-a-quote #quote-step-3 .drawing-upload-help {
  margin-top:7px;
}
#build-a-quote #quote-step-3 .drawing-upload-help small {
  display:block;
  margin-top:4px;
}
#build-a-quote #quote-step-3 .drawing-upload-help small:first-child {
  margin-top:0;
}
@media(max-width:650px) {
  #build-a-quote #quote-step-3 > .pricing-grid {
    grid-template-columns:minmax(0,1fr);
  }
  #build-a-quote #quote-step-3 #drawing-field,
  #build-a-quote #quote-step-3 #files-field,
  #build-a-quote #quote-step-3 #insertDimensions-field {
    grid-column:1;
    grid-row:auto;
  }
  #build-a-quote #quote-step-3 #files-field { width:100%; }
  #build-a-quote #quote-step-3 #files { width:100%; }
}

/* CTic #11 — uniform breathing room between customer labels and their controls. */
#build-a-quote #list-request .pricing-grid > label:not(.submission-honeypot) {
  display:flex;
  flex-direction:column;
  gap:7px;
}

/* CTic #12 — refine compact Drawing / Upload row. */
#build-a-quote #quote-step-3 > .pricing-grid {
  grid-template-columns:minmax(0,1fr) 285px;
}
#build-a-quote #quote-step-3 #files-field {
  width:285px;
}
#build-a-quote #quote-step-3 #files {
  box-sizing:border-box;
  width:285px;
  height:48px;
  min-height:48px;
  padding:5px 10px;
}
#build-a-quote #quote-step-3 #files::file-selector-button {
  min-height:34px;
  height:34px;
  padding:5px 16px;
  margin-top:0;
  margin-bottom:0;
  vertical-align:middle;
}
#build-a-quote #quote-step-3 .drawing-upload-help {
  text-align:right;
}
@media(max-width:650px) {
  #build-a-quote #quote-step-3 #files-field,
  #build-a-quote #quote-step-3 #files { width:100%; }
}

/* CTic #13 — final optical centering of Choose Files inside its existing container. */
#build-a-quote #quote-step-3 #files::file-selector-button {
  min-height:31px;
  height:31px;
  padding-top:4px;
  padding-bottom:4px;
  position:relative;
  top:1px;
}

/* CTic #14 — final internal geometry for the file selector.
   Keep the proven 285px control width so the native “No file chosen” label is never clipped. */
#build-a-quote #quote-step-3 > .pricing-grid {
  grid-template-columns:minmax(0,1fr) 285px;
}
#build-a-quote #quote-step-3 #files-field {
  width:285px;
}
#build-a-quote #quote-step-3 #files {
  width:285px;
  height:48px;
  min-height:48px;
  padding:9px 10px;
  line-height:28px;
}
#build-a-quote #quote-step-3 #files::file-selector-button {
  min-height:28px;
  height:28px;
  padding:3px 14px;
  margin-top:0;
  margin-bottom:0;
  margin-right:9px;
  position:static;
  top:auto;
  line-height:normal;
  vertical-align:middle;
}
@media(max-width:650px) {
  #build-a-quote #quote-step-3 #files-field,
  #build-a-quote #quote-step-3 #files { width:100%; }
}

/* CTic #15 — final micro-alignment for the native file selector. */
#build-a-quote #quote-step-3 #files::file-selector-button {
  position:relative;
  top:-1px;
  margin-right:14px;
}

/* CTic #16 — restore the original vertical Drawing / Upload layout.
   Keep all existing Choose Files button styling/effects; change layout only. */
#build-a-quote #quote-step-3 > .pricing-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:20px;
  row-gap:18px;
  align-items:start;
}
#build-a-quote #quote-step-3 #drawing-field {
  grid-column:1;
  grid-row:auto;
}
#build-a-quote #quote-step-3 #files-field {
  grid-column:1 / -1;
  grid-row:auto;
  width:100%;
  max-width:none;
}
#build-a-quote #quote-step-3 #files {
  box-sizing:border-box;
  width:100%;
  max-width:none;
}
#build-a-quote #quote-step-3 #insertDimensions-field {
  grid-column:1 / -1;
  grid-row:auto;
}
#build-a-quote #quote-step-3 .drawing-upload-help {
  text-align:left;
}
@media(max-width:650px) {
  #build-a-quote #quote-step-3 > .pricing-grid {
    grid-template-columns:minmax(0,1fr);
  }
  #build-a-quote #quote-step-3 #drawing-field,
  #build-a-quote #quote-step-3 #files-field,
  #build-a-quote #quote-step-3 #insertDimensions-field {
    grid-column:1;
    grid-row:auto;
  }
}

/* CTic #14-15 — final quote action treatments. Keep typography identical to PDF action. */
#build-a-quote .quote-submit-actions #list-submit,
#build-a-quote .quote-submit-actions #list-quote-request {
  font-family: inherit;
  font-weight: 400;
  font-style: normal;
  text-transform: none;
  letter-spacing: normal;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

/* Submit Order — CT inverted. */
#build-a-quote .quote-submit-actions #list-submit:not(:disabled) {
  background:#F4B41B;
  border:1px solid #102B45;
  color:#102B45;
  box-shadow:none;
  cursor:pointer;
  transform:none;
}
#build-a-quote .quote-submit-actions #list-submit:hover:not(:disabled),
#build-a-quote .quote-submit-actions #list-submit:focus-visible:not(:disabled) {
  background:#102B45;
  border-color:#EAF1F8;
  color:#EAF1F8;
  transform:translateY(-2px);
  box-shadow:none;
  outline:none;
}
#build-a-quote .quote-submit-actions #list-submit:disabled {
  background:#F4B41B;
  border:1px solid #102B45;
  color:#102B45;
  opacity:.5;
  box-shadow:none;
  cursor:not-allowed;
  transform:none;
}

/* Submit Quote Request — CT normal. */
#build-a-quote .quote-submit-actions #list-quote-request:not(:disabled) {
  background:#102B45;
  border:1px solid #EAF1F8;
  color:#EAF1F8;
  box-shadow:none;
  cursor:pointer;
  transform:none;
}
#build-a-quote .quote-submit-actions #list-quote-request:hover:not(:disabled),
#build-a-quote .quote-submit-actions #list-quote-request:focus-visible:not(:disabled) {
  background:#F4B41B;
  border-color:#102B45;
  color:#102B45;
  transform:translateY(-2px);
  box-shadow:none;
  outline:none;
}
#build-a-quote .quote-submit-actions #list-quote-request:disabled {
  background:#102B45;
  border:1px solid #EAF1F8;
  color:#EAF1F8;
  opacity:.5;
  box-shadow:none;
  cursor:not-allowed;
  transform:none;
}

/* Cosmetic-37 — standardize final quote action geometry with draft-toolbar buttons. */
#build-a-quote .quote-submit-actions #list-submit,
#build-a-quote .quote-submit-actions #list-quote-request,
#build-a-quote .quote-submit-actions #quote-print {
  border-radius:6px;
}
#build-a-quote .quote-submit-actions #list-submit:hover:not(:disabled),
#build-a-quote .quote-submit-actions #list-submit:focus-visible:not(:disabled),
#build-a-quote .quote-submit-actions #list-quote-request:hover:not(:disabled),
#build-a-quote .quote-submit-actions #list-quote-request:focus-visible:not(:disabled) {
  font-weight:700;
}

/* Cosmetic-43 — approved file-control resting state and Start a New Request CT treatment. */
#build-a-quote #files::file-selector-button{background:#EFEFEF;color:#000;border:1px solid #767676;border-radius:6px;box-shadow:none}
#build-a-quote .quote-submit-actions #new-request{
  background:#102B45!important;
  border:1px solid #EAF1F8!important;
  border-radius:6px;
  color:#EAF1F8!important;
  box-shadow:none;
  cursor:pointer;
  font-family:inherit;
  font-weight:400;
  font-style:normal;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease
}
#build-a-quote .quote-submit-actions #new-request:hover:not(:disabled),
#build-a-quote .quote-submit-actions #new-request:focus-visible:not(:disabled){
  background:#F4B41B!important;
  border-color:#102B45!important;
  color:#102B45!important;
  transform:translateY(-2px)
}
#build-a-quote #new-request:disabled{opacity:.5;box-shadow:none;cursor:not-allowed;transform:none}

/* Cosmetic-66.4.1 — customer question modal only; existing Contact Us link styling is unchanged. */
.ct-question-overlay{position:fixed;inset:0;z-index:2147483647;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(0,0,0,.52)}
.ct-question-dialog{width:min(500px,calc(100vw - 48px));background:#102B45;border:1px solid #F4B41B;border-radius:14px;box-shadow:0 18px 50px rgba(0,0,0,.38);padding:22px 24px;color:#EAF1F8}
.ct-question-title{margin:0;color:#F4B41B;font-size:20px;font-weight:700}.ct-question-rule{height:1px;margin:12px 0 16px;background:#F4B41B}.ct-question-copy{margin:0 0 18px;line-height:1.5;font-size:15px;color:#EAF1F8}
.ct-question-fields{display:grid;gap:13px}.ct-question-fields label{display:grid;gap:6px;font-size:13px;font-weight:650;color:#EAF1F8}.ct-question-fields input,.ct-question-fields textarea{background:#fff;color:#15344b;border:1px solid #b9c9d3;border-radius:6px;padding:11px;font:inherit}.ct-question-fields textarea{min-height:150px;resize:vertical;line-height:1.45}
.ct-question-required{margin:8px 0 0;font-size:11px;color:#c9d8e3}.ct-question-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-top:11px;padding-top:10px;border-top:1px solid #F4B41B}.ct-question-signature{margin:0;color:#EAF1F8;font-size:10px;line-height:1.45;opacity:.82}.ct-question-actions{display:flex;justify-content:flex-end;gap:10px;flex:0 0 auto}.ct-question-actions button{min-width:104px;padding:10px 18px;border-radius:9px;font:inherit;font-weight:600;cursor:pointer;transition:background .16s,color .16s,border-color .16s,transform .16s}.ct-question-cancel{border:1px solid #EAF1F8;background:#102B45;color:#EAF1F8}.ct-question-send{border:1px solid #102B45;background:#F4B41B;color:#102B45}.ct-question-actions button:hover,.ct-question-actions button:focus-visible{transform:translateY(-2px);outline:none}.ct-question-cancel:hover,.ct-question-cancel:focus-visible{background:#EAF1F8;color:#102B45}.ct-question-send:hover,.ct-question-send:focus-visible{background:#102B45;color:#EAF1F8;border-color:#EAF1F8}.ct-question-send:disabled{opacity:.6;cursor:default;transform:none}
@media(max-width:480px){.ct-question-dialog{padding:20px}.ct-question-footer{align-items:stretch;flex-direction:column;gap:14px}.ct-question-actions{width:100%;flex-wrap:wrap}.ct-question-actions button{flex:1}}


/* Cosmetic-70.9 — Customer Portal gate actions.
   Exact approved CT pair: Sign In inverted (Gold -> Prussian),
   Create Account normal (Prussian -> Gold). Both keep the approved lift. */
.quote-system-section .quote-gate .quote-section-signin,
.quote-system-section .quote-gate .quote-section-create {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:.8rem 1.25rem;
  margin:0;
  border-radius:8px;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
  transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.quote-system-section .quote-gate .quote-section-create { margin-left:.45rem; }

/* Inverted CT treatment — same state pair as the approved Sign In reference. */
.quote-system-section .quote-gate .quote-portal-inverted {
  color:var(--prussian,#153957);
  background:var(--gold,#f4b41b);
  border:1px solid var(--gold,#f4b41b);
}
.quote-system-section .quote-gate .quote-portal-inverted:hover,
.quote-system-section .quote-gate .quote-portal-inverted:focus-visible {
  color:var(--ct-soft-white,#eef5f8);
  background:var(--prussian,#153957);
  border-color:var(--gold,#f4b41b);
  outline:none;
  transform:translateY(-1px);
  box-shadow:0 8px 20px rgba(11,35,56,.18);
}

/* Normal CT treatment — same state pair as the approved Request Access reference. */
.quote-system-section .quote-gate .quote-portal-normal {
  color:var(--ct-soft-white,#eef5f8);
  background:var(--prussian,#153957);
  border:1px solid var(--prussian,#153957);
}
.quote-system-section .quote-gate .quote-portal-normal:hover,
.quote-system-section .quote-gate .quote-portal-normal:focus-visible {
  color:var(--prussian,#153957);
  background:var(--gold,#f4b41b);
  border-color:var(--prussian,#153957);
  outline:none;
  transform:translateY(-1px);
  box-shadow:0 8px 20px rgba(11,35,56,.18);
}

@media(max-width:600px){
  .quote-system-section .quote-gate .quote-section-signin,
  .quote-system-section .quote-gate .quote-section-create{display:inline-flex;margin-top:15px}
  .quote-system-section .quote-gate .quote-section-create{margin-left:.45rem}
}


/* Stage 71.5 — approved public-home navigation and interaction refinements, 2026-09-30.
   Scope intentionally limited to the requested desktop master behavior; mobile pass follows separately. */

/* Header pair: Get Instant Quote = NORMAL CT treatment; Sign In = INVERTED CT treatment.
   Sign In occupies the former Employee Login position and is approximately half the CTA width. */
.nav-account-actions .quote-button,
.nav-account-actions .signin-link {
  transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.nav-account-actions .quote-button {
  color:#eef5f8;
  background:var(--prussian,#153957);
  border:1px solid var(--prussian,#153957);
}
.nav-account-actions .quote-button:hover,
.nav-account-actions .quote-button:focus-visible {
  color:var(--prussian,#153957);
  background:var(--gold,#f4b41b);
  border-color:var(--prussian,#153957);
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(11,35,56,.18);
  outline:none;
}
.nav-account-actions .signin-link {
  min-width:92px;
  padding-left:.7rem;
  padding-right:.7rem;
  color:var(--prussian,#153957);
  background:var(--gold,#f4b41b);
  border:1px solid var(--gold,#f4b41b);
}
.nav-account-actions .signin-link:hover,
.nav-account-actions .signin-link:focus-visible {
  color:#eef5f8;
  background:var(--prussian,#153957);
  border-color:var(--gold,#f4b41b);
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(11,35,56,.18);
  outline:none;
}

/* Give the approved Customer Portal pair the same full CT lift. */
.quote-system-section .quote-gate .quote-section-signin:hover,
.quote-system-section .quote-gate .quote-section-signin:focus-visible,
.quote-system-section .quote-gate .quote-section-create:hover,
.quote-system-section .quote-gate .quote-section-create:focus-visible {
  transform:translateY(-2px);
}

/* Public content CTAs keep their existing colors/treatment; only normalize the requested lift. */
.distributor-panel > div:first-child .content-cta:hover,
.distributor-panel > div:first-child .content-cta:focus-visible,
.company-section .company-grid > div:last-child .content-cta:hover,
.company-section .company-grid > div:last-child .content-cta:focus-visible {
  transform:translateY(-2px);
}

/* Footer text-link behavior: Terms/Privacy stay underlined; Employee Login stays un-underlined.
   All three gain the approved small right-step + bold on hover/focus. */
.site-footer small a,
.employee-footer-link {
  transition:color .18s ease,transform .18s ease,font-weight .18s ease;
}
.site-footer small a {
  display:inline-block;
  text-decoration:underline;
  text-underline-offset:3px;
}
.site-footer small a:hover,
.site-footer small a:focus-visible {
  font-weight:700;
  transform:translateX(3px);
}
.employee-footer-link,
.employee-footer-link:hover,
.employee-footer-link:focus-visible {
  text-decoration:none;
}
.employee-footer-link:hover,
.employee-footer-link:focus-visible {
  font-weight:700;
  transform:translateX(3px);
}


/* Stage 71.5.1 — desktop interaction correction, 2026-09-30.
   Preserve 71.5 treatments; use the approved hero-slide lift as the public-button motion reference. */

/* Header: Sign In keeps its approved inverted rectangular treatment, but its size follows its text
   with exactly the same internal spacing used by Get Instant Quote. */
.nav-account-actions .signin-link {
  min-width:0;
  padding:.8rem 1.25rem;
}

/* Approved public-button lift: same clearly visible upward step as the hero-slide buttons. */
.nav-account-actions .quote-button:hover,
.nav-account-actions .quote-button:focus-visible,
.nav-account-actions .signin-link:hover,
.nav-account-actions .signin-link:focus-visible,
.quote-system-section .quote-gate .quote-section-signin:hover,
.quote-system-section .quote-gate .quote-section-signin:focus-visible,
.quote-system-section .quote-gate .quote-section-create:hover,
.quote-system-section .quote-gate .quote-section-create:focus-visible,
.distributor-panel > div:first-child .content-cta:hover,
.distributor-panel > div:first-child .content-cta:focus-visible,
.company-section .company-grid > div:last-child .content-cta:hover,
.company-section .company-grid > div:last-child .content-cta:focus-visible {
  transform:translateY(-6px);
}

/* Stage 71.5.3 — header CTA proportion refinement, 2026-09-30.
   Header-only: both customer-entry buttons share the same compact text-to-edge spacing.
   Their widths remain content-driven, and their lift is intentionally softer than other public CTAs. */
.nav-account-actions .quote-button,
.nav-account-actions .signin-link {
  min-height:36px;
  padding:.45rem .9rem;
  margin-top:0;
}
.nav-account-actions .quote-button:hover,
.nav-account-actions .quote-button:focus-visible,
.nav-account-actions .signin-link:hover,
.nav-account-actions .signin-link:focus-visible {
  transform:translateY(-3px);
}

/* Stage 71.5.4 — header CTA compact sizing correction, 2026-09-30.
   Header-only. Remove inherited minimum height and use one shared compact text-to-edge spacing
   for both customer-entry buttons. Keep the header lift deliberately softer than slide CTAs. */
.nav-account-actions .quote-button,
.nav-account-actions .signin-link {
  min-height:0;
  padding:.30rem .68rem;
  line-height:1.15;
  margin-top:0;
}
.nav-account-actions .quote-button:hover,
.nav-account-actions .quote-button:focus-visible,
.nav-account-actions .signin-link:hover,
.nav-account-actions .signin-link:focus-visible {
  transform:translateY(-2px);
}

/* Stage 71.5.6 — HEADER BUTTONS ONLY.
   Reliable 71.5.5 user master preserved. Reduce the two top customer-entry buttons
   to ~75% of the current visual height and give both the exact same text-to-edge spacing. */
.nav-account-actions .quote-button,
.nav-account-actions .signin-link {
  box-sizing:border-box;
  width:max-content;
  min-width:0;
  height:38px;
  min-height:38px;
  padding:0 14px;
  line-height:1;
  flex:0 0 auto;
}
.nav-account-actions .quote-button:hover,
.nav-account-actions .quote-button:focus-visible,
.nav-account-actions .signin-link:hover,
.nav-account-actions .signin-link:focus-visible {
  transform:translateY(-2px);
}

/* Stage 71.5.9 — HEADER BUTTONS ONLY.
   Keep the approved 71.5.8 widths exactly as-is. Slightly restore vertical height
   and increase only the header-pair hover lift by 2px. */
.nav-account-actions .quote-button,
.nav-account-actions .signin-link {
  height:42px;
  min-height:42px;
}
.nav-account-actions .quote-button:hover,
.nav-account-actions .quote-button:focus-visible,
.nav-account-actions .signin-link:hover,
.nav-account-actions .signin-link:focus-visible {
  transform:translateY(-4px);
}

/* Stage 71.5.11 — HEADER BUTTONS ONLY.
   Preserve approved widths. Increase current 63px height by exactly 35% to 85.05px.
   Move the actual button box upward by 4px on hover/focus. */
.nav-account-actions .quote-button,
.nav-account-actions .signin-link {
  height:85.05px;
  min-height:85.05px;
  position:relative;
  top:0;
  transform:none;
  transition:background-color .18s ease,color .18s ease,border-color .18s ease,top .18s ease,box-shadow .18s ease;
}
.nav-account-actions .quote-button:hover,
.nav-account-actions .quote-button:focus-visible,
.nav-account-actions .signin-link:hover,
.nav-account-actions .signin-link:focus-visible {
  top:-4px;
  transform:none;
}

/* Stage 71.5.12 — HEADER BUTTONS ONLY.
   Preserve approved widths. Increase the visible header-button height by 35% from the current compact state.
   Hover moves only the button box 4px upward; no independent transform/bounce on the text/content. */
.nav-account-actions .quote-button,
.nav-account-actions .signin-link {
  height:57px !important;
  min-height:57px !important;
  transform:none !important;
  top:0;
  transition:top .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.nav-account-actions .quote-button:hover,
.nav-account-actions .quote-button:focus-visible,
.nav-account-actions .signin-link:hover,
.nav-account-actions .signin-link:focus-visible {
  top:-4px;
  transform:none !important;
}


/* Stage 71.5.13 — clean replacement for the TWO public-header account buttons only.
   These buttons intentionally use dedicated classes so legacy .quote-button/.signin-link
   rules cannot alter their box size or animate their text independently. */
.nav-account-actions .header-account-button {
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  min-width:0;
  height:40px;
  min-height:40px;
  padding:0 14px;
  margin:0;
  border-radius:8px;
  font-size:1em;
  font-weight:750;
  line-height:1;
  white-space:nowrap;
  text-decoration:none;
  cursor:pointer;
  position:relative;
  top:0;
  transform:none;
  transition:top .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.nav-account-actions .header-quote-button {
  color:#eef5f8;
  background:var(--prussian,#153957);
  border:1px solid var(--prussian,#153957);
}
.nav-account-actions .header-signin-button {
  color:var(--prussian,#153957);
  background:var(--gold,#f4b41b);
  border:1px solid var(--gold,#f4b41b);
}
.nav-account-actions .header-quote-button:hover,
.nav-account-actions .header-quote-button:focus-visible {
  top:-4px;
  transform:none;
  color:var(--prussian,#153957);
  background:var(--gold,#f4b41b);
  border-color:var(--prussian,#153957);
  box-shadow:0 8px 20px rgba(11,35,56,.18);
  outline:none;
}
.nav-account-actions .header-signin-button:hover,
.nav-account-actions .header-signin-button:focus-visible {
  top:-4px;
  transform:none;
  color:#eef5f8;
  background:var(--prussian,#153957);
  border-color:var(--gold,#f4b41b);
  box-shadow:0 8px 20px rgba(11,35,56,.18);
  outline:none;
}


/* Stage 71.6 — mobile/responsive public-site pass.
   Desktop remains the approved master. These rules apply only at phone/tablet widths. */
@media (max-width:980px){
  html,body{max-width:100%;overflow-x:hidden}
  .site-header{min-height:72px;padding:.7rem 1rem;gap:.65rem}
  .brand{min-width:0;max-width:calc(100% - 58px)}
  .brand-copy{min-width:0}
  .brand-name{font-size:clamp(1.12rem,5vw,1.55rem)}
  .brand-tagline{font-size:clamp(.45rem,2vw,.56rem);letter-spacing:.07em;overflow:hidden;text-overflow:ellipsis}
  .menu-toggle{margin-left:auto;margin-right:0}
  .primary-nav{top:100%;max-height:calc(100dvh - 72px);padding:.7rem 1rem 1rem}
  .nav-main,.nav-account-actions{display:contents}
  .primary-nav .nav-main>.nav-link,.primary-nav .nav-account-actions>.header-account-button{width:100%;max-width:none}
  .primary-nav .nav-account-actions>.header-account-button{display:flex;height:40px;min-height:40px;margin-top:10px;padding:0 14px;text-align:center}
  .primary-nav .nav-account-actions>.header-account-button:hover,
  .primary-nav .nav-account-actions>.header-account-button:focus-visible{top:0;transform:none}
  .content-section{padding-left:1rem;padding-right:1rem}
  .section-head,.company-grid,.service-grid,.feature-explainer-grid,.contact-panel,.contact-section .section-home,.quote-section-heading{min-width:0;max-width:100%}
  .company-grid,.contact-panel{grid-template-columns:minmax(0,1fr)}
  .hero-slide:not(.slide-quote) .hero-content{margin-left:1rem}
  .hero-content{max-width:calc(100% - 2rem)}
  img,svg,video,canvas{max-width:100%}
  .site-footer-inner{width:100%;flex-wrap:wrap}
}
@media (max-width:620px){
  .site-header{padding-left:.8rem;padding-right:.8rem}
  .brand{gap:.45rem;max-width:calc(100% - 52px)}
  .brand img{width:44px;height:38px}
  .brand-name{font-size:1.12rem;gap:.18rem}
  .brand-tagline{font-size:.45rem;letter-spacing:.055em}
  .menu-toggle{width:42px;height:40px}
  .primary-nav{padding:.55rem .85rem .9rem}
  .primary-nav>span,.services-link,.primary-nav .nav-main>.nav-link{padding:.72rem .15rem}
  .services-toggle{width:40px;height:40px}
  .hero{min-height:0}
  .hero-slide{min-height:calc(100svh - 72px);padding:56px 0 70px}
  .hero-slide:not(.slide-quote) .hero-content,.hero-content{width:auto;max-width:none;margin-left:1rem;margin-right:1rem}
  .hero h1{font-size:clamp(2.35rem,12vw,3.25rem)}
  .hero-description{font-size:.94rem}
  .hero-actions{width:100%}
  .hero-actions a{box-sizing:border-box;max-width:100%;text-align:center}
  .content-section{padding:3.2rem 1rem}
  .section-head{margin-bottom:2rem}
  .content-section h2{font-size:clamp(2rem,10vw,2.8rem)}
  .content-cta{max-width:100%;white-space:normal;text-align:center}
  .quote-gate{padding:20px 16px;margin:18px 0}
  .builder-account{padding:13px 14px}
  .contact-panel{padding:1.4rem 1rem}
  .site-footer{padding-left:1rem;padding-right:1rem}
  .site-footer-inner{align-items:flex-start;flex-direction:column}
}
@media (max-width:390px){
  .brand-tagline{display:none}
  .brand-name{font-size:1.08rem}
  .hero h1{font-size:2.25rem}
}

/* Stage 71.6.4 — Distributor Partnership modal. */
.ct-partnership-overlay{position:fixed;inset:0;z-index:2147483647;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(0,0,0,.58);overflow:auto}
.ct-partnership-dialog{position:relative;box-sizing:border-box;width:min(820px,calc(100vw - 48px));max-height:calc(100vh - 48px);overflow:auto;background:#102B45;border:1px solid #F4B41B;border-radius:14px;box-shadow:0 18px 50px rgba(0,0,0,.4);padding:24px 26px;color:#EAF1F8}
.ct-partnership-dialog h2{margin:0;color:#F4B41B;font-size:22px}.ct-partnership-rule{height:1px;margin:12px 0 14px;background:#F4B41B}.ct-partnership-copy{margin:0 0 18px;color:#EAF1F8;line-height:1.5;font-size:14px}
.ct-partnership-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px 16px}.ct-partnership-grid .wide,.ct-partnership-grid fieldset{grid-column:1/-1}.ct-partnership-grid label{display:block;color:#EAF1F8;font-size:13px;font-weight:650}.ct-partnership-grid label>.required{font-size:11px;font-weight:600;color:#F4B41B}.ct-partnership-grid legend span{font-size:11px;font-weight:500;opacity:.76}
.ct-partnership-grid input,.ct-partnership-grid select{display:block;box-sizing:border-box;width:100%;height:40px;min-width:0;margin-top:6px;background:#fff;color:#15344b;border:1px solid #b9c9d3;border-radius:6px;padding:0 11px;font:inherit}.ct-partnership-grid textarea{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:0;height:calc(2 * 1.45em + 20px);margin-top:6px;background:#fff;color:#15344b;border:1px solid #b9c9d3;border-radius:6px;padding:10px 11px;font:inherit;resize:vertical;line-height:1.45}
.ct-partnership-grid fieldset{margin:0;padding:11px 12px 12px;border:1px solid rgba(244,180,27,.58);border-radius:8px}.ct-partnership-grid legend{padding:0 6px;color:#EAF1F8;font-size:13px;font-weight:650}.ct-partnership-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 18px}.ct-partnership-checks label{display:flex;align-items:center;gap:8px;font-weight:500}.ct-partnership-checks input{display:inline-block;width:auto;height:auto;margin:0;accent-color:#F4B41B}.ct-partnership-other{margin-top:10px!important}.ct-partnership-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.ct-partnership-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-top:12px;padding-top:11px;border-top:1px solid #F4B41B}.ct-partnership-footer>p{margin:0;font-size:10px;line-height:1.45;opacity:.82}.ct-partnership-footer>div{display:flex;gap:10px;flex:0 0 auto}.ct-partnership-footer button{padding:10px 16px;border-radius:9px;font:inherit;font-weight:650;cursor:pointer;transition:background .16s,color .16s,border-color .16s,transform .16s}.ct-partnership-cancel{border:1px solid #EAF1F8;background:#102B45;color:#EAF1F8}.ct-partnership-send{border:1px solid #102B45;background:#F4B41B;color:#102B45}.ct-partnership-footer button:hover,.ct-partnership-footer button:focus-visible{transform:translateY(-2px);outline:none}.ct-partnership-cancel:hover,.ct-partnership-cancel:focus-visible{background:#EAF1F8;color:#102B45}.ct-partnership-send:hover,.ct-partnership-send:focus-visible{background:#102B45;color:#EAF1F8;border-color:#EAF1F8}.ct-partnership-send:disabled{opacity:.6;cursor:default;transform:none}
@media(max-width:640px){.ct-partnership-overlay{padding:12px}.ct-partnership-dialog{width:calc(100vw - 24px);max-height:calc(100vh - 24px);padding:20px 16px}.ct-partnership-dialog h2{margin-left:0;font-size:20px}.ct-partnership-grid{grid-template-columns:1fr}.ct-partnership-grid .wide,.ct-partnership-grid fieldset{grid-column:1}.ct-partnership-checks{grid-template-columns:1fr}.ct-partnership-footer{align-items:stretch;flex-direction:column;gap:14px}.ct-partnership-footer>div{width:100%;flex-wrap:wrap}.ct-partnership-footer button{flex:1 1 180px}}


/* Stage 71.6.6 — About Us closing hero slide.
   Reuses the approved hero typography, eyebrow, and primary CTA treatment. */
.slide-about { background: #071a2c; }
.slide-about .about-hero-video {
  position:absolute;
  inset:0;
  z-index:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.slide-about::before {
  background: linear-gradient(90deg, rgba(3,15,29,.84) 0%, rgba(3,15,29,.58) 48%, rgba(3,15,29,.18) 100%);
}
.slide-about .about-service-line { margin-top: 1.15rem; }

/* Stage 71.6.10 — Mobile Contact Cutting Tech Support modal viewport fix.
   The overlay is the scroll container. No vertical auto margins: a dialog
   taller than the mobile viewport must start at the top and remain fully reachable. */
@media (max-width: 768px) {
  .ct-question-overlay {
    display:block;
    overflow-x:hidden;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    box-sizing:border-box;
    padding:max(14px, env(safe-area-inset-top)) 14px max(14px, env(safe-area-inset-bottom));
  }
  .ct-question-dialog {
    width:min(500px,100%);
    box-sizing:border-box;
    margin:0 auto;
  }
}

/* Stage 71.6.11 — Hero overlay color refinement.
   Slides 1, 2, 4 and 6 only: preserve the approved left-to-right fade geometry
   and contrast, but replace the near-black cast with Cutting Tech blue. */
.slide-machine::before,
.slide-apex::before,
.slide-reedge::before {
  background: linear-gradient(
    90deg,
    rgba(18, 52, 81, 1.00) 0%,
    rgba(18, 52, 81, .97) 30%,
    rgba(18, 52, 81, .78) 44%,
    rgba(18, 52, 81, .46) 58%,
    rgba(18, 52, 81, .27) 70%,
    rgba(18, 52, 81, .18) 82%,
    rgba(18, 52, 81, .12) 100%
  );
}

.slide-about::before {
  background: linear-gradient(90deg, rgba(18,52,81,.84) 0%, rgba(18,52,81,.58) 48%, rgba(18,52,81,.18) 100%);
}

@media (max-width: 768px) {
  .slide-machine::before,
  .slide-apex::before,
  .slide-reedge::before,
  .slide-about::before {
    background: linear-gradient(180deg, rgba(18,52,81,.95) 0%, rgba(18,52,81,.76) 60%, rgba(18,52,81,.42) 100%);
  }
}

/* Stage 71.6.12 — Mobile hero/slider visibility fix.
   At <=980px an earlier responsive rule sets .hero height:auto; at <=620px
   Stage 71.6 then reduced min-height to 0. Because hero slides are absolutely
   positioned, that combination collapses the hero container to zero height.
   Keep the existing slider implementation and give its mobile container a
   real viewport-based height so all six slides remain visible. */
@media (max-width: 620px) {
  .hero.hero-slider {
    height: calc(100svh - 72px);
    min-height: 620px;
  }
  @supports (height: 100dvh) {
    .hero.hero-slider {
      height: calc(100dvh - 72px);
    }
  }
}


/* Stage 71.6.14 — Stronger mobile contrast for photographic slides 2 and 4.
   Keep desktop and all other slides untouched. Increase only the CT-blue text
   shadow so white copy remains clearly readable across bright photo areas. */
@media (max-width: 768px) {
  .slide-apex h1,
  .slide-reedge h1 {
    text-shadow: 0 2px 7px rgba(16,43,69,.88);
  }

  .slide-apex .hero-description,
  .slide-reedge .hero-description {
    text-shadow: 0 2px 8px rgba(16,43,69,.96);
  }
}

/* Stage 71.6.16 — Mobile slider 1 video seam fix.
   Stage 71.6's generic mobile media rule applies max-width:100% to video,
   which was constraining the intentionally 120%-wide hero machine video while
   right:-20% remained active. That exposed a straight vertical strip at left.
   Preserve the approved hero framing and exempt only this video from that cap. */
@media (max-width: 980px) {
  .hero-machine-video {
    max-width: none;
  }
}

/* Stage 71.6.23 — mobile hero spacing refinement after full cascade review.
   Scope is explicit: slider 1 and slider 6 internal vertical spacing; slider 5
   moves only as one intact partnership block. No desktop rules are changed. */
@media (max-width: 620px) {
  /* One effective mobile CTA height. Base .hero-actions a padding/min-height is
     fully neutralized here so the visible height is actually 38px. */
  .hero .hero-actions a {
    box-sizing: border-box;
    height: 38px;
    min-height: 38px;
    max-height: 38px;
    padding-top: 0;
    padding-bottom: 0;
  }

  /* Slider 1 only. Keep the title untouched. Move description + CTAs lower as
     a unit, while tightening only the description-to-CTA gap. */
  .slide-machine .hero-description,
  .slide-machine .hero-actions {
    transform: translateY(100px);
  }
  .slide-machine .hero-actions {
    margin-top: 1rem;
    gap: .65rem;
  }

}

/* Slider 5 only. Preserve every internal position/spacing in the partnership
   composition and lift the complete block together, away from the controls. */
@media (max-width: 780px) {
  .slide-partnership .partnership-layout {
    transform: translateY(-44px);
  }
}

/* Stage 71.6.24 — phone-only final alignment for sliders 3 and 6.
   Desktop/tablet desktop layout is untouched. */
@media (max-width: 620px) {
  /* Slider 6 only: keep the lower copy/CTA as one block. Its internal vertical
     rhythm is tightened, then the complete block sits slightly higher so the
     CTA-to-controls margin matches slider 1 without touching the heading. */
  .slide-about .hero-description,
  .slide-about .hero-actions {
    transform: translateY(190px);
  }
  .slide-about .about-service-line,
  .slide-about .hero-actions {
    margin-top: .65rem;
  }

  /* Slider 3: restore a self-contained phone composition after the later generic
     hero mobile rules. Keep real side gutters, then scale the quote preview as a
     complete unit so its framed content remains visible instead of being cropped. */
  .slide-quote {
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 20px 1rem 82px;
  }
  .slide-quote .hero-content {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .slide-quote .hero-content h1 {
    font-size: 25px;
    line-height: 1.02;
    margin: 8px 0;
  }
  .slide-quote .hero-description {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.4;
  }
  .slide-quote .hero-actions {
    width: 100%;
    margin-top: 12px;
  }
  .slide-quote .hero-actions .primary-action {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .slide-quote .quote-demo.demo-builder {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
}

/* Stage 71.6.28 — phone-only spacing for sliders 2 and 4.
   Both slides have TWO CTA buttons, so they cannot reuse slider 6's 190px
   displacement (slider 6 has one CTA). Keep their headings untouched; move only
   description + actions, and tighten description-to-first-button / button gap. */
@media (max-width: 620px) {
  /* Slider 2 has a taller wrapped copy block than slider 4. Give its two CTA
     rows enough clearance above the fixed slider controls. */
  .slide-apex .hero-description,
  .slide-apex .hero-actions {
    transform: translateY(105px);
  }
  .slide-apex .hero-actions {
    margin-top: .65rem;
    gap: .65rem;
  }

  /* Slider 4 is approved at this exact mobile position; preserve it. */
  .slide-reedge .hero-description,
  .slide-reedge .hero-actions {
    transform: translateY(145px);
  }
  .slide-reedge .hero-actions {
    margin-top: .65rem;
    gap: .65rem;
  }
}

/* Stage 71.7.10 — Slider 3 layout contract.
   The slide and navigation are two real grid tracks. The preview is contained
   inside the available slide track; on short viewports its contents scroll,
   never paint over the navigation. No fixed-resolution scale adjustments. */
.hero.hero-slider:has(> .slide-quote.active) {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: calc(100svh - var(--header-height));
  min-height: 0;
  overflow: hidden;
}
.hero.hero-slider > .slide-quote.active {
  position: relative;
  inset: auto;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  padding: clamp(12px, 2vw, 30px) clamp(16px, 4vw, 64px);
  overflow: hidden;
}
.hero.hero-slider > .slide-quote.active .hero-content {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  max-height: 100%;
  overflow-y: auto;
}
.hero.hero-slider > .slide-quote.active .quote-demo.demo-builder {
  box-sizing: border-box;
  width: 100%;
  max-width: 830px;
  min-width: 0;
  max-height: 100%;
  min-height: 0;
  margin: 0;
  transform: none;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.hero.hero-slider:has(> .slide-quote.active) > .slider-controls {
  position: relative;
  inset: auto;
  align-self: center;
  justify-self: end;
  margin: 0 clamp(16px, 5vw, 80px) 16px 16px;
}
@media (max-width: 900px) {
  .hero.hero-slider > .slide-quote.active {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    justify-items: center;
    gap: 12px;
    padding: 12px 16px;
  }
  .hero.hero-slider > .slide-quote.active .hero-content,
  .hero.hero-slider > .slide-quote.active .quote-demo.demo-builder {
    width: 100%;
    max-width: 580px;
  }
}
