/* ============================================================================
   THE TRAILER RANCH — PARENT BRAND HUB (location chooser)
   Self-contained, zero-JS. Reuses the exact design language of the two location
   builds: charcoal + sunset-orange, Barlow Condensed display type, off-white
   ground, squared low-radius cards, cinematic full-bleed hero with a
   left->right gradient. Colors sampled from the operator wordmark.
============================================================================ */
:root {
  --primary:   #1b1e24;   /* charcoal */
  --accent:    #e07a22;   /* Trailer Ranch sunset orange */
  --accent-2:  #f0a04a;   /* lighter orange for gradients */
  --accent-ink:#ffffff;

  --bg:        #f4f2ee;   /* off-white page ground */
  --surface:   #ffffff;
  --surface-2: #ece9e3;
  --ink:       #14181d;
  --text:      #1b2027;
  --muted:     #5c6672;
  --line:      #d9d5cd;
  --line-2:    #c7c2b8;

  --radius:    6px;
  --radius-lg: 12px;
  --maxw:      1240px;
  --head:      "Barlow Condensed", "Arial Narrow", sans-serif;
  --body:      "Barlow", system-ui, -apple-system, sans-serif;
  --shadow:    0 10px 30px rgba(20,24,29,.10);
  --shadow-lg: 0 24px 60px rgba(20,24,29,.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--body); background: var(--bg); color: var(--text);
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.center { text-align: center; }
[hidden] { display: none !important; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--head); font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  font-size: 15px; padding: 13px 26px; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s, background .15s, color .15s, border-color .15s;
  white-space: nowrap; line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px rgba(0,0,0,.14); }
.btn-accent:hover { filter: brightness(1.06); box-shadow: 0 12px 26px rgba(0,0,0,.2); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { filter: brightness(1.12); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background: rgba(255,255,255,.14); }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---- Header ---- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 14px 0;
  transition: background .25s, box-shadow .25s, padding .25s;
  background: linear-gradient(180deg, rgba(10,14,20,.78), rgba(10,14,20,0));
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; }
.brand img { height: 46px; width: auto; }
/* Logo is a dark wordmark on transparent bg sitting on the dark hero; add a subtle
   white outline glow for legibility (keeps the brand orange emblem). */
.site-header .brand img { filter: drop-shadow(0 0 1px rgba(255,255,255,.95)) drop-shadow(0 0 2px rgba(255,255,255,.55)); }
.header-links { display: flex; align-items: center; gap: 22px; }
.header-links a.loc-link {
  font-family: var(--head); font-weight: 600; font-size: 16px; letter-spacing: .04em;
  text-transform: uppercase; color: rgba(255,255,255,.88); transition: color .15s; white-space: nowrap;
}
.header-links a.loc-link:hover { color: #fff; }
.header-links .sep { width: 1px; height: 18px; background: rgba(255,255,255,.28); }

/* ============================================================================
   HERO — cinematic full-bleed with left->right gradient
============================================================================ */
.hero { position: relative; min-height: 620px; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,14,20,.92) 0%, rgba(10,14,20,.74) 44%, rgba(10,14,20,.28) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 150px 26px 66px; }
.hero-copy { max-width: 720px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; font-size: 13.5px; color: #fff;
  background: var(--accent); border-radius: var(--radius); padding: 7px 15px; margin-bottom: 22px;
}
.hero-title { font-family: var(--head); font-weight: 900; line-height: .9; letter-spacing: -.015em; font-size: clamp(48px, 7vw, 92px); text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.hero-title .hi { color: var(--accent); }
.hero-sub { font-size: clamp(16px, 1.5vw, 20px); color: #dfe3e8; max-width: 580px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 26px; }
.hero-trust { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: #c9ced6; font-size: 14px; font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.hero-trust .dot-sep { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.4); }

/* ---- Section shell ---- */
.section { padding: 84px 0; }
.section-alt { background: var(--surface-2); }
.section-eyebrow { font-family: var(--head); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: 13.5px; color: var(--accent); margin-bottom: 10px; text-align: center; }
.section-title { font-family: var(--head); font-weight: 800; text-transform: uppercase; line-height: .98; font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -.01em; color: var(--primary); text-align: center; }
.section-title .hi { color: var(--accent); }
.section-lead { color: var(--muted); font-size: 17px; max-width: 640px; margin: 14px auto 0; text-align: center; }

/* ============================================================================
   LOCATION CHOOSER — the core: two big cards side by side
============================================================================ */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 50px; }
.loc-card {
  position: relative;                 /* containing block — nothing escapes to <body> */
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.loc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.loc-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--surface-2); }
.loc-media img { width: 100%; height: 100%; object-fit: cover; }
.loc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,20,.05) 40%, rgba(10,14,20,.62)); }
.loc-state {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--head); font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  font-size: 12px; color: #fff; background: var(--accent); border-radius: var(--radius); padding: 6px 12px;
}
.loc-name {
  position: absolute; left: 18px; bottom: 14px; right: 18px; z-index: 2;
  font-family: var(--head); font-weight: 900; text-transform: uppercase; line-height: .95;
  font-size: clamp(28px, 3.4vw, 38px); color: #fff;
}
.loc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.loc-pitch { color: var(--text); font-size: 16px; margin-bottom: 18px; }
.loc-facts { display: grid; gap: 11px; margin-bottom: 22px; }
.loc-fact { position: relative; padding-left: 16px; color: var(--text); font-size: 14.5px; line-height: 1.45; }
.loc-fact .p-ico { position: absolute; left: 0; top: 4px; width: 4px; height: calc(100% - 7px); border-radius: 2px; background: linear-gradient(180deg, var(--accent), var(--primary)); }
.loc-fact .k { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--primary); font-size: 12.5px; display: block; margin-bottom: 1px; }
.loc-fact a { color: var(--accent); font-weight: 600; }
.loc-offers { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.loc-chip {
  font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  font-size: 12px; color: var(--primary); background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px;
}
.loc-chip.hi { color: var(--accent); border-color: rgba(224,122,34,.45); background: rgba(224,122,34,.08); }
.loc-cta { margin-top: auto; }
.loc-cta .btn { width: 100%; }

/* ============================================================================
   BRAND STRIP — what the brand stands for (accent-bar markers, NEVER emoji/box)
============================================================================ */
.brand-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.bs-item { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px; border-top: 3px solid var(--accent); }
.bs-item h3 { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: 21px; color: var(--primary); margin-bottom: 8px; }
.bs-item p { color: var(--muted); font-size: 15px; }

/* ---- CTA band ---- */
.cta-band { background: var(--primary); color: #fff; }
.cta-inner { padding: 64px 26px; text-align: center; }
.cta-inner h2 { font-family: var(--head); font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 4vw, 48px); line-height: .98; }
.cta-inner p { color: rgba(255,255,255,.8); margin: 12px auto 26px; max-width: 560px; }
.cta-actions { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }

/* ---- Content pages (legal / prose) ---- */
.page-hero { position: relative; background: var(--primary); color: #fff; padding: 128px 0 46px; overflow: hidden; }
.page-hero .crumbs { font-family: var(--head); text-transform: uppercase; letter-spacing: .06em; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero h1 { font-family: var(--head); font-weight: 900; text-transform: uppercase; font-size: clamp(38px, 5.4vw, 60px); line-height: .95; letter-spacing: -.01em; }
.prose { max-width: 820px; }
.prose h2 { font-family: var(--head); text-transform: uppercase; color: var(--primary); font-size: 26px; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--text); margin-bottom: 12px; }
.prose ul { padding-left: 22px; list-style: disc; }
.prose a { color: var(--accent); font-weight: 600; }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: #cfd4db; padding: 58px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 30px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 14px; filter: drop-shadow(0 0 1px rgba(255,255,255,.9)); }
.footer-brand p { color: #9aa2ad; font-size: 14.5px; max-width: 330px; }
.footer-col h4 { font-family: var(--head); text-transform: uppercase; letter-spacing: .05em; color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 9px; font-size: 14.5px; }
.footer-col ul a:hover { color: #fff; }
.footer-contact li { margin-bottom: 9px; font-size: 14.5px; color: #9aa2ad; }
.footer-contact .k { font-family: var(--head); text-transform: uppercase; letter-spacing: .05em; color: #fff; font-size: 12.5px; display: block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding: 22px 26px; font-size: 13.5px; color: #8a929c; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================================
   RESPONSIVE
============================================================================ */
@media (max-width: 900px) {
  .loc-grid { grid-template-columns: 1fr; }
  .brand-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .header-links .loc-link { display: none; }         /* keep the header clean on small screens */
  .header-links .sep { display: none; }
  .hero-inner { padding: 128px 22px 48px; }
  .section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
