/* diamondback.tools — v2, matched to diamondbackcovers.com
   Colors from their theme CSS vars · fonts self-hosted Forza SSm / Vitesse SSm (theirs)
   Aesthetic: light-first alternating bands, solid brand-blue statement band,
   rust-red CTAs, caps headlines with heavy/light weight mixing, black footer
   with ghost "NEVER LOOK BACK" watermark. */

@font-face { font-family: "Forza SSm A"; src: url(/assets/fonts/Forza-Book.otf);   font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Forza SSm A"; src: url(/assets/fonts/Forza-Medium.otf); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Forza SSm A"; src: url(/assets/fonts/Forza-Bold.otf);   font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Forza SSm A"; src: url(/assets/fonts/Forza-Black.otf);  font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Vitesse SSm A"; src: url(/assets/fonts/Vitesse-Book.otf);   font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Vitesse SSm A"; src: url(/assets/fonts/Vitesse-Medium.otf); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Vitesse SSm A"; src: url(/assets/fonts/Vitesse-Bold.otf);   font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Vitesse SSm A"; src: url(/assets/fonts/Vitesse-Black.otf);  font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --ink: #2d2d2d;          /* --pq-black */
  --black: #000000;
  --slate: #212e39;        /* --dark-blue */
  --blue: #06b9e4;         /* brand blue */
  --blue-hover: #008ab7;
  --red: #b43c28;          /* --red (CTA) */
  --red-hover: #a52d20;
  --steel: #a0a1a2;
  --steel-dark: #4f5150;
  --off-white: #edeceb;    /* --pq-off-white */
  --line: #e0e0e0;
  --white: #ffffff;
  --font: "Forza SSm A", Arial, sans-serif;
  --font-slab: "Vitesse SSm A", Georgia, serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body { font-family: var(--font); background: var(--white); color: var(--ink); line-height: 1.6; min-height: 100vh; }
/* black-page: full-black homepage variant */
body.black-page { background: #000; color: #d9d9d9; }
body.black-page .band h2.display { color: var(--white); }
body.black-page .band .wrap p { color: var(--steel); }
body.black-page .sec-label { color: var(--blue); }
a { color: var(--blue-hover); text-decoration: none; transition: opacity .15s ease; }
a:hover { opacity: .7; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
img { max-width: 100%; display: block; }

/* ---------- header (black bar, white logo, caps nav) ---------- */
.hub-header {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 0 26px; height: 64px;
  background: var(--black);
  position: sticky; top: 0; z-index: 50;
}
.hub-logo { display: flex; align-items: center; gap: 12px; }
.hub-logo img, .hub-logo svg { height: 30px; width: auto; }
.hub-logo .tools-tag {
  font-family: var(--font); font-weight: 800; font-size: 15px; letter-spacing: .12em;
  color: var(--blue); text-transform: uppercase; border-left: 1px solid #3a3a3a; padding-left: 12px;
}
.hub-nav { display: flex; gap: clamp(14px, 2vw, 26px); flex-wrap: nowrap; align-items: center; height: 64px; }
.hub-nav > a { white-space: nowrap; }
.hub-nav a {
  font-family: var(--font); text-transform: uppercase;
  font-weight: 500; font-size: 13px; letter-spacing: .1em; color: #cfcfcf;
}
.hub-nav a:hover { color: var(--white); opacity: 1; }
.hub-nav a.active { color: var(--white); border-bottom: 2px solid var(--blue); padding-bottom: 3px; }
@media (max-width: 900px) { .hub-nav { display: none; } }

/* ---------- Tools mega-menu ---------- */
.nav-drop { position: relative; display: flex; align-items: center; height: 64px; }
.nav-drop-btn {
  background: none; border: 0; cursor: pointer;
  height: 64px; padding: 0 4px; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font); text-transform: uppercase;
  font-weight: 500; font-size: 13px; letter-spacing: .1em; color: #cfcfcf;
}
.nav-drop-btn::after {
  content: ""; width: 7px; height: 7px; margin-top: -3px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(45deg); transition: transform .18s ease;
}
.nav-drop.open .nav-drop-btn::after { transform: rotate(225deg); margin-top: 3px; }
.nav-drop-btn:hover, .nav-drop.open .nav-drop-btn, .nav-drop-btn.active { color: var(--white); }
.nav-drop-btn.active { box-shadow: inset 0 -2px 0 var(--blue); }
.mega {
  position: absolute; top: 64px; right: -120px; z-index: 70;
  width: min(680px, calc(100vw - 32px));
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease-out, transform .18s ease-out, visibility .18s;
}
.nav-drop.open .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: #0a0a0a; border: 1px solid #262626; border-top: 3px solid var(--blue);
  box-shadow: 0 24px 48px rgba(0,0,0,.6);
  padding: 22px 24px 24px;
}
.mega-group + .mega-group { border-left: 1px solid #1d1d1d; padding-left: 24px; margin-left: 24px; }
.mega-title {
  font-family: var(--font); text-transform: uppercase; font-weight: 800;
  font-size: 11px; letter-spacing: .22em; color: var(--steel-dark);
  margin-bottom: 10px;
}
.mega-item {
  display: block; padding: 10px 10px; margin: 0 -10px; border-radius: 2px;
}
.mega-item:hover { background: #141414; opacity: 1; }
.mega-item.active { background: #10181d; box-shadow: inset 3px 0 0 var(--blue); }
.mega-row { display: flex; align-items: baseline; gap: 10px; }
.mega-no { font-family: var(--font-slab); font-size: 10.5px; letter-spacing: .1em; color: var(--blue); }
.mega-label { font-family: var(--font); text-transform: uppercase; font-weight: 800; font-size: 14px; letter-spacing: .04em; color: var(--white); }
.mega-desc { display: block; font-family: var(--font); font-weight: 400; font-size: 12.5px; color: var(--steel); margin-top: 2px; }
.mega-item:hover .mega-desc { color: #cfcfcf; }

/* ---------- mobile burger + panel ---------- */
.burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.burger span { display: block; height: 2px; width: 100%; background: var(--white); transition: transform .18s ease, opacity .18s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) { .burger { display: flex; } }
.mob-panel {
  display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(0,0,0,.97); overflow-y: auto;
}
.mob-panel.open { display: block; }
.mob-inner { padding: 24px 26px 60px; display: flex; flex-direction: column; }
.mob-inner a {
  font-family: var(--font); text-transform: uppercase; font-weight: 800;
  font-size: 20px; letter-spacing: .04em; color: var(--white);
  padding: 13px 0; border-bottom: 1px solid #161616;
}
.mob-inner a.active { color: var(--blue); }
.mob-title {
  font-family: var(--font); text-transform: uppercase; font-weight: 500;
  font-size: 11px; letter-spacing: .22em; color: var(--steel-dark);
  margin: 26px 0 4px;
}

/* ---------- hero: full-bleed photo band ---------- */
.hero {
  position: relative; color: var(--white);
  background: var(--black) center/cover no-repeat;
  padding: 96px 6vw 90px;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.15) 100%); }
.hero > * { position: relative; }
.hero-photo { background-image: url(/assets/img/hero-built-free.png); }
.eyebrow {
  font-family: var(--font); text-transform: uppercase;
  color: var(--blue); font-weight: 500; letter-spacing: .24em; font-size: 13px;
  margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--font); text-transform: uppercase;
  font-weight: 800; font-size: clamp(40px, 6vw, 74px);
  line-height: .98; letter-spacing: .01em; color: var(--white); max-width: 780px;
}
.hero h1 .lt { font-weight: 400; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lede { max-width: 620px; margin-top: 22px; color: #d9d9d9; font-size: 16px; font-weight: 400; }
.hero .lede strong { color: var(--white); font-weight: 500; }
.hero .btn { margin-top: 26px; }

/* ---------- buttons (their squared caps style) ---------- */
.btn {
  display: inline-block; cursor: pointer; border: 0; border-radius: 0;
  background: var(--red); color: var(--white);
  font-family: var(--font); text-transform: uppercase;
  font-weight: 500; font-size: 14px; letter-spacing: .12em;
  padding: 13px 30px; transition: background .15s ease;
  text-align: center;
}
.btn:hover { background: var(--red-hover); color: var(--white); opacity: 1; }
.btn:disabled { background: var(--steel); cursor: wait; }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-hover); }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: #000; }

/* ---------- the blue statement band (signature) ---------- */
.blue-band { background: var(--blue); color: var(--slate); padding: 58px 6vw; text-align: center; }
.blue-band .statement {
  max-width: 900px; margin: 0 auto;
  font-family: var(--font); font-weight: 500; font-size: clamp(19px, 2.6vw, 27px);
  line-height: 1.45;
}
.blue-band .statement strong { color: var(--white); font-weight: 800; }
.pillars { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 5vw, 70px); margin-top: 40px; }
.pillar { text-align: center; min-width: 110px; }
.pillar .p-icon {
  width: 54px; height: 54px; margin: 0 auto 10px; border: 3px solid var(--slate); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font); font-weight: 800; font-size: 20px; color: var(--slate);
}
.pillar .p-label { font-family: var(--font); text-transform: uppercase; font-weight: 800; font-size: 13.5px; letter-spacing: .06em; line-height: 1.25; }

/* ---------- section bands ---------- */
.band { padding: 0; }
.band-dark { background: var(--black); color: var(--white); }
.band-slate { background: var(--slate); color: var(--white); }
.band-grey { background: var(--off-white); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 72px 26px; }
.sec-label {
  font-family: var(--font); font-size: 12px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--blue-hover); margin-bottom: 10px; font-weight: 500;
}
.band-dark .sec-label, .band-slate .sec-label { color: var(--blue); }
h2.display {
  font-family: var(--font); text-transform: uppercase; font-weight: 800;
  font-size: clamp(30px, 4.2vw, 50px); line-height: 1.02; margin-bottom: 18px;
}
h2.display .lt { font-weight: 400; }
.center { text-align: center; }

/* ---------- tool tiles (photo category-grid style) ---------- */
.plate-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px; max-width: 1180px; margin: 0 auto; padding: 64px 26px 84px;
}
.plate {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 340px; padding: 26px 24px;
  background: var(--slate) center/cover no-repeat; color: var(--white);
  overflow: hidden; transition: transform .18s ease;
}
.plate::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,24,30,.18) 0%, rgba(12,16,20,.82) 78%); }
.plate:hover { transform: translateY(-4px); color: var(--white); opacity: 1; }
.plate > * { position: relative; }
.plate-no {
  font-family: var(--font-slab); font-size: 11.5px; letter-spacing: .16em;
  color: #c3c8cc; text-transform: uppercase;
  display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px;
}
.plate-no .status { color: var(--blue); }
.plate-no .status.soon { color: var(--steel); }
.plate h3 {
  font-family: var(--font); text-transform: uppercase;
  font-weight: 800; font-size: 27px; letter-spacing: .01em; color: var(--white);
  margin-bottom: 6px; line-height: 1;
}
.plate p { font-size: 14px; color: #d4d7d9; font-weight: 400; max-width: 42ch; }
.plate .go {
  margin-top: 16px; align-self: flex-start;
  background: var(--red); color: var(--white);
  font-family: var(--font); text-transform: uppercase;
  font-weight: 500; letter-spacing: .12em; font-size: 12.5px;
  padding: 9px 18px;
}
.plate:hover .go { background: var(--red-hover); }
/* per-tile art */
.tile-brand    { background-image: url(/assets/img/tacoma-hd.png); background-color: #d8dadb; }
.tile-ads      { background-image: url(/assets/img/hero-built-free.png); }
.tile-scripts  { background-image: url(/assets/img/tacoma-switchback.png); background-color: #d8dadb; }
.tile-copy     { background-image: url(/assets/img/facility.jpg); }
.tile-qc       { background-image: url(/assets/img/stronghold.png); background-color: #23282c; background-size: contain; background-position: center 30%; }
.tile-lab      { background-image: url(/assets/img/facility.jpg); background-position: center 70%; }

/* ---------- stat band (reviews-style) ---------- */
.stat-band { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(28px, 7vw, 90px); padding: 10px 26px 0; }
.stat { text-align: center; }
.stat .n { font-family: var(--font); font-weight: 800; font-size: clamp(34px, 4.5vw, 54px); line-height: 1; }
.stat .l { font-family: var(--font); text-transform: uppercase; font-weight: 500; font-size: 12.5px; letter-spacing: .14em; color: var(--steel-dark); margin-top: 6px; }
.band-dark .stat .l { color: var(--steel); }

/* ---------- forms (tools) ---------- */
.tool-layout { display: grid; grid-template-columns: 400px 1fr; gap: 26px; max-width: 1220px; margin: 0 auto; padding: 48px 26px 90px; }
@media (max-width: 940px) { .tool-layout { grid-template-columns: 1fr; } }
.tool-form { align-self: start; position: sticky; top: 88px; background: var(--off-white); padding: 26px 24px; }
@media (max-width: 940px) { .tool-form { position: static; } }
.field { margin-bottom: 16px; }
.field label {
  display: block; font-family: var(--font); text-transform: uppercase;
  font-weight: 500; font-size: 12px; letter-spacing: .12em; color: var(--steel-dark); margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; background: var(--white); color: var(--ink);
  border: 1px solid #d5d4d1; border-radius: 0;
  padding: 11px 12px; font-family: var(--font); font-weight: 400; font-size: 15px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; }
.tool-form .btn { width: 100%; }

/* output panel */
.output {
  background: var(--white); color: var(--ink); border: 1px solid var(--line);
  padding: 34px 38px; min-height: 340px; position: relative;
}
.output.empty { display: flex; align-items: center; justify-content: center; color: #9a9a96; font-size: 15px; text-align: center; }
.output h1, .output h2, .output h3, .output h4 { font-family: var(--font); text-transform: uppercase; letter-spacing: .01em; margin: 24px 0 8px; line-height: 1.1; font-weight: 800; }
.output h3 { font-size: 23px; border-bottom: 3px solid var(--ink); padding-bottom: 6px; }
.output h4 { font-size: 17px; color: var(--blue-hover); }
.output p, .output li { font-size: 15px; margin-bottom: 10px; font-weight: 400; }
.output ul, .output ol { padding-left: 22px; margin-bottom: 12px; }
.output table { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: 13.5px; }
.output th, .output td { border: 1px solid var(--line); padding: 7px 10px; text-align: left; vertical-align: top; }
.output th { font-family: var(--font); text-transform: uppercase; letter-spacing: .06em; background: var(--off-white); font-weight: 800; }
.output strong { font-weight: 800; }
.output hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.copy-btn {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--font); text-transform: uppercase; letter-spacing: .1em;
  font-size: 12px; font-weight: 500; color: var(--white);
  background: var(--ink); border: 0; border-radius: 0;
  padding: 7px 14px; cursor: pointer;
}
.copy-btn:hover { background: #000; }
.spin { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(6,185,228,.3); border-top-color: var(--blue); border-radius: 50%; animation: rot .8s linear infinite; vertical-align: -3px; margin-right: 8px; }
@keyframes rot { to { transform: rotate(360deg); } }
.err { color: var(--red); font-weight: 500; }

/* ---------- login gate ---------- */
.gate {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: var(--black) center/cover no-repeat; position: relative;
}
.gate::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.gate-card {
  position: relative; width: 100%; max-width: 430px; text-align: center;
  background: var(--white); padding: 48px 40px 40px;
}
.gate-card .hub-logo { justify-content: center; margin-bottom: 8px; }
.gate-card .hub-logo img { height: 34px; filter: invert(1) brightness(0); }
.gate-card .tools-tag { color: var(--blue-hover); border-left-color: var(--line); }
.gate-card .keyline { font-family: var(--font-slab); color: var(--steel-dark); font-size: 14px; margin: 12px 0 26px; }
.gate-card input {
  width: 100%; text-align: center; letter-spacing: .3em; text-transform: uppercase;
  background: var(--white); color: var(--ink); border: 1px solid #d5d4d1;
  padding: 14px; font-family: var(--font); font-size: 19px; font-weight: 500;
}
.gate-card input:focus { border-color: var(--blue); outline: none; }
.gate-card .btn { width: 100%; margin-top: 16px; }
.gate-msg { min-height: 22px; margin-top: 12px; font-size: 14px; font-weight: 400; }

/* ---------- brand profile long-form ---------- */
.profile-layout { display: grid; grid-template-columns: 210px 1fr; gap: 44px; max-width: 1220px; margin: 0 auto; padding: 48px 26px 100px; }
@media (max-width: 940px) { .profile-layout { grid-template-columns: 1fr; } }
.toc { position: sticky; top: 88px; align-self: start; font-size: 13px; border-left: 3px solid var(--blue); padding-left: 14px; }
@media (max-width: 940px) { .toc { display: none; } }
.toc a { display: block; padding: 4px 0; color: var(--steel-dark); font-family: var(--font); text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }
.toc a:hover { color: var(--ink); opacity: 1; }
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.chip { padding: 16px 16px 13px; min-width: 138px; border: 1px solid var(--line); }
.chip .hex { font-family: var(--font-slab); font-size: 12.5px; letter-spacing: .05em; }
.chip .name { font-family: var(--font); text-transform: uppercase; font-weight: 800; font-size: 14px; letter-spacing: .05em; }
.quote-wall blockquote {
  border-left: 4px solid var(--blue); padding: 6px 0 6px 18px; margin: 14px 0;
  font-family: var(--font-slab); font-weight: 500; font-size: 16.5px; color: var(--ink);
}
.band-dark .quote-wall blockquote, .band-slate .quote-wall blockquote { color: var(--white); }
.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; font-weight: 400; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.spec-table th { font-family: var(--font); text-transform: uppercase; letter-spacing: .07em; font-size: 12.5px; color: var(--white); background: var(--slate); font-weight: 800; }
.band-dark .spec-table td, .band-slate .spec-table td { border-color: #3a4652; }
h3.rule {
  font-family: var(--font); text-transform: uppercase; font-weight: 800;
  font-size: 25px; letter-spacing: .01em;
  margin: 40px 0 12px; padding-top: 10px; border-top: 3px solid var(--ink);
}
.band-dark h3.rule, .band-slate h3.rule { border-top-color: var(--blue); }
h3.rule .footnote { font-weight: 400; text-transform: none; letter-spacing: 0; }
.footnote { color: var(--steel-dark); font-size: 13px; font-weight: 400; }
.flag { color: var(--red); font-weight: 500; }
.profile-body p, .profile-body li { font-weight: 400; font-size: 15px; }
.profile-body ul, .profile-body ol { padding-left: 22px; margin: 10px 0; }
.profile-body li { margin-bottom: 8px; }

/* ---------- footer: black + ghost watermark ---------- */
.hub-footer {
  position: relative; overflow: hidden;
  background: var(--black); color: var(--steel);
  padding: 64px 26px 90px; text-align: center; font-size: 13px; font-weight: 400;
}
.hub-footer b { color: var(--white); font-family: var(--font); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.hub-footer::after {
  content: "NEVER LOOK BACK";
  position: absolute; left: 0; right: 0; bottom: -8px;
  font-family: var(--font); font-weight: 800; font-size: clamp(56px, 9vw, 130px);
  letter-spacing: .02em; color: rgba(255,255,255,.05);
  white-space: nowrap; pointer-events: none; text-align: center;
}

.mega-inner.one-col { grid-template-columns: 1fr; min-width: 300px; }
