/* ─────────────────────────────────────────
   THE AUBURN HOUR — styles.css
   Knox discipline · Auburn warmth
   ───────────────────────────────────────── */

/* ── Design Tokens ── */
:root {
  /* Color */
  --midnight:      #171417;
  --soft-bone:     #F4EEE8;
  --auburn:        #B85A2B;
  --champagne:     #EED4B1;
  --teal:          #1E6765;

  /* White opacity scale */
  --fg:            #ffffff;
  --fg-high:       rgba(255, 255, 255, 0.92);
  --fg-mid:        rgba(255, 255, 255, 0.72);
  --fg-low:        rgba(255, 255, 255, 0.42);
  --fg-muted:      rgba(255, 255, 255, 0.24);
  --fg-whisper:    rgba(255, 255, 255, 0.10);

  /* Bone opacity scale (for soft-bone sections) */
  --bone-ink:      #1a1210;
  --bone-mid:      rgba(26, 18, 16, 0.72);
  --bone-low:      rgba(26, 18, 16, 0.45);

  /* Layout */
  --max-width:     1040px;
  --pad-h:         72px;
  --pad-v:         88px;
  --radius:        6px;
}

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

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ── Base ── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  background-color: var(--midnight);
  background-image: linear-gradient(180deg, #1a1118 0%, #171417 40%, #141218 100%);
  background-attachment: fixed;
  color: var(--fg-high);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--pad-h);
  padding-right: var(--pad-h);
}

.section {
  padding-top: var(--pad-v);
  padding-bottom: var(--pad-v);
  border-top: 1px solid var(--fg-whisper);
}

.section-border-top {
  border-top: 1px solid var(--fg-whisper);
}

/* Soft bone contrast section */
.section-bone {
  background: var(--soft-bone);
  color: var(--bone-ink);
  border-top: none;
}

/* ── Typography ── */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 { font-weight: 600; }
h2 { font-weight: 600; }
h3 { font-weight: 600; }

.section-label {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.section-bone .section-label {
  color: var(--teal);
}

.body-text {
  font-weight: 400;
  color: var(--fg-mid);
  line-height: 1.72;
  max-width: 64ch;
  margin-bottom: 20px;
}

.section-bone .body-text {
  color: var(--bone-mid);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: opacity 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.78;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--auburn);
  color: var(--fg);
  border: 1px solid transparent;
}

.btn-ghost {
  background: transparent;
  color: var(--fg-high);
  border: 1px solid var(--fg-muted);
}

.btn-nav {
  padding: 10px 22px;
  font-size: 12px;
  background: var(--auburn);
  color: var(--fg);
  border: 1px solid transparent;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 12px;
}

.btn-full {
  width: 100%;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(23, 20, 23, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--fg-whisper);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

/* Brand Lockup */
.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-shrink: 0;
}

.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--fg);
  line-height: 1;
}

.brand-rule {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--auburn);
  opacity: 0.7;
}

.brand-sub {
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-low);
  line-height: 1;
}

.brand-sub em {
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--fg-mid);
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-low);
  transition: color 180ms ease;
}

.nav-link:hover {
  color: var(--fg-high);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--fg-mid);
  transition: transform 240ms ease, opacity 240ms ease;
}

/* ── Hero ── */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(23, 20, 23, 0.15) 0%,
    rgba(23, 20, 23, 0.45) 50%,
    rgba(23, 20, 23, 0.88) 100%
  );
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 8vw, 100px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 400;
  font-style: italic;
  color: var(--champagne);
  line-height: 1.4;
  max-width: 52ch;
  margin-bottom: 12px;
}

.hero-sub {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--fg-mid);
  max-width: 56ch;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-credit {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-style: italic;
  color: var(--fg-low);
  letter-spacing: 0.04em;
}

/* ── What It Is ── */
.experience-body {
  max-width: 72ch;
  margin-top: 8px;
}

/* ── Why It Works (Soft Bone) ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 40px;
}

.card {
  padding: 36px 32px;
  background: rgba(26, 18, 16, 0.06);
  border: 1px solid rgba(26, 18, 16, 0.10);
  border-radius: var(--radius);
}

.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  color: var(--bone-ink);
  margin-bottom: 12px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.card-body {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--bone-mid);
  line-height: 1.68;
  margin: 0;
}

/* Heading colors in bone section */
.section-bone h2 {
  color: var(--bone-ink);
}

/* ── Formats / Packages ── */
.formats-intro {
  margin-top: 8px;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 40px;
}

.package {
  padding: 36px 32px;
  background: var(--fg-whisper);
  border: 1px solid var(--fg-whisper);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.package-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.package-desc {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--fg-mid);
  line-height: 1.68;
  flex: 1;
  margin: 0;
}

/* ── Gallery ── */
.gallery-section {
  border-top: 1px solid var(--fg-whisper);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2px;
}

.gallery-col-main {
  overflow: hidden;
}

.gallery-col-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
}

.gallery-col-side > div {
  overflow: hidden;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms ease;
}

.gallery-col-main {
  max-height: 640px;
}

.gallery-col-side > div {
  max-height: 318px;
}

/* ── For Venues ── */
.meta-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
  margin-bottom: 40px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 28px;
  background: var(--fg-whisper);
  border: 1px solid var(--fg-whisper);
  border-radius: var(--radius);
}

.meta-label {
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-low);
}

.meta-value {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--fg-mid);
  line-height: 1.55;
}

.callout {
  margin: 0 0 40px;
  padding: 28px 32px;
  border-left: 2px solid var(--auburn);
  background: rgba(184, 90, 43, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(17px, 1.8vw, 20px);
  font-style: italic;
  font-weight: 400;
  color: var(--fg-high);
  line-height: 1.55;
}

/* ── Booking ── */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.booking-email {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: var(--fg-low);
  margin-top: 24px;
}

.booking-email a {
  color: var(--champagne);
  border-bottom: 1px solid rgba(238, 212, 177, 0.3);
  padding-bottom: 1px;
  transition: border-color 180ms ease;
}

.booking-email a:hover {
  border-color: var(--champagne);
}

/* Form */
.booking-form {
  display: grid;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-low);
}

.form-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--fg-muted);
  border-radius: var(--radius);
  color: var(--fg-high);
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 400;
  padding: 13px 16px;
  transition: border-color 200ms ease, background 200ms ease;
  outline: none;
  appearance: none;
}

.form-input::placeholder {
  color: var(--fg-muted);
}

.form-input:focus {
  border-color: rgba(238, 212, 177, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

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

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--fg-whisper);
  padding-top: 56px;
  padding-bottom: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 40px;
}

.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--fg-high);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.footer-tagline {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: var(--fg-low);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.footer-link {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  color: var(--fg-mid);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 180ms ease, border-color 180ms ease;
}

.footer-link:hover {
  color: var(--fg);
  border-color: var(--fg-muted);
}

.footer-copy {
  grid-column: 1 / -1;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  padding-top: 32px;
  border-top: 1px solid var(--fg-whisper);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 640ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  :root {
    --pad-h: 28px;
    --pad-v: 64px;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(23, 20, 23, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 28px 24px;
    border-bottom: 1px solid var(--fg-whisper);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--fg-whisper);
  }

  .btn-nav {
    margin-top: 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .header-inner {
    position: relative;
  }

  .cards-grid,
  .packages-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .meta-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .booking-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .gallery-col-side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .gallery-col-main {
    max-height: 480px;
  }

  .gallery-col-side > div {
    max-height: 240px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    align-items: flex-start;
  }

  .hero-section {
    min-height: 85vh;
    padding-bottom: 56px;
  }
}

@media (max-width: 600px) {
  .hero-h1 {
    font-size: clamp(44px, 13vw, 64px);
  }

  .hero-section {
    min-height: 80vh;
  }

  .gallery-col-side {
    grid-template-columns: 1fr;
  }

  .gallery-col-side > div {
    max-height: 260px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
