/* Lisbon Light Yoga — sage · sand · calm */
:root {
  --ll-sand: #EDE6D9;
  --ll-sand-deep: #D9CFBE;
  --ll-sand-soft: #F7F2E9;
  --ll-sage: #6F8A78;
  --ll-sage-deep: #4A6355;
  --ll-sage-soft: #A8BDAF;
  --ll-ink: #2A322E;
  --ll-ink-soft: #5A645E;
  --ll-cream: #FBF8F2;
  --ll-white: #FFFEFB;
  --ll-line: rgba(42, 50, 46, 0.14);
  --ll-font-display: "Cormorant", "Palatino Linotype", Georgia, serif;
  --ll-font-body: "Outfit", "Helvetica Neue", sans-serif;
  --ll-space: clamp(1rem, 3vw, 2.5rem);
  --ll-max: 1040px;
  --ll-ease: cubic-bezier(0.25, 0.8, 0.25, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--ll-font-body);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ll-ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(111, 138, 120, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(217, 207, 190, 0.55), transparent 50%),
    linear-gradient(165deg, var(--ll-cream) 0%, var(--ll-sand) 40%, var(--ll-sand-soft) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ll-sage-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.25s var(--ll-ease);
}

a:hover {
  color: var(--ll-ink);
}

h1, h2, h3, h4 {
  font-family: var(--ll-font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ll-ink);
  margin: 0 0 0.65rem;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 2.1vw, 1.55rem); }

p { margin: 0 0 1rem; }

.wrap {
  width: min(100% - 2 * var(--ll-space), var(--ll-max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 60;
  padding: 1.15rem 0;
}

.site-header.solid {
  position: relative;
  background: rgba(251, 248, 242, 0.94);
  border-bottom: 1px solid var(--ll-line);
  backdrop-filter: blur(12px);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--ll-font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 500;
  color: var(--ll-white);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-header.solid .brand {
  color: var(--ll-ink);
}

.brand:hover {
  color: var(--ll-sand-soft);
}

.site-header.solid .brand:hover {
  color: var(--ll-sage-deep);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 1.35rem;
  background: var(--ll-white);
  margin-inline: auto;
  transition: transform 0.25s var(--ll-ease), opacity 0.2s;
}

.site-header.solid .menu-toggle span {
  background: var(--ll-ink);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-main a {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 254, 251, 0.88);
}

.site-header.solid .nav-main a {
  color: var(--ll-ink-soft);
}

.nav-main a:hover {
  color: var(--ll-white);
}

.site-header.solid .nav-main a:hover {
  color: var(--ll-sage-deep);
}

.nav-main .nav-cta {
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(255, 254, 251, 0.55);
  color: var(--ll-white);
}

.site-header.solid .nav-main .nav-cta {
  border-color: var(--ll-sage);
  color: var(--ll-sage-deep);
}

.nav-main .nav-cta:hover {
  background: rgba(255, 254, 251, 0.12);
  color: var(--ll-white);
}

.site-header.solid .nav-main .nav-cta:hover {
  background: var(--ll-sage);
  color: var(--ll-white);
  border-color: var(--ll-sage);
}

@media (max-width: 820px) {
  .menu-toggle {
    display: flex;
    z-index: 70;
  }

  .nav-main {
    position: fixed;
    inset: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 5rem 1.5rem 1.5rem;
    background: rgba(42, 50, 46, 0.97);
    transform: translateY(-110%);
    transition: transform 0.35s var(--ll-ease);
    box-shadow: 0 12px 40px rgba(42, 50, 46, 0.25);
  }

  .site-header.solid .nav-main {
    background: rgba(251, 248, 242, 0.98);
  }

  .nav-main.open {
    transform: translateY(0);
  }

  .nav-main a {
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 254, 251, 0.12);
    color: var(--ll-sand-soft);
  }

  .site-header.solid .nav-main a {
    color: var(--ll-ink);
    border-bottom-color: var(--ll-line);
  }

  .nav-main .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    border-color: var(--ll-sage-soft);
  }
}

/* Hero — full bleed */
.hero {
  position: relative;
  min-height: min(100vh, 820px);
  display: flex;
  align-items: flex-end;
  padding: 0 0 clamp(3.5rem, 8vw, 5.5rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: hero-drift 22s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(42, 50, 46, 0.35) 0%, rgba(42, 50, 46, 0.15) 35%, rgba(42, 50, 46, 0.72) 100%),
    linear-gradient(90deg, rgba(74, 99, 85, 0.25), transparent 55%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  animation: rise-in 0.9s var(--ll-ease) both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-brand {
  color: var(--ll-white);
  margin-bottom: 0.85rem;
  text-shadow: 0 2px 24px rgba(42, 50, 46, 0.35);
}

.hero-line {
  color: rgba(255, 254, 251, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 28rem;
  margin-bottom: 1.6rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-family: var(--ll-font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ll-ease), color 0.25s var(--ll-ease), border-color 0.25s var(--ll-ease), transform 0.25s var(--ll-ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ll-sage);
  color: var(--ll-white);
}

.btn-primary:hover {
  background: var(--ll-sage-deep);
  color: var(--ll-white);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 254, 251, 0.65);
  color: var(--ll-white);
}

.btn-ghost:hover {
  background: rgba(255, 254, 251, 0.12);
  color: var(--ll-white);
}

.btn-outline {
  background: transparent;
  border-color: var(--ll-sage);
  color: var(--ll-sage-deep);
}

.btn-outline:hover {
  background: var(--ll-sage);
  color: var(--ll-white);
}

.btn-sand {
  background: var(--ll-sand-deep);
  color: var(--ll-ink);
}

.btn-sand:hover {
  background: var(--ll-sage-deep);
  color: var(--ll-white);
}

/* Sections */
.section {
  padding: clamp(3.25rem, 7vw, 5.5rem) 0;
}

.section-sand {
  background: rgba(237, 230, 217, 0.55);
}

.section-sage {
  background:
    linear-gradient(145deg, rgba(111, 138, 120, 0.16), rgba(217, 207, 190, 0.35));
}

.section-ink {
  background: var(--ll-ink);
  color: var(--ll-sand-soft);
}

.section-ink h2,
.section-ink h3 {
  color: var(--ll-white);
}

.section-ink a {
  color: var(--ll-sage-soft);
}

.section-head {
  max-width: 36rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.section-head p {
  color: var(--ll-ink-soft);
  margin: 0;
}

.lede {
  font-size: 1.12rem;
  color: var(--ll-ink-soft);
}

.meta-line {
  font-size: 0.92rem;
  color: var(--ll-ink-soft);
}

.note {
  font-size: 0.95rem;
  color: var(--ll-ink-soft);
}

/* Practice pillars — yogabliss-style class types */
.pillar-stack {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ll-line);
}

.pillar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 1.5rem 2.5rem;
  padding: 1.85rem 0;
  border-bottom: 1px solid var(--ll-line);
  text-decoration: none;
  color: inherit;
  transition: background 0.3s var(--ll-ease), padding-left 0.3s var(--ll-ease);
}

.pillar:hover {
  background: rgba(255, 254, 251, 0.45);
  padding-left: 0.5rem;
}

.pillar h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
}

.pillar p {
  margin: 0;
  color: var(--ll-ink-soft);
}

.pillar-tag {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ll-sage);
}

@media (max-width: 700px) {
  .pillar {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* Three ways */
.ways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.way {
  padding: 1.75rem 1.35rem;
  background: rgba(255, 254, 251, 0.55);
  border-top: 3px solid var(--ll-sage);
  transition: transform 0.35s var(--ll-ease), background 0.35s var(--ll-ease);
}

.way:hover {
  transform: translateY(-4px);
  background: var(--ll-white);
}

.way h3 {
  margin-bottom: 0.55rem;
}

.way p {
  margin: 0;
  color: var(--ll-ink-soft);
  font-size: 0.98rem;
}

.way a {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
}

@media (max-width: 800px) {
  .ways {
    grid-template-columns: 1fr;
  }
}

/* Instructor band */
.guide-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.guide-mark {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(160deg, rgba(111, 138, 120, 0.35), rgba(217, 207, 190, 0.7)),
    radial-gradient(circle at 30% 30%, rgba(255, 254, 251, 0.4), transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  min-height: 280px;
}

.guide-mark span {
  font-family: var(--ll-font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ll-ink);
  line-height: 1.1;
}

.guide-copy .cred {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ll-sage);
  margin-bottom: 0.75rem;
}

@media (max-width: 780px) {
  .guide-band {
    grid-template-columns: 1fr;
  }

  .guide-mark {
    aspect-ratio: 16 / 9;
    min-height: 180px;
  }
}

/* Quotes */
.quote-rail {
  display: grid;
  gap: 1.25rem;
}

.quote-rail blockquote {
  margin: 0;
  padding: 1.5rem 0 1.5rem 1.35rem;
  border-left: 2px solid var(--ll-sage);
  font-family: var(--ll-font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--ll-ink);
}

.quote-rail cite {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--ll-font-body);
  font-size: 0.85rem;
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ll-ink-soft);
}

/* Page hero (inner) */
.page-hero {
  padding: clamp(3rem, 7vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  background:
    linear-gradient(180deg, rgba(111, 138, 120, 0.12), transparent),
    var(--ll-sand-soft);
  border-bottom: 1px solid var(--ll-line);
}

.page-hero .hero-brand {
  color: var(--ll-ink);
  text-shadow: none;
}

.page-hero .hero-line {
  color: var(--ll-ink-soft);
  max-width: 34rem;
  margin: 0;
}

/* Class detail blocks */
.class-block {
  padding: 2rem 0;
  border-bottom: 1px solid var(--ll-line);
  scroll-margin-top: 1.5rem;
}

.class-block:first-child {
  padding-top: 0;
}

.class-meta {
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ll-sage);
  margin-bottom: 0.65rem;
}

/* Retreat list */
.retreat-list {
  display: grid;
  gap: 1.5rem;
}

.retreat-item {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  gap: 1.25rem 2rem;
  padding: 1.75rem;
  background: rgba(255, 254, 251, 0.65);
  border-left: 3px solid var(--ll-sage);
}

.retreat-item h3 {
  margin-bottom: 0.35rem;
}

.retreat-when {
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ll-sage-deep);
  margin-bottom: 0.75rem;
}

@media (max-width: 700px) {
  .retreat-item {
    grid-template-columns: 1fr;
  }
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
}

@media (max-width: 720px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 3.5rem);
}

.form-stack {
  display: grid;
  gap: 1rem;
}

.form-stack label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ll-ink-soft);
}

.form-stack input,
.form-stack select,
.form-stack textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: var(--ll-font-body);
  font-size: 1rem;
  color: var(--ll-ink);
  background: var(--ll-white);
  border: 1px solid var(--ll-line);
  border-radius: 0;
}

.form-stack input:focus,
.form-stack select:focus,
.form-stack textarea:focus {
  outline: 2px solid var(--ll-sage-soft);
  outline-offset: 1px;
}

.form-stack textarea {
  min-height: 140px;
  resize: vertical;
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  background: rgba(111, 138, 120, 0.15);
  border-left: 3px solid var(--ll-sage);
  color: var(--ll-sage-deep);
}

.form-success.show {
  display: block;
  animation: rise-in 0.45s var(--ll-ease);
}

@media (max-width: 780px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Prose legal */
.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.55rem;
}

.prose ul {
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose code {
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  background: rgba(111, 138, 120, 0.12);
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  background: var(--ll-ink);
  color: var(--ll-sand-soft);
}

.site-footer a {
  color: var(--ll-sage-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ll-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

.footer-brand {
  font-family: var(--ll-font-display);
  font-size: 1.55rem;
  color: var(--ll-white);
  margin-bottom: 0.65rem;
}

.footer-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ll-sage-soft);
  margin-bottom: 0.75rem;
}

.footer-nav {
  display: grid;
  gap: 0.45rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 254, 251, 0.12);
  font-size: 0.88rem;
}

.footer-legal {
  display: flex;
  gap: 1.1rem;
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Cookie banner */
#cookie-banner {
  display: none;
  position: fixed;
  inset: auto 1rem 1rem;
  z-index: 100;
  max-width: 420px;
  padding: 1.15rem 1.25rem;
  background: var(--ll-ink);
  color: var(--ll-sand-soft);
  box-shadow: 0 16px 48px rgba(42, 50, 46, 0.35);
}

#cookie-banner.show {
  display: block;
  animation: rise-in 0.4s var(--ll-ease);
}

#cookie-banner a {
  color: var(--ll-sage-soft);
}

#cookie-banner p {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-actions button,
#cookie-panel button {
  font-family: var(--ll-font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(255, 254, 251, 0.35);
  background: transparent;
  color: var(--ll-white);
  cursor: pointer;
}

.cookie-actions button:hover,
#cookie-panel button:hover {
  background: var(--ll-sage);
  border-color: var(--ll-sage);
}

#cookie-accept {
  background: var(--ll-sage);
  border-color: var(--ll-sage);
}

#cookie-panel {
  display: none;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 254, 251, 0.15);
}

#cookie-panel.open {
  display: grid;
  gap: 0.5rem;
}

#cookie-panel label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
}

/* Motion reveals */
.reveal {
  animation: rise-in 0.8s var(--ll-ease) both;
}

.reveal-late {
  animation: rise-in 0.9s var(--ll-ease) 0.15s both;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-bg img {
    animation: none;
  }
}
