/* ============================================
   Little Kin Café — Stylesheet
   ============================================ */

:root {
  --sage: #4F5B3E;
  --sage-light: #A9B08A;
  --taupe: #A17D4A;
  --cream: #F7F3EE;
  --warm-white: #FCFAF7;
  --border: #DDD2C3;
  --ink: #3A362E;

  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1180px;
  --radius-lg: 32px;
  --radius-md: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 500; margin: 0; line-height: 1.15; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.cream { background: var(--cream); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--sage);
  color: var(--warm-white);
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--sage);
  color: var(--warm-white);
  box-shadow: 0 8px 20px rgba(79, 91, 62, 0.25);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: #445034;
  box-shadow: 0 12px 26px rgba(79, 91, 62, 0.32);
}

.btn-outline {
  background: transparent;
  border-color: var(--sage);
  color: var(--sage);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--sage);
  color: var(--warm-white);
}

.btn-small { padding: 10px 22px; font-size: 0.75rem; }
.btn-full { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(252, 250, 247, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  padding: 10px 0;
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img { height: 52px; width: auto; transition: height 0.4s var(--ease); }
.site-header.scrolled .logo img { height: 42px; }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 36px;
}
.nav-desktop a:not(.btn) {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}
.nav-desktop a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--sage);
  transition: right 0.3s var(--ease);
}
.nav-desktop a:not(.btn):hover::after,
.nav-desktop a:not(.btn):focus-visible::after { right: 0; }

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: rgba(252,250,247,0.85);
  border: 1px solid var(--border);
  border-radius: 50%;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--sage);
  margin: 0 auto;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(58, 54, 46, 0.4);
  z-index: 150;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.drawer-backdrop.visible { opacity: 1; }

.mobile-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(320px, 82vw);
  background: var(--warm-white);
  z-index: 200;
  padding: 90px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  box-shadow: -10px 0 40px rgba(0,0,0,0.12);
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer a:not(.btn) {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--ink);
}
.drawer-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--sage);
}

/* ---------- Botanicals ---------- */
.botanical {
  position: absolute;
  pointer-events: none;
  opacity: 0.22;
  mix-blend-mode: multiply;
  z-index: 2;
  user-select: none;
}
.botanical--hero-corner {
  bottom: -20px;
  left: -10px;
  width: 140px;
  z-index: 4;
  opacity: 0.55;
}
.botanical--vision {
  top: 60px;
  right: -20px;
  width: 160px;
}
.botanical--play {
  top: 40px;
  right: 0;
  width: 150px;
}

@keyframes floaty {
  0%   { transform: translate(0, 0) rotate(0deg); }
  50%  { transform: translate(6px, -14px) rotate(2deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
.float-slow { animation: floaty 14s ease-in-out infinite; }
.float-medium { animation: floaty 12s ease-in-out infinite; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(247, 243, 238, 0.96) 0%,
    rgba(247, 243, 238, 0.88) 22%,
    rgba(247, 243, 238, 0.55) 42%,
    rgba(247, 243, 238, 0.12) 62%,
    rgba(247, 243, 238, 0) 78%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 560px;
  margin: 0 24px;
  padding: 32px;
}
.hero-content.glass {
  border-radius: var(--radius-lg);
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 14px;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  color: var(--ink);
  margin-bottom: 22px;
}
.hero h1 em { color: var(--sage); font-style: italic; }

.heart-icon {
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  background-color: currentColor;
  vertical-align: -0.05em;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 29'%3E%3Cpath d='M16 29 2.6 16.6C-2 12.3-.6 4.8 5.4 2.2 9 .6 13 1.7 16 5c3-3.3 7-4.4 10.6-2.8 6 2.6 7.4 10.1 2.8 14.4L16 29Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 29'%3E%3Cpath d='M16 29 2.6 16.6C-2 12.3-.6 4.8 5.4 2.2 9 .6 13 1.7 16 5c3-3.3 7-4.4 10.6-2.8 6 2.6 7.4 10.1 2.8 14.4L16 29Z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sage);
  color: var(--warm-white);
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

/* ---------- Glass panels ---------- */
.glass {
  background: rgba(252, 250, 247, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 60px rgba(58, 54, 46, 0.12);
}

/* ---------- Sections shared ---------- */
section { position: relative; }
.vision, .experience, .play { padding: 100px 0; overflow: hidden; }

.heart-divider {
  color: var(--taupe);
  font-size: 0.9rem;
  margin: 0 0 18px;
}
.heart-divider--left { text-align: left; }

.vision .container { text-align: center; max-width: 720px; }
.vision h2, .opening-banner h2, .waitlist h2, .experience h2, .play h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 18px;
}
.vision .lede {
  color: #6b6557;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

.feature-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 20px;
}
.feature-card {
  padding: 28px 12px;
  border-radius: var(--radius-md);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.feature-card:hover {
  transform: translateY(-8px);
  background: var(--warm-white);
  box-shadow: 0 20px 40px rgba(79, 91, 62, 0.12);
}
.feature-icon {
  width: 44px; height: 44px;
  color: var(--sage);
  margin: 0 auto 16px;
}
.feature-card h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--ink);
}

/* ---------- Split sections (Experience / Play) ---------- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.split-grid--reverse .split-media { order: -1; }

.split-text .eyebrow { margin-bottom: 6px; }
.split-text h2 { margin-bottom: 20px; }
.split-text p { color: #6b6557; line-height: 1.75; margin-bottom: 28px; font-size: 1rem; }

.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(58, 54, 46, 0.14);
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.7s var(--ease);
}
.split-media:hover img { transform: scale(1.06); }

.split-media--rounded-right { border-radius: 12px var(--radius-lg) var(--radius-lg) 12px; }

.bullet-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}
.bullet-cards li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 0.92rem;
  color: var(--ink);
}
.bullet-cards li::before {
  content: '';
  flex-shrink: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage-light);
}

/* ---------- Opening banner ---------- */
.opening-banner {
  background: var(--sage);
  color: var(--warm-white);
  padding: 90px 0;
  text-align: center;
  overflow: hidden;
}
.opening-banner h2 { color: var(--warm-white); margin-bottom: 16px; }
.opening-banner p {
  color: rgba(252, 250, 247, 0.85);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto;
}
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
  color: rgba(252, 250, 247, 0.7);
}
.divider-line { width: 60px; height: 1px; background: rgba(252, 250, 247, 0.35); }

/* ---------- Waitlist ---------- */
.waitlist { padding: 100px 0; }
.waitlist-card {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--warm-white);
}
.waitlist-media { position: relative; min-height: 240px; }
.waitlist-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.waitlist-card:hover .waitlist-media img { transform: scale(1.05); }

.waitlist-form-wrap { padding: 44px 32px; }
.waitlist-form-wrap .eyebrow { margin-bottom: 6px; }
.waitlist-form-wrap h2 { margin-bottom: 14px; }
.waitlist-form-wrap > p:not(.eyebrow):not(.reassurance) {
  color: #6b6557;
  line-height: 1.7;
  margin-bottom: 28px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.form-row input {
  width: 100%;
  padding: 15px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.form-row input::placeholder { color: #9a9282; }
.form-row input:focus-visible {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(79, 91, 62, 0.15);
}

.form-status {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--sage);
  min-height: 1.2em;
}
.form-status.error { color: #a14a3c; }

.reassurance {
  margin-top: 18px;
  font-size: 0.82rem;
  color: #8a8272;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--cream); padding-top: 70px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border);
}
.footer-col img { height: 60px; width: auto; }
.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-col p { margin-bottom: 8px; color: #6b6557; font-size: 0.92rem; }
.footer-col a:hover { color: var(--sage); text-decoration: underline; }

.footer-strip {
  background: var(--sage);
  color: var(--warm-white);
  text-align: center;
  padding: 20px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================
   Tablet / Desktop
   ============================================ */
@media (min-width: 700px) {
  .feature-grid { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .waitlist-card { grid-template-columns: 0.85fr 1.15fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .hamburger { display: none; }

  .split-grid { grid-template-columns: 1fr 1fr; gap: 70px; }
  .hero-content { margin-left: 6vw; padding: 48px; }
}

@media (min-width: 1100px) {
  .hero h1 { font-size: clamp(2.8rem, 5.2vw, 4.2rem); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .btn, .hamburger span, .mobile-drawer, .split-media img,
  .waitlist-media img, .feature-card, .site-header {
    transition: none !important;
  }
  .float-slow, .float-medium { animation: none !important; }
  .hero-media img { transform: none !important; }
}
