/* Pip: a website for nurseries and pre-schools.
   YOUR COLOURS: change the six lines below and the whole site follows.
   --leaf is your main colour (header button, footer, headings in colour). --sun is your bright accent. */
:root {
  --leaf: #1e5a4b;
  --leaf-ink: #f6f7f1;      /* text on top of --leaf */
  --sun: #ffb84d;
  --sun-ink: #2b1c03;       /* text on top of --sun */
  --paper: #f4f6f0;         /* page background */
  --ink: #17302a;           /* text */

  /* Soft colours for rooms, cards and doodles */
  --blush: #ffd9cd;
  --butter: #ffe9a6;
  --sky: #cfe6f5;
  --lilac: #e3dcfb;
  --mint: #cfecd9;

  --card: #ffffff;
  --muted: #536760;
  --line: #dde4da;
  --display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;
  /* Shape rule: cards and photographs use --r, buttons and chips are pills, portraits are pebbles. */
  --r: 28px;
  --shadow: 0 24px 50px -28px rgb(23 48 42 / 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; padding: 0; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.no-scroll { overflow: hidden; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 7.4vw, 6.2rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); }
h3 { font-size: 1.4rem; letter-spacing: -0.02em; line-height: 1.15; }
h1 em, h2 em { font-style: normal; color: var(--leaf); position: relative; white-space: nowrap; }
p { text-wrap: pretty; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--muted); max-width: 34rem; }
.note { font-family: var(--hand); font-size: 1.5rem; line-height: 1.1; color: var(--leaf); }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.9rem; font-weight: 600; }
.eyebrow::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--sun); }
.text-link { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--sun); }
.text-link:hover { text-decoration-color: var(--leaf); }
.i { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.7rem 1rem; background: var(--leaf); color: var(--leaf-ink); border-radius: 999px; }
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2.5rem, 1240px); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, 8rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section__head { display: grid; gap: 1.2rem; max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section__head--centre { margin-inline: auto; text-align: center; justify-items: center; }
.tint { background: var(--card); border-radius: clamp(28px, 5vw, 64px); }

/* The squiggle under a word in a heading */
.squiggle { position: absolute; left: -2%; right: -2%; bottom: -0.16em; width: 104%; height: 0.32em; overflow: visible; pointer-events: none; }
.squiggle path { fill: none; stroke: var(--sun); stroke-width: 7; stroke-linecap: round; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.7rem; padding: 0.5rem 0.5rem 0.5rem 1.4rem; border-radius: 999px; background: var(--leaf); color: var(--leaf-ink); font-weight: 600; line-height: 1.2; white-space: nowrap; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.btn__icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--sun); color: var(--sun-ink); transition: transform 0.5s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:hover .btn__icon { transform: rotate(45deg) scale(1.06); }
.btn:active { transform: scale(0.97); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost .btn__icon { background: var(--ink); color: var(--paper); }
.btn--sun { background: var(--sun); color: var(--sun-ink); }
.btn--sun .btn__icon { background: var(--sun-ink); color: var(--sun); }
.btn--small { padding: 0.3rem 0.3rem 0.3rem 1.1rem; font-size: 0.95rem; }
.btn--small .btn__icon { width: 2.1rem; height: 2.1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.more { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; border-bottom: 2px solid var(--sun); padding-bottom: 0.1rem; }
.more .i { transition: transform 0.4s var(--ease); }
.more:hover .i { transform: translateX(4px); }
.chip { display: inline-block; padding: 0.2rem 0.7rem; border-radius: 999px; background: var(--butter); font-size: 0.82rem; font-weight: 600; }
.tag { display: inline-grid; place-items: center; min-width: 1.9rem; padding: 0.1rem 0.4rem; border-radius: 999px; background: var(--mint); font-size: 0.72rem; font-weight: 700; text-decoration: none; letter-spacing: 0.02em; }

/* Notice strip and header */
.notice { background: var(--leaf); color: var(--leaf-ink); text-align: center; font-size: 0.95rem; font-weight: 500; }
.notice a { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1rem; }
.top { position: sticky; top: 0; z-index: 40; padding-block: 0.9rem; transition: transform 0.5s var(--ease); }
.top.is-hidden { transform: translateY(-110%); }
.top__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.55rem 0.55rem 0.55rem 1.2rem; border-radius: 999px; background: rgb(255 255 255 / 0.82); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.4s; }
.top.is-stuck .top__bar { box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1; }
.brand svg { width: 2.3rem; height: 2.3rem; flex: none; }
.brand small { display: block; font: 500 0.72rem/1.2 var(--body); letter-spacing: 0; color: var(--muted); margin-top: 0.15rem; }
.top__nav { display: flex; align-items: center; gap: 0.2rem; }
.top__nav a:not(.btn) { padding: 0.5rem 0.85rem; border-radius: 999px; font-weight: 500; font-size: 0.98rem; transition: background 0.3s; }
.top__nav a:not(.btn):hover { background: var(--butter); }
.top__nav a[aria-current="page"]:not(.btn) { background: var(--mint); }
.top__nav .btn { margin-left: 0.5rem; }
.top__toggle { display: none; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--leaf); color: var(--leaf-ink); place-items: center; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3rem, 7vw, 6rem); }
.hero__text { display: grid; gap: 1.6rem; justify-items: start; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; margin-top: 0.6rem; font-size: 0.95rem; color: var(--muted); }
.hero__facts li { display: flex; align-items: center; gap: 0.45rem; }
.hero__facts .i { color: var(--leaf); }
.hero__art { position: relative; }
.hero__photo { aspect-ratio: 5 / 5.6; width: 100%; object-fit: cover; }
.hero__small { position: absolute; left: -9%; bottom: 4%; width: 38%; aspect-ratio: 1; object-fit: cover; border: 8px solid var(--paper); }
.hero__card { position: absolute; right: -3%; top: 9%; display: grid; gap: 0.15rem; padding: 1rem 1.2rem; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); max-width: 15rem; font-size: 0.95rem; rotate: 3deg; }
.hero__card .note { font-size: 1.35rem; }
.sticker { position: absolute; right: 4%; bottom: -4%; width: clamp(6.5rem, 11vw, 9rem); aspect-ratio: 1; }
.sticker svg { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.sticker text { font: 600 13.5px var(--body); letter-spacing: 0.14em; text-transform: uppercase; fill: var(--sun-ink); }
.sticker__face { position: absolute; inset: 27%; display: grid; place-items: center; border-radius: 50%; background: var(--leaf); color: var(--leaf-ink); }
.sticker__face .i { width: 55%; height: 55%; }
@keyframes spin { to { rotate: 360deg; } }

/* Pebble shapes for photographs */
.blob { border-radius: 58% 42% 47% 53% / 52% 46% 54% 48%; object-fit: cover; }
.blob--1 { border-radius: 58% 42% 47% 53% / 52% 46% 54% 48%; }
.blob--2 { border-radius: 44% 56% 52% 48% / 58% 44% 56% 42%; }
.blob--3 { border-radius: 52% 48% 40% 60% / 46% 58% 42% 54%; }
.arch { border-radius: 999px 999px var(--r) var(--r); object-fit: cover; }
.round { border-radius: var(--r); object-fit: cover; }

/* Doodles: small drawings that sit around the page. They are decoration and hidden from screen readers. */
.doodle { position: absolute; pointer-events: none; z-index: 1; }
.doodle path, .doodle circle { vector-effect: non-scaling-stroke; }
.d-sun { color: var(--sun); } .d-leaf { color: var(--leaf); } .d-blush { color: #f39a80; } .d-sky { color: #7cb8dc; } .d-lilac { color: #a996ec; }

/* Words that scroll past */
.marquee { overflow: hidden; padding-block: 1.3rem; background: var(--leaf); color: var(--leaf-ink); rotate: -1.2deg; margin-inline: -1rem; }
.marquee__track { display: flex; width: max-content; gap: 2.5rem; animation: slide 38s linear infinite; font: 500 clamp(1.3rem, 2.4vw, 2rem)/1 var(--display); letter-spacing: -0.02em; white-space: nowrap; }
.marquee__track span { display: inline-flex; align-items: center; gap: 2.5rem; }
.marquee__track span::after { content: ""; width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--sun); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Rooms */
.rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.room { position: relative; display: grid; gap: 1rem; align-content: start; padding: 1.2rem 1.2rem 1.6rem; border-radius: var(--r); background: var(--blush); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.room:nth-child(2) { background: var(--butter); translate: 0 2.2rem; }
.room:nth-child(3) { background: var(--sky); }
.room:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow); }
.room:nth-child(2):hover { transform: translateY(-8px) rotate(1deg); }
.room img { width: 100%; aspect-ratio: 4 / 3.4; border-radius: 20px; object-fit: cover; }
.room__who { font-family: var(--hand); font-size: 1.6rem; line-height: 1; }
.room h3 { font-size: 1.9rem; }
.room__facts { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.room__facts li { padding: 0.25rem 0.7rem; border-radius: 999px; background: rgb(255 255 255 / 0.7); font-size: 0.86rem; font-weight: 600; }
.room .more { justify-self: start; }

/* Two columns: words beside a picture */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--flip > :first-child { order: 2; }
.split__text { display: grid; gap: 1.3rem; justify-items: start; }
.split__art { position: relative; }
.split__art img { width: 100%; aspect-ratio: 1 / 1.05; }
.ticks { display: grid; gap: 0.7rem; }
.ticks li { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; }
.ticks .i { margin-top: 0.2rem; padding: 0.2rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--mint); color: var(--leaf); }

/* Numbers */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.stat { padding: 1.6rem 1.4rem; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.stat:nth-child(1) { background: var(--mint); box-shadow: none; } .stat:nth-child(3) { background: var(--lilac); box-shadow: none; }
.stat b { display: block; font: 500 clamp(2.6rem, 5vw, 4rem)/1 var(--display); letter-spacing: -0.02em; }
.stat span { display: block; margin-top: 0.5rem; color: var(--muted); font-size: 0.98rem; line-height: 1.4; }

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.card { display: grid; gap: 0.7rem; align-content: start; padding: 1.8rem; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.card__icon { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--butter); margin-bottom: 0.4rem; }
.card:nth-child(3n + 2) .card__icon { background: var(--blush); } .card:nth-child(3n) .card__icon { background: var(--sky); }
.card__icon .i { width: 1.6rem; height: 1.6rem; }
.card p { color: var(--muted); }

/* Our day: the list, and the sky beside it */
.day { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.sky { position: sticky; top: 6.5rem; aspect-ratio: 1 / 1.08; border-radius: var(--r); overflow: hidden; background: linear-gradient(#bfe0f5, #eaf6fb 70%); --dawn: 0; --dusk: 0; isolation: isolate; }
.sky::before, .sky::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.sky::before { background: linear-gradient(#ffd3b8, #fff1d6 75%); opacity: var(--dawn); }
.sky::after { background: linear-gradient(#b9a8ee, #ffc9a3 78%); opacity: var(--dusk); }
.sky__sun { position: absolute; left: 50%; bottom: 68%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 14px rgb(255 184 77 / 0.25), 0 0 0 34px rgb(255 184 77 / 0.12); translate: -50% 50%; }
.sky__clock { position: absolute; left: 1.2rem; top: 1rem; font: 500 clamp(2.4rem, 5vw, 4rem)/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.sky__hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; }
.sky__cloud { position: absolute; width: 26%; color: #fff; opacity: 0.9; animation: drift 26s ease-in-out infinite alternate; }
.sky__cloud:nth-of-type(1) { left: 8%; top: 30%; } .sky__cloud:nth-of-type(2) { right: 6%; top: 16%; width: 20%; animation-duration: 34s; }
@keyframes drift { to { translate: 2.5rem 0; } }
.steps { display: grid; gap: 0.8rem; }
.step { display: grid; grid-template-columns: 4.2rem auto 1fr; gap: 1rem; align-items: start; padding: 1.3rem 1.4rem; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: background 0.5s, box-shadow 0.5s, transform 0.5s var(--ease); }
.step__time { font: 500 1.25rem/1.5 var(--display); font-variant-numeric: tabular-nums; }
.step__icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--mint); transition: background 0.5s; }
.step h3 { margin-bottom: 0.3rem; }
.step p { color: var(--muted); }
.step.is-now { background: var(--butter); box-shadow: var(--shadow); transform: translateX(0.5rem); }
.step.is-now .step__icon { background: var(--sun); }

/* Tabs and this week's menu */
.tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.2rem; }
.tabs button { padding: 0.55rem 1.1rem; border-radius: 999px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); background: var(--card); transition: background 0.3s, color 0.3s; }
.tabs button[aria-selected="true"] { background: var(--leaf); color: var(--leaf-ink); box-shadow: none; }
.menu__panel dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.menu__panel dl > div { padding: 1.5rem; border-radius: 22px; background: var(--blush); }
.menu__panel dl > div:nth-child(2) { background: var(--butter); } .menu__panel dl > div:nth-child(3) { background: var(--mint); }
.menu__panel dt { font-family: var(--hand); font-size: 1.5rem; line-height: 1; margin-bottom: 0.5rem; }
.menu__panel dd { font: 500 1.25rem/1.25 var(--display); letter-spacing: -0.02em; }
.menu__key { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin-top: 1.1rem; font-size: 0.9rem; color: var(--muted); }

/* Fees */
.table-wrap { overflow-x: auto; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.fees { width: 100%; border-collapse: collapse; min-width: 34rem; }
.fees th, .fees td { padding: 1.1rem 1.3rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.fees tr:last-child > * { border-bottom: 0; }
.fees thead th { font: 500 1.15rem/1.2 var(--display); letter-spacing: -0.02em; }
.fees small { display: block; margin-top: 0.2rem; font: 400 0.86rem/1.4 var(--body); letter-spacing: 0; color: var(--muted); }
.fees td { font: 500 1.4rem/1.2 var(--display); font-variant-numeric: tabular-nums; }
.est { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 1.5rem 2.5rem; padding: clamp(1.4rem, 3vw, 2.5rem); border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); align-items: start; }
.est__group { display: grid; gap: 0.8rem; grid-column: 1; }
.est__group legend { font: 500 1.2rem/1.2 var(--display); letter-spacing: -0.02em; margin-bottom: 0.8rem; }
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill input { position: absolute; opacity: 0; }
.pill span { display: block; padding: 0.6rem 1.1rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; cursor: pointer; transition: background 0.3s, color 0.3s; line-height: 1.2; }
.pill small { display: block; font-weight: 400; font-size: 0.8rem; opacity: 0.75; }
.pill input:checked + span { background: var(--leaf); color: var(--leaf-ink); box-shadow: none; }
.pill input:focus-visible + span { outline: 3px solid var(--leaf); outline-offset: 3px; }
.week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; }
.week__day { display: grid; gap: 0.35rem; font-size: 0.86rem; font-weight: 600; }
select, input[type="text"], input[type="email"], input[type="tel"], input[type="date"], textarea { width: 100%; min-height: 3rem; padding: 0.6rem 0.9rem; border: 0; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
textarea { min-height: 7rem; resize: vertical; }
select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--leaf); outline-offset: 1px; }
.est__out { grid-column: 2; grid-row: 1 / span 3; align-self: stretch; display: grid; align-content: center; gap: 0.6rem; padding: 1.8rem; border-radius: 22px; background: var(--butter); }
.est__label { font-family: var(--hand); font-size: 1.5rem; line-height: 1; }
.est__big { font-size: 1.05rem; }
.est__big b { display: block; font: 500 clamp(2.8rem, 5vw, 4.2rem)/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.est__lines { display: grid; gap: 0.35rem; margin-top: 0.6rem; font-size: 0.95rem; }
.est__lines li { display: flex; justify-content: space-between; gap: 1rem; }
.est__total { padding-top: 0.5rem; border-top: 1.5px solid rgb(43 28 3 / 0.2); font-weight: 700; }
.est__small { font-size: 0.86rem; opacity: 0.8; }
.finder { display: grid; gap: 1rem; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--r); background: var(--sky); }
.finder label { display: grid; gap: 0.4rem; font-weight: 600; max-width: 18rem; }
.finder input { background: var(--card); }
.finder output { display: grid; gap: 0.6rem; justify-items: start; }
.finder__room { font: 500 2.2rem/1 var(--display); letter-spacing: -0.015em; }

/* Dates, lists and people */
.dates { display: grid; gap: 0.8rem; }
.date-card { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: center; padding: 1.2rem; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.date-card__day { display: grid; place-items: center; width: 4.6rem; aspect-ratio: 1; border-radius: 50%; background: var(--sun); color: var(--sun-ink); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; line-height: 1; align-content: center; gap: 0.15rem; }
.date-card__day b { font: 500 1.7rem/1 var(--display); }
.date-card__when { font-weight: 600; margin-block: 0.15rem 0.3rem; }
.rows li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.rows li span:last-child { color: var(--muted); text-align: right; }
.empty { color: var(--muted); }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.person { display: grid; gap: 0.3rem; align-content: start; }
.person img { width: 100%; aspect-ratio: 6 / 7; margin-bottom: 0.8rem; transition: border-radius 0.9s var(--ease), transform 0.9s var(--ease); }
.person:hover img { border-radius: 46% 54% 58% 42% / 44% 52% 48% 56%; transform: rotate(-2deg); }
.person__role { font-family: var(--hand); font-size: 1.4rem; line-height: 1; color: var(--leaf); }
.person p:last-child { color: var(--muted); font-size: 0.96rem; }
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
.posts--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post { display: grid; gap: 0.6rem; align-content: start; }
.post img { width: 100%; aspect-ratio: 9 / 6.4; border-radius: var(--r); object-fit: cover; margin-bottom: 0.4rem; }
.post__meta { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: var(--muted); }
.post p:last-child { color: var(--muted); }
.docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.docs a { display: grid; grid-template-columns: auto 1fr auto; gap: 0.8rem; align-items: center; padding: 1rem 1.2rem; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; transition: background 0.3s; }
.docs a:hover { background: var(--butter); }

/* Words from parents */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; align-items: start; }
.quote { display: grid; gap: 1rem; padding: 1.8rem; border-radius: var(--r); background: var(--lilac); }
.quotes li:nth-child(2) .quote { background: var(--mint); margin-top: 2rem; } .quotes li:nth-child(3) .quote { background: var(--blush); }
.quote blockquote { margin: 0; font: 500 1.3rem/1.3 var(--display); letter-spacing: -0.02em; }
.quote figcaption { font-size: 0.95rem; }

/* Questions */
.faq { display: grid; gap: 0.6rem; max-width: 50rem; }
.faq details { border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; font: 500 1.2rem/1.25 var(--display); letter-spacing: -0.02em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { padding: 0.35rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--butter); transition: transform 0.5s var(--ease); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { padding: 0 1.4rem 1.4rem; color: var(--muted); max-width: 42rem; }

/* Forms */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: clamp(1.4rem, 3vw, 2.5rem); border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.form label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.95rem; }
.form .wide { grid-column: 1 / -1; }
.form__status { grid-column: 1 / -1; color: var(--muted); min-height: 1.5rem; }
.contact-list { display: grid; gap: 1rem; }
.contact-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; }
.contact-list .i { padding: 0.5rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--butter); }
.contact-list b { display: block; }
.map { display: grid; place-items: center; aspect-ratio: 16 / 7; border-radius: var(--r); background: var(--mint); color: var(--leaf); text-align: center; padding: 2rem; }

/* Page headings on inner pages */
.page-head { position: relative; display: grid; gap: 1.4rem; justify-items: start; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 4vw, 3.5rem); }
.page-head h1 { font-size: clamp(2.7rem, 6.4vw, 5.2rem); max-width: 14ch; }

/* The big invitation near the foot of each page */
.band { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: clamp(2rem, 6vw, 4.5rem); border-radius: clamp(28px, 5vw, 56px); background: var(--leaf); color: var(--leaf-ink); overflow: hidden; }
.band h2 em { color: var(--sun); }
.band .lead { color: inherit; opacity: 0.85; margin-top: 1rem; }
.band .doodle { opacity: 0.9; }

/* Footer */
.foot { margin-top: clamp(4rem, 8vw, 7rem); background: var(--leaf); color: var(--leaf-ink); position: relative; }
.foot__wave { position: absolute; left: 0; right: 0; bottom: 100%; width: 100%; height: clamp(1.5rem, 4vw, 3.5rem); color: var(--leaf); margin-bottom: -1px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; padding-block: clamp(3rem, 6vw, 5rem) 2.5rem; }
.foot .brand small { color: inherit; opacity: 0.75; }
.foot .brand svg path:first-child { fill: var(--leaf-ink); }
.foot .brand svg path:last-child { stroke: var(--leaf); }
.foot h2 { font: 400 1.5rem/1 var(--hand); letter-spacing: 0; color: var(--sun); margin-bottom: 0.8rem; }
.foot li + li { margin-top: 0.4rem; }
.foot a:hover { text-decoration: underline; text-decoration-color: var(--sun); text-underline-offset: 3px; }
.foot__about { display: grid; gap: 1rem; align-content: start; max-width: 22rem; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.4rem; border-top: 1px solid rgb(255 255 255 / 0.18); font-size: 0.88rem; opacity: 0.85; }

/* Movement. The site reads perfectly well without it. */
.motion [data-rise], .motion [data-rise-group] > *, .motion [data-pop], .motion [data-words] { opacity: 0; }
.motion [data-draw] path { opacity: 0; }
.word { display: inline-block; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sticker svg, .marquee__track, .sky__cloud { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
@media print { .motion [data-rise], .motion [data-rise-group] > *, .motion [data-pop], .motion [data-words], .motion [data-draw] path { opacity: 1 !important; } .top, .marquee, .doodle { display: none; } }

@media (max-width: 1023px) {
  .top__toggle { display: grid; }
  .top__bar { backdrop-filter: none; background: var(--card); }   /* a blurred bar would trap the full screen menu inside itself */
  .top__nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: stretch; justify-content: center; gap: 0.3rem; padding: 6rem 1.5rem 2rem; background: var(--paper); opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; }
  .top.is-open .top__nav { opacity: 1; visibility: visible; }
  .top__nav a:not(.btn) { font: 500 2rem/1.1 var(--display); letter-spacing: -0.015em; padding: 0.6rem 0.4rem; }
  .top__nav .btn { margin: 1.2rem 0 0; justify-self: start; align-self: flex-start; }
  .hero, .split, .day { grid-template-columns: 1fr; }
  .split--flip > :first-child { order: 0; }
  .hero__art { max-width: 34rem; margin-inline: auto; width: 86%; }
  .rooms, .cards, .quotes, .posts--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .room:nth-child(2) { translate: none; } .quotes li:nth-child(2) .quote { margin-top: 0; }
  .stats, .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sky { position: relative; top: 0; aspect-ratio: 16 / 9; }
  .est { grid-template-columns: 1fr; } .est__out { grid-column: 1; grid-row: auto; }
  .foot__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 719px) {
  body { font-size: 1rem; }
  .rooms, .cards, .quotes, .posts, .posts--three, .docs, .form, .menu__panel dl { grid-template-columns: 1fr; }
  .week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band { grid-template-columns: 1fr; }
  .step { grid-template-columns: 3.4rem 1fr; } .step__icon { display: none; }
  .step.is-now { transform: none; }
  .hero__card { right: -6%; top: 4%; padding: 0.8rem 1rem; max-width: 12.5rem; font-size: 0.85rem; }
  .brand small { display: none; }
  .foot__grid { grid-template-columns: 1fr; gap: 2rem; }
  .doodle--wide { display: none; }
}
