:root {
  --bg: #f4f4f2;
  --surface: #ffffff;
  --surface-alt: #f7f7f5;
  --ink: #30343b;
  --muted: #6b7280;
  --border: #dfe3e8;
  --brand: #3bafbf;
  --brand-dark: #2c8794;
  --hero-overlay: rgba(14, 20, 25, 0.42);
  --hero-overlay-strong: rgba(14, 20, 25, 0.56);
  --shadow: 0 28px 60px rgba(28, 41, 56, 0.14);
  --radius: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fafafa 0%, #f1f3f5 100%);
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.topbar {
  background: #f6f7f8;
  color: #5a6470;
  border-bottom: 1px solid rgba(48, 52, 59, 0.08);
  font-size: 0.92rem;
}

.topbar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 0.55rem 0;
  text-align: center;
}

.topbar a {
  text-decoration: none;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.topbar-item i {
  color: var(--brand-dark);
  font-size: 0.95rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(48, 52, 59, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  min-height: 108px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.site-logo img {
  width: 220px;
  height: auto;
}

.site-nav {
  display: flex;
  margin-left: auto;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.84rem;
  color: #4e5661;
  font-weight: 700;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--brand-dark);
}

.nav-link-cta {
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
}

.nav-link-cta:hover,
.nav-link-cta[aria-current="page"] {
  color: #fff;
  background: var(--brand-dark);
}

.nav-toggle {
  display: none;
  justify-self: end;
  border: 0;
  background: transparent;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  margin: 0.28rem 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.hero-compact {
  min-height: 360px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--hero-overlay-strong), var(--hero-overlay));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  padding: 5.5rem 0;
}

.hero-left {
  grid-template-columns: minmax(0, 1.1fr);
}

.hero-center {
  justify-items: center;
  text-align: center;
}

.hero-with-aside {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 360px);
  align-items: center;
}

.hero-copy {
  max-width: 760px;
  color: #fff;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-copy p {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.accent-word {
  color: var(--brand);
}

.hero-aside {
  width: 100%;
}

.schedule-card,
.panel,
.service-card,
.legal-card,
.cta-strip {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.schedule-card {
  padding: 2rem;
  border-top: 4px solid var(--brand);
}

.schedule-card-inverse {
  background: rgba(18, 31, 35, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  box-shadow: none;
}

.schedule-card h2 {
  margin: 0 0 1.2rem;
  font-size: 1.8rem;
  line-height: 1.15;
}

.schedule-list,
.info-list,
.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.schedule-list li,
.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
}

.schedule-list li:last-child,
.info-list li:last-child {
  border-bottom: 0;
}

.schedule-list span,
.info-list strong {
  color: var(--muted);
}

.schedule-note {
  margin: 1rem 0 0;
  color: var(--muted);
}

.schedule-card-inverse .kicker,
.schedule-card-inverse h2,
.schedule-card-inverse .schedule-list strong,
.schedule-card-inverse .schedule-note {
  color: #fff;
}

.schedule-card-inverse .schedule-list span {
  color: rgba(255, 255, 255, 0.82);
}

.schedule-card-inverse .schedule-list li {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}

.button-primary {
  background: var(--brand);
  color: #fff;
}

.button-primary:hover {
  background: var(--brand-dark);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  border-color: rgba(255, 255, 255, 0.38);
}

.panel .button-secondary,
.cta-strip .button-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
}

.button-small {
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
}

.section {
  padding: 5rem 0;
}

.section-intro {
  padding-top: 4rem;
}

.section-heading {
  margin-bottom: 2rem;
  text-align: center;
}

.section-heading h2,
.panel h2,
.cta-strip h2,
.legal-card h1,
.legal-card h2,
.legal-card h3,
.legal-card h4 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

.section-heading h2,
.panel h2,
.cta-strip h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.section-heading p:last-child,
.panel p:last-child,
.panel li:last-child,
.legal-card p:last-child {
  margin-bottom: 0;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.panel {
  padding: 2.2rem;
  border: 1px solid rgba(48, 52, 59, 0.06);
}

.panel-light {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.panel-accent {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(43, 135, 148, 0.96), rgba(59, 175, 191, 0.92)),
    #3bafbf;
}

.panel-accent a,
.panel-accent p,
.panel-accent li,
.panel-accent strong,
.panel-accent h2 {
  color: inherit;
}

.panel-centered {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.panel-image {
  padding: 0;
  overflow: hidden;
}

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

.panel-image-copy {
  padding: 1.5rem 1.7rem 1.9rem;
}

.kicker {
  margin: 0 0 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.panel-accent .kicker,
.hero-copy .kicker {
  color: rgba(255, 255, 255, 0.84);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card-grid-sections {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card {
  overflow: hidden;
  border: 1px solid rgba(48, 52, 59, 0.06);
}

.service-card-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.04);
}

.service-card-body {
  padding: 1.5rem;
}

.service-card-body h3 {
  margin: 0 0 0.8rem;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.service-card-body h3 a {
  text-decoration: none;
}

.text-link {
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 700;
}

.section-band {
  padding-top: 0;
}

.cta-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2.4rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 251, 0.98)),
    var(--surface);
}

.site-footer {
  background: #242a31;
  color: rgba(255, 255, 255, 0.82);
  padding: 4rem 0 2rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand img {
  width: 180px;
  margin-bottom: 1rem;
}

.footer-grid h4 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-list li {
  margin-bottom: 0.7rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-social a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.footer-social a:hover {
  transform: translateY(-1px);
  background: rgba(59, 175, 191, 0.22);
  border-color: rgba(59, 175, 191, 0.45);
}

.footer-social i {
  display: block;
  font-size: 1.1rem;
  line-height: 1;
  transform: translateY(1px);
}

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

.legal-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(243, 246, 247, 0.7));
}

.legal-card {
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.98);
  overflow: auto;
}

.legal-card table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.legal-card td,
.legal-card th {
  padding: 0.75rem;
  border: 1px solid var(--border);
  vertical-align: top;
}

.legal-card .p1,
.legal-card .p2 {
  margin: 0 0 1rem;
}

.legal-card ul,
.legal-card ol {
  padding-left: 1.3rem;
}

@media (max-width: 1080px) {
  .card-grid,
  .card-grid-sections,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-with-aside,
  .split-grid,
  .cta-strip {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 980px) {
  .topbar {
    font-size: 0.85rem;
  }

  .nav-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    min-height: 88px;
  }

  .site-logo {
    position: static;
    justify-self: start;
  }

  .site-logo img {
    width: 170px;
  }

  .topbar-inner {
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.5rem 0;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(48, 52, 59, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 0.85rem 0.4rem;
    text-align: center;
  }

  .nav-link-cta {
    width: fit-content;
    margin: 0.85rem auto 0.35rem;
    padding: 0.9rem 1.35rem;
  }

  .hero {
    min-height: 470px;
  }

  .card-grid,
  .card-grid-sections,
  .footer-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .topbar {
    font-size: 0.82rem;
  }

  .topbar-inner {
    flex-direction: column;
    gap: 0.35rem;
  }

  .hero-inner {
    padding: 4rem 0;
  }

  .section,
  .section-intro {
    padding: 3.5rem 0;
  }

  .panel,
  .legal-card,
  .schedule-card {
    padding: 1.4rem;
  }

  .cta-strip {
    padding: 1.5rem;
  }
}
