/* Muskham Preschool — static site stylesheet */
:root {
  --red: #872832;
  --red-dark: #B02036;
  --yellow: #F6C400;
  --yellow-dark: #C79E10;
  --yellow-ink: #8A6D2F;
  --navy: #112C6B;
  --blue: #0877B5;
  --blue-dark: #06679C;
  --purple: #6A478E;
  --teal: #0E7D84;
  --teal-dark: #0B636A;
  --orange: #E58E16;
  --orange-dark: #9A5E0B;
  --orange-deep: #B4650A;
  --cream: #FFF8F0;
  --ink: #19213B;
  --muted: #4A5068;
  --line: rgba(17, 44, 107, 0.15);
  --dash: rgba(17, 44, 107, 0.2);
  --display: 'Fredoka', sans-serif;
  --body: 'Nunito Sans', sans-serif;
  --hand: 'Patrick Hand', cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: var(--blue);
}

a:hover {
  color: var(--red);
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin: 0;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--navy);
  color: #FFF;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 8px;
  outline: 3px solid var(--yellow);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 24px;
  border-radius: 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-red {
  background: var(--red);
  color: #FFF;
}

.btn-red:hover {
  color: #FFF;
}

.btn-navy {
  background: var(--navy);
  color: #FFF;
}

.btn-navy:hover {
  color: #FFF;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
}

.btn-yellow:hover {
  color: var(--navy);
}

.btn-purple {
  background: var(--purple);
  color: #FFF;
}

.btn-purple:hover {
  color: #FFF;
}

.btn-blue {
  background: var(--blue);
  color: #FFF;
}

.btn-blue:hover {
  color: #FFF;
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2.5px solid var(--navy);
}

.btn-outline-navy:hover {
  color: var(--navy);
}

.btn-outline-white {
  background: transparent;
  color: #FFF;
  border: 2.5px solid #FFF;
}

.btn-outline-white:hover {
  color: #FFF;
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline-purple {
  background: transparent;
  color: var(--purple);
  border: 2.5px solid var(--purple);
}

.btn-outline-purple:hover {
  color: var(--purple);
}

.btn-sm {
  font-size: 15.5px;
  padding: 10px 18px;
}

/* Header */
.strip {
  background: var(--red);
  color: #FFF;
  text-align: center;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 600;
}

.strip a {
  color: var(--yellow);
  font-weight: 800;
  text-underline-offset: 3px;
  margin-left: 6px;
  white-space: nowrap;
}

.strip a:hover {
  color: #FFF;
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--cream);
  border-bottom: 3px solid rgba(17, 44, 107, 0.1);
}

.navbar {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #FFF;
  border: 2.5px solid var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name .l1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  color: var(--red);
}

.logo-name .l2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--navy);
  text-decoration: none;
  padding: 12px 9px;
  border-radius: 8px;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--red);
}

.nav a[aria-current="page"] {
  color: var(--red);
  text-decoration: underline wavy var(--red) 2px;
  text-underline-offset: 7px;
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hub-wrap {
  position: relative;
}

.hub-btn {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #FFF;
  border: 2px solid var(--navy);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
}

.hub-btn:hover {
  transform: translateY(-2px);
}

.hub-pop {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 260px;
  background: var(--cream);
  border: 3px solid var(--navy);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(17, 44, 107, 0.18);
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 90;
}

.hub-pop.open {
  display: flex;
}

.hub-pop .pop-title {
  font-family: var(--hand);
  font-size: 18px;
  color: var(--purple);
  padding: 4px 10px;
}

.hub-pop a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
}

.hub-pop a:hover {
  background: rgba(246, 196, 0, 0.28);
  color: var(--navy);
}

.hub-pop a .ext {
  color: var(--blue);
  font-size: 13px;
}

.book-btn {
  box-shadow: 0 0 0 2.5px var(--red);
  border: 2.5px solid #FFF;
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #FFF;
  border: 2px solid var(--navy);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-btn .icon-close {
  display: none;
}

.menu-btn[aria-expanded="true"] .icon-close {
  display: block;
}

.menu-btn[aria-expanded="true"] .icon-burger {
  display: none;
}

.mobile-panel {
  display: none;
  background: var(--cream);
  border-top: 2px dashed var(--dash);
  padding: 12px 20px 20px;
  flex-direction: column;
  gap: 2px;
}

.mobile-panel.open {
  display: flex;
}

.mobile-panel>a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  color: var(--navy);
  text-decoration: none;
  padding: 13px 10px;
  border-radius: 10px;
  display: block;
}

.mobile-panel>a[aria-current="page"] {
  color: var(--red);
  text-decoration: underline wavy var(--red) 2px;
  text-underline-offset: 7px;
}

.mobile-utils {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 2px dashed var(--dash);
}

.mobile-utils a {
  flex: 1 1 40%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #FFF;
  border: 2px solid var(--navy);
  border-radius: 10px;
  color: var(--navy);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
}

.mobile-utils a.u-purple {
  border-color: var(--purple);
  color: var(--purple);
}

.mobile-utils a.u-blue {
  border-color: var(--blue);
  color: var(--blue);
}

.sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 70;
  background: var(--cream);
  border-top: 3px solid rgba(17, 44, 107, 0.12);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}

.sticky-bar a {
  flex: 1;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}

.sticky-bar .call {
  background: var(--navy);
  color: #FFF;
}

.sticky-bar .book {
  background: var(--red);
  color: #FFF;
}

/* Sections */
.section {
  padding: 72px 20px;
}

.section-white {
  background: #FFF;
  border-top: 3px dashed var(--line);
  border-bottom: 3px dashed var(--line);
}

.sec-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.sec-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sec-h2 {
  font-size: clamp(30px, 4vw, 42px);
}

.squiggle {
  display: block;
  margin: 6px 0 14px;
}

.center .squiggle {
  margin-left: auto;
  margin-right: auto;
}

.lede {
  margin: 0;
  font-size: 18px;
  text-wrap: pretty;
}

.kicker {
  margin: 0 0 6px;
  font-family: var(--hand);
  font-size: 22px;
  color: var(--purple);
}

.split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 44px;
}

.split .sec-head {
  margin-bottom: 0;
  max-width: 560px;
}

/* Hero */
.hero {
  background: var(--red);
  padding: 16px 14px;
}

.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  border: 3px dashed rgba(255, 255, 255, 0.75);
  border-radius: 24px;
  padding: 0 clamp(16px, 4vw, 44px);
}

.hero-kids {
  max-width: 720px;
  margin: 0 auto;
  padding-top: 6px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: 22px 4px 64px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.hero-title {
  margin: 0;
  width: 100%;
}

.hero-title svg {
  width: 100%;
  max-width: 500px;
  display: block;
  overflow: visible;
}

.hero-headline {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 31px);
  line-height: 1.25;
  color: #FFF;
  max-width: 22ch;
  text-wrap: pretty;
}

.hero-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 18px;
  max-width: 52ch;
  text-wrap: pretty;
}

.agepill {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
  font-size: 15px;
  padding: 7px 16px;
  border-radius: 999px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-ctas .btn {
  font-size: 19px;
  padding: 14px 28px;
  border: 2.5px solid #FFF;
}

.polaroid-wrap {
  position: relative;
  justify-self: center;
  width: min(100%, 470px);
  margin-bottom: 18px;
}

.hero-logo {
  width: clamp(170px, 19vw, 240px);
  aspect-ratio: 1;
  display: block;
  object-fit: contain;
  margin: 0 auto 28px;
  background: #FFF;
  border: 7px solid #FFF;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(25, 33, 59, 0.28);
  transform: rotate(-2deg);
}

.polaroid {
  background: #FFF;
  padding: 12px 12px 46px;
  border-radius: 6px;
  box-shadow: 0 16px 34px rgba(25, 33, 59, 0.3);
}

.polaroid.tilt-r {
  transform: rotate(1.6deg);
}

.polaroid.tilt-l {
  transform: rotate(-1.6deg);
}

.polaroid .caption {
  margin: 12px 4px 0;
  font-family: var(--hand);
  font-size: 20px;
  color: var(--ink);
  text-align: center;
}

.tape {
  position: absolute;
  width: 88px;
  height: 26px;
  background: rgba(246, 196, 0, 0.6);
  border-radius: 3px;
}

.ofsted-tag {
  position: absolute;
  bottom: -20px;
  right: -6px;
  margin: 0;
  background: var(--navy);
  border: 3px solid #FFF;
  border-radius: 14px;
  padding: 10px 18px;
  transform: rotate(-2deg);
  box-shadow: 0 6px 16px rgba(25, 33, 59, 0.3);
  line-height: 1.3;
}

.ofsted-tag strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  color: var(--yellow);
  display: block;
}

.ofsted-tag span {
  font-size: 14px;
  color: rgba(255, 248, 240, 0.9);
}

.ribbon-row {
  display: flex;
  justify-content: center;
  transform: translateY(50%);
}

.ribbon {
  margin: 0;
  background: var(--navy);
  color: #FFF;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(16px, 2.4vw, 22px);
  padding: 14px clamp(26px, 5vw, 52px);
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 50%, 100% 100%, 0 100%, 18px 50%);
  text-align: center;
}

.dot-y {
  color: var(--yellow);
}

/* Noticeboard */
.board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 26px;
  row-gap: 60px;
}

.panel {
  position: relative;
  border: 3px solid #FFF;
  border-radius: 18px;
  box-shadow: 0 5px 0 rgba(25, 33, 59, 0.08);
  padding: 46px 22px 24px;
  text-align: center;
  color: #FFF;
  transition: transform 0.15s ease;
}

.panel:nth-child(odd):hover {
  transform: rotate(-0.7deg);
}

.panel:nth-child(even):hover {
  transform: rotate(0.7deg);
}

.panel h3 {
  margin: 0 0 6px;
  font-size: 21px;
  color: inherit;
}

.panel p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.panel.p-coral {
  background: var(--red);
}

.panel.p-orange {
  background: var(--orange);
  margin-top: 18px;
}

.panel.p-blue {
  background: var(--blue-dark);
  margin-top: 8px;
}

.panel.p-purple {
  background: var(--purple);
}

.panel.p-teal {
  background: var(--teal);
  margin-top: 18px;
}

.panel.p-navy {
  background: var(--navy);
  margin-top: 8px;
}

.medal {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-coral .medal {
  border: 3px solid var(--red);
}

.p-orange .medal {
  border: 3px solid var(--orange);
}

.p-blue .medal {
  border: 3px solid var(--blue-dark);
}

.p-purple .medal {
  border: 3px solid var(--purple);
}

.p-teal .medal {
  border: 3px solid var(--teal);
}

.p-navy .medal {
  border: 3px solid var(--navy);
}

.forest-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.forest-note p {
  margin: 0;
  font-family: var(--hand);
  font-size: 22px;
  color: var(--ink);
}

/* Learning path */
.path-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}

.path-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.path-step.indent {
  margin-left: clamp(0px, 5vw, 56px);
}

.step-num {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 3px solid #FFF;
  color: #FFF;
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-num.n1 {
  background: var(--red);
  box-shadow: 0 0 0 2px var(--red);
}

.step-num.n2 {
  background: var(--blue);
  box-shadow: 0 0 0 2px var(--blue);
}

.step-num.n3 {
  background: var(--orange);
  box-shadow: 0 0 0 2px var(--orange);
}

.step-num.n4 {
  background: var(--teal);
  box-shadow: 0 0 0 2px var(--teal);
}

.path-step h3 {
  margin: 0 0 6px;
  font-size: 23px;
}

.path-step p {
  margin: 0;
  max-width: 52ch;
  text-wrap: pretty;
}

.path-connector {
  margin: 4px 0 4px 24px;
}

.path-connector.right {
  margin-left: 60px;
}

.path-photos {
  display: flex;
  flex-direction: column;
  gap: 34px;
  align-items: center;
  padding-top: 10px;
}

.photo-card-wrap {
  position: relative;
  width: min(100%, 400px);
}

.photo-card {
  background: var(--cream);
  padding: 10px 10px 38px;
  border: 2px solid rgba(25, 33, 59, 0.12);
  border-radius: 6px;
  box-shadow: 0 10px 22px rgba(25, 33, 59, 0.14);
}

.photo-card .caption {
  margin: 10px 4px 0;
  font-family: var(--hand);
  font-size: 19px;
  text-align: center;
}

/* Facts table + planner */
.facts {
  margin: 0;
  display: grid;
  background: #FFF;
  border: 3px solid var(--navy);
  border-radius: 18px;
  overflow: hidden;
}

.facts>div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 20px;
  border-bottom: 2px dashed var(--dash);
}

.facts>div:last-child {
  border-bottom: none;
}

.facts dt {
  font-weight: 800;
  color: var(--navy);
}

.facts dd {
  margin: 0;
  text-align: right;
}

.planner {
  background: var(--cream);
  border: 3px solid var(--navy);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 6px 6px 0 rgba(17, 44, 107, 0.12);
}

.planner h3 {
  margin: 0 0 4px;
  font-size: 24px;
}

.planner .sub {
  margin: 0 0 18px;
  font-size: 15.5px;
  color: var(--muted);
}

.planner .grp-label {
  margin: 0 0 8px;
  font-weight: 800;
  color: var(--navy);
  font-size: 15px;
  display: block;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.chip-btn {
  font-family: var(--body);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #FFF;
  color: var(--navy);
  border: 2px solid var(--navy);
  transition: transform 0.15s ease;
}

.chip-btn[aria-pressed="true"] {
  background: var(--navy);
  color: #FFF;
}

.chip-btn.day {
  min-width: 48px;
  padding: 8px 10px;
}

.planner select,
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  font-family: var(--body);
  font-size: 16px;
  padding: 8px 14px;
  border: 2px solid var(--navy);
  border-radius: 10px;
  background: #FFF;
  color: var(--ink);
}

.planner select {
  margin-bottom: 18px;
}

.planner-result {
  background: var(--navy);
  color: #FFF;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 14px;
}

.planner-result .sum {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
}

.planner-result .cost {
  margin: 4px 0 0;
  font-size: 16px;
  color: var(--yellow);
  font-weight: 800;
}

.planner .fine {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--muted);
  text-wrap: pretty;
}

/* Ofsted */
.ofsted-sec {
  background: var(--navy);
}

.ofsted-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 44px;
  align-items: center;
}

.ofsted-sec .kicker {
  color: var(--yellow);
  font-size: 21px;
}

.ofsted-sec h2 {
  color: #FFF;
  font-size: clamp(30px, 4vw, 44px);
  max-width: 18ch;
  margin: 0 0 16px;
}

.ofsted-sec h2 .good {
  color: var(--yellow);
}

.ofsted-sec .lede {
  color: rgba(255, 248, 240, 0.92);
  max-width: 50ch;
  margin-bottom: 24px;
}

.star-list {
  list-style: none;
  margin: 0;
  padding: 26px 28px;
  background: rgba(255, 248, 240, 0.07);
  border: 2px dashed rgba(255, 248, 240, 0.4);
  border-radius: 18px;
  display: grid;
  gap: 13px;
}

.star-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--cream);
  font-size: 16.5px;
}

.star-list svg {
  flex-shrink: 0;
  margin-top: 3px;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 26px;
}

.team-card {
  background: #FFF;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
}

.team-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  background: #EDE4D6;
}

.team-card h3 {
  margin: 14px 0 2px;
  font-size: 21px;
}

.team-card .role {
  margin: 0 0 10px;
  font-size: 15.5px;
  font-weight: 800;
}

.team-card .quals {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}

.team-card.t-coral {
  border: 3px solid var(--red);
  transform: rotate(-0.8deg);
}

.team-card.t-coral .role {
  color: var(--red);
}

.team-card.t-blue {
  border: 3px solid var(--blue);
  transform: rotate(0.7deg);
  margin-top: 14px;
}

.team-card.t-blue .role {
  color: var(--blue);
}

.team-card.t-purple {
  border: 3px solid var(--purple);
  transform: rotate(-0.6deg);
}

.team-card.t-purple .role {
  color: var(--purple);
}

.team-card.t-teal {
  border: 3px solid var(--teal);
  transform: rotate(0.8deg);
  margin-top: 14px;
}

.team-card.t-teal .role {
  color: var(--teal);
}

/* Family Hub teaser + chips */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 44px;
  align-items: center;
}

.chip-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.chip-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--cream);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
}

.chip-link.c-coral {
  border: 2.5px solid var(--red);
  color: var(--red-dark);
}

.chip-link.c-coral:hover {
  background: var(--red);
  color: #FFF;
}

.chip-link.c-blue {
  border: 2.5px solid var(--blue);
  color: var(--blue-dark);
}

.chip-link.c-blue:hover {
  background: var(--blue);
  color: #FFF;
}

.chip-link.c-orange {
  border: 2.5px solid var(--orange);
  color: var(--orange-dark);
}

.chip-link.c-orange:hover {
  background: var(--orange);
  color: var(--ink);
}

.chip-link.c-teal {
  border: 2.5px solid var(--teal);
  color: var(--teal-dark);
}

.chip-link.c-teal:hover {
  background: var(--teal);
  color: #FFF;
}

/* Gallery preview + page */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-flow: dense;
  gap: 18px;
}

.g-item {
  position: relative;
  background: #FFF;
  padding: 8px;
  border-radius: 8px;
  border: 2px solid rgba(25, 33, 59, 0.12);
  transition: transform 0.15s ease;
}

.g-item:hover {
  transform: translateY(-3px);
}

.g-item img {
  width: 100%;
  display: block;
  object-fit: cover;
  background: #EDE4D6;
}

.g-item.span3 {
  grid-column: span 3;
}

.g-item.span2 {
  grid-column: span 2;
}

.g-item.span3 img {
  height: 250px;
}

.g-item.span2 img {
  height: 200px;
}

.g-chip {
  position: absolute;
  bottom: 16px;
  left: 16px;
  color: #FFF;
  font-weight: 800;
  font-size: 13.5px;
  padding: 5px 12px;
  border-radius: 999px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.count-label {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--muted);
}

.gallery-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 20px;
}

.gallery-list li:nth-child(3n+1) {
  transform: rotate(-0.5deg);
}

.gallery-list li:nth-child(3n+2) {
  transform: rotate(0.4deg);
}

.gallery-list li:nth-child(3n) {
  transform: rotate(-0.3deg);
}

.g-open {
  position: relative;
  display: block;
  width: 100%;
  background: #FFF;
  border: 2px solid rgba(25, 33, 59, 0.12);
  border-radius: 8px;
  padding: 8px 8px 34px;
  cursor: pointer;
  transition: transform 0.15s ease;
  text-align: left;
}

.g-open:hover {
  transform: translateY(-3px);
}

.g-open img {
  width: 100%;
  height: 190px;
  display: block;
  object-fit: cover;
  background: #EDE4D6;
  pointer-events: none;
}

.g-open .g-chip {
  bottom: 14px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(25, 33, 59, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox-card {
  background: var(--cream);
  border-radius: 18px;
  max-width: 760px;
  width: 100%;
  padding: 20px;
  position: relative;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #FFF;
  border: 2px solid #FFF;
  cursor: pointer;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  background: #FFF;
  border: 2px solid rgba(25, 33, 59, 0.12);
  border-radius: 10px;
  padding: 10px;
}

.lightbox-img img {
  width: 100%;
  height: 380px;
  display: block;
  object-fit: cover;
  background: #EDE4D6;
}

.lightbox-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.lightbox-nav button {
  min-height: 44px;
  padding: 8px 20px;
  border-radius: 12px;
  background: #FFF;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
}

.lightbox-counter {
  font-weight: 800;
  color: var(--navy);
  font-size: 15px;
}

.lightbox-caption {
  margin: 10px 0 0;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}

/* Visit section */
.visit-sec {
  background: var(--red);
  padding: 72px 20px 80px;
}

.paper {
  max-width: 1080px;
  margin: 0 auto;
  background: var(--cream);
  border: 3px solid #FFF;
  box-shadow: 0 0 0 3px rgba(25, 33, 59, 0.12), 0 18px 40px rgba(25, 33, 59, 0.28);
  border-radius: 22px;
  padding: clamp(26px, 5vw, 52px);
  transform: rotate(-0.4deg);
}

.paper-inner {
  transform: rotate(0.4deg);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 40px;
  align-items: center;
}

.info-dl {
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
  font-size: 16.5px;
}

.info-dl>div {
  display: flex;
  gap: 10px;
}

.info-dl dt {
  font-weight: 800;
  color: var(--navy);
  min-width: 84px;
}

.info-dl dd {
  margin: 0;
}

.info-dl a {
  font-weight: 700;
}

.map-card {
  justify-self: center;
  width: min(100%, 380px);
}

.map-card svg {
  width: 100%;
  display: block;
  background: #FFF;
  border: 2.5px dashed rgba(17, 44, 107, 0.35);
  border-radius: 16px;
}

.map-card p {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

/* Footer */
.footer {
  background: var(--navy);
  color: var(--cream);
  font-family: var(--body);
}

.f-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 36px;
}

.f-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.f-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.f-logo .l1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  color: var(--yellow);
}

.f-logo .l2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 21px;
  color: #FFF;
}

.f-strap {
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  color: #FFF;
}

.f-brand address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 248, 240, 0.88);
}

.f-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.f-contact a {
  color: var(--yellow);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.f-contact a:hover {
  text-decoration: underline;
  color: var(--yellow);
}

.f-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.f-title {
  font-family: var(--hand);
  font-size: 19px;
  color: var(--yellow);
  margin-bottom: 6px;
}

.f-col a {
  color: rgba(255, 248, 240, 0.92);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 7px 0;
  display: inline-block;
}

.f-col a:hover {
  color: var(--yellow);
  text-decoration: underline;
}

.f-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 24px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  border-top: 2px dashed rgba(255, 248, 240, 0.3);
  font-size: 14px;
  color: rgba(255, 248, 240, 0.75);
}

.f-kids {
  background: var(--cream);
  padding: 18px 10px 0;
  overflow: hidden;
}

.f-kids>div {
  max-width: 1100px;
  margin: 0 auto;
}

/* Family Hub page */
.hub-hero {
  text-align: center;
  padding: 56px 20px 20px;
}

.hub-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
}

.hub-hero .lede {
  max-width: 58ch;
  margin: 0 auto;
}

.hub-illo {
  width: min(100%, 760px);
  display: block;
  margin: 26px auto 0;
  overflow: visible;
}

.chooser {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 16px;
}

.chooser a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px;
  border-radius: 16px;
  background: #FFF;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.chooser a:hover {
  transform: translateY(-2px);
}

.chooser .t {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
}

.chooser .s {
  font-size: 15px;
  color: var(--muted);
}

.chooser .ch-coral {
  border: 3px solid var(--red);
}

.chooser .ch-coral .t {
  color: var(--red-dark);
}

.chooser .ch-blue {
  border: 3px solid var(--blue);
}

.chooser .ch-blue .t {
  color: var(--blue-dark);
}

.chooser .ch-orange {
  border: 3px solid var(--orange);
}

.chooser .ch-orange .t {
  color: var(--orange-dark);
}

.chooser .ch-teal {
  border: 3px solid var(--teal);
}

.chooser .ch-teal .t {
  color: var(--teal-dark);
}

.zone {
  scroll-margin-top: 96px;
  padding: 64px 20px;
}

.zone-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 26px;
}

.zone-head svg {
  flex-shrink: 0;
}

.zone-head h2 {
  font-size: clamp(28px, 3.6vw, 38px);
}

.zone-head .lede {
  margin-top: 6px;
  max-width: 62ch;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 36px;
  align-items: start;
}

.bubble-card {
  background: var(--cream);
  border: 3px solid var(--red);
  border-radius: 20px 20px 20px 4px;
  padding: 26px 28px;
}

.bubble-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  color: var(--red-dark);
}

.bubble-card ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 9px;
  font-size: 16.5px;
}

.bubble-card .hand-note {
  margin: 16px 0 0;
  font-family: var(--hand);
  font-size: 20px;
  color: var(--purple);
}

.shelf {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #FFF;
}

.shelf li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px dashed rgba(17, 44, 107, 0.18);
}

.shelf li:last-child {
  border-bottom: none;
}

.shelf .d-title {
  font-weight: 700;
  color: var(--ink);
  font-size: 16px;
  display: block;
}

.shelf .d-meta {
  font-size: 13.5px;
  color: var(--muted);
  display: block;
}

.file-tag {
  flex-shrink: 0;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--yellow-ink);
  background: rgba(246, 196, 0, 0.25);
  border: 1.5px dashed var(--yellow-dark);
  padding: 5px 12px;
  border-radius: 999px;
}

.file-tag.big {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 12px;
}

.book-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 0;
  border: 3px solid var(--blue);
  border-radius: 20px;
  overflow: hidden;
  background: #FFF;
}

.book-panel>div {
  padding: 30px 32px;
}

.book-panel>div:first-child {
  border-right: 2px dashed rgba(8, 119, 181, 0.35);
}

.book-panel>div:last-child {
  background: rgba(8, 119, 181, 0.05);
}

.book-panel h3 {
  margin: 0 0 14px;
  font-size: 22px;
  color: var(--blue-dark);
}

.book-panel ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 9px;
  font-size: 16.5px;
}

.hand-note {
  font-family: var(--hand);
  font-size: 20px;
  color: var(--purple);
}

.reg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.reg-status {
  margin: 0 0 12px;
  font-weight: 800;
  color: var(--navy);
}

.reg-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 12px;
}

.reg-item {
  background: var(--cream);
  border: 2px solid rgba(17, 44, 107, 0.18);
  border-radius: 12px;
}

.reg-item.done {
  background: rgba(21, 150, 158, 0.1);
  border: 2px solid #15969E;
}

.reg-item label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 14px 16px;
}

.reg-item input {
  width: 22px;
  height: 22px;
  accent-color: #15969E;
  flex-shrink: 0;
}

.reg-item .d-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  display: block;
}

.reg-item .d-meta {
  font-size: 13.5px;
  color: var(--muted);
  display: block;
}

/* Long-form text pages (website privacy notice) */
.policy-text {
  max-width: 76ch;
  padding-bottom: 80px;
}

.policy-text h2 {
  font-size: 25px;
  color: var(--navy);
  margin: 40px 0 10px;
}

.policy-text h2:first-child {
  margin-top: 8px;
}

.policy-text p,
.policy-text li {
  font-size: 17px;
  line-height: 1.65;
}

.policy-text p {
  margin: 0 0 14px;
}

.policy-text ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.policy-text .updated {
  margin-top: 32px;
  color: var(--muted);
  font-size: 15px;
}

/* Document downloads (Family Hub registration list + policy shelf) */
.dl-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  color: #FFF;
  background: var(--purple);
  text-decoration: none;
  transition: transform 0.15s ease;
}

.dl-btn:hover {
  color: #FFF;
  transform: translateY(-2px);
}

.dl-size {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.85em;
  opacity: 0.85;
}

.reg-item.has-file {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 14px;
}

.reg-item.has-file label {
  flex: 1;
  min-width: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.policy-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  align-items: center;
}

.policy-tools input[type="search"] {
  flex: 1 1 240px;
  min-height: 46px;
  font-family: var(--body);
  font-size: 16px;
  padding: 8px 14px;
  border: 2px solid var(--navy);
  border-radius: 12px;
  background: #FFF;
  color: var(--ink);
}

.chip-btn.purple {
  border-color: var(--purple);
  color: var(--purple);
}

.chip-btn.purple[aria-pressed="true"] {
  background: var(--purple);
  color: #FFF;
}

.ofsted-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 32px;
  align-items: center;
}

.ofsted-panel h2 {
  color: #FFF;
  font-size: clamp(26px, 3.4vw, 34px);
  margin-bottom: 10px;
}

.ofsted-panel .lede {
  color: rgba(255, 248, 240, 0.92);
  max-width: 52ch;
}

.ofsted-facts {
  margin: 0;
  display: grid;
  gap: 10px;
  background: rgba(255, 248, 240, 0.07);
  border: 2px dashed rgba(255, 248, 240, 0.4);
  border-radius: 16px;
  padding: 22px 26px;
  font-size: 16px;
  color: var(--cream);
}

.ofsted-facts>div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ofsted-facts dt {
  font-weight: 800;
  color: var(--yellow);
  min-width: 130px;
}

.ofsted-facts dd {
  margin: 0;
}

.partner-hero {
  background: #FFF;
  border: 3px solid var(--teal);
  border-radius: 20px;
  padding: 26px 28px;
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 24px;
  align-items: center;
}

.partner-hero img {
  width: min(100%, 320px);
  height: 200px;
  display: block;
  object-fit: cover;
  background: #EDE4D6;
  border-radius: 14px;
  justify-self: center;
}

.partners {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 14px;
}

.partners li {
  background: #FFF;
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}

.partners strong {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  color: var(--navy);
}

.partners span {
  font-size: 15px;
  color: var(--muted);
}

/* Partner names that link to external sites (open in a new tab) */
.partner-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(17, 44, 107, 0.25);
}

.partner-link:hover {
  color: var(--red);
  text-decoration-color: currentColor;
}

.partners .partner-link .ext,
.partner-hero .partner-link .ext {
  font-size: 0.85em;
  color: var(--blue);
}

.partners li:nth-child(1) {
  border-top: 4px solid var(--purple);
}

.partners li:nth-child(2) {
  border-top: 4px solid var(--red);
}

.partners li:nth-child(3) {
  border-top: 4px solid var(--blue);
}

.partners li:nth-child(4) {
  border-top: 4px solid var(--orange);
}

.partners li:nth-child(5) {
  border-top: 4px solid var(--red-dark);
}

.partners li:nth-child(6) {
  border-top: 4px solid var(--teal);
}

/* About page */
.promises-sec {
  background: var(--red);
  text-align: center;
}

.promises-sec h2 {
  color: #FFF;
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 8px;
}

.promises-sec .lede {
  color: rgba(255, 255, 255, 0.92);
  max-width: 48ch;
  margin: 0 auto 40px;
}

.promises {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.promise {
  margin: 0;
  background: var(--cream);
  border: 3px solid #FFF;
  box-shadow: 0 6px 14px rgba(25, 33, 59, 0.22);
  border-radius: 16px;
  padding: 20px 26px;
  font-family: var(--hand);
  font-size: 24px;
}

.promise:nth-child(1) {
  color: var(--navy);
  transform: rotate(-1.6deg);
}

.promise:nth-child(2) {
  color: var(--red-dark);
  transform: rotate(1.2deg);
}

.promise:nth-child(3) {
  color: var(--teal-dark);
  transform: rotate(-0.8deg);
}

.promise:nth-child(4) {
  color: var(--purple);
  transform: rotate(1.4deg);
}

.promise:nth-child(5) {
  color: var(--blue-dark);
  transform: rotate(-1.2deg);
}

.cta-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 24px;
}

.cta-card {
  border-radius: 20px;
  padding: 30px 32px;
}

.cta-card h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.cta-card p {
  margin: 0 0 18px;
  font-size: 16.5px;
}

.cta-card .row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-card.dark {
  background: var(--navy);
  color: var(--cream);
}

.cta-card.dark h2 {
  color: #FFF;
}

.cta-card.dark p {
  color: rgba(255, 248, 240, 0.92);
}

.cta-card.light {
  background: var(--cream);
  border: 3px solid var(--red);
}

/* Sessions page */
.week-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 12px;
}

.day-card {
  background: #FFF;
  border: 3px solid var(--navy);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.day-card .d-name {
  margin: 0;
  background: var(--navy);
  color: #FFF;
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  text-align: center;
  padding: 9px 8px;
}

.day-card .d-body {
  padding: 12px 14px;
  display: grid;
  gap: 8px;
  flex: 1;
}

.day-card .d-body p {
  margin: 0;
  font-size: 14.5px;
}

.day-card .d-note {
  margin: 0;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  border-top: 2px dashed var(--line);
  background: rgba(17, 44, 107, 0.06);
  color: var(--muted);
}

.day-card .d-note.holiday {
  background: rgba(21, 150, 158, 0.14);
  color: var(--teal-dark);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
}

.price .amount {
  font-family: var(--display);
  font-weight: 700;
  font-size: 54px;
  color: var(--red);
}

.price .per {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 18px;
}

.note-card {
  background: #FFF;
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
}

.note-card h3 {
  margin: 0 0 6px;
  font-size: 19px;
}

.note-card p {
  margin: 0;
  font-size: 16px;
}

.note-card.nb-blue {
  border-top: 4px solid var(--blue);
}

.note-card.nb-blue h3 {
  color: var(--blue-dark);
}

.note-card.nb-orange {
  border-top: 4px solid var(--orange);
}

.note-card.nb-orange h3 {
  color: var(--orange-dark);
}

.note-card.nb-teal {
  border-top: 4px solid var(--teal);
}

.note-card.nb-teal h3 {
  color: var(--teal-dark);
}

/* Staff page */
.staff-list {
  display: grid;
  gap: 28px;
}

.staff-card {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  background: #FFF;
  border-radius: 20px;
  padding: 26px 28px;
  max-width: 980px;
  width: 100%;
}

.staff-card:nth-child(even) {
  margin-left: auto;
}

.staff-frame {
  flex: 0 0 auto;
  width: 190px;
  height: 210px;
  background: var(--cream);
  border-radius: 12px;
  padding: 8px;
}

.staff-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #EDE4D6;
}

.staff-body {
  flex: 1 1 300px;
  min-width: 0;
}

.staff-name-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.staff-card h2 {
  font-size: 27px;
}

.role-pill {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  color: #FFF;
  padding: 4px 14px;
  border-radius: 999px;
}

.staff-card .blurb {
  margin: 10px 0 14px;
  font-size: 16.5px;
  max-width: 62ch;
  text-wrap: pretty;
}

.tag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li {
  font-size: 13.5px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.staff-card .joined {
  margin: 12px 0 0;
  font-family: var(--hand);
  font-size: 19px;
  color: var(--purple);
}

.staff-card.s-coral {
  border: 3px solid var(--red);
  transform: rotate(-0.6deg);
}

.staff-card.s-coral .staff-frame {
  border: 2.5px dashed var(--red);
  transform: rotate(-1.4deg);
}

.staff-card.s-coral .role-pill {
  background: var(--red);
}

.staff-card.s-coral .tag-list li {
  color: var(--red-dark);
  border: 1.5px solid var(--red-dark);
}

.staff-card.s-blue {
  border: 3px solid var(--blue);
  transform: rotate(0.5deg);
}

.staff-card.s-blue .staff-frame {
  border: 2.5px dashed var(--blue);
  transform: rotate(1.4deg);
}

.staff-card.s-blue .role-pill {
  background: var(--blue);
}

.staff-card.s-blue .tag-list li {
  color: var(--blue-dark);
  border: 1.5px solid var(--blue-dark);
}

.staff-card.s-purple {
  border: 3px solid var(--purple);
  transform: rotate(-0.5deg);
}

.staff-card.s-purple .staff-frame {
  border: 2.5px dashed var(--purple);
  transform: rotate(-1.4deg);
}

.staff-card.s-purple .role-pill {
  background: var(--purple);
}

.staff-card.s-purple .tag-list li {
  color: var(--purple);
  border: 1.5px solid var(--purple);
}

.staff-card.s-teal {
  border: 3px solid var(--teal);
  transform: rotate(0.6deg);
}

.staff-card.s-teal .staff-frame {
  border: 2.5px dashed var(--teal);
  transform: rotate(1.4deg);
}

.staff-card.s-teal .role-pill {
  background: var(--teal);
}

.staff-card.s-teal .tag-list li {
  color: var(--teal-dark);
  border: 1.5px solid var(--teal-dark);
}

.cta-band {
  background: var(--navy);
  padding: 56px 20px;
}

.cta-band .inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-band h2 {
  color: #FFF;
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 6px;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 248, 240, 0.92);
  font-size: 17px;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 40px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 22px;
}

.contact-card {
  background: #FFF;
  border: 3px solid var(--navy);
  border-radius: 20px;
  padding: 28px 30px;
}

.contact-card h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

.contact-card address {
  font-style: normal;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.note-box {
  background: rgba(246, 196, 0, 0.18);
  border: 2px dashed var(--yellow-dark);
  border-radius: 16px;
  padding: 20px 24px;
}

.note-box p {
  margin: 0;
  font-size: 15.5px;
  color: #6B5410;
}

.contact-form {
  scroll-margin-top: 96px;
  background: #FFF;
  border: 3px solid var(--red);
  border-radius: 20px;
  padding: 28px 30px;
  display: grid;
  gap: 18px;
}

.contact-form h2 {
  font-size: 24px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 800;
  color: var(--navy);
  font-size: 15px;
}

.field .req {
  color: var(--red);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input,
.field select,
.field textarea {
  background: var(--cream);
}

.field .err-msg {
  display: none;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--red-dark);
}

.field.invalid .err-msg {
  display: block;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border: 2.5px solid var(--red);
  background: rgba(217, 50, 69, 0.04);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 18px;
}

.consent-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.consent-row input {
  width: 22px;
  height: 22px;
  accent-color: var(--red);
  flex-shrink: 0;
  margin-top: 3px;
}

.consent-row label {
  font-size: 15px;
}

.form-alert {
  display: none;
  border-radius: 12px;
  padding: 14px 18px;
}

.form-alert.show {
  display: block;
}

.form-alert.ok {
  background: rgba(21, 150, 158, 0.12);
  border: 2px solid #15969E;
  padding: 16px 20px;
}

.form-alert.ok .t {
  margin: 0;
  font-weight: 800;
  color: var(--teal-dark);
}

.form-alert.ok .s {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--ink);
}

.form-alert.err {
  background: rgba(217, 50, 69, 0.07);
  border: 2px solid var(--red);
}

.form-alert.err p {
  margin: 0;
  font-weight: 800;
  color: var(--red-dark);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* Page hero (inner pages) */
.page-head {
  padding: 56px 20px 36px;
}

.page-head h1 {
  font-size: clamp(32px, 4.4vw, 48px);
  max-width: 20ch;
  text-wrap: pretty;
}

.page-head .lede {
  max-width: 62ch;
}

.about-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 44px;
  align-items: center;
  padding: 56px 20px 40px;
}

/* Responsive */
@media (max-width: 920px) {
  body {
    padding-bottom: 74px;
  }

  .nav,
  .hub-wrap,
  .desktop-only {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .sticky-bar {
    display: flex;
  }

  .head-actions .book-btn {
    font-size: 15px;
    padding: 10px 14px;
    border-radius: 10px;
    min-height: 42px;
    box-shadow: none;
    border: none;
  }
}

@media (min-width: 921px) {

  .mobile-panel,
  .sticky-bar {
    display: none !important;
  }
}

@media (max-width: 700px) {
  .gal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .g-item.span3,
  .g-item.span2 {
    grid-column: span 1;
  }

  .g-item.span3 img,
  .g-item.span2 img {
    height: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
