/* Indoor Play Session Planner — landing. Oat paper, slate ink, teal, mustard and the four block colours. */
@font-face { font-family: "Lora"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/lora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/lora-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Quicksand"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/quicksand-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Quicksand"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/quicksand-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Quicksand"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/quicksand-latin-700-normal.woff2") format("woff2"); }

:root {
  --oat: #f5f0e8;
  --oat-deep: #ece5d9;
  --card: #fff;
  --ink: #23303a;
  --soft: #56626c;
  --line: #ddd5c7;
  --teal: #1f6f6b;
  --teal-dark: #165652;
  --teal-tint: #dcede9;
  --sun: #f2b441;
  --sun-tint: #fcefd2;
  --active: #e0664f;
  --calm: #4f8fbf;
  --creative: #e7a92f;
  --sensory: #8c6bb1;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Quicksand", "Trebuchet MS", system-ui, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--oat); color: var(--ink); font-family: var(--sans); font-weight: 500; font-size: 1.0625rem; line-height: 1.6; overflow-wrap: anywhere; hyphens: auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.18; margin: 0 0 0.5em; overflow-wrap: anywhere; hyphens: auto; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 16px; }
.kicker { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 0.6em; }

/* Header */
.top { border-bottom: 1px solid var(--line); background: var(--oat); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.nav ul { list-style: none; display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; }
.nav a:hover { background: var(--oat-deep); }
.nav a[aria-current="page"] { background: var(--teal-tint); color: var(--teal-dark); }

/* Hero */
.hero { padding: 56px 0 24px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); letter-spacing: -0.01em; }
.lead { font-size: 1.2rem; color: var(--soft); max-width: 36em; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.facts li { padding: 6px 12px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: 0.95rem; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.text-link { font-weight: 700; }
.hero-shot { margin: 0; justify-self: center; position: relative; width: min(360px, 100%); }
.hero-shot::before { content: ""; position: absolute; inset: 40px -28px -18px 34px; background: var(--active); border-radius: 36px; }
.shot { position: relative; border-radius: 28px; border: 3px solid var(--line); background: var(--card); width: 100%; }

/* Store button */
.store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 8px 20px; border-radius: 14px; background: var(--ink); color: #fff; text-decoration: none; line-height: 1.2; }
.store:hover { color: #fff; background: #000; }
.store-small { font-size: 0.78rem; font-weight: 600; opacity: 0.85; }
.store-big { font-size: 1.08rem; font-weight: 700; }
.store-soon { background: var(--card); color: var(--ink); border: 2px dashed var(--soft); cursor: default; }

/* Example plan */
.plan { margin: 56px 0 0; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; }
.plan-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 16px; }
.plan-label { font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); }
.plan-title { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; }
.plan-meta { color: var(--soft); font-weight: 600; }
.blocks { list-style: none; display: flex; gap: 6px; }
.block { flex: var(--m) 1 0; min-width: 0; border-radius: 14px; padding: 12px 12px 14px; color: #fff; display: flex; flex-direction: column; gap: 2px; min-height: 118px; }
.block-time { font-weight: 700; font-size: 0.85rem; opacity: 0.92; }
.block-name { font-family: var(--serif); font-weight: 700; font-size: 1.02rem; line-height: 1.2; }
.block-min { margin-top: auto; font-weight: 700; font-size: 0.85rem; }
.e-active { --c: var(--active); }
.e-calm { --c: var(--calm); }
.e-creative { --c: var(--creative); }
.e-sensory { --c: var(--sensory); }
.block.e-active { background: #b9472f; }
.block.e-calm { background: #2f6a96; }
.block.e-creative { background: #8a5f00; }
.block.e-sensory { background: #654790; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; color: var(--soft); font-weight: 600; font-size: 0.95rem; }
.legend li::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 4px; background: var(--c); margin-right: 6px; vertical-align: -1px; }

/* Sections */
section { scroll-margin-top: 16px; }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.section-lead { color: var(--soft); max-width: 40em; font-size: 1.1rem; }
.how { padding: 88px 0 40px; }
.steps { list-style: none; display: grid; gap: 72px; margin-top: 40px; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 56px; align-items: center; }
.step-flip .step-text { order: 2; }
.step-n { font-family: var(--serif); font-weight: 700; font-size: 4.4rem; line-height: 1; color: var(--sun); margin: 0 0 8px; }
.step h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.step-shot { margin: 0; position: relative; width: min(320px, 100%); justify-self: center; }
.step-shot::before { content: ""; position: absolute; inset: 30px -20px -14px 26px; border-radius: 30px; background: var(--calm); }
.step:nth-child(2) .step-shot::before { background: var(--creative); }
.step:nth-child(3) .step-shot::before { background: var(--sensory); }
.step:nth-child(4) .step-shot::before { background: var(--active); }
.ticks { list-style: none; display: grid; gap: 8px; margin-top: 4px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 18px; height: 12px; border-radius: 4px; background: var(--teal); }
.ticks-big li { font-size: 1.1rem; padding: 14px 16px 14px 46px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.ticks-big li::before { left: 16px; top: 1.15em; }

.ages { padding: 64px 0; background: var(--oat-deep); }
.age-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.age { background: var(--card); border-radius: 18px; padding: 20px; border-top: 8px solid var(--c, var(--teal)); }
.age:nth-child(1) { --c: var(--sensory); }
.age:nth-child(2) { --c: var(--active); }
.age:nth-child(3) { --c: var(--creative); }
.age:nth-child(4) { --c: var(--calm); }
.age-label { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); margin-bottom: 4px; }
.age-count { font-family: var(--serif); font-weight: 700; font-size: 2.4rem; line-height: 1.1; margin-bottom: 8px; }
.age-count span { font-family: var(--sans); font-size: 1rem; color: var(--soft); }
.age-ex { margin: 0; color: var(--ink); font-weight: 600; }

.gallery { padding: 80px 0 40px; }
.shots { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); justify-content: center; gap: 32px; margin-top: 28px; }
.shots figure { margin: 0; }
.shots figcaption { margin-top: 10px; font-weight: 700; text-align: center; }

.grownups { padding: 64px 0; }
.grown-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.note { padding: 14px 16px; border-radius: 14px; background: var(--sun-tint); font-weight: 600; }

.faq { padding: 40px 0 72px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-family: var(--sans); font-size: 1.6rem; color: var(--teal); }
details[open] summary::after { content: "–"; }
details p { color: var(--soft); }
.more { margin-top: 20px; font-weight: 600; }

.band { background: var(--teal); color: #fff; padding: 48px 0; }
.band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.band h2 { margin-bottom: 6px; }
.band p { margin: 0; }
.band a { color: #fff; }
.band .store-soon { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }

/* Pages */
.page { padding: 48px 0 72px; }
.legal h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal .lead { color: var(--soft); }
.small { font-size: 0.92rem; color: var(--soft); }
.steps-list { padding-left: 1.4em; display: grid; gap: 8px; margin-bottom: 1.5em; }
.qa h3 { font-family: var(--sans); font-size: 1.08rem; margin: 1.2em 0 0.3em; }
.contact-box { padding: 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); margin-top: 2em; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.foot-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.foot-name { font-family: var(--serif); font-weight: 700; margin: 0; }
.foot-small { margin: 0; color: var(--soft); font-size: 0.92rem; }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-links a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; }

@media (max-width: 900px) {
  .hero-grid, .step, .grown-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .step-flip .step-text { order: 0; }
  .hero-shot { width: min(300px, 78%); }
  .step-shot { width: min(300px, 76%); }
  .blocks { flex-wrap: wrap; }
  .block { flex: 1 1 140px; min-height: 96px; }
  .age-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shots { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(200px, 62vw); overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
  .shots li { scroll-snap-align: start; }
}

@media (max-width: 520px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 32px; }
  .plan { padding: 16px; }
  .block { flex-basis: 120px; }
  .age-grid { grid-template-columns: minmax(0, 1fr); }
  .nav a { padding: 0 8px; }
  .steps { gap: 56px; }
  .step-n { font-size: 3.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
