/* =========================================================
   Bubba & Me Retreats — Brand System
   ========================================================= */

:root {
  --warm-taupe: #8B7355;
  --deep-taupe: #6B5540;
  --cream: #F2EBE0;
  --parchment: #F5EFE8;
  --soft-stone: #E8DFD3;
  --ink: #3A2F22;
  --whisper: #FBF8F3;

  --display: 'Cormorant Garamond', 'Garamond', serif;
  --body: 'Jost', 'Helvetica Neue', sans-serif;

  --max: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4rem, 9vw, 8rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--parchment);
  background-image:
    radial-gradient(ellipse at top left, rgba(139,115,85,0.04), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(107,85,64,0.04), transparent 50%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.45 0 0 0 0 0.34 0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--deep-taupe);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.75rem, 7vw, 5.75rem); line-height: 1.02; font-weight: 300; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.1; font-weight: 300; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.125rem); line-height: 1.2; }
h4 { font-size: 1.125rem; }

p { max-width: 62ch; }

a {
  color: var(--deep-taupe);
  text-decoration: none;
  transition: opacity 0.4s var(--ease);
}
a:hover { opacity: 0.65; }

.eyebrow {
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--warm-taupe);
}

.lede {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.5;
  font-style: italic;
  color: var(--deep-taupe);
  font-weight: 300;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}

section { position: relative; z-index: 2; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--deep-taupe);
  background: var(--deep-taupe);
  color: var(--whisper);
  cursor: pointer;
  transition: all 0.4s var(--ease);
  text-decoration: none;
}
.btn:hover {
  background: transparent;
  color: var(--deep-taupe);
  opacity: 1;
}
.btn--ghost {
  background: transparent;
  color: var(--deep-taupe);
}
.btn--ghost:hover {
  background: var(--deep-taupe);
  color: var(--whisper);
}
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Header / Nav */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.5rem var(--gutter);
  background: rgba(245, 239, 232, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139,115,85,0.08);
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--deep-taupe);
  letter-spacing: 0.02em;
}
.brand .ornament {
  display: inline-block;
  margin: 0 0.4rem;
  color: var(--warm-taupe);
  font-size: 0.85em;
}
.brand--logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  padding: 0;
}
.brand--logo img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.brand--logo-footer img {
  height: 72px;
  max-width: 240px;
  margin-left: -8px;
}
.featured-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}
.featured-logo {
  height: 110px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  opacity: 0.92;
}
@media (max-width: 600px) {
  .brand--logo img { height: 44px; }
  .featured-logo { height: 84px; }
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--deep-taupe);
  font-weight: 400;
}
.nav-cta {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  border: 1px solid var(--deep-taupe);
  color: var(--deep-taupe);
  transition: all 0.4s var(--ease);
}
.nav-cta:hover {
  background: var(--deep-taupe);
  color: var(--whisper);
  opacity: 1;
}

@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* Hero */
.hero {
  min-height: 100vh;
  padding: 9rem var(--gutter) 4rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}
.hero-text > * + * { margin-top: 1.5rem; }
.hero-meta {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}
.hero-meta .divider {
  width: 1px; height: 1.2rem;
  background: var(--warm-taupe);
  opacity: 0.4;
}
.hero h1 .ital {
  font-style: italic;
  display: inline;
  color: var(--warm-taupe);
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.hero-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2px;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(0.96);
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(107,85,64,0.15));
  pointer-events: none;
}
.hero-decor {
  position: absolute;
  font-family: var(--display);
  font-style: italic;
  font-size: 7rem;
  color: var(--warm-taupe);
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
}
.hero-decor--1 { top: 20%; right: -2rem; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 7rem; }
  .hero-image { aspect-ratio: 4/3; order: -1; }
}

/* Section */
.section { padding: var(--section) 0; }
.section-header {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: end;
}
.section-header .eyebrow + h2 { margin-top: 1rem; }
@media (max-width: 720px) {
  .section-header { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(139,115,85,0.2);
}
.pillar {
  padding: 3rem 2rem;
  border-right: 1px solid rgba(139,115,85,0.15);
  border-bottom: 1px solid rgba(139,115,85,0.15);
  transition: background 0.5s var(--ease);
}
.pillar:last-child { border-right: none; }
.pillar:hover { background: rgba(139,115,85,0.04); }
.pillar-icon {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--warm-taupe);
  margin-bottom: 1.5rem;
}
.pillar h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--deep-taupe);
}
.pillar p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.8;
}
@media (max-width: 900px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(2) { border-right: none; }
}
@media (max-width: 540px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; }
}

/* Retreats list */
.retreats-bg {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.retreats-bg::before {
  content: 'Retreats';
  position: absolute;
  top: 50%;
  right: -3rem;
  transform: translateY(-50%);
  font-family: var(--display);
  font-style: italic;
  font-size: 18rem;
  color: var(--warm-taupe);
  opacity: 0.05;
  letter-spacing: -0.05em;
  pointer-events: none;
  line-height: 1;
}
.retreat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.retreat-card {
  background: var(--whisper);
  border: 1px solid rgba(139,115,85,0.15);
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.retreat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -25px rgba(58,47,34,0.35);
}
.retreat-card--featured {
  grid-column: span 1;
  border: 1px solid var(--deep-taupe);
}
.retreat-card-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.retreat-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transition: transform 0.7s var(--ease);
}
.retreat-card:hover .retreat-card-media img { transform: scale(1.04); }
.retreat-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  font-family: var(--body);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  background: var(--deep-taupe);
  color: var(--whisper);
}
.retreat-tag--soft {
  background: rgba(251,248,243,0.92);
  color: var(--deep-taupe);
}
.retreat-tag--booked {
  background: #6b2a2a;
  color: var(--whisper);
}
.sold-out-note {
  font-family: var(--body);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 0.6rem 0.85rem;
  border-left: 2px solid #6b2a2a;
  background: rgba(107, 42, 42, 0.06);
  color: var(--deep-taupe);
  margin: 0;
}
.sold-out-note strong { color: #6b2a2a; }
.retreat-card-body {
  padding: 1.75rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}
.retreat-card-body h3 {
  font-size: 1.5rem;
  line-height: 1.2;
}
.retreat-card-body p {
  font-size: 0.95rem;
  opacity: 0.85;
  flex: 1;
}
.retreat-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.retreat-actions .btn {
  padding: 0.75rem 1.4rem;
  font-size: 0.7rem;
}
@media (max-width: 980px) {
  .retreat-cards { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
}

/* Schedule */
.schedule {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.schedule-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 3rem;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(139,115,85,0.2);
}
.schedule-item:last-child { border-bottom: 1px solid rgba(139,115,85,0.2); }
.schedule-time {
  font-family: var(--display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--warm-taupe);
  line-height: 1.2;
}
.schedule-content h3 {
  font-size: 1.65rem;
  margin-bottom: 0.75rem;
}
.schedule-content p {
  color: var(--ink);
  opacity: 0.85;
}
.schedule-content p + p { margin-top: 0.75rem; }
.schedule-content strong {
  font-family: var(--body);
  font-weight: 500;
  color: var(--deep-taupe);
}
@media (max-width: 720px) {
  .schedule-item { grid-template-columns: 1fr; gap: 0.75rem; }
  .schedule-time { font-size: 1.2rem; }
}

/* Hosts */
.hosts-bg { background: var(--whisper); }
.hosts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.host { display: flex; flex-direction: column; }
.host-image {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--soft-stone);
  margin-bottom: 1.5rem;
  border-radius: 2px;
}
.host-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) saturate(0.85);
  transition: transform 0.7s var(--ease);
}
.host:hover .host-image img { transform: scale(1.04); }
.host h3 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.host .role {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm-taupe);
  margin-bottom: 1rem;
}
.host p { font-size: 0.92rem; line-height: 1.65; opacity: 0.85; }
@media (max-width: 820px) {
  .hosts { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* How it works */
.how-bg { background: var(--cream); }
.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 4rem;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
}
.step-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 3rem;
  color: var(--warm-taupe);
  line-height: 1;
  font-weight: 300;
}
.step h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.95rem; opacity: 0.85; }
.step p + p { margin-top: 0.75rem; }
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
}

/* Waitlist */
.waitlist-bg { background: var(--whisper); }
.waitlist-container {
  max-width: 720px;
  text-align: left;
}
.waitlist-container .eyebrow { display: block; margin-bottom: 1rem; }
.waitlist-container h2 { margin-bottom: 1.25rem; }
.waitlist-container .lede { margin-bottom: 2.5rem; }
.waitlist-form { display: flex; flex-direction: column; gap: 1.5rem; }
.waitlist-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 600px) {
  .waitlist-row { grid-template-columns: 1fr; }
}
.field {
  display: flex;
  flex-direction: column;
}
.field label {
  font-family: var(--body);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm-taupe);
  margin-bottom: 0.6rem;
  font-weight: 400;
}
.field .hint {
  letter-spacing: 0.15em;
  text-transform: none;
  opacity: 0.75;
  font-size: 0.7rem;
}
.field input[type="text"],
.field input[type="email"],
.field textarea {
  width: 100%;
  padding: 0.85rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(107,85,64,0.4);
  font-family: var(--body);
  font-size: 1rem;
  color: var(--deep-taupe);
  outline: none;
  transition: border-color 0.3s var(--ease);
  resize: vertical;
}
.field input:focus,
.field textarea:focus { border-color: var(--deep-taupe); }
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 1.5rem;
  margin-top: 0.25rem;
}
@media (max-width: 600px) {
  .checkbox-group { grid-template-columns: 1fr; }
}
.check {
  font-family: var(--body);
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  margin-bottom: 0;
  font-weight: 300;
}
.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border: 1px solid var(--warm-taupe);
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s var(--ease);
}
.check input:checked {
  background: var(--deep-taupe);
  border-color: var(--deep-taupe);
}
.check input:checked::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 5px; height: 9px;
  border: solid var(--whisper);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.hp-field { display: none; }
.waitlist-form .btn {
  align-self: flex-start;
  margin-top: 1rem;
}

/* CTA */
.cta-block {
  text-align: center;
  padding: var(--section) var(--gutter);
  background: var(--deep-taupe);
  color: var(--whisper);
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '❋';
  position: absolute;
  top: 2rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--warm-taupe);
  opacity: 0.6;
}
.cta-block h2 {
  color: var(--whisper);
  max-width: 18ch;
  margin: 0 auto 2rem;
}
.cta-block p { color: rgba(251,248,243,0.8); margin: 0 auto 2.5rem; max-width: 40ch; }
.cta-block .btn {
  background: var(--whisper);
  color: var(--deep-taupe);
  border-color: var(--whisper);
}
.cta-block .btn:hover {
  background: transparent;
  color: var(--whisper);
}

/* Footer */
.site-footer {
  background: var(--cream);
  padding: 5rem var(--gutter) 2rem;
  position: relative;
  z-index: 2;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(139,115,85,0.2);
}
.footer-grid h4 {
  font-family: var(--body);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm-taupe);
  font-weight: 400;
  margin-bottom: 1.25rem;
}
.footer-grid p, .footer-grid a {
  font-size: 0.92rem;
  line-height: 1.7;
}
.footer-grid a { display: block; }
.footer-newsletter input {
  width: 100%;
  padding: 0.85rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(107,85,64,0.4);
  font-family: var(--body);
  font-size: 0.92rem;
  color: var(--deep-taupe);
  outline: none;
  margin-bottom: 1rem;
}
.footer-newsletter input::placeholder { color: rgba(107,85,64,0.5); }
.footer-newsletter input:focus { border-color: var(--deep-taupe); }
.footer-newsletter button {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--deep-taupe);
  color: var(--deep-taupe);
  padding: 0.7rem 1.5rem;
  cursor: pointer;
  transition: all 0.4s var(--ease);
}
.footer-newsletter button:hover {
  background: var(--deep-taupe);
  color: var(--whisper);
}
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--warm-taupe);
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Thank-you page */
.thanks {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem var(--gutter);
}
.thanks-inner { max-width: 540px; }
.thanks h1 .ital { font-style: italic; color: var(--warm-taupe); }
.thanks p { margin: 1.5rem auto 2.5rem; opacity: 0.8; }
