/* ============================================================
   ZEPHYR CABINETS — stylesheet
   Design language: engineered / technical / industrial-premium.
   Deliberately distinct from RCC Cabinets' warm navy+brass+serif
   "quiet luxury" system — Zephyr uses a cool graphite/steel/cyan
   palette, geometric grotesk display type, monospace data accents,
   square (non-rounded) geometry, and a blueprint/grid motif.
   ============================================================ */

:root {
  /* core palette — graphite + steel + signal cyan, deepened with a genuine
     walnut/timber accent for material warmth (cabinetry = wood, not polished
     metal — kept distinct from RCC's navy+brass system) */
  --ink: #0e1217;          /* deepened near-black graphite — header/footer/dark sections */
  --ink-2: #1b2127;        /* slightly lifted dark surface */
  --steel: #3c4a57;        /* steel-blue-grey, mid tone */
  --steel-light: #6b7f8f;  /* lighter steel for secondary text on dark */
  --cyan: #1fc9c2;         /* signal accent — "performance" cyan-teal, slightly richer/more saturated */
  --cyan-dark: #138c87;
  --walnut: #8a5a34;       /* rich walnut wood accent — the "cabinet" warmth note */
  --walnut-light: #c69467; /* lighter walnut for text/labels on dark surfaces */
  --walnut-dark: #5e3c22;  /* deep walnut for gradients/shadows */
  --paper: #f5f2ee;        /* warm-neutral light surface — section background, slight timber warmth */
  --white: #ffffff;
  --text: #171b1f;
  --text-light: #556270;
  --border: #dde2e3;
  --radius: 0px;           /* sharp/square geometry — contrast to RCC's soft 2px */
  --maxw: 1200px;
  --shadow: 0 18px 44px rgba(15, 10, 5, 0.22);

  --font-display: 'Space Grotesk', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  font-style: normal !important;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.max-640 { max-width: 640px; }
.text-center { text-align: center; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 16px;
  letter-spacing: -0.015em;
}
h1 { font-size: 54px; }
h2 { font-size: 35px; }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0 0 16px; color: var(--text-light); font-size: 15.5px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-dark);
  margin-bottom: 10px;
}
section.section .container > .eyebrow,
section .container > .eyebrow {
  display: block;
  text-align: center;
}

/* ---------- top bar ---------- */
.top-bar {
  background: var(--ink);
  color: var(--steel-light);
  font-size: 13px;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 9px;
  padding-bottom: 9px;
  flex-wrap: wrap;
  gap: 6px;
}
.top-bar a { color: #cfd8dd; }
.top-bar a:hover { color: var(--cyan); }

/* ---------- header / nav ---------- */
.site-header {
  background: var(--ink);
  border-bottom: 1px solid #262d34;
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--white);
  text-transform: uppercase;
}
.logo span { color: var(--cyan); }
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-plate {
  display: flex;
  align-items: center;
  background: var(--white);
  padding: 8px 14px;
  border-left: 3px solid var(--cyan);
}
.texas-star-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  padding: 3px;
  height: 54px;
  width: 54px;
  border-bottom: 3px solid var(--cyan);
  transition: transform 0.15s ease;
  flex-shrink: 0;
}
.texas-star-badge:hover {
  transform: scale(1.06);
}
.texas-star-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.logo-img {
  display: block;
  height: 52px;
  width: 150px;
  background-image: url('../assets/zephyr-logo.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  image-rendering: -webkit-optimize-contrast;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav ul {
  display: flex;
  gap: 28px;
}
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  color: #d7dde1;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--cyan);
}
.has-dropdown .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--ink-2);
  border: 1px solid #2a323a;
  min-width: 230px;
  padding: 6px 0;
  display: none;
  box-shadow: var(--shadow);
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a {
  display: block;
  padding: 10px 18px;
  font-size: 13.5px;
  color: #c7ced3;
}
.dropdown li a:hover { background: var(--ink); color: var(--cyan); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #353d45;
  color: var(--white);
  font-size: 20px;
  padding: 6px 10px;
  cursor: pointer;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn--cyan { background: var(--cyan); color: #06201f; box-shadow: 0 10px 26px rgba(31,201,194,0.28); }
.btn--cyan:hover { background: var(--cyan-dark); box-shadow: 0 14px 32px rgba(31,201,194,0.4); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--white); border-color: rgba(198,148,103,0.55); }
.btn--outline:hover { border-color: var(--walnut-light); color: var(--walnut-light); box-shadow: 0 10px 28px rgba(138,90,52,0.35); transform: translateY(-1px); }
.btn--navy-outline { background: transparent; color: var(--ink); border-color: var(--walnut); }
.btn--navy-outline:hover { background: var(--walnut); border-color: var(--walnut); color: var(--white); box-shadow: 0 10px 24px rgba(138,90,52,0.3); }
.nav-cta { padding: 10px 20px; font-size: 12.5px; }

/* ---------- hero (asymmetric split + data panel — distinct from RCC's split-photo hero
   and Zebra's full-bleed photo-overlay hero: Zephyr's right panel is a data/stat rail
   over a blueprint grid, not a product photo) ---------- */
.hero {
  background: var(--ink);
  color: var(--white);
  padding: 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: 540px;
}
.hero-text {
  padding: 88px 56px 64px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-text .eyebrow { color: var(--cyan); display: block; }
.hero-text h1 { color: var(--white); font-size: 56px; margin-bottom: 18px; }
.hero-text .lead { color: #c3ccd2; font-size: 17px; max-width: 480px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-datapanel {
  position: relative;
  border-left: 1px solid #2a323a;
  background-image:
    repeating-linear-gradient(0deg, rgba(198,148,103,0.16) 0, rgba(198,148,103,0.16) 1px, transparent 1px, transparent 54px),
    repeating-linear-gradient(90deg, rgba(198,148,103,0.16) 0, rgba(198,148,103,0.16) 1px, transparent 1px, transparent 54px),
    url('../assets/images/hero_cabinetry_bg.jpg');
  background-size: 54px 54px, 54px 54px, cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  box-shadow: inset 0 0 90px rgba(0,0,0,0.5);
}
.hero-datapanel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(195deg, rgba(94,60,34,0.38), rgba(14,18,23,0.95));
}
.stat-rail { position: relative; z-index: 1; width: 100%; }
.stat-rail-item { padding: 22px 36px; border-top: 1px solid rgba(255,255,255,0.14); }
.stat-rail-item:first-child { border-top: none; }
.stat-rail .stat-num { font-family: var(--font-mono); font-size: 27px; font-weight: 600; color: var(--cyan); display: block; }
.stat-rail .stat-label { font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel-light); }

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section--grey { background: var(--paper); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark p { color: var(--steel-light); }
.section--dark h2 { color: var(--white); }
.section > .container > .eyebrow + h2,
.section h2 { text-align: center; }
.section > .container > p.max-640 { margin-left: auto; margin-right: auto; text-align: center; }

.page-header {
  background: linear-gradient(165deg, var(--ink) 0%, #1c1510 130%);
  color: var(--white);
  padding: 58px 0 46px;
  text-align: center;
  background-image:
    repeating-linear-gradient(135deg, rgba(198,148,103,0.07) 0 2px, transparent 2px 18px),
    linear-gradient(165deg, var(--ink) 0%, #1c1510 130%);
  border-bottom: 2px solid var(--walnut-dark);
}
.page-header h1 { color: var(--white); margin-bottom: 8px; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--steel-light);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.breadcrumb a { color: var(--cyan); }

/* ---------- grids / cards ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 36px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 36px; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--walnut);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 14.5px; }
.section--dark .card {
  background: var(--ink-2);
  border-color: #2a323a;
  border-top-color: var(--cyan);
}
.section--dark .card p { color: var(--steel-light); }

/* ---------- spec strip (product rows — replaces side-by-side card grid used
   by RCC/Zebra's "What We Build" sections with a numbered manifest-row layout) ---------- */
.spec-strip { margin-top: 36px; border-top: 1px solid var(--border); }
.spec-row {
  display: grid;
  grid-template-columns: 56px 240px 1fr;
  gap: 32px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.spec-index {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--walnut);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(94,60,34,0.28);
}
.spec-media { aspect-ratio: 4/3; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.spec-media .photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.spec-body h3 { margin-bottom: 8px; }
.spec-body p { margin-bottom: 14px; }

/* ---------- qa list (FAQ — replaces the bordered-card grid used by RCC's
   "Why Builders Choose RCC" / Zebra's "Why Zebra" text-card sections) ---------- */
.qa-list { margin-top: 28px; border-top: 1px solid var(--border); }
.qa-row { display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.qa-index { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--walnut); padding-top: 4px; }
.qa-q { font-size: 17px; margin-bottom: 8px; }
.qa-row p { margin-bottom: 0; }

/* ---------- ledger (warranty line items — replaces the text+photo grid-2 split
   reused across other sections; a dark tabular strip instead) ---------- */
.ledger { max-width: 640px; margin: 0 auto; border-top: 1px solid #2a323a; }
.ledger-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; border-bottom: 1px solid #2a323a; }
.ledger-row span { color: var(--steel-light); text-transform: uppercase; font-size: 12px; letter-spacing: 0.06em; font-family: var(--font-mono); }
.ledger-row strong { color: var(--cyan); font-size: 15px; font-family: var(--font-mono); }

/* ---------- datasheet (technical spec rows — replaces the grid-4 card grid
   used for "Construction Specs" / sector lists with a tabular label:value layout) ---------- */
.datasheet { margin-top: 32px; border-top: 1px solid var(--border); }
.datasheet-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.datasheet-row .ds-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--walnut);
}
.datasheet-row .ds-value { margin: 0; font-size: 14.5px; color: var(--text-light); }
.section--dark .datasheet { border-color: #2a323a; }
.section--dark .datasheet-row { border-color: #2a323a; }
.section--dark .datasheet-row .ds-label { color: var(--walnut-light); }
.section--dark .datasheet-row .ds-value { color: var(--steel-light); }

/* ---------- filmstrip (horizontal scrolling gallery — replaces the static
   3-column gallery-grid with a numbered scrolling strip) ---------- */
.filmstrip { display: flex; gap: 18px; margin-top: 32px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory; text-align: left; }
.filmstrip-item { flex: 0 0 260px; scroll-snap-align: start; }
.filmstrip-item .photo-box { aspect-ratio: 3/4; }
.filmstrip-caption { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-light); }
.filmstrip-caption .fs-index { background: var(--walnut); color: var(--white); width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; flex-shrink: 0; }
.filmstrip-item .photo-box { box-shadow: var(--shadow); }

/* ---------- overlap panel (overview split — replaces the plain side-by-side
   grid-2 text/photo split with an offset frame layout) ---------- */
.overlap-panel { position: relative; margin-top: 44px; }
.overlap-panel .overlap-media {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(221, 226, 227, 0.4);
  box-shadow: 0 18px 44px rgba(14, 18, 23, 0.16);
  position: relative;
  background: var(--ink);
}
.overlap-panel .overlap-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,18,23,0) 55%, rgba(14,18,23,0.38) 100%);
  pointer-events: none;
}
.overlap-panel .overlap-card {
  background: var(--ink);
  color: var(--white);
  padding: 36px;
  max-width: 440px;
  margin-top: -64px;
  margin-left: 40px;
  position: relative;
  border: 1px solid #2a323a;
}
.overlap-panel .overlap-card .eyebrow { color: var(--cyan); }
.overlap-panel .overlap-card p { color: #c3ccd2; }
.overlap-panel .overlap-card p:last-child { margin-bottom: 0; }
.overlap-panel .overlap-card h2 { color: var(--white); }

/* ---------- brand strip (thin signature bar above footer) ---------- */
.brand-strip {
  background: var(--ink);
  border-top: 1px solid #262d34;
  padding: 11px 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-light);
  text-align: center;
}

.photo-box { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-box--wide { aspect-ratio: 16/10; }
.photo-box--tall { aspect-ratio: 3/4; }
.photo-box--square { aspect-ratio: 1/1; }
.photo { width: 100%; height: 100%; object-fit: cover; }

.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.gallery-grid .photo-box--tall { grid-row: span 2; }

.stock-note, .note-box {
  font-size: 13px;
  color: var(--text-light);
  background: var(--paper);
  border: 1px dashed var(--walnut-light);
  border-left: 3px solid var(--walnut);
  padding: 14px 18px;
  margin-top: 20px;
  font-family: var(--font-mono);
}
.section--dark .note-box, .section--dark .stock-note {
  background: var(--ink-2);
  border-color: var(--walnut-dark);
  border-left-color: var(--walnut);
  color: var(--steel-light);
}

/* ---------- tag pills (industries served) ---------- */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}
.tag-pill {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 10px 18px;
  color: var(--ink);
}
.section--dark .tag-pill { border-color: #2a323a; color: #d7dde1; }
.tag-pill--accent { border-color: var(--cyan); color: var(--cyan-dark); }
.section--dark .tag-pill--accent { color: var(--cyan); }

/* ---------- stat bar ---------- */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.stat-bar .stat-num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  color: var(--cyan-dark);
  display: block;
}
.stat-bar .stat-label {
  font-size: 12.5px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 36px; counter-reset: step; }
.step { position: relative; padding-left: 44px; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  position: absolute;
  left: 0;
  top: 2px;
  background: var(--walnut);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(94,60,34,0.24);
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; }

/* ---------- warranty table / area list ---------- */
.warranty-table { width: 100%; border-collapse: collapse; margin: 24px 0 36px; }
.warranty-table th, .warranty-table td {
  border: 1px solid var(--border);
  padding: 14px 18px;
  text-align: left;
  font-size: 14.5px;
}
.warranty-table th {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.area-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.area-list li {
  border: 1px solid var(--border);
  border-left: 3px solid var(--cyan);
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 14px;
}

/* ---------- cta band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--ink) 0%, #221811 100%);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
  background-image:
    repeating-linear-gradient(135deg, rgba(31,201,194,0.07) 0 2px, transparent 2px 18px),
    linear-gradient(135deg, var(--ink) 0%, #221811 100%);
  border-top: 2px solid var(--walnut-dark);
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #c3ccd2; }

/* ---------- quote form ---------- */
.quote-form { display: grid; gap: 16px; margin-top: 8px; }
.quote-form label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: var(--text-light); display: block; margin-bottom: 6px; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  background: var(--white);
  color: var(--text);
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
}
.quote-form button { justify-self: start; margin-top: 4px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #9aa6ad; padding: 56px 0 0; border-top: 2px solid var(--walnut-dark); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.site-footer h4 {
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer p { color: #8a97a0; font-size: 14px; }
.site-footer ul li { margin-bottom: 10px; font-size: 14px; }
.site-footer a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid #262d34;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: #6b7681;
  flex-wrap: wrap;
  gap: 8px;
}

/* ============================================================
   SPEC CATALOG — panels / materials / finishes + spec list + print
   Functionally parallel to RCC's catalog (tabs, search, add-to-group,
   selection modal, print view) but restyled to Zephyr's dark/cyan/
   square-geometry system, and grouped by "Area" (Lobby, Guest Room,
   Patient Wing, Unit #) rather than residential "Room" naming —
   content below is commercial/institutional substrates and surfaces,
   not RCC's residential wood-species + door-style catalog.
   ============================================================ */
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.cart-btn {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  padding: 12px 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cart-btn:hover { background: var(--ink-2); }
.cart-count {
  background: var(--cyan);
  color: #06201f;
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.catalog-search-wrap { margin-bottom: 20px; }
.catalog-search {
  width: 100%;
  max-width: 440px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--white);
}
.catalog-search:focus { outline: none; border-color: var(--cyan); }
.catalog-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 10px; flex-wrap: wrap; }
.catalog-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 4px;
  margin-right: 26px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-light);
  cursor: pointer;
}
.catalog-tab.active { color: var(--ink); border-bottom-color: var(--cyan); }
.catalog-search-note { font-size: 13px; color: var(--text-light); font-family: var(--font-mono); margin: 16px 0; }
.catalog-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 24px; }
.catalog-item { position: relative; border: 1px solid var(--border); background: var(--white); }
.catalog-item-img { aspect-ratio: 1/1; overflow: hidden; }
.catalog-item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.catalog-color-swatch { width: 100%; height: 100%; }
.catalog-add {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--cyan);
  background: var(--white);
  color: var(--cyan-dark);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.catalog-add.is-added { background: var(--cyan); color: #06201f; border-color: var(--cyan-dark); }
.catalog-item-name { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.catalog-item-name span { font-size: 13px; font-weight: 600; }
.catalog-item-name small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* "Add to area" popover */
.room-popover {
  position: fixed;
  z-index: 200;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 16px;
  width: 250px;
  display: none;
}
.room-popover.open { display: block; }
.room-popover-item-name { font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.room-popover-section { margin-bottom: 10px; }
.room-popover-section label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-light);
  font-family: var(--font-mono);
  display: block;
  margin-bottom: 6px;
}
.room-popover-create { display: flex; gap: 6px; }
.room-popover-create input { flex: 1; border: 1px solid var(--border); padding: 8px 10px; font-size: 13px; }
.room-popover-create button {
  width: 34px;
  border: 1px solid var(--cyan);
  background: var(--cyan);
  color: #06201f;
  font-size: 16px;
  cursor: pointer;
}
.room-popover-rooms { display: flex; flex-wrap: wrap; gap: 6px; }
.room-popover-room-btn { border: 1px solid var(--border); background: var(--paper); font-size: 12px; padding: 6px 10px; cursor: pointer; }

/* Spec-list modal */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 20, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 20px;
}
.cart-overlay.open { display: flex; }
.cart-modal { background: var(--white); width: 100%; max-width: 560px; max-height: 82vh; display: flex; flex-direction: column; border: 1px solid var(--border); }
.cart-modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.cart-modal-head h3 { margin: 0; font-size: 18px; }
.cart-modal-close { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--text-light); }
.cart-modal-body { overflow-y: auto; padding: 18px 22px; flex: 1; }
.cart-modal-empty { color: var(--text-light); font-size: 14px; }
.cart-room-group { margin-bottom: 22px; }
.cart-room-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); padding-bottom: 6px; margin-bottom: 10px; }
.cart-room-head h4 { margin: 0; font-family: var(--font-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; }
.cart-room-remove { background: none; border: none; color: var(--text-light); font-size: 11px; text-transform: uppercase; letter-spacing: 0.03em; cursor: pointer; font-family: var(--font-mono); }
.cart-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--paper); }
.cart-row img, .cart-row-swatch { width: 42px; height: 42px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--border); }
.cart-row-info { flex: 1; display: flex; flex-direction: column; }
.cart-row-info strong { font-size: 13.5px; }
.cart-row-info span { font-size: 11.5px; color: var(--text-light); font-family: var(--font-mono); text-transform: uppercase; }
.cart-row-remove { background: none; border: none; font-size: 18px; color: var(--text-light); cursor: pointer; }
.cart-modal-foot { display: flex; justify-content: flex-end; gap: 12px; padding: 16px 22px; border-top: 1px solid var(--border); }

/* Print-only spec sheet */
#print-list { display: none; }
.print-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; border-bottom: 2px solid #12161b; padding-bottom: 10px; }
.print-swatch { width: 40px; height: 40px; border: 1px solid #999; }
@media print {
  /* Chrome/Edge/Firefox strip background colors on print unless forced — without this,
     every color swatch in the spec list prints as a blank white box. */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }
  @page { margin: 14mm; }
  body { background: #fff; }
  body * { visibility: hidden; }
  #print-list, #print-list * { visibility: visible; }
  #print-list {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    font-family: 'IBM Plex Sans', Arial, sans-serif;
    color: #12161b;
  }
  .print-head p { margin: 0; color: #12161b; }
  .print-head p + p { font-family: 'IBM Plex Mono', 'Courier New', monospace; font-size: 12px; color: #4a5056; }
  #print-list table { width: 100%; border-collapse: collapse; }
  #print-list thead th {
    background: #12161b !important;
    color: #fff !important;
    border: 1px solid #12161b;
    padding: 8px;
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  #print-list td { border: 1px solid #ccc; padding: 8px; text-align: left; font-size: 12px; vertical-align: middle; }
  #print-list img, .print-swatch { width: 40px; height: 40px; object-fit: cover; display: block; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .area-list { grid-template-columns: 1fr 1fr; }
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
  }
  .main-nav.open { max-height: 480px; padding: 12px 0; }
  .main-nav ul { flex-direction: column; width: 100%; gap: 0; }
  .main-nav > ul > li { width: 100%; }
  .main-nav > ul > li > a { display: block; padding: 12px 24px; }
  .has-dropdown .dropdown { position: static; display: block; border: none; padding-left: 12px; }
  .nav-cta { margin: 12px 24px; }
  .grid-2, .grid-3, .grid-4, .steps, .stat-bar, .footer-grid, .area-list, .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .photo-box--tall { grid-row: auto; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 34px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding: 56px 24px 40px; }
  .hero-datapanel { min-height: 240px; }
  .spec-row { grid-template-columns: 1fr; }
  .spec-index { display: none; }
  .qa-row { grid-template-columns: 1fr; }
  .qa-index { padding-top: 0; }
  .ledger-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .datasheet-row { grid-template-columns: 1fr; gap: 6px; }
  .overlap-panel .overlap-card { margin-left: 0; margin-top: -40px; padding: 24px; max-width: none; }
}

/* ---------- About Lead Block (Clean No-Image Layout) ---------- */
.about-lead-block {
  background: var(--ink);
  color: var(--white);
  border-radius: 6px;
  border: 1px solid #28313a;
  border-left: 4px solid var(--cyan);
  margin-top: 36px;
  padding: 44px 40px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  box-shadow: 0 16px 36px rgba(14, 18, 23, 0.12);
}
.about-lead-main h3 {
  color: var(--white);
  font-size: 1.75rem;
  margin: 10px 0 16px;
  font-family: var(--font-display);
}
.about-lead-p {
  font-size: 1.1rem;
  line-height: 1.68;
  color: #e2e8ee;
  margin-bottom: 14px;
}
.about-lead-main p:last-child {
  color: #a1adb7;
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 0;
}
.about-lead-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-left: 1px solid #273039;
  padding-left: 32px;
}
.about-pillar {
  position: relative;
}
.pillar-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.12em;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}
.about-pillar h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin: 0 0 4px;
}
.about-pillar p {
  color: #a1adb7;
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 820px) {
  .about-lead-block {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }
  .about-lead-pillars {
    border-left: none;
    border-top: 1px solid #273039;
    padding-left: 0;
    padding-top: 24px;
  }
}

/* ---------- Commercial Casework Seamless Blended Banner ---------- */
.casework-hero-section {
  padding-top: 48px;
  padding-bottom: 48px;
  background: #f7f9fa;
}
.casework-blend-banner {
  position: relative;
  min-height: 480px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: #0b1016;
  background-image: 
    linear-gradient(90deg, rgba(11, 16, 22, 0.96) 0%, rgba(11, 16, 22, 0.90) 38%, rgba(11, 16, 22, 0.50) 70%, rgba(11, 16, 22, 0.80) 100%),
    url('../assets/images/hero_cabinetry_bg.jpg');
  background-size: cover;
  background-position: center right;
  border: 1px solid #222b35;
  box-shadow: 0 24px 60px rgba(11, 16, 22, 0.18);
  padding: 56px 48px;
}
.casework-blend-content {
  max-width: 580px;
  position: relative;
  z-index: 2;
}
.casework-blend-content .eyebrow {
  color: var(--cyan);
  font-weight: 600;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 10px;
}
.casework-blend-content h2 {
  color: var(--white);
  font-size: 2.25rem;
  line-height: 1.25;
  margin: 0 0 16px;
  font-family: var(--font-display);
}
.casework-blend-content .casework-lead {
  color: #e5ebf0;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 12px;
}
.casework-blend-content p:not(.casework-lead) {
  color: #a4b2be;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 22px;
}
.casework-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.casework-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cyan);
  border: 1px solid rgba(0, 198, 214, 0.3);
  padding: 5px 12px;
  border-radius: 3px;
}
@media (max-width: 768px) {
  .casework-blend-banner {
    padding: 36px 24px;
    min-height: auto;
    background-image: 
      linear-gradient(180deg, rgba(11, 16, 22, 0.95) 0%, rgba(11, 16, 22, 0.90) 100%),
      url('../assets/images/hero_cabinetry_bg.jpg');
  }
  .casework-blend-content h2 {
    font-size: 1.8rem;
  }
}


/* ---------- Strict Typography Hierarchy (No Italics, Uniform Heading & Content Structure) ---------- */
*, *::before, *::after {
  font-style: normal !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display) !important;
  font-style: normal !important;
}

body, p, li, a, span, label, input, textarea, select, button, td, th {
  font-family: var(--font-body);
  font-style: normal !important;
}

.eyebrow, .spec-index, .tag-pill, .brand-strip, .datasheet-row .ds-label, .fs-index, .casework-pill, .pillar-idx {
  font-family: var(--font-mono) !important;
  font-style: normal !important;
}
