/* Warm and playful theme
   To use Nunito, put Nunito-Variable.woff2 in a "fonts" folder next to this file.
   Without it, the site falls back to the system font. */
@font-face {
  font-family: "Nunito";
  src: local("Nunito"), url("fonts/Nunito-Variable.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --cream: #fff8f0;
  --white: #ffffff;
  --ink: #3d2a22;
  --muted: #6e5549;
  --accent: #b84a30;        /* buttons and links: passes contrast on white, cream and peach */
  --accent-hover: #9c3c25;
  --coral: #e8846a;
  --peach: #fddccb;
  --peach-soft: #fee9de;
  --butter: #fbd981;
  --butter-soft: #fdf0c8;
  --mint: #a9d8b8;
  --mint-soft: #e2f3e6;
  --sky: #a9d3ec;
  --sky-soft: #e3f1fa;
  --lilac: #c9b8ec;
  --lilac-soft: #efe9fa;
  --line: #f0e2d6;
  --radius: 22px;
  --max: 1040px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", ui-rounded, "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { line-height: 1.2; color: var(--ink); }
img, svg { max-width: 100%; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: .5rem 1rem; z-index: 10; }
.skip-link:focus { left: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Header ---------- */
.site-header { background: var(--peach); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: .7rem; padding-bottom: .7rem; }
.brand { text-decoration: none; color: var(--ink); line-height: 1.15; display: flex; align-items: center; gap: .65rem; }
.brand:hover { color: var(--ink); }
.brand svg { width: 44px; height: 44px; flex: none; }
.brand strong { display: block; font-size: 1.2rem; font-weight: 800; }
.brand small { font-size: .85rem; color: var(--muted); font-weight: 600; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .3rem; flex-wrap: wrap; }
nav a { text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 700; padding: .4rem .85rem; border-radius: 999px; }
nav a:hover { background: var(--white); color: var(--accent); }

/* ---------- Hero ---------- */
.hero { background: var(--peach); position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center; padding-top: 2.5rem; padding-bottom: 1rem; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); font-weight: 900; margin: .6rem 0 1rem; letter-spacing: -.01em; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .32em; background: var(--butter); border-radius: 999px; z-index: -1; }
.hero h1 { position: relative; z-index: 0; }
.hero p { font-size: 1.15rem; margin: 0 0 1.6rem; }
.pill { display: inline-block; background: var(--white); color: var(--accent); font-weight: 800; font-size: .9rem; padding: .35rem .9rem; border-radius: 999px; }
.hero-art svg { width: 100%; height: auto; display: block; }

.btn { display: inline-block; background: var(--accent); color: #fff; padding: .85rem 1.6rem; border-radius: 999px; text-decoration: none; font-weight: 800; box-shadow: 0 4px 0 #8a3520; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { background: var(--accent-hover); color: #fff; transform: translateY(2px); box-shadow: 0 2px 0 #8a3520; }
.btn-ghost { background: var(--white); color: var(--accent); box-shadow: 0 4px 0 #f1b79f; margin-left: .5rem; }
.btn-ghost:hover { background: var(--white); color: var(--accent-hover); box-shadow: 0 2px 0 #f1b79f; }

/* Balloon drifts gently up and down: one slow cycle every 10 seconds */
.float { animation: float 10s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(6px); } 50% { transform: translateY(-6px); } }

/* ---------- Waves and bands ---------- */
.wave { display: block; width: 100%; height: 60px; }
.band { padding: 2.5rem 0 3rem; }
.band-cream { background: var(--cream); }
.band-white { background: var(--white); }
.band-mint { background: var(--mint-soft); }
.band-butter { background: var(--butter-soft); }
.band-sky { background: var(--sky-soft); }
.band-peach { background: var(--peach); }

/* ---------- Headings ---------- */
.eyebrow { display: block; font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: .2rem; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); font-weight: 900; margin: 0 0 1.2rem; }
h2 .squiggle { display: block; width: 110px; height: 14px; margin-top: .35rem; }
h3 { font-size: 1.18rem; font-weight: 800; margin: 1.6rem 0 .4rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; align-items: start; }
.photo { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%; border: 8px solid var(--white); box-shadow: 0 0 0 6px var(--coral); }
.photo-placeholder { aspect-ratio: 1; border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%; background: var(--butter); display: grid; place-items: center; text-align: center; padding: 2rem; font-weight: 700; color: var(--ink); border: 8px solid var(--white); box-shadow: 0 0 0 6px var(--coral); }
.reg { background: var(--mint-soft); border: 3px dashed var(--mint); border-radius: var(--radius); padding: 1.1rem 1.4rem; margin: 1.25rem 0; font-size: .98rem; }
.reg strong { display: block; font-weight: 800; }

ul.plain { padding-left: 1.2rem; }
ul.plain li { margin: .3rem 0; }
ul.plain li::marker { color: var(--coral); font-size: 1.2em; }

/* ---------- Service tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.tiles li { border-radius: var(--radius); padding: 1.3rem 1.3rem 1.4rem; font-weight: 800; font-size: 1.08rem; position: relative; transition: transform .2s; }
.tiles li:hover { transform: translateY(-4px) rotate(-.5deg); }
.tiles li .ico { width: 52px; height: 52px; border-radius: 50%; background: var(--white); display: grid; place-items: center; margin-bottom: .7rem; }
.tiles li .ico svg { width: 30px; height: 30px; }
.tiles li span.desc { display: block; font-weight: 500; font-size: .94rem; color: var(--muted); margin-top: .25rem; }
.t-peach { background: var(--peach); }
.t-butter { background: var(--butter-soft); }
.t-mint { background: var(--mint-soft); }
.t-sky { background: var(--sky-soft); }
.t-lilac { background: var(--lilac-soft); }

/* ---------- Cards ---------- */
.card { background: var(--white); border-radius: var(--radius); padding: 1.5rem 1.6rem; margin: 1rem 0; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.cards .card { margin: 0; border-top: 8px solid var(--coral); }
.cards .card:nth-child(2) { border-top-color: var(--butter); }
.cards .card:nth-child(3) { border-top-color: var(--mint); }
.cards .card:nth-child(4) { border-top-color: var(--lilac); }
.cards .card h3 { margin-top: 0; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Fees ---------- */
table.fees { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1rem 0; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 3px solid var(--peach); }
table.fees th, table.fees td { text-align: left; padding: .9rem 1.1rem; border-bottom: 2px solid var(--peach-soft); vertical-align: top; }
table.fees tr:last-child td { border-bottom: 0; }
table.fees th { font-size: .9rem; font-weight: 800; background: var(--peach-soft); }
table.fees td:last-child { font-weight: 800; white-space: nowrap; }

.small { font-size: .93rem; color: var(--muted); }

/* ---------- Crisis notice ---------- */
.crisis { background: var(--white); border: 3px solid var(--butter); border-radius: var(--radius); padding: 1.2rem 1.5rem; margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.crisis .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--butter); display: grid; place-items: center; font-weight: 900; font-size: 1.4rem; color: var(--ink); }
.crisis h2 { font-size: 1.2rem; margin: 0 0 .3rem; }
.crisis p { margin: 0 0 .4rem; }
.crisis ul { margin: .3rem 0 0; padding-left: 1.2rem; }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin: .6rem 0; display: flex; gap: .6rem; }
.contact-list strong { min-width: 5.5rem; font-weight: 800; }

/* ---------- Footer ---------- */
footer { background: #4a2a1d; color: #f7e9de; padding: 2.5rem 0 2rem; font-size: .93rem; }
footer a { color: #fbd3c0; }
footer a:hover { color: #fff; }
footer p { margin: .4rem 0; }
.aoc { border-top: 1px solid #6b4535; margin-top: 1rem; padding-top: 1rem; font-style: italic; }
.dots { display: flex; gap: .5rem; margin-bottom: 1rem; }
.dots span { width: 14px; height: 14px; border-radius: 50%; }

/* ---------- Enquiry form ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.enquiry { margin-top: 1.5rem; padding: 1.8rem; }
.enquiry h3 { margin-top: 0; font-size: 1.35rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.2rem; }
.field { margin: 0 0 1rem; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .3rem; }
.enquiry input[type="text"], .enquiry input[type="email"], .enquiry input[type="tel"], .enquiry select, .enquiry textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--cream);
  border: 2px solid var(--line); border-radius: 12px; padding: .65rem .8rem;
}
.enquiry textarea { resize: vertical; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.checks { display: flex; flex-wrap: wrap; gap: .5rem; }
.checks label { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .95rem; background: var(--peach-soft); padding: .4rem .8rem; border-radius: 999px; cursor: pointer; }
.checks input, .consent input { accent-color: var(--accent); width: 1.1rem; height: 1.1rem; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; margin: .5rem 0 1rem; }
.consent input { margin-top: .3rem; flex: none; }
.hint { font-size: .88rem; color: var(--muted); margin: .35rem 0 0; }
.form-error { background: #fdecea; color: #8a2a1a; border-radius: 12px; padding: .7rem 1rem; font-weight: 700; }
.enquiry .btn { border: 0; cursor: pointer; font: inherit; font-weight: 800; }
.enquiry .btn[disabled] { opacity: .7; cursor: wait; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .enquiry { padding: 1.3rem; } }

/* Placeholder highlighting: remove the .todo rule once real details are in */
.todo { background: #fff2a8; color: #3d2a22; padding: 0 .2em; border-radius: 4px; outline: 1px dashed #d4b200; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .hero .wrap, .about-grid, .contact-wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 360px; margin: 0 auto; }
  .about-grid .photo-placeholder, .about-grid .photo { max-width: 260px; margin: 0 auto; }
  .cards-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  table.fees thead { display: none; }
  table.fees tr { display: block; padding: .8rem 1.1rem; border-bottom: 2px solid var(--peach-soft); }
  table.fees tr:last-child { border-bottom: 0; }
  table.fees td { display: block; padding: 0; border: 0; white-space: normal; }
  table.fees td:last-child { margin-top: .3rem; color: var(--accent); }
  .cards { grid-template-columns: 1fr; }
  .btn-ghost { margin: .8rem 0 0; }
  .wave { height: 36px; }
  .hero h1 .hl { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tiles li { transition: none; }
  .float { animation: none; }
  .tiles li:hover { transform: none; }
}
@media print {
  .site-header, .btn, .wave, .hero-art { display: none; }
  body, .band, .hero { background: #fff; }
}
