/* Team Tremaine — design tokens
   paper #F2F4F1 · ink #16232C · steel #43555F · hi-vis amber #FFB020 · missed-call red #C8401F
   Display: Barlow Condensed (highway-signage lineage — truck-door lettering)
   Body: Barlow · Numbers/timestamps: IBM Plex Mono (reads like a call log) */

:root {
  --paper: #F2F4F1;
  --ink: #16232C;
  --steel: #43555F;
  --amber: #FFB020;
  --red: #C8401F;
  --line: #D6DCD6;
  --card: #FFFFFF;
}

* { box-sizing: border-box; margin: 0; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Barlow', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
header {
  border-bottom: 3px solid var(--ink);
  background: var(--paper);
}
.head-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.wordmark {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 26px; letter-spacing: .04em;
  text-transform: uppercase; text-decoration: none; color: var(--ink);
}
.wordmark span { background: var(--amber); padding: 0 6px; }
.head-cta {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; font-size: 17px;
  color: var(--ink); text-decoration: none;
  border: 2px solid var(--ink); padding: 8px 16px;
}
.head-cta:hover, .head-cta:focus-visible { background: var(--ink); color: var(--paper); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--steel);
  margin-bottom: 16px;
}
h1 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: clamp(44px, 6vw, 68px); line-height: .98;
  text-transform: uppercase; letter-spacing: .01em;
}
h1 .hl { box-shadow: inset 0 -0.42em var(--amber); }
.hero p.lede { margin-top: 22px; font-size: 19px; color: var(--steel); max-width: 44ch; }
.cta-row { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  font-size: 19px; text-decoration: none; padding: 13px 26px;
  border: 2px solid var(--ink); color: var(--ink); background: var(--amber);
}
.btn:hover, .btn:focus-visible { background: var(--ink); color: var(--amber); }
.btn.ghost { background: transparent; }
.btn.ghost:hover, .btn.ghost:focus-visible { background: var(--ink); color: var(--paper); }

/* ---------- signature: the call log ---------- */
.calllog {
  background: var(--card); border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}
.calllog-head {
  font-family: 'IBM Plex Mono', monospace; font-size: 12.5px;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 10px 16px; border-bottom: 2px solid var(--ink);
  display: flex; justify-content: space-between; color: var(--steel);
}
.calllog-body { padding: 18px 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.log-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: 'IBM Plex Mono', monospace; font-size: 14px;
}
.log-row .miss { color: var(--red); font-weight: 600; }
.log-row time { color: var(--steel); font-size: 12.5px; }
.bubble {
  max-width: 85%; padding: 10px 14px; font-size: 15px; line-height: 1.45;
  border: 1.5px solid var(--line); border-radius: 14px;
}
.bubble.biz { align-self: flex-end; background: var(--ink); color: var(--paper); border-color: var(--ink); border-bottom-right-radius: 4px; }
.bubble.cust { align-self: flex-start; background: var(--paper); border-bottom-left-radius: 4px; }
.bubble time { display: block; margin-top: 4px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; opacity: .65; }

@media (prefers-reduced-motion: no-preference) {
  .calllog-body > * { opacity: 0; animation: drop .4s ease forwards; }
  .calllog-body > :nth-child(1) { animation-delay: .2s; }
  .calllog-body > :nth-child(2) { animation-delay: .9s; }
  .calllog-body > :nth-child(3) { animation-delay: 1.9s; }
  .calllog-body > :nth-child(4) { animation-delay: 2.9s; }
  @keyframes drop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

/* ---------- sections ---------- */
section { padding: 58px 0; border-top: 2px solid var(--line); }
h2 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  text-transform: uppercase; font-size: clamp(30px, 4vw, 40px); line-height: 1.02;
  margin-bottom: 30px;
}
h2::after { content: ""; display: block; width: 56px; height: 6px; background: var(--amber); margin-top: 10px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--card); border: 2px solid var(--ink); padding: 22px; }
.step .tag {
  font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; letter-spacing: .07em;
  text-transform: uppercase; color: var(--steel);
}
.step h3 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600; text-transform: uppercase;
  font-size: 23px; margin: 8px 0 8px;
}
.step p { color: var(--steel); font-size: 16px; }

.trades { display: flex; flex-wrap: wrap; gap: 10px; }
.trade {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600; text-transform: uppercase;
  letter-spacing: .05em; font-size: 17px;
  border: 2px solid var(--ink); padding: 7px 14px; background: var(--card);
}
.aside-note { margin-top: 22px; color: var(--steel); max-width: 60ch; }

.price-card {
  background: var(--ink); color: var(--paper); border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--amber); padding: 30px; max-width: 520px;
}
.price-line { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; text-transform: uppercase; font-size: 40px; line-height: 1.05; }
.price-line small { display: block; font-size: 19px; font-weight: 600; color: var(--amber); margin-top: 6px; }
.price-card p { margin-top: 14px; color: #C7CFD4; font-size: 16px; }

/* ---------- form ---------- */
form { max-width: 620px; }
.field { margin-bottom: 18px; }
label { display: block; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: 16px; margin-bottom: 6px; }
input, textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 16px;
  border: 2px solid var(--ink); background: var(--card); color: var(--ink);
}
input:focus-visible, textarea:focus-visible, .btn:focus-visible, a:focus-visible {
  outline: 3px solid var(--amber); outline-offset: 2px;
}
.consent {
  margin: 18px 0 20px; padding: 14px 16px; background: var(--card);
  border-left: 6px solid var(--amber); font-size: 14px; color: var(--steel); max-width: 620px;
}
.consent strong { color: var(--ink); }

/* ---------- footer ---------- */
footer { border-top: 3px solid var(--ink); padding: 28px 0 40px; margin-top: 40px; }
.foot-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--steel); font-size: 15px; }
footer a { color: var(--ink); }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; padding: 56px 0 20px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 8px; }
.legal .meta { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--steel); margin-bottom: 34px; }
.legal h2 { font-size: 26px; margin: 36px 0 14px; }
.legal h2::after { width: 40px; height: 4px; margin-top: 8px; }
.legal p, .legal li { color: #2A3942; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.callout { background: var(--card); border: 2px solid var(--ink); border-left: 8px solid var(--amber); padding: 16px 18px; margin: 18px 0; }

@media (max-width: 820px) {
  .hero { padding: 48px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr; }
}
