/* ----------------------------------------------------------------
   staceykilgore.com — black & white editorial theme
   Inspired by the Luxury Presence look: mono palette + 1 accent,
   serif headlines over a clean sans body, sticky nav, full-bleed
   hero, and an auto-scrolling logo ticker.
   Plain CSS, no build step. Edit freely.
------------------------------------------------------------------- */

:root {
  /* Monochrome system */
  --black: #0a0a0a;
  --ink: #1a1a1a;
  --text: #1a1a1a;
  --muted: #6e6e6e;
  --line: #e6e6e6;
  --bg: #ffffff;
  --bg-alt: #f5f4f2;     /* faint off-white band */
  --white: #ffffff;

  /* Single accent — ruby red */
  --accent: #9b1b30;
  --accent-dark: #7c1526;

  /* Swap this to change the hero photo (file or URL). */
  --hero-image: url("/assets/hero.jpg");

  --max-width: 1140px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--black);
}

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

/* =====================================================
   Sticky header / nav
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--black);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.18s ease;
}

.site-nav a:hover { color: var(--accent); }

/* Accent CTA button in the nav */
.nav-cta {
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  padding: 10px 22px;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-cta:hover {
  background: var(--accent);
  color: var(--white) !important;
}

/* Hamburger (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   Hero — full bleed, photo + dark scrim
   ===================================================== */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.55) 0%,
    rgba(10, 10, 10, 0.45) 55%,
    rgba(10, 10, 10, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 96px 32px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(44px, 7vw, 86px);
  color: var(--white);
  max-width: 14ch;
  margin-bottom: 22px;
}

.hero .lede {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  max-width: 46ch;
  margin-bottom: 36px;
}

.hero-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 34px;
  border-radius: 2px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* =====================================================
   Auto-scrolling logo ticker
   ===================================================== */
.marquee {
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  padding: 22px 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 64px;
  padding-left: 64px;
  will-change: transform;
  animation: marquee-scroll 32s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.logo-mark {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
  flex: 0 0 auto;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =====================================================
   Content sections
   ===================================================== */
.block {
  background: var(--bg);
  padding: 92px 0;
}
.block--alt {
  background: var(--bg-alt);
}

.block-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.block h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 22px;
  max-width: 18ch;
}

.block p {
  font-size: 19px;
  color: #3a3a3a;
  max-width: 62ch;
}

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

/* =====================================================
   Footer
   ===================================================== */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--white);
}

.footer-nav {
  display: flex;
  gap: 30px;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.18s ease;
}
.footer-nav a:hover { color: var(--white); }

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  margin-top: 8px;
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .site-nav.is-open { max-height: 320px; }

  .site-nav a {
    width: 100%;
    padding: 16px 32px;
    border-top: 1px solid var(--line);
  }
  .nav-cta {
    border: none;
    color: var(--accent) !important;
    border-radius: 0;
  }
  .nav-cta:hover { background: transparent; color: var(--accent-dark) !important; }

  .hero { min-height: 76vh; }
  .hero-content { padding: 72px 24px; }
  .block { padding: 64px 0; }
  .block-inner, .nav-inner, .footer-inner, .hero-content { padding-left: 24px; padding-right: 24px; }
  .block p { font-size: 18px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}
