/* Christ First Trucking LLC — demo site by Ancient Landmark Web Co.
   Palette taken from the business card: black, chrome/silver, sunset amber. */
:root {
  --night: #0d0f11;         /* page background */
  --night-2: #15181c;       /* raised panels */
  --night-3: #1d2228;       /* borders on dark */
  --chrome: #e8ebee;        /* primary text on dark */
  --chrome-soft: #a8b0b8;   /* secondary text on dark */
  --steel: #7d8792;
  --amber: #f0a830;         /* sunset accent: large text, rules, icons */
  --amber-deep: #8a5a12;    /* small text/links on LIGHT backgrounds only */
  --paper: #ffffff;
  --stone: #f4f4f3;
  --line: #ddddda;
  --ink: #15181b;
  --ink-soft: #4d545b;
  --radius: 4px;
  --max: 1120px;
  --gutter: clamp(18px, 4vw, 40px);
  --font-display: "Oswald", "Arial Narrow", Impact, system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  padding-bottom: 68px; /* room for the sticky call bar on phones */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-deep); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #4da3ff; outline-offset: 3px; }
h1, h2, h3 {
  font-family: var(--font-display); font-weight: 600; line-height: 1.08;
  margin: 0 0 .5em; letter-spacing: .01em; text-transform: uppercase;
}
h1 { font-size: clamp(2.2rem, 7vw, 4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.15rem; letter-spacing: .04em; }
p { margin: 0 0 1em; max-width: 64ch; }
.container { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 8px; top: -60px; background: var(--amber); color: #000; padding: 10px 14px; z-index: 200; font-weight: 700; }
.skip:focus { top: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 14px 24px; border-radius: var(--radius);
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--amber); color: #1a1205; }
.btn-primary:hover { background: #ffbe4d; }
.btn-ghost { background: transparent; color: var(--chrome); border-color: var(--steel); }
.btn-ghost:hover { border-color: var(--chrome); }

/* ---------- header ---------- */
.site-header { background: var(--night); border-bottom: 1px solid var(--night-3); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.wordmark { display: flex; flex-direction: column; text-decoration: none; }
.wordmark .line-1 {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 3.4vw, 1.5rem);
  letter-spacing: .06em; color: var(--chrome); text-transform: uppercase;
}
.wordmark .line-1 .cross { color: var(--amber); }
.wordmark .line-2 { font-size: .75rem; letter-spacing: .3em; color: var(--steel); text-transform: uppercase; }
.header-call { display: none; }
@media (min-width: 760px) { .header-call { display: inline-flex; } }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(120% 90% at 70% 110%, rgba(240,168,48,.22) 0%, rgba(240,168,48,0) 58%),
    linear-gradient(180deg, #0a0c0e 0%, #13171b 100%);
  color: var(--chrome); padding: clamp(44px, 9vw, 96px) 0 clamp(36px, 7vw, 72px);
  border-bottom: 1px solid var(--night-3);
}
.eyebrow { font-family: var(--font-display); letter-spacing: .26em; text-transform: uppercase; font-size: .78rem; color: var(--amber); margin: 0 0 14px; }
.hero h1 { color: var(--chrome); margin-bottom: .3em; }
.hero h1 .cross { color: var(--amber); }
.tagline { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .16em; font-size: clamp(.95rem, 2.4vw, 1.25rem); color: var(--amber); margin: 0 0 18px; }
.hero-lede { color: var(--chrome-soft); font-size: 1.08rem; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- credentials strip ---------- */
.creds { background: var(--night-2); color: var(--chrome); border-bottom: 1px solid var(--night-3); padding: 22px 0; }
.creds-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .creds-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .creds-grid { grid-template-columns: repeat(4, 1fr); } }
.cred { border-left: 3px solid var(--amber); padding-left: 14px; }
.cred dt { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); margin-bottom: 3px; }
.cred dd { margin: 0; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .04em; color: var(--chrome); }

/* ---------- sections ---------- */
.section { padding: clamp(44px, 8vw, 88px) 0; }
.section-dark { background: var(--night); color: var(--chrome); }
.section-dark h2 { color: var(--chrome); }
.section-dark p { color: var(--chrome-soft); }
.section-stone { background: var(--stone); }
.section-head { margin-bottom: 28px; }
.section-head .eyebrow { color: var(--amber-deep); }
.section-dark .section-head .eyebrow { color: var(--amber); }

.cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.section-dark .card { background: var(--night-2); border-color: var(--night-3); }
.card h3 { color: var(--ink); margin-bottom: .4em; }
.section-dark .card h3 { color: var(--chrome); }
.card p:last-child { margin-bottom: 0; }

/* ---------- values ---------- */
.values { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 22px; padding: 0; }
.values li {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .14em;
  font-size: .9rem; color: var(--chrome); border: 1px solid var(--night-3);
  background: var(--night-2); padding: 9px 15px; border-radius: 999px;
}
.verse { border-left: 3px solid var(--amber); padding: 6px 0 6px 18px; margin: 26px 0 0; font-style: italic; color: var(--chrome-soft); max-width: 60ch; }
.verse cite { display: block; font-style: normal; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-top: 8px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.phone-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; color: var(--ink);
  background: var(--paper); border: 1px solid #9aa0a6; border-radius: var(--radius);
}
.field textarea { min-height: 120px; resize: vertical; }
.hp { display: none; }
.form-note { font-size: .9rem; color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer { background: #07090a; color: var(--chrome-soft); padding: 34px 0; border-top: 1px solid var(--night-3); font-size: .92rem; }
.site-footer a { color: var(--amber); }
.footer-row { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: baseline; justify-content: space-between; }

/* ---------- sticky call bar (phones) ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; background: var(--amber); border-top: 2px solid #c98a24;
}
.callbar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 56px; text-decoration: none; color: #1a1205;
  font-family: var(--font-display); font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; font-size: .95rem;
}
.callbar a + a { border-left: 2px solid #c98a24; }
@media (min-width: 760px) { .callbar { display: none; } body { padding-bottom: 0; } }

/* ---------- preview banner (removed before launch) ---------- */
.preview-bar {
  background: #7A1F1F; color: #fff; text-align: center;
  padding: 10px 14px; font-size: .9rem; line-height: 1.45;
}
.preview-bar strong { letter-spacing: .06em; text-transform: uppercase; }

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

/* =========================================================================
   Modern pass — more air, sticky blurred header, crest lockup, softer cards.
   Appended so the base above stays readable.
   ========================================================================= */

/* sticky header that stays legible over the dark hero */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(13, 15, 17, .82);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.wordmark { flex-direction: row; align-items: center; gap: 11px; }
.wordmark-crest { width: 62px; height: auto; flex: none; mix-blend-mode: lighten; }
.wordmark-text { display: flex; flex-direction: column; }
.wordmark .line-1 { letter-spacing: .04em; }

/* hero: more vertical air, centred crest, tighter display type */
.hero { padding: clamp(40px, 8vw, 104px) 0 clamp(44px, 8vw, 92px); position: relative; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240,168,48,.55), transparent);
}
.hero-crest { width: clamp(84px, 14vw, 124px); height: auto; margin: 0 0 22px; }
.hero h1 { letter-spacing: -.01em; }
.hero .eyebrow { font-size: clamp(.78rem, 2vw, .85rem); }  /* floor must stay >=12px; rem is 16px */
.hero-lede { font-size: clamp(1.05rem, 2.4vw, 1.2rem); line-height: 1.6; }

/* credentials: cards with air rather than a cramped strip */
.creds { padding: clamp(24px, 4vw, 38px) 0; }
.creds-grid { gap: 12px; }
.cred {
  border-left: 0; border: 1px solid rgba(255,255,255,.09);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  border-radius: 10px; padding: 16px 18px;
  position: relative; overflow: hidden;
}
.cred::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px;
  background: var(--amber); border-radius: 0 3px 3px 0;
}
.cred dt { letter-spacing: .18em; }
.cred dd { font-size: 1.25rem; }

/* sections: more breathing room, softer cards */
.section { padding: clamp(52px, 9vw, 104px) 0; }
.section-head { margin-bottom: 34px; max-width: 54ch; }
.section-head h2 { letter-spacing: -.005em; }
.cards { gap: 20px; }
.card { border-radius: 12px; padding: 26px; }
.section-dark .card {
  border-color: rgba(255,255,255,.09);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
}
.section-stone .card { border-color: #e4e4e1; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.card h3 { letter-spacing: .03em; margin-bottom: .55em; }

/* values pills */
.values { gap: 9px; }
.values li { border-radius: 8px; border-color: rgba(255,255,255,.12); font-size: .82rem; padding: 9px 14px; }

/* buttons: slightly softer, clearer focus */
.btn { border-radius: 8px; transition: transform .12s ease, background-color .12s ease, border-color .12s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { box-shadow: 0 1px 0 rgba(0,0,0,.25); }

/* form: lighter, more modern fields */
.field input, .field textarea { border-radius: 8px; border-color: #b9bec4; background: #fff; }
.field input:focus, .field textarea:focus { border-color: var(--amber-deep); }

/* call bar */
.callbar a { letter-spacing: .1em; }

/* footer */
.site-footer { padding: 40px 0; }
.footer-row { gap: 14px 28px; }

/* one call button, full width, showing the whole number rather than an area code */
.callbar a { font-size: 1rem; letter-spacing: .06em; }
.callbar a:only-child { flex: 1 1 100%; }

/* ---- client-supplied logo ----
   The file has an opaque black background rather than transparency, so it is
   blended with `lighten`: against the near-black hero, the logo's black square
   drops away and only the chrome artwork shows. Without blend support it simply
   renders as a black tile, which still looks deliberate on this page. */
.hero-logo {
  width: clamp(180px, 34vw, 300px);
  height: auto;
  margin: 0 0 18px -6px;
  mix-blend-mode: lighten;
}
@media (min-width: 760px) { .hero-logo { margin-bottom: 22px; } }

/* ---- quote form status + optional-field hint ---- */
.field label .opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink-soft); font-size: .84rem; }
.form-status { margin: 14px 0 0; min-height: 1.5em; font-size: .95rem; font-weight: 600; }
.form-status.is-success { color: #1E5E37; }
.form-status.is-error { color: #A12A1E; }

/* his crest is wider than tall, so the header lockup needs a touch more room */
@media (max-width: 420px) { .wordmark-crest { width: 52px; } }

/* phone pair note */
.phone-note { font-size: .95rem; color: var(--ink-soft); margin: -8px 0 18px; }
