/*
Theme Name: A & A Building Specialties
Theme URI: https://aalab.epconsulting.services
Author: EP Consulting Services
Description: Custom first-pass theme for A & A Building Specialties.
Version: 1.3.1
Text Domain: aanda-specialties
*/

:root {
  --ink: #0a1729;
  --navy: #111f34;
  --slate: #1c304b;
  --paper: #f7f5f1;
  --white: #ffffff;
  --red: #cf202e;
  --red-dark: #a81723;
  --steel: #778399;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 64px rgba(4, 12, 24, 0.18);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.admin-bar .site-header { top: 32px; }

img { display: block; max-width: 100%; }

a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid #ffb0b7;
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 9999;
  padding: .75rem 1rem;
  color: var(--white);
  background: var(--red);
}

.skip-link:focus { top: 1rem; }

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

.trust-bar {
  color: var(--white);
  background: var(--ink);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.trust-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  gap: 1rem;
}

.trust-bar a { text-decoration: none; }

.trust-bar .address {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.address-link { text-underline-offset: .2em; }
.address-link:hover { text-decoration: underline; }
.trust-phone { font-weight: 850; white-space: nowrap; }

.phone-link {
  min-height: 44px;
  touch-action: manipulation;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  -webkit-tap-highlight-color: rgba(207, 32, 46, .22);
}

.trust-bar .phone-link { display: inline-flex; align-items: center; min-height: 38px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(10, 23, 41, .08);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 102px;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-width: 0;
  text-decoration: none;
}

.legacy-mark {
  display: flex;
  align-items: center;
  flex: 0 0 196px;
  width: 196px;
  height: 92px;
  background: transparent;
}

.legacy-mark img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.brand-copy { min-width: 0; line-height: 1.18; }

.brand-copy strong {
  display: block;
  font-size: .96rem;
}

.brand-copy span {
  display: block;
  margin-top: .22rem;
  color: #697387;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

.main-nav a {
  display: inline-flex;
  padding: .7rem .82rem;
  border-radius: 10px;
  color: #263247;
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav .current-menu-item a,
.main-nav .current_page_item a { color: var(--red); background: #fff3f4; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 690px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(207, 32, 46, .16), transparent 34%),
    linear-gradient(122deg, var(--ink) 0%, #14243b 54%, #334561 100%);
}

.hero::after {
  position: absolute;
  right: -10%;
  bottom: -36%;
  z-index: -1;
  width: 82%;
  height: 58%;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .025);
  content: "";
  transform: rotate(-7deg);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, .8fr);
  align-items: end;
  gap: 4rem;
  min-height: 690px;
  padding-block: 7rem 6rem;
}

.eyebrow {
  margin: 0 0 1.35rem;
  color: #ff8d97;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6.3rem);
  line-height: .92;
  letter-spacing: -.065em;
}

.hero .lede {
  max-width: 700px;
  margin: 1.65rem 0 0;
  color: #e8edf5;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .75rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 11px;
  color: var(--white);
  font-weight: 850;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.button:hover { transform: translateY(-2px); }

.button.primary { border-color: var(--red); background: var(--red); box-shadow: 0 16px 34px rgba(207, 32, 46, .22); }
.button.primary:hover { border-color: var(--red-dark); background: var(--red-dark); }
.button.dark { border-color: var(--ink); background: var(--ink); }

.hero-card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 21, 39, .78);
  box-shadow: var(--shadow);
}

.hero-card .kicker {
  color: #aab6c9;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-card h2 { margin: .7rem 0 .6rem; font-size: 1.45rem; line-height: 1.25; }
.hero-card h2 a { margin-top: 0; }
.hero-address-link { text-decoration: none; }
.hero-address-link:hover { text-decoration: underline; }
.hero-card p { margin: 0; color: #ccd5e3; }
.hero-card a { display: inline-block; margin-top: 1.25rem; font-weight: 850; text-underline-offset: .22em; }

.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section.white { background: var(--white); }
.section.ink { color: var(--white); background: var(--ink); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(300px, 1.2fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 2.6rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.section-heading p { max-width: 670px; margin: 0; color: #526078; font-size: 1.06rem; }
.ink .section-heading p { color: #b8c3d3; }

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

.card {
  padding: 1.65rem;
  border: 1px solid #e2e5e9;
  border-radius: 17px;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(10, 23, 41, .06);
}

.card .number { color: var(--red); font-size: .75rem; font-weight: 900; letter-spacing: .14em; }
.card h3 { margin: .8rem 0 .55rem; font-size: 1.25rem; line-height: 1.2; }
.card p { margin: 0; color: #5d687b; }
.icon-card { position: relative; overflow: hidden; }
.icon-card::after { position: absolute; right: -28px; bottom: -34px; width: 110px; height: 110px; border-radius: 50%; background: rgba(207, 32, 46, .045); content: ""; }
.icon-card > img { width: 58px; height: 58px; margin-bottom: 1.15rem; object-fit: contain; image-rendering: auto; }
.product-card-link { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.product-card-link:hover, .product-card-link:focus-visible { transform: translateY(-4px); border-color: rgba(207, 32, 46, .35); box-shadow: 0 18px 44px rgba(10, 23, 41, .12); }
.product-card-link:focus-visible { outline: 3px solid rgba(207, 32, 46, .32); outline-offset: 4px; }
.card-link-cue { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.1rem; color: var(--red); font-size: .82rem; font-weight: 900; letter-spacing: .04em; }
.card-link-cue span { font-size: 1.05rem; transition: transform .2s ease; }
.product-card-link:hover .card-link-cue span, .product-card-link:focus-visible .card-link-cue span { transform: translateX(4px); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; align-items: stretch; }
.split > * { min-width: 0; }

.feature-panel {
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #14243b;
}

.feature-panel h2 { margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -.045em; }
.feature-panel p { color: #c1ccda; }

.check-list { display: grid; gap: .85rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.8rem; color: #e8edf5; }
.check-list li::before { position: absolute; left: 0; color: #ff6976; font-weight: 900; content: "✓"; }

.photo-card { overflow: hidden; min-height: 440px; border-radius: var(--radius); background: #d5d8dc; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }

.location-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 1rem; }
.location-grid .photo-card:first-child { min-height: 480px; }

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.2rem;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--red);
}

.contact-strip h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.8rem); line-height: 1.05; }
.contact-strip p { margin: .45rem 0 0; color: #ffe9eb; }
.contact-strip .button { flex: 0 0 auto; background: var(--ink); border-color: var(--ink); }

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 10vw, 9rem);
  color: var(--white);
  background: linear-gradient(125deg, var(--ink), #273b58);
}

.page-hero h1 { max-width: 920px; font-size: clamp(3.2rem, 7vw, 5.8rem); }
.page-hero p { max-width: 720px; margin: 1.5rem 0 0; color: #d4dce8; font-size: 1.16rem; }

.page-hero-products { padding-block: clamp(4.5rem, 8vw, 7rem); }
.product-showcase { padding-block: clamp(1.5rem, 3vw, 2.5rem) 0; background: var(--paper); }
.wide-photo { position: relative; overflow: hidden; aspect-ratio: 16 / 7; margin: 0; border-radius: 26px; background: #d8dce1; box-shadow: var(--shadow); }
.wide-photo::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 14, 27, .78)); content: ""; pointer-events: none; }
.wide-photo img { width: 100%; height: 100%; object-fit: cover; }
.wide-photo figcaption { position: absolute; left: clamp(1.2rem, 3vw, 2.2rem); right: clamp(1.2rem, 3vw, 2.2rem); bottom: clamp(1.2rem, 3vw, 2rem); z-index: 1; color: #e7edf5; }
.wide-photo figcaption strong { display: block; color: var(--white); font-size: clamp(1.25rem, 2.4vw, 2rem); line-height: 1.1; }
.product-intro { padding-block: 2.5rem 1rem; }
.product-intro-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid #dfe3e8; border-radius: 18px; background: var(--white); box-shadow: 0 12px 34px rgba(10,23,41,.05); }
.product-intro-grid div { display: flex; flex-direction: column; justify-content: center; min-height: 118px; padding: 1.4rem 2rem; border-right: 1px solid #e4e7eb; }
.product-intro-grid div:last-child { border-right: 0; }
.product-intro-grid strong { color: var(--red); font-size: 1.7rem; line-height: 1; }
.product-intro-grid span { margin-top: .45rem; color: #536078; font-size: .92rem; }
.products-section { padding-top: clamp(2.25rem, 4vw, 3.5rem); }
.product-heading .eyebrow { color: var(--red); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.product-item { position: relative; overflow: hidden; min-height: 230px; padding: 1.65rem; border: 1px solid #e0e4e9; border-radius: 18px; background: var(--white); box-shadow: 0 12px 34px rgba(10,23,41,.06); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.product-item::after { position: absolute; right: -34px; bottom: -42px; width: 130px; height: 130px; border-radius: 50%; background: linear-gradient(145deg, rgba(207,32,46,.08), rgba(17,31,52,.025)); content: ""; }
.product-item:hover { transform: translateY(-4px); border-color: #cfd5dd; box-shadow: 0 20px 46px rgba(10,23,41,.1); }
.product-icon { width: 58px; height: 58px; margin-bottom: 1.1rem; object-fit: contain; }
.product-item h2 { position: relative; z-index: 1; margin: 0 0 .45rem; font-size: 1.18rem; }
.product-item p { margin: 0; color: #617086; }
.product-service-bridge { padding-block: clamp(1rem, 3vw, 2rem) clamp(4rem, 8vw, 7rem); }
.product-service-panel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(1.3rem, 4vw, 3rem); padding: clamp(1.6rem, 4vw, 3rem); overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; color: var(--white); background: radial-gradient(circle at 88% 10%, rgba(207,32,46,.2), transparent 30%), linear-gradient(125deg, #0a1729, #1c304b); box-shadow: var(--shadow); }
.product-service-icon { display: grid; place-items: center; width: 82px; height: 82px; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: rgba(255,255,255,.08); backdrop-filter: blur(14px); }
.product-service-icon img { width: 54px; height: 54px; object-fit: contain; }
.product-service-copy .eyebrow { margin-bottom: .65rem; }
.product-service-copy h2 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1; letter-spacing: -.045em; }
.product-service-copy > p:last-child { max-width: 760px; margin: .85rem 0 0; color: #cbd5e3; }
.product-service-panel .button { min-width: 190px; text-align: center; }

.supplier-hero { background: radial-gradient(circle at 82% 12%, rgba(207,32,46,.22), transparent 32%), linear-gradient(125deg, #081526, #1b304c 64%, #3b4d67); }
.supplier-hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); align-items: end; gap: clamp(2rem, 6vw, 5rem); }
.supplier-hero-card { padding: 1.7rem; border: 1px solid rgba(255,255,255,.18); border-radius: 22px; background: rgba(255,255,255,.08); box-shadow: 0 24px 70px rgba(2,8,18,.25); backdrop-filter: blur(18px); }
.supplier-hero-card span { display: block; color: #ff9099; font-size: clamp(2.6rem, 5vw, 4.6rem); font-weight: 900; line-height: .9; letter-spacing: -.06em; }
.supplier-hero-card strong { display: block; margin-top: .7rem; color: var(--white); font-size: 1.2rem; }
.supplier-hero-card p { margin: .55rem 0 0; color: #d6deea; font-size: .94rem; }
.supplier-jump { position: sticky; top: 102px; z-index: 30; border-bottom: 1px solid rgba(10,23,41,.08); background: rgba(247,245,241,.9); backdrop-filter: blur(18px); }
body.admin-bar .supplier-jump { top: 134px; }
.supplier-jump-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 68px; }
.supplier-jump-inner > span { color: #68758a; font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.supplier-jump nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .35rem; }
.supplier-jump a { padding: .5rem .7rem; border-radius: 999px; color: #334057; font-size: .8rem; font-weight: 800; text-decoration: none; }
.supplier-jump a:hover { color: var(--red); background: rgba(207,32,46,.08); }
.supplier-section { scroll-margin-top: 190px; padding-block: clamp(3.5rem, 7vw, 6rem); }
.supplier-section:nth-of-type(even) { background: rgba(255,255,255,.66); }
.supplier-section-heading { margin-bottom: 2rem; }
.supplier-section-heading .eyebrow { margin-bottom: .65rem; color: var(--red); }
.supplier-section-heading h2 { margin: 0; font-size: clamp(2.15rem, 4.3vw, 4rem); line-height: 1; letter-spacing: -.05em; }
.supplier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.supplier-card { position: relative; display: flex; flex-direction: column; min-height: 330px; padding: 1.35rem; overflow: hidden; border: 1px solid rgba(255,255,255,.7); border-radius: 22px; color: var(--ink); background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(246,248,251,.74)); box-shadow: 0 18px 45px rgba(10,23,41,.075), inset 0 1px 0 rgba(255,255,255,.92); text-decoration: none; backdrop-filter: blur(16px); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.supplier-card::before { position: absolute; right: -54px; bottom: -62px; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, rgba(207,32,46,.1), transparent 68%); content: ""; pointer-events: none; }
.supplier-card:hover { transform: translateY(-5px); border-color: rgba(207,32,46,.25); box-shadow: 0 26px 58px rgba(10,23,41,.13), inset 0 1px 0 rgba(255,255,255,.98); }
.supplier-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.supplier-logo-frame { display: grid; place-items: center; width: min(100%, 220px); height: 88px; padding: .8rem 1rem; border: 1px solid rgba(10,23,41,.08); border-radius: 16px; background: rgba(255,255,255,.82); box-shadow: inset 0 1px 0 rgba(255,255,255,1); }
.supplier-logo { width: auto; max-width: 100%; height: auto; max-height: 58px; object-fit: contain; }
.supplier-logo-wide { max-height: 48px; }
.supplier-wordmark { color: #152744; font-size: clamp(1.05rem, 2.2vw, 1.5rem); font-weight: 950; letter-spacing: .07em; line-height: 1; text-align: center; }
.supplier-external { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border: 1px solid rgba(10,23,41,.1); border-radius: 50%; color: #6c788c; background: rgba(255,255,255,.72); font-size: .82rem; transition: color .2s ease, transform .2s ease, border-color .2s ease; }
.supplier-card:hover .supplier-external { color: var(--red); border-color: rgba(207,32,46,.3); transform: translate(2px,-2px); }
.supplier-note { align-self: flex-start; margin-top: 1rem; padding: .28rem .55rem; border-radius: 999px; color: var(--red-dark); background: #fff0f1; font-size: .66rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.supplier-card h3 { margin: 1.15rem 0 .45rem; font-size: 1.28rem; line-height: 1.15; }
.supplier-card p { margin: 0 0 1.1rem; color: #5e6b80; font-size: .94rem; }
.supplier-link-label { position: relative; z-index: 1; margin-top: auto; color: var(--red); font-size: .82rem; font-weight: 900; }
.supplier-link-label span { display: inline-block; transition: transform .18s ease; }
.supplier-card:hover .supplier-link-label span { transform: translateX(4px); }
.supplier-contact-section { padding-top: clamp(3rem, 6vw, 5rem); }

.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.cert { padding: 1.8rem; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; background: #14243b; }
.cert img { width: 50px; height: 50px; margin-bottom: 1rem; object-fit: contain; }
.cert strong { display: block; color: #ff8993; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.cert h2 { margin: .8rem 0 0; font-size: 1.3rem; }

.prose { max-width: 820px; }
.prose h2 { margin: 2.2rem 0 .8rem; font-size: 2rem; line-height: 1.15; }
.prose p { color: #4e5b70; font-size: 1.06rem; }

.staff-intro { max-width: 780px; margin-bottom: clamp(2rem, 5vw, 4rem); }
.staff-intro h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -.04em; }
.staff-intro p:not(.eyebrow) { color: #526077; font-size: 1.06rem; }
.staff-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; }
.staff-card { min-height: 270px; overflow: hidden; border: 1px solid #dfe3e8; border-radius: 18px; background: var(--white); box-shadow: 0 16px 42px rgba(10,23,41,.07); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.staff-card:hover { transform: translateY(-3px); border-color: rgba(207,32,46,.35); box-shadow: 0 21px 50px rgba(10,23,41,.12); }
.staff-card-link { display: flex; flex-direction: column; min-height: 270px; height: 100%; padding: clamp(1.5rem, 3vw, 2rem); text-decoration: none; }
.staff-card-link:focus-visible { outline: 3px solid var(--red); outline-offset: -5px; }
.staff-initials { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid rgba(207,32,46,.18); border-radius: 16px; color: var(--red); background: #fff4f4; font-size: 1.15rem; font-weight: 900; letter-spacing: .04em; }
.staff-card h2 { margin: 1.2rem 0 .45rem; font-size: 1.45rem; line-height: 1.1; }
.staff-card p { margin: 0 0 1.4rem; color: #5b687c; }
.staff-card .staff-contact-button { align-self: flex-start; margin-top: auto; color: var(--white); border-color: var(--red); background: var(--red); box-shadow: 0 10px 24px rgba(207,32,46,.2); }
.staff-card-link:hover .staff-contact-button { border-color: var(--red-dark); background: var(--red-dark); }
.staff-card.sales-card { color: var(--white); border-color: var(--ink); background: var(--ink); }
.staff-card.sales-card p { color: #c7d0de; }
.staff-card.sales-card .staff-initials { color: #ff8c95; border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.07); }

.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.contact-card { padding: 1.7rem; border: 1px solid #e2e5e9; border-radius: 16px; background: var(--white); }
.contact-card > span { display: block; color: var(--steel); font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.contact-card a, .contact-card strong { display: inline-flex; align-items: center; margin-top: .55rem; font-size: 1.23rem; font-weight: 850; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.contact-card .contact-address-link { align-items: flex-end; gap: .4rem; }
.contact-address-copy { line-height: 1.55; }
.external-arrow { flex: 0 0 auto; padding-bottom: .12em; font-size: .78em; line-height: 1; text-decoration: none; }

.contact-layout { display: grid; grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-details > h2, .form-panel > h2 { margin: 0; font-size: clamp(2rem, 3.5vw, 3.25rem); line-height: 1; letter-spacing: -.04em; }
.contact-details > p:not(.eyebrow) { color: #536078; font-size: 1.04rem; }
.contact-details .contact-cards { grid-template-columns: 1fr; margin-top: 2rem; }
.contact-photo { overflow: hidden; aspect-ratio: 16 / 10; margin: 1rem 0 0; border-radius: 18px; background: #d8dce1; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.form-panel { padding: clamp(1.5rem, 4vw, 2.6rem); border: 1px solid #dfe3e8; border-radius: 22px; background: #fbfbfa; box-shadow: 0 22px 60px rgba(10,23,41,.1); }
.contact-form { display: grid; gap: 1rem; margin-top: 1.8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: grid; gap: .42rem; color: #27344a; font-size: .86rem; font-weight: 800; }
.contact-form label span { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.contact-form label em { color: #7a8495; font-size: .68rem; font-style: normal; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #cdd3db; border-radius: 10px; color: var(--ink); background: var(--white); font: inherit; font-weight: 500; }
.contact-form input, .contact-form select { min-height: 48px; padding: .7rem .8rem; }
.contact-form textarea { min-height: 160px; padding: .8rem; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--red); outline: 3px solid rgba(207,32,46,.12); }
.fluent-contact-form .ff-el-group { margin-bottom: 1rem; }
.fluent-contact-form .ff-el-input--label label { color: #27344a; font-size: .86rem; font-weight: 800; }
.fluent-contact-form .ff-el-form-control { width: 100%; min-height: 48px; border: 1px solid #cdd3db; border-radius: 10px; color: var(--ink); background: var(--white); font: inherit; font-weight: 500; box-shadow: none; }
.fluent-contact-form textarea.ff-el-form-control { min-height: 160px; padding: .8rem; resize: vertical; }
.fluent-contact-form .ff-el-form-control:focus { border-color: var(--red); outline: 3px solid rgba(207,32,46,.12); box-shadow: none; }
.fluent-contact-form .ff-btn-submit { min-height: 48px; padding: .75rem 1.15rem; border: 0; border-radius: 9px; color: var(--white); background: var(--red) !important; font: inherit; font-weight: 850; cursor: pointer; }
.fluent-contact-form .ff-btn-submit:hover { filter: brightness(.93); }
.fluent-contact-form .ff-el-is-error .ff-el-form-control { border-color: #b42330; }
.fluent-contact-form .error.text-danger, .fluent-contact-form .ff-el-is-error .text-danger { color: #8d1d28; font-size: .8rem; font-weight: 700; }
.fluent-contact-form .ff-message-success { padding: 1rem 1.1rem; border: 1px solid #b6dfc5; border-radius: 10px; color: #174f2d; background: #eef9f2; box-shadow: none; }
.submit-button { border: 0; cursor: pointer; font: inherit; }
.form-note { margin: -.25rem 0 0; color: #69758a; font-size: .8rem; }
.form-notice { margin-top: 1.2rem; padding: 1rem 1.1rem; border-radius: 10px; font-size: .92rem; }
.form-notice strong { display: block; }
.form-notice.success { border: 1px solid #b6dfc5; color: #174f2d; background: #eef9f2; }
.form-notice.error { border: 1px solid #efc2c6; color: #82202a; background: #fff3f4; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.location-section { padding-block: clamp(1rem, 3vw, 2.5rem) clamp(4rem, 8vw, 7rem); background: var(--white); }
.apple-maps-card {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr);
  min-height: 360px;
  overflow: hidden;
  border: 1px solid #dce1e7;
  border-radius: 24px;
  color: var(--ink);
  background: #f8f7f4;
  box-shadow: 0 22px 58px rgba(10,23,41,.1);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.apple-maps-card:hover { transform: translateY(-3px); box-shadow: 0 28px 68px rgba(10,23,41,.14); }
.map-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4rem); }
.map-copy .eyebrow { color: var(--red); }
.map-copy > strong { display: block; max-width: 520px; font-size: clamp(2rem, 4vw, 3.8rem); line-height: .98; letter-spacing: -.045em; }
.map-copy > span:not(.eyebrow):not(.map-action) { margin-top: 1rem; color: #56657a; font-size: 1.06rem; }
.map-action { display: inline-flex; align-items: center; align-self: flex-start; gap: .45rem; min-height: 48px; margin-top: 1.65rem; padding: .65rem 1rem; border-radius: 10px; color: var(--white); background: var(--red); font-size: .92rem; font-weight: 850; }
.map-art { position: relative; min-height: 360px; overflow: hidden; background: #31465e; }
.map-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transition: transform .3s ease; }
.apple-maps-card:hover .map-art img { transform: scale(1.015); }
.directions-link { display: inline-flex; align-items: center; min-height: 48px; margin-top: .9rem; color: #43536b; font-size: .9rem; font-weight: 800; text-underline-offset: .22em; }

.about-highlights { padding-block: 0 2.5rem; background: var(--white); }
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid #dfe3e8; border-radius: 18px; background: var(--paper); }
.highlight-grid article { display: grid; grid-template-columns: 50px 1fr; column-gap: 1rem; align-items: center; padding: 1.5rem; border-right: 1px solid #dfe3e8; }
.highlight-grid article:last-child { border-right: 0; }
.highlight-grid img { grid-row: 1 / 3; width: 50px; height: 50px; object-fit: contain; }
.highlight-grid strong { line-height: 1.2; }
.highlight-grid span { color: #617086; font-size: .84rem; }

.site-footer { padding-block: 3rem; color: #b7c2d1; background: #06101f; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: start; }
.site-footer strong { color: var(--white); }
.site-footer p { margin: .4rem 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { text-underline-offset: .22em; }
.icon-credit { font-size: .75rem; }
.icon-credit a { color: #8f9bb0; text-underline-offset: .18em; }

.not-found { min-height: 60vh; padding-block: 7rem; }

@media (max-width: 900px) {
  body.admin-bar .site-header { top: 46px; }
  .site-header { position: static; }
  .site-header .wrap { align-items: flex-start; flex-direction: column; padding-block: 1rem; gap: .8rem; }
  .main-nav { width: 100%; overflow-x: auto; }
  .main-nav ul { width: max-content; }
  .hero .wrap, .section-heading, .split, .location-grid, .contact-layout, .supplier-hero-grid, .product-service-panel { grid-template-columns: 1fr; }
  .product-service-panel { align-items: start; }
  .product-service-panel .button { justify-self: start; }
  .hero .wrap { align-items: center; gap: 2rem; padding-block: 5rem; }
  .card-grid, .product-grid, .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .supplier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .supplier-jump, body.admin-bar .supplier-jump { top: 0; }
  .highlight-grid { grid-template-columns: 1fr; }
  .highlight-grid article { border-right: 0; border-bottom: 1px solid #dfe3e8; }
  .highlight-grid article:last-child { border-bottom: 0; }
  .apple-maps-card { grid-template-columns: 1fr; }
  .map-art { min-height: 290px; }
}

@media (max-width: 620px) {
  .trust-bar .wrap { align-items: flex-start; flex-direction: column; gap: .15rem; padding-block: .55rem; }
  .trust-bar .address { align-items: flex-start; flex-direction: column; gap: 0; }
  .trust-bar .phone-link { min-height: 34px; }
  .brand-copy { display: none; }
  .legacy-mark { flex-basis: 180px; width: 180px; height: 86px; }
  .main-nav { overflow: visible; }
  .main-nav ul { width: 100%; flex-wrap: wrap; gap: .1rem; }
  .main-nav a { padding: .55rem .65rem; font-size: .84rem; }
  .hero { min-height: auto; }
  .hero h1, .page-hero h1 { font-size: clamp(2.8rem, 14vw, 4.3rem); }
  .hero .wrap { min-height: auto; }
  .card-grid, .product-grid, .cert-grid, .contact-cards, .form-row, .product-intro-grid { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: 1fr; }
  .supplier-grid { grid-template-columns: 1fr; }
  .supplier-jump { position: static; }
  .supplier-jump-inner { align-items: flex-start; flex-direction: column; gap: .55rem; padding-block: .8rem; }
  .supplier-jump nav { justify-content: flex-start; }
  .supplier-jump a { padding: .4rem .55rem; }
  .supplier-card { min-height: 300px; }
  .product-service-icon { width: 70px; height: 70px; }
  .product-service-panel .button { width: 100%; }
  .wide-photo { aspect-ratio: 4 / 3; border-radius: 18px; }
  .product-intro-grid div { min-height: auto; border-right: 0; border-bottom: 1px solid #e4e7eb; }
  .product-intro-grid div:last-child { border-bottom: 0; }
  .contact-strip, .footer-grid { align-items: flex-start; flex-direction: column; display: flex; }
  .contact-strip .button { width: 100%; }
  .apple-maps-card { min-height: 0; border-radius: 18px; }
  .map-copy { padding: 2rem 1.35rem; }
  .map-art { min-height: 240px; }
}

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