/* Bluff City Web — company site
   Design source: company-site/design-handoff/Bluff-City-Web-v2.dc.html */

/* Self-hosted fonts (latin subset) — no third-party requests */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/anton-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/barlow-400.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/barlow-500.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/barlow-600.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/barlow-700.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/barlow-800.woff2) format('woff2'); }

:root {
  --bg: #14110F;
  --bg-band: #1A1512;
  --panel: #1E1915;
  --panel-pro: #221A15;
  --panel-us: #241A14;
  --border: #3A322C;
  --text: #F4EFE9;
  --muted: #C9BEB4;
  --dim: #8F857B;
  --accent: #FF5A1F;
  --accent-hover: #FF7038;
  --radius: 14px;
  --container: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.05;
  margin: 0;
  text-wrap: pretty;
}

h1 { font-size: clamp(44px, 10vw, 88px); line-height: 1.02; }
h2 { font-size: clamp(32px, 7vw, 56px); }

.accent { color: var(--accent); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--bg);
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- Top bar ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  max-width: var(--container);
  margin: 0 auto;
}

.brand {
  font-family: 'Anton', sans-serif;
  font-size: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text);
}
.brand-accent { color: var(--accent); }
.brand-sm { font-size: 16px; }

.topbar-actions { display: flex; align-items: center; gap: 8px; }

.pill {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  white-space: nowrap;
  background: transparent;
  font-family: 'Barlow', sans-serif;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.pill:hover { border-color: var(--accent); color: var(--accent); }

.copy-btn { display: none; color: var(--muted); font-size: 13px; padding: 8px 12px; }
@media (min-width: 768px) { .copy-btn { display: inline-block; } }

/* ---------- Hero ---------- */

.hero { max-width: var(--container); margin: 0 auto; padding: 40px 20px 64px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #221C18;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }

.hero h1 { margin-top: 20px; }

.hero-lede { font-size: 19px; color: var(--muted); max-width: 560px; margin: 20px 0 0; text-wrap: pretty; }
.hero-strong { font-size: 17px; font-weight: 600; color: var(--text); max-width: 560px; margin: 14px 0 0; text-wrap: pretty; }

.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }

.btn {
  display: inline-block;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  padding: 18px 28px;
  border-radius: 10px;
  letter-spacing: 0.2px;
  border: none;
  cursor: pointer;
  font-family: 'Barlow', sans-serif;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.cta-note { display: flex; flex-direction: column; gap: 2px; font-size: 14px; font-weight: 600; color: var(--dim); }

/* ---------- Offer band ---------- */

.offer { background: var(--accent); color: var(--bg); }
.offer .container { padding-top: 56px; padding-bottom: 64px; }
.offer h2 { max-width: 760px; }
.offer-cols { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; max-width: 900px; }
.offer-cols p { flex: 1 1 300px; margin: 0; font-size: 17px; font-weight: 500; text-wrap: pretty; }
.offer-cols .offer-lead { font-size: 19px; font-weight: 700; }

/* ---------- How it works ---------- */

.how { max-width: var(--container); margin: 0 auto; padding: 64px 20px; }

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card .num { font-family: 'Anton', sans-serif; font-size: 40px; color: var(--accent); }
.card h3 { font-size: 20px; font-weight: 800; margin: 10px 0 6px; }
.card p { margin: 0; color: var(--muted); }

/* ---------- Pricing ---------- */

.pricing { background: var(--bg-band); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pricing .container { padding-top: 56px; padding-bottom: 64px; }
.pricing-sub { color: var(--muted); font-size: 18px; margin: 12px 0 0; max-width: 560px; }

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 14px;
  margin-top: 32px;
  align-items: center;
}

.plan {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.plan--pro {
  background: var(--panel-pro);
  border: 2px solid var(--accent);
  border-radius: 16px;
  padding: 40px 26px;
  position: relative;
  box-shadow: 0 12px 40px rgba(255, 90, 31, 0.15);
}

/* Punch-list #2: when cards stack on small screens, Pro must come first */
@media (max-width: 767px) {
  .plan--pro { order: -1; }
}

.plan-head { display: flex; align-items: baseline; gap: 10px; }
.plan-name { font-size: 14px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--dim); }
.plan-name.accent { color: var(--accent); }
.plan-tag { font-size: 14px; font-weight: 700; color: var(--muted); }

.price { font-family: 'Anton', sans-serif; font-size: 52px; line-height: 1; margin-top: 12px; }
.price-lg { font-size: 60px; }
.per { font-size: 20px; font-family: 'Barlow', sans-serif; font-weight: 700; color: var(--dim); }

.plan-pitch { font-size: 17px; font-weight: 700; margin: 12px 0 0; }
.plan--pro .plan-pitch { font-size: 18px; }

.plan-includes {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dim);
  margin: 18px 0 0;
}

.features {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}
.plan-includes + .features { margin-top: 12px; }
.features li { display: flex; gap: 10px; align-items: baseline; }
.features li::before { content: "✓"; color: var(--accent); font-weight: 800; }

.plan-cta { display: block; text-align: center; margin-top: 24px; font-size: 16px; padding: 14px 20px; }
.plan--pro .plan-cta { font-size: 17px; padding: 16px 20px; }

.pricing-foot {
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  max-width: 640px;
  margin: 28px auto 0;
  text-wrap: pretty;
}

/* ---------- Comparison ---------- */

.compare { max-width: var(--container); margin: 0 auto; padding: 56px 20px; }
.compare-wrap { max-width: 720px; margin: 0 auto; }

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15px;
}
.compare-table th, .compare-table td { padding: 14px 16px; text-align: left; font-weight: 500; }
.compare-table thead td, .compare-table thead th { background: var(--panel); font-weight: 800; }
.compare-table thead .col-them { color: var(--dim); }
.compare-table thead .col-us { color: var(--accent); background: var(--panel-us); }
.compare-table tbody th { font-weight: 700; color: var(--muted); }
.compare-table tbody .them { color: var(--dim); }
.compare-table tbody .us { background: var(--panel-us); font-weight: 700; }
.compare-table thead td, .compare-table thead th,
.compare-table tbody tr:not(:last-child) th, .compare-table tbody tr:not(:last-child) td {
  border-bottom: 1px solid var(--border);
}

.compare-foot { text-align: center; color: var(--dim); font-size: 14px; font-weight: 600; margin: 14px 0 0; }

@media (max-width: 420px) {
  .compare-table th, .compare-table td { padding: 12px 10px; font-size: 13px; }
}

/* ---------- Portfolio ---------- */

.portfolio { background: var(--bg-band); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.portfolio .container { padding-top: 56px; padding-bottom: 64px; }
.portfolio-sub { color: var(--muted); margin: 12px 0 0; max-width: 520px; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.demo { margin: 0; display: grid; gap: 10px; }

.demo-shot {
  height: 220px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(255, 90, 31, 0.14), transparent 55%),
    var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
}
.demo-shot span { color: var(--dim); font-size: 14px; font-weight: 600; letter-spacing: 0.5px; }
.demo-shot img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }

.demo figcaption {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- FAQ ---------- */

.faq { max-width: var(--container); margin: 0 auto; padding: 64px 20px; }
.faq-list { display: grid; gap: 10px; margin-top: 28px; max-width: 760px; }

.faq details {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 20px;
}
.faq summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  padding: 18px 0;
  color: var(--text);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* ---------- Final CTA + form ---------- */

.cta { background: var(--bg-band); border-top: 1px solid var(--border); }
.cta-cols {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.cta-copy, .cta-form { flex: 1 1 320px; }
.cta-copy h2 { font-size: clamp(36px, 8vw, 64px); }
.cta-copy p { color: var(--muted); font-size: 18px; max-width: 440px; margin: 16px 0 0; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.form-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 12px;
  margin: 0;
}

.form-label {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0;
}

.form-card input, .form-card textarea {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 16px;
  width: 100%;
}
.form-card textarea { resize: vertical; }
.form-card input:focus, .form-card textarea:focus { border-color: var(--accent); outline: none; }
.form-card ::placeholder { color: var(--dim); }

.form-card .btn { font-size: 17px; padding: 16px 20px; }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }

.form-error { color: #FFB199; font-size: 15px; font-weight: 600; margin: 0; }

.form-success { text-align: center; padding: 32px 24px; }
.form-success-title { font-family: 'Anton', sans-serif; font-size: 28px; text-transform: uppercase; color: var(--accent); margin: 0; }
.form-success p:not(.form-success-title) { color: var(--muted); margin: 10px 0 0; }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--border); }
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 15px; font-weight: 600; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-links span { color: var(--muted); }

/* ---------- Fixed mobile contact bar (punch-list #3) ---------- */

.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(20, 17, 15, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex;
  gap: 10px;
  z-index: 50;
}
.mobile-bar a {
  flex: 1;
  text-align: center;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  padding: 14px 12px;
  border-radius: 10px;
}
.mb-call { background: var(--accent); color: var(--bg); }
.mb-text { background: transparent; border: 1.5px solid var(--border); color: var(--text); }

/* Keep the bar from covering the footer on mobile */
body { padding-bottom: 78px; }

@media (min-width: 768px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

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