@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Palette 13 — Cobalt Blue + Soft Peach */
  --cobalt: #1254a3;
  --peach: #ffd1b0;
  --cream: #f7f2e8;
  --navy: #102c50;
  --sand: #d8b98d;

  /* Semantic colour roles */
  --blue-950: var(--navy);
  --blue-900: var(--cobalt);
  --blue-700: var(--cobalt);
  --blue-ink: var(--navy);
  --cream-light: color-mix(in srgb, var(--cream) 82%, white);
  --cream-deep: color-mix(in srgb, var(--peach) 58%, var(--cream));
  --gold: var(--sand);
  --yellow: var(--peach);
  --ink: var(--navy);
  --muted: rgba(16, 44, 80, .7);
  --line: rgba(16, 44, 80, .18);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', Arial, sans-serif;
  color-scheme: light;
}

:root[data-theme='dark'] {
  --cream: #081522;
  --cream-light: #0e2338;
  --cream-deep: #06111f;
  --ink: #f7f2e8;
  --muted: rgba(247, 242, 232, .78);
  --blue-ink: #ffd1b0;
  --line: rgba(255, 209, 176, .24);
  --gold: #e7c79d;
  --yellow: #ffd1b0;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  transition: color .2s ease, background-color .2s ease;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 9px 14px;
  background: #fff;
  color: var(--blue-950);
}
.skip-link:focus { transform: translateY(0); }
.shell { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.narrow { max-width: 760px; }
.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; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: #fff;
  background: linear-gradient(110deg, var(--navy), var(--cobalt));
}
.header-inner { min-height: 94px; display: flex; align-items: center; gap: 18px; }
.brand { flex-shrink: 0; display: inline-grid; text-decoration: none; line-height: 1; }
.brand strong { color: var(--peach); font-family: var(--serif); font-size: 1.75rem; font-weight: 500; }
.brand small { margin-top: 7px; color: rgba(255,255,255,.76); font-size: .625rem; letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.site-nav a { position: relative; padding: 12px 8px; color: rgba(255,255,255,.9); text-decoration: none; font-size: .75rem; white-space: nowrap; }
.site-nav a::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.site-nav a:hover::after, .site-nav a[aria-current='page']::after { transform: scaleX(1); }
.header-phone { color: var(--peach) !important; }
.header-phone::after { display: none; }
.header-cta {
  flex-shrink: 0;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 21px;
  border: 1px solid var(--peach);
  color: var(--peach);
  text-decoration: none;
  font-size: .8125rem;
}
.header-cta:hover { background: rgba(255,255,255,.08); }
.mobile-header-phone { display: none; }
.menu-toggle { display: none; }

.settings-menu { position: relative; flex-shrink: 0; }
.settings-button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.38); background: transparent; color: #fff; font-size: 1.25rem; line-height: 1; cursor: pointer; }
.settings-button svg { width: 20px; height: 20px; }
.settings-button:hover,
.settings-button[aria-expanded='true'] { background: rgba(255,255,255,.1); }
.settings-panel { position: absolute; top: calc(100% + 12px); right: 0; z-index: 30; width: min(280px, calc(100vw - 32px)); padding: 18px; border: 1px solid var(--line); background: var(--cream-light); color: var(--ink); box-shadow: 0 18px 44px rgba(6, 17, 31, .24); }
.settings-panel[hidden] { display: none; }
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: .875rem; font-weight: 600; }
.theme-toggle { min-width: 48px; min-height: 30px; display: inline-grid; place-items: center; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.toggle-track { position: relative; flex: 0 0 44px; width: 44px; height: 24px; border: 1px solid var(--line); border-radius: 999px; background: var(--cream-deep); }
.toggle-track span { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--cobalt); transition: transform .18s ease; }
.theme-toggle[aria-pressed='true'] .toggle-track span { transform: translateX(20px); }
.settings-field { display: grid; gap: 8px; padding-top: 16px; color: var(--ink); font-size: .875rem; font-weight: 600; }
.settings-field select { width: 100%; min-height: 44px; padding: 8px 34px 8px 10px; border: 1px solid var(--line); border-radius: 0; background: var(--cream); color: var(--ink); cursor: pointer; }

main { font-size: 100%; }
:root[data-text-size='large'] main { font-size: 112.5%; }
:root[data-text-size='extra-large'] main { font-size: 125%; }

h1, h2, h3 { margin: 0; color: var(--blue-ink); font-family: var(--serif); font-weight: 500; line-height: .98; overflow-wrap: anywhere; }
h1 { font-size: clamp(3.625rem, 7vw, 5.75rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2.625rem, 5vw, 3.875rem); letter-spacing: -.025em; }
h3 { font-size: 1.875rem; }
p { margin: 0 0 1.35em; }
.text-link { display: inline-block; color: var(--blue-ink); font-size: .8125em; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 7px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border: 1px solid var(--cobalt);
  background: var(--cobalt);
  color: #fff;
  text-decoration: none;
  font-size: .875em;
  font-weight: 500;
  transition: background-color .18s ease, color .18s ease;
}
.button:hover { background: var(--blue-950); }
.button--outline { border-color: var(--blue-ink); background: transparent; color: var(--blue-ink); }
.button--outline:hover { color: #fff; }
.button--yellow { border-color: var(--yellow); background: var(--yellow); color: var(--blue-950); }
.button--yellow:hover { border-color: var(--sand); background: var(--sand); color: var(--blue-950); }

.home-hero { position: relative; min-height: 650px; overflow: hidden; background: var(--cream-light); }
.home-hero::after { content: ''; position: absolute; left: 32px; right: 32px; bottom: 0; height: 1px; background: var(--line); }
.home-hero-grid {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(400px, 1.05fr);
  grid-template-areas: 'copy media' 'actions media';
  align-content: center;
}
.hero-copy { position: relative; z-index: 3; grid-area: copy; }
.hero-copy h1 { max-width: 670px; }
.hero-lede { max-width: 650px; margin: 30px 0 20px; color: var(--muted); font-size: 1.25em; line-height: 1.6; }
.hero-meta { margin: 0; color: var(--muted); font-size: .8125em; }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; margin: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-media::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--cream-light) 0, color-mix(in srgb, var(--cream-light) 42%, transparent) 22%, transparent 48%), linear-gradient(0deg, var(--cream-light) 0, transparent 22%); }
.hero-actions { position: relative; z-index: 3; grid-area: actions; align-self: start; display: flex; gap: 14px; margin-top: 30px; }

.home-section { padding: 106px 0; border-bottom: 1px solid var(--line); }
.home-section--light { background: var(--cream-light); }
.home-two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; align-items: start; }
.home-two-col h2 { max-width: 470px; }
.section-copy { max-width: 640px; }
.section-copy p { color: var(--muted); }
.section-copy .text-link { margin-top: 18px; }
.explore-head { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; align-items: start; }
.explore-head p { color: var(--muted); }
.explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 70px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.explore-grid span { min-height: 88px; display: flex; align-items: center; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--blue-ink); font-family: var(--serif); font-size: 1.625rem; }
.explore-more { margin-top: 38px; }
.approach-summary { background: var(--cream); }
.approach-summary .section-copy { margin-top: 22px; color: var(--muted); }
.principles { margin: 0; }
.principle { display: grid; grid-template-columns: 160px minmax(0, 1fr); align-items: start; gap: 28px; padding: 24px 0; border-top: 1px solid var(--line); }
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle dt { color: var(--blue-ink); font-family: var(--serif); font-size: 1.5625rem; line-height: 1.15; }
.principle dd { margin: 0; color: var(--muted); }

.page-hero { padding: 92px 0 76px; background: var(--cream); }
.page-hero h1 { max-width: 930px; }
.page-lede { max-width: 690px; margin-top: 30px; color: var(--muted); font-size: 1.25em; line-height: 1.62; }
.hero-rule { display: flex; align-items: center; margin-top: 70px; }
.hero-rule::before { content: ''; width: 70px; height: 3px; background: var(--gold); }
.hero-rule::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.content-section { padding: 88px 0; }
.content-section--light { background: var(--cream-light); }
.content-section--deep { background: var(--cream-deep); }
.section-label { display: flex; align-items: center; gap: 14px; margin-bottom: 36px; color: var(--blue-ink); font-size: .625em; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.section-label::before { content: ''; width: 34px; height: 1px; background: var(--gold); }
.prose { max-width: 880px; }
.prose p { color: var(--muted); }

.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 54px; }
.fact-block { border-top: 1px solid var(--line); }
.fact-block h2 { padding: 22px 0; font-size: 2.125rem; }
.fact-block ul { margin: 0; padding: 0; list-style: none; }
.fact-block li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }

.areas-list { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); list-style: none; }
.areas-list li { min-height: 58px; display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .875em; }
.areas-list li::before { content: '•'; color: var(--gold); }
.therapies-intro { margin-bottom: 42px; }
.therapy-list,
.qualification-list { border-top: 1px solid var(--line); }
.therapy-row { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.therapy-row h3 { font-size: 2.1875rem; line-height: 1.05; }
.therapy-row p { margin: 0; color: var(--muted); }
.qualification-row { display: grid; grid-template-columns: minmax(180px, .55fr) 1.45fr; gap: 56px; align-items: baseline; padding: 38px 0; border-bottom: 1px solid var(--line); }
.qualification-row h2 { font-size: 2.1875rem; line-height: 1.05; }
.qualification-level { margin: 0; color: var(--muted); font-size: 1em; font-weight: 600; }

.membership-single { max-width: 880px; }
.membership-section { padding-top: 64px; }
.membership-copy h2 { margin-bottom: 26px; }
.membership-copy p { color: var(--muted); }
.membership-logo { margin-top: 34px; padding: 24px; border: 1px solid var(--line); background: #fff; }
.membership-logo img { width: 100%; height: auto; }

.availability-section {
  padding-block: 110px 120px;
  scroll-margin-top: 94px;
  background-color: var(--cream);
  background-image: radial-gradient(rgba(216, 185, 141, .34) 1px, transparent 1px);
  background-size: 14px 14px;
}
:root[data-theme='dark'] .availability-section { background-color: var(--cream-light); background-image: none; }
.availability-intro { max-width: 850px; margin-bottom: 82px; }
.availability-intro h2 { font-size: clamp(3.375rem, 7vw, 4.875rem); }
.availability-intro p { max-width: 720px; margin: 44px 0 0; color: var(--blue-ink); font-size: 1.75em; line-height: 1.55; }
.table-scroll { overflow: visible; }
.availability-table { width: 100%; min-width: 0; border-collapse: collapse; table-layout: fixed; }
.availability-table th, .availability-table td { height: 76px; padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: center; font-size: .9375em; }
.availability-table thead th { color: var(--blue-ink); font-weight: 600; }
.availability-table thead th:first-child, .availability-table tbody th { width: 32%; text-align: left; font-weight: 500; }
.availability-table tbody th { color: var(--blue-ink); font-size: 1.0625em; }
.availability-table td.is-open span { display: inline-block; color: var(--cobalt); font-size: 1.375em; font-weight: 600; line-height: 1; }
.availability-table td.is-closed { color: transparent; }
.availability-note { margin: 42px 0 0; color: var(--muted); font-size: 1em; }

.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 100px; align-items: start; }
.contact-details h2 { margin-bottom: 42px; }
.contact-details dl { margin: 0; }
.contact-details div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-details dt { margin-bottom: 7px; color: var(--muted); font-size: .6875em; letter-spacing: .14em; text-transform: uppercase; }
.contact-details dd { margin: 0; color: var(--blue-ink); font-size: 1.0625em; overflow-wrap: anywhere; }
.contact-details a { text-underline-offset: 4px; }
.contact-note { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875em; }
.enquiry-form { padding: 46px 50px; border: 1px solid var(--line); background: var(--cream-light); }
.form-row { margin-bottom: 26px; }
.form-row label { display: flex; justify-content: space-between; margin-bottom: 7px; color: var(--blue-ink); font-size: .8125em; }
.form-row label small { color: var(--muted); }
.form-row input, .form-row select, .form-row textarea { width: 100%; border: 0; border-bottom: 1px solid var(--sand); border-radius: 0; background: transparent; color: var(--ink); outline: 0; }
.form-row input, .form-row select { height: 48px; }
.form-row textarea { min-height: 190px; padding: 12px; border: 1px solid var(--sand); resize: vertical; }
.form-row input:focus, .form-row select:focus { border-bottom-color: var(--blue-ink); }
.form-row textarea:focus { border-color: var(--blue-ink); }
.form-help { margin: 22px 0 0; color: var(--muted); font-size: .75em; line-height: 1.55; }

.closing-cta { position: relative; overflow: hidden; padding: 90px 0; background: var(--cream-light); border-top: 1px solid var(--line); }
.closing-cta::after { content: ''; position: absolute; top: -118px; right: 24px; width: 280px; height: 280px; border: 1px solid var(--line); border-radius: 50%; }
.closing-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.closing-inner > .button { min-width: 142px; }
.closing-copy h2 { margin-bottom: 22px; }
.closing-copy p { max-width: 770px; margin: 0; color: var(--muted); }

.site-footer { padding: 64px 0 28px; background: var(--cream-deep); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .7fr .85fr; gap: 80px; }
.footer-brand strong { color: var(--blue-ink); }
.footer-brand small { color: var(--muted); }
.footer-about { margin-top: 24px; color: var(--muted); font-size: .875rem; }
.site-footer h2 { margin-bottom: 20px; color: var(--gold); font-family: var(--sans); font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 8px 0; }
.footer-links a { color: var(--blue-ink); font-size: .875rem; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-contact p { margin: 0 0 8px; color: var(--blue-ink); font-size: .875rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .6875rem; }

@media (max-width: 1450px) {
  .header-inner { min-height: 78px; display: grid; grid-template-columns: auto 1fr auto auto auto; gap: 0; padding: 12px 0 10px; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 12px 20px 22px;
    background: var(--blue-950);
  }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.13); }
  .site-nav a::after { display: none; }
  .header-phone { color: var(--peach) !important; }
  .mobile-header-phone { grid-column: 3; min-height: 44px; display: inline-flex; align-items: center; color: var(--peach); font-size: .8125rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
  .settings-menu { grid-column: 4; margin-left: 12px; }
  .menu-toggle { grid-column: 5; display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 44px; margin-left: 12px; border: 1px solid rgba(255,255,255,.38); background: transparent; color: #fff; font-size: .75rem; cursor: pointer; }
  .header-cta { display: none; }
}

@media (max-width: 1180px) {
  .shell { width: min(100% - 40px, 1120px); }
  .home-two-col, .explore-head { gap: 70px; }
}

@media (max-width: 760px) {
  body { font-size: .9375rem; }
  .shell { width: min(100% - 32px, 1120px); }
  .header-inner { grid-template-columns: 1fr auto auto; }
  .header-inner > .brand { grid-column: 1; grid-row: 1; }
  .settings-menu { grid-column: 2; grid-row: 1; }
  .menu-toggle { grid-column: 3; grid-row: 1; }
  .mobile-header-phone { grid-column: 1 / -1; grid-row: 2; min-height: 24px; margin-top: 2px; }
  .brand strong { font-size: 1.5625rem; }
  .brand small { font-size: .5625rem; }
  .mobile-header-phone { font-size: .75rem; }
  h1 { font-size: clamp(3.1875rem, 14vw, 4.1875rem); }
  h2 { font-size: 2.6875rem; }

  .home-hero { min-height: 0; }
  .home-hero::after { left: 16px; right: 16px; }
  .home-hero-grid { min-height: 0; grid-template-columns: 1fr; grid-template-areas: 'copy' 'media' 'actions'; padding-top: 48px; padding-bottom: 44px; }
  .hero-copy { padding-top: 0; }
  .hero-lede { margin: 20px 0 14px; font-size: 1.0625em; }
  .hero-media { position: relative; grid-area: media; width: min(78vw, 310px); height: auto; aspect-ratio: 1 / 1; justify-self: center; margin: 24px 0 18px; border-radius: 2px; }
  .hero-media::before { background: linear-gradient(0deg, color-mix(in srgb, var(--cream-light) 28%, transparent), transparent 25%); }
  .hero-actions { margin-top: 0; display: grid; align-self: auto; }
  .hero-actions .button { width: 100%; }

  .home-section { padding: 68px 0; }
  .home-two-col, .explore-head, .contact-layout { grid-template-columns: 1fr; gap: 34px; }
  .explore-grid { grid-template-columns: 1fr; margin-top: 44px; }
  .explore-grid span { min-height: 68px; }
  .principle { grid-template-columns: 150px minmax(0, 1fr); gap: 12px; }

  .page-hero { padding: 62px 0 48px; }
  .page-lede { margin-top: 22px; font-size: 1.0625em; }
  .hero-rule { margin-top: 46px; }
  .content-section { padding: 60px 0; }
  .facts-grid, .areas-list, .footer-grid { grid-template-columns: 1fr; }
  .facts-grid { gap: 36px; }
  .areas-list { border-left: 0; }
  .areas-list li { border-left: 1px solid var(--line); }
  .therapy-row, .qualification-row { grid-template-columns: 1fr; gap: 14px; }
  .therapy-row h3, .qualification-row h2 { font-size: 1.9375rem; }
  .membership-section { padding-top: 44px; }
  .membership-copy h2 { margin-bottom: 20px; }
  .availability-section { padding-block: 72px 84px; scroll-margin-top: 142px; }
  .availability-intro { margin-bottom: 54px; }
  .availability-intro h2 { font-size: 3.375rem; }
  .availability-intro p { margin-top: 34px; font-size: 1.25em; }
  .availability-table th, .availability-table td { height: 68px; padding-inline: 5px; font-size: .8125em; }
  .availability-table thead th:first-child, .availability-table tbody th { position: static; width: 38%; background: transparent; }
  .availability-table tbody th { font-size: .9375em; }
  .availability-table td.is-open span { font-size: 1.25em; }
  .availability-note { margin-top: 34px; font-size: .875em; }
  .enquiry-form { margin-inline: -16px; padding: 34px 24px; }
  .closing-cta { padding: 68px 0; }
  .closing-inner { display: block; }
  .closing-inner .button { width: 100%; margin-top: 28px; }
  .footer-grid { gap: 36px; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 8px; }
}

@media (max-width: 370px) {
  .principle { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 340px) {
  .brand strong { font-size: 1.375rem; }
  .brand small { font-size: .5rem; }
  .mobile-header-phone { font-size: .6875rem; }
  .menu-toggle { min-width: 44px; width: 44px; margin-left: 8px; }
  .settings-panel { right: -56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
