/* Sonia Bize one-page site — visual language taken from the Squarespace original */

:root {
  --white-hsl: 0, 0%, 100%;
  --light-accent-hsl: 180, 2.56%, 92.35%;
  --accent-hsl: 191.72, 61.7%, 27.65%;
  --dark-accent-hsl: 190, 15.79%, 22.35%;
  --black-hsl: 0, 0%, 0%;

  --white: hsla(var(--white-hsl), 1);
  --light-accent: hsla(var(--light-accent-hsl), 1);
  --accent: hsla(var(--accent-hsl), 1);
  --dark-accent: hsla(var(--dark-accent-hsl), 1);
  --black: hsla(var(--black-hsl), 1);

  --heading-font: "Cormorant Garamond", "Times New Roman", serif;
  --body-font: "Lato", Helvetica, Arial, sans-serif;

  --base: 17px;
  --heading-1: 5rem;
  --heading-2: 2.2rem;
  --heading-3: 2.9rem;
  --heading-4: 1.7rem;
  --small: 0.9rem;

  --header-h: 7.25rem;
  --gutter: 4vw;
  --max: 1500px;
  --content: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  font-size: var(--base);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--body-font);
  font-weight: 400;
  font-style: normal;
  line-height: 1.6em;
  letter-spacing: 0;
  color: var(--accent);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--heading-font);
  font-weight: 500;
  font-style: normal;
  line-height: 1.3em;
  letter-spacing: 0;
  margin: 0 0 0.6em;
  color: inherit;
}
h2 { font-size: var(--heading-2); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--white);
  padding: 0.6em 1em;
  z-index: 10000;
}
.skip-link:focus { left: 0; }

/* ----- Header ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  background: var(--white);
  color: var(--accent);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.site-header.is-over-hero {
  background: transparent;
  color: var(--white);
}
.site-header.is-dark {
  background: var(--dark-accent);
  color: var(--white);
}
.site-header.is-over-hero .brand,
.site-header.is-over-hero .nav-list a,
.site-header.is-over-hero .menu-toggle,
.site-header.is-dark .brand,
.site-header.is-dark .nav-list a,
.site-header.is-dark .menu-toggle {
  color: var(--white);
}
.header-inner {
  max-width: none;
  padding: 0.85rem var(--gutter) 0.95rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.brand {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: var(--heading-3);
  line-height: 1.3em;
  text-decoration: none;
  color: var(--accent);
  text-transform: none;
  letter-spacing: 0;
}
.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 1.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  font-family: var(--body-font);
  font-size: var(--small);
  font-weight: 400;
  line-height: 1.6em;
  text-decoration: none;
  color: var(--accent);
  padding: 0.15em 0;
  position: relative;
}
.nav-list a:hover { opacity: 0.7; }
.nav-list a[aria-current="true"] {
  text-decoration: underline;
  text-underline-offset: 0.35em;
  text-decoration-thickness: 1px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
  color: inherit;
}
.menu-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 22px;
}
.menu-toggle-bars span {
  display: block;
  height: 1px;
  background: currentColor;
  width: 100%;
}

@media (max-width: 767px) {
  :root { --header-h: 4.25rem; }
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 5vw;
  }
  .brand { font-size: 1.7rem; }
  .menu-toggle { display: block; z-index: 1002; }
  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--white);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1001;
  }
  .site-header.is-over-hero .site-nav { color: var(--black); }
  body.menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
  }
  body.menu-open .menu-toggle,
  body.menu-open .brand { color: var(--accent); }
  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
  }
  .nav-list a {
    font-size: 1.15rem;
    color: var(--accent);
  }
}

/* ----- Shared sections ----- */
.section {
  position: relative;
  padding: 4.5rem var(--gutter);
}
.section-inner {
  max-width: var(--content);
  margin: 0 auto;
  width: 100%;
}
.section-narrow { max-width: 820px; }
.section--wide .section-inner { max-width: 1280px; }

.theme-dark {
  background: var(--dark-accent);
  color: var(--white);
}
.theme-dark h1, .theme-dark h2, .theme-dark h3 { color: var(--white); }
.theme-dark a { color: var(--white); text-decoration: underline; text-underline-offset: 0.15em; }

.theme-white {
  background: var(--white);
  color: var(--accent);
}
.theme-white h1, .theme-white h2, .theme-white h3 { color: var(--accent); }

.theme-white-bold {
  background: var(--white);
  color: var(--black);
}
.theme-white-bold h1, .theme-white-bold h2, .theme-white-bold h3 { color: var(--accent); }

.theme-black-bold {
  background: var(--black);
  color: var(--white);
}

/* ----- Home / hero ----- */
#home { scroll-margin-top: 0; }
.hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  padding: 0;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.15;
  pointer-events: none;
}

.intro {
  padding-top: 7rem;
  padding-bottom: 7.5rem;
}
.intro .section-inner { max-width: 1360px; }
.intro-tagline {
  text-align: center;
  font-size: clamp(1.7rem, 2.9vw, 2.45rem);
  margin: 0 auto 1.5rem;
  max-width: none;
  font-weight: 500;
}
.intro-quote {
  text-align: center;
  font-style: italic;
  margin: 0 auto 2.4rem;
  font-size: 1rem;
}
.intro-body {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1rem;
}
.intro-body p { margin-bottom: 1em; }

/* ----- About ----- */
#about { scroll-margin-top: var(--header-h); }
.about {
  padding-top: 3.5rem;
  padding-bottom: 5.5rem;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem 3.5rem;
  align-items: start;
}
.about-copy p { margin-bottom: 1.15em; }
.about-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.about-more {
  margin-top: 3rem;
  max-width: 100%;
}
.about-more p { margin-bottom: 0; }

@media (max-width: 767px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-photo { order: 1; }
  .about-copy { order: 0; }
  .about-more { order: 2; }
}

/* ----- Music ----- */
#music { scroll-margin-top: var(--header-h); }
.music-wrap {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  background: var(--white);
}
.music-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}
.embed {
  position: relative;
  width: 100%;
  background: var(--light-accent);
  border-radius: 12px;
  overflow: hidden;
  min-height: 152px;
}
.embed iframe {
  width: 100%;
  height: 152px;
  border: 0;
  border-radius: 12px;
  display: block;
  background: var(--light-accent);
}
.embed-fallback {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-top: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--accent);
  text-decoration: none;
}
.embed-fallback span {
  flex-shrink: 0;
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.embed-fallback:hover { opacity: 0.75; }
@media (max-width: 767px) {
  .music-grid { grid-template-columns: 1fr; }
}

/* ----- Gallery ----- */
#gallery { scroll-margin-top: var(--header-h); }
.gallery {
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
  background: var(--dark-accent);
  color: var(--white);
}
.gallery-masonry {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 200px;
}
.gallery-item {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  display: block;
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}
.gallery-caption {
  font-size: 0.8rem;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0.55rem 0 0;
  font-family: var(--body-font);
}


/* ----- Lessons ----- */
#lessons { scroll-margin-top: var(--header-h); }
.lessons {
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}
.lessons-art {
  max-width: 540px;
  margin: 0 auto 1.75rem;
}
.lessons-art img { width: 100%; }
.lessons-quote {
  text-align: center;
  font-weight: 700;
  max-width: 28em;
  margin: 0 auto 2.75rem;
}
.lessons-mid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  align-items: start;
  margin-bottom: 2.5rem;
}
.lessons-philosophy p { margin-bottom: 1.1em; }
.lessons-photo img { width: 100%; }
.btn {
  display: inline-block;
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.95em 1.7em;
  border: 1px solid var(--accent);
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.btn-secondary {
  background: transparent;
  color: var(--accent);
}
.btn-secondary:hover { background: hsla(var(--accent-hsl), 0.08); }
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover { opacity: 0.88; }
.lessons-cta { margin: 0 0 2.5rem; }
.lessons-details {
  max-width: 36em;
}
.lessons-details p { margin-bottom: 0.9em; }

@media (max-width: 767px) {
  .lessons-mid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .lessons-cta { order: 4; }
  .lessons-stack {
    display: flex;
    flex-direction: column;
  }
  .lessons-stack .lessons-art { order: 0; }
  .lessons-stack .lessons-quote { order: 1; }
  .lessons-stack .lessons-philosophy { order: 2; }
  .lessons-stack .lessons-details { order: 3; }
  .lessons-stack .lessons-photo { order: 4; }
  .lessons-stack .lessons-cta { order: 5; margin-top: 1.5rem; }
  /* On mobile, mid-grid becomes a fragment; use stack instead */
  .lessons-mid { display: contents; }
}

/* ----- Contact ----- */

/* ----- Store ----- */
#store { scroll-margin-top: var(--header-h); }
.store {
  text-align: center;
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}
.store-coming-soon h2 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 0.7rem;
  font-weight: 500;
}
.store-lede {
  max-width: 28em;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}
.store-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  justify-content: center;
  align-items: center;
  margin: 0;
}
.store-ask {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  font-size: 0.95rem;
}
.store-ask:hover { opacity: 0.75; }

.store-products {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.75rem;
  text-align: left;
  margin-top: 0.5rem;
}
.store-open .store-coming-soon { display: none; }
.store-open .store-products { display: grid; }
.store-closed .store-coming-soon { display: block; }
.store-closed .store-products { display: none; }

.product-card h3 {
  font-size: var(--heading-4);
  margin: 0.9rem 0 0.4rem;
  color: var(--accent);
}
.product-card p { margin-bottom: 0.7rem; }
.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.product-price {
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.product-card .btn { padding: 0.7em 1.35em; font-size: 0.95rem; }

@media (max-width: 767px) {
  .store { padding-top: 4rem; padding-bottom: 4rem; }
  .store-open .store-products,
  .store-products { grid-template-columns: 1fr; }
}

#contact { scroll-margin-top: var(--header-h); }
.contact {
  padding-top: 5rem;
  padding-bottom: 5.5rem;
  background: var(--dark-accent);
  color: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem 4rem;
  align-items: start;
}
.contact h2 {
  margin-bottom: 0.7em;
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 2.9rem);
}
.contact-intro { max-width: 22em; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-field { margin-bottom: 1rem; }
.form-legend {
  font-size: 1rem;
  margin: 0 0 0.45rem;
}
.form-field label,
.form-row label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  margin-bottom: 0.35rem;
  color: var(--white);
}
.form-field input,
.form-field textarea,
.form-row input {
  width: 100%;
  font-family: var(--body-font);
  font-size: 1rem;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: 0;
  padding: 0.7em 0.75em;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input:focus,
.form-field textarea:focus,
.form-row input:focus {
  box-shadow: 0 0 0 1px var(--white);
  border-color: var(--white);
}
.form-field textarea { min-height: 8.5rem; resize: vertical; }
.form-note {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  padding: 0.75em 1em;
  border-left: 3px solid var(--white);
}
.form-actions { margin-top: 0.4rem; }
.form-actions .btn-submit {
  display: inline-block;
  min-width: 9.5rem;
  text-align: center;
  border-radius: 999px;
  width: auto;
  padding: 0.85em 2.2em;
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}
.form-actions .btn-submit:hover { background: rgba(255,255,255,0.08); }
.form-success {
  display: none;
  padding: 1.25rem 0;
  font-size: 1.05rem;
}
.form-success.is-visible { display: block; }
.contact-form.is-hidden { display: none; }

@media (max-width: 767px) {
  .contact-grid,
  .form-row { grid-template-columns: 1fr; }
}

/* ----- Footer / socials ----- */
.site-footer {
  background: var(--white);
  color: var(--black);
  padding: 2.75rem var(--gutter) 3.25rem;
  text-align: center;
}
.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.socials a {
  color: var(--black);
  display: flex;
  width: 28px;
  height: 28px;
  transition: opacity 0.2s ease;
}
.socials a:hover { opacity: 0.65; }
.socials svg { width: 100%; height: 100%; fill: currentColor; display: block; }

/* ----- Back to top ----- */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 0;
  background: var(--accent);
  color: var(--white);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover { transform: translateY(-2px); }
.back-to-top svg { width: 18px; height: 18px; fill: currentColor; }

@media (max-width: 767px) {
  .hero { min-height: 70vh; height: 70vh; }
  .section, .intro, .about, .lessons, .contact { padding-top: 3.25rem; padding-bottom: 3.5rem; }
  .intro .section-inner { max-width: 1360px; }
.intro-tagline { font-size: 1.55rem; }
  .intro { padding-top: 4rem; padding-bottom: 4.5rem; }
}

.form-error {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-left: 3px solid #c45c5c;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.95rem;
}
.form-error[hidden] { display: none; }
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
