/* Booked Out — design tokens + shared components
   Ported from the Claude Design prototype (project/*.dc.html) */

:root {
  --charcoal: #1A1D21;
  --black: #101214;
  --card-dark: #22262B;
  --orange: #FF5C00;
  --orange-hover: #E65300;
  --yellow: #FFD100;
  --green: #1F9D55;
  --grey-bg: #F2F3F5;
  --muted: #6B7280;
  --body-text: #2A2E33;
  --border-grey: #E5E7EB;

  --font-display: 'Archivo Black', sans-serif;
  --font-label: 'Barlow Semi Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html, body { margin: 0; padding: 0; background: #FFFFFF; }
body { font-family: var(--font-body); color: var(--body-text); }
* { box-sizing: border-box; }
img { max-width: 100%; display: block; }
input::placeholder, textarea::placeholder { color: #9CA3AF; }

a { color: inherit; }

/* Wins over any inline display style so [hidden] actually hides form success states */
[hidden] { display: none !important; }

/* Generic hover helpers: element sets --hover-color / --hover-bg / --hover-border,
   these rules apply it on :hover so we don't need JS for the prototype's style-hover. */
.hover-link:hover { color: var(--hover-color, inherit); }
.hover-bg:hover { background: var(--hover-bg, inherit); }
.hover-border:hover { border-color: var(--hover-border, inherit); }

/* ===== Layout helpers ===== */
.section { padding: 80px 32px; display: flex; justify-content: center; }
.container { max-width: 1100px; width: 100%; }
.container--narrow { max-width: 900px; width: 100%; }
.container--cta { max-width: 800px; width: 100%; }
.page-root { min-width: 320px; color: var(--body-text); }

.section-rule { width: 72px; height: 5px; background: var(--orange); margin-bottom: 44px; }
.eyebrow { font-family: var(--font-label); font-weight: 600; color: var(--orange); font-size: 14px; letter-spacing: 3px; margin-bottom: 20px; }

/* ===== Nav (dark sticky header used on Home / Services / Results / Contact) ===== */
.nav-dark {
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 4px solid var(--orange);
}
.nav-dark__brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.nav-dark__wordmark { font-family: var(--font-display); color: #FFFFFF; font-size: 22px; letter-spacing: -0.5px; }
.nav-dark__tagline { font-family: var(--font-label); font-weight: 600; color: var(--muted); font-size: 11px; letter-spacing: 3px; margin-top: 3px; }
.nav-dark__links { display: flex; align-items: center; gap: 28px; }
.nav-link { font-family: var(--font-label); font-weight: 600; color: #FFFFFF; text-decoration: none; font-size: 15px; letter-spacing: 2px; }
.nav-link--active { color: var(--orange); }
.nav-cta { font-family: var(--font-label); font-weight: 700; background: var(--orange); text-decoration: none; font-size: 15px; letter-spacing: 2px; padding: 12px 20px; color: #FFFFFF; }

/* ===== Footer (shared on Home / Services / Results / Contact) ===== */
.site-footer { background: #101214; padding: 48px 32px; display: flex; justify-content: center; border-top: 4px solid var(--orange); }
.site-footer__inner { max-width: 1100px; width: 100%; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.site-footer__wordmark { font-family: var(--font-display); color: #FFFFFF; font-size: 18px; }
.site-footer__tagline { font-family: var(--font-label); font-weight: 600; color: var(--muted); font-size: 11px; letter-spacing: 3px; margin-top: 3px; }
.site-footer__blurb { color: var(--muted); font-size: 13px; margin: 16px 0 0; max-width: 280px; line-height: 1.6; }
.site-footer__cols { display: flex; gap: 56px; }
.site-footer__links { display: flex; flex-direction: column; gap: 10px; }
.site-footer__links a { color: #FFFFFF; text-decoration: none; font-size: 14px; }
.site-footer__contact { display: flex; flex-direction: column; gap: 10px; }
.site-footer__contact span { color: var(--muted); font-size: 14px; }

/* ===== Buttons ===== */
.btn { font-family: var(--font-label); font-weight: 700; text-decoration: none; letter-spacing: 2px; display: inline-block; cursor: pointer; border: none; }

/* ===== Page header (dark hero-less intro used on Services / Results / Contact) ===== */
.page-header { background: var(--charcoal); padding: 72px 32px 64px; display: flex; justify-content: center; }
.page-header h1 { font-family: var(--font-display); color: #FFFFFF; font-size: clamp(34px, 4.5vw, 54px); line-height: 1.05; margin: 0 0 16px; text-transform: uppercase; }
.page-header p { color: #FFFFFF; font-size: 19px; line-height: 1.6; margin: 0; }

/* ===== Section headings (white sections) ===== */
.section-heading { font-family: var(--font-display); color: var(--charcoal); font-size: 32px; text-transform: uppercase; margin: 0 0 8px; }

/* ===== Grids ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Striped placeholder blocks standing in for real screenshots/photos */
.placeholder { background: repeating-linear-gradient(45deg, #F2F3F5, #F2F3F5 12px, #EAECEF 12px, #EAECEF 24px); border: 1px solid var(--border-grey); display: flex; align-items: center; justify-content: center; }
.placeholder span { font-family: monospace; color: var(--muted); font-size: 12px; text-align: center; padding: 0 12px; }
.placeholder--dark { background: repeating-linear-gradient(45deg, #22262B, #22262B 12px, #1E2126 12px, #1E2126 24px); border: 2px solid #2E3238; }

/* ===== Responsive ===== */
@media (max-width: 840px) {
  .nav-dark, header.landing-header { height: auto !important; flex-wrap: wrap; padding: 12px 16px !important; row-gap: 10px; }
  .nav-dark__links, header.landing-header nav { flex-wrap: wrap; gap: 14px !important; row-gap: 10px; }
  .nav-dark__links a, header.landing-header nav a { font-size: 13px !important; letter-spacing: 1px !important; }
  .nav-dark__links a:last-child { padding: 10px 14px !important; }
  header.landing-header nav span { display: none; }
  section, footer.site-footer, footer.landing-footer { padding-left: 20px !important; padding-right: 20px !important; }
  .m1 { grid-template-columns: 1fr !important; }
  .m2 { grid-template-columns: 1fr 1fr !important; }
  .mwrap { flex-wrap: wrap !important; }
  section[data-comparison] .m-cell { font-size: 13px !important; padding: 10px 8px !important; }
}
@media (max-width: 480px) {
  .m2 { grid-template-columns: 1fr !important; }
  .nav-dark__links, header.landing-header nav { gap: 10px !important; }
}
