/* =====================================================
   STEVEN HAUCK — Personal Brand Website
   stevenhauck.com
   ===================================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Color palette */
  --black:        #0a0a0a;
  --charcoal:     #1a1a1a;
  --charcoal-mid: #242424;
  --charcoal-light: #2e2e2e;
  --mid-gray:     #5a5a5a;
  --light-gray:   #8a8a8a;
  --border-gray:  #2c2c2c;
  --off-white:    #f5f4f0;
  --white:        #ffffff;
  --accent:       #c8a96e;        /* warm gold — restrained, not flashy */
  --accent-dark:  #a8893e;
  --accent-light: #dfc48a;

  /* Typography */
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Spacing */
  --section-pad:  8rem 0;
  --container:    1200px;
  --gutter:       clamp(1.25rem, 5vw, 2rem);

  /* Header height (used for scroll offset) */
  --header-h:     72px;

  /* Transitions */
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --duration:     0.3s;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--charcoal);
  color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Accessibility --- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
}

/* --- Typography Scale --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.display-name {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
}

.hero-tagline {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(0.8rem, 2vw, 1.05rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1.25rem;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-heading {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.12;
}

.body-lead {
  font-size: clamp(1rem, 1.8vw, 1.175rem);
  line-height: 1.75;
  color: var(--light-gray);
}

.body-text {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  line-height: 1.75;
  color: var(--light-gray);
}

/* --- Layout Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  padding: 0.9rem 2rem;
  transition: background var(--duration) var(--ease),
              color var(--duration) var(--ease),
              border-color var(--duration) var(--ease),
              transform var(--duration) var(--ease);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--accent-light);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.06);
}

.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline-accent:hover {
  background: var(--accent);
  color: var(--black);
}

.btn-ghost {
  background: transparent;
  color: var(--light-gray);
  border: 1.5px solid var(--border-gray);
  padding: 0.75rem 1.5rem;
  font-size: 0.8rem;
}
.btn-ghost:hover {
  border-color: var(--light-gray);
  color: var(--white);
}

/* --- Divider --- */
.accent-line {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 1.75rem;
}

/* =====================================================
   HEADER / NAVIGATION
   ===================================================== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
}

#site-header.scrolled {
  background: rgba(10, 10, 10, 0.98);
  border-bottom-color: rgba(200, 169, 110, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Wordmark / Logo link */
.wordmark {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1;
  transition: color var(--duration) var(--ease);
}
.wordmark:hover { color: var(--accent); }

/* Logo image — white bg knocked out via mix-blend-mode */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo {
  height: 52px;
  width: auto;
  display: block;
  mix-blend-mode: screen;   /* knocks out white bg on dark surface */
  filter: brightness(1.05);
  transition: opacity var(--duration) var(--ease);
}

.logo-link:hover .header-logo {
  opacity: 0.85;
}

/* Hero logo — larger display */
.hero-logo {
  width: clamp(220px, 40%, 340px);
  height: auto;
  display: block;
  mix-blend-mode: screen;
  filter: brightness(1.05);
  margin-bottom: 0.25rem;
}

/* Footer logo */
.footer-logo {
  height: 64px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
  filter: brightness(1.05);
  margin-bottom: 0.25rem;
}

/* Nav links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-gray);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 2px;
  transition: color var(--duration) var(--ease),
              background var(--duration) var(--ease);
}
.nav-link:hover,
.nav-link--active {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.nav-link--active {
  color: var(--accent);
  background: transparent;
}

.header-cta {
  margin-left: 0.75rem;
  padding: 0.6rem 1.4rem;
  font-size: 0.75rem;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--duration) var(--ease),
              opacity var(--duration) var(--ease),
              width var(--duration) var(--ease);
}
.nav-toggle span:nth-child(1) { width: 24px; }
.nav-toggle span:nth-child(2) { width: 18px; }
.nav-toggle span:nth-child(3) { width: 24px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--black);
  border-bottom: 1px solid var(--border-gray);
  z-index: 999;
  padding: 1.5rem var(--gutter) 2rem;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform var(--duration) var(--ease),
              opacity var(--duration) var(--ease);
}
.mobile-menu.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu .nav-link {
  display: block;
  padding: 0.85rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-gray);
  border-radius: 0;
}
.mobile-menu .nav-link:last-of-type { border-bottom: none; }
.mobile-menu .btn-primary { margin-top: 1.25rem; width: 100%; justify-content: center; }

/* =====================================================
   HERO
   ===================================================== */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Geometric texture — subtle diagonal lines */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(200, 169, 110, 0.025) 40px,
      rgba(200, 169, 110, 0.025) 41px
    );
}

/* Right-side gradient accent block */
.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(200, 169, 110, 0.04) 50%,
    rgba(200, 169, 110, 0.08) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 3.5rem var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-text {
  max-width: 600px;
}

.hero-name-block {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hero-tagline {
  margin-bottom: 0.5rem;
}

.hero-heading {
  margin-bottom: 1.75rem;
}

.hero-body {
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  line-height: 1.75;
  color: var(--light-gray);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Photo placeholder — right column */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hero-photo-frame {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 3 / 4;
  background: var(--charcoal-light);
  border: 1px solid var(--border-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

/* Corner accent */
.hero-photo-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  z-index: 2;
}
.hero-photo-frame::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  z-index: 2;
}

.photo-placeholder-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid-gray);
  text-align: center;
  padding: 2rem;
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
}

.scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-gray);
}

.scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

/* =====================================================
   SECTION BASE
   ===================================================== */
section {
  padding: var(--section-pad);
}

.section-intro {
  max-width: 680px;
}

/* Alternating backgrounds */
.bg-black    { background: var(--black); }
.bg-charcoal { background: var(--charcoal); }
.bg-dark     { background: var(--charcoal-mid); }

/* =====================================================
   THE STORY
   ===================================================== */
#story {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}

.story-text-col .body-text + .body-text {
  margin-top: 1.25rem;
}

.story-emphasis {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--white);
  line-height: 1.3;
  margin: 2.5rem 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--accent);
}

.story-visual-col {
  position: relative;
  padding-top: 2rem;
}

.story-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--charcoal-light);
  border: 1px solid var(--border-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.story-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.story-photo-frame::before {
  content: '';
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  width: 100px;
  height: 100px;
  border-top: 2px solid var(--border-gray);
  border-right: 2px solid var(--border-gray);
  z-index: 0;
  pointer-events: none;
}

.pull-stat {
  background: var(--black);
  border-left: 2px solid var(--accent);
  padding: 1.75rem 2rem;
  margin-top: 2rem;
}

.pull-stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 0.25rem;
}

.pull-stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light-gray);
}

/* =====================================================
   ENTREPRENEUR / REAL ESTATE
   ===================================================== */
#entrepreneur {
  background: var(--black);
}

.businesses-intro {
  max-width: 660px;
  margin-bottom: 4rem;
}

/* Credibility bar */
.credibility-bar {
  display: flex;
  gap: 2px;
  margin-bottom: 4.5rem;
  flex-wrap: wrap;
}

.cred-item {
  flex: 1;
  min-width: 200px;
  background: var(--charcoal-mid);
  border: 1px solid var(--border-gray);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.cred-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.cred-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--accent);
  font-weight: 700;
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.cred-label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-gray);
  line-height: 1.4;
}

/* Business cards */
.businesses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
}

.business-card {
  background: var(--charcoal-mid);
  border: 1px solid var(--border-gray);
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
  transition: border-color var(--duration) var(--ease);
}

.business-card:hover {
  border-color: rgba(200, 169, 110, 0.3);
}

.business-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.business-card:hover::after { opacity: 1; }

.business-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  background: var(--charcoal-light);
}

.business-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.business-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.business-desc {
  font-size: 0.975rem;
  line-height: 1.75;
  color: var(--light-gray);
  margin-bottom: 2rem;
}

/* =====================================================
   SPEAKING
   ===================================================== */
#speaking {
  background: var(--charcoal);
  position: relative;
}

.speaking-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-bottom: 4rem;
}

.speaking-intro-text .body-text {
  margin-bottom: 1.5rem;
}

.speaking-photo-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--charcoal-light);
  border: 1px solid var(--border-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
}

/* Stacked two-photo column */
.speaking-photos-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.speaking-photo-frame--second {
  margin-left: 0;       /* same width as first frame */
  aspect-ratio: 16 / 10; /* match first frame exactly */
}

.speaking-photo-frame--second::before {
  display: none;  /* suppress bottom-left accent on second frame */
}

.speaking-photo-frame--second::after {
  display: none;  /* suppress top-right accent on second frame */
}

.speaking-photo-frame::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 48px;
  border-bottom: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  z-index: 2;
  pointer-events: none;
}

.speaking-photo-frame::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 48px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  z-index: 2;
  pointer-events: none;
}

.speaking-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Topics */
.speaking-topics {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border-gray);
  border: 1px solid var(--border-gray);
  margin-top: 1rem;
}

.topic-item {
  background: var(--charcoal);
  padding: 2rem 2.25rem;
  transition: background var(--duration) var(--ease);
}

.topic-item:hover {
  background: var(--charcoal-mid);
}

.topic-number {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}

.topic-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.topic-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--light-gray);
}

.speaking-cta {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* =====================================================
   THE BOOK
   ===================================================== */
#book {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

#book::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

#book::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.book-text .section-heading {
  margin-bottom: 1.25rem;
}

.book-emphasis {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--white);
  margin: 1.75rem 0 0.5rem;
}

.book-sub {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--light-gray);
  margin-bottom: 2.5rem;
}

/* Coming soon notice */
.coming-soon-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200, 169, 110, 0.08);
  border: 1px solid rgba(200, 169, 110, 0.25);
  border-radius: 2px;
  padding: 0.65rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.coming-soon-notice::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

/* Waitlist form */
.waitlist-form-wrap {
  background: var(--charcoal-mid);
  border: 1px solid var(--border-gray);
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
}

.waitlist-form-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.form-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light-gray);
  display: block;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  background: var(--charcoal-light);
  border: 1px solid var(--border-gray);
  color: var(--off-white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 0.85rem 1.1rem;
  border-radius: 2px;
  transition: border-color var(--duration) var(--ease);
  -webkit-appearance: none;
}

.form-input::placeholder { color: var(--mid-gray); }
.form-input:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a5a5a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-consent {
  font-size: 0.78rem;
  color: var(--mid-gray);
  line-height: 1.55;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.form-btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Field validation states ── */
.form-input.input-error {
  border-color: #e05c5c;
  background: rgba(224, 92, 92, 0.05);
}

.form-input.input-error:focus {
  border-color: #e05c5c;
  outline: none;
  box-shadow: 0 0 0 2px rgba(224, 92, 92, 0.18);
}

.form-input.input-success {
  border-color: rgba(200, 169, 110, 0.6);
}

.form-error {
  display: block;
  font-size: 0.72rem;
  color: #e05c5c;
  letter-spacing: 0.04em;
  margin-top: 0.35rem;
  min-height: 1rem;
}

/* ── Form status banner ── */
.form-status {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  line-height: 1.5;
  padding: 0.85rem 1rem;
  border-radius: 2px;
  display: none;
}

.form-status:not(:empty) {
  display: block;
}

.form-status--success {
  background: rgba(200, 169, 110, 0.10);
  border: 1px solid rgba(200, 169, 110, 0.35);
  color: var(--accent);
}

.form-status--error {
  background: rgba(224, 92, 92, 0.08);
  border: 1px solid rgba(224, 92, 92, 0.3);
  color: #e05c5c;
}

.form-status--loading {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-gray);
  color: var(--mid-gray);
}

/* Disabled state while sending */
button[aria-busy="true"] {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

/* Book visual */
.book-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-cover-placeholder {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 2 / 3;
  background: var(--charcoal-mid);
  border: 1px solid var(--border-gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  position: relative;
}

.book-cover-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
}

.book-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 20px;
  background: var(--charcoal-light);
  border-right: 1px solid var(--border-gray);
}

.book-placeholder-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--mid-gray);
  text-align: center;
}

.book-placeholder-name {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
}

/* =====================================================
   MEDIA / PODCASTS
   ===================================================== */
#media {
  background: var(--charcoal);
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.topics-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0;
}

.topic-tag {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--light-gray);
  border: 1px solid var(--border-gray);
  padding: 0.45rem 0.9rem;
  border-radius: 2px;
  transition: border-color var(--duration) var(--ease),
              color var(--duration) var(--ease);
}

.topic-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.media-visual-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.media-photo-frame {
  aspect-ratio: 16 / 9;
  background: var(--charcoal-mid);
  border: 1px solid var(--border-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.media-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.media-invite-card {
  background: var(--black);
  border: 1px solid var(--border-gray);
  border-left: 2px solid var(--accent);
  padding: 2rem;
}

.media-invite-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.media-invite-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--light-gray);
  margin-bottom: 1.5rem;
}

/* =====================================================
   BOOKING / CONTACT
   ===================================================== */
#contact {
  background: var(--black);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.contact-option {
  background: var(--charcoal-mid);
  border: 1px solid var(--border-gray);
  padding: 1.75rem 2rem;
  cursor: pointer;
  transition: border-color var(--duration) var(--ease),
              background var(--duration) var(--ease);
}

.contact-option:hover,
.contact-option.active {
  border-color: var(--accent);
  background: var(--charcoal-light);
}

.contact-option h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.contact-option p {
  font-size: 0.85rem;
  color: var(--light-gray);
  line-height: 1.5;
}

/* =====================================================
   CLOSING CTA
   ===================================================== */
#closing {
  background: var(--charcoal);
  text-align: center;
  padding: 26rem 0 8rem;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center 15%;
}

/* Dark overlay — keeps text readable over the photo */
#closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.80) 0%,
    rgba(10, 10, 10, 0.72) 50%,
    rgba(10, 10, 10, 0.85) 100%
  );
  z-index: 0;
}

/* Gold accent lines top & bottom */
#closing::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  z-index: 1;
}

.closing-inner {
  position: relative;
  z-index: 1;
}

.closing-headline {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(2.5rem, 7vw, 6rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin-bottom: 2rem;
}

.closing-body {
  max-width: 520px;
  margin: 0 auto 3rem;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.7;
  color: var(--light-gray);
}

.closing-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* =====================================================
   COMMUNITY — Sleep Out: Atlantic City 2026
   ===================================================== */
#community {
  background: var(--black);
  border-top: 1px solid var(--border-gray);
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

/* ── Left column: text ── */
.community-text-col {
  display: flex;
  flex-direction: column;
}

.community-event-date {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.community-date-icon {
  flex-shrink: 0;
  color: var(--accent);
}

.community-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--accent);
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  margin-bottom: 1.75rem;
  width: fit-content;
}

.community-badge-sep {
  opacity: 0.6;
}

.community-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.75rem 0 2rem;
  padding: 1.25rem 1.5rem;
  border-left: 2px solid var(--accent);
  background: rgba(200, 169, 110, 0.04);
}

.community-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--light-gray);
}

.community-highlight-item svg {
  flex-shrink: 0;
  color: var(--accent);
}

.community-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.community-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
}

.community-cta-sub {
  font-size: 0.78rem;
  color: var(--mid-gray);
  letter-spacing: 0.04em;
}

/* ── Right column: flyer ── */
.community-flyer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.community-flyer-link {
  display: block;
  text-decoration: none;
}

.community-flyer-frame {
  position: relative;
  width: 100%;
  background: #fff;
  border: 1px solid var(--border-gray);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.community-flyer-link:hover .community-flyer-frame,
.community-flyer-link:focus-visible .community-flyer-frame {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(200, 169, 110, 0.18);
}

.community-flyer-link:focus-visible .community-flyer-frame {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.community-flyer-img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.45s var(--ease), filter 0.35s var(--ease);
}

.community-flyer-link:hover .community-flyer-img {
  transform: scale(1.02);
  filter: brightness(0.82);
}

.community-flyer-hover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(10, 10, 10, 0.48);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.community-flyer-hover svg {
  color: var(--accent);
}

.community-flyer-link:hover .community-flyer-hover,
.community-flyer-link:focus-visible .community-flyer-hover {
  opacity: 1;
}

.community-flyer-caption {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid-gray);
  text-align: center;
}

/* =====================================================
   FOOTER
   ===================================================== */
#site-footer {
  background: var(--black);
  border-top: 1px solid var(--border-gray);
  padding: 3.5rem 0 2.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.footer-brand .logo-link {
  display: inline-flex;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  justify-content: flex-end;
}

.footer-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-gray);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}
.footer-nav a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border-gray);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--mid-gray);
}

.footer-photo-credit {
  font-size: 0.72rem;
  color: var(--mid-gray);
  font-style: italic;
}

/* =====================================================
   BUSINESS VIDEO HIGHLIGHT
   ===================================================== */
.biz-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--black);
  border: 1px solid var(--border-gray);
  overflow: hidden;
  margin: 1.5rem 0 0;
  border-radius: 2px;
}

.biz-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Label badge — top-left */
.biz-video-label {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: 2px;
  padding: 0.35rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  pointer-events: none;
}

/* Play/pause control — bottom-right */
.biz-video-controls {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  z-index: 2;
}

.biz-video-toggle {
  width: 34px;
  height: 34px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
}

.biz-video-toggle:hover {
  background: rgba(200,169,110,0.25);
  border-color: var(--accent);
  color: var(--accent);
}

.biz-video-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Gold top accent line */
.biz-video-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  z-index: 2;
}

/* =====================================================
   BUSINESS PHOTO GRID
   ===================================================== */

/* 3-column grid: large tile spans all 3 cols, 3 small below */
.biz-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin: 1.5rem 0 0.25rem;
}

/* Large tile spans full width */
.biz-thumb-large {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 8;
}

/* Small tiles: equal square thumbnails */
.biz-thumb-small {
  aspect-ratio: 1 / 1;
}

/* =====================================================
   BUSINESS CARD THUMBNAILS
   ===================================================== */
.biz-thumb-btn {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--border-gray);
  background: var(--charcoal-light);
  cursor: pointer;
  padding: 0;
  margin: 1.5rem 0 0.25rem;
  border-radius: 2px;
  outline: none;
  transition: border-color var(--duration) var(--ease);
}

/* Inside a photo grid, reset standalone margins & let grid control sizing */
.biz-photo-grid .biz-thumb-btn {
  margin: 0;
  width: 100%;
  height: 100%;
}

/* Construction grid: 3 equal thumbnails, no large tile */
.biz-photo-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

.biz-photo-grid--3col .biz-thumb-small {
  aspect-ratio: 1 / 1;
}

/* (prop-photo-grid retired — now uses biz-photo-grid--3col) */

.biz-thumb-btn:hover,
.biz-thumb-btn:focus-visible {
  border-color: var(--accent);
}

.biz-thumb-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.biz-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s var(--ease), filter 0.3s var(--ease);
}

.biz-thumb-btn:hover .biz-thumb {
  transform: scale(1.04);
  filter: brightness(0.7);
}

.biz-thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
  background: rgba(0,0,0,0.15);
}

.biz-thumb-btn:hover .biz-thumb-overlay,
.biz-thumb-btn:focus-visible .biz-thumb-overlay {
  opacity: 1;
}

.biz-thumb-overlay svg {
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
  color: var(--accent);
}

/* =====================================================
   LIGHTBOX
   ===================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: zoom-out;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: background var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
}

.lightbox-close:hover {
  background: rgba(200, 169, 110, 0.2);
  border-color: var(--accent);
  color: var(--accent);
}

.lightbox-close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.lightbox-figure {
  position: relative;
  z-index: 5;
  max-width: min(90vw, 900px);
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transform: scale(0.95);
  transition: transform 0.35s var(--ease);
}

.lightbox.open .lightbox-figure {
  transform: scale(1);
}

.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: calc(90dvh - 3rem);
  object-fit: contain;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

.lightbox-caption {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-gray);
  text-align: center;
}

/* =====================================================
   REVEAL ANIMATIONS
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =====================================================
   RESPONSIVE — TABLET (≤ 900px)
   ===================================================== */
@media (max-width: 900px) {
  :root {
    --section-pad: 5.5rem 0;
    --header-h: 64px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
    padding: 4rem var(--gutter);
  }
  .hero-text { max-width: 100%; }
  .hero-body  { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-name-block { display: flex; flex-direction: column; align-items: center; }
  .hero-visual { justify-content: center; }
  .hero-photo-frame { max-width: 340px; }
  .scroll-hint { display: none; }

  .story-grid { grid-template-columns: 1fr; }
  .story-visual-col { display: none; }

  .businesses-grid { grid-template-columns: 1fr; }

  .speaking-intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .speaking-photos-col { display: none; }

  .book-grid { grid-template-columns: 1fr; }
  .book-visual { display: none; }

  .media-grid { grid-template-columns: 1fr; }
  .media-visual-col { display: none; }

  .contact-grid { grid-template-columns: 1fr; }

  /* Community — stack on tablet */
  .community-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .community-flyer-col {
    order: -1; /* show flyer above text on tablet for visual impact */
  }
  .community-flyer-frame {
    aspect-ratio: 3 / 4;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-nav { justify-content: flex-start; }
}

/* =====================================================
   RESPONSIVE — MOBILE (≤ 640px)
   ===================================================== */
@media (max-width: 640px) {
  :root {
    --section-pad: 4rem 0;
    --header-h: 60px;
  }

  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero-content { padding: 3rem var(--gutter); }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  .credibility-bar { flex-direction: column; }
  .cred-item { min-width: 100%; }

  .businesses-grid { grid-template-columns: 1fr; }

  .speaking-topics { grid-template-columns: 1fr; }

  .closing-headline { letter-spacing: 0.02em; }
  .closing-buttons { flex-direction: column; width: 100%; max-width: 320px; margin: 0 auto; }
  .closing-buttons .btn { justify-content: center; }

  /* Community — mobile adjustments */
  .community-cta-btn { width: 100%; justify-content: center; }
  .community-highlights { padding: 1rem 1.25rem; }
  .community-flyer-frame {
    aspect-ratio: 3 / 4;
    max-width: 100%;
  }

  .footer-bottom { flex-direction: column; gap: 0.5rem; }
}
