/* The Kinesis Collective ? Modern Organic Editorial */

:root {
  --butter: #E4C56A;
  --burgundy: #7A2E3E;
  --brown: #5C4033;
  --pink: #E8B4B8;
  --matcha: #8FAE7E;
  --white: #FFFFFF;
  --bg: #F8F3E8;
  --bg-deep: #F0E8D8;
  --cocoa: #3A2A22;
  --cocoa-soft: #6B5344;
  --ink: #2A1F1A;
  --line: rgba(90, 64, 51, 0.14);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", sans-serif;
  --space: clamp(1rem, 2.5vw, 2rem);
  --max: 1200px;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.65rem 1rem;
  background: var(--burgundy);
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--butter);
  outline-offset: 2px;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.journal-body p { margin-bottom: 1rem; }
.journal-body ul, .journal-body ol { margin: 0 0 1rem 1.25rem; }
.journal-body a { text-decoration: underline; text-underline-offset: 0.15em; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--cocoa);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  cursor: url("../images/cursor-logo.png") 24 24, url("../images/cursor-logo-32.png") 16 16, auto;
}

body.has-touch {
  cursor: auto;
}
body.has-touch a,
body.has-touch button,
body.has-touch input,
body.has-touch select,
body.has-touch textarea,
body.has-touch .intention-option {
  cursor: auto;
}

.admin-body,
.admin-body a,
.admin-body button,
.admin-body input,
.admin-body select,
.admin-body textarea {
  cursor: auto !important;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; cursor: url("../images/cursor-logo.png") 24 24, url("../images/cursor-logo-32.png") 16 16, pointer; }
button {
  font: inherit;
  cursor: url("../images/cursor-logo.png") 24 24, url("../images/cursor-logo-32.png") 16 16, pointer;
  border: none;
  background: none;
}
ul { list-style: none; }
input, select, textarea {
  cursor: url("../images/cursor-logo.png") 24 24, url("../images/cursor-logo-32.png") 16 16, text;
}

/* Hide legacy custom cursor elements if present */
.cursor-dot,
.cursor-ring { display: none !important; }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Typography */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cocoa-soft);
}

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  max-width: 36rem;
  color: var(--cocoa-soft);
}

/* Loop motif */
.loop-motif {
  position: absolute;
  opacity: 0.04;
  color: var(--burgundy);
  pointer-events: none;
  z-index: 0;
}
.loop-motif svg { width: 100%; height: auto; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background .4s var(--ease), backdrop-filter .4s;
}
.site-header.is-scrolled {
  background: rgba(248, 243, 232, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 max(var(--space), env(safe-area-inset-right, 0px)) 0 max(var(--space), env(safe-area-inset-left, 0px));
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  min-width: 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  min-width: 0;
  flex-shrink: 1;
}
.logo-img {
  height: var(--logo-h, 48px);
  width: auto;
  max-width: min(var(--logo-max-w, 220px), 48vw);
  max-height: calc(var(--header-h) - 0.75rem);
  object-fit: contain;
  display: block;
}
.logo-mark {
  width: var(--logo-mark-size, 36px);
  height: var(--logo-mark-size, 36px);
  color: var(--burgundy);
  animation: drift 12s ease-in-out infinite;
}
.logo-mark-img {
  width: var(--logo-mark-size, 36px);
  height: var(--logo-mark-size, 36px);
  object-fit: contain;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 1s var(--ease);
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo-word {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.nav-desktop {
  display: none;
  gap: 1.35rem;
}
.nav-desktop a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--cocoa-soft);
  position: relative;
  padding: 0.25rem 0;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--burgundy);
  transition: width .35s var(--ease);
}
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after { width: 100%; }
.nav-desktop a.is-active { color: var(--ink); }

/* Home hero: light nav before scroll for contrast on dark media */
body.page-home .site-header:not(.is-scrolled) .nav-desktop a {
  color: rgba(248, 243, 232, 0.92);
}
body.page-home .site-header:not(.is-scrolled) .nav-desktop a:hover,
body.page-home .site-header:not(.is-scrolled) .nav-desktop a.is-active {
  color: #fff;
}
body.page-home .site-header:not(.is-scrolled) .nav-desktop a::after {
  background: #F8F3E8;
}
body.page-home .site-header:not(.is-scrolled) .nav-toggle span {
  background: #F8F3E8;
}
body.page-home .site-header:not(.is-scrolled) .logo-text,
body.page-home .site-header:not(.is-scrolled) .logo-word {
  color: #F8F3E8;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-toggle {
  width: 40px; height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform .35s var(--ease);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: grid;
  place-items: center;
  animation: fadeIn .4s var(--ease);
}
.nav-overlay[hidden] { display: none; }
.nav-overlay-inner {
  text-align: center;
  padding: 2rem;
}
.nav-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cocoa-soft);
}
.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}
.nav-mobile a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 400;
}
.nav-mobile .btn { margin-top: 1.5rem; }

@media (min-width: 980px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .35s, color .35s, border-color .35s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--burgundy);
  color: var(--bg);
}
.btn-primary:hover { background: var(--ink); }
.btn-ghost {
  border-color: var(--cocoa);
  color: var(--cocoa);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--cocoa);
  color: var(--bg);
}
.btn-sm { padding: 0.65rem 1.1rem; font-size: 0.7rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: end center;
  overflow: hidden;
  color: var(--bg);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media video,
.hero-media .hero-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-fallback {
  background:
    linear-gradient(135deg, rgba(122,46,62,.55), rgba(92,64,51,.35)),
    linear-gradient(160deg, #5C4033 0%, #7A2E3E 40%, #8FAE7E 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(42,31,26,.72) 0%, rgba(42,31,26,.2) 45%, rgba(42,31,26,.35) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  padding: 0 max(var(--space), env(safe-area-inset-right, 0px)) clamp(4rem, 10vh, 7rem) max(var(--space), env(safe-area-inset-left, 0px));
  text-align: left;
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--bg);
  margin-bottom: 0.75rem;
  max-width: 12ch;
}
.hero-line {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 400;
  color: rgba(248,243,232,.88);
  margin-bottom: 2rem;
}
.hero .btn-group .btn-ghost {
  border-color: rgba(248,243,232,.55);
  color: var(--bg);
}
.hero .btn-group .btn-ghost:hover {
  background: var(--bg);
  color: var(--ink);
}
.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  right: var(--space);
  z-index: 2;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248,243,232,.65);
  writing-mode: vertical-rl;
}

/* Sections */
.section {
  position: relative;
  padding: clamp(4.5rem, 10vw, 8rem) max(var(--space), env(safe-area-inset-right, 0px)) clamp(4.5rem, 10vw, 8rem) max(var(--space), env(safe-area-inset-left, 0px));
  overflow: hidden;
}
.section-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
}
.section-head {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  max-width: 40rem;
}
.section-head h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 0.6rem 0 1rem;
}
.section-accent-pink { --accent: var(--pink); }
.section-accent-matcha { --accent: var(--matcha); }
.section-accent-burgundy { --accent: var(--burgundy); }
.section-accent-butter { --accent: var(--butter); }
.section-accent-brown { --accent: var(--brown); }

.section-accent-pink .section-head .eyebrow,
.section-accent-matcha .section-head .eyebrow,
.section-accent-burgundy .section-head .eyebrow,
.section-accent-butter .section-head .eyebrow,
.section-accent-brown .section-head .eyebrow {
  color: var(--accent);
}

/* Philosophy */
.philosophy {
  background: var(--bg-deep);
}
.philosophy-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 860px) {
  .philosophy-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.philosophy-copy p {
  margin-bottom: 1.25rem;
  color: var(--cocoa-soft);
  font-size: 1.05rem;
}
.organic-illus {
  aspect-ratio: 1;
  border-radius: 50% 42% 55% 48% / 48% 55% 42% 52%;
  background:
    radial-gradient(circle at 30% 30%, var(--pink), transparent 55%),
    radial-gradient(circle at 70% 60%, var(--matcha), transparent 50%),
    radial-gradient(circle at 40% 80%, var(--butter), transparent 45%),
    var(--bg);
  animation: morph 14s ease-in-out infinite;
  position: relative;
}
.organic-illus::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(122,46,62,.2);
  border-radius: 48% 55% 42% 52% / 55% 42% 55% 48%;
  animation: morph 18s ease-in-out infinite reverse;
}

/* Schedule */
.schedule-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.schedule-row {
  display: grid;
  gap: 0.75rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: background .35s var(--ease);
}
.schedule-row:hover { background: rgba(232,180,184,.12); }
@media (min-width: 760px) {
  .schedule-row {
    grid-template-columns: 1.2fr 1fr 0.8fr 0.7fr auto;
    gap: 1rem;
  }
}
.schedule-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
}
.schedule-meta { color: var(--cocoa-soft); font-size: 0.9rem; }
.spots {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
.spots.is-low { color: var(--burgundy); font-weight: 500; }
.spots.is-full { color: var(--cocoa-soft); opacity: .7; }
.cat-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 0.4rem;
  vertical-align: middle;
}

/* Movement categories ? large organic panels */
.categories-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .categories-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(220px, 28vw);
  }
  .cat-card:nth-child(1) { grid-column: span 3; grid-row: span 2; }
  .cat-card:nth-child(2) { grid-column: span 3; }
  .cat-card:nth-child(3) { grid-column: span 2; }
  .cat-card:nth-child(4) { grid-column: span 2; }
  .cat-card:nth-child(5) { grid-column: span 2; }
}
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 220px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  overflow: hidden;
  color: var(--ink);
  text-align: center;
  border-radius: 40% 55% 45% 50% / 50% 40% 55% 45%;
  transition: border-radius 1s var(--ease), transform .6s var(--ease);
}
.cat-card:hover {
  border-radius: 48% 42% 52% 45% / 42% 52% 42% 55%;
  transform: scale(1.015);
}
.cat-card[data-color="pink"] { background: var(--pink); }
.cat-card[data-color="matcha"] { background: var(--matcha); }
.cat-card[data-color="burgundy"] { background: var(--burgundy); color: var(--bg); }
.cat-card[data-color="butter"] { background: var(--butter); }
.cat-card[data-color="brown"] { background: var(--brown); color: var(--bg); }
.cat-card > div {
  width: 100%;
  max-width: 16ch;
  margin: 0 auto;
}
.cat-card h3 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: inherit;
  letter-spacing: 0.04em;
  text-align: center;
}
.cat-card p {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  opacity: .85;
  max-width: none;
  text-align: center;
}

/* Gallery ? Pinterest-ish masonry */
.gallery-masonry {
  columns: 1;
  column-gap: 1rem;
}
@media (min-width: 560px) { .gallery-masonry { columns: 2; } }
@media (min-width: 900px) { .gallery-masonry { columns: 3; } }
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}
.gallery-item img,
.gallery-item .gallery-ph {
  width: 100%;
  display: block;
  transition: transform 1s var(--ease);
}
.gallery-item:hover img,
.gallery-item:hover .gallery-ph { transform: scale(1.04); }
.gallery-ph {
  aspect-ratio: var(--ar, 3/4);
  background: linear-gradient(145deg, var(--ph1, var(--pink)), var(--ph2, var(--bg-deep)));
}
.gallery-caption {
  position: absolute;
  left: 0.75rem; bottom: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg);
  opacity: 0;
  transition: opacity .4s;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* Coming soon floating cards */
.coming-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .coming-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .coming-grid { grid-template-columns: repeat(4, 1fr); }
}
.coming-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border: 1px solid var(--line);
  transition: transform .6s var(--ease), box-shadow .6s;
  animation: floatY 7s ease-in-out infinite;
}
.coming-card:nth-child(2) { animation-delay: -1.5s; }
.coming-card:nth-child(3) { animation-delay: -3s; }
.coming-card:nth-child(4) { animation-delay: -4.5s; }
.coming-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(58,42,34,.08);
}
.coming-type {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 0.75rem;
}
.coming-card h3 {
  font-size: 1.55rem;
  margin-bottom: 0.75rem;
}
.coming-card p {
  font-size: 0.92rem;
  color: var(--cocoa-soft);
  margin-bottom: 1.25rem;
}

/* Shop collections */
.collections-row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .collections-row { grid-template-columns: repeat(4, 1fr); }
}
.collection-tile {
  min-height: 280px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  transition: background .45s, transform .45s var(--ease);
}
.collection-tile:nth-child(1) { background: linear-gradient(160deg, #F8F3E8, #E8B4B8); }
.collection-tile:nth-child(2) { background: linear-gradient(160deg, #F0E8D8, #E4C56A); }
.collection-tile:nth-child(3) { background: linear-gradient(160deg, #F8F3E8, #8FAE7E); }
.collection-tile:nth-child(4) { background: linear-gradient(160deg, #EDE4D6, #7A2E3E); color: var(--bg); }
.collection-tile:nth-child(4) h3,
.collection-tile:nth-child(4) p { color: var(--bg); }
.collection-tile:hover { transform: translateY(-4px); }
.collection-tile h3 {
  font-size: 1.7rem;
  color: inherit;
}
.collection-tile p {
  font-size: 0.9rem;
  opacity: .85;
  margin-top: 0.5rem;
}
.products-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 640px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
.product-card {
  display: block;
}
.product-media {
  aspect-ratio: 4/5;
  background: var(--bg-deep);
  margin-bottom: 1rem;
  overflow: hidden;
  position: relative;
}
.product-media .swatch {
  position: absolute;
  inset: 0;
  transition: transform .8s var(--ease);
}
.product-card:hover .swatch { transform: scale(1.06); }
.product-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.product-price {
  font-size: 0.9rem;
  color: var(--cocoa-soft);
  margin-top: 0.25rem;
}

/* Page hero (inner pages) */
.page-hero {
  padding: calc(var(--header-h) + 4rem) max(var(--space), env(safe-area-inset-right, 0px)) 3rem max(var(--space), env(safe-area-inset-left, 0px));
  position: relative;
  overflow: hidden;
}
.page-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  max-width: 12ch;
}
.page-hero .lede { margin-top: 1rem; }

/* Forms */
.form {
  display: grid;
  gap: 1.1rem;
  max-width: 520px;
}
.form-row { display: grid; gap: 0.4rem; }
.form-row label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cocoa-soft);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 300;
  border-radius: var(--radius);
  cursor: url("../images/cursor-logo.png") 24 24, url("../images/cursor-logo-32.png") 16 16, text;
  transition: border-color .3s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--burgundy);
}
.form-row textarea { min-height: 120px; resize: vertical; }

.intentions {
  display: grid;
  gap: 0.65rem;
}
.intention-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: url("../images/cursor-logo.png") 24 24, url("../images/cursor-logo-32.png") 16 16, pointer;
  transition: border-color .3s, background .3s;
}
.intention-option:hover,
.intention-option.is-selected {
  border-color: var(--burgundy);
  background: rgba(232,180,184,.18);
}
.intention-option input { accent-color: var(--burgundy); width: auto; }
.intention-hint {
  font-size: 0.85rem;
  color: var(--cocoa-soft);
  margin-bottom: 0.5rem;
}

.alert {
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--line);
  font-size: 0.95rem;
}
.alert-success { background: rgba(143,174,126,.2); border-color: var(--matcha); }
.alert-error { background: rgba(122,46,62,.1); border-color: var(--burgundy); }

/* Booking layout */
.book-layout {
  display: grid;
  gap: 3rem;
}
@media (min-width: 880px) {
  .book-layout { grid-template-columns: 1fr 1fr; align-items: start; }
}
.session-summary {
  background: var(--bg-deep);
  padding: 2rem;
  border: 1px solid var(--line);
}
.session-summary h2 {
  font-size: 2rem;
  margin: 0.5rem 0 1rem;
}
.session-summary dl {
  display: grid;
  gap: 0.75rem;
}
.session-summary dt {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cocoa-soft);
}
.session-summary dd { font-size: 1.05rem; margin-bottom: 0.5rem; }

/* Journal */
.journal-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 760px) { .journal-grid { grid-template-columns: 1fr 1fr; } }
.journal-card {
  display: block;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.journal-card time {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cocoa-soft);
}
.journal-card h2 {
  font-size: 2rem;
  margin: 0.5rem 0;
}
.journal-card p { color: var(--cocoa-soft); }

/* Contact / about */
.split {
  display: grid;
  gap: 3rem;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
}

/* Footer */
.site-footer {
  position: relative;
  background: var(--ink);
  color: rgba(248,243,232,.78);
  padding: clamp(3.5rem, 8vw, 5.5rem) max(var(--space), env(safe-area-inset-right, 0px)) calc(2rem + env(safe-area-inset-bottom, 0px)) max(var(--space), env(safe-area-inset-left, 0px));
  overflow: hidden;
}
.footer-motif {
  position: absolute;
  inset: auto 0 20% 0;
  opacity: .06;
  color: var(--pink);
  pointer-events: none;
}
.footer-grid {
  position: relative;
  max-width: var(--max);
  margin: 0 auto 3rem;
  display: grid;
  gap: 2rem;
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-mark {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--bg);
  margin-bottom: 0.5rem;
}
.footer-tag { font-style: italic; font-family: var(--font-display); }
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.4rem;
}
.footer-col a:hover { color: var(--bg); }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(248,243,232,.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
}
.footer-admin { opacity: .4; }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* Admin */
.admin-body { cursor: auto; background: #f5f1ea; }
.admin-body .cursor-dot,
.admin-body .cursor-ring { display: none; }
.admin-shell {
  display: grid;
  min-height: 100vh;
}
@media (min-width: 900px) {
  .admin-shell { grid-template-columns: 240px 1fr; }
}
.admin-side {
  background: var(--ink);
  color: var(--bg);
  padding: 2rem 1.25rem;
}
.admin-side a {
  display: block;
  padding: 0.55rem 0.75rem;
  color: rgba(248,243,232,.75);
  border-radius: 4px;
  margin-bottom: 0.25rem;
}
.admin-side a:hover,
.admin-side a.is-active { background: rgba(255,255,255,.08); color: var(--bg); }
.admin-main { padding: 2rem; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.9rem;
}
.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}
.admin-table th {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cocoa-soft);
}
.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}
.admin-login .card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  padding: 2.5rem;
  border: 1px solid var(--line);
}

/* Utility */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
.mt-2 { margin-top: 2rem; }
.text-center { text-align: center; }
.empty-state {
  padding: 3rem 1rem;
  text-align: center;
  color: var(--cocoa-soft);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes drift {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(8deg); }
}
@keyframes morph {
  0%, 100% { border-radius: 50% 42% 55% 48% / 48% 55% 42% 52%; }
  50% { border-radius: 42% 55% 48% 52% / 55% 42% 55% 45%; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* Hero image carousel */
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}
.hero-carousel-slide.is-active { opacity: 1; z-index: 1; }
.hero-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 7s var(--ease);
}
.hero-carousel-slide.is-active img { transform: scale(1); }
.hero.has-carousel .hero-fallback,
.hero.has-carousel .hero-slides { opacity: 0; }
.hero-carousel-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(248,243,232,.35);
  background: rgba(42,31,26,.25);
  color: #F8F3E8;
  font-size: 1.5rem;
  line-height: 1;
  backdrop-filter: blur(6px);
}
.hero-carousel-nav.prev { left: 1rem; }
.hero-carousel-nav.next { right: 1rem; }
.hero-carousel-nav:hover { background: rgba(42,31,26,.45); }
.hero-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
}
.hero-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(248,243,232,.7);
  background: transparent;
  padding: 0;
}
.hero-carousel-dot.is-active { background: #F8F3E8; }

/* Floating WhatsApp ? must stay fixed (do not override with position:relative) */
.whatsapp-float {
  position: fixed !important;
  right: max(1.15rem, env(safe-area-inset-right, 0px));
  bottom: max(1.15rem, env(safe-area-inset-bottom, 0px));
  z-index: 9500;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
  transition: transform .35s var(--ease), box-shadow .35s;
  margin: 0;
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45);
}
@media (max-width: 600px) {
  .whatsapp-float {
    right: max(0.85rem, env(safe-area-inset-right, 0px));
    bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
    width: 52px;
    height: 52px;
  }
  .hero-carousel-nav { display: none; }
}

.logo-img {
  height: var(--logo-h, 48px);
  width: auto;
  max-width: min(var(--logo-max-w, 220px), 48vw);
  max-height: calc(var(--header-h) - 0.75rem);
  object-fit: contain;
  display: block;
}
.logo-mark-img {
  width: var(--logo-mark-size, 36px);
  height: var(--logo-mark-size, 36px);
  object-fit: contain;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 1s var(--ease);
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

/* Decorative page splashes (flyer-style organic blobs) */
.site-splashes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.site-splash {
  position: absolute;
  width: var(--splash-w, 280px);
  height: auto;
  max-width: 46vw;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: multiply;
}
/* Keep content above decorative splashes without breaking fixed UI */
.hero,
main,
.site-footer {
  position: relative;
  z-index: 2;
}
.site-header {
  position: fixed;
  z-index: 100;
}
.nav-overlay {
  position: fixed;
  z-index: 200;
}

@media (max-width: 700px) {
  .site-splash {
    width: var(--splash-w-mobile, 160px);
    max-width: 42vw;
  }
}

/* Responsive spacing & layout polish */
@media (max-width: 979px) {
  .header-actions .btn {
    padding: 0.55rem 0.85rem;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 520px) {
  :root {
    --space: 1rem;
  }

  .header-actions .btn {
    display: none;
  }

  .logo-img {
    height: var(--logo-h-mobile, var(--logo-h, 38px));
    max-width: min(var(--logo-max-w, 220px), 42vw);
    max-height: calc(var(--header-h) - 0.75rem);
  }

  .logo-mark,
  .logo-mark-img {
    width: var(--logo-mark-size-mobile, 28px);
    height: var(--logo-mark-size-mobile, 28px);
  }

  .section {
    padding-top: clamp(3.25rem, 12vw, 5rem);
    padding-bottom: clamp(3.25rem, 12vw, 5rem);
  }

  .page-hero {
    padding-top: calc(var(--header-h) + 2.5rem);
    padding-bottom: 2rem;
  }

  .page-hero h1 {
    max-width: 14ch;
  }

  .hero-content {
    padding-bottom: clamp(3.5rem, 12vh, 5rem);
  }

  .hero-brand {
    max-width: 11ch;
  }

  .hero .btn-group {
    gap: 0.65rem;
  }

  .hero .btn-group .btn {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.85rem 1.1rem;
    font-size: 0.68rem;
  }

  .cat-card {
    min-height: 200px;
    padding: 1.35rem;
    border-radius: 28% 38% 32% 36% / 36% 28% 38% 32%;
  }

  .schedule-row {
    padding: 1.1rem 0;
    gap: 0.5rem;
  }

  .book-layout,
  .split,
  .philosophy-grid {
    gap: 2rem;
  }

  .session-summary {
    padding: 1.35rem;
  }

  .footer-grid {
    gap: 1.75rem;
    margin-bottom: 2rem;
  }

  .footer-bottom {
    flex-wrap: wrap;
  }

  .site-footer {
    padding-bottom: calc(2rem + 64px);
  }
}

@media (min-width: 521px) and (max-width: 759px) {
  .section {
    padding-top: clamp(3.75rem, 9vw, 6rem);
    padding-bottom: clamp(3.75rem, 9vw, 6rem);
  }

  .page-hero {
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: 2.5rem;
  }

  .site-footer {
    padding-bottom: calc(2rem + 64px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-splash { transition: none; }
}

/* Logo intro — pieces slide L/R → merge → fly into navbar */
body.has-logo-intro { overflow: hidden; }
body.has-logo-intro #navLogo {
  opacity: 0;
  visibility: hidden;
}
body.logo-intro-done { overflow: auto; }
body.logo-intro-done #navLogo {
  opacity: 1;
  visibility: visible;
  transition: opacity .35s var(--ease);
}

.logo-intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  pointer-events: none;
  opacity: 1;
  transition: opacity .5s var(--ease);
}
.logo-intro.is-fading { opacity: 0; }
.logo-intro.is-done { display: none; }

.logo-intro-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.logo-intro-stack {
  position: relative;
  width: min(300px, 72vw);
  aspect-ratio: 500 / 528;
  filter: drop-shadow(0 14px 34px rgba(58, 42, 34, 0.14));
  will-change: left, top, width, transform;
}
.logo-intro-stack.is-flying {
  position: fixed;
  z-index: 10001;
  transition:
    left 1.15s cubic-bezier(0.22, 1, 0.36, 1),
    top 1.15s cubic-bezier(0.22, 1, 0.36, 1),
    width 1.15s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.15s ease;
}

.logo-intro-piece {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
  opacity: 0;
}

/* Emblem enters from left */
.logo-intro-from-left {
  transform: translate3d(-70vw, 0, 0);
  opacity: 0;
  will-change: transform, opacity;
  transition:
    transform 1.15s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.45s ease;
}
/* Wordmark enters from right */
.logo-intro-from-right {
  transform: translate3d(70vw, 0, 0);
  opacity: 0;
  will-change: transform, opacity;
  transition:
    transform 1.15s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.45s ease;
}
.logo-intro-full {
  opacity: 0;
  transform: scale(0.97);
  will-change: opacity, transform;
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo-intro.is-enter .logo-intro-from-left,
.logo-intro.is-enter .logo-intro-from-right {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.logo-intro.is-merged .logo-intro-from-left,
.logo-intro.is-merged .logo-intro-from-right {
  opacity: 0;
  transition: opacity 0.28s ease;
}
.logo-intro.is-merged .logo-intro-full {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  body.has-logo-intro { overflow: auto; }
  body.has-logo-intro #navLogo { opacity: 1; visibility: visible; }
  .logo-intro { display: none !important; }
}
