/* ============================================================
   Secret Door Society — Design System
   ============================================================ */

/* --- Tokens --- */
:root {
  --color-bg:       #0A0A0A;
  --color-surface:  #1A1A1A;
  --color-border:   rgba(200, 168, 78, 0.18);
  --color-border-subtle: rgba(255, 255, 255, 0.08);
  --color-gold:     #C8A84E;
  --color-gold-bright: #D4AF37;
  --color-gold-dim: #9A7B2E;
  --color-text:     #FFFFFF;
  --color-text-muted: #9A9A9A;
  --color-text-dim: #6A6A6A;

  --font-serif:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  --max-width: 1200px;
  --radius:    12px;
  --radius-sm: 8px;

  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-gold-bright);
}

/* Focus visible for keyboard users */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}


/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-sm);
  padding-bottom: var(--space-sm);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.brand-logo {
  object-fit: contain;
  flex-shrink: 0;
  padding: 6px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.02em;
}

.brand-name:hover {
  color: var(--color-gold-bright);
}

.brand-location {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

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

.nav-cta {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  padding: 10px 24px;
  border-radius: 100px;
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--color-gold);
  color: var(--color-bg);
}

/* Header rule */
.header-rule {
  height: 1px;
  background: linear-gradient(90deg, var(--color-gold-dim), var(--color-gold), var(--color-gold-dim));
  opacity: 0.5;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.menu-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-muted);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: var(--space-4xl) 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-position: center 56%;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0) 18%),
    linear-gradient(0deg,   rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0) 18%),
    linear-gradient(90deg,  rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.75) 40%, rgba(10, 10, 10, 0.4) 100%);
  pointer-events: none;
}

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

.hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
  text-shadow:
    0 0 8px rgba(200, 168, 78, 0.34),
    0 0 18px rgba(200, 168, 78, 0.18);
}

.hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.hero-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 560px;
  margin-bottom: var(--space-xl);
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Hero image now uses background-image on .hero with .hero-overlay */


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-bg);
  border-color: var(--color-gold);
}

.btn-primary:hover {
  background: var(--color-gold-bright);
  border-color: var(--color-gold-bright);
  color: var(--color-bg);
  box-shadow: 0 4px 20px rgba(200, 168, 78, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.btn-outline:hover {
  background: rgba(200, 168, 78, 0.08);
  color: var(--color-gold-bright);
  border-color: var(--color-gold-bright);
}

.hero .btn-primary {
  background: linear-gradient(135deg, #9c7316 0%, #d7b24f 44%, #f4e29c 100%);
  border-color: rgba(244, 226, 156, 0.5);
  box-shadow:
    0 0 14px rgba(200, 168, 78, 0.22),
    0 0 28px rgba(200, 168, 78, 0.12),
    inset 0 1px 0 rgba(255, 243, 190, 0.55);
}

.hero .btn-primary:hover {
  background: linear-gradient(135deg, #b9871d 0%, #e2c163 46%, #fff0b2 100%);
  border-color: rgba(255, 240, 178, 0.72);
  color: var(--color-bg);
  box-shadow:
    0 0 18px rgba(200, 168, 78, 0.34),
    0 0 38px rgba(200, 168, 78, 0.18),
    0 8px 26px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 247, 213, 0.72);
}


/* ============================================================
   FEATURE CARDS
   ============================================================ */
.features {
  padding: var(--space-2xl) 0 var(--space-4xl);
}

.features-caption {
  text-align: right;
  font-size: 0.85rem;
  color: var(--color-text-dim);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  background:
    linear-gradient(180deg, rgba(33, 30, 26, 0.96) 0%, rgba(25, 24, 22, 0.98) 52%, rgba(19, 19, 18, 1) 100%);
  border: 1px solid rgba(200, 168, 78, 0.18);
  border-radius: var(--radius);
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255, 232, 176, 0.04),
    0 0 0 1px rgba(200, 168, 78, 0.04),
    0 10px 30px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(200, 168, 78, 0.06);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  overflow: hidden;
  isolation: isolate;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/rose.png') center / cover no-repeat;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
  transform: scale(1.04);
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-card:hover {
  border-color: rgba(200, 168, 78, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 232, 176, 0.09),
    0 0 0 1px rgba(200, 168, 78, 0.1),
    0 16px 38px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(200, 168, 78, 0.16),
    0 0 48px rgba(200, 168, 78, 0.08);
  transform: translateY(-2px);
}

.card-accent {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #8f6a16 0%, #d5b14a 45%, #f4df8b 100%);
  border-radius: 2px;
  margin-bottom: var(--space-md);
  box-shadow: 0 0 0 rgba(212, 177, 74, 0);
  transition: width var(--transition), box-shadow var(--transition), background var(--transition);
}

.feature-card:hover .card-accent {
  width: 56px;
  background: linear-gradient(90deg, #b7881d 0%, #e1bf5d 46%, #fff1b0 100%);
  box-shadow:
    0 0 10px rgba(212, 177, 74, 0.5),
    0 0 18px rgba(212, 177, 74, 0.24);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.card-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--space-lg);
}

.card-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  align-self: flex-end;
  transition: color var(--transition);
}

.card-link:hover {
  color: var(--color-gold);
}


/* ============================================================
   STANDARDS
   ============================================================ */
.standards {
  position: relative;
  padding: var(--space-4xl) 0;
  background-size: cover;
  background-position: center 24%;
  background-repeat: no-repeat;
}

.standards-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0.7) 18%, rgba(10, 10, 10, 0) 35%),
    linear-gradient(0deg,   rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0) 22%),
    rgba(10, 10, 10, 0.6);
  pointer-events: none;
}

/* Full-width image breaks between sections */
.section-image-break {
  position: relative;
  width: 100%;
  height: 45vh;
  min-height: 280px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-image-break::before,
.section-image-break::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 40%;
  z-index: 1;
  pointer-events: none;
}

.section-image-break::before {
  top: 0;
  background: linear-gradient(to bottom, var(--color-primary), transparent);
}

.section-image-break::after {
  bottom: 0;
  background: linear-gradient(to top, var(--color-primary), transparent);
}

@media (max-width: 768px) {
  .section-image-break {
    height: 30vh;
    min-height: 200px;
  }
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #d8b24a;
  margin-bottom: var(--space-md);
  text-shadow:
    0 0 8px rgba(212, 175, 55, 0.18),
    0 0 16px rgba(212, 175, 55, 0.08);
}

.membership-gold-label {
  color: var(--color-gold);
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.12);
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-2xl);
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.standard-item h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.standard-item p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}


/* ============================================================
   REQUEST FORM
   ============================================================ */
.request {
  padding: var(--space-4xl) 0;
  border-top: 1px solid var(--color-border-subtle);
}

.request-inner {
  max-width: 640px;
}

.request-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
}

.request-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group-full {
  grid-column: 1 / -1;
}

.request-form label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.required {
  color: var(--color-gold);
}

.optional {
  color: var(--color-text-dim);
  font-weight: 400;
}

.request-form input,
.request-form textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.request-form input::placeholder,
.request-form textarea::placeholder {
  color: var(--color-text-dim);
}

.request-form input:focus,
.request-form textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(200, 168, 78, 0.15);
}

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

/* Age field — no spinner arrows */
.request-form input[type="number"] {
  -moz-appearance: textfield;
}
.request-form input[type="number"]::-webkit-outer-spin-button,
.request-form input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Photo upload */
.photo-upload {
  position: relative;
  border: 2px dashed var(--color-border-subtle);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  transition: border-color var(--transition), background var(--transition);
  cursor: pointer;
}

.photo-upload:hover,
.photo-upload.dragover {
  border-color: var(--color-gold);
  background: rgba(200, 168, 78, 0.04);
}

.photo-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.photo-upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xl) var(--space-lg);
  color: var(--color-text-dim);
  pointer-events: none;
}

.photo-upload-content svg {
  opacity: 0.4;
}

.photo-upload-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

.photo-browse {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.photo-upload-hint {
  font-size: 0.78rem;
  color: var(--color-text-dim);
  margin: 0;
}

.photo-preview {
  position: relative;
  padding: var(--space-md);
  display: flex;
  justify-content: center;
}

.photo-preview img {
  max-height: 200px;
  max-width: 100%;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.photo-remove {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  z-index: 3;
}

.photo-remove:hover {
  background: rgba(248, 113, 113, 0.8);
}

.btn-submit {
  width: 100%;
  font-size: 1rem;
  padding: 16px 32px;
}

/* Form messages */
.form-message {
  grid-column: 1 / -1;
  font-size: 0.9rem;
  padding: 0;
  border-radius: var(--radius-sm);
  display: none;
}

.form-message.visible {
  display: block;
  padding: 12px 16px;
}

.form-message.success {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.form-message.error {
  color: #f87171;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.2);
}


/* ============================================================
   INNER PAGES — Shared Components
   ============================================================ */

/* Active nav link */
.nav-link-active {
  color: var(--color-text);
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: var(--space-4xl) 0 var(--space-3xl);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0.86) 12%, rgba(10, 10, 10, 0.2) 34%, rgba(10, 10, 10, 0.12) 66%, rgba(10, 10, 10, 0.84) 88%, rgba(10, 10, 10, 1) 100%),
    rgba(10, 10, 10, 0.5);
  pointer-events: none;
}

.page-hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.page-hero-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 580px;
}

.club-intro-shell {
  position: relative;
  background:
    linear-gradient(180deg, rgba(6, 6, 6, 0.9) 0%, rgba(10, 10, 10, 0.8) 100%),
    url('../images/damask-bg.jpg') center top / cover no-repeat;
}

.club-intro-shell::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top center, rgba(200, 168, 78, 0.06), transparent 42%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.16) 0%, rgba(10, 10, 10, 0.34) 52%, rgba(10, 10, 10, 0.76) 76%, rgba(10, 10, 10, 0.92) 88%, rgba(10, 10, 10, 1) 100%);
}

.club-intro-shell > section {
  position: relative;
  z-index: 1;
}

/* Content sections */
.content-section {
  padding: var(--space-4xl) 0;
}

.content-section-intro {
  padding-top: var(--space-3xl);
}

.club-pillars-shell {
  position: relative;
  overflow: hidden;
  padding-bottom: var(--space-2xl);
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.12) 24%, rgba(10, 10, 10, 0.62) 100%),
    url('../images/how-we-host-couple.png') center 32% / cover no-repeat;
}

.club-pillars-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.44) 0%, rgba(10, 10, 10, 0.24) 12%, rgba(10, 10, 10, 0.12) 28%, rgba(10, 10, 10, 0.1) 54%, rgba(10, 10, 10, 0.34) 74%, rgba(10, 10, 10, 0.72) 88%, rgba(10, 10, 10, 1) 100%);
}

.club-pillars-shell::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: clamp(150px, 18vw, 250px);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.74) 44%, rgba(10, 10, 10, 0.94) 72%, rgba(10, 10, 10, 1) 100%);
}

.club-pillars-shell > section {
  position: relative;
  z-index: 1;
}

.club-lounge-shell {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.club-lounge-shell::before {
  content: none;
}

.club-lounge-shell > section {
  position: relative;
  z-index: 1;
}

.club-lounge-shell .section-border-top {
  border-top: none;
}

.club-cta-shell {
  position: relative;
  overflow: hidden;
  border-top: none;
  background: url('../images/mask.png') center 24% / cover no-repeat;
}

.club-cta-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0.9) 14%, rgba(10, 10, 10, 0.76) 36%, rgba(10, 10, 10, 0.75) 50%, rgba(10, 10, 10, 0.76) 64%, rgba(10, 10, 10, 0.9) 86%, rgba(10, 10, 10, 1) 100%);
}

.club-cta-shell .container {
  position: relative;
  z-index: 1;
}

.club-footer-backdrop {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0.94) 100%),
    url('../images/couple-lounge.png') center bottom / cover no-repeat;
}

.club-footer-backdrop::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.9) 100%);
}

.club-footer-backdrop .footer-inner,
.club-footer-backdrop .footer-rule {
  position: relative;
  z-index: 1;
}

.section-border-top {
  border-top: 1px solid var(--color-border-subtle);
}

.section-dark {
  background: var(--color-surface);
}

/* --- Pillars Hero Background --- */
.pillars-hero {
  position: relative;
  background: transparent !important;
  padding-bottom: var(--space-2xl);
}

.pillars-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.34) 0%, rgba(10, 10, 10, 0.08) 30%, rgba(10, 10, 10, 0.44) 100%);
  pointer-events: none;
}

.club-pillars-follow {
  padding-top: var(--space-xl);
}

.club-clarity-section {
  position: relative;
  background: #0a0a0a;
}

.section-grey {
  background: #141414;
}

/* --- How It Works Hero Background --- */
.how-it-works-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.how-it-works-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0.7) 18%, rgba(10, 10, 10, 0) 35%),
    linear-gradient(0deg,   rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0) 22%),
    rgba(10, 10, 10, 0.6);
  pointer-events: none;
}

/* --- FAQ Hero Background --- */
.faq-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.faq-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0.84) 12%, rgba(10, 10, 10, 0.22) 34%, rgba(10, 10, 10, 0.22) 66%, rgba(10, 10, 10, 0.84) 88%, rgba(10, 10, 10, 1) 100%),
    rgba(10, 10, 10, 0.55);
  pointer-events: none;
}

.section-cta {
  padding: var(--space-4xl) 0 var(--space-4xl);
  border-top: 1px solid var(--color-border-subtle);
}

.experience-cta-shell {
  position: relative;
  overflow: hidden;
  border-top: none;
  background: url('../images/mask.png') center 18% / cover no-repeat;
}

.experience-cta-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0.97) 12%, rgba(10, 10, 10, 0.6) 34%, rgba(10, 10, 10, 0.44) 50%, rgba(10, 10, 10, 0.6) 66%, rgba(10, 10, 10, 0.97) 88%, rgba(10, 10, 10, 1) 100%);
}

.membership-cta-shell {
  position: relative;
  overflow: hidden;
  background-color: #0a0a0a;
  background-image: url('../images/secretcouch.png');
  background-position: 62% 58%;
  background-size: contain;
  background-repeat: no-repeat;
}

.membership-cta-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0.9) 14%, rgba(10, 10, 10, 0.58) 34%, rgba(10, 10, 10, 0.48) 50%, rgba(10, 10, 10, 0.58) 66%, rgba(10, 10, 10, 0.9) 86%, rgba(10, 10, 10, 1) 100%);
}

/* Content grid — text + aside */
.content-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.content-narrow {
  max-width: 720px;
}

.content-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.content-block p {
  font-size: 0.95rem;
  line-height: 1.75;
 /* color: var(--color-text-muted); */
  margin-bottom: var(--space-md);
}

.content-block p:last-child {
  margin-bottom: 0;
}

/* Aside card */
.aside-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-gold);
  border-radius: var(--radius);
  padding: var(--space-xl);
  position: sticky;
  top: 100px;
}

.section-dark .aside-card {
  background: var(--color-bg);
}

.aside-icon {
  display: none;
}

.aside-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  font-style: italic;
}

/* Pillars grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.pillar {
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.section-dark .pillar {
  background: var(--color-bg);
}

.pillar:hover {
  border-color: rgba(200, 168, 78, 0.35);
}

.pillar-number {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
  opacity: 0.7;
}

.pillar h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.pillar p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: var(--space-2xl);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--color-gold), var(--color-gold-dim), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-xl);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: calc(-1 * var(--space-2xl) + 2px);
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 2px solid var(--color-surface);
  box-shadow: 0 0 0 2px var(--color-gold-dim);
}

.timeline-content h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.timeline-content p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* Expect grid (what you will / won't find) */
.expect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.expect-heading {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid;
}

.expect-yes {
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.expect-no {
  color: var(--color-text-muted);
  border-color: var(--color-border-subtle);
}

.expect-list {
  list-style: none;
  padding: 0;
}

.expect-list li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  padding: var(--space-sm) 0;
  padding-left: var(--space-lg);
  position: relative;
}

.expect-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.expect-yes + .expect-list li::before {
  background: var(--color-gold);
  opacity: 0.6;
}

.expect-no + .expect-list li::before {
  background: var(--color-text-dim);
  opacity: 0.4;
}

/* Clarity grid (what we are not) */
.clarity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.clarity-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.clarity-x {
  font-size: 1.3rem;
  color: var(--color-text-dim);
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.clarity-item p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}


/* ============================================================
   MEMBERSHIP TIERS
   ============================================================ */
.tiers-grid {
  display: flex;
  gap: var(--space-lg);
  align-items: stretch;
}

.tier-card {
  flex: 1;
  min-width: 0;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  position: relative;
}

.tier-card:hover {
  border-color: rgba(200, 168, 78, 0.35);
  box-shadow: 0 0 28px rgba(212, 175, 55, 0.08);
}

.tier-featured {
  border-color: var(--color-gold);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.3),
    0 0 34px rgba(212, 175, 55, 0.16),
    0 0 64px rgba(212, 175, 55, 0.08);
}

.tier-badge {
  position: absolute;
  top: -12px;
  right: var(--space-lg);
  background: linear-gradient(135deg, #f7e7a6 0%, #d4af37 34%, #b78628 100%);
  color: var(--color-bg);
  box-shadow:
    0 0 18px rgba(212, 175, 55, 0.28),
    0 0 36px rgba(212, 175, 55, 0.12);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 100px;
}

.tier-card .card-accent {
  background: linear-gradient(90deg, #7a5a14 0%, #d4af37 42%, #f4df95 100%);
  box-shadow:
    0 0 10px rgba(212, 175, 55, 0.22),
    0 0 22px rgba(212, 175, 55, 0.08);
}

.tier-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.tier-price {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: #d4af37;
  background: linear-gradient(180deg, #fbefba 0%, #e1bf56 38%, #b78628 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.18);
  margin-bottom: var(--space-lg);
}

.tier-period {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.tier-features {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-xl);
  flex: 1;
}

.tier-features li {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  padding: var(--space-sm) 0;
  padding-left: var(--space-lg);
  position: relative;
  border-bottom: 1px solid var(--color-border-subtle);
}

.tier-features li:last-child {
  border-bottom: none;
}

.tier-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #e1bf56;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
  font-size: 0.85rem;
}

.tier-btn {
  width: 100%;
  text-align: center;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.tier-card .tier-btn.btn-outline {
  color: #e1bf56;
  border-color: rgba(212, 175, 55, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(247, 231, 166, 0.06),
    0 0 16px rgba(212, 175, 55, 0.08);
}

.tier-card .tier-btn.btn-outline:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18) 0%, rgba(212, 175, 55, 0.06) 100%);
  color: #fbefba;
  border-color: #d4af37;
  box-shadow:
    0 0 18px rgba(212, 175, 55, 0.18),
    0 0 32px rgba(212, 175, 55, 0.08);
}

.tier-card .tier-btn.btn-primary {
  background: linear-gradient(135deg, #f7e7a6 0%, #d4af37 34%, #b78628 100%);
  border-color: rgba(247, 231, 166, 0.26);
  box-shadow:
    0 0 22px rgba(212, 175, 55, 0.24),
    inset 0 1px 0 rgba(255, 248, 214, 0.38);
}

.tier-card .tier-btn.btn-primary:hover {
  background: linear-gradient(135deg, #fbefba 0%, #e2c25b 40%, #bf8f2f 100%);
  border-color: rgba(251, 239, 186, 0.4);
  box-shadow:
    0 0 26px rgba(212, 175, 55, 0.3),
    inset 0 1px 0 rgba(255, 248, 214, 0.46);
}

.tiers-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-dim);
  margin-top: var(--space-xl);
  font-style: italic;
}


/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-border-subtle);
}

.faq-question {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text);
  padding: var(--space-lg) 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--color-gold);
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--color-gold);
  flex-shrink: 0;
  margin-left: var(--space-md);
  transition: transform var(--transition);
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-answer {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  padding-bottom: var(--space-lg);
  max-width: 640px;
}


/* --- Mailing List --- */
.mailing-list {
  position: relative;
  padding: var(--space-4xl) 0;
  border-top: none;
  background-size: cover;
  background-position: center 18%;
  background-repeat: no-repeat;
}

.mailing-list-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0) 22%),
    linear-gradient(0deg,   rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0) 22%),
    rgba(10, 10, 10, 0.55);
  pointer-events: none;
}

/* --- Tiers Hero Background --- */
.tiers-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.tiers-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0) 22%),
    linear-gradient(0deg,   rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0) 22%),
    rgba(10, 10, 10, 0.6);
  pointer-events: none;
}

.mailing-list-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto var(--space-xl);
}

.mailing-form-row {
  display: flex;
  gap: var(--space-sm);
  max-width: 480px;
  margin: 0 auto;
}

.mailing-input {
  flex: 1;
  padding: 14px var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.mailing-input:focus {
  outline: none;
  border-color: var(--color-gold);
}

.mailing-input::placeholder {
  color: var(--color-text-dim);
}

.mailing-btn {
  flex-shrink: 0;
  padding: 14px var(--space-xl);
}

@media (max-width: 480px) {
  .mailing-form-row {
    flex-direction: column;
  }

  .mailing-btn {
    width: 100%;
  }
}

/* --- Legal pages --- */
.legal-list {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0 var(--space-xl);
}

.legal-list li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.legal-list li::before {
  content: "\2022";
  color: var(--color-gold);
  position: absolute;
  left: 0;
}

.legal-list li strong {
  color: var(--color-text);
}

/* Legal / policy page typography */
.content-narrow p {
  font-size: 0.95rem;
  line-height: 1.75;
/* color: var(--color-text-muted); */
  margin-bottom: var(--space-md);
}

.content-narrow .content-heading {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.content-narrow .content-heading:first-of-type {
  margin-top: var(--space-lg);
}

.content-narrow .legal-list {
  margin-top: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.content-narrow .legal-list li {
  margin-bottom: var(--space-sm);
  line-height: 1.7;
  font-size: 0.9rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding-bottom: var(--space-xl);
}

.footer-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-dim), transparent);
  opacity: 0.4;
  margin-bottom: var(--space-xl);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer-links a:hover {
  color: var(--color-text);
}

.footer-sep {
  color: var(--color-text-dim);
  font-size: 0.7rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--color-text-dim);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid .feature-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-md);
  }

  /* Header mobile */
  .menu-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border-subtle);
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-md);
    z-index: 99;
  }

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

  .nav-cta {
    text-align: center;
    margin-top: var(--space-sm);
  }

  /* Hero mobile */
  .hero {
    min-height: 60vh;
    padding: var(--space-2xl) 0 var(--space-xl);
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.85) 0%,
      rgba(10, 10, 10, 0.7) 50%,
      rgba(10, 10, 10, 0.85) 100%
    );
  }

  .hero-heading {
    font-size: 2.2rem;
  }

  .hero-body {
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  /* Features mobile */
  .features-grid {
    grid-template-columns: 1fr;
  }

  .features-grid .feature-card:last-child {
    max-width: 100%;
  }

  .features-caption {
    text-align: center;
  }

  .card-link {
    display: none;
  }

  /* Standards mobile */
  .standards-grid {
    grid-template-columns: 1fr;
  }

  /* Form mobile */
  .request-form {
    grid-template-columns: 1fr;
  }

  /* Footer mobile */
  .footer-inner {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  /* Inner pages mobile */
  .page-hero {
    padding: var(--space-2xl) 0 var(--space-xl);
  }

  .content-section {
    padding: var(--space-2xl) 0;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

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

  .expect-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

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

  .timeline {
    padding-left: var(--space-xl);
  }

  .tiers-grid {
    flex-direction: column;
    max-width: 400px;
  }
}

/* Small mobile */
@media (max-width: 400px) {
  .hero-heading {
    font-size: 1.8rem;
  }

  .brand-name {
    font-size: 1.15rem;
  }
}
