/* ============================================================
   MAITRI YOGA STUDIO
   Crowthorne, Berkshire
   Stylesheet by Aaron Lewis Hopkins
   ============================================================ */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Palette — sepia + cream lead; olive/sage/clay accents */
  --ink: #40231B;           /* Sepia ink — primary brand */
  --ink-soft: #5C4032;      /* Mid sepia */
  --ink-warm: #7A5A4A;      /* Warm muted brown for body */
  --cream: #EDE7DC;         /* Brand background */
  --cream-deep: #E5DBC8;    /* Sand linen */
  --cream-light: #F5EFE4;   /* Lifted cream for surfaces */
  --olive: #8B8569;         /* Kathryn olive */
  --sage: #8E9077;          /* Muted sage */
  --clay: #D8B59A;          /* Warm clay */
  --forest: #2E3A2C;        /* Forest green */
  --soft-black: #1A1A1A;
  --rule: rgba(64, 35, 27, 0.18);
  --rule-soft: rgba(64, 35, 27, 0.08);

  /* Type */
  --font-display: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --font-script: 'Dancing Script', 'Lucida Handwriting', cursive;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, sans-serif;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;
  --space-11: 10rem;

  /* Layout */
  --max-w: 1280px;
  --max-w-narrow: 880px;
  --max-w-prose: 640px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --slow: 800ms;
  --med: 400ms;
  --fast: 200ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--cream);
  background-image:
    radial-gradient(circle at 20% 10%, rgba(216,181,154,0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(139,133,105,0.06) 0%, transparent 40%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle film-grain overlay for warmth */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  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.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
}

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

a {
  color: var(--ink);
  text-decoration: none;
  transition: opacity var(--fast) var(--ease), color var(--fast) var(--ease);
}

a:hover { opacity: 0.7; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ---------- TYPOGRAPHY ---------- */
.display, h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1, .h1 {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 300;
  letter-spacing: -0.015em;
}

h2, .h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 400;
}

h3, .h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
}

h4, .h4 {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  font-weight: 500;
  font-family: var(--font-body);
  letter-spacing: 0;
  line-height: 1.4;
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.5em;
  letter-spacing: 0;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  display: inline-block;
}

.eyebrow.with-line::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--olive);
  vertical-align: middle;
  margin-right: var(--space-3);
  margin-bottom: 3px;
}

p {
  margin-bottom: var(--space-4);
  max-width: 60ch;
}

.prose p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-warm);
}

.lead {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.4;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.pullquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.25;
  color: var(--ink);
  text-align: center;
  max-width: 28ch;
  margin: 0 auto;
  letter-spacing: -0.01em;
}

/* ---------- LAYOUT PRIMITIVES ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
  z-index: 2;
}

.container--narrow {
  max-width: var(--max-w-narrow);
}

.container--prose {
  max-width: var(--max-w-prose);
}

section {
  padding-top: clamp(4rem, 10vw, 8rem);
  padding-bottom: clamp(4rem, 10vw, 8rem);
  position: relative;
}

.section--tight {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.section--cream-deep {
  background: var(--cream-deep);
}

.section--ink {
  background: var(--ink);
  color: var(--cream);
}

.section--ink h1, .section--ink h2, .section--ink h3 {
  color: var(--cream);
}

.section--ink .eyebrow { color: var(--clay); }

/* Decorative leaf separator */
.leaf-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--space-7) auto;
  gap: var(--space-5);
}

.leaf-divider::before,
.leaf-divider::after {
  content: '';
  flex: 0 0 60px;
  height: 1px;
  background: var(--rule);
}

.leaf-divider img {
  width: 28px;
  opacity: 0.85;
}

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(237, 231, 220, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--rule-soft);
  transition: padding var(--fast) var(--ease);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  gap: var(--space-5);
}

.brand {
  flex: 0 0 auto;
  display: block;
}

.brand img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: var(--space-2) 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width var(--med) var(--ease);
}

.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }

.nav-cta {
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--med) var(--ease), opacity var(--fast) var(--ease);
}

/* Mobile nav — hidden by default on desktop */
.nav-mobile {
  display: none;
}

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none !important; }
  .nav-toggle { display: flex; }

  .nav-mobile-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-mobile-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-mobile-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .nav-mobile {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-5);
    padding: var(--space-7);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--med) var(--ease), opacity var(--med) var(--ease), visibility var(--med);
  }

  .nav-mobile-open .nav-mobile {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-mobile a {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    color: var(--ink);
    letter-spacing: -0.01em;
  }

  .nav-mobile .btn {
    margin-top: var(--space-4);
  }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: 0.95rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  transition: all var(--med) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  background: var(--cream);
  color: var(--ink);
  opacity: 1;
}

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

.btn--outline:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn--cream {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.btn--cream:hover {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

.btn--small {
  padding: 0.7rem 1.3rem;
  font-size: 0.75rem;
}

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

.btn .arrow {
  display: inline-block;
  transition: transform var(--med) var(--ease);
}

.btn:hover .arrow { transform: translateX(4px); }

/* Text link with underline animation */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  transition: gap var(--med) var(--ease);
}

.link-arrow:hover {
  gap: var(--space-4);
  opacity: 1;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 80vh, 820px);
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  overflow: hidden;
}

@media (min-width: 880px) {
  .hero {
    grid-template-columns: 1.05fr 1fr;
  }
}

.hero-text {
  padding: var(--space-9) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 3;
  background: var(--cream);
}

.hero-text .eyebrow {
  margin-bottom: var(--space-5);
}

.hero-text h1 {
  margin-bottom: var(--space-5);
}

.hero-text h1 .script {
  display: block;
  font-size: 0.65em;
  margin-top: var(--space-2);
  color: var(--olive);
}

.hero-text .lead {
  margin-bottom: var(--space-6);
  max-width: 24ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--rule);
  font-size: 0.8125rem;
  color: var(--ink-warm);
  letter-spacing: 0.04em;
}

.hero-meta strong {
  color: var(--ink);
  font-weight: 500;
}

.hero-image {
  position: relative;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-image: url('../images/hero-studio.jpg');
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(64,35,27,0.05) 0%, transparent 50%);
}

/* Decorative leaf in hero corner */
.hero-leaf {
  position: absolute;
  bottom: var(--space-7);
  right: var(--space-7);
  width: 80px;
  opacity: 0.18;
  z-index: 2;
  transform: rotate(15deg);
  pointer-events: none;
}

@media (max-width: 879px) {
  .hero-image { min-height: 50vh; }
  .hero-leaf { display: none; }
}

/* ---------- INTRO OFFER BAND ---------- */
.intro-band {
  background: var(--ink);
  color: var(--cream);
  padding: var(--space-5) var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.intro-band p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  max-width: none;
}

.intro-band .price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--clay);
}

.intro-band a {
  color: var(--clay);
  border-bottom: 1px solid var(--clay);
  padding-bottom: 1px;
  margin-left: var(--space-2);
}

.intro-band a:hover { opacity: 0.7; }

/* ---------- WELCOME / INTRO SECTION ---------- */
.welcome {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
}

@media (min-width: 880px) {
  .welcome {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-9);
  }
}

.welcome-image {
  position: relative;
}

.welcome-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.welcome-image::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--ink);
  z-index: -1;
  opacity: 0.3;
}

.welcome-text h2 {
  margin-bottom: var(--space-5);
}

.welcome-text h2 .script {
  display: block;
  font-size: 0.7em;
  color: var(--olive);
  margin-top: var(--space-1);
}

/* ---------- CLASSES TEASER ---------- */
.classes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-7);
}

@media (min-width: 600px) { .classes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .classes-grid { grid-template-columns: repeat(4, 1fr); } }

.class-card {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-5);
  color: var(--cream);
  transition: transform var(--slow) var(--ease);
}

.class-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--slow) var(--ease);
  filter: brightness(0.85);
}

.class-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(64,35,27,0.92) 0%, rgba(64,35,27,0.5) 40%, transparent 70%);
}

.class-card:hover::before { transform: scale(1.06); }

.class-card > * { position: relative; z-index: 2; }

.class-card--power::before { background-image: url('../images/class-power.jpg'); }
.class-card--hatha::before { background-image: url('../images/class-hatha.jpg'); }
.class-card--flow::before  { background-image: url('../images/class-flow.jpg'); }
.class-card--slow::before  { background-image: url('../images/class-slow.jpg'); }

.class-card .vibe {
  font-size: 1.5rem;
  margin-bottom: var(--space-3);
  display: block;
}

.class-card h3 {
  color: var(--cream);
  margin-bottom: var(--space-2);
  font-size: 1.5rem;
}

.class-card .when {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: var(--space-3);
  display: block;
}

.class-card .level {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.7;
  margin-top: var(--space-3);
  display: block;
}

/* ---------- TIMETABLE ---------- */
.timetable {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
}

.timetable thead th {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
  text-align: left;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--rule);
}

.timetable tbody tr {
  border-bottom: 1px solid var(--rule-soft);
  transition: background var(--fast) var(--ease);
}

.timetable tbody tr:hover { background: rgba(64,35,27,0.03); }

.timetable td {
  padding: var(--space-5) 0;
  vertical-align: middle;
}

.timetable .day {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
  width: 200px;
}

.timetable .time {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink-soft);
  font-style: italic;
  width: 130px;
}

.timetable .class-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
}

.timetable .class-name small {
  display: block;
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--ink-warm);
  margin-top: 4px;
  letter-spacing: 0;
}

.timetable .book-cell {
  text-align: right;
}

@media (max-width: 720px) {
  .timetable .day { width: auto; font-size: 1.125rem; }
  .timetable .time { width: auto; font-size: 1rem; }
  .timetable td { padding: var(--space-3) var(--space-2); }
  .timetable .book-cell { display: none; }
  .timetable .class-name { font-size: 0.875rem; }
}

/* ---------- CLASS DETAIL CARDS ---------- */
.class-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--rule-soft);
}

@media (min-width: 880px) {
  .class-detail {
    grid-template-columns: 1fr 1.3fr;
    gap: var(--space-8);
  }
  .class-detail:nth-child(even) .class-detail-image { order: 2; }
}

.class-detail-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.class-detail-text .vibe-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.class-detail-text .vibe {
  font-size: 1.25rem;
}

.class-detail-text h3 {
  margin-bottom: var(--space-4);
}

.class-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  margin: var(--space-5) 0;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.class-detail-meta div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.class-detail-meta dt {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
}

.class-detail-meta dd {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--ink);
}

/* ---------- PRICING ---------- */
.pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-7);
}

@media (min-width: 720px) { .pricing { grid-template-columns: repeat(3, 1fr); } }

.price-card {
  padding: var(--space-7) var(--space-6);
  background: var(--cream-light);
  border: 1px solid var(--rule-soft);
  text-align: center;
  position: relative;
  transition: transform var(--med) var(--ease), border-color var(--med) var(--ease);
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--rule);
}

.price-card--featured {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.price-card--featured h3 { color: var(--cream); }
.price-card--featured .price-detail { color: var(--clay); }

.price-card .eyebrow { margin-bottom: var(--space-3); }
.price-card--featured .eyebrow { color: var(--clay); }

.price-card .price-amount {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
  margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
}

.price-card--featured .price-amount { color: var(--cream); }

.price-card .price-amount sup {
  font-size: 0.4em;
  font-style: italic;
  vertical-align: top;
  top: 1.2em;
  margin-right: 4px;
  color: var(--olive);
}

.price-card--featured .price-amount sup { color: var(--clay); }

.price-card .price-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: var(--space-3);
}

.price-card--featured .price-name { color: var(--clay); }

.price-card .price-detail {
  font-size: 0.875rem;
  color: var(--ink-warm);
  margin-bottom: 0;
  max-width: none;
}

/* ---------- INTRO OFFER FEATURE ---------- */
.intro-feature {
  background: var(--ink);
  color: var(--cream);
  padding: var(--space-8) var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.intro-feature::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(216,181,154,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.intro-feature .eyebrow { color: var(--clay); margin-bottom: var(--space-4); }

.intro-feature h2 {
  color: var(--cream);
  margin-bottom: var(--space-4);
}

.intro-feature h2 em {
  font-style: italic;
  color: var(--clay);
}

.intro-feature .lead {
  color: var(--cream);
  max-width: 32ch;
  margin: 0 auto var(--space-6);
  opacity: 0.9;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-7);
}

@media (min-width: 720px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }

.testimonial {
  padding: var(--space-6);
  border-left: 1px solid var(--rule);
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: var(--space-4);
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--clay);
  opacity: 0.7;
}

.testimonial blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: var(--space-4);
  padding-top: var(--space-4);
}

.testimonial cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive);
}

/* ---------- LOCATION / MAP ---------- */
.location {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: stretch;
}

@media (min-width: 880px) { .location { grid-template-columns: 1fr 1.2fr; gap: var(--space-7); } }

.location-text h2 { margin-bottom: var(--space-4); }
.location-text address {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: var(--space-5);
}

.parking-note {
  background: var(--cream-deep);
  border-left: 3px solid var(--olive);
  padding: var(--space-5);
  margin: var(--space-5) 0;
}

.parking-note .eyebrow {
  margin-bottom: var(--space-3);
  color: var(--ink);
}

.parking-note p {
  font-size: 0.9375rem;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.map-frame {
  position: relative;
  width: 100%;
  min-height: 400px;
  overflow: hidden;
  border: 1px solid var(--rule);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  position: absolute;
  inset: 0;
  filter: sepia(0.15) saturate(0.85);
}

/* ---------- INSTAGRAM STRIP ---------- */
.instagram-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  margin-top: var(--space-6);
}

@media (min-width: 600px) { .instagram-strip { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 980px) { .instagram-strip { grid-template-columns: repeat(6, 1fr); } }

.insta-tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream-deep);
}

.insta-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--slow) var(--ease);
}

.insta-tile:hover img { transform: scale(1.08); }

.insta-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(64,35,27,0);
  transition: background var(--med) var(--ease);
}

.insta-tile:hover::after { background: rgba(64,35,27,0.15); }

/* ---------- FORMS ---------- */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 560px;
}

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

.form-row label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.form-row input,
.form-row textarea,
.form-row select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: var(--space-3) 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  transition: border-color var(--med) var(--ease);
  border-radius: 0;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-body);
}

.form-submit {
  margin-top: var(--space-3);
  align-self: flex-start;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--ink-warm);
  margin: 0;
}

/* Success/error banners (set by submit redirect) */
.banner {
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-7);
  border-left: 3px solid;
  background: var(--cream-light);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink);
  max-width: 720px;
}
.banner strong { font-weight: 500; color: var(--ink); }
.banner--success { border-color: var(--olive); background: var(--cream-deep); }
.banner--error   { border-color: #8B4A3C; }

/* Honeypot — hidden from humans, present for bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- FAQ / DETAILS ---------- */
.faq-item {
  border-bottom: 1px solid var(--rule-soft);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-5) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  font-weight: 400;
}

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

.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--olive);
  transition: transform var(--med) var(--ease);
  flex-shrink: 0;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .faq-body {
  padding: 0 0 var(--space-5);
  color: var(--ink-warm);
}

/* ---------- PAGE HEADERS ---------- */
.page-header {
  padding: var(--space-9) 0 var(--space-7);
  text-align: center;
  position: relative;
}

.page-header .eyebrow {
  margin-bottom: var(--space-4);
}

.page-header h1 {
  margin-bottom: var(--space-4);
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.page-header h1 .script {
  display: block;
  font-size: 0.7em;
  color: var(--olive);
  margin-top: var(--space-2);
}

.page-header .lead {
  max-width: 36ch;
  margin: 0 auto;
}

/* ---------- ABOUT PAGE ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
}

@media (min-width: 880px) {
  .about-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-9);
    align-items: start;
  }
}

.about-image-stack {
  position: relative;
}

.about-image-stack img:first-child {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about-image-stack img:nth-child(2) {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 50%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border: 8px solid var(--cream);
}

@media (max-width: 880px) {
  .about-image-stack img:nth-child(2) { display: none; }
}

.about-text h2 { margin-bottom: var(--space-5); }

.about-text .lead { margin-bottom: var(--space-5); }

/* Two-column atmosphere */
.atmosphere-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-7);
}

@media (min-width: 720px) { .atmosphere-grid { grid-template-columns: repeat(2, 1fr); } }

.atmosphere-grid img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream-deep);
  padding: var(--space-9) 0 var(--space-5);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background-image: url('../images/logo-leaf.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.05;
  transform: rotate(-15deg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  margin-bottom: var(--space-7);
  position: relative;
  z-index: 2;
}

@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--space-6); } }

.footer-brand {
  max-width: 320px;
}

.footer-brand img {
  height: 50px;
  margin-bottom: var(--space-4);
  filter: brightness(0) invert(1) opacity(0.95);
}

.footer-brand p {
  font-size: 0.9375rem;
  color: var(--cream-deep);
  opacity: 0.85;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: var(--space-4);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col a {
  color: var(--cream-deep);
  font-size: 0.9375rem;
  opacity: 0.85;
}

.footer-col a:hover { opacity: 1; color: var(--cream); }

.footer-socials {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(229,219,200,0.3);
  border-radius: 50%;
  color: var(--cream);
  opacity: 0.85;
  transition: all var(--med) var(--ease);
}

.footer-socials a:hover {
  background: var(--cream);
  color: var(--ink);
  opacity: 1;
  border-color: var(--cream);
}

.footer-bottom {
  padding-top: var(--space-5);
  border-top: 1px solid rgba(229,219,200,0.15);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--cream-deep);
  opacity: 0.7;
  position: relative;
  z-index: 2;
}

.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- UTILITY ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-7 { margin-bottom: var(--space-7); }

.divider {
  border: none;
  border-top: 1px solid var(--rule);
  margin: var(--space-7) 0;
}

/* Reveal on scroll — content visible by default for no-JS / SEO,
   JS adds .reveal-init to opt in to the fade animation */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
}

.reveal-init .reveal {
  opacity: 0;
  transform: translateY(20px);
}

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

/* Print styles for studio collateral */
@media print {
  .site-header, .site-footer, .nav-mobile, .intro-band { display: none; }
  body { background: white; color: black; }
  a { color: black; text-decoration: underline; }
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 4px;
}

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