:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #61646b;
  --paper: #f4f5f7;
  --white: #ffffff;
  --red: #9d1016;
  --red-dark: #69080c;
  --black: #0c0c0f;
  --gold: #c8a14a;
  --blue: #3c348f;
  --line: rgba(17, 17, 17, 0.12);
  --shadow: 0 26px 80px rgba(12, 12, 15, 0.15);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #eceef2;
  color: var(--ink);
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
select,
input,
textarea {
  border-radius: var(--radius);
}

.deck-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(240px, 390px) 1fr;
  gap: 20px;
  align-items: center;
  padding: 12px clamp(16px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.deck-brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.deck-brand img {
  width: 82px;
  height: 42px;
  object-fit: contain;
}

.deck-brand strong,
.deck-brand small {
  display: block;
}

.deck-brand strong {
  font-size: 14px;
  line-height: 1.1;
}

.deck-brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.prototype-tabs {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.prototype-tabs::-webkit-scrollbar {
  display: none;
}

.tab-button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #f9fafb;
  color: #191a1f;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.tab-button.is-active {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

main {
  width: min(1440px, 100%);
  margin: 0 auto;
}

.review-brief,
.concept-board {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(34px, 6vw, 82px) clamp(18px, 5vw, 72px);
}

.review-brief h1,
.concept-board h2 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0;
}

.review-brief p,
.concept-board p {
  max-width: 760px;
  color: #4f535d;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
}

.deck-label,
.micro {
  margin: 0 0 14px;
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brief-card {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.brief-card h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

.brief-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brief-card li {
  position: relative;
  padding-left: 22px;
  color: #4f535d;
  line-height: 1.45;
}

.brief-card li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
  content: "";
}

.concept-board {
  padding-top: 18px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.concept-board h2 {
  font-size: clamp(32px, 4vw, 56px);
}

.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.concept-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 44px rgba(12, 12, 15, 0.12);
}

.concept-grid img:first-child {
  grid-column: 1 / -1;
}

.prototype {
  display: none;
  margin: 28px clamp(12px, 2.5vw, 36px) 72px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, 0.12);
  box-shadow: 0 30px 90px rgba(12, 12, 15, 0.13);
}

.prototype.is-visible {
  display: block;
}

.site-nav {
  display: grid;
  grid-template-columns: minmax(170px, 270px) 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 86px;
  padding: 14px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  background: rgba(255, 255, 255, 0.94);
}

.site-logo img {
  width: 180px;
  height: 58px;
  object-fit: contain;
}

.wordmark {
  color: var(--red-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 900;
}

.site-links {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 36px);
  color: #25262b;
  font-size: 14px;
  font-weight: 800;
}

.nav-cta,
.primary-action,
.secondary-action,
.slot-button,
.request-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.nav-cta,
.primary-action,
.request-button {
  background: var(--red);
  color: var(--white);
}

.primary-action.light {
  background: #f4f4f6;
  color: #111111;
}

.secondary-action {
  border-color: rgba(17, 17, 17, 0.18);
  background: rgba(255, 255, 255, 0.86);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  min-height: 690px;
  padding: clamp(42px, 7vw, 92px) clamp(20px, 5vw, 70px);
}

.hero-copy h2,
.split-section h3,
.service-band h3,
.portfolio-hero h2,
.local-services h3,
.trust-hero h2,
.booking-contact h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy p,
.split-section p,
.service-band p,
.portfolio-hero p,
.booking-contact p,
.trust-hero p {
  max-width: 640px;
  color: #53555d;
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions,
.quick-steps,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 26px;
}

.trust-row span,
.quick-steps span {
  padding: 8px 12px;
  border: 1px solid rgba(157, 16, 22, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  color: #25262b;
  font-size: 13px;
  font-weight: 900;
}

.champions-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.72)),
    #f2f3f5;
}

.champions-media {
  overflow: hidden;
  min-height: 520px;
  border-radius: 0 0 96px 0;
  box-shadow: var(--shadow);
}

.champions-media img,
.booking-contact img,
.journey-photo-wrap img,
.trust-photo-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-band,
.split-section,
.local-services,
.booking-contact {
  padding: clamp(38px, 6vw, 78px) clamp(20px, 5vw, 70px);
}

.service-band {
  background: #f8f8fa;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.service-band h3,
.local-services h3,
.split-section h3,
.booking-contact h3 {
  max-width: 800px;
  font-size: clamp(31px, 4vw, 56px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.service-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-grid div,
.program-cards div,
.route-strip div,
.proof-band div {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 22px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: var(--white);
}

.service-grid strong,
.program-cards strong,
.route-strip strong,
.proof-band strong {
  font-size: 18px;
}

.service-grid span,
.program-cards span,
.route-strip small,
.proof-band span {
  color: #5d6068;
  line-height: 1.45;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.image-proof {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  padding: 10px;
  background: #111111;
}

.image-proof img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.class-widget {
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, 0.13);
  box-shadow: var(--shadow);
}

.class-card {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
}

.class-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

.class-head h4 {
  margin: 0;
  font-size: 26px;
  line-height: 1.1;
}

.class-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.availability-chip {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: rgba(157, 16, 22, 0.1);
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 900;
}

.class-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

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

.field label,
.calendar-label,
.slots-label {
  color: #383a42;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.field select,
.field input,
.field textarea {
  min-height: 44px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(17, 17, 17, 0.17);
  background: #fbfbfd;
  color: #17181e;
  font-size: 14px;
}

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

.recommendation {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-left: 4px solid var(--red);
  background: #f7f7fa;
}

.recommendation span {
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.recommendation strong {
  font-size: 24px;
}

.recommendation p {
  margin: 0;
  color: #555862;
  line-height: 1.45;
}

.calendar {
  display: grid;
  gap: 10px;
}

.calendar-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}

.next-note {
  max-width: 55%;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.weekday {
  color: #767982;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day {
  display: grid;
  place-items: center;
  min-height: 48px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: #f5f6f8;
  color: #7a7d86;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.calendar-day.has-slots {
  border-color: rgba(157, 16, 22, 0.28);
  background: rgba(157, 16, 22, 0.08);
  color: var(--red-dark);
}

.calendar-day.is-selected {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.calendar-day small {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  font-weight: 800;
}

.slot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.slot-button {
  min-height: 38px;
  padding: 0 13px;
  border-color: rgba(17, 17, 17, 0.15);
  background: #f9fafb;
  color: #23252c;
}

.slot-button.is-selected {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.request-button {
  width: 100%;
}

.status-line {
  margin: 0;
  color: #6a6d75;
  font-size: 12px;
  line-height: 1.45;
}

.theme-parents {
  background: #f7f8fb;
}

.parents-hero {
  grid-template-columns: minmax(0, 0.82fr) minmax(410px, 1fr);
  min-height: 660px;
  align-items: start;
  background:
    linear-gradient(110deg, rgba(247, 248, 251, 0.98) 0%, rgba(247, 248, 251, 0.76) 50%, rgba(157, 16, 22, 0.12) 100%),
    url("assets/site/team-hero.jpg") right center / 54% 100% no-repeat;
}

.parents-hero .hero-copy h2 {
  max-width: 590px;
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1;
}

.hero-widget {
  align-self: center;
}

.route-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 clamp(20px, 5vw, 70px) clamp(44px, 6vw, 72px);
}

.route-day {
  width: max-content;
  padding: 6px 9px;
  background: rgba(157, 16, 22, 0.1);
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 900;
}

.booking-contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  background: var(--white);
}

.booking-contact img {
  height: 380px;
  object-fit: cover;
}

.theme-programs {
  background: var(--black);
  color: #fbfbfd;
}

.program-nav {
  background: #101014;
  border-color: rgba(255, 255, 255, 0.13);
}

.program-nav .wordmark,
.program-nav .site-links {
  color: #fbfbfd;
}

.portfolio-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(380px, 1.26fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  min-height: 740px;
  padding: clamp(38px, 6vw, 78px) clamp(20px, 5vw, 70px);
}

.portfolio-hero p,
.dark-panel p {
  color: rgba(251, 251, 253, 0.76);
}

.portfolio-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-auto-rows: 185px;
  gap: 10px;
}

.portfolio-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-mosaic img:first-child {
  grid-row: span 2;
}

.portfolio-mosaic img:last-child {
  grid-column: 1 / -1;
}

.program-cards,
.proof-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0 clamp(20px, 5vw, 70px) clamp(44px, 6vw, 72px);
}

.program-cards div,
.proof-band div {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
}

.dark-panel {
  background: #15151b;
}

.dark-panel .class-widget {
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.theme-journey {
  background: #fbfbfd;
}

.journey-hero {
  grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1.05fr);
  background: linear-gradient(120deg, #ffffff 0%, #f3f4f8 100%);
}

.journey-photo-wrap {
  overflow: hidden;
  height: 560px;
  border-radius: 96px 0 0 0;
  box-shadow: var(--shadow);
}

.journey-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.journey-map div {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(157, 16, 22, 0.16);
  background: var(--white);
}

.journey-map strong {
  color: var(--red-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.journey-map span {
  color: #5f626b;
  font-weight: 800;
}

.journey-booking {
  background: #f8f8fb;
}

.proof-band {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: clamp(38px, 6vw, 78px);
  background: #111111;
}

.theme-trust {
  background: #ffffff;
}

.trust-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  min-height: 690px;
  padding: clamp(42px, 7vw, 92px) clamp(20px, 5vw, 70px);
  background: #ffffff;
}

.trust-photo-stack {
  position: relative;
  min-height: 520px;
}

.trust-photo-stack img {
  height: 520px;
  border-radius: 0 0 0 96px;
  box-shadow: var(--shadow);
}

.quote-card {
  position: absolute;
  right: 20px;
  bottom: -20px;
  display: grid;
  gap: 8px;
  width: min(360px, 78%);
  padding: 24px;
  border-left: 5px solid var(--red);
  background: #ffffff;
  box-shadow: 0 18px 55px rgba(12, 12, 15, 0.18);
}

.quote-card span {
  color: #555862;
  line-height: 1.45;
}

.local-services {
  background: #f7f7fa;
}

.local-booking {
  background: #ffffff;
}

.contact-strip {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 34px clamp(20px, 5vw, 70px);
  background: var(--black);
  color: var(--white);
}

.contact-strip div {
  display: grid;
  gap: 6px;
}

.contact-strip span {
  color: rgba(255, 255, 255, 0.72);
}

.contact-strip a {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  font-weight: 900;
}

@media (max-width: 980px) {
  .deck-header {
    grid-template-columns: 1fr;
  }

  .prototype-tabs {
    justify-content: flex-start;
  }

  .review-brief,
  .concept-board,
  .hero,
  .parents-hero,
  .portfolio-hero,
  .journey-hero,
  .trust-hero,
  .split-section,
  .booking-contact {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .service-grid.compact,
  .program-cards,
  .route-strip,
  .proof-band {
    grid-template-columns: 1fr 1fr;
  }

  .site-nav {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .parents-hero {
    background:
      linear-gradient(180deg, rgba(247, 248, 251, 0.98), rgba(247, 248, 251, 0.82)),
      url("assets/site/team-hero.jpg") center bottom / cover no-repeat;
  }
}

@media (max-width: 640px) {
  .deck-header {
    position: static;
  }

  .deck-brand {
    align-items: flex-start;
  }

  .review-brief,
  .concept-board {
    padding: 30px 18px;
  }

  .review-brief h1,
  .concept-board h2,
  .hero-copy h2,
  .trust-hero h2,
  .portfolio-hero h2 {
    font-size: clamp(38px, 14vw, 58px);
  }

  .prototype {
    margin: 18px 0 56px;
    border-left: 0;
    border-right: 0;
  }

  .concept-grid,
  .service-grid,
  .service-grid.compact,
  .program-cards,
  .route-strip,
  .proof-band,
  .class-fields,
  .journey-map {
    grid-template-columns: 1fr;
  }

  .hero,
  .parents-hero,
  .portfolio-hero,
  .journey-hero,
  .trust-hero {
    min-height: auto;
    padding: 42px 20px;
  }

  .champions-media,
  .journey-photo-wrap,
  .trust-photo-stack,
  .trust-photo-stack img {
    min-height: 0;
    height: 320px;
    border-radius: 0;
  }

  .image-proof {
    grid-template-columns: 1fr;
  }

  .portfolio-mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .portfolio-mosaic img:first-child,
  .portfolio-mosaic img:last-child {
    grid-column: auto;
    grid-row: auto;
  }

  .calendar-grid {
    gap: 4px;
  }

  .calendar-day {
    min-height: 43px;
    font-size: 12px;
  }

  .calendar-day small {
    font-size: 8px;
  }

  .calendar-top {
    display: grid;
  }

  .next-note {
    max-width: none;
    text-align: left;
  }

  .contact-strip {
    display: grid;
  }
}
