/* Human Balance — site styles
   1 tokens · 2 base · 3 type · 4 buttons & links · 5 small parts · 6 header & footer
   7 layout · 8 hero · 9 media & tiles · 10 content blocks · 11 forms · 12 member area */

/* 1. Tokens */
:root {
  --navy: #052F5F;
  --navy-800: #04264D;
  --navy-600: #0C3F78;
  --teal: #005377;
  --green: #06A77D;
  --green-100: #D8F1E9;
  --sand: #D5C67A;
  --sand-50: #F6F2DF;
  --amber: #F1A208;
  --amber-600: #DC9200;
  --amber-100: #FDF1D3;
  --white: #FFFFFF;
  --mist: #F3F6F8;
  --line: #DDE5EB;
  --line-strong: #7A8FA3;
  --line-dark: #2F5682;
  --ink: var(--navy);
  --ink-2: #3D5166;
  --ink-3: #5B6B7B;
  --on-dark: #E4EBF2;
  --on-dark-2: #C8D4E0;

  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-curve: clamp(88px, 12vw, 170px);
  --r-pill: 999px;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 32px);
  --section: clamp(72px, 9vw, 120px);
  --header-h: 96px;

  --shadow-bar: 0 10px 34px rgba(5, 47, 95, 0.18);
  --shadow-card: 0 24px 60px rgba(5, 47, 95, 0.16);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --focus: 0 0 0 3px var(--white), 0 0 0 6px var(--navy);
  --focus-on-dark: 0 0 0 3px var(--navy), 0 0 0 6px var(--amber);
}

/* 2. Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
:focus { outline: none; }
:focus-visible { box-shadow: var(--focus); border-radius: 6px; }
.on-dark :focus-visible, .on-photo :focus-visible { box-shadow: var(--focus-on-dark); }
::selection { background: var(--amber); color: var(--navy); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 20px; border-radius: var(--r-pill); background: var(--navy); color: var(--white); font-weight: 600; text-decoration: none; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* 3. Type */
.display, .h1, .h2, .h3 { font-family: var(--font-display); font-weight: 800; text-wrap: balance; }
.display { font-size: clamp(40px, 6vw, 86px); line-height: 1.02; letter-spacing: -0.035em; }
.display--xl { font-size: clamp(44px, 7.2vw, 104px); line-height: 1; }
.h1 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -0.03em; }
.h2 { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.06; letter-spacing: -0.03em; }
.h2--sm { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; letter-spacing: -0.025em; }
.h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
.lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.5; max-width: 34em; }
.text { color: var(--ink-2); max-width: 38em; text-wrap: pretty; }
.small { font-size: 15px; color: var(--ink-3); }
.kicker { font-size: 17px; font-weight: 600; color: var(--teal); }
.on-dark .kicker { color: var(--sand); }
.on-dark, .on-photo { color: var(--white); }
.on-dark .lead, .on-photo .lead, .on-dark .text { color: var(--on-dark); }
.on-dark .small { color: var(--on-dark-2); }
.quote { font-family: var(--font-display); font-weight: 500; font-size: clamp(21px, 2.2vw, 30px); line-height: 1.35; letter-spacing: -0.01em; }

/* 4. Buttons & links */
.btn {
  --btn-bg: var(--amber); --btn-fg: var(--navy); --btn-bd: transparent; --btn-bg-hover: var(--amber-600);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px;
  border: 2px solid var(--btn-bd); border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body); font-size: 17px; font-weight: 600; line-height: 1; letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--btn-bg-hover); }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn:focus-visible { border-radius: var(--r-pill); }
.btn--navy { --btn-bg: var(--navy); --btn-fg: var(--white); --btn-bg-hover: var(--navy-600); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--navy); --btn-bg-hover: var(--navy); }
.btn--outline:hover { color: var(--white); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: var(--white); --btn-bg-hover: var(--white); }
.btn--outline-light:hover { color: var(--navy); }
.btn--lg { min-height: 60px; padding: 0 34px; font-size: 18px; }
.btn--md { min-height: 50px; padding: 0 24px; font-size: 16px; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.btn-row--loose { gap: 12px 32px; }

.link {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; text-decoration: none; color: inherit;
  background: linear-gradient(var(--amber), var(--amber)) 0 calc(100% - 9px) / 100% 3px no-repeat;
  transition: background-size 0.2s var(--ease), background-position 0.2s var(--ease);
}
.link:hover { background-size: 100% 8px; background-position: 0 calc(100% - 7px); }
.link--navy { background-image: linear-gradient(var(--navy), var(--navy)); }
.link--plain { background: none; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; min-height: 0; display: inline; }

.arrow-btn {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--amber); color: var(--navy);
  transition: transform 0.25s var(--ease), background-color 0.18s var(--ease);
}
.arrow-btn svg { width: 22px; height: 22px; transition: transform 0.25s var(--ease); }

/* 5. Small parts */
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px; border-radius: var(--r-pill); background: var(--amber); color: var(--navy); font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap; }
.chip--sand { background: var(--sand); }
.chip--green { background: var(--green); font-size: 15px; font-weight: 700; }
.chip--white { background: var(--white); }
.chip--lg { min-height: 44px; padding: 0 20px; font-size: 17px; }
.status { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 14px; border-radius: var(--r-pill); background: var(--green-100); font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap; }
.status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.status--pending { background: var(--amber-100); }
.status--pending::before { background: var(--amber); }
.status--neutral { background: #E6ECF0; }
.status--neutral::before { background: var(--line-strong); }
.status--white { background: var(--white); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex: none; }
.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center 22%; flex: none; }
.avatar--lg { width: 96px; height: 96px; }
.sticker { position: absolute; z-index: 2; width: 148px; height: 148px; border-radius: 50%; background: var(--green); color: var(--navy); transform: rotate(-8deg); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-family: var(--font-display); font-weight: 800; line-height: 1.05; font-size: 20px; }
.sticker b { font-size: 34px; }
.check-badge { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: var(--navy); }
.check-badge svg { width: 34px; height: 34px; }

/* 6. Header & footer */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 16px var(--gutter) 0; pointer-events: none; }
.site-header__bar { pointer-events: auto; max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 20px; padding: 8px 8px 8px 24px; border-radius: var(--r-pill); background: var(--white); box-shadow: var(--shadow-bar); transition: box-shadow 0.2s var(--ease); }
.site-header.is-scrolled .site-header__bar { box-shadow: 0 6px 24px rgba(5, 47, 95, 0.22); }
.logo { display: inline-flex; align-items: center; flex: none; border-radius: 8px; }
.logo img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill); font-size: 15px; font-weight: 500; color: var(--navy); text-decoration: none; white-space: nowrap; transition: background-color 0.15s var(--ease); }
.nav a:hover { background: var(--mist); }
.nav a[aria-current="page"] { background: #E8EEF2; font-weight: 600; }
.site-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.site-header__login { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill); font-size: 15px; font-weight: 600; color: var(--teal); text-decoration: none; white-space: nowrap; }
.site-header__login:hover { background: var(--mist); }
.site-header .btn { min-height: 48px; padding: 0 24px; font-size: 15px; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--navy); color: var(--white); cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle .icon-close, .menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-menu { pointer-events: auto; max-width: var(--wrap); margin: 10px auto 0; padding: 12px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-card); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 16px; border-radius: var(--r-sm); font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.015em; color: var(--navy); text-decoration: none; }
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { background: var(--mist); }
.mobile-menu a.mobile-menu__minor { font-family: var(--font-body); font-size: 17px; font-weight: 600; color: var(--teal); border-top: 1px solid var(--line); border-radius: 0; margin-top: 8px; }
@media (max-width: 1080px) {
  .nav, .site-header__login { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 1081px) { .mobile-menu { display: none !important; } }
@media (max-width: 420px) {
  .site-header__bar { padding-left: 18px; }
  .site-header .btn { padding: 0 18px; }
}

.site-footer { background: var(--navy); color: var(--white); }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 3fr) repeat(2, minmax(0, 1fr)); gap: 48px 72px; padding-block: 72px 48px; }
.site-footer__logo img { height: 104px; width: auto; }
.site-footer__tag { margin-top: 24px; font-size: 17px; line-height: 1.6; color: var(--on-dark-2); }
.site-footer__title { margin-bottom: 12px; font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--sand); }
.site-footer nav a { display: flex; align-items: center; min-height: 40px; width: fit-content; font-size: 16px; text-decoration: none; background: linear-gradient(var(--amber), var(--amber)) 0 calc(100% - 8px) / 0 2px no-repeat; transition: background-size 0.2s var(--ease); }
.site-footer nav a:hover { background-size: 100% 2px; }
.site-footer__legal { border-top: 1px solid var(--line-dark); padding-block: 20px; font-size: 14px; color: var(--on-dark-2); }
@media (max-width: 760px) { .site-footer__top { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }

/* 7. Layout */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight-top { padding-top: 0; }
.bg-navy { background: var(--navy); }
.bg-teal { background: var(--teal); }
.bg-amber { background: var(--amber); }
.bg-sand { background: var(--sand); }
.bg-tint { background: var(--sand-50); }
.bg-mist { background: var(--mist); }
.stack { display: flex; flex-direction: column; align-items: flex-start; gap: var(--gap, 24px); }
.stack--lg { --gap: 48px; align-items: stretch; }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 64px; }
.head-row > :first-child { flex: 1 1 480px; max-width: 820px; }
.head-row > .text { flex: 0 1 360px; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(48px, 7vw, 88px); }
.split--top { align-items: start; }
.split--3-2 { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.split--1-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-7-5 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; }
.grid-5-7 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; }
@media (max-width: 900px) {
  .split, .split--3-2, .split--1-2 { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 2; }
  .grid-3, .grid-7-5, .grid-5-7 { grid-template-columns: 1fr; }
}
@media (min-width: 601px) and (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* corner shapes: one large curve, borrowed from the HB mark */
.curve-tl { border-radius: var(--r-curve) var(--r-lg) var(--r-lg) var(--r-lg); }
.curve-tr { border-radius: var(--r-lg) var(--r-curve) var(--r-lg) var(--r-lg); }
.curve-br { border-radius: var(--r-lg) var(--r-lg) var(--r-curve) var(--r-lg); }
.curve-bl { border-radius: var(--r-lg) var(--r-lg) var(--r-lg) var(--r-curve); }
.curve-none { border-radius: var(--r-lg); }

/* 8. Hero */
.hero { position: relative; padding-top: calc(var(--header-h) + 74px); }
.hero--photo { display: flex; align-items: flex-end; min-height: min(840px, 100svh); padding-bottom: 72px; background: var(--navy); overflow: hidden; isolation: isolate; }
.hero--photo.hero--short { min-height: 720px; }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 47, 95, 0.94) 0%, rgba(5, 47, 95, 0.3) 100%); }
.hero--home::after { background: linear-gradient(0deg, rgba(5, 47, 95, 0.92) 0%, rgba(5, 47, 95, 0.28) 100%), linear-gradient(90deg, rgba(5, 47, 95, 0.94) 0%, rgba(5, 47, 95, 0.72) 36%, rgba(5, 47, 95, 0.05) 74%); }
.hero--home .hero__bg { object-position: 72% 30%; }
.hero__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 64px; }
.hero__copy { flex: 1 1 520px; max-width: 880px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hero__aside { flex: 0 1 360px; }
.hero--split { padding-bottom: clamp(64px, 8vw, 96px); }
.hero--split .split { gap: clamp(40px, 6vw, 72px); }
.hero--flush { padding-bottom: 0; }
.hero--flush .split { align-items: end; }
.hero--flush .hero__copy { padding-bottom: clamp(56px, 7vw, 96px); }
.hours-card { display: flex; flex-direction: column; gap: 6px; padding: 24px 28px; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 72px; background: var(--white); color: var(--navy); }
.hours-card__place { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.hours-card__time { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.hours-card__sub { font-size: 16px; color: var(--ink-2); }
.breadcrumb { font-size: 16px; font-weight: 600; }

/* 9. Media & tiles */
.media { position: relative; }
.media img { position: relative; width: 100%; height: clamp(360px, 44vw, 560px); object-fit: cover; }
.media--tall img { height: clamp(420px, 48vw, 640px); }
.media--flush img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.media--arch img { max-width: 520px; margin-inline: auto; border-radius: 260px 260px 0 0; object-position: center 15%; }
.media::before { content: none; position: absolute; width: 62%; height: 62%; border-radius: var(--r-lg); background: var(--accent, var(--amber)); }
.media--accent-br::before { content: ""; right: -28px; bottom: -28px; }
.media--accent-bl::before { content: ""; left: -28px; bottom: -28px; }
.media--accent-tl::before { content: ""; left: -28px; top: -28px; width: 55%; height: 55%; }
.media--accent-tr::before { content: ""; right: -28px; top: -28px; }
.media--green { --accent: var(--green); }
.media__note { position: absolute; left: 24px; bottom: 24px; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--r-pill); background: var(--white); color: var(--navy); font-size: 15px; font-weight: 600; line-height: 1.2; }
@media (max-width: 900px) { .media::before { display: none; } }

.tile { position: relative; display: block; height: var(--tile-h, 540px); overflow: hidden; isolation: isolate; background: var(--navy); color: var(--white); text-decoration: none; }
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 0.6s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 47, 95, 0.92) 0%, rgba(5, 47, 95, 0) 56%); }
.tile__arrow { position: absolute; top: 20px; right: 20px; }
.tile--arrow-left .tile__arrow { right: auto; left: 20px; }
.tile__tag { position: absolute; top: 20px; left: 20px; }
.tile--arrow-left .tile__tag { left: auto; right: 20px; }
.tile__body { position: absolute; left: 32px; right: 32px; bottom: 34px; display: flex; flex-direction: column; gap: 6px; }
.tile__title { font-family: var(--font-display); font-size: clamp(28px, 2.6vw, 34px); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
.tile__title--lg { font-size: clamp(32px, 3.4vw, 48px); }
.tile__text { font-size: 16px; line-height: 1.4; color: var(--on-dark); }
a.tile:hover img { transform: scale(1.04); }
a.tile:hover .arrow-btn { transform: rotate(45deg); background: var(--white); }
a.tile:focus-visible { box-shadow: var(--focus); }
.tile--photo-top img { object-position: center; }
.tile--short { --tile-h: 500px; }
.tile--shorter { --tile-h: 440px; }
@media (max-width: 600px) { .tile { --tile-h: 460px; } }

.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.gallery figure { position: relative; height: 430px; border-radius: var(--r-lg); overflow: hidden; }
.gallery figure:nth-child(4n + 1), .gallery figure:nth-child(4n) { grid-column: span 7; }
.gallery figure:nth-child(4n + 2), .gallery figure:nth-child(4n + 3) { grid-column: span 5; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 20px; bottom: 20px; padding: 10px 18px; border-radius: var(--r-pill); background: var(--white); font-size: 16px; font-weight: 600; line-height: 1.2; }
@media (max-width: 760px) { .gallery figure { grid-column: 1 / -1 !important; height: 300px; } }

.photo-band { position: relative; display: flex; align-items: flex-end; min-height: 660px; padding-block: 220px 56px; background: var(--navy); overflow: hidden; isolation: isolate; }
.photo-band > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.photo-band--scrim::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(5, 47, 95, 0.82); }
.photo-band--center { align-items: center; min-height: 560px; padding-block: 104px; }
.float-card { max-width: 540px; padding: 44px; background: var(--white); color: var(--navy); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.float-card.curve-tr .h2--sm { padding-right: 48px; }
.float-card.curve-tl .h2--sm { padding-left: 40px; }
.float-card--right { margin-left: auto; }
@media (max-width: 600px) { .float-card { padding: 32px 28px; } }

/* 10. Content blocks */
.rows > * { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: baseline; gap: 12px 64px; padding-block: 36px; border-top: 2px solid var(--navy); }
.rows > *:last-child { border-bottom: 2px solid var(--navy); }
.rows h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -0.025em; }
.rows p { font-size: 19px; color: var(--ink-2); }
.rows--sm > * { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); padding-block: 28px; gap: 8px 40px; }
.rows--sm h3 { font-size: clamp(24px, 2.2vw, 28px); letter-spacing: -0.02em; }
@media (max-width: 760px) { .rows > *, .rows--sm > * { grid-template-columns: 1fr; padding-block: 28px; } }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.steps li { display: flex; flex-direction: column; gap: 12px; }
.steps__n { font-family: var(--font-display); font-size: clamp(84px, 9vw, 112px); font-weight: 800; line-height: 0.9; letter-spacing: -0.04em; color: var(--amber); }
.steps h3 { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.steps p { color: var(--ink-2); }
.on-dark .steps p { color: var(--on-dark); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.steps-list { width: 100%; }
.steps-list li { display: flex; align-items: baseline; gap: 20px; padding-block: 20px; border-top: 1px solid var(--rule, #C9BF8C); }
.steps-list li:last-child { border-bottom: 1px solid var(--rule, #C9BF8C); }
.steps-list__n { flex: 0 0 44px; font-family: var(--font-display); font-size: 34px; font-weight: 800; color: var(--teal); }
.steps-list b { display: block; font-size: 20px; font-weight: 600; }
.steps-list span span { display: block; margin-top: 4px; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.steps-list--plain { --rule: #C9D4DD; }
.steps-list--plain li { align-items: center; min-height: 92px; font-size: 19px; }
.steps-list--plain .steps-list__n { flex-basis: 48px; font-size: 48px; color: var(--amber); }

.faq details { border-top: 1px solid #C9D4DD; }
.faq details:last-child { border-bottom: 1px solid #C9D4DD; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; padding-block: 12px; font-size: 20px; font-weight: 600; line-height: 1.3; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23052F5F' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 20px no-repeat; transition: transform 0.25s var(--ease), background-color 0.18s var(--ease); }
.faq summary:hover::after { background-color: var(--amber-600); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 24px; color: var(--ink-2); max-width: 38em; }

.quote-band blockquote { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 58px); line-height: 1.14; letter-spacing: -0.025em; text-wrap: balance; }
.quote-band figcaption { margin-top: 32px; font-weight: 500; }
.quote-band figure { max-width: 1080px; margin-inline: auto; }

.schedule a { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; padding-block: 24px; border-top: 1px solid var(--line-dark); color: var(--white); text-decoration: none; transition: padding 0.2s var(--ease); }
.schedule a:last-child { border-bottom: 1px solid var(--line-dark); }
.schedule__date { flex: 0 0 170px; font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--amber); white-space: nowrap; }
.schedule__name { flex: 1 1 240px; font-family: var(--font-display); font-size: clamp(24px, 3vw, 40px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.schedule__time { font-size: 18px; color: var(--on-dark-2); }
.schedule a:hover { padding-left: 12px; }
.schedule a:hover .btn { background: var(--white); color: var(--navy); }
.schedule--compact .schedule__date { flex-basis: 128px; font-size: 21px; }
.schedule--compact .schedule__name { font-family: var(--font-body); font-size: 19px; font-weight: 500; letter-spacing: 0; }
.schedule--compact a { padding-block: 18px; }
.schedule--compact .schedule__time { font-size: 16px; }

.cta { position: relative; padding-block: var(--section); background: var(--sand); overflow: hidden; isolation: isolate; }
.cta::after { content: ""; position: absolute; z-index: -1; right: -90px; top: 50%; width: min(900px, 90vw); aspect-ratio: 958 / 700; transform: translateY(-50%); background: url("../img/logo-mark.png") center / contain no-repeat; opacity: 0.12; }
.cta .stack { --gap: 32px; }

.panel { padding: clamp(28px, 3.4vw, 44px); background: var(--white); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.panel--tint { background: var(--sand-50); }
.panel--navy { background: var(--navy); color: var(--white); }
.panel--amber { background: var(--amber); }
.panel--green { background: var(--green); }
.panel--sand { background: var(--sand); }
.panel--teal { background: var(--teal); color: var(--white); }
.panel--navy .text, .panel--navy .muted { color: var(--on-dark); }
.panel.curve-br { padding-bottom: clamp(48px, 5vw, 72px); }
.panel.curve-tr > :first-child { padding-right: 56px; }
.panel > .btn:last-child, .panel > .btn-row:last-child { margin-top: auto; }
.muted { color: var(--ink-2); }
.placeholder { color: var(--ink-3); }

.dl { width: 100%; }
.dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 14px; border-top: 1px solid var(--line); }
.dl dt { color: var(--ink-2); }
.dl dd { font-weight: 600; text-align: right; }
.panel--navy .dl > div, .card--navy .dl > div { border-color: var(--line-dark); }
.panel--navy .dl dt, .card--navy .dl dt { color: var(--on-dark-2); }
.dl--stack > div { flex-direction: column; gap: 2px; border: 0; padding-block: 8px; }
.dl--stack dt { font-size: 15px; }
.dl--stack dd { text-align: left; }
.dl__total { border-top: 2px solid var(--amber) !important; padding-block: 18px !important; }
.dl__total dt { font-weight: 600; color: inherit !important; }
.dl__total dd { font-family: var(--font-display); font-size: 28px; font-weight: 800; }

.service { position: relative; min-height: 360px; padding: 40px; padding-top: 104px; text-decoration: none; gap: 14px; transition: transform 0.25s var(--ease); }
.service .tile__arrow { top: 24px; right: 24px; }
.service--arrow-left .tile__arrow { right: auto; left: 24px; }
.service.curve-tl .tile__arrow { right: 24px; }
.service__title { font-family: var(--font-display); font-size: clamp(28px, 2.6vw, 34px); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
.service__text { font-size: 18px; line-height: 1.5; }
.service__meta { margin-top: auto; font-size: 16px; opacity: 0.85; }
a.service:hover { transform: translateY(-4px); }
a.service:hover .arrow-btn { transform: rotate(45deg); background: var(--white); }
a.service:focus-visible { box-shadow: var(--focus); }
.spotlight { width: 100%; padding: 22px 26px; border-radius: var(--r-md); background: var(--navy-600); display: flex; flex-direction: column; gap: 6px; }
.spotlight b { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.2; }
.spotlight span { font-size: 16px; line-height: 1.5; color: var(--on-dark-2); }
.media img.contact-photo { height: 240px; }
.login-hero { padding-bottom: clamp(64px, 8vw, 96px); align-items: center; min-height: min(900px, 100svh); }
.login-hero::after { background: rgba(5, 47, 95, 0.8); }
.login-card { max-width: 480px; margin-left: auto; padding-bottom: 36px; box-shadow: none; }
.login-card .small { padding-left: 44px; }
@media (max-width: 900px) { .login-card { margin-left: 0; max-width: none; } }
button.link { border: 0; padding: 0; background-color: transparent; font: inherit; font-weight: 600; cursor: pointer; }

.map { min-height: 420px; padding: 28px; background: #D9E4EA; display: flex; align-items: flex-start; }
.person { display: flex; align-items: center; gap: 16px; }
.person b { font-weight: 600; }

/* 11. Forms */
.form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend, .label { font-size: 15px; font-weight: 600; }
.field label span { font-weight: 400; color: var(--ink-3); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.input, .select {
  width: 100%; min-height: 56px; padding: 0 18px;
  border: 2px solid var(--line-strong); border-radius: var(--r-sm);
  background-color: var(--white); color: var(--navy); font-size: 17px;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
  appearance: none; -webkit-appearance: none;
}
.input::placeholder { color: var(--ink-3); opacity: 1; }
.input:hover, .select:hover { border-color: var(--navy); }
.input:focus-visible, .select:focus-visible { border-color: var(--navy); border-radius: var(--r-sm); box-shadow: 0 0 0 4px rgba(241, 162, 8, 0.45); }
.select { padding-right: 52px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23052F5F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 20px; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 14px; }
.legend-lg, .field .legend-lg { font-family: var(--font-display); font-size: clamp(22px, 2vw, 26px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.pill-options { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-option { position: relative; }
.pill-option input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pill-option span { display: inline-flex; align-items: center; min-height: 50px; padding: 0 22px; border: 2px solid var(--navy); border-radius: var(--r-pill); font-size: 16px; font-weight: 600; line-height: 1; transition: background-color 0.15s var(--ease), color 0.15s var(--ease); }
.pill-option input:hover + span { background: var(--mist); }
.pill-option input:checked + span { background: var(--navy); color: var(--white); }
.pill-option input:focus-visible + span { box-shadow: var(--focus); }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 16px; color: var(--ink-2); cursor: pointer; }
.check input, .plan input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--navy); cursor: pointer; }
.plan { display: flex; align-items: flex-start; gap: 16px; padding: 24px; border: 3px solid var(--white); border-radius: var(--r-md); background: var(--white); cursor: pointer; transition: border-color 0.15s var(--ease); }
.plan:hover { border-color: var(--line-strong); }
.plan:has(input:checked) { border-color: var(--navy); }
.plan b { display: block; font-size: 20px; font-weight: 600; }
.plan span span { display: block; color: var(--ink-2); font-size: 17px; }
.form-card { padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--white); color: var(--navy); box-shadow: var(--shadow-card); }
.pull-up { margin-top: -150px; position: relative; }
.toggle-group { display: flex; flex-wrap: wrap; gap: 8px; }
.toggle { min-height: 48px; padding: 0 22px; border: 2px solid var(--navy); border-radius: var(--r-pill); background: var(--white); color: var(--navy); font-size: 15px; font-weight: 600; line-height: 1; cursor: pointer; transition: background-color 0.15s var(--ease), color 0.15s var(--ease); }
.toggle:hover { background: var(--mist); }
.toggle[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.toggle:focus-visible { border-radius: var(--r-pill); }
[data-filter-item][hidden] { display: none; }

/* 12. Member area */
.app-body { background: var(--mist); }
.app-header { position: sticky; top: 0; z-index: 40; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 14px clamp(20px, 3vw, 40px); background: var(--white); border-bottom: 1px solid var(--line); }
.app-header .logo img { height: 40px; }
.app-header__brand { display: flex; align-items: center; gap: 16px; text-decoration: none; border-radius: 8px; }
.app-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.app-header__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-pill); font-size: 16px; font-weight: 600; text-decoration: none; }
.app-header__link:hover { background: var(--mist); }
.app { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: calc(100vh - 73px); }
.app-nav { background: var(--navy); color: var(--white); padding: 32px 16px; }
.app-nav__inner { position: sticky; top: 105px; display: flex; flex-direction: column; gap: 6px; }
.app-nav__title { padding: 0 16px 12px; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--sand); }
.app-nav a { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: var(--r-pill); font-size: 16px; font-weight: 500; text-decoration: none; transition: background-color 0.15s var(--ease); }
.app-nav a:hover { background: var(--navy-600); }
.app-nav a[aria-current="page"] { background: var(--amber); color: var(--navy); font-weight: 600; }
.app-main { padding: 48px clamp(20px, 4vw, 64px) 96px; }
.app-main__inner { max-width: 1080px; display: flex; flex-direction: column; gap: 32px; }
.app-main__inner--narrow { max-width: 880px; }
.app-nav, .app-main { min-width: 0; }
@media (max-width: 520px) {
  .app-header { padding-block: 10px; }
  .app-header .chip { display: none; }
  .app-header__link { padding: 0 8px; font-size: 15px; }
}
@media (max-width: 900px) {
  .app { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .app-nav { padding: 12px 12px 14px; }
  .app-nav__inner { position: static; flex-direction: row; overflow-x: auto; gap: 4px; scrollbar-width: none; }
  .app-nav__inner::-webkit-scrollbar { display: none; }
  .app-nav__title { display: none; }
  .app-nav a { flex: none; min-height: 44px; white-space: nowrap; }
  .app-main { padding-top: 32px; }
}
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.page-head p { margin-top: 8px; font-size: 19px; color: var(--ink-2); }
.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.cards > * { flex: var(--grow, 1) 1 var(--basis, 300px); min-width: 0; }
.card { padding: 32px; border-radius: var(--r-lg); background: var(--white); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.card--navy { background: var(--navy); color: var(--white); }
.card--amber { background: var(--amber); }
.card--sand { background: var(--sand); }
.card--tint { background: var(--sand-50); }
.card--navy .card__label, .card--navy .card__sub { color: var(--on-dark-2); }
.card.curve-br { border-radius: var(--r-lg) var(--r-lg) 110px var(--r-lg); padding-bottom: 44px; }
.card.curve-bl { border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 110px; }
.card.curve-tr { border-radius: var(--r-lg) 110px var(--r-lg) var(--r-lg); }
.card > .link:last-child, .card > .btn:last-child { margin-top: auto; }
.card__label { font-size: 16px; color: var(--ink-2); }
.card--amber .card__label { color: var(--navy); font-weight: 600; }
.card__value { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: clamp(28px, 2.6vw, 34px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.card__value--xl { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.025em; }
.card__sub { font-size: 17px; color: var(--ink-2); }
.card--amber .card__sub { color: var(--navy); }
.meter { width: 100%; height: 10px; border-radius: var(--r-pill); background: var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: var(--r-pill); background: var(--green); }
.mini-stats { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; }
.mini-stats > div { flex: 1 1 90px; padding: 14px 16px; border-radius: 16px; background: var(--white); display: flex; flex-direction: column; }
.mini-stats span { font-size: 14px; color: var(--ink-2); }
.mini-stats b { font-family: var(--font-display); font-size: 24px; font-weight: 800; }
.mini-stats .is-target { background: var(--navy); color: var(--white); }
.mini-stats .is-target span { color: var(--on-dark-2); }
.list-rows { width: 100%; }
.list-rows > * { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-block: 20px; border-top: 1px solid var(--line); }
.list-rows > *:first-child { border-top: 0; }
.list-rows__date { flex: 0 0 150px; font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.list-rows__main { flex: 1 1 240px; display: flex; flex-direction: column; }
.list-rows__main b { font-size: 19px; font-weight: 600; }
.list-rows__main span { font-size: 16px; color: var(--ink-2); }
.table-wrap { width: 100%; overflow-x: auto; }
.table { width: 100%; min-width: 540px; border-collapse: collapse; text-align: left; }
.table th { padding: 12px 16px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.table td { padding: 18px 16px; border-top: 1px solid var(--line); }
.table th:first-child, .table td:first-child { padding-left: 0; }
.table th:last-child, .table td:last-child { padding-right: 0; }
.table .strong { font-weight: 600; }
.meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px 32px; width: 100%; }
.meta-grid dt { font-size: 15px; color: var(--on-dark-2); }
.meta-grid dd { margin-top: 4px; font-size: 20px; font-weight: 600; }
.date-block { flex: 1 1 220px; max-width: 300px; padding: 36px 32px; background: var(--navy); color: var(--white); display: flex; flex-direction: column; gap: 4px; }
.date-block__day { font-size: 18px; color: var(--on-dark-2); }
.date-block__num { font-family: var(--font-display); font-size: 84px; font-weight: 800; line-height: 0.95; letter-spacing: -0.04em; }
.date-block__month { font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.date-block__time { margin-top: 12px; font-size: 20px; font-weight: 600; color: var(--amber); }
.booking { display: flex; flex-wrap: wrap; overflow: hidden; background: var(--white); }
.booking__body { flex: 4 1 380px; min-width: 0; padding: 36px 32px 52px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
@media (max-width: 700px) { .date-block { max-width: none; } }
.chart { width: 100%; height: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
@media print {
  .site-header, .app-nav, .cta::after { display: none; }
  .hero { padding-top: 40px; }
}
