:root {
  --navy: #0f233a;
  --sand: #e7d6b5;
  --gold: #c28a25;
  --eucalyptus: #7fa693;
  --terracotta: #b7664b;
  --offwhite: #fbf7f0;
  --text-main: #1f2933;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-main);
  background: var(--offwhite);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Layout */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 35, 58, 0.96);
  backdrop-filter: blur(6px);
  color: #f9fafb;
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.brand-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.8rem;
  opacity: 0.85;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav ul {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  font-size: 0.9rem;
}

nav a {
  position: relative;
  padding-bottom: 0.1rem;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.18s ease-out;
}

nav a:hover::after,
nav a:focus-visible::after {
  width: 100%;
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.8rem 1.25rem 3rem;
}

section {
  padding: 3.25rem 0;
  border-bottom: 1px solid rgba(15, 35, 58, 0.08);
}

section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.section-heading {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.section-intro {
  max-width: 48rem;
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 1.75rem;
}

/* Hero */
.hero {
  position: relative;
  margin-inline: auto;
  padding-top: 2.5rem;
  padding-bottom: 3.25rem;
}

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 2.5rem;
  align-items: center;
  padding-inline: 1.25rem;
}

.hero::before {
  content: none;
}

.hero-image {
  margin-inline: calc(50% - 50vw);
  width: 100vw;
}

.hero-image-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.hero-content,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-content {
  background: rgba(251, 247, 240, 0.76);
  padding: 1.6rem 1.7rem;
  border-radius: 26px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.6rem 0.18rem;
  border-radius: 999px;
  background: rgba(231, 214, 181, 0.6);
  color: var(--navy);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--eucalyptus);
}

.hero-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(2.1rem, 3vw + 1.4rem, 3rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1rem;
  color: #4b5563;
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  font-size: 0.9rem;
  color: #374151;
}

.hero-highlight {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.hero-highlight span {
  white-space: nowrap;
  font-weight: 600;
  color: var(--gold);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.btn-primary {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.65rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  background: linear-gradient(120deg, var(--gold), #e0b34a);
  color: #111827;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.13);
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.btn-secondary-link {
  font-size: 0.9rem;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-note {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.hero-visual {
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: rgba(15, 35, 58, 0.9);
  color: #f9fafb;
  padding: 1.8rem 1.6rem;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-tagline {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.hero-visual-sub {
  font-size: 0.85rem;
  color: #e5e7eb;
  max-width: 18rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  margin-top: 1.2rem;
}

.hero-meta-item span {
  display: block;
}

.hero-meta-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: rgba(243, 244, 246, 0.8);
}

.hero-meta-value {
  font-weight: 600;
}

.hero-ribbon {
  position: absolute;
  right: 1.1rem;
  top: 1.2rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(127, 166, 147, 0.96);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hero-visual-content {
  padding-top: 2.25rem;
}

.hero-footer-tag {
  align-self: flex-start;
  margin-top: 1.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(249, 250, 251, 0.5);
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
}

.hero-footer-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #a7f3d0;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 0.75rem;
}

.service-card {
  background: white;
  border-radius: 18px;
  padding: 1.2rem 1.25rem 1.25rem;
  border: 1px solid rgba(15, 35, 58, 0.06);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-label {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--eucalyptus);
  margin-bottom: 0.1rem;
}

.service-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.1rem;
  color: var(--navy);
}

.service-body {
  font-size: 0.9rem;
  color: #4b5563;
  margin-top: 0.15rem;
}

.service-meta {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.service-meta strong {
  font-weight: 600;
  color: var(--terracotta);
}

/* Programs */
.programs-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: start;
}

.program-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.program-item-title {
  font-weight: 600;
  color: var(--navy);
}

.program-item p {
  font-size: 0.9rem;
  color: #4b5563;
}

.program-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.4rem;
}

.program-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold);
}

.program-aside {
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 35, 58, 0.08);
  background: #faf8f3;
  font-size: 0.9rem;
  color: #374151;
}

/* Gallery */
.gallery-grid {
  display: grid;
  gap: 1rem;
  margin-top: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-item {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 35, 58, 0.06);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.gallery-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.18s ease-out;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.02);
}

/* In-facility */
.on-site-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  margin-top: 0.75rem;
}

.on-site-block {
  background: white;
  border-radius: 18px;
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(15, 35, 58, 0.06);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.on-site-block-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.9rem;
}

.on-site-intro {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 0.75rem;
}

.on-site-list {
  list-style: none;
  padding-left: 0;
  margin-left: 0.75rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.on-site-list li {
  margin-bottom: 0.85rem;
  padding-left: 1.25rem;
  position: relative;
}

.on-site-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--eucalyptus);
}

.on-site-list li:last-child {
  margin-bottom: 0;
}

.on-site-list strong {
  color: var(--navy);
}

.on-site-note {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 35, 58, 0.08);
}

/* Social */
.social-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.3fr);
  gap: 1.75rem;
  align-items: start;
}

.social-card {
  background: white;
  border-radius: 18px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(15, 35, 58, 0.06);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  font-size: 0.85rem;
}

.social-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.social-handle {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
}

.social-platform {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7280;
}

.social-feed-placeholder {
  margin-top: 0.4rem;
  border-radius: 10px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(15, 35, 58, 0.04),
    rgba(15, 35, 58, 0.04) 6px,
    rgba(15, 35, 58, 0.04) 6px,
    rgba(15, 35, 58, 0.08) 12px
  );
  padding: 0.75rem 0.7rem;
  color: #4b5563;
}

.social-feed-item {
  margin-bottom: 0.4rem;
}

.social-feed-item:last-child {
  margin-bottom: 0;
}

.social-feed-meta {
  font-size: 0.7rem;
  color: #9ca3af;
  margin-top: 0.1rem;
}

.social-links {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.85rem;
}

.social-pill {
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 35, 58, 0.14);
  background: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.social-dot-fb {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1877f2;
}

.social-dot-ig {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fdf497 0, #fd5949 40%, #d6249f 70%, #285aeb 100%);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 2rem;
}

form {
  display: grid;
  gap: 0.85rem;
}

label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  display: block;
  margin-bottom: 0.15rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(15, 35, 58, 0.16);
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
  font-family: inherit;
  background: white;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out;
}

textarea {
  border-radius: 14px;
  min-height: 110px;
  resize: vertical;
  padding-top: 0.65rem;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(194, 138, 37, 0.4);
  background: #fdfaf4;
}

.contact-note {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.3rem;
}

#contact-form-wrap.is-hidden {
  display: none;
}

.contact-thank-you {
  padding: 1.5rem 0;
}

.contact-thank-you.is-hidden {
  display: none;
}

.contact-thank-you-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.contact-thank-you-text {
  font-size: 1rem;
  color: #4b5563;
}

.contact-aside {
  font-size: 0.9rem;
  color: #4b5563;
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 35, 58, 0.1);
  background: #f5f2eb;
}

.contact-aside h3 {
  font-family: "Playfair Display", "Times New Roman", serif;
  margin-bottom: 0.4rem;
  color: var(--navy);
  font-size: 1.1rem;
}

.contact-aside-list {
  margin-top: 0.5rem;
  list-style: none;
  padding-left: 0;
}

.contact-aside-list li {
  margin-bottom: 0.3rem;
  display: flex;
  gap: 0.4rem;
}

.contact-aside-list span {
  font-weight: 600;
  color: var(--navy);
  min-width: 58px;
}

footer {
  border-top: 1px solid rgba(15, 35, 58, 0.1);
  padding: 1.3rem 1.25rem 2rem;
  margin-top: 2.5rem;
  font-size: 0.8rem;
  color: #6b7280;
  background: #f5efe2;
}

footer .footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Responsive */
@media (max-width: 880px) {
  .hero-inner,
  .programs-wrapper,
  .on-site-grid,
  .social-layout,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-inner {
    padding-top: 1.8rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  header {
    position: static;
  }

  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  nav ul {
    gap: 0.75rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  main {
    padding-inline: 1rem;
  }

  .hero-visual {
    border-radius: 22px;
  }

  section {
    padding-block: 2.4rem;
  }

  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
