/* Kezi public site. Tokens and rules: BRAND.md §5. Layout: the design canvas. */

/* ---- Fonts (self-hosted, OFL; latin + latin-ext) ---- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300; font-display: swap; src: url(/static/fonts/cormorant-garamond-latin-300-normal.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: "Cormorant Garamond"; font-style: normal; font-weight: 300; font-display: swap; src: url(/static/fonts/cormorant-garamond-latin-ext-300-normal.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: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url(/static/fonts/cormorant-garamond-latin-400-normal.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: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url(/static/fonts/cormorant-garamond-latin-ext-400-normal.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: "Cormorant Garamond"; font-style: italic; font-weight: 300; font-display: swap; src: url(/static/fonts/cormorant-garamond-latin-300-italic.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: "Jost"; font-style: normal; font-weight: 300; font-display: swap; src: url(/static/fonts/jost-latin-300-normal.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: "Jost"; font-style: normal; font-weight: 300; font-display: swap; src: url(/static/fonts/jost-latin-ext-300-normal.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: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url(/static/fonts/jost-latin-400-normal.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: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url(/static/fonts/jost-latin-ext-400-normal.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: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url(/static/fonts/jost-latin-500-normal.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: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url(/static/fonts/jost-latin-ext-500-normal.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 (BRAND.md §5) ---- */
:root {
  --font-display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --font-sans: "Jost", "Futura", "Helvetica Neue", Arial, sans-serif;

  --paper: #FFFFFF;
  --ink: #0A0A0A;
  --ink-2: #5E5E5E;
  --line: #E4E4E4;
  --surface: #F6F6F5;
  --disabled: #BDBDBD;
  --ok: #1F6B45;
  --warn: #8A5A00;
  --error: #B42318;
  /* derived from the canvas: input borders, muted text on light surfaces */
  --field: #C4C4C4;
  --muted: #767676;
  --on-ink-2: #C9C9C9;

  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px;

  --radius: 0;
  --hairline: 1px;
  --content-max: 1200px;
  --gutter: 24px;
  --ease: 180ms ease-out;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color var(--ease); }
a:hover { color: var(--ink-2); }
:focus-visible { outline: var(--hairline) solid var(--ink); outline-offset: 3px; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--space-4); top: -100px; background: var(--ink); color: var(--paper); padding: var(--space-2) var(--space-4); z-index: 10; }
.skip-link:focus { top: var(--space-2); color: var(--paper); }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }

.container { max-width: var(--content-max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.label { font-family: var(--font-sans); font-weight: 500; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; }
.eyebrow { font-weight: 500; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-2); }
.rule { display: block; width: 40px; height: var(--hairline); background: currentColor; }
.muted { color: var(--ink-2); }
.lead { font-size: 18px; font-weight: 300; }
.h1 { font-family: var(--font-display); font-weight: 300; font-size: clamp(36px, 5vw, 52px); line-height: 1.1; }
.h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(34px, 4vw, 48px); line-height: 1.1; }
.h-step { font-family: var(--font-display); font-weight: 300; font-size: clamp(34px, 4vw, 44px); line-height: 1.1; }
.h-sub { font-family: var(--font-display); font-weight: 300; font-size: 28px; line-height: 1.2; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-3);
  height: 52px; padding: 0 var(--space-6); border: var(--hairline) solid var(--ink); border-radius: var(--radius);
  background: var(--ink); color: var(--paper); text-decoration: none; cursor: pointer;
  font-family: var(--font-sans); font-size: 12px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease);
}
.btn:hover { background: var(--paper); color: var(--ink); }
.btn svg { flex: none; }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--sm { height: 44px; padding: 0 var(--space-5); }
.btn--wide { padding: 0 36px; }
.btn--inverse { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--inverse:hover { background: transparent; color: var(--paper); }
.btn--danger { background: var(--error); border-color: var(--error); color: var(--paper); }
.btn--danger:hover { background: var(--paper); color: var(--error); }
.btn--ghost { height: 48px; padding: 0 var(--space-1); border: 0; background: none; color: var(--ink); }
.btn--ghost:hover { background: none; color: var(--ink-2); }
.btn[disabled], .btn[disabled]:hover { background: var(--disabled); border-color: var(--disabled); color: var(--paper); cursor: not-allowed; }

/* ---- Header & footer ---- */
.site-header { border-bottom: var(--hairline) solid var(--line); }
/* Homepage: the menu stays at the top while scrolling between sections. */
.site-header--main { position: sticky; top: 0; z-index: 20; background: var(--paper); }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-6); padding-top: 18px; padding-bottom: 18px; }
.site-header--center .site-header__inner { justify-content: center; }
.wordmark { font-family: var(--font-display); font-weight: 300; font-size: 28px; letter-spacing: 0.32em; line-height: 1; text-decoration: none; color: var(--ink); }
.site-header--center .wordmark, .site-header--book .wordmark { font-size: 26px; }
.site-header--center .wordmark { margin-right: -0.32em; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) 28px; }
.main-nav a, .header-link { text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; }
.header-link { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.lang { display: flex; align-items: center; gap: var(--space-2); font-size: 12px; font-weight: 500; letter-spacing: 0.2em; }
.lang a { text-decoration: none; color: var(--ink-2); display: inline-flex; align-items: center; min-height: 44px; }
.lang a[aria-current="true"] { color: var(--ink); text-decoration: underline; }
.lang__sep { color: var(--disabled); }

.site-footer { padding: 40px 0; }
.site-footer--rule { border-top: var(--hairline) solid var(--line); }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4) var(--space-6); font-size: 13px; color: var(--ink-2); }
.site-footer .wordmark { font-size: 22px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.site-footer nav a { color: var(--ink-2); }

/* ---- Logo lockup (BRAND.md §1.5) ---- */
.lockup { display: flex; flex-direction: column; align-items: center; gap: 30px; margin: 0; font-weight: 300; }
.lockup__mark { font-family: var(--font-display); font-weight: 300; font-size: clamp(56px, 9vw, 112px); letter-spacing: 0.32em; margin-right: -0.32em; line-height: 1; }
.lockup__rule { display: block; width: 64px; height: var(--hairline); background: var(--ink); }
.lockup__tagline { font-family: var(--font-sans); font-weight: 400; font-size: 13px; letter-spacing: 0.42em; margin-right: -0.42em; }

/* ---- Home ---- */
.section { padding: var(--space-9) 0; border-top: var(--hairline) solid var(--line); }
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-4); }
.stack { display: flex; flex-direction: column; gap: 20px; }

.hero { padding: 112px 0 var(--space-9); }
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__intro { margin-top: var(--space-7); max-width: 34rem; font-size: 18px; font-weight: 300; color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero .actions { margin-top: 40px; justify-content: center; }
.hero__photo { margin-top: 88px; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border: var(--hairline) solid var(--line); background: var(--surface); }

.filter { margin: 40px auto 0; display: flex; justify-content: center; width: fit-content; max-width: 100%; border: var(--hairline) solid var(--ink); }
.filter button { height: 44px; padding: 0 28px; border: 0; background: var(--paper); color: var(--ink); cursor: pointer; font-size: 12px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; transition: background-color var(--ease), color var(--ease); }
.filter button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.price-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 56px 80px; }
.price-cat h3 { margin-bottom: var(--space-2); }
.price-list { list-style: none; padding: 0; border-top: var(--hairline) solid var(--ink); }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); padding: 18px 0; border-bottom: var(--hairline) solid var(--line); }
.price-list__name { display: flex; flex-direction: column; font-size: 17px; }
.price-list__name small { font-size: 14px; color: var(--ink-2); }
.price-list__price { font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.center-actions { margin-top: var(--space-8); display: flex; justify-content: center; }

.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px var(--space-9); }
.split--top { align-items: flex-start; }
.about__photo { flex: 1 1 380px; aspect-ratio: 1 / 1; object-fit: cover; border: var(--hairline) solid var(--line); background: var(--surface); min-width: 0; }
.about__text { flex: 1 1 420px; min-width: 0; }
.about__text p { margin-top: var(--space-2); max-width: 36rem; font-size: 18px; font-weight: 300; white-space: pre-line; }
.about__text h3, .visit h3 { margin-top: var(--space-6); }
.team { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-5) 40px; }
.team li { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; width: 112px; }
.team__name { font-size: 16px; line-height: 1.3; }
.team__title { font-size: 13px; color: var(--ink-2); line-height: 1.3; }
.avatar { width: 96px; height: 96px; border-radius: 50%; background: var(--surface); border: var(--hairline) solid var(--line); display: flex; align-items: center; justify-content: center; overflow: hidden; font-family: var(--font-display); font-size: 36px; font-weight: 300; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.visit { flex: 1 1 340px; min-width: 0; }
.contact { margin-top: var(--space-3); font-style: normal; display: flex; flex-direction: column; gap: var(--space-4); }
.contact > span { display: flex; gap: 14px; align-items: flex-start; }
.contact svg { flex: none; margin-top: 3px; }
.hours { border-top: var(--hairline) solid var(--ink); max-width: 360px; }
.hours div { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: var(--hairline) solid var(--line); }
.hours dd { font-variant-numeric: tabular-nums; }
.hours .is-closed { color: var(--ink-2); }
.map { flex: 1.4 1 420px; min-height: 420px; border: var(--hairline) solid var(--line); background: var(--surface); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

.cta { padding: 112px 0; background: var(--ink); color: var(--paper); }
.cta__inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.cta h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.1; }
.cta p { margin-top: var(--space-1); max-width: 30rem; font-size: 17px; font-weight: 300; color: var(--on-ink-2); }
.cta .btn { margin-top: var(--space-4); }

/* ---- Booking flow ---- */
.booking { padding-top: 40px; padding-bottom: var(--space-9); }
.stepper ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-3) 0; }
.stepper li { flex: 1 1 0; min-width: 96px; display: flex; flex-direction: column; gap: 10px; }
.stepper__bar { display: block; height: var(--hairline); background: var(--line); }
.stepper li.is-done .stepper__bar, .stepper li.is-current .stepper__bar { background: var(--ink); }
.stepper li.is-current .stepper__bar { height: 2px; }
.stepper button { display: flex; gap: var(--space-2); align-items: baseline; padding: 0 var(--space-3) 0 0; min-height: 28px; border: 0; background: none; text-align: left; color: var(--muted); cursor: default; font-size: 12px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; }
.stepper li.is-done button, .stepper li.is-current button { color: var(--ink); }
.stepper li.is-done button { cursor: pointer; }
.stepper li.is-done button:hover span:last-child { text-decoration: underline; }

.booking__layout { margin-top: var(--space-7); display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--space-7) 72px; }
.booking__main { flex: 999 1 560px; min-width: 0; }
.booking__main > h1:focus { outline: none; }
.step-intro { margin-top: var(--space-3); color: var(--ink-2); }

.banner { margin-bottom: var(--space-6); display: flex; gap: var(--space-4); align-items: flex-start; padding: 20px var(--space-5); border: var(--hairline) solid var(--error); }
.banner svg { flex: none; margin-top: 2px; color: var(--error); }
.banner strong { display: block; font-weight: 500; color: var(--error); }
.banner span { font-size: 15px; }

.tiles { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--space-4); }
.tile { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: var(--space-3); padding: var(--space-6) 28px; min-height: 160px; border: var(--hairline) solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; text-align: left; transition: background-color var(--ease), color var(--ease); }
.tile:hover, .tile[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.tile__title { font-family: var(--font-display); font-weight: 300; font-size: 40px; line-height: 1; }
.tile__hint { font-size: 14px; opacity: 0.75; }

.svc-groups { margin-top: var(--space-6); display: flex; flex-direction: column; gap: 40px; }
.svc-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.svc-group__title { padding: 0; margin-bottom: var(--space-1); }
.svc-list { border-top: var(--hairline) solid var(--ink); }
.choice-input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.svc-row { position: relative; width: 100%; display: flex; align-items: flex-start; gap: 18px; padding: 20px var(--space-3); border-bottom: var(--hairline) solid var(--line); cursor: pointer; background: var(--paper); transition: background-color var(--ease); }
.svc-row:has(.choice-input:checked) { background: var(--surface); }
.svc-row:has(.choice-input:focus-visible) { outline: var(--hairline) solid var(--ink); outline-offset: -1px; }
.check { flex: none; margin-top: 3px; width: 22px; height: 22px; border: var(--hairline) solid var(--ink); display: inline-flex; align-items: center; justify-content: center; background: var(--paper); color: var(--paper); }
.check svg { visibility: hidden; }
.choice-input:checked + .check { background: var(--ink); }
.choice-input:checked + .check svg { visibility: visible; }
.svc-row__body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.svc-row__name { font-size: 17px; line-height: 1.4; }
.svc-row__desc { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.svc-row__dur { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.svc-row__price { font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }

.staff-grid { margin-top: var(--space-6); display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: var(--space-4); }
.staff-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--space-2); padding: var(--space-6) var(--space-4) var(--space-5); border: var(--hairline) solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; text-align: center; transition: background-color var(--ease), color var(--ease), border-color var(--ease); }
.staff-card:hover { border-color: var(--ink); }
.staff-card:has(.choice-input:checked) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.staff-card:has(.choice-input:focus-visible) { outline: var(--hairline) solid var(--ink); outline-offset: 3px; }
.staff-card .avatar { width: 88px; height: 88px; margin-bottom: var(--space-2); font-size: 34px; }
.staff-card:has(.choice-input:checked) .avatar { background: var(--ink); border-color: var(--paper); }
.avatar--any { background: transparent; border: var(--hairline) dashed currentColor; }
.staff-card__name { font-size: 18px; line-height: 1.3; }
.staff-card__title { font-size: 13px; line-height: 1.3; opacity: 0.75; }
.staff-card__rule { margin: var(--space-3) 0 var(--space-1); width: 32px; height: var(--hairline); background: currentColor; opacity: 0.4; }
.staff-card__label { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.75; }
.staff-card__next { font-size: 15px; font-variant-numeric: tabular-nums; }
.note { margin-top: 20px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.note svg { flex: none; }

.when { margin-top: var(--space-6); display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.cal { flex: 1 1 300px; max-width: 380px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-3); }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: var(--hairline) solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; }
.icon-btn[disabled] { border-color: var(--line); color: var(--disabled); cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--space-1); }
.cal__wd { text-align: center; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; color: var(--ink-2); padding: 6px 0; }
.cal__day { height: 44px; border: var(--hairline) solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; font-size: 15px; font-variant-numeric: tabular-nums; }
.cal__day:hover:not([disabled]) { border-color: var(--ink); }
.cal__day.is-today { border-color: var(--ink); }
.cal__day[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cal__day[disabled] { border-color: transparent; color: #8A8A8A; cursor: default; }
.cal__pad { height: 44px; }
.cal__note { margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.times { flex: 1 1 280px; min-width: 0; }
.times h2 { margin-bottom: var(--space-4); }
.slot-group { margin-bottom: var(--space-5); }
.slot-group h3 { margin-bottom: 10px; font-size: 13px; font-weight: 400; color: var(--ink-2); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: var(--space-2); }
.slot { position: relative; height: 44px; display: flex; align-items: center; justify-content: center; border: var(--hairline) solid var(--field); background: var(--paper); cursor: pointer; font-size: 15px; font-variant-numeric: tabular-nums; transition: background-color var(--ease), color var(--ease); }
.slot:hover { border-color: var(--ink); }
.slot:has(.choice-input:checked) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.slot:has(.choice-input:focus-visible) { outline: var(--hairline) solid var(--ink); outline-offset: 3px; }
.slot.is-taken { background: var(--surface); border-color: var(--surface); color: #8A8A8A; text-decoration: line-through; cursor: default; }
.empty-box--spaced { margin-top: var(--space-6); }
.empty-box { border: var(--hairline) solid var(--line); padding: 40px var(--space-5); text-align: center; color: var(--ink-2); }
.empty-day { border: var(--hairline) solid var(--line); padding: 36px 28px; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); }
.empty-day p:first-child { font-family: var(--font-display); font-size: 26px; font-weight: 300; line-height: 1.2; }
.empty-day p + p { font-size: 15px; color: var(--ink-2); }
.empty-day .btn { margin-top: var(--space-4); height: 48px; padding: 0 var(--space-5); letter-spacing: 0.2em; }

.form-grid { margin-top: var(--space-6); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--space-5) 20px; max-width: 640px; }
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; }
.field label .opt { font-weight: 400; letter-spacing: 0.04em; text-transform: none; color: var(--ink-2); }
.input { height: 48px; padding: 0 14px; border: var(--hairline) solid var(--field); border-radius: var(--radius); font: inherit; color: var(--ink); background: var(--paper); }
textarea.input { height: auto; padding: var(--space-3) 14px; resize: vertical; }
.input:focus { border-color: var(--ink); }
.input::placeholder { color: #8A8A8A; }
.input[aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.field-error { font-size: 13px; color: var(--error); }
.consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: var(--space-3); font-size: 15px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.consent-error { grid-column: 1 / -1; margin-top: calc(-1 * var(--space-4)); padding-left: var(--space-6); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.details { border-top: var(--hairline) solid var(--ink); }
.details div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-1) var(--space-5); padding: var(--space-4) 0; border-bottom: var(--hairline) solid var(--line); }
.details dt { color: var(--ink-2); }
.details--narrow { margin-top: var(--space-6); max-width: 640px; }
.details--narrow dd { text-align: right; }
.details.is-struck dd:not(.keep) { color: var(--muted); text-decoration: line-through; }
.howto { margin-top: var(--space-6); max-width: 640px; background: var(--surface); padding: 28px; }
.howto h2 { margin-bottom: var(--space-4); }
.howto ol { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.howto li { display: flex; gap: 14px; }
.howto__n { flex: none; width: 24px; height: 24px; border: var(--hairline) solid var(--ink); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }

.flow-nav { margin-top: var(--space-7); padding-top: var(--space-5); border-top: var(--hairline) solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); }

.summary { flex: 1 1 300px; min-width: 0; border: var(--hairline) solid var(--ink); padding: 28px; }
.summary dl { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.summary dl div { display: flex; justify-content: space-between; gap: var(--space-4); }
.summary dt { color: var(--ink-2); }
.summary dd { text-align: right; }
.summary__items { margin-top: 20px; border-top: var(--hairline) solid var(--line); }
.summary__items > p { margin-top: var(--space-4); font-size: 14px; color: var(--ink-2); }
.summary__item { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: var(--hairline) solid var(--line); font-size: 15px; }
.summary__item span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary__totals { margin-top: 20px; display: flex; flex-direction: column; gap: 6px; }
.summary__totals > div { display: flex; justify-content: space-between; align-items: baseline; }
.summary__totals > div:first-child { font-size: 15px; color: var(--ink-2); }
.summary__total { font-family: var(--font-display); font-size: 34px; font-weight: 400; font-variant-numeric: tabular-nums; line-height: 1; }
.summary > p { margin-top: 20px; font-size: 13px; color: var(--ink-2); }

/* ---- Done / manage / error pages ---- */
.page-center { max-width: 640px; margin: 0 auto; padding: 88px var(--gutter) 112px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.page-center--tall { padding-top: 112px; padding-bottom: var(--space-10); }
.page-center .rule { margin-top: 28px; }
.page-center .lead { margin-top: 28px; color: var(--ink-2); }
.page-center .lead strong { font-weight: 500; color: var(--ink); }
.page-center .actions { margin-top: 56px; justify-content: center; }
.page-center .details { margin-top: var(--space-7); width: 100%; text-align: left; }
.status { display: inline-flex; align-items: center; gap: 10px; padding: var(--space-2) var(--space-4); border: var(--hairline) solid currentColor; font-size: 12px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status--warn { color: var(--warn); }
.status--ok { color: var(--ok); }
.status--error { color: var(--error); }
.status--muted { color: var(--ink-2); }
.progress { margin-top: var(--space-7); padding: 0; list-style: none; width: 100%; display: flex; flex-wrap: wrap; gap: var(--space-5); text-align: left; }
.progress li { flex: 1 1 160px; display: flex; flex-direction: column; gap: 10px; }
.progress__bar { height: var(--hairline); background: var(--ink); }
.progress li.is-done .progress__bar { height: 2px; }
.progress li.is-todo .progress__bar { background: var(--line); }
.progress li.is-todo .label { color: var(--muted); }
.progress p { font-size: 14px; color: var(--ink-2); }

.manage { max-width: 720px; margin: 0 auto; padding: 72px var(--gutter) 112px; }
.manage h1 { margin-top: var(--space-3); }
.manage .status { margin-top: 20px; }
.manage__msg { margin-top: 20px; font-size: 17px; font-weight: 300; max-width: 36rem; }
.manage .details { margin-top: 36px; }
.manage .actions { margin-top: 40px; }
.manage .actions .btn { padding: 0 28px; }
.manage__cutoff { margin-top: 20px; font-size: 14px; color: var(--ink-2); }
.confirm-box { margin-top: 40px; border: var(--hairline) solid var(--ink); padding: var(--space-6); }
.confirm-box h2 { font-family: var(--font-display); font-weight: 300; font-size: 32px; line-height: 1.2; }
.confirm-box p { margin-top: var(--space-3); color: var(--ink-2); }
.confirm-box .actions { margin-top: 28px; }
.rebook-box { margin-top: 40px; background: var(--surface); padding: var(--space-6); }
.rebook-box h2 { font-family: var(--font-display); font-weight: 300; font-size: 30px; line-height: 1.2; }
.rebook-box p { margin-top: 10px; color: var(--ink-2); }
.rebook-box .btn { margin-top: var(--space-5); }
.notice { margin-top: var(--space-5); padding: var(--space-4) 20px; border: var(--hairline) solid var(--error); font-size: 15px; }

.error-code { font-family: var(--font-display); font-weight: 300; font-size: 120px; line-height: 1; letter-spacing: 0.08em; }
.page-center .h-error { margin-top: 28px; font-family: var(--font-display); font-weight: 300; font-size: clamp(32px, 4vw, 42px); line-height: 1.15; }
.page-center .h-error + .lead { margin-top: var(--space-4); }
.page-center .error-actions { margin-top: 40px; }

/* ---- Privacy ---- */
.privacy { padding-top: 72px; padding-bottom: 112px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--space-7) var(--space-9); line-height: 1.7; }
.toc { flex: 1 1 220px; display: flex; flex-direction: column; gap: var(--space-1); font-size: 14px; }
.toc .eyebrow { margin-bottom: var(--space-3); }
.toc a { text-decoration: none; padding: 6px 0; border-bottom: var(--hairline) solid var(--line); }
.privacy article { flex: 999 1 560px; min-width: 0; max-width: 40rem; }
.privacy article h1 { margin-top: var(--space-3); font-family: var(--font-display); font-weight: 300; font-size: clamp(38px, 5vw, 56px); line-height: 1.1; }
.privacy article .rule { margin-top: var(--space-5); }
.privacy article .lead { margin-top: var(--space-5); }
.privacy article h2 { margin: var(--space-7) 0 var(--space-3); font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.2; scroll-margin-top: var(--space-5); }
.privacy article h2:first-of-type { margin-top: 56px; }
.privacy article ul { padding-left: 20px; }

/* ---- Small screens (Mobil-* artboards) ---- */
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .section { padding: var(--space-8) 0; }
  .hero { padding: var(--space-8) 0; }
  .hero__photo { margin-top: var(--space-7); }
  .cta { padding: var(--space-8) 0; }
  .filter button { padding: 0 var(--space-4); }
  .map, .map iframe { min-height: 320px; }
  .summary { padding: var(--space-5); }
  .booking__layout { margin-top: var(--space-6); }
  .stepper ol { column-gap: var(--space-2); }
  .stepper li { flex: 1 1 calc(33.333% - var(--space-2)); min-width: 0; }
  .stepper button { letter-spacing: 0.14em; padding-right: 0; flex-wrap: wrap; gap: 0 6px; }
  .page-center, .manage { padding-top: var(--space-8); padding-bottom: var(--space-8); }
}

/* Small screens: the pinned homepage header is two compact rows
   (logo + language + Boka tid, then the menu) instead of three. */
@media (max-width: 640px) {
  .site-header--main .site-header__inner {
    display: grid; grid-template-columns: auto 1fr; grid-template-areas: "logo actions" "nav nav";
    align-items: center; gap: var(--space-1) var(--space-3); padding-top: 10px; padding-bottom: 2px;
  }
  .site-header--main .wordmark { grid-area: logo; font-size: 22px; }
  .site-header--main .header-actions { grid-area: actions; justify-self: end; gap: var(--space-3); }
  .site-header--main .btn--sm { height: 40px; padding: 0 var(--space-4); }
  .site-header--main .main-nav { grid-area: nav; flex-wrap: nowrap; justify-content: space-between; gap: var(--space-4); }
  .site-header--main .main-nav a { display: inline-flex; align-items: center; min-height: 44px; letter-spacing: 0.18em; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }

/* Page-specific spacing (done / manage / errors) */
.done-badge { margin-top: var(--space-6); }
.done-title, .page-center__title { margin-top: 28px; }
.page-center__title + .rule { margin-top: var(--space-5); }
.page-center--tall .lead { margin-top: var(--space-5); }
.small-note { margin-top: var(--space-5); font-size: 14px; color: var(--ink-2); }
.page-center .error-actions { margin-top: 40px; }
