/* ============================================
   QUINTONHECK.COM — Design System
   Concept: "Ink & Paper" — cream, ink, red
   ============================================ */

@font-face {
  font-family: 'Druk';
  src: url('../fonts/druk-wide-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --paper: #EDE6D6;
  --paper-dark: #E2D9C4;
  --ink: #191511;
  --red: #C9401A;
  --muted: #6b6355;
  --soft: #DCD2BC;
  --maxw: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.druk {
  font-family: 'Druk', 'Arial Black', sans-serif;
  text-transform: uppercase;
  line-height: .92;
  font-weight: 700;
}

.wrap { max-width: var(--maxw); margin: 0 auto; }

/* ---------- Nav ---------- */
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 40px;
  border-bottom: 2px solid var(--ink);
  position: sticky; top: 0; background: var(--paper); z-index: 50;
}
.nav .logo { font-family: 'Druk'; font-size: 18px; letter-spacing: 1px; text-decoration: none; text-transform: uppercase; }
.nav .logo:hover { color: var(--red); }
.nav-links { display: flex; align-items: center; }
.nav-links a {
  color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 500;
  margin-left: 28px; text-transform: uppercase; letter-spacing: 1px;
  padding-bottom: 3px; border-bottom: 2px solid transparent; transition: .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--red); border-color: var(--red); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; transition: .25s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--ink); color: var(--paper);
  padding: 16px 34px; text-decoration: none; font-weight: 700;
  text-transform: uppercase; font-size: 13px; letter-spacing: 1.5px;
  border: 2px solid var(--ink); transition: .25s; cursor: pointer;
}
.btn:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-3px); }

/* ---------- Hero ---------- */
.hero { padding: 70px 40px 50px; border-bottom: 2px solid var(--ink); }
.hero h1 { font-size: clamp(56px, 12.5vw, 190px); letter-spacing: -1px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line span { display: inline-block; transform: translateY(110%); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hero h1 .line:nth-child(2) span { animation-delay: .12s; color: transparent; -webkit-text-stroke: 2.5px var(--ink); }
@keyframes rise { to { transform: translateY(0); } }
.hero .sub { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 30px; flex-wrap: wrap; gap: 22px; }
.hero .sub p { max-width: 440px; font-size: 16px; line-height: 1.55; }

/* Page hero (interior pages) */
.page-hero { padding: 60px 40px 44px; border-bottom: 2px solid var(--ink); }
.page-hero h1 { font-size: clamp(38px, 7.5vw, 110px); letter-spacing: -1px; }
.page-hero p.lede { max-width: 640px; margin-top: 20px; font-size: 17px; line-height: 1.6; }

/* ---------- Marquee ---------- */
.marquee { border-bottom: 2px solid var(--ink); background: var(--red); color: var(--paper); overflow: hidden; white-space: nowrap; padding: 12px 0; }
.marquee .track { display: inline-block; animation: scroll 24s linear infinite; font-family: 'Druk'; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding: 90px 40px; }
.label { font-family: 'Druk'; font-size: 13px; color: var(--red); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; }
.sec-title { font-family: 'Druk'; font-size: clamp(30px, 4.5vw, 54px); text-transform: uppercase; line-height: .95; margin-bottom: 24px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero h1 .line span { transform: none; animation: none; }
  .marquee .track { animation: none; }
}

/* ---------- Feature block ---------- */
.feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.feature .thumb { display: block; border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); transition: .3s; }
.feature .thumb img { width: 100%; }
.feature .thumb:hover { box-shadow: 14px 14px 0 var(--red); }
.feature h2, .feature h3 { font-family: 'Druk'; font-size: clamp(28px, 4.5vw, 52px); text-transform: uppercase; line-height: .95; margin-bottom: 18px; }
.feature p { line-height: 1.6; margin-bottom: 26px; }

/* ---------- Video grid ---------- */
.vid-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.vid-card { text-decoration: none; color: var(--ink); border: 2px solid var(--ink); background: var(--paper); transition: .25s; }
.vid-card:hover { transform: translateY(-6px); box-shadow: 8px 8px 0 var(--ink); }
.vid-card img { border-bottom: 2px solid var(--ink); }
.vid-card .body { padding: 16px 18px; }
.vid-card .body h3 { font-size: 15px; line-height: 1.35; font-weight: 600; }
.vid-card .body .cat { font-size: 11px; color: var(--red); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 8px; font-weight: 700; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 2px solid var(--ink); margin-top: 80px; }
.stat { padding: 34px; border-right: 2px solid var(--ink); text-align: center; }
.stat:last-child { border-right: none; }
.stat .num { font-family: 'Druk'; font-size: clamp(30px, 4.5vw, 52px); }
.stat .cap { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; margin-top: 6px; color: var(--muted); }

/* ---------- Dark band ---------- */
.band { background: var(--ink); color: var(--paper); }
.band .label { color: var(--red); }
.band h2 { font-family: 'Druk'; font-size: clamp(32px, 6vw, 80px); text-transform: uppercase; line-height: .95; max-width: 950px; }
.band h2 em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--paper); }
.band p { max-width: 580px; margin-top: 26px; line-height: 1.65; color: #cfc6b2; }
.band .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); margin-top: 30px; }
.band .btn:hover { background: var(--red); color: var(--paper); border-color: var(--red); }

/* ---------- Product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }
.prod { border: 2px solid var(--ink); background: #F4EFE3; display: flex; flex-direction: column; transition: .25s; }
.prod:hover { transform: translateY(-6px); box-shadow: 8px 8px 0 var(--ink); }
.prod .ph { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 26px; border-bottom: 2px solid var(--ink); background: transparent; }
.prod .ph img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.prod .body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.prod h3 { font-size: 16px; line-height: 1.3; margin-bottom: 8px; }
.prod .why { font-size: 14px; line-height: 1.5; color: var(--muted); flex: 1; margin-bottom: 16px; }
.prod .btn { padding: 12px 22px; font-size: 12px; text-align: center; }
.prod .num-badge { font-family: 'Druk'; font-size: 30px; color: var(--red); margin-bottom: 6px; }

/* ---------- Disclosure ---------- */
.disclosure { font-size: 13px; color: var(--muted); border: 1.5px solid var(--soft); background: var(--paper-dark); padding: 14px 18px; line-height: 1.5; margin-top: 26px; }

/* ---------- Press list ---------- */
.press-item { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 26px 0; border-bottom: 1.5px solid var(--ink); text-decoration: none; color: var(--ink); transition: .2s; flex-wrap: wrap; }
.press-item:hover { padding-left: 12px; color: var(--red); }
.press-item .outlet { font-family: 'Druk'; font-size: 15px; text-transform: uppercase; letter-spacing: 1px; min-width: 180px; }
.press-item .headline { flex: 1; font-size: 17px; line-height: 1.4; font-weight: 500; }
.press-item .date { font-size: 13px; color: var(--muted); white-space: nowrap; }

/* ---------- Timeline (about) ---------- */
.timeline { border-left: 2.5px solid var(--ink); margin: 50px 0 0 8px; padding-left: 36px; }
.tl-item { position: relative; padding-bottom: 46px; }
.tl-item::before { content: ''; position: absolute; left: -45px; top: 4px; width: 15px; height: 15px; background: var(--paper); border: 3px solid var(--ink); border-radius: 50%; }
.tl-item:hover::before { background: var(--red); }
.tl-item .yr { font-family: 'Druk'; font-size: 26px; color: var(--red); }
.tl-item h3 { font-size: 19px; margin: 6px 0 8px; }
.tl-item p { line-height: 1.6; max-width: 640px; color: #3d372e; }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 40px; }
.post-card { border: 2px solid var(--ink); padding: 30px; text-decoration: none; color: var(--ink); background: #F4EFE3; transition: .25s; }
.post-card:hover { transform: translateY(-5px); box-shadow: 8px 8px 0 var(--ink); }
.post-card .date { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--red); font-weight: 700; }
.post-card h3 { font-size: 21px; line-height: 1.3; margin: 12px 0; }
.post-card p { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* Article body */
.article { max-width: 720px; margin: 0 auto; padding: 70px 40px; }
.article h1 { font-family: 'Druk'; font-size: clamp(30px, 5vw, 54px); text-transform: uppercase; line-height: .98; margin-bottom: 14px; }
.article .meta { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 36px; }
.article h2 { font-size: 26px; margin: 40px 0 14px; }
.article p { font-size: 17px; line-height: 1.75; margin-bottom: 20px; }
.article a { color: var(--red); font-weight: 600; }
.article ul, .article ol { margin: 0 0 20px 24px; }
.article li { font-size: 17px; line-height: 1.7; margin-bottom: 8px; }
.article .yt-embed { position: relative; padding-bottom: 56.25%; height: 0; margin: 30px 0; border: 2px solid var(--ink); }
.article .yt-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Footer ---------- */
footer { padding: 50px 40px 40px; border-top: 2px solid var(--ink); }
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 28px; }
.foot-grid .fbrand { font-family: 'Druk'; font-size: 22px; text-transform: uppercase; }
.foot-col { font-size: 13px; }
.foot-col a { display: block; color: var(--ink); text-decoration: none; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.foot-col a:hover { color: var(--red); }
.foot-col .fh { font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; font-size: 12px; color: var(--muted); }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1.5px solid var(--soft); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--muted); }
.legal a { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { padding: 16px 22px; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 2px solid var(--ink);
    flex-direction: column; align-items: flex-start; padding: 10px 22px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { margin: 12px 0 0 0; font-size: 15px; }
  .nav-toggle { display: block; }
  .hero, .page-hero, section { padding-left: 22px; padding-right: 22px; }
  section { padding-top: 64px; padding-bottom: 64px; }
  .feature { grid-template-columns: 1fr; gap: 30px; }
  .vid-row { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 2px solid var(--ink); }
  .stat:last-child { border-bottom: none; }
  .press-item .outlet { min-width: 100%; }
  .article { padding: 50px 22px; }
  footer { padding: 40px 22px 30px; }
}
@media (max-width: 560px) {
  .prod-grid { grid-template-columns: 1fr; }
  .hero .sub { flex-direction: column; align-items: flex-start; }
}
