/* Redline Fabrication Journal, self-contained Cloudflare archive. */
@font-face {
  font-family: "TC Sans";
  src: url("fonts/dejavu-sans.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "TC Condensed";
  src: url("fonts/dejavu-sans-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --ink: #090a0c;
  --steel: #111318;
  --steel-2: #181b20;
  --paper: #f1ede5;
  --paper-2: #ddd9d1;
  --muted: #a9abb0;
  --red: #e31824;
  --red-dark: #a90f18;
  --line: rgba(255, 255, 255, 0.14);
  --max: 1180px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: #fff;
  font-family: "TC Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: #fff;
  color: #000;
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-family: "TC Condensed", Impact, sans-serif;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "TC Condensed", Impact, sans-serif;
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .98;
  text-transform: uppercase;
}
h1 { max-width: 920px; margin-bottom: 24px; font-size: clamp(2.8rem, 6.2vw, 6rem); }
h2 { margin-bottom: 18px; font-size: clamp(2.15rem, 4vw, 4.1rem); }
h3 { margin-bottom: 10px; font-size: 1.3rem; }
.muted { color: var(--muted); }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  color: #fff;
  font-family: "TC Condensed", Impact, sans-serif;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .035em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms var(--ease), background-color 160ms var(--ease), border-color 160ms var(--ease);
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(.97); }
.button-primary { background: var(--red); box-shadow: 0 12px 28px rgba(227, 24, 36, .2); }
.button-primary:hover { background: #ff2430; }
.button-secondary { border-color: rgba(255, 255, 255, .34); background: rgba(9, 10, 12, .5); }
.button-secondary:hover { border-color: #fff; }

.site-header {
  position: relative;
  z-index: 50;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
  background: #090a0cf2;
}
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand img { width: 118px; height: auto; }
.nav { display: flex; margin-left: auto; align-items: center; gap: 24px; }
.nav a {
  color: #d6d7da;
  font-family: "TC Condensed", Impact, sans-serif;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; white-space: nowrap; }
.nav-toggle { display: none; margin-left: auto; border: 0; background: transparent; color: #fff; font-weight: 800; text-transform: uppercase; }

.hero {
  position: relative;
  min-height: 600px;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #08090bf7 0%, #08090bd8 42%, #08090b35 78%, #08090b12 100%), linear-gradient(0deg, #08090ba3, transparent 42%);
}
.hero-content { padding-top: 100px; padding-bottom: 110px; }
.hero-subtitle { max-width: 690px; margin-bottom: 28px; color: #d2d4d7; font-size: clamp(1rem, 1.6vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-rail { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0d0f12; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid span {
  min-height: 92px;
  display: flex;
  align-items: center;
  padding: 22px 24px;
  border-left: 1px solid var(--line);
  font-family: "TC Condensed", Impact, sans-serif;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1.25;
  text-transform: uppercase;
}
.trust-grid span:first-child { border-left: 3px solid var(--red); }

.section { padding: 96px 0; }
.section-dark { background: var(--ink); }
.section-steel { background: var(--steel); }
.section-light { background: var(--paper); color: #111318; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr); align-items: end; gap: 50px; margin-bottom: 34px; }
.section-head > p { max-width: 520px; margin: 0 0 10px; color: #a9abb0; }
.section-light .section-head > p { color: #56595f; }
.section-marker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--red);
  font-family: "TC Condensed", Impact, sans-serif;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.choice-card, .image-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--steel-2);
}
.choice-card { display: flex; align-items: end; color: #fff; text-decoration: none; }
.choice-card img, .image-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 260ms var(--ease); }
.choice-card::after, .image-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #07080af7 0%, #07080a1c 70%); }
.choice-card:hover img, .image-card:hover img { transform: scale(1.025); }
.choice-copy { position: relative; z-index: 2; padding: 30px; }
.choice-copy span { color: var(--red); font-family: "TC Condensed", Impact, sans-serif; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.choice-copy h3 { margin: 9px 0 8px; font-size: clamp(2.1rem, 4vw, 3.9rem); }
.choice-copy p { max-width: 560px; margin-bottom: 0; color: #c7c9cc; }
.choice-note { margin: 22px 0 0; color: var(--muted); text-align: center; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature { min-height: 230px; padding: 34px 28px; border-right: 1px solid var(--line); }
.feature:last-child { border-right: 0; }
.feature-number { color: var(--red); font-family: "TC Condensed", Impact, sans-serif; font-size: .78rem; letter-spacing: .12em; }
.feature h3 { margin-top: 34px; font-size: 1.3rem; letter-spacing: -.03em; }
.feature p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.photo-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.photo-strip img { width: 100%; height: 220px; object-fit: cover; border-right: 2px solid var(--ink); }

.tile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tile-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.image-card { min-height: 345px; }
.image-card h3 { position: absolute; right: 22px; bottom: 18px; left: 22px; z-index: 2; margin: 0; font-size: 1.35rem; }
.image-card.cool img { filter: saturate(.74) contrast(1.1); }

.spec-layout { display: grid; grid-template-columns: .68fr 1.32fr; gap: 80px; }
.spec-intro p:last-child { color: #5c5f65; }
.spec-list { border-top: 1px solid #b9b5ae; }
.spec-row { display: grid; grid-template-columns: 46px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid #cbc7c0; }
.spec-row strong { color: var(--red); font-family: "TC Condensed", Impact, sans-serif; font-size: .72rem; letter-spacing: .12em; }
.spec-row h3 { margin-bottom: 6px; font-size: 1.25rem; letter-spacing: -.025em; }
.spec-row p { margin: 0; color: #56595f; font-size: .9rem; }

.comparison-wrap { overflow-x: auto; }
.comparison { width: 100%; min-width: 700px; border-collapse: collapse; }
.comparison th, .comparison td { padding: 17px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.comparison thead th { color: var(--red); font-family: "TC Condensed", Impact, sans-serif; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.comparison tbody th { width: 20%; color: #fff; font-family: "TC Condensed", Impact, sans-serif; text-transform: uppercase; }
.comparison td { color: #b9bbc0; }

.process-list { counter-reset: process; display: grid; grid-template-columns: repeat(5, 1fr); margin: 36px 0 0; padding: 0; list-style: none; }
.process-list li { position: relative; min-height: 125px; padding: 28px 20px 0; border-top: 2px solid var(--red); border-right: 1px solid var(--line); }
.process-list li::before { counter-increment: process; content: "0" counter(process); display: block; margin-bottom: 25px; color: var(--red); font-family: "TC Condensed", Impact, sans-serif; font-size: .75rem; letter-spacing: .12em; }
.process-list li span { display: block; font-family: "TC Condensed", Impact, sans-serif; font-size: .82rem; font-weight: 800; line-height: 1.2; text-transform: uppercase; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery-card { border: 1px solid var(--line); background: var(--steel-2); }
.gallery-card img { width: 100%; height: 300px; object-fit: cover; }
.gallery-card strong { min-height: 72px; display: flex; align-items: center; padding: 18px 20px; font-family: "TC Condensed", Impact, sans-serif; font-size: .9rem; letter-spacing: .02em; text-transform: uppercase; }

.faq-layout { display: grid; grid-template-columns: .68fr 1.32fr; gap: 80px; }
.faq-intro p { color: #5e6166; }
.faq-list { border-top: 1px solid #b9b5ae; }
details { border-bottom: 1px solid #c8c4bd; }
summary { position: relative; padding: 21px 44px 21px 0; cursor: pointer; font-family: "TC Condensed", Impact, sans-serif; font-size: 1rem; font-weight: 800; text-transform: uppercase; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 8px; color: var(--red); }
details[open] summary::after { content: "-"; }
.faq-answer { padding: 0 44px 22px 0; color: #55585d; }
.faq-answer p { margin: 0; }

.contact-band { padding: 90px 0; border-top: 2px solid var(--red); background: #0d0f12; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.contact-copy p:last-child { color: var(--muted); }
.contact-panel { padding: 34px; border-top: 4px solid var(--red); background: var(--paper); color: #111318; box-shadow: 0 25px 60px rgba(0, 0, 0, .34); }
.contact-panel h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.contact-panel > p { color: #56595f; }
.contact-actions { display: grid; gap: 12px; margin-top: 24px; }
.contact-actions .button-secondary { color: #111318; border-color: #777; background: transparent; }
.quote-checklist { display: grid; gap: 8px; margin: 24px 0 0; padding: 0; color: #4b4e54; list-style: none; font-size: .9rem; }
.quote-checklist li::before { content: "01"; margin-right: 10px; color: var(--red); font-family: "TC Condensed", Impact, sans-serif; font-size: .72rem; font-weight: 800; }
.quote-checklist li:nth-child(2)::before { content: "02"; }
.quote-checklist li:nth-child(3)::before { content: "03"; }
.quote-checklist li:nth-child(4)::before { content: "04"; }

.site-footer { border-top: 1px solid var(--line); background: #07080a; }
.footer-grid { display: grid; grid-template-columns: .8fr .9fr 1.1fr; gap: 70px; padding-top: 70px; padding-bottom: 60px; }
.footer-brand img { width: 176px; margin-bottom: 26px; }
.footer-brand p { max-width: 300px; color: var(--muted); }
.footer-brand strong { font-family: "TC Condensed", Impact, sans-serif; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.contact-list { display: grid; align-content: start; gap: 14px; font-style: normal; }
.contact-list a { color: #d5d6d9; text-decoration: none; }
.contact-list a:hover { color: #fff; }
.location-card { min-height: 190px; padding: 30px; border: 1px solid var(--line); background: linear-gradient(135deg, #17191e, #0e1013); }
.location-card span { color: var(--red); font-family: "TC Condensed", Impact, sans-serif; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.location-card h3 { margin-top: 38px; font-size: 1.8rem; }
.location-card p { color: var(--muted); }
.footer-bottom { padding: 20px 0 30px; border-top: 1px solid var(--line); color: #73757a; font-size: .78rem; }

@media (max-width: 980px) {
  .header-inner { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; padding: 12px; }
  .nav { display: none; width: 100%; order: 4; margin: 0; padding: 8px 0 18px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .nav.is-open { display: flex; }
  .header-phone { margin-left: auto; }
  .trust-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: 0; }
  .feature:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .tile-grid.five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile-grid.five .image-card:last-child { grid-column: span 2; }
  .spec-layout, .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .process-list { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .process-list li { border-left: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .location-card { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .site-header, .header-inner { min-height: 64px; }
  .header-inner { flex-wrap: nowrap; gap: 8px; }
  .brand img { width: 84px; }
  .nav-toggle { padding: 8px; }
  .header-phone { display: none; }
  .header-inner > .button { min-height: 38px; padding: 10px 12px; font-size: .72rem; }
  .hero { min-height: 570px; }
  .hero-content { padding-top: 78px; padding-bottom: 68px; }
  .hero::after { background: linear-gradient(90deg, #08090bf2 0%, #08090bc9 60%, #08090b4a 100%), linear-gradient(0deg, #08090bc7, transparent 55%); }
  h1 { font-size: clamp(2.55rem, 12vw, 4rem); }
  h2 { font-size: clamp(2rem, 10vw, 3.1rem); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid span { min-height: 72px; padding: 16px; font-size: .68rem; }
  .section { padding: 66px 0; }
  .section-head { grid-template-columns: 1fr; gap: 0; }
  .choice-grid, .contact-layout, .gallery-grid, .footer-grid { grid-template-columns: 1fr; }
  .choice-card { min-height: 390px; }
  .choice-copy { padding: 22px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .photo-strip img { height: 170px; }
  .photo-strip img:last-child { grid-column: 1 / -1; }
  .tile-grid, .tile-grid.five { grid-template-columns: 1fr; }
  .tile-grid.five .image-card:last-child { grid-column: auto; }
  .image-card { min-height: 330px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { min-height: auto; display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 10px; padding: 18px 12px; border-top: 1px solid var(--line); }
  .process-list li::before { margin: 0; }
  .gallery-card img { height: 290px; }
  .contact-panel { padding: 24px; }
  .footer-grid { gap: 40px; padding-top: 56px; }
  .location-card { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
