/* ==========================================================================
   Garage Door Lift — site stylesheet
   ========================================================================== */

:root {
  --bg: #0B0B0B;
  --bg-alt: #141210;
  --bg-alt2: #0F0E0D;
  --panel: #111111;
  --panel-2: #101010;
  --light: #F5F3EE;
  --light-alt: #EDE9DF;
  --ink: #0B0B0B;
  --text: #F5F3EE;
  --text-muted: #A8A5A0;
  --text-muted-2: #96938E;
  --text-dim: #8A8A8A;
  --text-dim-2: #7A7A7A;
  --border: #1E1E1E;
  --border-2: #262626;
  --border-3: #2A2A2A;
  --border-light: #D8D5CC;
  --border-light-2: #CFCABE;
  --yellow: #FEC400;
  --yellow-hover: #ffd747;
  --gold: #8A7A3A;
  --font-display: 'Anton', sans-serif;
  --font-nav: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --max: 1440px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

a { color: var(--yellow); text-decoration: none; }
a:hover { color: var(--yellow-hover); }
::selection { background: var(--yellow); color: var(--ink); }
img { max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: 40px; padding-right: 40px; }

/* ---------- ticker ---------- */
@keyframes tick { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.ticker {
  background: var(--yellow);
  color: var(--ink);
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid var(--ink);
}
.ticker-track {
  display: inline-block;
  animation: tick 28s linear infinite;
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  padding: 9px 0;
}
.ticker-track span { padding: 0 26px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11,11,11,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.35s ease;
}
.site-header.scrolled { box-shadow: 0 12px 30px rgba(0,0,0,0.4); }
.header-row {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 40px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  background: #fff;
  padding: 7px 12px;
  border-radius: 3px;
  display: flex;
  align-items: center;
}
.brand-mark img { height: 32px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav-link {
  font-family: var(--font-nav);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-link:hover { color: var(--yellow); }
.nav-link.active { color: var(--yellow); border-bottom-color: var(--yellow); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-3);
  color: var(--text);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.14em;
  padding: 17px 32px;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,0.28); }
.btn:active { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,0.24); }
.btn-notch { clip-path: polygon(0 0, 100% 0, calc(100% - 13px) 100%, 0 100%); }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: var(--yellow-hover); color: var(--ink); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-3);
}
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-dark { background: var(--ink); color: var(--text); }
.btn-dark:hover { background: #222; color: var(--yellow); }
.btn-on-yellow { background: var(--ink); color: var(--yellow); }
.btn-on-yellow:hover { background: #222; }

/* ---------- eyebrow / section heads ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--yellow);
  margin-bottom: 12px;
}
.eyebrow-gold { color: var(--gold); }
.section-title {
  font-family: var(--font-display);
  line-height: 0.98;
  margin: 0;
  text-transform: uppercase;
}

.section { padding: 96px 0; }
.section-tight { padding: 80px 0; }
.section-light { background: var(--light); color: var(--ink); }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); }
.section-yellow { background: var(--yellow); color: var(--ink); }
.section-border-b { border-bottom: 1px solid var(--border); }
.hr-light { border-top: 1px solid var(--border); }

/* ---------- hero (home) ---------- */
.hero-section { position: relative; background: var(--bg); border-bottom: 1px solid var(--border); }
.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,64px) minmax(0,1fr) minmax(0,42%);
  min-height: 640px;
}
.hero-rail {
  border-right: 1px solid #1A1A1A;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-rail span {
  transform: rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--font-nav);
  font-weight: 700;
  letter-spacing: 0.42em;
  font-size: 12px;
  color: #5A5A5A;
}
.hero-content { padding: 72px 44px 64px 44px; display: flex; flex-direction: column; justify-content: center; }
@keyframes fadeUpIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.badge {
  display: inline-flex;
  align-self: flex-start;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.2em;
  padding: 7px 18px 7px 14px;
  margin-bottom: 30px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  animation: fadeUpIn 0.6s ease both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.6vw, 86px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin: 0 0 26px 0;
  text-transform: uppercase;
  animation: fadeUpIn 0.7s ease 0.08s both;
}
.hero-title .accent { color: var(--yellow); }
.hero-copy { font-size: 17px; line-height: 1.65; color: var(--text-muted); max-width: 470px; margin: 0 0 40px 0; animation: fadeUpIn 0.7s ease 0.16s both; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeUpIn 0.7s ease 0.24s both; }
.hero-media {
  position: relative;
  border-left: 1px solid #1A1A1A;
  background: repeating-linear-gradient(135deg,#131313,#131313 16px,#181818 16px,#181818 32px);
  display: flex; align-items: center; justify-content: center;
  min-height: 260px;
  animation: fadeUpIn 0.9s ease 0.1s both;
  overflow: hidden;
}
.hero-media img { transition: transform 0.6s ease; }
.hero-media:hover img { transform: scale(1.04); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media-tag {
  position: absolute; left: -1px; bottom: 0;
  background: var(--yellow); color: var(--ink);
  font-family: var(--font-display); font-size: 15px; letter-spacing: 0.08em;
  padding: 12px 22px; z-index: 2;
}

.stats-bar { border-top: 1px solid #1A1A1A; background: #0E0E0E; }
.stats-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); }
.stat { padding: 26px 32px; border-right: 1px solid #1A1A1A; }
.stat-value { font-family: var(--font-display); font-size: 34px; color: var(--yellow); line-height: 1; }
.stat-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--text-dim); margin-top: 8px; text-transform: uppercase; }

/* ---------- section head (title + description row) ---------- */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  border-bottom: 2px solid var(--ink); padding-bottom: 22px; margin-bottom: 0;
}
.section-head.on-dark { border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.section-head-desc { font-size: 14.5px; color: #5C5A55; max-width: 340px; line-height: 1.6; }
.section-head-desc.on-dark { color: var(--text-dim); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; max-width: none; }

/* ---------- product lines list (home) ---------- */
.line-row {
  display: grid;
  grid-template-columns: minmax(0,90px) minmax(0,1fr) minmax(0,240px) minmax(0,110px);
  gap: 24px; align-items: center; padding: 30px 0;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
}
.line-row { transition: background 0.25s ease, transform 0.25s ease; }
.line-row:hover { background: var(--light-alt); transform: translateX(6px); }
.line-num { font-family: var(--font-display); font-size: 60px; line-height: 0.8; color: var(--ink); }
.line-name { font-family: var(--font-display); font-size: 27px; line-height: 1.05; text-transform: uppercase; margin-bottom: 10px; }
.line-tagline { font-size: 14.5px; color: #5C5A55; line-height: 1.6; max-width: 560px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.chip {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em;
  border: 1px solid #C9C5BA; padding: 5px 9px; color: #6A675F;
}
.chip.on-dark { border-color: #2E2E2E; color: var(--text-dim); background: transparent; }
.line-thumb { width: 100%; height: 140px; object-fit: cover; display: block; border: 1px solid var(--border-light-2); }
.line-go { text-align: right; font-family: var(--font-nav); font-weight: 700; letter-spacing: 0.14em; font-size: 13px; }
.line-go.on-dark { color: var(--yellow); }

/* products index rows */
.line-row-index {
  display: grid;
  grid-template-columns: minmax(0,300px) minmax(0,1fr) minmax(0,110px);
  gap: 32px; align-items: center; padding: 40px 0;
  border-bottom: 1px solid var(--border); cursor: pointer;
}
.line-row-index { transition: background 0.25s ease, transform 0.25s ease; }
.line-row-index:hover { background: #111; transform: translateX(6px); }
.line-row-index .line-thumb { height: 230px; border-color: var(--border-2); }
.line-row-index .line-name { font-size: 32px; margin-bottom: 14px; }
.line-row-index .line-desc { font-size: 15px; color: #96938E; line-height: 1.7; max-width: 620px; }

/* ---------- construction / layers ---------- */
.construction-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: center; }
.construction-media { position: relative; }
.construction-media img { width: 100%; height: 420px; object-fit: contain; background: var(--panel-2); border: 1px solid var(--border-2); display: block; }
.construction-callout {
  position: absolute; right: -24px; bottom: -24px;
  background: var(--yellow); color: var(--ink); padding: 20px 24px; max-width: 210px;
}
.construction-callout .big { font-family: var(--font-display); font-size: 30px; line-height: 1; }
.construction-callout .small { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; margin-top: 6px; }
.layer-row {
  display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: center;
  border-top: 1px solid var(--border); padding: 15px 0;
}
.layer-n { font-family: var(--font-mono); font-size: 11px; color: var(--yellow); }
.layer-name { font-family: var(--font-nav); font-size: 20px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #EDEAE4; }

/* ---------- feature grid ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--border-2); border-left: 1px solid var(--border-2); }
.feature-card { border-right: 1px solid var(--border-2); border-bottom: 1px solid var(--border-2); padding: 34px 30px; transition: background 0.25s ease, transform 0.25s ease; position: relative; z-index: 1; }
.feature-card:hover { background: #191715; transform: translateY(-4px); z-index: 2; }
.feature-n { font-family: var(--font-mono); font-size: 11px; color: var(--yellow); margin-bottom: 20px; }
.feature-title { font-family: var(--font-nav); font-size: 23px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 10px; }
.feature-body { font-size: 14px; color: #8F8C86; line-height: 1.6; }

.features-grid.on-light { border-color: var(--border-light); }
.features-grid.on-light .feature-card { border-color: var(--border-light); }
.features-grid.on-light .feature-card:hover { background: transparent; }
.features-grid.on-light .feature-n { color: var(--gold); }
.features-grid.on-light .feature-body { color: #5C5A55; }

/* ---------- about teaser (home) ---------- */
.about-teaser-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 70px; align-items: center; }
.about-teaser-copy p { font-size: 16.5px; line-height: 1.75; color: #4F4D48; margin: 0 0 20px 0; }
.about-teaser-media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 170px 170px; gap: 14px; }
.about-teaser-media img { width: 100%; height: 100%; object-fit: cover; border: 1px solid var(--border-light-2); display: block; }
.about-teaser-media .span2 { grid-column: 1 / span 2; }
.about-teaser-media .yellow-block {
  background: var(--yellow); display: flex; flex-direction: column; justify-content: center; padding: 22px;
}
.about-teaser-media .yellow-block .big { font-family: var(--font-display); font-size: 34px; line-height: 1; }
.about-teaser-media .yellow-block .small { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; margin-top: 8px; }

/* ---------- style gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 190px; gap: 14px; }
.gallery-item { position: relative; border: 1px solid #242424; overflow: hidden; transition: border-color 0.25s ease; }
.gallery-item:hover { border-color: var(--yellow); }
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .label {
  position: absolute; left: 0; bottom: 0; background: rgba(11,11,11,0.82); color: var(--text);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; padding: 7px 11px;
}
.span-2 { grid-column: span 2; }

/* ---------- testimonials ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.testimonial-card { border: 1px solid var(--border-2); padding: 34px; position: relative; background: var(--bg-alt2); transition: transform 0.25s ease, border-color 0.25s ease; }
.testimonial-card:hover { transform: translateY(-5px); border-color: var(--yellow); }
.quote-mark { font-family: var(--font-display); font-size: 56px; color: var(--yellow); line-height: 0.6; margin-bottom: 20px; }
.testimonial-quote { font-size: 15px; color: #B5B2AC; line-height: 1.7; margin-bottom: 24px; }
.testimonial-meta { border-top: 1px solid var(--border-2); padding-top: 16px; }
.testimonial-name { font-family: var(--font-nav); font-size: 17px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.testimonial-role { font-family: var(--font-mono); font-size: 10.5px; color: #7A7A7A; margin-top: 4px; letter-spacing: 0.08em; }

/* ---------- coverage ---------- */
.coverage-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.coverage-copy p { font-size: 15px; line-height: 1.7; color: #5C5A55; }
.coverage-media { position: relative; height: 300px; border: 1px solid var(--border-light-2); overflow: hidden; }
.coverage-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.coverage-media .tag {
  position: absolute; left: 0; bottom: 0; right: 0; background: rgba(11,11,11,0.8); color: var(--text);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; padding: 10px 14px;
}

/* ---------- CTA band ---------- */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 50px; flex-wrap: wrap; }
.cta-title { font-family: var(--font-display); font-size: clamp(36px,4.6vw,60px); line-height: 0.92; margin: 0; text-transform: uppercase; max-width: 640px; }
.cta-title.small { font-size: clamp(30px,3.6vw,44px); line-height: 0.95; }
.cta-copy { font-size: 15.5px; line-height: 1.6; max-width: 330px; margin: 0 0 22px 0; }

/* ---------- footer ---------- */
.site-footer { background: #080808; border-top: 1px solid var(--border); padding: 64px 0 32px 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 48px; }
.footer-brand-mark { background: #fff; display: inline-flex; padding: 8px 12px; border-radius: 3px; margin-bottom: 18px; }
.footer-brand-mark img { height: 30px; display: block; }
.footer-desc { font-size: 13.5px; line-height: 1.75; color: #7A7873; max-width: 320px; }
.footer-head { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--yellow); margin-bottom: 18px; }
.footer-link { font-size: 13.5px; color: #8A8883; margin-bottom: 11px; cursor: pointer; display: block; }
.footer-link:hover { color: var(--yellow); }
.footer-details { font-size: 13.5px; color: #8A8883; line-height: 1.9; }
.footer-bottom {
  border-top: 1px solid #171717; padding-top: 22px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; font-family: var(--font-mono); font-size: 10.5px; color: #5A5A5A; letter-spacing: 0.08em;
}

/* ---------- detail page ---------- */
.detail-hero-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,42%); }
.detail-hero-copy { padding: 64px 44px 56px 40px; }
.detail-crumb { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim-2); letter-spacing: 0.1em; margin-bottom: 26px; }
.detail-crumb a { color: var(--yellow); }
.detail-title-row { display: flex; align-items: flex-start; gap: 20px; }
.detail-num { font-family: var(--font-display); font-size: clamp(52px,7vw,88px); line-height: 0.8; color: #1F1F1F; }
.detail-title { font-family: var(--font-display); font-size: clamp(30px,3.6vw,46px); line-height: 0.98; margin: 6px 0 0 0; text-transform: uppercase; }
.detail-desc { font-size: 16.5px; color: var(--text-muted); line-height: 1.75; margin: 26px 0 32px 0; max-width: 600px; }
.detail-hero-media { border-left: 1px solid #1A1A1A; min-height: 440px; position: relative; background: var(--panel-2); }
.detail-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.sub-nav { position: sticky; top: 69px; z-index: 40; background: #0F0F0F; border-bottom: 1px solid var(--border); }
.sub-nav-row { max-width: var(--max); margin: 0 auto; display: flex; gap: 30px; padding: 14px 40px; flex-wrap: wrap; overflow-x: auto; }
.sub-nav-link { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--text-dim); cursor: pointer; white-space: nowrap; }
.sub-nav-link:hover { color: var(--yellow); }

.spec-head-row { display: flex; align-items: flex-end; justify-content: space-between; border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 32px; }
.spec-head-row.on-light { border-bottom: 2px solid var(--ink); }
.spec-kicker { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.16em; color: var(--yellow); margin-bottom: 10px; }
.spec-kicker.gold { color: var(--gold); }
.spec-title { font-family: var(--font-display); font-size: 34px; line-height: 1; margin: 0; text-transform: uppercase; }
.spec-note { font-family: var(--font-mono); font-size: 10.5px; color: #8A867C; letter-spacing: 0.08em; }

.feature-list-grid { display: grid; grid-template-columns: 280px 1fr; gap: 60px; }
.feature-list-item { display: grid; grid-template-columns: 40px 1fr; gap: 16px; border-top: 1px solid var(--border); padding: 18px 0; }
.feature-list-item .mark { color: var(--yellow); font-family: var(--font-mono); font-size: 12px; }
.feature-list-item .txt { font-size: 16px; color: #CFCCC6; line-height: 1.6; }

.models-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 20px; }
.model-card { background: #fff; border: 1px solid #DCD8CE; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.model-card:hover { transform: translateY(-5px); box-shadow: 0 14px 26px rgba(0,0,0,0.18); }
.model-card img { width: 100%; height: 170px; object-fit: contain; background: var(--bg-alt2); border-bottom: 1px solid #DCD8CE; display: block; }
.model-card-body { padding: 22px; }
.model-name { font-family: var(--font-display); font-size: 24px; text-transform: uppercase; margin-bottom: 16px; }
.model-spec-row { display: flex; justify-content: space-between; border-top: 1px solid #E5E1D6; padding: 9px 0; font-family: var(--font-mono); font-size: 11px; }
.model-spec-row .k { color: #8A867C; }
.model-spec-row .rval { color: var(--gold); font-weight: 500; }
.model-construction { font-size: 13.5px; color: #4F4D48; line-height: 1.5; padding-bottom: 10px; }

.styles-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: 16px; }
.style-card { border: 1px solid #232323; transition: border-color 0.25s ease, transform 0.25s ease; }
.style-card:hover { border-color: var(--yellow); transform: translateY(-4px); }
.style-card img { width: 100%; height: 170px; object-fit: contain; background: var(--bg-alt2); padding: 14px; box-sizing: border-box; display: block; transition: transform 0.4s ease; }
.style-card:hover img { transform: scale(1.06); }
.style-card-name { padding: 14px 16px; font-family: var(--font-nav); font-size: 16px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; border-top: 1px solid #232323; }

.colors-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 16px; }
.color-card img, .color-swatch { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.color-card:hover img, .color-card:hover .color-swatch { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.25); }
.color-card img { width: 100%; height: 150px; object-fit: cover; border: 1px solid var(--border-3); display: block; }
.color-swatch { width: 100%; height: 150px; border: 1px solid var(--border-3); display: block; }
.color-meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; }
.color-name { font-family: var(--font-nav); font-size: 18px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.color-code { font-family: var(--font-mono); font-size: 10px; color: #7A7A7A; }

.surface-block { margin-top: 50px; border-top: 1px solid #232323; padding-top: 34px; }
.surface-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--text-dim); margin-bottom: 20px; }
.surface-items { display: flex; gap: 18px; flex-wrap: wrap; }
.surface-items img { width: 220px; height: 120px; object-fit: cover; border: 1px solid var(--border-3); display: block; }
.surface-items .name { font-family: var(--font-nav); font-size: 16px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 10px; }

.window-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 20px; }
.window-card { background: #fff; border: 1px solid #DCD8CE; }
.window-card img { width: 100%; height: auto; object-fit: contain; background: var(--bg-alt2); display: block; }
.window-card-label { padding: 14px 18px; font-family: var(--font-nav); font-size: 16px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.window-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.window-tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; border: 1px solid #C9C5BA; padding: 7px 11px; color: #6A675F; background: #fff; }
.window-note { font-size: 14px; color: #5C5A55; line-height: 1.7; max-width: 720px; margin: 28px 0 0 0; }

.glass-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.glass-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.glass-tag { border: 1px solid var(--yellow); color: var(--yellow); padding: 9px 16px; font-family: var(--font-nav); font-weight: 700; font-size: 13.5px; letter-spacing: 0.1em; }
.glass-copy { font-size: 15px; color: #96938E; line-height: 1.75; max-width: 520px; }
.glass-media img { width: 100%; height: 300px; object-fit: cover; border: 1px solid var(--border-2); display: block; }

.hardware-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 0; border-top: 1px solid var(--border-2); border-left: 1px solid var(--border-2); }
.hardware-card { border-right: 1px solid var(--border-2); border-bottom: 1px solid var(--border-2); padding: 28px; transition: background 0.25s ease; position: relative; z-index: 1; }
.hardware-card:hover { background: #191715; z-index: 2; }
.hardware-card img { width: 100%; height: 120px; object-fit: cover; background: #fff; border: 1px solid var(--border-3); margin-bottom: 18px; display: block; transition: transform 0.4s ease; }
.hardware-card:hover img { transform: scale(1.05); }
.hardware-title { font-family: var(--font-nav); font-size: 19px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 8px; }
.hardware-body { font-size: 13.5px; color: #8F8C86; line-height: 1.6; }

/* ---------- about page ---------- */
.about-hero { padding: 70px 0 0 0; }
.about-title { font-family: var(--font-display); font-size: clamp(48px,7vw,92px); line-height: 0.88; margin: 0 0 40px 0; text-transform: uppercase; }
.about-body-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; }
.about-lead { font-size: 20px; line-height: 1.65; color: #DEDBD5; margin: 0 0 26px 0; }
.about-lead strong { color: var(--yellow); }
.about-body-grid p.muted { font-size: 16.5px; line-height: 1.8; color: #96938E; margin: 0 0 22px 0; }
.about-media { display: grid; grid-template-rows: 220px 220px; gap: 16px; }
.about-media img { width: 100%; height: 100%; object-fit: cover; border: 1px solid var(--border-2); display: block; }

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; }
.form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--text-dim); display: block; margin-bottom: 8px; }
.form input, .form select, .form textarea {
  width: 100%; box-sizing: border-box; background: var(--panel); border: 1px solid var(--border-3);
  color: var(--text); padding: 14px; font-size: 15px; font-family: var(--font-body);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 1px solid var(--yellow); border-color: var(--yellow); }
.form-success { border: 1px solid var(--yellow); padding: 56px; text-align: center; }
.form-success-title { font-family: var(--font-display); font-size: 36px; color: var(--yellow); text-transform: uppercase; margin-bottom: 14px; }
.form-success p { color: var(--text-muted); font-size: 15px; margin: 0; }
.contact-info-card { border: 1px solid var(--border-2); padding: 32px; margin-bottom: 18px; }
.contact-info-head { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--yellow); margin-bottom: 22px; }
.info-row { border-top: 1px solid var(--border-2); padding: 14px 0; display: flex; justify-content: space-between; font-size: 14px; }
.info-row .k { color: var(--text-dim-2); font-family: var(--font-mono); font-size: 11px; }
.contact-media img { width: 100%; height: 260px; object-fit: cover; border: 1px solid var(--border-2); display: block; }

/* ---------- image placeholder fallback (JS-driven) ---------- */
.img-missing {
  background: repeating-linear-gradient(135deg,#1c1c1c,#1c1c1c 12px,#242424 12px,#242424 24px);
  border: 1px dashed #3a3a3a !important;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #7a7a7a; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.05em;
  padding: 8px; overflow: hidden;
}

/* ---------- scroll-reveal (JS adds .reveal on load, .revealed once in view) ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-content, .hero-media, .badge, .hero-title, .hero-copy, .hero-actions { animation: none !important; }
  .btn:hover, .line-row:hover, .line-row-index:hover, .feature-card:hover, .model-card:hover,
  .style-card:hover, .hardware-card:hover, .testimonial-card:hover, .gallery-item:hover img,
  .style-card:hover img, .hardware-card:hover img, .color-card:hover img, .color-card:hover .color-swatch,
  .hero-media:hover img { transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  .header-row { padding: 14px 20px; }
  .nav {
    display: flex;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 0 20px;
    max-height: 0; opacity: 0; overflow: hidden; pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease;
  }
  .nav.nav-open { max-height: 400px; opacity: 1; padding: 8px 20px 18px 20px; pointer-events: auto; }
  .nav-link { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  .header-row .btn-primary.request-quote-header { display: none; }

  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-rail { display: none; }
  .hero-media { min-height: 280px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2n) { border-right: none; }

  .section { padding: 64px 0; }
  .section-tight { padding: 56px 0; }
  .section-head, .section-head.on-dark { flex-direction: column; align-items: flex-start; gap: 16px; }

  .line-row { grid-template-columns: 1fr; gap: 14px; }
  .line-num { font-size: 40px; }
  .line-thumb { height: 180px; order: -1; }
  .line-go { text-align: left; }

  .line-row-index { grid-template-columns: 1fr; }
  .line-row-index .line-thumb { height: 200px; order: -1; }

  .construction-grid, .about-teaser-grid, .coverage-grid, .about-body-grid, .glass-grid, .contact-grid, .detail-hero-grid { grid-template-columns: 1fr; }
  .construction-media img { height: 280px; }
  .construction-callout { position: static; margin-top: 16px; max-width: none; }

  .features-grid { grid-template-columns: 1fr; }
  .about-teaser-media { grid-template-columns: 1fr 1fr; }

  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .span-2 { grid-column: span 1; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .cta-band { flex-direction: column; align-items: flex-start; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .detail-hero-media { min-height: 260px; }
  .feature-list-grid { grid-template-columns: 1fr; gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}
