/* TereMok — base styles */
:root {
  --bg: #FAF7F2;
  --bg-2: #F2EDE4;
  --ink: #1F2421;
  --ink-2: #4A524D;
  --ink-3: #666B66; /* was #8A8F8A: 2.8:1 on --bg-2, below WCAG AA 4.5:1 */
  --line: #E4DDD0;
  --line-2: #D6CDB9;
  --sage: #7BA098;
  --sage-deep: #4F6D67;
  --terracotta: #E89B7B;
  --terracotta-deep: #C97553;
  --ochre: #C9A961;
  --cream: #FFFCF6;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Geist", "Geist Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.serif { font-family: "Instrument Serif", "Cormorant Garamond", Georgia, serif; font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; color: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .container { padding: 0 20px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 15px; font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--sage-deep); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: var(--bg-2); border-color: var(--ink); }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: var(--sage); color: var(--cream); }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* Eyebrow */
.eyebrow {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px; background: currentColor; display: inline-block;
}
.eyebrow.no-line::before { display: none; }

/* Headings */
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
.h-display { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: clamp(44px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -0.02em; overflow-wrap: break-word; word-break: normal; hyphens: manual; text-wrap: balance; }
.h-1 { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.015em; }
.h-2 { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.01em; }
.h-3 { font-family: "Geist", sans-serif; font-size: 20px; font-weight: 500; letter-spacing: -0.005em; }

.lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 60ch; }

/* Section */
section.s { padding: 120px 0; }
@media (max-width: 720px) { section.s { padding: 80px 0; } }

/* Stripe placeholders */
.stripe {
  position: relative; overflow: hidden;
  background-color: var(--bg-2);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(0,0,0,0.03) 0 14px,
    transparent 14px 28px
  );
  border-radius: var(--radius);
}
.stripe.sage { background-color: #D8E3DE; background-image: repeating-linear-gradient(135deg, rgba(79,109,103,0.12) 0 14px, transparent 14px 28px); }
.stripe.terra { background-color: #F4D3C2; background-image: repeating-linear-gradient(135deg, rgba(201,117,83,0.14) 0 14px, transparent 14px 28px); }
.stripe.ochre { background-color: #EAD9B0; background-image: repeating-linear-gradient(135deg, rgba(180,140,60,0.16) 0 14px, transparent 14px 28px); }
.stripe.cream { background-color: #F6EFE2; background-image: repeating-linear-gradient(135deg, rgba(0,0,0,0.04) 0 14px, transparent 14px 28px); }
.stripe-caption {
  position: absolute; left: 14px; top: 14px;
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  color: rgba(0,0,0,0.5);
  background: rgba(255,252,246,0.7);
  padding: 4px 8px; border-radius: 6px;
  letter-spacing: 0.02em;
}

/* Cards */
.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--line-2); }

/* Forms */
input, select, textarea {
  font-family: inherit; font-size: 15px;
  width: 100%;
  padding: 14px 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  transition: border-color .15s, background .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--sage-deep); background: white;
  box-shadow: 0 0 0 3px rgba(79, 109, 103, 0.25);
}
label { font-size: 13px; color: var(--ink-2); display: block; margin-bottom: 6px; letter-spacing: -0.005em; }
textarea { resize: vertical; min-height: 96px; font-family: inherit; }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp .6s ease-out both; }

@keyframes sway { 0%, 100% { transform: rotate(-1.2deg) translateY(0); } 50% { transform: rotate(1.2deg) translateY(-6px); } }
@keyframes swayGentle { 0%, 100% { transform: rotate(-0.6deg); } 50% { transform: rotate(0.6deg); } }
@keyframes bobble { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes peekIn { from { opacity: 0; transform: translateY(20px) rotate(-3deg); } to { opacity: 1; transform: translateY(0) rotate(0); } }

@keyframes hop { 0%, 60%, 100% { transform: translateY(0) rotate(0); } 70% { transform: translateY(-14px) rotate(-3deg); } 80% { transform: translateY(-22px) rotate(3deg); } 90% { transform: translateY(-10px) rotate(-2deg); } }
@keyframes scurry { 0% { transform: translateX(0) rotate(0); } 25% { transform: translateX(8px) rotate(2deg); } 50% { transform: translateX(0) rotate(0); } 75% { transform: translateX(8px) rotate(-2deg); } 100% { transform: translateX(0) rotate(0); } }
@keyframes peekFromSide { 0%, 100% { transform: translateX(-12px); } 50% { transform: translateX(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes wiggle { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }

.char {
  position: absolute;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 8px 18px rgba(60, 40, 20, 0.18));
  opacity: 1;
}
.char.sway { animation: sway 7s ease-in-out 1s infinite; transform-origin: bottom center; }
.char.gentle { animation: swayGentle 9s ease-in-out 1s infinite; transform-origin: bottom center; }
.char.bobble { animation: bobble 5s ease-in-out 1s infinite; }
.char.hop { animation: hop 3.5s ease-in-out 1s infinite; }
.char.scurry { animation: scurry 4s ease-in-out 1s infinite; }
.char.float { animation: floatY 6s ease-in-out 1s infinite; }
.char.wiggle { animation: wiggle 4s ease-in-out 1s infinite; transform-origin: bottom center; }

.fairytale-bg {
  position: relative;
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(196, 220, 200, 0.35), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(232, 196, 156, 0.28), transparent 60%),
    var(--bg);
}
.paper-grain::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(120, 80, 40, 0.04) 0, transparent 2px),
    radial-gradient(circle at 70% 80%, rgba(120, 80, 40, 0.04) 0, transparent 2px),
    radial-gradient(circle at 50% 50%, rgba(120, 80, 40, 0.03) 0, transparent 2px);
  background-size: 60px 60px, 80px 80px, 100px 100px;
  opacity: 0.7;
  mix-blend-mode: multiply;
}

.gen-illust img{transition:transform 1.2s cubic-bezier(.2,.7,.2,1);animation:kenburns 14s ease-in-out infinite alternate}
.illust-caption { position: absolute; left: 12px; right: 12px; bottom: 12px; width: fit-content; max-width: calc(100% - 24px); padding: 6px 10px; border-radius: 7px; font-size: 12px; line-height: 1.4; background: rgba(255,255,255,.92); }
.card:hover .gen-illust img,.gen-illust:hover img{transform:scale(1.06)}
@keyframes kenburns{from{transform:scale(1) translate(0,0)}to{transform:scale(1.05) translate(-1%,-1%)}}
@media (prefers-reduced-motion:reduce){.gen-illust img,.char{animation:none!important}}
/* Hero kids banner */
.kids-hero {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #BFE0F0;
  box-shadow: 0 30px 80px -30px rgba(40, 80, 120, 0.35), 0 8px 24px -8px rgba(40, 80, 120, 0.2);
}
.kids-hero img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  will-change: transform;
}

/* Page accent positions */
.page-stage { position: relative; overflow: hidden; }
.char-tl { top: 60px; left: -40px; }
.char-tr { top: 40px; right: -40px; }
.char-bl { bottom: 80px; left: -30px; }
.char-br { bottom: 100px; right: -40px; }

@media (max-width: 880px) {
  .char, .hide-mobile { display: none; }
}

/* Skip link: hidden until focused by keyboard */
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 14px; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

/* Header */
.hdr {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(250, 247, 242, 0.82);
  border-bottom: 1px solid var(--line);
}
.hdr-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
  gap: 32px;
}
.logo {
  display: inline-flex; align-items: baseline; gap: 12px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 30px;
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.logo-word {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}
.logo-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--terracotta-deep);
  margin: 0 2px;
  transform: translateY(-2px);
  flex: none;
}
.logo-est {
  font-family: "Geist", sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.nav-main { display: flex; gap: 28px; }
.nav-main a {
  font-size: 14px; color: var(--ink-2);
  position: relative;
  padding: 6px 0;
  transition: color .15s;
}
.nav-main a:hover, .nav-main a.active { color: var(--ink); }
.nav-main a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--ink);
}
.hdr-right { display: flex; align-items: center; gap: 16px; }

/* Lang switcher */
.lang {
  display: inline-flex; gap: 2px;
  background: var(--bg-2);
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.lang button {
  padding: 6px 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  border-radius: 999px;
  font-weight: 500;
  transition: background .15s, color .15s;
}
.lang button.active { background: var(--ink); color: var(--cream); }
.lang button:hover:not(.active) { color: var(--ink); }

/* Social inline */
.socials { display: inline-flex; gap: 8px; }
.soc {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  color: var(--ink-2);
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.soc:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: translateY(-1px); }
.soc svg { width: 16px; height: 16px; }

/* Mobile menu */
.menu-btn { display: none; }
@media (max-width: 1600px) {
  .hdr-right > .socials { display: none; }
}
@media (max-width: 1350px) {
  .nav-main, .hdr-right .socials { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 980px) {
  .nav-main, .hdr-right .socials, .hdr-right .btn { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 480px) {
  .hdr-inner { gap: 12px; }
  .hdr-right { gap: 8px; }
  .logo-est { display: none; }
}

/* Footer */
.ftr {
  background: #1F2421;
  color: #BCC2BD;
  padding: 80px 0 40px;
  margin-top: 80px;
}
.ftr a { color: #BCC2BD; transition: color .15s; overflow-wrap: anywhere; }
.ftr-grid > div { min-width: 0; }
.ftr a:hover { color: var(--cream); }
.ftr h2 { color: var(--cream); font-family: "Geist", sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500; margin-bottom: 18px; }
.ftr-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid #2D3530;
}
@media (max-width: 720px) { .ftr-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 400px) { .ftr-grid { grid-template-columns: 1fr; } }
.ftr-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 30px;
  font-size: 13px;
}
.ftr-logo { font-family: "Instrument Serif", Georgia, serif; font-size: 32px; color: var(--cream); margin-bottom: 12px; }
.ftr-soc {
  display: inline-flex; gap: 10px; margin-top: 16px;
}
.ftr-soc .soc { border-color: #2D3530; color: #BCC2BD; }
.ftr-soc .soc:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

/* Floating mobile CTA */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: none;
  align-items: center; gap: 10px;
  background: var(--ink); color: var(--cream);
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}
@media (max-width: 980px) { .fab { display: inline-flex; } }

/* Result of the booking form scrolls below the sticky header */
.booking-form { scroll-margin-top: 100px; }

/* FAB is now a <button> that opens the booking dialog */
button.fab { border: 0; cursor: pointer; font-family: inherit; }

/* Home ends with the dark Trust block: join it to the footer without a light gap */
main:has(.home-trust) + .ftr { margin-top: 0; border-top: 1px solid rgba(255,252,246,0.12); }
