/* =========================================================================
   Physio Vertigo — design system
   Brand tokens lifted from the client's RubberDuck theme (--C1/C2/C3 ramps).
   ========================================================================= */

/* ---------- fonts ------------------------------------------------------- */

@font-face {
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/red-hat-display-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/red-hat-display-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- tokens ------------------------------------------------------ */

:root {
  /* brand ramps */
  --gold: #eaaa00;
  --gold-600: #c98f00;
  --gold-200: #f5d580;
  --gold-50: #fcf5e0;
  --ink: #151414;
  --ink-2: #212020;
  --ink-3: #5b5b5b;
  --ink-4: #969595;
  --line: #dcdcdc;
  --surface: #ececec;
  --surface-2: #f5f5f5;
  --white: #fff;

  /* semantic */
  --page-bg: var(--white);
  --text: var(--ink);
  --text-muted: var(--ink-3);
  --accent: var(--gold);

  /* type */
  --font-display: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Red Hat Display', 'Segoe UI', system-ui, sans-serif;

  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.25rem + 0.7vw, 1.85rem);
  --step-3: clamp(1.75rem, 1.45rem + 1.35vw, 2.6rem);
  --step-4: clamp(2.1rem, 1.6rem + 2.3vw, 3.6rem);
  --step-5: clamp(2.5rem, 1.7rem + 3.6vw, 4.6rem);

  /* space (8px rhythm) */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4rem;
  --sp-7: 6rem;
  --section-y: clamp(3.5rem, 2.2rem + 5vw, 7rem);

  /* shape */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgb(21 20 20 / 6%), 0 2px 8px rgb(21 20 20 / 4%);
  --shadow: 0 2px 6px rgb(21 20 20 / 6%), 0 12px 32px rgb(21 20 20 / 8%);
  --shadow-lg: 0 4px 12px rgb(21 20 20 / 8%), 0 24px 60px rgb(21 20 20 / 12%);

  --wrap: 1180px;
  --wrap-narrow: 780px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.42s;

  --nav-h: 76px;
}

/* ---------- reset ------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 var(--sp-3);
  text-wrap: balance;
}

h1 {
  font-size: var(--step-5);
}
h2 {
  font-size: var(--step-4);
}
h3 {
  font-size: var(--step-2);
}
h4 {
  font-size: var(--step-1);
}

p {
  margin: 0 0 var(--sp-3);
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: currentColor;
}

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

img {
  height: auto;
}

/* <picture> is only a wrapper for source selection — take its box out of the
   layout so every rule can target the <img> directly, exactly as it would
   without art direction. */
picture {
  display: contents;
}

ul,
ol {
  margin: 0 0 var(--sp-3);
  padding-left: 1.25em;
}

li {
  margin-bottom: 0.4em;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--sp-5) 0;
}

::selection {
  background: var(--ink);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- layout ------------------------------------------------------ */

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(100% - 2.5rem, var(--wrap-narrow));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--tight {
  padding-block: calc(var(--section-y) * 0.6);
}

.section--surface {
  background: var(--surface);
}
.section--wash {
  background: var(--gold-50);
}

.section--ink {
  background: var(--ink);
  color: var(--white);
}
.section--ink .lede,
.section--ink p {
  color: color-mix(in srgb, var(--white) 78%, transparent);
}

.grid {
  display: grid;
  gap: var(--sp-4);
}

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (width >= 62rem) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split--wide-text {
    grid-template-columns: 1.12fr 0.88fr;
  }
  .split--flip > :first-child {
    order: 2;
  }
}

.stack > * + * {
  margin-top: var(--sp-3);
}

.center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--sp-2);
  top: var(--sp-2);
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-sm);
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
}

/* ---------- typography helpers ------------------------------------------ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 var(--sp-3);
  color: var(--ink);
  background: var(--gold);
  padding: 0.6em 1em;
  border-radius: var(--r-pill);
}

.eyebrow--plain {
  background: none;
  padding: 0;
  color: var(--gold-600);
}

.section--ink .eyebrow--plain {
  color: var(--gold);
}

.lede {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 62ch;
}

.section-head {
  max-width: 62ch;
  margin-bottom: var(--sp-5);
}

.section-head.center {
  margin-inline: auto;
}

.section-head.center .lede {
  margin-inline: auto;
}

/* checklist */
.ticks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--sp-2);
}

.ticks li {
  position: relative;
  padding-left: 2.15rem;
  margin: 0;
  line-height: 1.55;
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--gold)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23151414' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 0.85rem no-repeat;
}

/* ---------- buttons ----------------------------------------------------- */

.btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--ink);
  --btn-bd: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  padding: 1.05em 1.7em;
  border-radius: var(--r-pill);
  border: 2px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--btn-bd) 65%, transparent);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

.btn__arrow {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  transition: transform 0.25s var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--ink);
}

.btn--ghost:hover {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
}

.btn--on-ink {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  --btn-bd: color-mix(in srgb, var(--white) 45%, transparent);
}

.btn--on-ink:hover {
  --btn-bg: var(--white);
  --btn-fg: var(--ink);
  --btn-bd: var(--white);
}

.btn--sm {
  padding: 0.8em 1.25em;
  font-size: 0.78rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  align-items: center;
}

/* ---------- top bar + nav ----------------------------------------------- */

.topbar {
  background: var(--ink);
  color: color-mix(in srgb, var(--white) 82%, transparent);
  font-size: 0.82rem;
  line-height: 1;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-block: 0.7rem;
  flex-wrap: wrap;
}

.topbar__items {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

/* On a phone the address wrapped onto its own lines and pushed the hero a
   quarter of a screen down. It is in the footer and on the contact page —
   the top bar only needs to carry the phone number and the language. */
@media (width < 48rem) {
  .topbar__inner {
    flex-wrap: nowrap;
    padding-block: 0.55rem;
  }

  .topbar__items a[href^='https://www.google.com/maps'] {
    display: none;
  }
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.topbar a:hover {
  color: var(--gold);
}

.topbar svg {
  width: 0.95em;
  height: 0.95em;
  flex: none;
  color: var(--gold);
}

.langswitch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.langswitch a,
.langswitch span {
  padding: 0.35em 0.55em;
  border-radius: var(--r-sm);
  text-transform: uppercase;
  font-size: 0.72rem;
}

.langswitch [aria-current='true'] {
  background: var(--gold);
  color: var(--ink);
}

/* Dark header, continuous with the top bar above it and the footer below —
   and it lets the logo be used as drawn, with its white wordmark, instead of
   the recoloured light-background variant. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--ink) 94%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  color: var(--white);
  border-bottom: 1px solid color-mix(in srgb, var(--white) 9%, transparent);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

.site-header.is-stuck {
  background: var(--ink);
  box-shadow: 0 10px 30px -20px rgb(0 0 0 / 85%);
  border-bottom-color: color-mix(in srgb, var(--white) 14%, transparent);
}

/* the top bar and the header are one band, so drop the seam between them */
.topbar {
  border-bottom: 1px solid color-mix(in srgb, var(--white) 9%, transparent);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: var(--nav-h);
}

.nav__logo {
  display: block;
  flex: none;
  line-height: 0;
}

.nav__logo {
  padding: 0.5rem 0.75rem 0.5rem 0;
}

.nav__logo img {
  width: 116px;
  height: auto;
  transition: width 0.3s var(--ease);
}

@media (width >= 62rem) {
  .nav__logo {
    padding: 0.65rem 1rem 0.65rem 0;
  }
  .nav__logo img {
    width: 132px;
  }
  .site-header.is-stuck .nav__logo img {
    width: 118px;
  }
}

.nav__menu {
  display: none;
}

@media (width >= 62rem) {
  .nav__menu {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
}

.nav__menu > li {
  margin: 0;
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  padding: 0.6rem 0.8rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  color: color-mix(in srgb, var(--white) 88%, transparent);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
  white-space: nowrap;
}

.nav__link:hover {
  background: color-mix(in srgb, var(--white) 10%, transparent);
  color: var(--white);
}

.nav__link[aria-current='page'] {
  color: var(--gold);
}

.nav__link[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.nav__caret {
  width: 0.7em;
  height: 0.7em;
  transition: transform 0.25s var(--ease);
}

.nav__group:hover .nav__caret,
.nav__group:focus-within .nav__caret {
  transform: rotate(180deg);
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 17rem;
  background: var(--ink-2);
  border: 1px solid color-mix(in srgb, var(--white) 14%, transparent);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 0.5rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
    visibility 0.22s;
}

.nav__group:hover .nav__dropdown,
.nav__group:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav__dropdown li {
  margin: 0;
}

.nav__dropdown a {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: color-mix(in srgb, var(--white) 74%, transparent);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.nav__dropdown a:hover {
  background: color-mix(in srgb, var(--white) 10%, transparent);
  color: var(--white);
}

.nav__dropdown a[aria-current='page'] {
  background: color-mix(in srgb, var(--gold) 16%, transparent);
  color: var(--gold);
}

.nav__actions {
  display: none;
  align-items: center;
  gap: 0.6rem;
}

@media (width >= 62rem) {
  .nav__actions {
    display: flex;
  }
  /* the header is dark, so the secondary action uses the on-ink outline */
  .nav__actions .btn--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--white);
    --btn-bd: color-mix(in srgb, var(--white) 40%, transparent);
  }
  .nav__actions .btn--ghost:hover {
    --btn-bg: var(--white);
    --btn-fg: var(--ink);
    --btn-bd: var(--white);
  }
  /* the phone is already in the top bar — only bring it into the header once
     there is room for it beside the booking CTA */
  .nav__actions .btn--ghost {
    display: none;
  }
}

@media (width >= 82rem) {
  .nav__actions .btn--ghost {
    display: inline-flex;
  }
}

/* burger */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  border-radius: var(--r-sm);
  background: var(--ink);
  flex: none;
}

@media (width >= 62rem) {
  .burger {
    display: none;
  }
}

.burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease),
    background-color 0.3s var(--ease);
}

.burger {
  background: color-mix(in srgb, var(--white) 12%, transparent);
}

.burger[aria-expanded='true'] {
  background: var(--gold);
}

.burger[aria-expanded='true'] span {
  background: var(--ink);
}

.burger[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  color: var(--white);
  padding: calc(var(--nav-h) + 1.5rem) 0 2rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1.5%);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease),
    visibility 0.32s;
}

.drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

@media (width >= 62rem) {
  .drawer {
    display: none;
  }
}

/* Without JS the burger cannot open anything, so the small-screen menu is laid
   out inline underneath the header instead — the markup is already there. */
.no-js .burger {
  display: none;
}

.no-js .drawer {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  padding: 0 0 var(--sp-3);
  overflow: visible;
  border-bottom: 1px solid color-mix(in srgb, var(--white) 14%, transparent);
}

.drawer__list {
  list-style: none;
  margin: 0 0 var(--sp-4);
  padding: 0;
}

.drawer__list > li {
  margin: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--white) 12%, transparent);
}

.drawer__list a {
  display: block;
  padding: 1.05rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.28rem;
  text-decoration: none;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.drawer__list a:hover {
  color: var(--gold);
  padding-left: 0.4rem;
}

.drawer__list a[aria-current='page'] {
  color: var(--gold);
}

.drawer__sub {
  list-style: none;
  margin: 0 0 0.9rem;
  padding: 0 0 0 1rem;
  border-left: 2px solid var(--gold);
}

.drawer__sub li {
  border: 0;
}

.drawer__sub a {
  font-size: 1rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--white) 68%, transparent);
  padding: 0.55rem 0;
}

.drawer__foot {
  display: grid;
  gap: 0.75rem;
}

.drawer__foot .btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  --btn-bd: color-mix(in srgb, var(--white) 40%, transparent);
}

.drawer__foot .btn--ghost:hover {
  --btn-bg: var(--white);
  --btn-fg: var(--ink);
  --btn-bd: var(--white);
}

/* ---------- hero -------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--surface);
  padding-block: clamp(3rem, 2rem + 5vw, 6rem) clamp(3.5rem, 2rem + 6vw, 7rem);
  overflow: clip;
}

.hero::before {
  content: '';
  position: absolute;
  inset: auto auto 0 50%;
  translate: -50% 0;
  width: min(1400px, 130%);
  aspect-ratio: 2 / 1;
  background: radial-gradient(
    ellipse at 50% 100%,
    color-mix(in srgb, var(--gold) 22%, transparent),
    transparent 62%
  );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: clamp(2.25rem, 5vw, 4rem);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (width >= 62rem) {
  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero h1 {
  margin-bottom: var(--sp-3);
}

.hero .lede {
  font-size: var(--step-1);
  color: var(--ink-3);
  margin-bottom: var(--sp-4);
}

.hero__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero--compact {
  padding-block: clamp(2.75rem, 2rem + 4vw, 5rem) clamp(2.75rem, 2rem + 4vw, 5rem);
}

/* image-backed page hero */
.hero--image {
  background: var(--ink);
  color: var(--white);
  isolation: isolate;
}

.hero--image::before {
  display: none;
}

.hero--image .hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero--image .hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-focus, center);
}

.hero--image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      100deg,
      rgb(21 20 20 / 88%) 0%,
      rgb(21 20 20 / 72%) 46%,
      rgb(21 20 20 / 38%) 100%
    ),
    linear-gradient(to top, rgb(21 20 20 / 55%), transparent 45%);
}

.hero--image h1 {
  max-width: 18ch;
}

.hero--image .lede {
  color: color-mix(in srgb, var(--white) 82%, transparent);
  max-width: 56ch;
}

/* click-to-load map — no third-party request until the visitor asks for one */
.map {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--sp-3);
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map__prompt {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  max-width: 34ch;
}

.map__prompt p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-3);
}

.hero--image .breadcrumb {
  color: color-mix(in srgb, var(--white) 65%, transparent);
}

/* breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 var(--sp-3);
  padding: 0;
  font-size: 0.85rem;
  color: var(--ink-3);
}

.breadcrumb li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb li + li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ---------- google rating chip ------------------------------------------ */

.gstat {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 1.15rem 0.7rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
}

.gstat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.gstat__logo {
  width: 26px;
  height: 26px;
  flex: none;
}

.gstat__score {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.gstat__meta {
  display: grid;
  gap: 0.18rem;
  line-height: 1;
}

.gstat__count {
  font-size: 0.78rem;
  color: var(--ink-3);
  white-space: nowrap;
}

.stars {
  display: inline-flex;
  gap: 1px;
  color: var(--gold);
  line-height: 0;
}

.stars svg {
  width: 0.95em;
  height: 0.95em;
}

.stars--lg svg {
  width: 1.15em;
  height: 1.15em;
}

/* ---------- cards ------------------------------------------------------- */

.cards {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.06);
}

.card__body {
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.card__body h3 {
  font-size: var(--step-1);
  margin: 0;
}

.card__body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.62;
}

.section--ink .card {
  background: var(--ink-2);
  border-color: color-mix(in srgb, var(--white) 12%, transparent);
}

.section--ink .card__body p {
  color: color-mix(in srgb, var(--white) 70%, transparent);
}

/* expertise / icon list cards — flex so an odd last row centres instead of
   leaving an orphan hanging on the left */
.tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
}

.tile {
  flex: 1 1 19rem;
  max-width: 24rem;
  padding: var(--sp-4) var(--sp-3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.tile__icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--gold);
  color: var(--ink);
  margin-bottom: var(--sp-2);
}

.tile__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.tile h3 {
  font-size: var(--step-1);
  margin-bottom: 0.5rem;
}

.tile p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.62;
}

/* numbered steps */
.steps {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  counter-reset: step;
}

.step {
  position: relative;
  padding: var(--sp-4) var(--sp-3) var(--sp-3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -0.7rem;
  left: var(--sp-3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  background: var(--gold);
  color: var(--ink);
  padding: 0.32em 0.7em;
  border-radius: var(--r-pill);
}

.step h3 {
  font-size: var(--step-1);
  margin-bottom: 0.45rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.97rem;
}

/* media block (image + copy) */
.media-figure {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 0;
  background: var(--surface);
}

.media-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-figure figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  color: var(--ink-3);
  background: var(--white);
}

.media-figure figcaption strong {
  display: block;
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 0.95rem;
}

.ratio-portrait {
  aspect-ratio: 3 / 4;
}
.ratio-landscape {
  aspect-ratio: 4 / 3;
}
.ratio-wide {
  aspect-ratio: 16 / 9;
}

/* ---------- team -------------------------------------------------------- */

.team {
  display: grid;
  gap: var(--sp-5);
}

.team__member {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (width >= 48rem) {
  .team__member {
    grid-template-columns: 0.85fr 1.15fr;
  }
  /* alternate sides, but keep the photo column the same width both ways */
  .team__member:nth-child(even) {
    grid-template-columns: 1.15fr 0.85fr;
  }
  .team__member:nth-child(even) > :first-child {
    order: 2;
  }
}

.team__photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow);
  background: var(--surface);
}

.team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team__role {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.5rem;
  display: block;
}

/* ---------- accordion / FAQ --------------------------------------------- */

.faq {
  display: grid;
  gap: 0.6rem;
  max-width: 62rem;
  margin-inline: auto;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.faq__item:has(.faq__q[aria-expanded='true']) {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  text-align: left;
  padding: 1.15rem var(--sp-3);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.4;
  transition: background-color 0.2s var(--ease);
}

.faq__q:hover {
  background: var(--surface-2);
}

.faq__icon {
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--gold);
  display: grid;
  place-items: center;
  transition: transform 0.32s var(--ease);
}

.faq__icon svg {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--ink);
}

.faq__q[aria-expanded='true'] .faq__icon {
  transform: rotate(180deg);
}

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.34s var(--ease);
}

.faq__a[data-open='true'] {
  grid-template-rows: 1fr;
}

.faq__a > div {
  overflow: hidden;
}

.faq__a p {
  margin: 0;
  padding: 0 var(--sp-3) 1.35rem;
  color: var(--text-muted);
  max-width: 68ch;
}

/* no-JS fallback: everything open */
.no-js .faq__a {
  grid-template-rows: 1fr;
}

.no-js .faq__icon {
  display: none;
}

.no-js .faq__q {
  cursor: default;
}

/* ---------- reviews carousel -------------------------------------------- */

.reviews__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.reviews__summary {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.reviews__score {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-3);
  line-height: 1;
  letter-spacing: -0.02em;
}

.carousel {
  position: relative;
}

.carousel__track {
  --cols: 1;
  display: flex;
  gap: var(--sp-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0.5rem 0.25rem 1.25rem;
  margin: -0.5rem -0.25rem 0;
  overscroll-behavior-x: contain;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__track > * {
  flex: 0 0 calc((100% - var(--sp-3) * (var(--cols) - 1)) / var(--cols));
  min-width: 0;
  align-self: stretch;
}

@media (width >= 48rem) {
  .carousel__track {
    --cols: 2;
  }
}

@media (width >= 68rem) {
  .carousel__track {
    --cols: 3;
  }
}

.review {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: var(--sp-3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.review:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.review__top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review__avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  background: var(--surface);
}

.review__avatar--initial {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  background: var(--gold-200);
}

.review__who {
  display: grid;
  gap: 0.1rem;
  line-height: 1.25;
  min-width: 0;
}

.review__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review__date {
  font-size: 0.76rem;
  color: var(--ink-4);
}

.review__gmark {
  margin-left: auto;
  width: 1.1rem;
  height: 1.1rem;
  flex: none;
}

.review__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.62;
  color: var(--ink-3);
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review__more {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 0.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--gold-600);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.review.is-expanded .review__text {
  -webkit-line-clamp: unset;
}

.carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: var(--sp-2);
}

.carousel__btn {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease),
    opacity 0.22s var(--ease), transform 0.22s var(--ease);
}

.carousel__btn:hover:not([disabled]) {
  background: var(--ink);
  color: var(--white);
  transform: scale(1.06);
}

.carousel__btn[disabled] {
  opacity: 0.28;
  cursor: default;
}

.carousel__btn svg {
  width: 1.05rem;
  height: 1.05rem;
}

.carousel__dots {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.carousel__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
  transition: background-color 0.22s var(--ease), width 0.22s var(--ease);
}

.carousel__dot[aria-current='true'] {
  background: var(--gold);
  width: 22px;
  border-radius: var(--r-pill);
}

/* Without JS the track is still swipeable/scrollable, but the controls are
   inert — hide them rather than offer dead buttons. */
.no-js .carousel__nav {
  display: none;
}

.no-js .carousel__track {
  scrollbar-width: auto;
}

.no-js .review__more {
  display: none;
}

.no-js .review__text {
  -webkit-line-clamp: unset;
}

.carousel__dots--counter {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  min-width: 4.5rem;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

/* ---------- partners ---------------------------------------------------- */

.partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.partner {
  display: grid;
  gap: 0.6rem;
  justify-items: center;
  text-align: center;
  width: 10rem;
}

.partner img {
  width: 7.5rem;
  height: 7.5rem;
  object-fit: contain;
  padding: 0.75rem;
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.partner:hover img {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.partner span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- CTA band ---------------------------------------------------- */

.cta-band {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: clip;
  isolation: isolate;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: -30% -10% auto auto;
  width: min(46rem, 80%);
  aspect-ratio: 1;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--gold) 26%, transparent),
    transparent 65%
  );
  z-index: -1;
  pointer-events: none;
}

.cta-band__inner {
  display: grid;
  gap: var(--sp-4);
  align-items: center;
  text-align: center;
  justify-items: center;
}

.cta-band h2 {
  max-width: 20ch;
}

.cta-band p {
  color: color-mix(in srgb, var(--white) 76%, transparent);
  max-width: 52ch;
  margin: 0;
}

.cta-band .btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--ink);
  --btn-bd: var(--gold);
}

/* ---------- forms ------------------------------------------------------- */

.form {
  display: grid;
  gap: var(--sp-3);
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.field .req {
  color: var(--gold-600);
}

.field input,
.field textarea {
  font: inherit;
  font-size: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 26%, transparent);
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field__error {
  font-size: 0.82rem;
  color: #b3261e;
  min-height: 1.1em;
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: #b3261e;
}

.form__note {
  font-size: 0.85rem;
  color: var(--ink-3);
}

.form__status {
  padding: 0.9rem 1rem;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
}

.form__status[data-tone='ok'] {
  background: var(--gold-50);
  border: 1px solid var(--gold-200);
}

.form__status[data-tone='err'] {
  background: #fdeceb;
  border: 1px solid #f3c0bc;
}

/* contact cards */
.contact-list {
  display: grid;
  gap: var(--sp-2);
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  margin: 0;
}

.contact-list a,
.contact-list .contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  padding: var(--sp-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
  text-decoration: none;
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}

.contact-list a:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.contact-list .ico {
  width: 2.6rem;
  height: 2.6rem;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--gold-50);
  color: var(--gold-600);
  display: grid;
  place-items: center;
}

.contact-list .ico svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-list dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 0.15rem;
}

.contact-list dd {
  margin: 0;
  line-height: 1.45;
}

/* ---------- opening hours ----------------------------------------------- */

.hours {
  margin: 0;
  display: grid;
  gap: 0.1rem;
}

.hours__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-2);
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
}

.hours__row:last-child {
  border-bottom: 0;
}

.hours dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
}

.hours dd {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: 0.92rem;
  color: var(--ink-3);
}

.hours__row.is-closed dd {
  color: var(--ink-4);
}

/* footer variant: on ink, tighter, no rules */
.hours--compact .hours__row {
  border-bottom-color: color-mix(in srgb, var(--white) 12%, transparent);
  padding: 0.3rem 0;
}

.footer .hours dt {
  color: var(--white);
  font-size: 0.84rem;
}

.footer .hours dd {
  color: color-mix(in srgb, var(--white) 72%, transparent);
  font-size: 0.84rem;
}

.hours-card {
  padding: var(--sp-3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.hours-card h2 {
  font-size: var(--step-1);
  margin-bottom: var(--sp-2);
}

/* ---------- prose (legal pages) ----------------------------------------- */

.prose {
  max-width: 72ch;
}

.prose h2 {
  font-size: var(--step-2);
  margin-top: var(--sp-5);
}

.prose h3 {
  font-size: var(--step-1);
  margin-top: var(--sp-4);
}

.prose h2:first-child,
.prose h3:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--ink-3);
}

.prose a {
  color: var(--gold-600);
}

/* sitemap page */
.sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.sitemap-list li {
  margin: 0;
}

.sitemap-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  padding: 1rem var(--sp-3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.sitemap-list a:hover {
  border-color: var(--gold);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.sitemap-list svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--gold-600);
  flex: none;
}

/* ---------- footer ------------------------------------------------------ */

.site-footer {
  background: var(--ink);
  color: color-mix(in srgb, var(--white) 76%, transparent);
  padding-block: var(--sp-6) var(--sp-3);
  font-size: 0.94rem;
}

.site-footer a {
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.site-footer a:hover {
  color: var(--gold);
}

.footer__grid {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1fr;
}

@media (width >= 48rem) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (width >= 64rem) {
  .footer__grid {
    grid-template-columns: 1.4fr 0.9fr 1.1fr 1.2fr;
  }
}

.footer__logo img {
  width: 190px;
  margin-bottom: var(--sp-2);
}

.footer__tag {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.footer h2 {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--sp-2);
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.footer__list li {
  margin: 0;
}

.socials {
  display: flex;
  gap: 0.6rem;
  margin-top: var(--sp-2);
}

.socials a {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--white) 10%, transparent);
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease),
    transform 0.22s var(--ease);
}

.socials a:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
}

.socials svg {
  width: 1.15rem;
  height: 1.15rem;
}

.footer__bottom {
  margin-top: var(--sp-5);
  padding-top: var(--sp-3);
  border-top: 1px solid color-mix(in srgb, var(--white) 14%, transparent);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-3);
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: var(--ink-4);
}

.footer__bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__bottom li {
  margin: 0;
}

.footer__bottom-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2) var(--sp-3);
}

.footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink-4);
}

.footer__credit img {
  border-radius: 3px;
}

/* ---------- motion ------------------------------------------------------ */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.no-js [data-reveal] {
  opacity: 1;
  transform: none;
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: fade-out 0.18s var(--ease) both;
}

::view-transition-new(root) {
  animation: fade-in 0.3s var(--ease) both;
}

@keyframes fade-out {
  to {
    opacity: 0;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* htmx swap fallback for browsers without view transitions */
main.htmx-swapping {
  opacity: 0;
  transition: opacity 0.16s var(--ease);
}

main.htmx-settling {
  animation: fade-in 0.3s var(--ease) both;
}

.htmx-indicator {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  z-index: 300;
  background: linear-gradient(90deg, var(--gold), var(--gold-200));
  transform: scaleX(0);
  transform-origin: 0 50%;
  opacity: 0;
  pointer-events: none;
}

body.htmx-request .htmx-indicator {
  opacity: 1;
  animation: load-bar 1.2s var(--ease) infinite;
}

@keyframes load-bar {
  0% {
    transform: scaleX(0);
  }
  60% {
    transform: scaleX(0.75);
  }
  100% {
    transform: scaleX(1);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  @view-transition {
    navigation: none;
  }
}

/* ---------- misc -------------------------------------------------------- */

.embed-frame {
  width: 100%;
  min-height: 920px;
  border: 0;
  border-radius: var(--r);
  background: var(--surface);
}

.notice {
  padding: var(--sp-3);
  border-left: 4px solid var(--gold);
  background: var(--gold-50);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--ink-2);
}

.notice p:last-child {
  margin-bottom: 0;
}

.conditions {
  display: grid;
  gap: var(--sp-2);
  list-style: none;
  padding: 0;
  margin: 0;
}

.conditions li {
  margin: 0;
  padding: var(--sp-3);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--r) var(--r) 0;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.conditions li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.conditions strong {
  font-family: var(--font-display);
  display: block;
  margin-bottom: 0.15rem;
}

.conditions span {
  color: var(--ink-3);
  font-size: 0.96rem;
}
