/* Holmlund Masonry — Architectural Brick & Stone Heritage (Est. 1907)
   Palette: Warm Limestone (#FAF8F5 / #F2EDE4), Kiln Terracotta (#9A3412 / #B4431D),
   Deep Mortar Charcoal (#1C1917 / #292524), Warm Sandstone/Brass (#A16207 / #D97706),
   Stone Border (#E2D9CC). */

:root {
  --limestone-50: #faf8f5;
  --limestone-100: #f2ede4;
  --limestone-200: #e8e0d4;
  --white: #ffffff;

  --terracotta-800: #7c2d12;
  --terracotta-700: #9a3412;
  --terracotta-600: #b4431d;
  --terracotta-500: #c2410c;
  --terracotta-200: #fed7aa;
  --terracotta-100: #ffedd5;
  --terracotta-50: #fff7ed;

  --charcoal-950: #1c1917;
  --charcoal-900: #292524;
  --charcoal-800: #37322f;
  --charcoal-700: #44403c;
  --charcoal-600: #57534e;
  --charcoal-500: #78716c;

  --brass-800: #78350f;
  --brass-700: #a16207;
  --brass-500: #d97706;
  --brass-400: #f59e0b;
  --brass-300: #fcd34d;
  --brass-100: #fef3c7;
  --brass-50: #fffbeb;

  --stone-border: #e2d9cc;
  --stone-border-strong: #cfc2af;
  --border-dark: rgba(255, 255, 255, 0.14);

  --danger-700: #991b1b;
  --danger-50: #fef2f2;
  --success-700: #166534;
  --success-50: #f0fdf4;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 10px rgba(28, 25, 23, 0.06), 0 1px 2px rgba(28, 25, 23, 0.04);
  --shadow-md: 0 16px 36px -14px rgba(28, 25, 23, 0.16);
  --shadow-lg: 0 26px 56px -18px rgba(28, 25, 23, 0.45);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--charcoal-950);
  background: var(--limestone-50);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-top: 0;
}

h3,
h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.28;
  margin-top: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--terracotta-600);
  outline-offset: 2px;
}

.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;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 120;
  background: var(--terracotta-700);
  color: var(--white);
  padding: 0.7rem 1.15rem;
  font-weight: 700;
  border-radius: 0 0 10px 0;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Utility Top Bar & Sticky Header
   ========================================================================== */

.top-bar {
  background: var(--terracotta-800);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1.25rem;
  min-height: 38px;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  flex-wrap: wrap;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: rgba(255, 255, 255, 0.94);
}

.top-bar-item svg {
  color: var(--brass-300);
  flex-shrink: 0;
}

.top-bar a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.heritage-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  padding: 0.18rem 0.62rem;
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.heritage-pill svg {
  color: var(--brass-300);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(28, 25, 23, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  flex-shrink: 0;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--limestone-50);
  border-radius: 8px;
  padding: 4px 7px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
}

.brand-mark img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.brand-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--white);
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d6d3d1;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-link {
  padding: 0.48rem 0.72rem;
  border-radius: var(--radius-xs);
  font-size: 0.89rem;
  font-weight: 600;
  color: #e7e5e4;
  transition: background-color 0.16s ease, color 0.16s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-link[aria-current="page"] {
  color: var(--white);
  background: rgba(154, 52, 18, 0.42);
  box-shadow: inset 0 -2px 0 var(--brass-400);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--white);
  padding: 0.46rem 0.72rem;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background-color 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}

.header-phone:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}

.header-phone svg {
  color: var(--brass-300);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  cursor: pointer;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

.mobile-nav {
  background: var(--charcoal-900);
  border-top: 1px solid var(--border-dark);
  padding: 1rem 0 1.4rem;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-inner > a {
  padding: 0.72rem 0.9rem;
  border-radius: var(--radius-xs);
  color: #f5f5f4;
  font-weight: 600;
  font-size: 0.96rem;
}

.mobile-nav-inner > a:hover,
.mobile-nav-inner > a[aria-current="page"] {
  background: rgba(154, 52, 18, 0.36);
  color: var(--white);
}

.mobile-nav-actions {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-dark);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.25;
  padding: 0.82rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.14s ease, background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  text-align: center;
  white-space: normal;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 0.56rem 0.98rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 1.5rem;
  font-size: 0.98rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--terracotta-700);
  color: var(--white);
  box-shadow: 0 8px 20px -8px rgba(154, 52, 18, 0.6);
}

.btn-primary:hover {
  background: var(--terracotta-800);
}

.btn-brass {
  background: var(--brass-700);
  color: var(--white);
  box-shadow: 0 8px 20px -8px rgba(161, 98, 7, 0.5);
}

.btn-brass:hover {
  background: var(--brass-800);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-dark {
  background: var(--charcoal-950);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--charcoal-800);
}

.btn-outline {
  background: var(--white);
  color: var(--charcoal-950);
  border-color: var(--stone-border-strong);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--terracotta-700);
  background: var(--limestone-100);
}

.btn-spinner {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: hm-spin 0.7s linear infinite;
}

.btn.is-loading .btn-spinner {
  display: inline-block;
}

.btn:disabled {
  opacity: 0.75;
  cursor: wait;
}

@keyframes hm-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   Hero & Page Hero (Architectural Masonry Motif)
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 18%, rgba(217, 119, 6, 0.16), transparent 44%),
    radial-gradient(circle at 12% 86%, rgba(154, 52, 18, 0.28), transparent 48%),
    linear-gradient(155deg, var(--charcoal-950) 0%, var(--charcoal-900) 62%, #241e1b 100%);
  color: var(--white);
  padding: 3.75rem 0 4.25rem;
  border-bottom: 4px solid var(--terracotta-700);
}

.hero-masonry-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to right, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 32px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 92%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.36rem 0.82rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f5f5f4;
  margin-bottom: 1.1rem;
}

.eyebrow-brick {
  width: 12px;
  height: 7px;
  border-radius: 2px;
  background: var(--brass-400);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.22);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2.15rem, 4.1vw, 3.25rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--brass-300);
  font-weight: 600;
}

.hero-lead {
  font-size: 1.06rem;
  line-height: 1.68;
  color: #e7e5e4;
  max-width: 58ch;
  margin: 0 0 1.65rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.hero-proof {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
  font-size: 0.9rem;
  color: #f5f5f4;
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-proof svg {
  color: var(--brass-300);
  flex-shrink: 0;
}

/* Archival Hero Card */
.hero-card {
  background: var(--limestone-50);
  color: var(--charcoal-950);
  border-radius: var(--radius-lg);
  border: 1px solid var(--stone-border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 490px;
  justify-self: end;
  width: 100%;
}

.hero-card-media {
  position: relative;
  background: var(--charcoal-900);
  padding: 0.85rem 0.85rem 0;
}

.hero-card-frame {
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 2px solid rgba(250, 248, 245, 0.85);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  background: #2b2119;
}

.hero-card-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-card-caption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.45;
  color: #e7e5e4;
  padding: 0.6rem 0.25rem 0.7rem;
  margin: 0;
}

.hero-card-body {
  padding: 1.15rem 1.3rem 1.25rem;
  background: var(--limestone-50);
}

.hero-card-meta {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.hero-card-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--stone-border);
}

.hero-card-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hero-card-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal-600);
}

.hero-card-val {
  display: block;
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--charcoal-950);
}

.hero-card-val a:hover {
  color: var(--terracotta-700);
  text-decoration: underline;
}

.hero-card-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
  background: var(--terracotta-50);
  border: 1px solid var(--terracotta-200);
  color: var(--terracotta-800);
  white-space: nowrap;
}

.hero-card-footer {
  display: grid;
  gap: 0.5rem;
}

.hero-card-note {
  margin: 0;
  font-size: 0.79rem;
  color: var(--charcoal-600);
  text-align: center;
}

/* Inner Page Hero */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 24%, rgba(217, 119, 6, 0.14), transparent 44%),
    linear-gradient(155deg, var(--charcoal-950) 0%, var(--charcoal-900) 100%);
  color: var(--white);
  padding: 3rem 0 3.25rem;
  border-bottom: 4px solid var(--terracotta-700);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #d6d3d1;
  margin-bottom: 0.85rem;
}

.breadcrumb a:hover {
  color: var(--white);
  text-decoration: underline;
}

.page-hero h1 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--brass-300);
  font-weight: 600;
}

.page-hero p {
  margin: 0;
  font-size: 1.04rem;
  color: #e7e5e4;
  max-width: 64ch;
}

/* ==========================================================================
   Trust Band & Sections
   ========================================================================== */

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--stone-border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-item {
  padding: 1.25rem 1.2rem;
  border-right: 1px solid var(--stone-border);
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.38rem;
  line-height: 1.15;
  color: var(--charcoal-950);
}

.trust-val span {
  color: var(--terracotta-700);
}

.trust-label {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--charcoal-600);
}

.section {
  padding: 4.25rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.section-limestone {
  background: var(--limestone-50);
}

.section-parchment {
  background: var(--limestone-100);
  border-top: 1px solid var(--stone-border);
  border-bottom: 1px solid var(--stone-border);
}

.section-white {
  background: var(--white);
  border-top: 1px solid var(--stone-border);
  border-bottom: 1px solid var(--stone-border);
}

.section-charcoal {
  background: linear-gradient(160deg, var(--charcoal-950) 0%, var(--charcoal-900) 100%);
  color: var(--white);
}

.section-header {
  max-width: 720px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.section-header-left {
  margin: 0 0 2.1rem;
  text-align: left;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.1rem;
}

.section-header-row .section-header {
  margin-bottom: 0;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta-700);
  margin-bottom: 0.45rem;
}

.section-charcoal .section-eyebrow {
  color: var(--brass-300);
}

.section-header h2,
.editorial-heading {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-bottom: 0.65rem;
}

.section-header p {
  margin: 0;
  color: var(--charcoal-700);
  font-size: 1.01rem;
}

.section-charcoal .section-header p {
  color: #d6d3d1;
}

.lead-statement {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--charcoal-950);
  margin: 0 0 0.85rem;
}

.inline-link {
  color: var(--terracotta-700);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-link:hover {
  color: var(--terracotta-800);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.split-layout-top {
  align-items: start;
}

/* ==========================================================================
   Core Services Grid (Home & Overview)
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-tile {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--stone-border);
  border-top: 3px solid var(--terracotta-700);
  border-radius: var(--radius-md);
  padding: 1.45rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.service-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--stone-border-strong);
}

.service-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--terracotta-50);
  color: var(--terracotta-700);
  border: 1px solid var(--terracotta-200);
  flex-shrink: 0;
}

.service-icon.is-brass {
  background: var(--brass-50);
  color: var(--brass-700);
  border-color: var(--brass-100);
}

.service-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal-600);
}

.service-tile h3 {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
  color: var(--charcoal-950);
}

.service-tile p {
  margin: 0 0 1rem;
  font-size: 0.93rem;
  color: var(--charcoal-700);
}

.service-tile-foot {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--limestone-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.card-action {
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--terracotta-700);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.card-action:hover {
  color: var(--terracotta-800);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Before & After Field Plates (Proportioned for Authentic 201-402px Photos)
   ========================================================================== */

.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.ba-card {
  background: var(--white);
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ba-card-head {
  padding: 1rem 1.3rem;
  background: var(--limestone-100);
  border-bottom: 1px solid var(--stone-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ba-card-head h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0;
  color: var(--charcoal-950);
}

.ba-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  padding: 1.15rem 1.25rem;
  background: var(--limestone-50);
  border-bottom: 1px solid var(--stone-border);
  justify-items: center;
  align-items: start;
}

.ba-pane {
  width: 100%;
  max-width: 215px;
  margin: 0;
}

.ba-pair.is-landscape .ba-pane {
  max-width: 265px;
}

.ba-frame {
  position: relative;
  background: var(--charcoal-900);
  border: 3px solid var(--white);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.ba-pair.is-portrait .ba-frame {
  aspect-ratio: 204 / 296;
}

.ba-pair.is-landscape .ba-frame {
  aspect-ratio: 4 / 3;
}

.ba-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-stamp {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(28, 25, 23, 0.86);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ba-stamp-after {
  background: var(--terracotta-700);
}

.ba-pane figcaption {
  margin-top: 0.45rem;
  font-size: 0.8rem;
  color: var(--charcoal-600);
  line-height: 1.4;
}

.ba-card-body {
  padding: 1.2rem 1.35rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ba-card-body p {
  margin: 0 0 0.9rem;
  font-size: 0.93rem;
  color: var(--charcoal-700);
}

.ba-specs {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.87rem;
  color: var(--charcoal-800);
}

.ba-specs li {
  position: relative;
  padding-left: 1.1rem;
}

.ba-specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--terracotta-700);
}

.ba-card-foot {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--limestone-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   6 Water-Vulnerable Areas Strip
   ========================================================================== */

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

.vuln-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 3px solid var(--brass-400);
  border-radius: var(--radius-md);
  padding: 1.35rem;
}

.vuln-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.22rem 0.58rem;
  border-radius: 999px;
  background: rgba(154, 52, 18, 0.55);
  border: 1px solid rgba(254, 215, 170, 0.28);
  color: var(--brass-300);
  margin-bottom: 0.75rem;
}

.vuln-card h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.vuln-card p {
  margin: 0;
  font-size: 0.91rem;
  color: #e7e5e4;
}

/* ==========================================================================
   Services Filter Bar & Detail Cards (with Specimen Photo Trays)
   ========================================================================== */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2rem;
}

.filter-pill {
  font-family: var(--font-sans);
  font-size: 0.87rem;
  font-weight: 700;
  padding: 0.56rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--stone-border-strong);
  background: var(--white);
  color: var(--charcoal-800);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.filter-pill:hover {
  border-color: var(--terracotta-700);
  color: var(--terracotta-800);
}

.filter-pill.is-active {
  background: var(--terracotta-700);
  border-color: var(--terracotta-700);
  color: var(--white);
}

.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.service-detail-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-md);
  padding: 1.55rem;
  box-shadow: var(--shadow-sm);
}

.service-detail-card[hidden] {
  display: none;
}

.service-detail-card.has-plate {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 265px;
  gap: 1.65rem;
  align-items: center;
}

.service-detail-card.has-plate[hidden] {
  display: none;
}

.service-detail-content {
  display: flex;
  flex-direction: column;
}

.service-detail-plate {
  background: var(--limestone-100);
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  text-align: center;
}

.plate-frame {
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-sm);
  background: var(--charcoal-900);
  margin: 0 auto;
}

.plate-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.plate-caption {
  margin: 0.65rem 0 0;
  font-size: 0.79rem;
  color: var(--charcoal-700);
  line-height: 1.4;
}

.service-detail-head {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

.service-detail-head h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0;
  color: var(--charcoal-950);
}

.service-detail-card p {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  color: var(--charcoal-700);
}

.service-bullets {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.91rem;
  color: var(--charcoal-800);
}

.service-bullets li {
  position: relative;
  padding-left: 1.2rem;
}

.service-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--terracotta-700);
}

.service-detail-foot {
  margin-top: auto;
  padding-top: 0.95rem;
  border-top: 1px solid var(--limestone-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tech-callout {
  background: var(--limestone-100);
  border-left: 4px solid var(--brass-700);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.89rem;
  color: var(--charcoal-800);
}

.tech-callout strong {
  color: var(--charcoal-950);
}

/* ==========================================================================
   Projects Page Field Plates Grid
   ========================================================================== */

.project-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.project-plate-card {
  background: var(--white);
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
}

.project-plate-card[hidden],
.ba-card[hidden] {
  display: none;
}

.project-plate-media {
  background: var(--limestone-100);
  padding: 1rem;
  border-right: 1px solid var(--stone-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.project-plate-media .plate-frame {
  max-width: 210px;
  width: 100%;
}

.project-plate-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
}

.project-plate-body h3 {
  font-family: var(--font-display);
  font-size: 1.24rem;
  margin: 0.35rem 0 0.55rem;
  color: var(--charcoal-950);
}

.project-plate-body p {
  margin: 0 0 0.9rem;
  font-size: 0.92rem;
  color: var(--charcoal-700);
}

/* ==========================================================================
   Waterproofing & Industrial Masonry Sealer
   ========================================================================== */

.sealer-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 2.25rem;
  align-items: start;
}

.sealer-pedestal {
  background: var(--white);
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.sealer-bottle-frame {
  max-width: 225px;
  margin: 0 auto 1rem;
  padding: 0.5rem;
  background: var(--white);
}

.sealer-bottle-frame img {
  margin: 0 auto;
}

.sealer-pricing-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.35rem 0;
}

.price-tier {
  background: var(--white);
  border: 1px solid var(--stone-border);
  border-top: 3px solid var(--terracotta-700);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.price-tier.is-featured {
  border-top-color: var(--brass-700);
  background: var(--brass-50);
}

.price-tier-amount {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--charcoal-950);
  line-height: 1.1;
}

.price-tier-unit {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--terracotta-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.price-tier-note {
  margin: 0.45rem 0 0;
  font-size: 0.87rem;
  color: var(--charcoal-700);
}

.spec-list {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1.25rem;
  font-size: 0.92rem;
  color: var(--charcoal-800);
}

.spec-list li {
  position: relative;
  padding-left: 1.25rem;
}

.spec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--terracotta-700);
}

/* ==========================================================================
   About Heritage Frames, Timeline, Credentials & Service Area
   ========================================================================== */

.archival-frame {
  background: var(--white);
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  box-shadow: var(--shadow-md);
}

.archival-mat {
  background: var(--limestone-100);
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-sm);
  padding: 0.8rem;
}

.archival-mat img {
  width: 100%;
  border-radius: 4px;
}

.archival-caption {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: var(--charcoal-700);
  line-height: 1.5;
}

.sign-card {
  background: var(--white);
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  max-width: 310px;
  margin: 0 auto;
}

.sign-frame {
  max-width: 230px;
  margin: 0 auto 0.9rem;
}

.timeline-list {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.4rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.timeline-year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--terracotta-700);
}

.timeline-item h3 {
  font-size: 1.02rem;
  margin-bottom: 0.25rem;
}

.timeline-item p {
  margin: 0;
  font-size: 0.91rem;
  color: var(--charcoal-700);
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.credential-card {
  background: var(--white);
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.credential-badge-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  background: var(--terracotta-50);
  border: 1px solid var(--terracotta-200);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--terracotta-800);
  margin-bottom: 0.8rem;
}

.credential-badge-mark.is-brass {
  background: var(--brass-50);
  border-color: var(--brass-100);
  color: var(--brass-800);
}

.credential-card h3 {
  font-size: 1.03rem;
  margin-bottom: 0.35rem;
}

.credential-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--charcoal-700);
}

.area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.area-pill {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.44rem 0.88rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--stone-border-strong);
  color: var(--charcoal-900);
}

/* ==========================================================================
   Contact Info, Estimate Policy, Forms & Map
   ========================================================================== */

.policy-callout {
  background: var(--brass-50);
  border: 1px solid #f3d9a4;
  border-left: 5px solid var(--terracotta-700);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  margin: 1.4rem 0;
}

.policy-callout strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--charcoal-950);
  margin-bottom: 0.28rem;
}

.policy-callout p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--charcoal-800);
}

.contact-numbers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.25rem 0;
}

.contact-num-card {
  background: var(--white);
  border: 1px solid var(--stone-border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}

.contact-num-card span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--charcoal-600);
  margin-bottom: 0.2rem;
}

.contact-num-card strong,
.contact-num-card a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal-950);
}

.contact-num-card a:hover {
  color: var(--terracotta-700);
  text-decoration: underline;
}

.info-list {
  display: grid;
  gap: 1.1rem;
  margin: 1.4rem 0;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--terracotta-50);
  color: var(--terracotta-700);
  border: 1px solid var(--terracotta-200);
  flex-shrink: 0;
}

.info-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--charcoal-950);
  margin-bottom: 0.12rem;
}

.info-item p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--charcoal-700);
}

.form-card {
  background: var(--white);
  border: 1px solid var(--stone-border);
  border-top: 4px solid var(--terracotta-700);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-md);
}

.form-card h2,
.form-card h3 {
  font-family: var(--font-display);
  font-size: 1.62rem;
  margin-bottom: 0.4rem;
  color: var(--charcoal-950);
}

.form-intro {
  margin: 0 0 1.3rem;
  font-size: 0.94rem;
  color: var(--charcoal-700);
}

.field-aux {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal-900);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: var(--charcoal-950);
  background: var(--limestone-50);
  border: 1px solid var(--stone-border-strong);
  border-radius: var(--radius-xs);
  padding: 0.68rem 0.82rem;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: var(--white);
  border-color: var(--terracotta-700);
}

.form-group textarea {
  min-height: 112px;
  resize: vertical;
}

.form-footer {
  margin-top: 1.15rem;
  display: grid;
  gap: 0.65rem;
}

.form-note {
  margin: 0;
  font-size: 0.83rem;
  color: var(--charcoal-600);
  text-align: center;
}

.form-status {
  padding: 0.78rem 0.95rem;
  border-radius: var(--radius-xs);
  font-size: 0.9rem;
  font-weight: 600;
}

.form-status.is-error {
  background: var(--danger-50);
  color: var(--danger-700);
  border: 1px solid #fecaca;
}

.form-success {
  text-align: center;
  padding: 1.5rem 0.75rem;
}

.form-success[hidden] {
  display: none;
}

.form-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--success-50);
  color: var(--success-700);
  border: 1px solid #bbf7d0;
  margin-bottom: 0.85rem;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.45rem;
}

.form-success p {
  margin: 0 0 1.2rem;
  color: var(--charcoal-700);
  font-size: 0.95rem;
}

.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--stone-border);
  box-shadow: var(--shadow-sm);
  background: var(--limestone-200);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

.cta-band {
  background: linear-gradient(125deg, var(--charcoal-950) 0%, #31231b 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  border-left: 5px solid var(--brass-400);
  box-shadow: var(--shadow-md);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-band h2,
.cta-band h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--white);
  margin: 0 0 0.35rem;
}

.cta-band p {
  margin: 0;
  color: #e7e5e4;
  max-width: 60ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--charcoal-950);
  color: #e7e5e4;
  border-top: 4px solid var(--terracotta-700);
  padding: 3.75rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: 2.25rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand-logo {
  display: inline-flex;
  background: var(--limestone-50);
  padding: 0.45rem 0.75rem;
  border-radius: 9px;
  margin-bottom: 0.95rem;
}

.footer-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  margin: 0 0 0.45rem;
}

.footer-about {
  margin: 0;
  font-size: 0.89rem;
  color: #d6d3d1;
  max-width: 34ch;
}

.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.9rem;
}

.footer-links,
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.52rem;
  font-size: 0.9rem;
}

.footer-links a:hover,
.footer-contact-list a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact-list strong {
  display: block;
  font-size: 0.76rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brass-300);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  font-size: 0.84rem;
  color: #d6d3d1;
}

.footer-powered {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.15s ease;
}

.footer-powered strong {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.15s ease;
}

.footer-powered:hover,
.footer-powered:focus-visible {
  color: var(--white);
}

.footer-powered:hover strong,
.footer-powered:focus-visible strong {
  color: var(--white);
}

.footer-powered-logo {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.footer-powered:hover .footer-powered-logo,
.footer-powered:focus-visible .footer-powered-logo {
  opacity: 1;
}

/* ==========================================================================
   404 Page
   ========================================================================== */

.error-hero {
  padding: 4rem 0;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.65rem;
}

/* ==========================================================================
   Responsive Breakpoints (Zero Overflow Down to 360px)
   ========================================================================== */

@media (max-width: 1060px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-layout,
  .split-layout,
  .sealer-layout {
    grid-template-columns: 1fr;
  }

  .hero-card {
    justify-self: start;
  }

  .services-grid,
  .vulns-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ba-grid,
  .project-showcase-grid {
    grid-template-columns: 1fr;
  }

  .credential-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .trust-item {
    border-bottom: 1px solid var(--stone-border);
  }

  .trust-item:nth-child(2n) {
    border-right: 0;
  }

  .services-detail-grid,
  .spec-list {
    grid-template-columns: 1fr;
  }

  .service-detail-card.has-plate {
    grid-template-columns: 1fr;
  }

  .service-detail-plate {
    max-width: 280px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }

  .brand {
    gap: 0.55rem;
    flex-shrink: 1;
  }

  .brand-mark {
    padding: 3px 6px;
  }

  .brand-mark img {
    height: 26px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-sub {
    font-size: 0.6rem;
  }

  .header-phone,
  .header-actions .btn-sm {
    display: none;
  }

  .top-bar-right {
    display: none;
  }

  .hero {
    padding: 2.85rem 0 3.1rem;
  }

  .section {
    padding: 3.1rem 0;
  }

  .services-grid,
  .vulns-grid,
  .credential-grid,
  .contact-numbers-grid,
  .sealer-pricing-row,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .project-plate-card {
    grid-template-columns: 1fr;
  }

  .project-plate-media {
    border-right: 0;
    border-bottom: 1px solid var(--stone-border);
  }

  .ba-pair {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .form-card {
    padding: 1.3rem;
  }

  .cta-band {
    padding: 1.5rem 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
