/* ==========================================================================
   GSV INDUSTRIES — design tokens
   Palette drawn from the plant itself: painted steel, oxide-primer orange,
   galvanized sheet. Motif drawn from the product itself: a die-stamped
   circular grille (radial slots around a centre punch hole).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Work+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500&display=swap');

:root{
  --ink:        #1c1f21;
  --ink-soft:   #4b5257;
  --paper:      #f1ede3;
  --panel:      #ffffff;
  --steel:      #46545c;
  --steel-dark: #262d31;
  --line:       #d9d2c2;
  --orange:     #c14a1d;
  --orange-dark:#9a3b16;
  --orange-soft:#f3ded3;

  --font-display: 'Oswald', sans-serif;
  --font-body: 'Work Sans', sans-serif;
  --font-num: 'IBM Plex Mono', monospace;

  --maxw: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; }
h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.12;
  margin:0 0 .5em;
  letter-spacing:.01em;
}
h1{ font-size:clamp(2.2rem,4.4vw,3.4rem); font-weight:600; }
h2{ font-size:clamp(1.6rem,2.8vw,2.2rem); }
h3{ font-size:1.25rem; }
p{ margin:0 0 1em; color:var(--ink-soft); max-width:62ch; }
.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 28px; }

:focus-visible{ outline:3px solid var(--orange); outline-offset:2px; }

/* -------- die-cut grille motif (SVG data-uri, reused everywhere) -------- */
.grille{
  display:inline-block;
  width:24px; height:24px;
  border-radius:50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 18%, currentColor 18% 20%, transparent 20%),
    repeating-conic-gradient(currentColor 0deg 8deg, transparent 8deg 36deg);
  opacity:.14;
  flex:none;
}

/* ================================ HEADER ================================ */
.site-header{
  position:sticky; top:0; z-index:50;
  background:var(--steel-dark);
  border-bottom:3px solid var(--orange);
}
.site-header .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:76px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  text-decoration:none; color:#fff;
}
.brand-mark{
  width:34px; height:34px; color:var(--orange); opacity:1;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 30%, var(--orange) 30% 38%, transparent 38%),
    repeating-conic-gradient(var(--orange) 0 20deg, transparent 20deg 40deg);
  border-radius:50%;
  flex:none;
}
.brand-text{
  font-family:var(--font-display);
  font-weight:600;
  font-size:1.28rem;
  letter-spacing:.03em;
  line-height:1.05;
}
.brand-text small{
  display:block;
  font-family:var(--font-body);
  font-weight:400;
  font-size:.62rem;
  letter-spacing:.16em;
  color:#c8ccce;
  margin-top:2px;
}
.nav{ display:flex; align-items:center; gap:2px; }
.nav a{
  color:#e7e5df;
  text-decoration:none;
  font-size:.95rem;
  padding:10px 16px;
  border-radius:2px;
  transition:color .15s, background .15s;
}
.nav a:hover{ color:#fff; background:rgba(255,255,255,.06); }
.nav a.current{ color:#fff; position:relative; }
.nav a.current::after{
  content:""; position:absolute; left:16px; right:16px; bottom:5px;
  height:2px; background:var(--orange);
}
.nav-toggle{ display:none; }

@media (max-width: 860px){
  .nav{
    position:fixed; inset:76px 0 0 0; height:auto;
    background:var(--steel-dark);
    flex-direction:column; align-items:stretch; gap:0;
    padding:8px 20px 24px;
    transform:translateY(-8px); opacity:0; pointer-events:none;
    transition:opacity .18s, transform .18s;
  }
  .nav.open{ opacity:1; transform:translateY(0); pointer-events:auto; }
  .nav a{ padding:14px 4px; border-bottom:1px solid rgba(255,255,255,.08); }
  .nav-toggle{
    display:block; background:none; border:0; color:#fff;
    width:40px; height:40px; cursor:pointer;
  }
  .nav-toggle svg{ width:22px; height:22px; }
}

/* ================================= HERO ================================= */
.hero{
  position:relative;
  overflow:hidden;
  background:var(--paper);
}
.hero .wrap{
  display:grid; grid-template-columns:1.05fr .95fr; gap:56px;
  align-items:center;
  padding-top:64px; padding-bottom:56px;
}
.hero-eyebrow{
  font-family:var(--font-num);
  font-size:.78rem;
  color:var(--orange-dark);
  margin:0 0 14px;
}
.hero h1{ color:var(--ink); }
.hero .lede{ font-size:1.08rem; max-width:46ch; }
.hero-actions{ display:flex; gap:14px; margin-top:26px; flex-wrap:wrap; }

.hero-photo{
  position:relative;
  border-radius:4px;
  overflow:hidden;
  box-shadow:0 24px 48px -20px rgba(28,31,33,.45);
}
.hero-photo img{ width:100%; height:100%; object-fit:cover; aspect-ratio:4/3.1; }
.hero-photo::after{
  content:"";
  position:absolute; right:-46px; bottom:-46px;
  width:150px; color:var(--orange);
  aspect-ratio:1/1;
  border-radius:50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 30%, var(--orange) 30% 38%, transparent 38%),
    repeating-conic-gradient(var(--orange) 0 18deg, transparent 18deg 36deg);
  opacity:.9;
  filter:drop-shadow(0 8px 14px rgba(0,0,0,.25));
}
.hero-caption{
  margin-top:12px; font-size:.82rem; color:var(--ink-soft);
}

@media (max-width:900px){
  .hero .wrap{ grid-template-columns:1fr; padding-top:40px; }
  .hero-photo{ order:-1; }
}

/* ============================== BUTTONS ================================= */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-body); font-weight:600; font-size:.95rem;
  padding:13px 22px; border-radius:2px;
  text-decoration:none; cursor:pointer; border:2px solid transparent;
  transition:background .15s, color .15s, border-color .15s, transform .1s;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:var(--orange); color:#fff; }
.btn-primary:hover{ background:var(--orange-dark); }
.btn-ghost{ border-color:var(--steel); color:var(--ink); background:transparent; }
.btn-ghost:hover{ border-color:var(--ink); }
.btn-on-dark{ border-color:rgba(255,255,255,.55); color:#fff; }
.btn-on-dark:hover{ border-color:#fff; background:rgba(255,255,255,.08); }

/* ============================== STAT STRIP =============================== */
.stat-strip{
  background:var(--steel-dark); color:#fff;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.stat-grid{
  display:grid; grid-template-columns:repeat(4,1fr);
  padding:34px 0;
}
.stat{ padding:0 20px; border-left:1px solid rgba(255,255,255,.14); }
.stat:first-child{ border-left:0; }
.stat .num{
  font-family:var(--font-num); font-size:1.9rem; color:var(--orange);
  font-weight:500; letter-spacing:-.01em;
}
.stat .label{ font-size:.82rem; color:#c8ccce; margin-top:4px; }
@media (max-width:760px){
  .stat-grid{ grid-template-columns:1fr 1fr; row-gap:24px; }
  .stat:nth-child(3){ border-left:0; }
}

/* ================================ SECTION ================================ */
.section{ padding:76px 0; }
.section-tight{ padding:52px 0; }
.section-alt{ background:var(--panel); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section-head{ max-width:62ch; margin-bottom:40px; }
.section-head p{ margin-top:10px; }

/* -------- divider using grille motif instead of a plain hairline -------- */
.divider{
  display:flex; align-items:center; gap:18px;
  margin:0 0 40px; color:var(--steel);
}
.divider .grille{ width:22px; height:22px; color:var(--orange); opacity:1; }
.divider .rule{ flex:1; height:1px; background:var(--line); }

/* ================================ CARDS ================================== */
.card-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:26px;
}
@media (max-width:900px){ .card-grid{ grid-template-columns:1fr; } }
.card{
  background:var(--panel); border:1px solid var(--line);
  display:flex; flex-direction:column;
}
.card-photo{ aspect-ratio:4/3; overflow:hidden; background:var(--steel); }
.card-photo img{ width:100%; height:100%; object-fit:cover; }
.card-body{ padding:22px 24px 26px; }
.card h3{ margin-bottom:8px; }
.card p{ font-size:.95rem; margin-bottom:14px; }
.card-link{
  font-size:.88rem; font-weight:600; color:var(--orange-dark);
  text-decoration:none;
}
.card-link:hover{ text-decoration:underline; }

/* =========================== TWO-COLUMN FEATURE =========================== */
.feature{
  display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;
}
.feature-photo img{ border-radius:2px; }
.feature-photo.stack{ display:grid; gap:14px; }
@media (max-width:900px){
  .feature{ grid-template-columns:1fr; gap:30px; }
  .feature.reverse .feature-text{ order:2; }
}
.feature.reverse{ direction:rtl; }
.feature.reverse > *{ direction:ltr; }

.check-list{ list-style:none; margin:20px 0 0; padding:0; display:grid; gap:12px; }
.check-list li{
  display:flex; gap:12px; align-items:flex-start;
  font-size:.96rem; color:var(--ink-soft);
}
.check-list .grille{ width:16px; height:16px; margin-top:4px; color:var(--orange); opacity:1; }

/* ============================ SPEC / SIZE TABLE ============================ */
.spec-table-wrap{ overflow-x:auto; border:1px solid var(--line); background:var(--panel); }
table.spec{ width:100%; border-collapse:collapse; min-width:560px; }
table.spec th{
  text-align:left; font-family:var(--font-body); font-weight:600; font-size:.82rem;
  text-transform:none; letter-spacing:.02em;
  background:var(--steel-dark); color:#fff; padding:12px 16px;
}
table.spec td{
  padding:11px 16px; font-family:var(--font-num); font-size:.9rem;
  border-bottom:1px solid var(--line); font-variant-numeric:tabular-nums;
}
table.spec tr:nth-child(even) td{ background:#f7f4ec; }

/* ============================== PRODUCT DETAIL ============================= */
.product-block{ padding:56px 0; border-bottom:1px solid var(--line); }
.product-block:last-of-type{ border-bottom:0; }
.product-head{
  display:flex; align-items:baseline; gap:16px; margin-bottom:18px; flex-wrap:wrap;
}
.product-head .tag{
  font-family:var(--font-num); font-size:.76rem; color:var(--orange-dark);
  border:1px solid var(--orange-soft); background:var(--orange-soft);
  padding:3px 9px; border-radius:2px;
}

/* ================================ GALLERY ================================= */
.gallery{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.gallery img{ width:100%; height:100%; object-fit:cover; aspect-ratio:4/3; border-radius:2px; }
@media (max-width:760px){ .gallery{ grid-template-columns:1fr 1fr; } }

/* ============================== CLIENTELE BAND ============================= */
.clientele-band{ background:var(--steel-dark); color:#fff; }
.client-plate-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:1px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.12);
}
.client-plate{
  background:var(--steel-dark);
  padding:16px 18px;
  font-family:var(--font-body); font-weight:500; font-size:.95rem;
  color:#eceae4;
}
@media (max-width:760px){ .client-plate-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:480px){ .client-plate-grid{ grid-template-columns:1fr; } }

/* ================================ CONTACT ================================= */
.contact-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:56px; }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-card{
  background:var(--panel); border:1px solid var(--line); padding:28px 30px;
}
.contact-row{ display:flex; gap:14px; padding:14px 0; border-top:1px solid var(--line); }
.contact-row:first-child{ border-top:0; padding-top:0; }
.contact-row .k{ width:34px; flex:none; color:var(--orange); }
.contact-row .k svg{ width:22px; height:22px; }
.contact-row .v{ font-size:.97rem; }
.contact-row .v strong{ display:block; font-family:var(--font-display); font-weight:500; font-size:1rem; margin-bottom:2px; }
.map-frame{ border:1px solid var(--line); overflow:hidden; height:100%; min-height:340px; }
.map-frame iframe{ width:100%; height:100%; min-height:340px; border:0; display:block; }

/* ============================= CONTACT CTA BAND ============================ */
.cta-band{ background:var(--orange); color:#fff; }
.cta-band .wrap{
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  padding:44px 28px; flex-wrap:wrap;
}
.cta-band h2{ color:#fff; margin-bottom:6px; }
.cta-band p{ color:rgba(255,255,255,.9); margin:0; }
.cta-actions{ display:flex; gap:14px; flex-wrap:wrap; }
.cta-band .btn-ghost{ border-color:rgba(255,255,255,.7); color:#fff; }
.cta-band .btn-ghost:hover{ background:rgba(255,255,255,.14); border-color:#fff; }
.cta-band .btn-primary{ background:var(--steel-dark); }
.cta-band .btn-primary:hover{ background:#171b1d; }

/* ================================= FOOTER ================================= */
.site-footer{ background:var(--steel-dark); color:#c8ccce; padding:44px 0 26px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:36px; margin-bottom:30px; }
@media (max-width:760px){ .footer-grid{ grid-template-columns:1fr; gap:26px; } }
.footer-grid h4{ color:#fff; font-size:.95rem; margin-bottom:12px; }
.footer-grid p, .footer-grid a{ font-size:.9rem; color:#c8ccce; text-decoration:none; }
.footer-grid ul{ list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.footer-grid a:hover{ color:#fff; }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12); padding-top:18px;
  font-size:.82rem; color:#8b9296; display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px;
}

/* ============================== PAGE INTRO BAND ============================ */
.page-intro{ background:var(--steel-dark); color:#fff; padding:56px 0 44px; }
.page-intro .wrap{ max-width:var(--maxw); }
.page-intro .kicker{ font-family:var(--font-num); font-size:.8rem; color:var(--orange); margin-bottom:10px; }
.page-intro h1{ color:#fff; margin-bottom:10px; }
.page-intro p{ color:#c8ccce; max-width:64ch; }
.breadcrumb{ font-size:.85rem; color:#9aa0a3; margin-bottom:18px; }
.breadcrumb a{ color:#c8ccce; text-decoration:none; }
.breadcrumb a:hover{ color:#fff; }

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *{ transition:none !important; }
}
