:root {
  --header-a: #7c98ac;
  --header-b: #d0e4f2;
  --ink: #1c2428;
  --muted: #3d4a52;
  --green: #6ea36a;
  --green-deep: #4f8a52;
  --slate: #536673;
  --slate-text: #f3f6f4;
  --paper: #f7f3ea;
  --card: #fffdf8;
  --line: #d5ddd8;
  --max: 68rem;
  --nav: "Chelsea Market", "Trebuchet MS", sans-serif;
  --script: "Fredericka the Great", cursive;
  --body: "Patrick Hand", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 1.2rem;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: var(--green-deep); }
a:hover { color: #2f6a38; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 1.25rem;
  background: radial-gradient(circle at 20% 40%, var(--header-a), var(--header-b));
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}
.brand { display: flex; flex: 0 0 auto; }
.brand img { width: 92px; height: 92px; object-fit: contain; }
.nav-toggle {
  display: none;
  margin-left: auto;
  border: 2px solid var(--ink);
  background: transparent;
  font-family: var(--nav);
  font-size: 1rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.35rem;
  margin-left: auto;
}
.site-nav > a,
.menu > a {
  font-family: var(--nav);
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  padding: 0.4rem 0.55rem;
  border-radius: 6px;
}
.site-nav > a:hover,
.menu > a:hover,
.site-nav > a[aria-current="page"],
.menu > a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.45);
}
.menu { position: relative; }
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 16rem;
  padding: 0.4rem;
  background: #f4f8fb;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(28, 36, 40, 0.16);
}
.menu:hover .submenu,
.menu:focus-within .submenu { display: grid; }
.submenu a {
  font-family: var(--body);
  color: var(--ink);
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
}
.submenu a:hover,
.submenu a[aria-current="page"] { background: #e1ebf2; }

.wrap { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.page { padding: 2rem 0 3rem; }
h1, h2, .script {
  font-family: var(--script);
  font-weight: 400;
  color: var(--green-deep);
  line-height: 1.2;
}
h1 { font-size: 2.6rem; margin: 0 0 0.6rem; }
h2 { font-size: 1.8rem; margin: 1.4rem 0 0.4rem; }
p { margin: 0.7rem 0; }
.lead { font-size: 1.35rem; }

.home {
  background:
    linear-gradient(rgba(255, 252, 246, 0.2), rgba(255, 252, 246, 0.08)),
    url("../images/hero.jpg") center 30% / cover no-repeat;
  padding: 2.2rem 0 2.6rem;
}
.home-copy {
  width: min(46rem, calc(100% - 2rem));
  margin: 0 auto;
  background: rgba(255, 252, 246, 0.9);
  border-radius: 14px;
  padding: 1.3rem 1.5rem 1.1rem;
}
.fees { list-style: none; padding: 0; margin: 0.4rem 0 0.8rem; }
.fees li { padding: 0.1rem 0; }
.quote {
  font-style: italic;
  margin: 1rem 0;
}
.signoff { margin-top: 1rem; }
.signoff strong { display: block; }

.panels {
  width: min(var(--max), calc(100% - 2rem));
  margin: 1.2rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.panel {
  background: var(--slate);
  color: var(--slate-text);
  border-radius: 12px;
  padding: 1rem 1.15rem 1.15rem;
}
.panel h2 { color: #b7e3b4; margin-top: 0; font-size: 2rem; }
.panel a { color: #fff; }
.panel p { margin: 0.45rem 0; }

.prose { width: min(46rem, 100%); }
.photos, .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.7rem;
  margin: 1.2rem 0;
}
.photos img, .gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  background: #e7ece8;
}
.gallery { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.gallery a { display: block; }
.gallery img { height: 240px; }

.staff {
  display: grid;
  gap: 1rem;
}
.person {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
}
.person img {
  width: 160px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}
.person h2 { margin: 0 0 0.2rem; font-size: 1.7rem; }
.roles { margin: 0.2rem 0 0.5rem; color: var(--muted); }

.link-list, .policy-list { padding-left: 1.2rem; }
.link-list li, .policy-list li { margin: 0.28rem 0; }
.policy-group { margin-top: 1.2rem; }
.roles-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.4rem;
  background: var(--card);
}
.roles-table th, .roles-table td {
  text-align: left;
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.roles-table th { font-family: var(--nav); font-size: 0.95rem; }

.newsletter {
  display: block;
  width: min(420px, 100%);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(28, 36, 40, 0.12);
}
.poster { width: min(420px, 100%); border-radius: 8px; }

.site-footer {
  background: #e7eef3;
  color: var(--muted);
  padding: 1.2rem 1rem 1.5rem;
  text-align: center;
}
.site-footer p { margin: 0.25rem 0; }
.site-footer img { width: 72px; margin-top: 0.5rem; }

@media (max-width: 800px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0.6rem 0.8rem 1rem;
    background: #d7e6f0;
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.open { display: flex; }
  .submenu { position: static; display: grid; box-shadow: none; background: transparent; padding: 0 0 0.4rem 0.8rem; }
  .panels, .person { grid-template-columns: 1fr; }
  .person img { width: 100%; height: 240px; }
  .brand img { width: 72px; height: 72px; }
  h1 { font-size: 2.1rem; }
}

/* ============================================================
   Makeover (2026-11-11)
   Appended below the original rules. Originals above stay as-is,
   so reverting = restoring the pre-makeover style.css (see REVERT.md).
   ============================================================ */
:root {
  --coral: #f08a6b;
  --sunny: #ffc94d;
  --leaf: #7fc98a;
  --pink: #f2a0b0;
  --bubble: #bfe3f2;
  --shadow-soft: 0 10px 30px rgba(28, 36, 40, 0.12);
}

/* subtle warm texture behind everything */
body {
  background-image: radial-gradient(rgba(124, 152, 172, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* cheerful crayon stripe along the very top */
.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  z-index: 21;
  background: linear-gradient(90deg, var(--sunny), var(--coral), var(--pink), var(--leaf), var(--bubble));
}

/* friendly squiggle underline under page titles */
h1::after {
  content: "";
  display: block;
  width: 140px;
  height: 12px;
  margin: 0.35rem 0 0.4rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='12' viewBox='0 0 28 12'%3E%3Cpath d='M2 8 q6 -8 12 0 t12 0' fill='none' stroke='%23f08a6b' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x left center / 28px 12px;
  opacity: 0.9;
}

/* ---------- Hero (home) ---------- */
.home { position: relative; padding: 2.6rem 0 3rem; }
.home-copy {
  background: rgba(255, 252, 246, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  padding: 1.6rem 1.8rem 1.3rem;
}
.home-copy .lead {
  font-family: var(--script);
  color: var(--green-deep);
  font-size: 2.1rem;
  margin: 0 0 0.4rem;
  line-height: 1.15;
}

/* floating doodles on the home hero */
.doodles { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.doodle { position: absolute; opacity: 0.9; }
.doodle svg { width: 100%; height: auto; display: block; }
.doodle.sun { top: 14%; left: 4%; width: 78px; animation: bob 6s ease-in-out infinite; }
.doodle.cloud { top: 20%; right: 5%; width: 120px; animation: drift 9s ease-in-out infinite; }
.doodle.scribble { bottom: 12%; left: 6%; width: 120px; animation: bob 7s ease-in-out infinite; }
.doodle.star { bottom: 18%; right: 9%; width: 58px; animation: spin 16s linear infinite; }

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes drift { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(24px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Scroll-in reveal (only applied when JS is present) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Panels: lighter, friendlier cards ---------- */
.panel {
  background: linear-gradient(180deg, #eaf4ec, #ffffff);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 5px solid var(--leaf);
  border-radius: 16px;
  padding: 1.1rem 1.25rem 1.25rem;
  box-shadow: 0 6px 18px rgba(28, 36, 40, 0.08);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s;
}
.panels .panel:nth-child(2) { border-top-color: var(--coral); }
.panel:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(28, 36, 40, 0.14); }
.panel h2 { color: var(--green-deep); font-size: 2rem; margin-top: 0; }
.panel a { color: var(--green-deep); font-weight: 700; }
.panel a:hover { color: #2f6a38; }

/* ---------- Lists: friendly bullets ---------- */
.fees li { position: relative; padding-left: 1.6rem; }
.fees li::before {
  content: "\2022";
  position: absolute;
  left: 0.4rem;
  color: var(--sunny);
  font-size: 1.5rem;
  line-height: 1.1;
}

/* ---------- Photos: gentle lift on hover ---------- */
.photos img {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(28, 36, 40, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.photos img:hover { transform: translateY(-4px) rotate(-0.5deg); box-shadow: 0 12px 24px rgba(28, 36, 40, 0.16); }

/* ---------- Gallery: cards + hover zoom + "open" hint ---------- */
.gallery a {
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(28, 36, 40, 0.1);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s;
}
.gallery a:hover, .gallery a:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(28, 36, 40, 0.22);
}
.gallery img { display: block; width: 100%; height: 240px; object-fit: cover; transition: transform 0.5s ease; }
.gallery a:hover img { transform: scale(1.05); }
.gallery a::after {
  content: "+";
  position: absolute;
  top: 8px;
  right: 10px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-deep);
  border-radius: 50%;
  font-size: 1.15rem;
  font-weight: 700;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.25s, transform 0.25s;
}
.gallery a:hover::after, .gallery a:focus-visible::after { opacity: 1; transform: scale(1); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(20, 26, 30, 0.82);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(92vw, 1000px); text-align: center; }
.lightbox .lb-img { max-width: 100%; max-height: 82vh; border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); background: #fff; }
.lightbox .lb-cap { color: #eef3f1; margin-top: 0.6rem; font-size: 1rem; }
.lb-btn {
  position: absolute;
  z-index: 2;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  color: var(--green-deep);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, background 0.2s;
}
.lb-btn:hover { background: #fff; }
.lb-close { top: 14px; right: 14px; }
.lb-close:hover { transform: scale(1.08); }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover { transform: translateY(-50%) scale(1.08); }
.lb-next:hover { transform: translateY(-50%) scale(1.08); }
body.lb-open { overflow: hidden; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--green-deep);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(28, 36, 40, 0.25);
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  transition: opacity 0.25s, transform 0.25s, background 0.2s;
  display: grid;
  place-items: center;
}
.to-top.show { opacity: 1; transform: none; }
.to-top:hover { background: var(--coral); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .doodle { animation: none !important; }
}

/* ---------- Small screens ---------- */
@media (max-width: 800px) {
  .doodle.cloud { width: 88px; }
  .doodle.scribble { width: 92px; }
  .to-top { width: 44px; height: 44px; }
  .lb-btn { width: 44px; height: 44px; }
}

/* ============================================================
   Fun makeover v2 (2026-11-12) - extra playful layer
   Keeps all informational content unchanged.
   ============================================================ */
:root {
  --fun-pink: #ff8fb1;
  --fun-blue: #6ecbff;
  --fun-purple: #b39ddb;
  --fun-lime: #b7e778;
}

body {
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 201, 77, 0.18), transparent 22%),
    radial-gradient(circle at 90% 20%, rgba(110, 203, 255, 0.16), transparent 20%),
    radial-gradient(circle at 20% 90%, rgba(255, 143, 177, 0.14), transparent 18%),
    var(--paper);
  background-image:
    radial-gradient(circle at 10% 10%, rgba(255, 201, 77, 0.18), transparent 22%),
    radial-gradient(circle at 90% 20%, rgba(110, 203, 255, 0.16), transparent 20%),
    radial-gradient(circle at 20% 90%, rgba(255, 143, 177, 0.14), transparent 18%),
    radial-gradient(rgba(124, 152, 172, 0.08) 1.2px, transparent 1.2px);
  background-size: auto, auto, auto, 24px 24px;
}

.site-header {
  backdrop-filter: blur(4px);
}
.brand img {
  transition: transform 0.25s ease;
  filter: drop-shadow(0 4px 8px rgba(28,36,40,0.15));
}
.brand:hover img { transform: rotate(-4deg) scale(1.04); }
.site-nav > a, .menu > a {
  transition: transform 0.18s ease, background 0.18s ease;
}
.site-nav > a:hover, .menu > a:hover {
  transform: translateY(-2px) rotate(-1deg);
  background: rgba(255,255,255,0.65);
}

.home {
  overflow: hidden;
}
.home::after {
  content: "";
  position: absolute;
  inset: auto -10% -40px -10%;
  height: 120px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.55), rgba(255,255,255,0));
  pointer-events: none;
}
.home-copy {
  position: relative;
  z-index: 1;
  animation: pop-in 0.6s ease both;
}
@keyframes pop-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.home-copy .lead {
  background: linear-gradient(90deg, var(--green-deep), #2f8f6b, #e06b7f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fun-ribbon {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #fff3bf;
  color: #5a4a12;
  font-family: var(--nav);
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(28,36,40,0.08);
  transform: rotate(-1.5deg);
}

.panel, .person, .policy-group, .photos img, .gallery a, .newsletter, .poster {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.panel { border-radius: 18px; }
.panel:hover { transform: translateY(-6px) rotate(-0.4deg); }
.panel:nth-child(1) { background: linear-gradient(180deg, #e9f8ef, #ffffff); border-top-color: var(--leaf); }
.panel:nth-child(2) { background: linear-gradient(180deg, #fff1ea, #ffffff); border-top-color: var(--coral); }
.panel h2::before { content: "✦ "; color: var(--sunny); }

.prose p, .home-copy p, .home-copy li { font-size: 1.22rem; }
.quote {
  background: linear-gradient(90deg, rgba(255,201,77,0.18), rgba(255,255,255,0));
  border-left: 5px solid var(--sunny);
  padding: 0.5rem 0.8rem;
  border-radius: 0 12px 12px 0;
}

.person {
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #fbfdfb);
}
.person:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(28,36,40,0.12); }
.person:nth-child(3n+1) { border-top: 4px solid var(--fun-blue); }
.person:nth-child(3n+2) { border-top: 4px solid var(--fun-pink); }
.person:nth-child(3n) { border-top: 4px solid var(--fun-lime); }

.policy-group {
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.2rem 0.9rem 0.6rem;
  margin-top: 1rem;
}
.policy-group h2 { margin-top: 0.7rem; }
.policy-list a {
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.gallery a { border: 3px solid #fff; }
.gallery a:hover, .gallery a:focus-visible { transform: translateY(-6px) rotate(-0.6deg) scale(1.01); }

.fun-sparkle {
  position: fixed;
  pointer-events: none;
  z-index: 120;
  font-size: 1rem;
  animation: sparkle-float 900ms ease-out forwards;
}
@keyframes sparkle-float {
  0% { opacity: 0; transform: translate(var(--dx,0), var(--dy,0)) scale(0.5) rotate(0deg); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(var(--dx,0) * 1.8), calc(var(--dy,0) * 1.8 - 30px)) scale(1.2) rotate(20deg); }
}

.site-footer {
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: -10%; right: -10%; top: -20px; height: 40px;
  background: radial-gradient(ellipse at center, #f7f3ea 60%, transparent 61%);
}

@media (max-width: 800px) {
  .home-copy .lead { font-size: 1.8rem; }
  .prose p, .home-copy p, .home-copy li { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home-copy { animation: none !important; }
  .fun-sparkle { display: none !important; }
}
