/* RJR Radiator — JAK APPS concept design
   Palette: graphite steel + RJR yellow (from their logo, translated to equipment-yellow #FFCD11), restrained. */

:root {
  --ink: #16181b;
  --ink-2: #43484e;
  --ink-3: #6b7178;
  --paper: #ffffff;
  --paper-2: #f4f4f2;
  --steel: #101214;
  --steel-2: #1a1d20;
  --line: #e4e4e0;
  --line-dark: #2c3034;
  --accent: #ffcd11;
  --accent-deep: #eab900;
  --accent-text: #9c7c00;
  --disp: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], #quote { scroll-margin-top: 86px; }
body { font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--disp); text-transform: uppercase; line-height: 1.02; letter-spacing: .01em; }
h2 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 700; }
section h2 { margin-bottom: 18px; }

.eyebrow {
  font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent-text); }
.eyebrow.light { color: #ffd84d; }
.eyebrow.light::before { background: var(--accent); }

.fi { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 4px; border: 1px solid transparent; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #16181b; }
.btn-accent:hover { background: var(--accent-deep); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* Topbar */
.topbar { background: var(--steel); color: #b9bec4; font-size: 13px; }
.topbar .wrap { display: flex; gap: 26px; align-items: center; min-height: 38px; }
.tb-item { display: inline-flex; align-items: center; gap: 7px; }
.tb-item .fi { width: 14px; height: 14px; color: var(--accent); }
.tb-phone { margin-left: auto; color: #fff; font-weight: 600; }
@media (max-width: 720px) { .tb-addr { display: none; } }

/* Header */
header.site { position: sticky; top: 0; z-index: 500; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 30px; min-height: 74px; }
.brand { display: flex; align-items: center; }
.brand .name { font-family: var(--disp); font-size: 24px; font-weight: 700; text-transform: uppercase;
  line-height: 1; display: flex; flex-direction: column; gap: 3px; }
.brand .name small { font-family: var(--body); font-size: 10.5px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.nav-links a:hover { color: var(--accent-text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

@media (max-width: 920px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; gap: 0; padding: 8px 24px 16px; border-bottom: 1px solid var(--line); margin: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--paper-2); }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-cta .btn { display: none; }
  .nav { gap: 12px; }
}

/* Hero */
.hero { position: relative; background: var(--steel); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url("img/hero-radiator.jpg") center / cover no-repeat; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,11,13,.93) 25%, rgba(10,11,13,.62) 62%, rgba(10,11,13,.45)),
              linear-gradient(rgba(10,11,13,.25), rgba(10,11,13,.55));
}
.hero-inner { position: relative; padding: clamp(80px, 11vw, 150px) 24px clamp(56px, 7vw, 96px); }
.hero h1 { font-size: clamp(52px, 8.4vw, 108px); font-weight: 800; max-width: 800px; }
.hero h1 .accent { color: var(--accent); }
.hero .lede { max-width: 560px; margin: 24px 0 34px; font-size: 17.5px; color: #d4d7da; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.stat-strip { position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.14); padding-top: 26px; padding-bottom: 34px; gap: 18px; }
.stat strong { display: block; font-family: var(--disp); font-size: 27px; font-weight: 700;
  text-transform: uppercase; color: #fff; line-height: 1.1; }
.stat span { font-size: 13px; color: #9aa0a6; }
@media (max-width: 760px) { .stat-strip { grid-template-columns: 1fr 1fr; } }

/* Divisions */
.divisions { padding: clamp(64px, 8vw, 110px) 0; }
.div-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 40px; }
.div-card { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff;
  transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column; }
.div-card:hover { box-shadow: 0 14px 40px rgba(16,18,20,.12); transform: translateY(-3px); }
.div-img { aspect-ratio: 16/8.5; overflow: hidden; background: var(--paper-2); }
.div-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(35%) contrast(1.04); }
.div-body { padding: 26px 28px 30px; }
.div-body h3 { font-size: 30px; margin-bottom: 10px; }
.div-body p { color: var(--ink-2); font-size: 15px; margin-bottom: 16px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px;
  color: var(--accent-text); text-transform: uppercase; letter-spacing: .06em; }
.div-card:hover .link-arrow { text-decoration: underline; }
@media (max-width: 820px) { .div-grid { grid-template-columns: 1fr; } }

/* Split heads */
.split-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.split-head .intro { color: var(--ink-2); font-size: 16px; }
@media (max-width: 820px) { .split-head { grid-template-columns: 1fr; gap: 16px; } }

/* Industrial */
.industrial { padding: clamp(64px, 8vw, 110px) 0 0; background: var(--paper-2); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: clamp(56px, 7vw, 90px); }
.svc { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 24px 22px; }
.svc .fi { width: 26px; height: 26px; color: var(--accent-text); margin-bottom: 14px; }
.svc h3 { font-size: 21px; margin-bottom: 7px; }
.svc p { font-size: 14px; color: var(--ink-2); }
.svc-cta { background: var(--steel-2); border-color: var(--steel-2); color: #fff;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; justify-content: center; }
.svc-cta p { color: #b9bec4; margin-bottom: 6px; }
@media (max-width: 920px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* Brand marquee */
.marquee { background: var(--steel); overflow: hidden; padding: 20px 0; }
.marquee-track { display: flex; gap: 54px; width: max-content; animation: scroll 46s linear infinite; }
.marquee-track span { font-family: var(--disp); font-size: 21px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: #7d838a; white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Work / proof */
.work { background: var(--steel); color: #fff; padding: clamp(64px, 8vw, 110px) 0; }
.work-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 20px; margin-top: 40px; }
.ba, .work-card { background: var(--steel-2); border: 1px solid var(--line-dark); border-radius: 6px;
  overflow: hidden; display: flex; flex-direction: column; }
.ba-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.ba-img { position: relative; }
.ba-img img, .work-card > img { width: 100%; aspect-ratio: 4/3.1; object-fit: cover; }
.tag { position: absolute; top: 10px; left: 10px; font-family: var(--disp); font-weight: 700;
  text-transform: uppercase; font-size: 13px; letter-spacing: .08em; padding: 3px 10px; border-radius: 3px; }
.tag-before { background: #2c3034; color: #d4d7da; }
.tag-after { background: var(--accent); color: #16181b; }
.work-cap { padding: 18px 20px 22px; font-size: 13.5px; color: #a7adb3; }
.work-cap strong { color: #fff; display: block; font-size: 14.5px; margin-bottom: 4px; }
@media (max-width: 920px) { .work-grid { grid-template-columns: 1fr; } .ba-img img, .work-card > img { aspect-ratio: 16/8; } }

.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.quote-grid.three { grid-template-columns: repeat(3, 1fr); }
.quote-grid blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; }
.work .quote-grid blockquote p { color: #d4d7da; }
.quote-grid p { font-size: 15px; font-style: italic; margin-bottom: 12px; }
.quote-grid cite { font-style: normal; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.work .quote-grid cite { color: #8b9197; }
@media (max-width: 820px) { .quote-grid, .quote-grid.three { grid-template-columns: 1fr; } }

/* Custom fabrication */
.custom { padding: clamp(64px, 8vw, 110px) 0; }
.coil-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.coil-grid img { width: 100%; aspect-ratio: 1/0.86; object-fit: cover; border-radius: 6px;
  border: 1px solid var(--line); filter: contrast(1.03); }
@media (max-width: 760px) { .coil-grid { grid-template-columns: 1fr 1fr; } }

/* Automotive */
.automotive { padding: clamp(64px, 8vw, 110px) 0; background: var(--paper-2); }
.auto-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.auto-copy > p { color: var(--ink-2); margin-bottom: 22px; }
.check-list { list-style: none; margin-bottom: 28px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; font-size: 15px; align-items: flex-start; }
.check-list .fi { color: var(--accent-text); margin-top: 3px; width: 16px; height: 16px; stroke-width: 2.6; }
.check-list.light .fi { color: var(--accent); }
.check-list.light li { color: #d4d7da; }
.auto-img img { border-radius: 6px; width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
@media (max-width: 880px) { .auto-grid { grid-template-columns: 1fr; } .auto-img img { min-height: 0; } }
.automotive .quote-grid { margin-top: 56px; }

/* NATCO */
.natco { background: var(--steel-2); color: #fff; padding: clamp(64px, 8vw, 110px) 0; }
.natco-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: center; }
.natco p { color: #c3c8cd; margin-bottom: 20px; }
.natco .check-list { margin: 0 0 22px; }
.natco-cta a { color: var(--accent); font-weight: 700; }
.natco-cta a:hover { text-decoration: underline; }
.natco-img img { border-radius: 6px; width: 100%; }
.natco-img figcaption { font-size: 13px; color: #8b9197; margin-top: 12px; }
@media (max-width: 880px) { .natco-grid { grid-template-columns: 1fr; } }

/* About */
.about { padding: clamp(64px, 8vw, 110px) 0; }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: start; }
.about-grid > div > p { color: var(--ink-2); margin-bottom: 18px; }
.team { list-style: none; display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.team li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--line); }
.team strong { font-family: var(--disp); font-size: 21px; text-transform: uppercase; font-weight: 700; }
.team span { font-size: 13.5px; color: var(--ink-3); }
.green-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; padding: 32px 30px; }
.green-card .fi.big { width: 34px; height: 34px; color: var(--accent-text); margin-bottom: 16px; }
.green-card h3 { font-size: 24px; margin-bottom: 10px; }
.green-card p { font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }

/* Contact */
.contact { padding: clamp(64px, 8vw, 110px) 0; background: var(--paper-2); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 26px; margin-top: 40px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 30px; }
.contact-card h3 { font-size: 25px; margin-bottom: 18px; }
.c-list { list-style: none; display: grid; gap: 16px; margin-bottom: 20px; }
.c-list li { display: flex; gap: 14px; font-size: 15px; }
.c-list .fi { color: var(--accent-text); margin-top: 3px; }
.c-list a { font-weight: 600; }
.c-list a:hover { color: var(--accent-text); }
.directions { font-size: 13.5px; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 18px; }
.map { min-height: 380px; border-radius: 6px; border: 1px solid var(--line); z-index: 1; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } .map { min-height: 300px; } }

/* Quote form */
.quote-form { margin-top: 60px; background: var(--steel); color: #fff; border-radius: 8px;
  padding: clamp(30px, 5vw, 56px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 46px; }
.qf-head h3 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 12px; }
.qf-head p { color: #b9bec4; font-size: 15px; }
.quote-form form { display: grid; gap: 16px; }
.quote-form label { font-size: 13px; font-weight: 600; display: grid; gap: 6px; color: #d4d7da; }
.quote-form .opt { color: #8b9197; font-weight: 400; }
.quote-form input[type="text"], .quote-form input[type="tel"], .quote-form input[type="email"], .quote-form textarea {
  background: var(--steel-2); border: 1px solid var(--line-dark); border-radius: 4px; color: #fff;
  padding: 12px 14px; font: inherit; font-size: 15px; width: 100%;
}
.quote-form input:focus, .quote-form textarea:focus { outline: none; border-color: var(--accent); }
.quote-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line-dark); border-radius: 99px;
  font-size: 13.5px; font-weight: 600; color: #b9bec4; transition: .15s; }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: #16181b; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.quote-form .btn { justify-self: start; }
.form-note { font-size: 13px; color: #8b9197; }
.form-note a { color: #fff; font-weight: 600; }
.form-success { text-align: center; padding: 40px 10px; }
.form-success h3 { font-size: 28px; margin: 14px 0 8px; }
.form-success p { color: #b9bec4; max-width: 460px; margin: 0 auto; }
@media (max-width: 880px) { .quote-form { grid-template-columns: 1fr; gap: 26px; } .quote-form .row { grid-template-columns: 1fr; } }

/* Footer */
footer { background: var(--steel); color: #b9bec4; padding: 60px 0 0; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; }
.foot-name { display: block; font-family: var(--disp); font-size: 26px; font-weight: 700;
  text-transform: uppercase; color: #fff; line-height: 1; margin-bottom: 12px; }
.foot-grid h4 { font-family: var(--disp); text-transform: uppercase; font-size: 17px; color: #fff;
  margin-bottom: 14px; letter-spacing: .04em; }
.foot-grid a { display: block; padding: 4px 0; color: #b9bec4; }
.foot-grid a:hover { color: #fff; }
.foot-addr { display: block; padding: 4px 0; }
.foot-base { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid var(--line-dark); padding-top: 22px; padding-bottom: 26px; font-size: 13px; color: #7d838a; }
.jak-credit { display: inline-flex; align-items: center; gap: 9px; }
.jak-credit img { height: 30px; width: auto; display: inline-block; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}

/* Demo ribbon */
.demo-ribbon { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 900;
  background: #16181b; color: #fff; font-size: 13px; font-weight: 600; padding: 10px 14px 10px 18px;
  border-radius: 99px; display: flex; align-items: center; gap: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.35);
  border: 1px solid #2c3034; white-space: nowrap; }
.demo-ribbon button { background: none; border: 0; color: #8b9197; font-size: 14px; cursor: pointer; padding: 2px 6px; }
.demo-ribbon button:hover { color: #fff; }
