/* Winston Heights Daycare — static recreation
   Source reference: https://winstonheightsdaycare.ca/ */

:root {
  --purple: #9b59b6;
  --purple-hover: #b382c8;
  --purple-deep: #7d3c98;
  --blue: #399adb;
  --blue-btn: #3498db;
  --blue-btn-hover: #f4a425;
  --accent: #1c9bf1;
  --accent-dark: #0c7bc6;
  --navy: #002952;
  --footer-ink: #0a2a4a;
  --green: #1d6b32;
  --green-hero: #1e7a3a;
  --orange: #f08a2a;
  --orange-tag: #ef8c3a;
  --gold: #c9a227;
  --gold-light: #e8c96a;
  --cream: #fff8ee;
  --text: #222222;
  --heading: #222222;
  --muted: #444444;
  --white: #ffffff;
  --play-red: #ec1010;
  --learn-blue: #177fd9;
  --care-gold: #ffd300;
  --food-green: #60c82a;
  --flip-pink: #e85a71;
  --flip-blue: #5aa1e3;
  --flip-gold: #f7be68;
  --flip-green: #6dab3c;
  --pink: #d989a8;
  --pink-dark: #c56e90;
  --pink-soft: #f4b6c8;
  --container: 1080px;
  --header-width: 1400px;
  --programs-width: 1600px;
  --header-pad: 0px;
  --header-h: 70px;
  --logo-h: 80px;
  --logo-overlap: 16px;
  --radius: 8px;
  --focus: 2px solid var(--accent);
  --font-body: Lato, "Segoe UI", Tahoma, sans-serif;
  --font-heading: Quicksand, "Trebuchet MS", sans-serif;
  --hero-interval: 5500ms;
}

/* Typography
   One system for every page:
   Lato  = body, navigation, buttons, forms, footer
   Quicksand = headings and display text
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--heading);
}

button,
input,
select,
textarea {
  font-family: inherit;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 10000;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}

.skip-link:focus,
.skip-link:focus-visible {
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  padding: 8px 14px;
  border-radius: 4px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.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;
}

/* Header */
.whd-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow: visible;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.whd-accent-bar {
  height: 3px;
  background: var(--pink);
}

.whd-header__inner {
  width: min(100% - 32px, var(--header-width));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  height: var(--header-h);
  min-height: var(--header-h);
  padding-block: var(--header-pad);
  overflow: visible;
}

.whd-header__logo {
  display: flex;
  align-items: flex-end;
  flex-shrink: 0;
  position: relative;
  z-index: 1100;
  height: var(--header-h);
  padding: 4px 8px 0 0;
}

.whd-header__logo img {
  height: var(--logo-h);
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: left center;
  transform: translateY(var(--logo-overlap));
  background: var(--white);
  padding: 3px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 20, 40, 0.14);
}

.whd-header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.whd-header__nav ul {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px 42px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.whd-header__nav a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--navy);
  padding: 4px 0 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.whd-header__nav a:hover,
.whd-header__nav a:focus-visible {
  color: var(--pink-dark);
  border-bottom-color: var(--pink);
}

.whd-header__nav a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--pink);
  font-weight: 700;
}

.whd-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  z-index: 1;
  flex-shrink: 0;
}

.whd-header__contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  line-height: 1.2;
}

.whd-header__contact a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}

.whd-header__contact a:hover {
  color: var(--pink-dark);
  text-decoration: underline;
}

.whd-btn-tour {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  background: var(--pink);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(197, 110, 144, 0.28);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.whd-btn-tour:hover {
  background: var(--pink-dark);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(197, 110, 144, 0.36);
}

.whd-btn-tour:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: #000;
}

.menu-toggle__icon {
  display: block;
  width: 24px;
  height: 18px;
  position: relative;
}

.menu-toggle__icon span,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s ease;
}

.menu-toggle__icon span {
  top: 8px;
}

.menu-toggle__icon::before {
  top: 0;
}

.menu-toggle__icon::after {
  top: 16px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
  top: 8px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
  top: 8px;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
  background: #f7f7f7;
  border-top: 1px solid #eee;
}

.mobile-nav.is-open {
  display: block;
}

@media (min-width: 768px) {
  .mobile-nav,
  .mobile-nav.is-open {
    display: none;
  }
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 8px 0 20px;
}

.mobile-nav a {
  display: block;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: #222;
}

.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  color: var(--accent);
}

.mobile-nav .whd-btn-tour {
  display: inline-flex;
  margin: 8px 20px 4px;
  width: calc(100% - 40px);
}

/* Hero carousel */
.hero {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
  isolation: isolate;
}

.hero:focus {
  outline: none;
}

.hero:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.hero__slides {
  position: relative;
  aspect-ratio: 20 / 9;
  min-height: 380px;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 1.1s ease, transform 1.1s ease;
  pointer-events: none;
}

.hero__slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 1;
}

.hero__slide.is-leaving {
  opacity: 0;
  transform: translateX(-12px);
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__slide picture {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.hero__slide:nth-child(1) img { object-position: center 40%; }
.hero__slide:nth-child(2) img { object-position: 70% 40%; }
.hero__slide:nth-child(3) img { object-position: 72% 32%; }
.hero__slide:nth-child(4) img { object-position: center 84%; }

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 18, 28, 0.12) 0%, rgba(8, 18, 28, 0.18) 42%, rgba(8, 18, 28, 0.58) 100%),
    linear-gradient(90deg, rgba(8, 18, 28, 0.28) 0%, rgba(8, 18, 28, 0.08) 48%, transparent 72%);
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 64px 8% 48px;
  pointer-events: none;
}

.hero-card {
  position: relative;
  background: transparent;
  color: var(--white);
  text-align: left;
  padding: 0;
  max-width: min(680px, 78vw);
  box-shadow: none;
  pointer-events: auto;
}

.hero-card__messages {
  display: grid;
}

.hero-card__copy {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-card__copy.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-card__headline {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1.08;
  color: var(--white);
  letter-spacing: 0.01em;
  max-width: 22ch;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.58), 0 1px 3px rgba(0, 0, 0, 0.72);
}

.hero-card__accent {
  color: var(--pink-soft);
  font-weight: 700;
}

.hero-card__text {
  margin: 12px 0 0;
  max-width: 36em;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 255, 255, 1);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.hero-card__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 12px 26px;
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: var(--white);
}

.hero-card__contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero-card__contact a:hover {
  color: #ffe3c2;
  text-decoration: underline;
}

.hero-card__contact svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.hero-card__cta {
  margin-top: 14px;
  display: inline-flex;
}

/* Anniversary badge */
.anniversary-stamp {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-52%);
  z-index: 4;
  width: min(230px, 24vw);
  pointer-events: none;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.anniversary-stamp img {
  width: 100%;
  height: auto;
  display: block;
  background: transparent;
  border: none;
  box-shadow: none;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.18));
}

/* Carousel controls */
.hero__controls {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.hero__arrow {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--green);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero__arrow:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.05);
}

.hero__arrow--prev {
  left: 16px;
}

.hero__arrow--next {
  right: 16px;
}

.hero__arrow svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero__dots {
  pointer-events: auto;
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 6;
}

.hero__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12);
}

.hero__dot[aria-current="true"] {
  background: var(--white);
  transform: scale(1.15);
}

/* Sections */
.section-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 32px;
  text-align: center;
  margin: 0 0 24px;
  color: inherit;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 50px;
}

.prose p,
.prose li {
  font-size: 20px;
  line-height: 1.7;
}

.prose ul {
  margin: 0;
  padding-left: 1.2em;
}

.prose li + li {
  margin-top: 0.55em;
}

/* About / Why */
.band-purple {
  position: relative;
  background: var(--purple);
  color: var(--white);
  padding: 90px 20px 50px;
}

.band-blue {
  position: relative;
  background: var(--blue);
  color: var(--white);
  padding: 90px 20px 50px;
}

.divider {
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 48px;
  overflow: hidden;
  line-height: 0;
}

.divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Feature photographs */
.features {
  padding: 48px 20px 36px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 22px;
  max-width: 1400px;
  margin: 0 auto;
}

.feature {
  text-align: left;
}

.feature__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  background: #f3f3f3;
}

.feature h3 {
  margin: 14px 0 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--heading);
}

.feature p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

.feature--play h3 { color: var(--play-red); }
.feature--learn h3 { color: var(--learn-blue); }
.feature--care h3 { color: #d4a000; }
.feature--food h3 { color: var(--food-green); }

/* Curriculum */
.curriculum .prose {
  max-width: 800px;
  margin: 0 auto;
}

/* Homepage programs */
.whd-programs {
  padding: 64px 20px 36px;
  background: var(--white);
}

.whd-programs__inner {
  max-width: var(--programs-width);
  margin: 0 auto;
}

.whd-programs__heading,
.whd-core-values__heading {
  margin: 0 0 36px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 32px;
  color: var(--heading);
}

.whd-programs__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 28px;
}

.whd-program-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(34, 34, 34, 0.08);
}

.whd-program-card__media {
  display: block;
  aspect-ratio: 1 / 1;
  min-height: 280px;
  overflow: hidden;
  background: #f3f3f3;
}

.whd-program-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.whd-program-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 24px;
}

.whd-program-card__body h3 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--heading);
}

.whd-program-card__body p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

.whd-program-card__cta {
  margin-top: auto;
  align-self: flex-start;
}

/* Core values */
.whd-core-values {
  padding: 28px 20px 64px;
  background: #fbf7fd;
}

.whd-core-values__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.whd-core-values__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}

.whd-value-card {
  grid-column: span 2;
  background: var(--white);
  border-radius: 12px;
  padding: 28px 24px 26px;
  box-shadow: 0 8px 22px rgba(155, 89, 182, 0.08);
  border: 1px solid #f0e4f6;
  text-align: center;
}

.whd-value-card:nth-child(4) {
  grid-column: 2 / 4;
}

.whd-value-card:nth-child(5) {
  grid-column: 4 / 6;
}

.whd-value-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f3e9f8;
  color: var(--purple);
}

.whd-value-card__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.whd-value-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--heading);
}

.whd-value-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

/* Program cards */
.programs-grid {
  padding: 40px 20px 50px;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 24px;
}

.program-card {
  text-align: center;
}

.program-card img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 1;
  object-fit: cover;
}

.program-card figcaption {
  margin-top: 10px;
  font-size: 16px;
  color: #555;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 10px 22px;
  background: var(--blue-btn);
  color: var(--white) !important;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn:hover {
  background: var(--blue-btn-hover);
}

.btn--light {
  background: var(--white);
  color: var(--purple) !important;
  padding: 8px 40px;
  font-size: 20px;
}

.btn--light:hover {
  background: var(--purple-hover);
  color: var(--white) !important;
}

/* Parent reviews */
.whd-reviews {
  background: #fbf7f9;
  padding: 56px 20px 64px;
}

.whd-reviews__inner {
  width: min(100% - 32px, 1080px);
  margin-inline: auto;
  text-align: center;
}

.whd-reviews__heading {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--navy);
  letter-spacing: 0.02em;
}

.whd-reviews__sub {
  margin: 12px auto 0;
  max-width: 38em;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.whd-reviews__note {
  margin: 22px auto 0;
  max-width: 34em;
  font-family: var(--font-body);
  font-size: 16px;
  color: #555;
}

.whd-reviews__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 11px 26px;
  border: 1.5px solid var(--pink);
  border-radius: 999px;
  color: var(--pink-dark);
  background: var(--white);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, color 0.2s ease;
}

.whd-reviews__link:hover,
.whd-reviews__link:focus-visible {
  background: var(--pink);
  color: var(--white);
}

/* CTA / Lilio */
.cta-band {
  background: var(--purple);
  color: var(--white);
  padding: 30px 20px 40px;
}

.cta-band__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.message-box {
  background: #efe3f5;
  color: #4a2a5a;
  border-radius: 8px;
  padding: 22px 24px 22px 28px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(155, 89, 182, 0.25);
}

.message-box p {
  margin: 0 0 0.8em;
  font-size: 18px;
}

.message-box p:last-child {
  margin-bottom: 0;
}

.cta-band .btn--light {
  margin-top: 8px;
}

/* Programs page */
.page-banner {
  position: relative;
  background: var(--blue);
  color: var(--white);
  padding: 110px 20px 36px;
  text-align: center;
}

.page-banner h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 36px;
}

.program-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 40px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 50px 20px 20px;
  scroll-margin-top: 140px;
}

.program-row img {
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  border-radius: 8px;
  aspect-ratio: 1;
  object-fit: cover;
}

.program-row h2 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 26px;
  color: var(--muted);
}

.program-row p {
  margin: 0;
  font-size: 20px;
  color: var(--muted);
}

.program-row figcaption {
  text-align: center;
  margin-top: 8px;
  color: #666;
}

.book-tour {
  padding: 10px 0 0;
}

.book-tour img {
  width: 100%;
}

/* Contact */
.contact-hero img {
  width: 100%;
}

.whd-contact-main {
  width: min(100% - 40px, 1200px);
  margin: -24px auto 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.inquiry {
  margin: 0;
  padding: 18px 22px 30px;
  border: 5px solid #48aede;
  border-radius: 8px;
  background: var(--white);
  position: relative;
}

.inquiry h1 {
  margin: 8px 0 18px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 600;
  color: #48aede;
  border-bottom: 2px solid #48aede;
  display: table;
  margin-inline: auto;
  padding-bottom: 6px;
}

.inquiry fieldset {
  border: 0;
  margin: 0 0 18px;
  padding: 0;
}

.inquiry legend,
.inquiry label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.inquiry .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.inquiry input[type="text"],
.inquiry input[type="email"],
.inquiry input[type="tel"],
.inquiry input[type="date"],
.inquiry select,
.inquiry textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
}

.inquiry .form-field {
  margin-bottom: 16px;
}

.inquiry .form-field input,
.inquiry .form-field textarea {
  margin-bottom: 0;
}

.inquiry .form-field.is-invalid input,
.inquiry .form-field.is-invalid textarea {
  border-color: #b42318;
}

.form-error {
  margin: 6px 0 0;
  min-height: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #b42318;
}

.inquiry .honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.inquiry [type="submit"] {
  margin-top: 6px;
  min-width: 140px;
  cursor: pointer;
}

.inquiry [type="submit"]:disabled {
  opacity: 0.65;
  cursor: wait;
}

.choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 10px;
}

.choice-list label {
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.form-status {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 4px;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: #e8f6ee;
  color: #14532d;
}

.form-status.is-error {
  background: #fde8e8;
  color: #7f1d1d;
}

.whd-map {
  min-height: 480px;
  border-radius: 8px;
  overflow: hidden;
  background: #eef3f7;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.whd-map iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
  display: block;
}

/* Gallery */
.gallery-intro {
  text-align: center;
  padding: 48px 20px 10px;
}

.gallery-intro h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 36px;
  color: #1d761d;
}

.gallery-intro p {
  margin: 8px 0 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 22px;
  color: #ff914d;
}

.gallery-rule {
  width: min(1200px, 92%);
  height: 2px;
  background: #ff914d;
  margin: 28px auto 40px;
}

.gallery-grid {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Footer */
.site-footer {
  background-color: var(--footer-ink);
  background-image: url("../images/general/footer-bg.png");
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 40px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-col h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 16px;
  color: var(--white);
}

.footer-col ul {
  list-style: disc;
  margin: 0;
  padding-left: 1.1em;
}

.footer-col li + li {
  margin-top: 6px;
}

.footer-col a {
  color: var(--white);
}

.footer-col a:hover {
  color: var(--blue-btn);
}

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.contact-list svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
  margin-top: 4px;
}

.social-note {
  margin: 0 0 14px;
  font-size: 14px;
}

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

.socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: #3b5998;
  color: var(--white);
  border-radius: 3px;
}

.socials a.instagram {
  background: #e1306c;
}

.socials svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-bottom {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 18px 16px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
}

.footer-bottom a {
  color: var(--white);
}

.footer-bottom a:hover {
  color: var(--blue-btn);
}

.footer-bottom p {
  margin: 6px 0 0;
}

.back-top {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eee;
  color: #444;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, background 0.2s ease;
  z-index: 50;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-top:hover {
  background: var(--accent);
  color: var(--white);
}

.back-top svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Responsive */
@media (max-width: 1024px) {
  body { font-size: 16px; }
  :root {
    --header-h: 64px;
    --logo-h: 72px;
    --logo-overlap: 12px;
  }
  .whd-header__nav ul { gap: 8px 26px; }
  .whd-header__nav a { font-size: 16px; letter-spacing: 0.05em; }
  .whd-header__contact {
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
  }
  .whd-header__contact a { font-size: 12px; }
  .whd-btn-tour { padding: 7px 14px; font-size: 13px; }
  .section-heading,
  .whd-programs__heading,
  .whd-core-values__heading { font-size: 28px; }
  .prose p, .prose li, .program-row p { font-size: 18px; }
  .whd-programs__grid { gap: 24px 20px; }
}

@media (max-width: 959px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .whd-programs__grid { grid-template-columns: 1fr 1fr; }
  .whd-core-values__grid { grid-template-columns: 1fr 1fr; }
  .whd-value-card,
  .whd-value-card:nth-child(4),
  .whd-value-card:nth-child(5) { grid-column: auto; }
  .whd-value-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 12px);
    justify-self: center;
  }
  .two-col,
  .cta-band__grid,
  .whd-contact-main,
  .program-row,
  .inquiry .row,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .program-row { text-align: left; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .anniversary-stamp {
    right: 12px;
    top: auto;
    bottom: 58px;
    transform: none;
    width: 118px;
  }
  .hero__content {
    align-items: center;
    justify-content: flex-start;
    padding: 48px 16px 52px;
  }
  .hero-card {
    max-width: calc(100% - 140px);
  }
  .hero-card__headline { font-size: 38px; max-width: 22ch; }
  .hero-card__text { font-size: 16px; }
  .hero-card__contact {
    font-size: 18px;
  }
  .hero__slides {
    min-height: 400px;
    aspect-ratio: 5 / 3;
  }
}

@media (max-width: 767px) {
  body { font-size: 14px; }
  :root {
    --header-h: 58px;
    --logo-h: 52px;
    --logo-overlap: 0px;
    --header-pad: 0px;
  }
  .whd-header__nav,
  .whd-header__contact {
    display: none;
  }
  .whd-header__logo {
    align-items: center;
    padding: 4px 8px 4px 0;
  }
  .whd-header__logo img {
    transform: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .whd-header__actions .whd-btn-tour {
    display: inline-flex;
    padding: 7px 14px;
    font-size: 12px;
    letter-spacing: 0.04em;
  }
  .menu-toggle { display: inline-flex; }
  .section-heading,
  .whd-programs__heading,
  .whd-core-values__heading { font-size: 24px; }
  .whd-programs,
  .whd-core-values { padding-left: 16px; padding-right: 16px; }
  .page-banner { padding-top: 70px; }
  .page-banner h1 { font-size: 28px; }
  .features__grid,
  .whd-programs__grid,
  .whd-core-values__grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .whd-value-card,
  .whd-value-card:nth-child(4),
  .whd-value-card:nth-child(5),
  .whd-value-card:last-child {
    grid-column: auto;
    width: auto;
    justify-self: stretch;
  }
  .whd-program-card__media { min-height: 240px; }
  .hero-card__headline { font-size: 30px; max-width: 100%; }
  .hero-card__text { font-size: 15px; line-height: 1.5; }
  .hero-card { max-width: 100%; }
  .hero-card__contact {
    font-size: 17px;
    gap: 8px 14px;
  }
  .hero-card__cta { margin-top: 14px; }
  .whd-map,
  .whd-map iframe { min-height: 320px; }
  .whd-contact-main { margin: 16px auto 40px; }
  .anniversary-stamp {
    width: 96px;
    right: 10px;
    top: 14px;
    bottom: auto;
  }
  .hero__arrow {
    width: 38px;
    height: 38px;
  }
  .hero__arrow--prev { left: 8px; }
  .hero__arrow--next { right: 8px; }
  .footer-bottom { font-size: 13px; }
  .inquiry { margin: 0; padding: 16px; }
}

@media (max-width: 430px) {
  .hero__slides {
    min-height: 420px;
    aspect-ratio: auto;
    height: 56vh;
    max-height: 512px;
  }
  .hero__content {
    padding: 28px 16px 72px;
    align-items: flex-end;
    justify-content: flex-start;
  }
  .hero-card {
    max-width: 100%;
  }
  .hero-card__headline { font-size: 28px; }
  .hero-card__contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .anniversary-stamp {
    width: 84px;
    right: 8px;
    top: 14px;
    bottom: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero__slide,
  .hero__slide.is-active,
  .hero__slide.is-leaving {
    transform: none;
    transition: opacity 0.01s linear;
  }
}

/* Prominent Big Book a Tour Button */
.whd-btn-tour {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  font-family: 'Quicksand', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  padding: 13px 28px !important;
  border-radius: 16px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4) !important;
  transition: all 0.25s ease !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}
.whd-btn-tour:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5) !important;
}
