/* Saged.club — landing page styles
   Palette: warm clay neutrals + terracotta + sage accent
   Type: Cormorant Garamond (display) + Inter (text)
*/

:root {
  --bg: #FAF7F2;
  --bg-sand: #F1E9DA;
  --ink: #2A2520;
  --muted: #6B5F54;
  --terracotta: #B85C38;
  --sage: #6E7F5A;
  --line: #E1D6C5;
  --max: 1100px;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }
a { color: var(--terracotta); text-decoration: none; border-bottom: 1px solid currentColor; }
a:hover { color: var(--ink); }

.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.center { text-align: center; }
.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

/* ---------- top bar ---------- */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  border: none;
}
.brand img {
  height: 40px;
  width: auto;
  display: block;
}
.lang {
  display: flex;
  gap: 0.25rem;
  font-size: 0.9rem;
  align-items: center;
}
.lang a, .lang span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  line-height: 1;
}
.lang__current {
  color: var(--ink);
  font-weight: 600;
  background: var(--bg-sand);
}
.lang__alt {
  color: var(--muted);
  border: none;
  text-decoration: none;
}
.lang__alt:hover { color: var(--terracotta); background: var(--bg-sand); }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem var(--gutter) 4rem;
}
.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
  background: var(--bg-sand);
}

/* ---------- carousel ---------- */
.carousel { position: relative; }
.carousel__track {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-sand);
}
.carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}
.carousel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}
.carousel__slide img,
.carousel__slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
.carousel__dots {
  position: absolute;
  bottom: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
  padding: 0.4rem 0.6rem;
  background: rgba(42, 37, 32, 0.35);
  backdrop-filter: blur(4px);
  border-radius: 999px;
}
.carousel__dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
  min-height: 0;
}
.carousel__dots button.is-active {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.2);
}
.carousel__dots button:hover { background: rgba(255, 255, 255, 0.85); }
@media (prefers-reduced-motion: reduce) {
  .carousel__slide { transition: none; }
}
.hero__copy h1 { margin-top: 0.3em; }
.lead {
  font-size: 1.15rem;
  color: var(--ink);
  margin: 1rem 0 2rem;
  max-width: 32ch;
}
.hero__meta {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- CTA ---------- */
.cta {
  display: inline-block;
  background: var(--terracotta);
  color: var(--bg);
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 500;
  border: none;
  transition: background 0.15s ease;
}
.cta:hover { background: var(--ink); color: var(--bg); }

/* ---------- bands & layouts ---------- */
.band {
  padding: 4rem var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.band--sand {
  background: var(--bg-sand);
  max-width: none;
  margin-top: 2rem;
}
.band--sand > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.three h3 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- about ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--gutter);
  align-items: center;
  max-width: var(--max);
  margin: 4rem auto;
  padding: 0 var(--gutter);
}
.about__photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  background: var(--bg-sand);
}

/* ---------- workshop feel ---------- */
.workshop-feel {
  max-width: var(--max);
  margin: 4rem auto;
  padding: 0 var(--gutter);
}
.workshop-feel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.workshop-feel__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  background: var(--bg-sand);
}
@media (max-width: 700px) {
  .workshop-feel__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- includes list ---------- */
.includes {
  list-style: none;
  padding: 0;
  max-width: 32rem;
  margin: 2rem auto;
  columns: 2;
  column-gap: 2rem;
}
.includes li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  break-inside: avoid;
}
.includes li::before {
  content: "·";
  position: absolute;
  left: 0.4rem;
  color: var(--terracotta);
  font-size: 1.5rem;
  line-height: 1.2;
}

/* ---------- schedule ---------- */
.schedule {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem var(--gutter);
}
.schedule__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

/* ---------- testimonials ---------- */
.testimonials { padding: 4rem var(--gutter); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto;
}
.testimonial {
  margin: 0;
  padding: 2rem;
  background: var(--bg-sand);
  border-radius: 4px;
  border-left: 3px solid var(--terracotta);
}
.testimonial blockquote {
  margin: 0 0 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--ink);
}
.testimonial figcaption {
  font-size: 0.85rem;
  color: var(--muted);
}
@media (max-width: 800px) {
  .testimonial-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* ---------- Instagram embed grid ---------- */
.instagram-band { padding-bottom: 3rem; }
.ig-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 760px;
  margin: 0 auto;
}
.ig-grid blockquote.instagram-media {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
}
@media (max-width: 700px) {
  .ig-grid { grid-template-columns: 1fr; }
}

/* ---------- map embed ---------- */
.map {
  margin-top: 3rem;
  max-width: var(--max);
}
.map iframe {
  width: 100%;
  border-radius: 8px;
  display: block;
}
.map__caption {
  margin-top: 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- gallery ---------- */
.gallery {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem var(--gutter);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.gallery__item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  background: var(--bg-sand);
}

/* ---------- booking ---------- */
.book {
  max-width: 36rem;
  margin: 0 auto;
  padding: 4rem var(--gutter);
  text-align: center;
}
.book__embed {
  margin-top: 2rem;
  padding: 3rem 2rem;
  background: var(--bg-sand);
  border-radius: 4px;
}
.placeholder {
  color: var(--muted);
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* ---------- channels (multi-channel booking) ---------- */
.channels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.channel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.channel:hover {
  border-color: var(--terracotta);
  transform: translateY(-1px);
  color: var(--ink);
}
.channel__name {
  font-weight: 500;
  font-size: 0.95rem;
}
.channel__handle {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.2rem;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 600px) {
  .channels { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 40rem;
  margin: 2rem auto 0;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.2rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  color: var(--terracotta);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 0.8rem 0 0; color: var(--muted); }

/* ---------- footer ---------- */
.footer {
  max-width: var(--max);
  margin: 4rem auto 0;
  padding: 3rem var(--gutter);
  text-align: center;
  border-top: 1px solid var(--line);
}
.footer p { margin: 0.3rem 0; }

/* ---------- cookie consent ---------- */
.consent {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 28rem;
  background: var(--ink);
  color: var(--bg);
  padding: 1.2rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  font-size: 0.9rem;
  z-index: 999;
}
.consent p { margin: 0 0 1rem; }
.consent__buttons { display: flex; gap: 0.5rem; justify-content: flex-end; }
.btn-ghost, .btn-solid {
  font: inherit;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}
.btn-solid {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}

/* ---------- responsive ---------- */
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding-top: 1rem; padding-bottom: 2rem; }
  .hero__media { order: -1; }
  .hero__copy h1 { margin-top: 0.5em; }
  .about { grid-template-columns: 1fr; gap: 2rem; }
  .three { grid-template-columns: 1fr; gap: 1.5rem; }
  .schedule__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .includes { columns: 1; }
  .band { padding: 3rem var(--gutter); }
  h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
}

@media (max-width: 560px) {
  .topbar { padding: 1rem var(--gutter); }
  .brand img { height: 32px; }
  .hero { padding: 0.5rem var(--gutter) 2rem; }
  .lead { font-size: 1.05rem; }
  .schedule__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .map iframe { height: 260px; }
  .cta { width: 100%; text-align: center; }
  .testimonial { padding: 1.5rem; }
  .testimonial blockquote { font-size: 1.05rem; }
  .consent {
    left: 1rem;
    right: 1rem;
    transform: none;
    width: auto;
  }
  details summary { font-size: 0.95rem; }
  .schedule p, .footer p { font-size: 0.95rem; }
}

@media (max-width: 380px) {
  body { font-size: 16px; }
  .band { padding: 2rem var(--gutter); }
  .topbar { padding: 0.75rem var(--gutter); }
  .brand img { height: 28px; }
}

/* Tap target safety — every interactive element ≥44px (lang switch is intentionally smaller, 36px, to fit topbar) */
.cta, .channel, .btn-solid, .btn-ghost, .faq summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.faq summary { align-items: flex-start; }
