/* ==========================================================================
   Light Business Hub design system
   Colours and type come from the live 2025 brand (logo + Mobirise project).
   Gold is used on buttons with navy text and on navy backgrounds only:
   gold text on white fails contrast (3.0:1), so links use a deeper gold.
   ========================================================================== */

:root {
  --navy: #101b41;
  --navy-2: #1c2a5c;
  --gold: #c4892d;
  --gold-bright: #e2a849;   /* gold on navy: 7.9:1 */
  --gold-ink: #8a5d14;      /* gold-toned text on white: 5.7:1 */
  --cream: #f3dda8;
  --ink: #101b41;
  --muted: #5b6478;         /* 5.9:1 on white */
  --line: #d9dde6;
  --panel: #eef0f5;
  --white: #ffffff;
  --ok: #1d6b45;
  --warn: #8a4b00;
  --error: #a3261c;

  --font: "Jost", "Futura", "Century Gothic", "Trebuchet MS", system-ui, sans-serif;

  /* Type scale (ratio about 1.25) */
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --step-4: clamp(2.25rem, 1.6rem + 3vw, 3.75rem);
  --step-5: clamp(2.75rem, 1.6rem + 5.4vw, 5.75rem);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: clamp(4rem, 3rem + 5vw, 7.5rem);

  --wrap: 72rem;
  --radius: 6px;
  --radius-lg: 14px;
  --focus: 0 0 0 3px var(--white), 0 0 0 6px var(--gold-ink);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 2px; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 var(--space-2); font-weight: 600; letter-spacing: -0.015em; }
p { margin: 0 0 var(--space-2); }
address { font-style: normal; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: var(--white); padding: var(--space-1) var(--space-2); z-index: 100; }
.skip-link:focus { left: var(--space-2); top: var(--space-2); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 44rem; }
.staging-bar { background: var(--cream); color: var(--navy); text-align: center; font-size: var(--step--1); padding: 0.35rem 1rem; font-weight: 500; }

/* ---------- Type ---------- */
.display { font-size: var(--step-3); font-weight: 600; max-width: 22ch; }
.display--xl { font-size: var(--step-4); max-width: 18ch; }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 38rem; line-height: 1.5; }
.subhead { font-size: var(--step-1); margin-top: var(--space-3); }
.prose { max-width: 38rem; }
.prose--legal h2 { font-size: var(--step-1); margin-top: var(--space-4); }
.prose--legal ul { padding-left: 1.2rem; }
.prose--legal li { margin-bottom: var(--space-1); }
.meta-text { font-size: var(--step--1); color: var(--muted); }
.text-link { font-weight: 500; }
.breadcrumb { font-size: var(--step--1); margin-bottom: var(--space-1); }
.breadcrumb a::before { content: "\2190\00a0"; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.7rem 1.4rem;
  font: 600 1rem/1.2 var(--font);
  border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--small { min-height: 2.5rem; padding: 0.45rem 1rem; font-size: 0.9375rem; }
.btn--wide { width: 100%; }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-bright); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-2); color: var(--white); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.85); }
.btn--light:hover { background: var(--white); color: var(--navy); }
.button-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--space-3); }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.5rem; gap: var(--space-2); }
.brand img { width: 144px; height: auto; }
.site-nav { display: flex; align-items: center; gap: var(--space-3); }
.site-nav ul { list-style: none; display: flex; gap: var(--space-3); margin: 0; padding: 0; }
.site-nav ul a { color: var(--navy); text-decoration: none; font-weight: 500; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { border-bottom-color: var(--gold); }
.nav-toggle { display: none; align-items: center; gap: 0.5rem; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 0.5rem 0.8rem; font: 500 1rem var(--font); color: var(--navy); cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: ""; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: var(--space-2) 1.25rem var(--space-3); gap: var(--space-2); }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { width: 100%; }
}

/* ---------- Hero: the one bold moment ---------- */
.hero { position: relative; color: var(--white); background: var(--navy); min-height: min(88vh, 52rem); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16,27,65,.15) 0%, rgba(16,27,65,.35) 40%, rgba(16,27,65,.92) 100%); }
.hero__content { padding-top: var(--space-6); padding-bottom: var(--space-4); }
.hero__title {
  font-size: var(--step-5); font-weight: 700; line-height: 0.98; letter-spacing: -0.02em;
  text-transform: uppercase; max-width: 13ch; margin-bottom: var(--space-3);
  animation: rise .9s cubic-bezier(.2,.7,.2,1) both;
}
.hero__lead { font-size: var(--step-1); max-width: 34rem; color: rgba(255,255,255,.92); line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--space-3); }
.hero__secondary { display: inline-block; margin-top: var(--space-3); color: var(--gold-bright); font-weight: 500; }
.hero__secondary:hover { color: var(--white); }
.hero__address { margin: 0 auto; padding: 0.9rem 0 1.1rem; border-top: 1px solid rgba(226,168,73,.5); color: var(--gold-bright); font-size: var(--step--1); font-weight: 500; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero__title { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--space-6); }
.section--tint { background: var(--panel); }
.section--flush-top { padding-top: 0; }
.page-head { padding-block: var(--space-6) var(--space-5); }
.page-head--compact { padding-block: var(--space-5) var(--space-4); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-4); }
.section-head .display { margin: 0; }

.intro__grid { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 860px) { .intro__grid { grid-template-columns: 5fr 6fr; align-items: start; gap: var(--space-4); } }
/* The intro flows straight into the next section; avoid doubled padding. */
.section.intro { padding-bottom: 0; }

/* Workspace rows on the homepage: an editorial list, not a card grid */
.space-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.space-row { border-bottom: 1px solid var(--line); }
.space-row__link { display: grid; grid-template-columns: 1fr; gap: var(--space-2); padding-block: var(--space-3); color: inherit; text-decoration: none; align-items: center; }
.space-row__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.space-row__text { display: grid; gap: 0.35rem; }
.space-row__name { font-size: var(--step-2); font-weight: 600; letter-spacing: -0.01em; }
.space-row__summary { color: var(--muted); max-width: 36rem; }
.space-row__price { font-size: var(--step--1); font-weight: 600; color: var(--gold-ink); }
.space-row__link:hover .space-row__name { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.2em; }
@media (min-width: 720px) { .space-row__link { grid-template-columns: 15rem 1fr; gap: var(--space-4); } }

.visit__grid { display: grid; gap: var(--space-4); align-items: center; }
.visit__img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.visit__address { font-size: var(--step-1); margin-bottom: var(--space-2); }
@media (min-width: 860px) { .visit__grid { grid-template-columns: 1fr 1fr; } }

/* Workspace pages */
.space-detail-list { display: grid; gap: var(--space-5); }
.space-card { display: grid; gap: var(--space-3); padding-bottom: var(--space-5); border-bottom: 1px solid var(--line); }
.space-card:last-child { border-bottom: 0; }
.space-card__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); }
.space-card__name { font-size: var(--step-3); }
.space-card__name a { color: var(--navy); text-decoration: none; }
.space-card__name a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.space-card__price { font-weight: 600; color: var(--gold-ink); }
@media (min-width: 860px) { .space-card { grid-template-columns: 5fr 6fr; gap: var(--space-5); align-items: start; } }

.ticks { list-style: none; padding: 0; margin: 0 0 var(--space-3); display: grid; gap: 0.5rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.85rem; height: 0.45rem; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }

.detail__grid { display: grid; gap: var(--space-4); }
.detail__main { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 3 / 2; object-fit: cover; }
.thumbs { list-style: none; padding: 0; margin: var(--space-2) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-1); }
.thumbs img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.price-box { margin-top: var(--space-4); padding: var(--space-3); background: var(--panel); border-radius: var(--radius-lg); }
.price-box__label { font-size: var(--step--1); color: var(--muted); margin: 0; }
.price-box__value { font-size: var(--step-2); font-weight: 600; margin: 0; }
@media (min-width: 900px) { .detail__grid { grid-template-columns: 7fr 5fr; gap: var(--space-5); } }

.other-spaces { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.other-spaces a { display: grid; gap: 0.2rem; padding: var(--space-2) 0; border-bottom: 1px solid var(--line); color: var(--muted); text-decoration: none; }
.other-spaces__name { color: var(--navy); font-weight: 600; font-size: var(--step-1); }
.other-spaces a:hover .other-spaces__name { text-decoration: underline; text-decoration-color: var(--gold); }
@media (min-width: 760px) { .other-spaces { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); } }

.team { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.team__person { display: grid; gap: 0.15rem; }
.team__initials { width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--navy); color: var(--gold-bright); display: grid; place-items: center; font-size: var(--step-2); font-weight: 600; margin-bottom: var(--space-1); }
.team__name { font-weight: 600; font-size: var(--step-1); }
.team__role { color: var(--muted); }

.empty { padding: var(--space-4); background: var(--panel); border-radius: var(--radius-lg); }
.empty p { margin: 0; }
.empty-text { color: var(--muted); margin: 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--space-3); }
.form--compact { gap: var(--space-2); }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field label, .field-group legend { font-weight: 600; }
.field--narrow { max-width: 12rem; }
.field-row { display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field-group { border: 0; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.field-group legend { margin-bottom: var(--space-1); font-size: var(--step-1); }
.optional { font-weight: 400; color: var(--muted); }
.field__hint { font-size: var(--step--1); color: var(--muted); margin: 0; }
.field__hint--row { margin-top: calc(var(--space-2) * -1); }
.field__error { color: var(--error); font-size: var(--step--1); font-weight: 500; margin: 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], input[type="time"],
input[type="password"], input[type="search"], input[type="url"], input:not([type]), select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid #9aa2b4; border-radius: var(--radius); padding: 0.7rem 0.8rem; min-height: 3rem;
}
textarea { resize: vertical; min-height: 6rem; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--navy); }
[aria-invalid="true"] { border-color: var(--error) !important; }
.field--check { grid-template-columns: auto 1fr; align-items: start; column-gap: 0.75rem; }
.field--check input { width: 1.35rem; height: 1.35rem; margin: 0.15rem 0 0; accent-color: var(--navy); }
.field--check label { font-weight: 400; }
.field--check .field__error { grid-column: 2; }
.field--inline { align-self: end; padding-bottom: 0.7rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact__grid { display: grid; gap: var(--space-5); }
.contact__aside .subhead:first-child { margin-top: 0; }
.contact-list { list-style: none; padding: 0; margin: 0 0 var(--space-3); display: grid; gap: 0.6rem; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 7fr 4fr; } .contact__aside { position: sticky; top: 6rem; align-self: start; } }

.hours { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1rem; margin: 0; }
.hours dt { font-weight: 500; }
.hours dd { margin: 0; }

.notice { padding: 0.9rem 1.1rem; border-radius: var(--radius); border-left: 4px solid; background: var(--panel); margin-bottom: var(--space-3); }
.notice--success { border-color: var(--ok); background: #e7f3ec; }
.notice--error { border-color: var(--error); background: #fbeceb; }

/* ---------- Footer ---------- */
.site-footer { background: var(--panel); padding-top: var(--space-5); font-size: 0.95rem; }
.site-footer__grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.site-footer__logo { width: 220px; }
.site-footer__heading { font-size: 1rem; margin-bottom: var(--space-1); }
.site-footer a { color: var(--navy); }
.plain-list, .social, .inline-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { margin-bottom: 0.35rem; }
.social { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; margin-top: var(--space-2); }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); margin-top: var(--space-5); padding-block: var(--space-3); border-top: 1px solid var(--line); color: var(--muted); }
.site-footer__base p { margin: 0; }
.inline-list { display: flex; gap: var(--space-3); }

.cookie-banner { position: fixed; z-index: 50; left: 1rem; right: 1rem; bottom: 1rem; max-width: 34rem; margin-left: auto; background: var(--navy); color: var(--white); padding: var(--space-3); border-radius: var(--radius-lg); box-shadow: 0 10px 30px rgba(16,27,65,.35); }
.cookie-banner p { font-size: 0.95rem; }
.cookie-banner a { color: var(--gold-bright); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cookie-banner .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.7); }
.cookie-banner .btn--ghost:hover { background: var(--white); color: var(--navy); }

/* ==========================================================================
   Control room (admin)
   ========================================================================== */
body.admin { background: #f6f7fa; }
.admin-shell { display: grid; min-height: 100vh; grid-template-columns: 1fr; }
.admin-side { background: var(--navy); color: var(--white); padding: var(--space-2) 1.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); }
.admin-brand { display: flex; align-items: center; gap: 0.6rem; color: var(--white); text-decoration: none; font-weight: 600; font-size: 0.95rem; min-width: 0; }
.admin-brand img { background: var(--white); border-radius: var(--radius); padding: 4px 6px; width: 96px; flex: none; }
@media (max-width: 420px) { .admin-brand span { display: none; } }
.nav-toggle--admin { color: var(--white); border-color: rgba(255,255,255,.4); display: inline-flex; }
.admin-nav { display: none; width: 100%; }
.admin-nav.is-open { display: block; }
.admin-nav ul { list-style: none; margin: 0; padding: 0; }
.admin-nav a { color: rgba(255,255,255,.88); text-decoration: none; display: flex; align-items: center; justify-content: space-between; padding: 0.65rem 0.75rem; border-radius: var(--radius); }
.admin-nav a:hover { background: rgba(255,255,255,.08); color: var(--white); }
.admin-nav a[aria-current="page"] { background: rgba(226,168,73,.16); color: var(--gold-bright); font-weight: 600; }
.admin-nav__foot { margin-top: var(--space-3); padding-top: var(--space-2); border-top: 1px solid rgba(255,255,255,.15); display: grid; gap: 0.25rem; font-size: 0.95rem; }
.admin-nav__foot .link-button { color: rgba(255,255,255,.88); padding: 0.65rem 0.75rem; text-align: left; }
.admin-nav__role { color: rgba(255,255,255,.6); font-size: var(--step--1); padding: 0 0.75rem; }
.badge { background: var(--gold); color: var(--navy); border-radius: 999px; font-size: 0.8rem; font-weight: 700; padding: 0.05rem 0.55rem; }
@media (min-width: 960px) {
  .admin-shell { grid-template-columns: 16rem 1fr; }
  .admin-side { flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; padding: var(--space-3) var(--space-2); position: sticky; top: 0; height: 100vh; overflow-y: auto; overflow-x: hidden; }
  .admin-nav { flex: 1 0 auto; }
  .nav-toggle--admin { display: none; }
  .admin-brand { flex-direction: column; align-items: flex-start; gap: 0.5rem; padding: 0 0.75rem var(--space-2); font-size: var(--step--1); text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.7); }
  .admin-brand img { width: 150px; padding: 6px 10px; }
  .admin-nav { display: flex; flex-direction: column; justify-content: space-between; }
}
.admin-main { padding: var(--space-4) 1.25rem var(--space-6); min-width: 0; }
@media (min-width: 960px) { .admin-main { padding: var(--space-4) var(--space-5) var(--space-6); } }
.admin-page { max-width: 70rem; }
.admin-page--narrow { max-width: 44rem; }
.admin-title { font-size: var(--step-3); margin-bottom: var(--space-1); }
.admin-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); margin-bottom: var(--space-2); }
.admin-head .admin-title { margin: 0; }
.admin-intro { color: var(--muted); max-width: 44rem; }

.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-3); margin-top: var(--space-3); }
.panel__title { font-size: var(--step-1); margin-bottom: var(--space-2); }
.panel__subtitle { font-size: 1rem; margin: var(--space-3) 0 var(--space-1); }
.panel--attention { border-color: var(--gold); border-width: 2px; }
details.panel summary { cursor: pointer; margin: 0; }
details.panel[open] summary { margin-bottom: var(--space-2); }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.checklist li { display: flex; justify-content: space-between; gap: var(--space-2); padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist .is-done { color: var(--muted); }
.checklist__state { color: var(--ok); font-weight: 600; font-size: var(--step--1); }

.stats { list-style: none; padding: 0; margin: var(--space-2) 0 0; display: grid; gap: var(--space-2); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stats li > a, .stats__box { display: grid; align-content: start; gap: 0.2rem; height: 100%; padding: var(--space-2) var(--space-3); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); color: inherit; text-decoration: none; }
.stats a:hover { border-color: var(--navy); }
.stats__n { font-size: var(--step-3); font-weight: 600; line-height: 1; }
.stats__label { color: var(--muted); font-size: var(--step--1); }

.admin-columns { display: grid; gap: 0 var(--space-3); }
@media (min-width: 1100px) { .admin-columns { grid-template-columns: 1fr 1fr; } .admin-columns--wide-left { grid-template-columns: 3fr 2fr; align-items: start; } }

.row-list { list-style: none; margin: 0; padding: 0; }
.row-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.75rem; padding: 0.65rem 0; border-bottom: 1px solid var(--line); }
.row-list li:last-child { border-bottom: 0; }
.row-list a { font-weight: 600; color: var(--navy); }
.row-list__meta { color: var(--muted); font-size: var(--step--1); flex: 1; }

.pipeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-1); }
@media (min-width: 640px) { .pipeline { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1280px) { .pipeline { grid-template-columns: repeat(8, 1fr); } }
.pipeline a { display: grid; gap: 0.1rem; padding: 0.75rem; border-radius: var(--radius); background: var(--panel); color: var(--navy); text-decoration: none; font-size: var(--step--1); }
.pipeline a:hover { background: #e2e6ef; }
.pipeline__n { font-size: var(--step-2); font-weight: 600; }

.tag, .stage { display: inline-block; font-size: 0.8125rem; font-weight: 600; padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--panel); color: var(--navy); white-space: nowrap; }
.tag--ok { background: #e1f0e7; color: var(--ok); }
.tag--warn { background: #fbecd6; color: var(--warn); }
.stage--new { background: var(--cream); color: var(--navy); }
.stage--converted { background: #e1f0e7; color: var(--ok); }
.stage--lost { background: #ececec; color: #4a4a4a; }

.filters { display: flex; flex-wrap: wrap; align-items: end; gap: var(--space-2); margin: var(--space-3) 0; padding: var(--space-2) var(--space-3); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.filters .field { flex: 1 1 11rem; }
.filters .field--check { flex: 0 0 auto; }

.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); margin-top: var(--space-2); }
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th { text-align: left; font-size: var(--step--1); color: var(--muted); font-weight: 600; background: #fafbfc; }
.table th, .table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table td a { font-weight: 600; color: var(--navy); }
.pager { display: flex; gap: var(--space-3); align-items: center; justify-content: center; margin-top: var(--space-3); }

.details { display: grid; grid-template-columns: minmax(7rem, auto) 1fr; gap: 0.5rem 1rem; margin: 0; }
.details dt { color: var(--muted); font-size: 0.95rem; }
.details dd { margin: 0; }
.message { white-space: normal; background: var(--panel); padding: var(--space-2); border-radius: var(--radius); }

.timeline { list-style: none; margin: var(--space-3) 0 0; padding: 0; }
.timeline li { padding: 0.75rem 0 0.75rem 1rem; border-left: 2px solid var(--line); }
.timeline li p { margin: 0; }
.timeline__meta { font-size: var(--step--1); color: var(--muted); }

.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: var(--space-3); }
.login-card { width: min(100%, 26rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-4); display: grid; gap: var(--space-2); }
.login-card img { width: 144px; }
.login-card .meta-text { margin: 0; }

/* Installer */
.install { max-width: 40rem; margin: var(--space-5) auto; padding: 0 1.25rem; }
.install .panel { margin-top: var(--space-2); }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { display: flex; justify-content: space-between; gap: var(--space-2); padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.steps { display: flex; gap: var(--space-2); list-style: none; padding: 0; margin: 0 0 var(--space-3); font-size: var(--step--1); color: var(--muted); flex-wrap: wrap; }
.steps [aria-current="step"] { color: var(--navy); font-weight: 600; }

@media print {
  .site-header, .site-footer, .cookie-banner, .admin-side { display: none; }
}

/* ==========================================================================
   Milestone A: booking, customer portal, memberships
   ========================================================================== */
.flash-area { padding-top: var(--space-3); }
.notice--info { border-color: var(--navy); }
.narrow-form { max-width: 30rem; }
.section-label { font-size: var(--step--1); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: var(--space-4) 0 0; }

/* Spaces as cards with photos */
.resource-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.resource-card a { display: grid; height: 100%; color: inherit; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); transition: border-color .15s ease, transform .15s ease; }
.resource-card a:hover { border-color: var(--navy); transform: translateY(-2px); }
.resource-card img, .resource-card__noimg { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.resource-card__noimg { display: grid; place-items: center; background: var(--navy); color: var(--gold-bright); font-size: var(--step-4); font-weight: 600; }
.resource-card__body { display: grid; gap: 0.2rem; padding: var(--space-2) var(--space-3) var(--space-3); }
.resource-card__cat { font-size: var(--step--1); color: var(--muted); }
.resource-card__name { font-size: var(--step-1); font-weight: 600; }
.resource-card__meta { color: var(--muted); font-size: 0.95rem; }
.resource-card__price { font-weight: 600; color: var(--gold-ink); margin-top: 0.3rem; }
@media (prefers-reduced-motion: reduce) { .resource-card a { transition: none; } .resource-card a:hover { transform: none; } }

/* Booking panel and time slots */
.booking-panel { background: var(--panel); border-radius: var(--radius-lg); padding: var(--space-3); align-self: start; }
.booking-panel .subhead:first-child { margin-top: 0; }
@media (min-width: 900px) { .booking-panel { position: sticky; top: 6rem; } }
.slots { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(5.2rem, 1fr)); gap: 0.5rem; }
.slots legend { font-weight: 600; margin-bottom: 0.5rem; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.slot span { display: grid; place-items: center; min-height: 2.75rem; border: 1.5px solid #9aa2b4; border-radius: var(--radius); background: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; }
.slot input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.slot input:focus-visible + span { box-shadow: var(--focus); }
.slot input:hover + span { border-color: var(--navy); }

/* Booking statuses */
.stage--b-pending { background: var(--cream); color: var(--navy); }
.stage--b-confirmed { background: #e1f0e7; color: var(--ok); }
.stage--b-checked_in { background: var(--navy); color: var(--white); }
.stage--b-completed { background: var(--panel); color: var(--muted); }
.stage--b-cancelled, .stage--b-rejected { background: #ececec; color: #4a4a4a; }

/* Customer account area */
.account__grid { display: grid; gap: var(--space-4); }
@media (min-width: 860px) { .account__grid { grid-template-columns: 13rem 1fr; align-items: start; } }
.account-nav { display: grid; gap: var(--space-2); }
.account-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem; }
.account-nav a { display: block; padding: 0.55rem 0.8rem; border-radius: var(--radius); color: var(--navy); text-decoration: none; font-weight: 500; }
.account-nav a:hover { background: var(--panel); }
.account-nav a[aria-current="page"] { background: var(--navy); color: var(--white); }
.account-nav .link-button { justify-self: start; padding: 0.55rem 0.8rem; color: var(--muted); }
@media (min-width: 860px) { .account-nav ul { flex-direction: column; } .account-nav { position: sticky; top: 6rem; } }
.panel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); margin-bottom: var(--space-2); }
.panel__head .panel__title, .panel__head .display { margin: 0; }
.details--spaced { margin: var(--space-3) 0; }
.row-list--panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 0 var(--space-3); }

/* Membership plans */
.plan-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.plan { display: grid; gap: var(--space-1); align-content: start; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-3); }
.plan__name { font-size: var(--step-2); margin: 0; }
.plan__price { font-size: var(--step-2); font-weight: 600; color: var(--navy); margin: 0; }
.plan__price span { font-size: 1rem; font-weight: 400; color: var(--muted); }

/* Control room extras */
.tabs { display: flex; gap: var(--space-1); border-bottom: 1px solid var(--line); margin: var(--space-3) 0; }
.tabs a { padding: 0.6rem 1rem; color: var(--muted); text-decoration: none; font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--gold); }
.button-stack { display: grid; gap: 0.5rem; }
.request-list { list-style: none; margin: 0; padding: 0; }
.photo-admin { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: grid; gap: var(--space-2); grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); }
.photo-admin li { display: grid; gap: 0.35rem; align-content: start; }
.photo-admin img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.photo-admin__actions { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; font-size: var(--step--1); }
.table input[type="time"] { min-height: 2.5rem; padding: 0.4rem 0.5rem; width: auto; }

/* ==========================================================================
   Version 0.3 design layer: modern public website
   Deep navy, warm gold and cream; pill buttons; slideshow hero.
   ========================================================================== */
:root {
  --navy-deep: #0b1433;
  --gold-grad: linear-gradient(135deg, #e7bd72 0%, #c4892d 55%, #a8721f 100%);
  --cream-soft: #faf3e3;
  --shadow-sm: 0 2px 8px rgba(11, 20, 51, .08);
  --shadow-lg: 0 24px 60px rgba(11, 20, 51, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
body:not(.admin) { -webkit-font-smoothing: antialiased; }

/* Buttons: rounded, confident */
body:not(.admin) .btn { border-radius: 999px; padding-inline: 1.6rem; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s; }
body:not(.admin) .btn--small { padding-inline: 1.15rem; }
.btn--lg { min-height: 3.4rem; padding: 0.85rem 2rem; font-size: 1.0625rem; }
body:not(.admin) .btn--gold { background: var(--gold-grad); color: var(--navy-deep); box-shadow: 0 6px 18px rgba(196, 137, 45, .35); }
body:not(.admin) .btn--gold:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(196, 137, 45, .45); color: var(--navy-deep); }
body:not(.admin) .btn--navy:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass:hover { background: #fff; color: var(--navy); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--outline-light:hover { background: #fff; color: var(--navy); }
.btn--outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline-navy:hover { background: var(--navy); color: #fff; }
@media (prefers-reduced-motion: reduce) { body:not(.admin) .btn:hover { transform: none !important; } }

.eyebrow { display: inline-flex; align-items: center; gap: .75rem; margin: 0 0 var(--space-2); font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--gold-bright); }
.lead--dark { color: #3b4560; }
.link-light { color: var(--gold-bright); }

/* ---------- Header ---------- */
.site-header { background: rgba(11, 20, 51, .94); border-bottom: 1px solid rgba(255, 255, 255, .08); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); transition: background-color .3s, box-shadow .3s, padding .3s; }
.site-header__inner { min-height: 5rem; }
.brand img { width: 150px; }
.site-nav ul a { color: rgba(255, 255, 255, .86); font-weight: 500; position: relative; border-bottom: 0; padding: .5rem 0; }
.site-nav ul a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: .1rem; height: 2px; background: var(--gold-bright); transition: right .25s var(--ease); }
.site-nav ul a:hover { color: #fff; }
.site-nav ul a:hover::after, .site-nav ul a[aria-current="page"]::after { right: 0; }
.site-nav ul a[aria-current="page"] { color: #fff; }
.site-nav__actions { display: flex; align-items: center; gap: var(--space-2); }
.site-nav__account { display: inline-flex; align-items: center; gap: .45rem; color: rgba(255, 255, 255, .86); text-decoration: none; font-weight: 500; }
.site-nav__account svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.site-nav__account:hover, .site-nav__account[aria-current="page"] { color: var(--gold-bright); }
.site-header :focus-visible { box-shadow: 0 0 0 3px var(--navy-deep), 0 0 0 5px var(--gold-bright); }

/* Transparent over the slideshow, solid once you scroll */
.site-header--overlay { position: absolute; left: 0; right: 0; background: linear-gradient(180deg, rgba(11, 20, 51, .55), rgba(11, 20, 51, 0)); border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header--overlay.is-scrolled { position: fixed; top: 0; background: rgba(11, 20, 51, .94); border-bottom-color: rgba(255, 255, 255, .08); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }

/* Phone and tablet menu: full screen */
.nav-toggle { color: #fff; border-color: rgba(255, 255, 255, .35); border-radius: 999px; padding: .55rem 1rem; position: relative; z-index: 60; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { transition: transform .25s var(--ease), background-color .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .brand { position: relative; z-index: 60; }
  .site-nav { display: flex; position: fixed; inset: 0; z-index: 55; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--space-4); padding: 6rem 2rem 3rem; background: radial-gradient(120% 80% at 100% 0%, rgba(196, 137, 45, .22), transparent 55%), var(--navy-deep); border: 0; visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility .3s; }
  .site-nav.is-open { visibility: visible; opacity: 1; }
  .site-nav ul { flex-direction: column; gap: .25rem; width: 100%; }
  .site-nav ul a { display: inline-block; font-size: clamp(1.75rem, 7vw, 2.5rem); font-weight: 600; letter-spacing: -.01em; padding: .35rem 0; border: 0; color: #fff; }
  .site-nav.is-open ul li { animation: menu-in .45s var(--ease) both; }
  .site-nav.is-open ul li:nth-child(2) { animation-delay: .04s; } .site-nav.is-open ul li:nth-child(3) { animation-delay: .08s; }
  .site-nav.is-open ul li:nth-child(4) { animation-delay: .12s; } .site-nav.is-open ul li:nth-child(5) { animation-delay: .16s; }
  .site-nav__actions { flex-direction: column; align-items: flex-start; gap: var(--space-2); width: 100%; }
  .site-nav__actions .btn { width: 100%; max-width: 22rem; min-height: 3.25rem; font-size: 1.0625rem; }
  .site-nav__account { font-size: 1.125rem; }
}
@media (min-width: 1181px) { .site-nav { display: flex !important; } .nav-toggle { display: none; } }
@keyframes menu-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
body.menu-open { overflow: hidden; }

/* ---------- Slideshow hero ---------- */
.hero--slides { min-height: 100vh; min-height: 100svh; justify-content: flex-end; background: var(--navy-deep); }
.hero--slides::after { background: linear-gradient(180deg, rgba(11, 20, 51, .55) 0%, rgba(11, 20, 51, .2) 35%, rgba(11, 20, 51, .55) 65%, rgba(11, 20, 51, .95) 100%), radial-gradient(70% 60% at 0% 100%, rgba(196, 137, 45, .25), transparent 70%); z-index: 1; }
.hero__slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(1.02); }
.hero__slide.is-active img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.hero--slides .hero__content { position: relative; z-index: 2; padding-top: 9rem; padding-bottom: var(--space-4); }
.hero--slides .hero__title { font-size: clamp(2.75rem, 1.4rem + 6vw, 6.5rem); font-weight: 700; letter-spacing: -.025em; max-width: 14ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero__accent { background: linear-gradient(120deg, #f1cd8a, #e2a849 50%, #c4892d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero--slides .hero__lead { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); color: rgba(255, 255, 255, .9); max-width: 36rem; }
.hero--slides .hero__secondary { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .4); padding-bottom: 2px; }
.hero--slides .hero__secondary:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.hero__controls { position: relative; z-index: 2; display: flex; align-items: center; gap: var(--space-2); padding-block: var(--space-2) var(--space-3); border-top: 1px solid rgba(255, 255, 255, .15); }
.hero__caption { margin: 0 auto 0 0; color: rgba(255, 255, 255, .8); font-size: .9375rem; letter-spacing: .02em; }
.hero__dots { display: flex; gap: .25rem; }
.hero__dot { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; padding: 0; }
.hero__dot span { position: relative; display: block; width: 26px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; transition: width .3s var(--ease); }
.hero__dot.is-active span { width: 40px; }
.hero__dot.is-active span::after { content: ""; position: absolute; inset: 0; background: var(--gold-bright); transform-origin: left; animation: dot-progress var(--slide-ms, 6500ms) linear both; }
.hero.is-paused .hero__dot.is-active span::after { animation: none; transform: scaleX(1); }
@keyframes dot-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__pause { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; cursor: pointer; }
.hero__pause:hover { background: #fff; color: var(--navy); }
.hero__pause svg { width: 18px; height: 18px; fill: currentColor; }
.hero__pause .icon-play, .hero.is-paused .hero__pause .icon-pause { display: none; }
.hero.is-paused .hero__pause .icon-play { display: block; }
.hero--slides .hero__title { animation: rise .9s var(--ease) both; }
.hero--slides .hero__lead { animation: rise .9s .12s var(--ease) both; }
.hero--slides .hero__actions { animation: rise .9s .24s var(--ease) both; }
@media (max-width: 640px) { .hero__caption { display: none; } .hero__controls { justify-content: space-between; } .hero--slides .hero__content { padding-top: 7.5rem; } .hero__actions .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; } .hero__slide.is-active img { animation: none; }
  .hero__dot.is-active span::after { animation: none; transform: scaleX(1); }
  .hero--slides .hero__title, .hero--slides .hero__lead, .hero--slides .hero__actions { animation: none; }
}

/* ---------- Sections ---------- */
.section--navy { background: radial-gradient(90% 70% at 100% 0%, rgba(196, 137, 45, .14), transparent 60%), var(--navy-deep); color: rgba(255, 255, 255, .86); }
.section--navy .display, .section--navy h2, .section--navy h3 { color: #fff; }
.section--cream { background: var(--cream-soft); }

.intro2__head { max-width: 48rem; margin-bottom: var(--space-5); }
.intro2__head .display { max-width: 20ch; }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
@media (min-width: 820px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); } }
.pillar { padding-top: var(--space-3); border-top: 2px solid var(--navy); }
.pillar__num { display: block; font-size: var(--step-3); font-weight: 600; color: var(--gold); line-height: 1; margin-bottom: var(--space-2); font-variant-numeric: tabular-nums; }
.pillar__title { font-size: var(--step-2); margin-bottom: var(--space-1); }
.pillar p { color: var(--muted); margin: 0; }

.photo-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); grid-template-columns: 1fr; }
@media (min-width: 620px) { .photo-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .photo-cards { grid-template-columns: repeat(4, 1fr); } }
.photo-card a { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; color: #fff; text-decoration: none; background: var(--navy); isolation: isolate; }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); z-index: -2; }
.photo-card a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 20, 51, 0) 30%, rgba(11, 20, 51, .92) 100%); }
.photo-card a:hover img { transform: scale(1.07); }
.photo-card__body { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: .4rem; padding: var(--space-3); }
.photo-card__name { font-size: var(--step-2); font-weight: 600; letter-spacing: -.01em; }
.photo-card__summary { font-size: .9375rem; color: rgba(255, 255, 255, .82); line-height: 1.45; }
.photo-card__more { color: var(--gold-bright); font-weight: 600; font-size: .9375rem; margin-top: .25rem; }
.photo-card__more span { display: inline-block; transition: transform .25s var(--ease); }
.photo-card a:hover .photo-card__more span { transform: translateX(4px); }
.photo-card a:focus-visible { box-shadow: 0 0 0 3px var(--navy-deep), 0 0 0 6px var(--gold-bright); }
@media (prefers-reduced-motion: reduce) { .photo-card img, .photo-card__more span { transition: none; } .photo-card a:hover img { transform: none; } }

.booking-band__grid { display: grid; gap: var(--space-5); align-items: center; }
@media (min-width: 900px) { .booking-band__grid { grid-template-columns: 6fr 5fr; } }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.steps-list li { display: flex; gap: var(--space-2); align-items: flex-start; background: #fff; border-radius: 16px; padding: var(--space-3); box-shadow: var(--shadow-sm); }
.steps-list__n { flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-bright); font-weight: 700; }
.steps-list strong { display: block; font-size: 1.0625rem; }
.steps-list li > span:last-child { color: var(--muted); }

.visit2__media { position: relative; }
.visit2__media::before { content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border: 2px solid var(--gold); border-radius: 22px; z-index: -1; }
.visit2__media img { border-radius: 22px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow-lg); }
.visit2 .visit__grid { gap: var(--space-5); }
.hours--inline { margin-bottom: var(--space-2); }

.cta-band { background: var(--gold-grad); color: var(--navy-deep); padding-block: var(--space-5); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); }
.cta-band__title { font-size: var(--step-3); font-weight: 700; letter-spacing: -.015em; margin: 0; max-width: 22ch; }
.cta-band .button-row { margin: 0; }

/* Scroll reveal (only when JavaScript is on and motion is welcome) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Inner page headings: navy with a warm glow ---------- */
.page-head { background: radial-gradient(80% 90% at 100% 0%, rgba(196, 137, 45, .2), transparent 60%), var(--navy-deep); color: #fff; padding-block: var(--space-6) var(--space-5); }
.page-head .display { color: #fff; }
.page-head .lead { color: rgba(255, 255, 255, .82); }
.page-head p, .page-head .meta-text { color: rgba(255, 255, 255, .8); }
.page-head a { color: var(--gold-bright); }
.page-head .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .6); }
.page-head .btn--ghost:hover { background: #fff; color: var(--navy); }
.page-head + .section--flush-top, .page-head + .section { padding-top: var(--space-5); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .75); padding-top: var(--space-6); }
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); }
.site-footer a:hover { color: var(--gold-bright); }
.site-footer__heading { color: var(--gold-bright); font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: var(--space-2); }
.site-footer__logo { width: 240px; }
.site-footer__base { border-top-color: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .6); }
.site-footer .link-button { color: #fff; }
.site-footer :focus-visible { box-shadow: 0 0 0 3px var(--navy-deep), 0 0 0 5px var(--gold-bright); }

/* Cards elsewhere get the softer, rounder look */
body:not(.admin) .resource-card a, body:not(.admin) .plan, body:not(.admin) .price-box, body:not(.admin) .booking-panel, body:not(.admin) .empty { border-radius: 18px; }
body:not(.admin) .resource-card a:hover { box-shadow: var(--shadow-lg); }
/* Gold headline words: a shadow behind see-through gradient text looks muddy, so use a soft glow filter instead */
.hero--slides .hero__title .hero__accent { text-shadow: none; filter: drop-shadow(0 2px 18px rgba(0, 0, 0, .35)); }
/* Footer opening hours stay on one line each */
.site-footer .hours { grid-template-columns: auto auto; justify-content: start; gap: .3rem 1rem; }
.site-footer .hours dd { white-space: nowrap; }

/* ==========================================================================
   Version 0.4.0: support conversations, request statuses, calendar
   ========================================================================== */
.thread { list-style: none; margin: var(--space-3) 0; padding: 0; display: grid; gap: var(--space-2); }
.thread__msg { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: var(--space-2) var(--space-3); max-width: 46rem; }
.thread__msg--mine { background: #eef1f8; border-color: #d6dcea; margin-left: auto; }
.thread__msg--internal { background: #fff7e6; border-color: #f0d39a; border-style: dashed; }
.thread__msg p { margin: 0; }
.thread__meta { font-size: var(--step--1); color: var(--muted); margin-bottom: .35rem !important; }

.stage--t-open { background: var(--cream); color: var(--navy); }
.stage--t-in_progress { background: var(--navy); color: var(--white); }
.stage--t-waiting_customer { background: #e7ecf7; color: var(--navy); }
.stage--t-resolved { background: #e1f0e7; color: var(--ok); }
.stage--t-closed { background: #ececec; color: #4a4a4a; }

.admin-page--wide { max-width: none; }
.cal-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: var(--space-2) 0 var(--space-3); }
.cal-nav input[type="date"] { width: auto; min-height: 2.5rem; padding: .4rem .6rem; }
.cal-nav__day { margin-left: .5rem; font-size: 1.0625rem; }
.cal-wrap { overflow: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); max-height: 75vh; }
.cal-wrap:focus-visible { box-shadow: var(--focus); }
.cal { display: grid; grid-template-columns: 4rem repeat(var(--cols), minmax(9.5rem, 1fr)); grid-template-rows: auto repeat(var(--rows), 1.6rem); min-width: max-content; position: relative; }
.cal__corner { grid-row: 1; grid-column: 1; position: sticky; top: 0; left: 0; z-index: 4; background: #fafbfc; border-bottom: 1px solid var(--line); }
.cal__head { grid-row: 1; position: sticky; top: 0; z-index: 3; background: #fafbfc; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); padding: .6rem .7rem; font-weight: 600; font-size: .875rem; display: grid; gap: .1rem; }
.cal__member { font-weight: 400; font-size: .75rem; color: var(--muted); }
.cal__time { grid-column: 1; position: sticky; left: 0; z-index: 2; background: var(--white); font-size: .75rem; color: var(--muted); padding: .15rem .5rem 0; font-variant-numeric: tabular-nums; }
.cal__cell { border-left: 1px solid var(--line); border-top: 1px dashed #eef0f4; }
.cal__cell--hour { border-top: 1px solid var(--line); }
.cal__cell--member { background: repeating-linear-gradient(135deg, #f6f7fa, #f6f7fa 6px, #eef0f5 6px, #eef0f5 12px); }
.cal__booking { z-index: 1; margin: 2px 4px; border-radius: 8px; padding: .3rem .5rem; font-size: .8125rem; line-height: 1.3; text-decoration: none; display: flex; flex-direction: column; overflow: hidden; background: var(--navy); color: var(--white); border-left: 4px solid var(--gold-bright); }
.cal__booking:hover { filter: brightness(1.15); color: var(--white); }
.cal__booking span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal__booking--pending { background: var(--cream); color: var(--navy); border-left-color: var(--gold); }
.cal__booking--pending:hover { color: var(--navy); }
.cal__booking--completed { background: #e6e8ee; color: #3b4560; border-left-color: #9aa2b4; }
.cal__booking--completed:hover { color: #3b4560; }
.cal__status { font-size: .6875rem; opacity: .8; }

/* ==========================================================================
   Milestone B1: finance
   ========================================================================== */
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1.5rem; max-width: 22rem; margin: var(--space-3) 0 0 auto; font-variant-numeric: tabular-nums; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; text-align: right; }
.items-table td { padding: .4rem .5rem; }
.items-table input, .items-table select { min-height: 2.5rem; padding: .45rem .6rem; }
.items-table__qty { width: 5.5rem; }
.items-table__price { width: 9rem; }
.stage--i-draft, .stage--q-draft { background: var(--panel); color: var(--muted); }
.stage--i-issued, .stage--q-sent { background: var(--cream); color: var(--navy); }
.stage--i-partially_paid { background: #e7ecf7; color: var(--navy); }
.stage--i-paid, .stage--q-accepted, .stage--q-invoiced { background: #e1f0e7; color: var(--ok); }
.stage--i-void, .stage--q-declined, .stage--q-expired { background: #ececec; color: #4a4a4a; }
.balance-line { font-size: 1.0625rem; }
.balance-card { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-2); padding: var(--space-3); border-radius: 16px; background: #e1f0e7; color: var(--ok); margin: var(--space-2) 0 var(--space-3); }
.balance-card--due { background: var(--navy-deep, #0b1433); color: #fff; }
.balance-card__label { font-weight: 600; }
.balance-card__value { font-size: var(--step-3); font-weight: 700; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Milestone C1: events, insights, FAQ, gallery, testimonials
   ========================================================================== */
.event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.event-card a { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: start; padding: var(--space-3); border: 1px solid var(--line); border-radius: 18px; background: #fff; color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.event-card a:hover { border-color: var(--navy); box-shadow: var(--shadow-lg, 0 20px 50px rgba(11,20,51,.18)); transform: translateY(-2px); }
.event-card__date { display: grid; place-items: center; width: 4.5rem; height: 4.75rem; border-radius: 14px; background: var(--navy-deep, #0b1433); color: #fff; line-height: 1; }
.event-card__day { font-size: 1.75rem; font-weight: 700; }
.event-card__month { font-size: .8125rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-bright); }
.event-card__body { display: grid; gap: .3rem; }
.event-card__type { font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.event-card__title { font-size: var(--step-2); font-weight: 600; letter-spacing: -.01em; }
.event-card__meta, .event-card__summary { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .event-card a:hover { transform: none; } }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--space-4); }
.chips a { padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line); color: var(--navy); text-decoration: none; font-weight: 500; font-size: .9375rem; background: #fff; }
.chips a:hover { border-color: var(--navy); }
.chips a[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }

.post-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.post-card a { display: grid; height: 100%; grid-template-rows: auto 1fr; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #fff; color: inherit; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.post-card a:hover { box-shadow: var(--shadow-lg, 0 20px 50px rgba(11,20,51,.18)); transform: translateY(-2px); }
.post-card img, .post-card__noimg { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__noimg { display: grid; place-items: center; background: radial-gradient(80% 90% at 100% 0%, rgba(196,137,45,.35), transparent 60%), var(--navy-deep, #0b1433); color: var(--gold-bright); font-size: var(--step-4); font-weight: 700; }
.post-card__body { display: grid; align-content: start; gap: .4rem; padding: var(--space-3); }
.post-card__topic { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.post-card__title { font-size: var(--step-1); font-weight: 600; line-height: 1.25; }
.post-card__excerpt { color: var(--muted); font-size: .9375rem; }
.post-card__date { color: var(--muted); font-size: .8125rem; margin-top: .25rem; }
@media (prefers-reduced-motion: reduce) { .post-card a:hover { transform: none; } }

.prose--article { max-width: 42rem; font-size: 1.0625rem; line-height: 1.75; }
.prose--article h2 { font-size: var(--step-2); margin-top: var(--space-4); }
.prose--article h3 { font-size: var(--step-1); margin-top: var(--space-3); }
.prose--article ul { padding-left: 1.25rem; }
.prose--article li { margin-bottom: .4rem; }
.article-cover { width: 100%; border-radius: 18px; margin-bottom: var(--space-4); }
.disclaimer { margin-top: var(--space-4); padding: var(--space-2) var(--space-3); border-left: 3px solid var(--gold); background: var(--panel); color: var(--muted); font-size: .9375rem; border-radius: 0 10px 10px 0; }

.faq-list { display: grid; gap: .5rem; margin-bottom: var(--space-4); }
.faq { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq summary { cursor: pointer; padding: var(--space-2) var(--space-3); font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-ink); font-size: 1.4rem; line-height: 1; }
.faq[open] summary::after { content: "−"; }
.faq .prose { padding: 0 var(--space-3) var(--space-2); color: #3b4560; }

.gallery-grid { list-style: none; margin: 0; padding: 0; columns: 3 16rem; column-gap: var(--space-2); }
.gallery-grid li { break-inside: avoid; margin-bottom: var(--space-2); }
.gallery-grid figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--panel); }
.gallery-grid img { width: 100%; transition: transform .6s var(--ease, ease); }
.gallery-grid a:hover img { transform: scale(1.04); }
.gallery-grid figcaption { padding: .6rem .9rem; font-size: .875rem; color: var(--muted); }

.quote-grid { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.quote-card figure { margin: 0; height: 100%; display: grid; gap: var(--space-2); align-content: space-between; padding: var(--space-4) var(--space-3) var(--space-3); border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.quote-card blockquote { margin: 0; font-size: 1.125rem; line-height: 1.6; color: #fff; }
.quote-card figcaption { display: grid; gap: .15rem; color: rgba(255,255,255,.75); font-size: .9375rem; }
.quote-card figcaption strong { color: var(--gold-bright); }

.details--event { grid-template-columns: 4.5rem 1fr; margin-bottom: var(--space-3); }
.inline-actions { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }

/* ---------- 0.6.1: menu always visible, even if JavaScript does not run ----------
   Default: pinned and solid. Only when the script is confirmed running (.js)
   and the page is at the very top does the menu turn see-through. */
.site-header--overlay,
.site-header--overlay.is-scrolled { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(11, 20, 51, .94); border-bottom: 1px solid rgba(255, 255, 255, .08); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.site-header--overlay.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.js .site-header--overlay:not(.is-scrolled) { background: linear-gradient(180deg, rgba(11, 20, 51, .6), rgba(11, 20, 51, 0)); border-bottom-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
/* Test-copy label: a small tag in the corner instead of a bar above the menu */
body:not(.admin) .staging-bar { position: fixed; left: .75rem; bottom: .75rem; z-index: 70; border-radius: 999px; padding: .35rem .9rem; font-size: .8125rem; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }

/* ---------- 0.6.2: menu and page-width fixes ---------- */
/* Never scroll sideways on public pages (clip does not break the pinned menu) */
body:not(.admin) { overflow-x: hidden; }
@supports (overflow: clip) { body:not(.admin) { overflow-x: clip; } }

/* Full-screen menu: start below the logo bar, size links to the window height, scroll if needed */
@media (max-width: 1180px) {
  .site-nav {
    justify-content: flex-start;
    gap: clamp(1rem, 4vh, 2.5rem);
    padding: calc(5rem + clamp(1rem, 4vh, 2.5rem)) clamp(1.25rem, 5vw, 3rem) 2rem;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .site-nav ul { gap: 0; }
  .site-nav ul a { font-size: clamp(1.35rem, 5.2vh, 2.25rem); padding: clamp(.2rem, 1vh, .45rem) 0; }
  .site-nav ul li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .site-nav ul li a { display: block; }
  .site-nav__actions { gap: clamp(.75rem, 2vh, 1.25rem); }
  .site-nav__actions .btn { min-height: 3rem; }
  /* the logo bar stays solid above the open menu */
  .site-header--overlay .site-header__inner, .site-header .site-header__inner { position: relative; z-index: 60; }
}

/* Test copy label: small, bottom-right, see-through until hovered */
body:not(.admin) .staging-bar { left: auto; right: .75rem; bottom: .75rem; padding: .25rem .7rem; font-size: .75rem; opacity: .85; pointer-events: none; }
/* Wide but short windows (zoomed laptops, tablets on their side): links in two columns */
@media (max-width: 1180px) and (min-width: 700px) {
  .site-nav ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(1.5rem, 5vw, 4rem); max-width: 46rem; }
  .site-nav__actions { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .site-nav__actions .btn { width: auto; min-width: 14rem; }
}

/* ---------- 0.6.3: phone menu cropped ----------
   A blur (backdrop-filter) on the header makes it the frame for the
   full-screen menu inside it, squeezing the menu to the header's height.
   While the menu is open, switch the blur off. */
body.menu-open .site-header,
body.menu-open .site-header--overlay,
body.menu-open .site-header--overlay.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--navy-deep, #0b1433); box-shadow: none; }
@media (max-width: 1180px) {
  .site-nav { height: 100vh; height: 100dvh; }
}
/* Phones: calmer link size and spacing */
@media (max-width: 699px) {
  .site-nav { padding-top: calc(5rem + .75rem); gap: 1.25rem; }
  .site-nav ul a { font-size: clamp(1.25rem, 4.4vh, 1.65rem); padding: .55rem 0; }
  .site-nav__account { font-size: 1rem; }
  .site-nav__actions .btn { min-height: 3rem; font-size: 1rem; }
}

/* ==========================================================================
   Milestone C2: Grow hub, directory, opportunities, toolkit
   ========================================================================== */
.grow-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.grow-grid--two { grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); }
.grow-card a { display: grid; align-content: start; gap: .45rem; height: 100%; padding: var(--space-3); border-radius: 18px; border: 1px solid var(--line); background: #fff; color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.grow-card a:hover { border-color: var(--navy); box-shadow: var(--shadow-lg, 0 20px 50px rgba(11,20,51,.18)); transform: translateY(-2px); }
.grow-card__kicker { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.grow-card__title { font-size: var(--step-1); font-weight: 600; line-height: 1.25; }
.grow-card__text { color: var(--muted); }
.grow-card__more { color: var(--navy); font-weight: 600; margin-top: .25rem; }
.grow-card--feature a { background: radial-gradient(90% 90% at 100% 0%, rgba(196,137,45,.28), transparent 60%), var(--navy-deep, #0b1433); border-color: transparent; color: #fff; }
.grow-card--feature .grow-card__text { color: rgba(255,255,255,.8); }
.grow-card--feature .grow-card__kicker, .grow-card--feature .grow-card__more { color: var(--gold-bright); }
@media (min-width: 900px) { .grow-card--feature { grid-column: span 2; } .grow-card--feature .grow-card__title { font-size: var(--step-3); } }
@media (prefers-reduced-motion: reduce) { .grow-card a:hover { transform: none; } }

.search-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--space-4); }
.search-bar input { flex: 1 1 16rem; }
.search-bar select { flex: 0 1 14rem; }
.listing-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); }
.listing-card a { display: grid; grid-template-columns: 4rem 1fr; gap: var(--space-2); align-items: start; height: 100%; padding: var(--space-3); border-radius: 16px; border: 1px solid var(--line); background: #fff; color: inherit; text-decoration: none; }
.listing-card a:hover { border-color: var(--navy); }
.listing-card img, .listing-card__initial { width: 4rem; height: 4rem; border-radius: 12px; object-fit: contain; background: var(--panel); }
.listing-card__initial { display: grid; place-items: center; background: var(--navy); color: var(--gold-bright); font-weight: 700; font-size: 1.5rem; }
.listing-card__body { display: grid; gap: .2rem; }
.listing-card__name { font-weight: 600; font-size: 1.0625rem; }
.listing-card__cat { font-size: .8125rem; color: var(--muted); }
.listing-card__tagline { color: #3b4560; font-size: .9375rem; }
.badge-verified { display: inline-block; font-size: .6875rem; font-weight: 700; letter-spacing: .04em; padding: .1rem .5rem; border-radius: 999px; background: #e1f0e7; color: var(--ok); vertical-align: middle; }
.badge-verified--gold { background: var(--cream); color: var(--navy); }
.listing-head { display: flex; gap: var(--space-3); align-items: center; }
.listing-head__logo { width: 6rem; height: 6rem; object-fit: contain; border-radius: 16px; background: #fff; padding: .4rem; }

.opp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.opp-row a { display: grid; gap: .3rem; padding: var(--space-3); border-radius: 16px; border: 1px solid var(--line); background: #fff; color: inherit; text-decoration: none; border-left: 4px solid var(--gold); }
.opp-row a:hover { border-color: var(--navy); border-left-color: var(--gold); }
.opp-row__type { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.opp-row__title { font-size: var(--step-1); font-weight: 600; }
.opp-row__meta { color: var(--muted); font-size: .9375rem; }
.opp-row__soon { color: var(--error); }
.opp-row__summary { color: #3b4560; }

.calc { display: grid; gap: var(--space-4); align-items: start; }
@media (min-width: 900px) { .calc { grid-template-columns: 7fr 5fr; } .calc__results { position: sticky; top: 6rem; } }
.calc__inputs .subhead:first-child { margin-top: 0; }
.calc__out { display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; margin: 0 0 var(--space-2); font-variant-numeric: tabular-nums; }
.calc__out dt { color: var(--muted); }
.calc__out dd { margin: 0; text-align: right; font-weight: 600; }
.calc__out .calc__big { font-size: var(--step-1); color: var(--navy); }
.calc__explain { background: #fff; border-radius: 12px; padding: var(--space-2); border-left: 3px solid var(--gold); }
.calc__save { margin: var(--space-2) 0 .5rem; }

.readiness { list-style: none; margin: var(--space-3) 0; padding: 0; display: grid; gap: var(--space-2); }
.readiness__area { padding: var(--space-2) var(--space-3); border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.readiness__head { display: flex; justify-content: space-between; margin-bottom: .4rem; }
.readiness__bar { height: 8px; border-radius: 99px; background: var(--panel); overflow: hidden; margin-bottom: .5rem; }
.readiness__bar span { display: block; height: 100%; border-radius: 99px; background: var(--gold); }
.readiness__area--strong .readiness__bar span { background: var(--ok); }
.readiness__area--focus .readiness__bar span { background: var(--error); }
.readiness__area p { margin: 0; color: #3b4560; }
.readiness-q { padding: var(--space-3); border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.readiness-q__row { display: grid; gap: .5rem; padding: .6rem 0; border-top: 1px solid var(--line); }
.readiness-q__row:first-of-type { border-top: 0; }
.readiness-q__row p { margin: 0; }
@media (min-width: 760px) { .readiness-q__row { grid-template-columns: 1fr auto; align-items: center; } }
.seg { display: inline-flex; border: 1.5px solid #9aa2b4; border-radius: 999px; overflow: hidden; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; padding: .45rem .9rem; font-size: .875rem; font-weight: 500; }
.seg input:checked + span { background: var(--navy); color: #fff; }
.seg input:focus-visible + span { box-shadow: inset 0 0 0 3px var(--gold-bright); }

.worksheet__section { padding: var(--space-3); border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.worksheet__num { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--navy); color: var(--gold-bright); font-size: .875rem; margin-right: .3rem; }
.worksheet__label { font-weight: 600; margin: 0; }
.worksheet__bar { position: sticky; bottom: 0; display: flex; gap: .75rem; padding: var(--space-2) 0; background: linear-gradient(transparent, #fff 30%); }

@media print {
  .page-head, .site-header, .site-footer, .calc__save, .btn, .cookie-banner, .staging-bar { display: none !important; }
  .calc { display: block; }
}

/* ==========================================================================
   Milestone D: reports, launch
   ========================================================================== */
.report__cols { display: grid; gap: var(--space-3); margin-top: var(--space-2); }
@media (min-width: 1000px) { .report__cols { grid-template-columns: 1fr 1fr; } }
.hbar { list-style: none; margin: 0 0 var(--space-2); padding: 0; display: grid; gap: .55rem; }
.hbar li { display: grid; grid-template-columns: minmax(9rem, 16rem) 1fr auto; gap: .75rem; align-items: center; font-size: .9rem; }
.hbar__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar__track { height: 10px; border-radius: 99px; background: var(--panel); overflow: hidden; }
.hbar__fill { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--navy), #3a4a86); }
.hbar__value { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 640px) { .hbar li { grid-template-columns: 1fr auto; } .hbar__track { grid-column: 1 / -1; grid-row: 2; } }
.vbars { display: grid; grid-template-columns: repeat(12, 1fr); gap: .4rem; height: 12rem; align-items: end; padding-top: .5rem; border-bottom: 1px solid var(--line); }
.vbars__month { display: grid; grid-template-rows: 1fr auto; height: 100%; gap: .3rem; }
.vbars__pair { display: flex; align-items: flex-end; gap: 2px; height: 100%; }
.vbars__inv, .vbars__rec { flex: 1; min-height: 1px; border-radius: 4px 4px 0 0; }
.vbars__inv { background: var(--navy); }
.vbars__rec { background: var(--gold); }
.vbars__label { font-size: .7rem; color: var(--muted); text-align: center; white-space: nowrap; }
.legend { font-size: .8rem; font-weight: 400; color: var(--muted); margin-left: .75rem; }
.legend__inv, .legend__rec { display: inline-block; width: .7rem; height: .7rem; border-radius: 2px; margin: 0 .25rem 0 .6rem; vertical-align: middle; }
.legend__inv { background: var(--navy); }
.legend__rec { background: var(--gold); }
.health { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.health li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .6rem; padding: .55rem .75rem; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.health__icon { font-weight: 700; }
.health li.is-ok .health__icon { color: var(--ok); }
.health li.is-warn { border-color: #f0d39a; background: #fff9ec; }
.health li.is-warn .health__icon { color: var(--warn); }
.health li.is-bad { border-color: #efb4ae; background: #fdf0ee; }
.health li.is-bad .health__icon { color: var(--error); }
.health small { display: block; color: var(--muted); }

/* ---------- 0.8.1: menu usability on every device ----------
   Every tappable item at least 44px tall (WCAG target size), slimmer bar on phones. */
.nav-toggle { min-height: 44px; min-width: 44px; padding: .55rem 1.1rem; }
/* Desktop: same look, bigger click area */
@media (min-width: 1181px) {
  .site-nav ul a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .1rem; }
  .site-nav ul a::after { bottom: .55rem; }
  .site-nav__account { min-height: 44px; padding: 0 .25rem; }
}
/* Open menu: every row comfortably tappable */
@media (max-width: 1180px) {
  .site-nav ul a { min-height: 48px; display: flex; align-items: center; }
  .site-nav__account { min-height: 48px; display: inline-flex; align-items: center; padding-right: 1rem; }
}
/* Phones: slimmer bar, smaller logo, menu starts right under it */
@media (max-width: 699px) {
  .site-header__inner { min-height: 4rem; }
  .brand img { width: 122px; }
  .site-nav { padding-top: calc(4rem + .75rem); }
  .hero--slides .hero__content { padding-top: 6rem; }
}
.site-nav a:focus-visible, .nav-toggle:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 3px; box-shadow: none; }
/* Control room menu: five folding groups */
.nav-group { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav-group summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 .75rem; cursor: pointer; list-style: none; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary::after { content: "+"; font-size: 1.1rem; letter-spacing: 0; color: rgba(255, 255, 255, .5); }
.nav-group[open] summary::after { content: "−"; }
.nav-group[open] summary .badge { display: none; }
.nav-group summary:hover { color: #fff; }
.nav-group summary:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: -2px; border-radius: 6px; }
.nav-group ul { padding-bottom: .5rem; }
.admin-nav a { min-height: 40px; }
/* Customer account menu: one swipeable row on phones and tablets */
@media (max-width: 859px) {
  .account-nav { display: block; position: sticky; top: 4rem; z-index: 5; margin: 0 -1.25rem; padding: .5rem 1.25rem; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
  .account-nav ul { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: .4rem; padding-bottom: 2px; mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .account-nav ul::-webkit-scrollbar { display: none; }
  .account-nav li { flex: none; scroll-snap-align: start; }
  .account-nav a { white-space: nowrap; min-height: 44px; display: flex; align-items: center; padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; }
  .account-nav a[aria-current="page"] { border-color: var(--navy); }
  .account-nav__logout { white-space: nowrap; min-height: 44px; padding: 0 1rem; color: var(--muted); text-decoration: none; }
}
@media (min-width: 700px) and (max-width: 859px) { .account-nav { top: 5rem; } }
.account-nav__logout { padding: .55rem .8rem; }
/* Let the account tab row scroll instead of growing past the screen edge */
.account__grid > * { min-width: 0; }
@media (max-width: 859px) { .account-nav ul { max-width: 100%; } }

.notice--attention { border-color: var(--gold); background: #fff7e6; }
.notice--attention p { margin: .4rem 0 0; }
