/* ============================================
   SOMATIC SOUNDS — Global Stylesheet
   Minimal & clean, earth accent palette
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

/* ---- TOKENS ---- */
:root {
  --sand:       #F5F0E8;
  --sand-dark:  #EAE3D5;
  --stone:      #C8B99A;
  --stone-dark: #9E856A;
  --bark:       #5C4A35;
  --bark-deep:  #3A2E22;
  --sage:       #7A8C76;
  --sage-light: #B4C0B0;
  --white:      #FDFBF7;
  --ink:        #2A2118;
  --ink-muted:  #6B5C4A;
  --accent:     #8B6B4A;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', system-ui, sans-serif;

  --max-w: 1100px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
  --section-gap: clamp(4rem, 8vw, 8rem);

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 20px;

  --transition: 0.25s ease;
}

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

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--bark-deep);
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }

p { color: var(--ink-muted); max-width: 62ch; }

.serif { font-family: var(--font-serif); }
.italic { font-style: italic; }
.muted { color: var(--ink-muted); }
.small { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }

/* ---- LAYOUT ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: var(--section-gap) 0; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--bark);
  color: var(--sand);
  border-color: var(--bark);
}
.btn-primary:hover {
  background: var(--bark-deep);
  border-color: var(--bark-deep);
}

.btn-outline {
  background: transparent;
  color: var(--bark);
  border-color: var(--bark);
}
.btn-outline:hover {
  background: var(--bark);
  color: var(--sand);
}

.btn-light {
  background: var(--sand);
  color: var(--bark);
  border-color: var(--sand);
}
.btn-light:hover {
  background: var(--white);
  border-color: var(--white);
}

/* ---- NAV ---- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.site-nav.scrolled {
  border-bottom-color: var(--sand-dark);
  box-shadow: 0 2px 20px rgba(58, 46, 34, 0.06);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--bark-deep);
  letter-spacing: 0.02em;
}
.nav-logo span { font-style: italic; color: var(--stone-dark); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--bark); }

.nav-cta { margin-left: 1rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--bark);
  transition: all var(--transition);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    padding: 1.5rem var(--gutter);
    border-bottom: 1px solid var(--sand-dark);
    gap: 1.5rem;
  }
  .nav-cta { display: none; }
}

/* ---- PAGE TOP OFFSET ---- */
.page-body { padding-top: 72px; }

/* ---- HERO ---- */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--sand);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/2024/04/1-22-IMG_5878-scaled.jpg');
  background-size: cover;
  background-position: center 75%;
  opacity: 0.15;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero h1 .hero-accent {
  font-style: italic; color: var(--stone-dark);
}

.hero-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone-dark);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--stone);
}

.hero h1 { margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--stone-dark); }

.hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--ink-muted);
  margin-bottom: 2.5rem;
  max-width: 52ch;
}

.hero-tagline {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 300;
  color: var(--stone-dark);
  margin-top: -0.5rem;
  margin-bottom: 2rem;
  line-height: 1.3;
}
.hero-tagline em {
  font-style: italic;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--stone-dark);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: bob 2s ease-in-out infinite;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: var(--stone);
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---- SECTION HEADERS ---- */
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone-dark);
  margin-bottom: 1rem;
  display: block;
}

.section-header { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-header h2 { margin-bottom: 1rem; }

/* ---- DIVIDER ---- */
.divider {
  width: 48px;
  height: 1px;
  background: var(--stone);
  margin: 1.5rem 0;
}
.divider.center { margin: 1.5rem auto; }

/* ---- CARDS ---- */
.card {
  background: var(--white);
  border: 1px solid var(--sand-dark);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 8px 32px rgba(58, 46, 34, 0.08);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}

/* ---- IMAGE BLOCKS ---- */
.img-rounded { border-radius: var(--radius-lg); overflow: hidden; }
.img-tall { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.img-wide { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.img-square { aspect-ratio: 1; object-fit: cover; width: 100%; }

/* ---- BAND / CTA SECTION ---- */
.band {
  background: var(--bark);
  color: var(--sand);
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.band h2 { color: var(--sand); }
.band p { color: var(--sand-dark); max-width: 55ch; }
.band .divider { background: var(--stone); }

.band-dark {
  background: var(--bark-deep);
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--bark-deep);
  color: var(--stone);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .nav-logo { color: var(--sand); margin-bottom: 1rem; display: block; }
.footer-brand p { color: var(--stone); font-size: 0.9rem; max-width: 28ch; }

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  font-weight: 400;
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  color: var(--stone);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--sand); }

.footer-bottom {
  border-top: 1px solid rgba(200, 185, 154, 0.2);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--stone-dark);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---- SOCIAL ICONS ---- */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
}
.social-links a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(200, 185, 154, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--stone);
  transition: all var(--transition);
}
.social-links a:hover {
  background: var(--stone);
  color: var(--bark-deep);
  border-color: var(--stone);
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: var(--sand);
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 5vw, 5rem);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--sand-dark);
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { font-size: 1.1rem; }

/* ---- BENEFIT LIST ---- */
.benefit-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 2rem;
}
.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
}
.benefit-list li::before {
  content: '◦';
  color: var(--stone-dark);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
@media (max-width: 600px) {
  .benefit-list { grid-template-columns: 1fr; }
}

/* ---- SESSION TIMES GRID ---- */
.sessions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 700px) {
  .sessions-grid { grid-template-columns: 1fr; }
}

.session-card {
  background: var(--sand);
  border: 1px solid var(--sand-dark);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}
.session-card .time {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--bark);
  display: block;
  margin-bottom: 0.25rem;
}
.session-card .day {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-dark);
}

/* ---- QUOTE / PULLOUT ---- */
.pullquote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  color: var(--bark);
  line-height: 1.5;
  padding: 2rem 0 2rem 2.5rem;
  border-left: 3px solid var(--stone);
  max-width: 52ch;
}

/* ---- FORM ELEMENTS ---- */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--stone-dark);
}

/* ---- ANIMATIONS ---- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- UTILITY ---- */
.bg-sand { background: var(--sand); }
.bg-white { background: var(--white); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.gap-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ---- FORM EMBED (Google Form) ---- */
.form-embed iframe { width: 100%; height: 1150px; border: 0; }
@media (max-width: 600px) {
  .form-embed iframe { height: 1600px; }
}
