/* The Only Space — design tokens, base styles, then components in page order. */

@font-face {
  font-family: 'Jakarta';
  src: url('/fonts/jakarta.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

/* The serif of the logo lettering */
@font-face {
  font-family: 'Playfair';
  src: url('/fonts/playfair.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #16181d;
  --ink-2: #3a3e46;
  --muted: #6a6f78;
  --faint: #a9adb4;
  --line: #e8e6e1;
  --line-strong: #d7d4cd;
  --bg: #ffffff;
  --bg-soft: #f7f6f2;
  --bg-sunk: #efede8;

  --brand: #0f7a5f;
  --brand-600: #0c6a52;
  --brand-700: #0a5544;
  --brand-50: #e9f5f0;
  --brand-100: #cfe9df;

  --gold: #e3a21a;
  --gold-50: #fdf5e3;
  --gold-100: #f8e6bb;
  --gold-700: #8a5a00;

  --red: #c2410c;
  --red-50: #fdeee6;
  --amber-50: #fef6e0;
  --amber-700: #8a5a00;
  --blue-50: #eaf1fe;
  --blue-700: #1d4ed8;
  --green-50: #e6f6ec;
  --green-700: #15803d;

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(17, 19, 24, 0.06), 0 1px 1px rgba(17, 19, 24, 0.04);
  --shadow: 0 8px 24px rgba(17, 19, 24, 0.08), 0 2px 6px rgba(17, 19, 24, 0.05);
  --shadow-lg: 0 28px 60px rgba(17, 19, 24, 0.18), 0 10px 20px rgba(17, 19, 24, 0.08);

  --font: 'Jakarta', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1240px;
  --gutter: 24px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2.5px solid var(--brand);
  outline-offset: 2px;
}

::selection {
  background: var(--brand-100);
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 12px;
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ---------------------------------------------------------------- type */

.display {
  font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-wrap: balance;
}

.display--light {
  color: #fff;
}

.h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 750;
}

.h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 700;
}

.lead {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  color: var(--ink-2);
  max-width: 34em;
  text-wrap: pretty;
}

.lead--light {
  color: rgba(255, 255, 255, 0.82);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand-700);
  background: var(--brand-50);
  padding: 6px 12px;
  border-radius: 999px;
}

.eyebrow--light {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.875rem;
}

.center {
  text-align: center;
}

.narrow {
  max-width: 560px;
}

.prose p + p {
  margin-top: 1em;
}

.prose {
  color: var(--ink-2);
  max-width: 44em;
}

.dot-sep {
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
  vertical-align: middle;
}

.fine-print {
  font-size: 0.8rem;
  color: var(--muted);
}

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

.btn {
  --btn-bg: var(--bg);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 650;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s, box-shadow 0.15s;
}

.btn:active:not(:disabled) {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn--primary {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 6px 16px rgba(15, 122, 95, 0.22);
}

.btn--primary:hover:not(:disabled) {
  --btn-bg: var(--brand-600);
}

.btn--outline {
  border-color: var(--line-strong);
}

.btn--outline:hover:not(:disabled) {
  border-color: var(--ink);
}

.btn--ghost {
  --btn-bg: transparent;
}

.btn--ghost:hover:not(:disabled) {
  --btn-bg: var(--bg-soft);
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
}

.btn--light:hover {
  --btn-bg: var(--brand-50);
}

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost-light:hover {
  border-color: #fff;
}

.btn--danger {
  --btn-bg: var(--red);
  --btn-fg: #fff;
}

.btn--danger-outline {
  --btn-fg: var(--red);
  border-color: #f1c4ad;
}

.btn--danger-outline:hover {
  --btn-bg: var(--red-50);
}

.btn--danger-text {
  --btn-fg: var(--red);
}

.btn--sm {
  min-height: 36px;
  padding: 7px 14px;
  font-size: 0.875rem;
}

.btn--lg {
  min-height: 52px;
  padding: 14px 24px;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.icon-btn:hover:not(:disabled) {
  border-color: var(--ink);
}

.icon-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.icon-btn--sm {
  width: 34px;
  height: 34px;
}

.icon-btn--xs {
  width: 30px;
  height: 30px;
  border: 0;
  box-shadow: var(--shadow-sm);
}

.icon-btn--dark {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.icon-btn--dark:hover:not(:disabled) {
  border-color: #fff;
}

.icon-btn--danger {
  color: var(--red);
}

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand-700);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.link-btn:hover {
  color: var(--ink);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--ink-2);
}

.back-link:hover {
  color: var(--ink);
}

/* --------------------------------------------------------- small bits */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 650;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.chip--glass {
  background: rgba(255, 255, 255, 0.92);
  border-color: transparent;
  backdrop-filter: blur(6px);
  color: var(--ink);
}

.chip--button {
  background: var(--bg);
  transition: border-color 0.15s;
}

.chip--button:hover {
  border-color: var(--ink);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  background: var(--bg-sunk);
  color: var(--ink-2);
}

.badge--booking-pending,
.badge--space-paused {
  background: var(--amber-50);
  color: var(--amber-700);
}

.badge--booking-confirmed,
.badge--space-published {
  background: var(--green-50);
  color: var(--green-700);
}

.badge--space-pending {
  background: var(--blue-50);
  color: var(--blue-700);
}

.badge--booking-declined,
.badge--booking-cancelled {
  background: var(--bg-sunk);
  color: var(--muted);
}

.avatar {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-700);
  font-weight: 750;
  font-size: 0.85rem;
}

.avatar--lg {
  width: 56px;
  height: 56px;
  font-size: 1.3rem;
}

.swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 3px;
  vertical-align: -1px;
}

.swatch--free {
  background: var(--brand-100);
}

.swatch--busy {
  background: repeating-linear-gradient(-45deg, #c9c6bf 0 3px, #e4e1da 3px 6px);
}

.swatch--sel,
.swatch--weekday {
  background: var(--brand);
}

.swatch--weekend {
  background: var(--gold);
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2.5px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  opacity: 0.6;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.boot,
.page-loading {
  display: grid;
  place-items: center;
  min-height: 50vh;
  color: var(--muted);
}

.page-loading--full,
.boot {
  min-height: 100vh;
}

.skeleton {
  background: linear-gradient(90deg, var(--bg-sunk), var(--bg-soft), var(--bg-sunk));
  background-size: 200% 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: var(--r-sm);
}

.skeleton--line {
  height: 14px;
  margin-bottom: 10px;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

.note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--r);
  font-size: 0.92rem;
  line-height: 1.45;
}

.note--error {
  background: var(--red-50);
  color: #9a3412;
}

.note--warn {
  background: var(--amber-50);
  color: var(--amber-700);
  margin-bottom: 16px;
}

.note--warn a {
  margin-left: auto;
  font-weight: 700;
}

.note--info {
  background: var(--blue-50);
  color: var(--blue-700);
}

.note--link {
  text-decoration: none;
  margin-bottom: 24px;
}

.note--link span {
  flex: 1;
}

.empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 56px 24px;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-lg);
  text-align: center;
  color: var(--ink-2);
}

.empty .icon {
  color: var(--muted);
}

.empty--inline {
  padding: 28px 20px;
}

.empty--page {
  margin: 64px auto;
  max-width: 560px;
  border-style: solid;
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.hide-mobile {
  display: inline;
}

.show-mobile {
  display: none;
}

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

.form-grid {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-row--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 6px;
  align-content: start;
}

.field__label {
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--ink);
}

.field__optional {
  font-weight: 500;
  color: var(--muted);
}

.field__hint {
  font-size: 0.8rem;
  color: var(--muted);
}

.field__error {
  font-size: 0.8rem;
  color: var(--red);
  font-weight: 600;
}

.field input,
.field select,
.field textarea,
.schedule select,
.blocks select,
.app-card select {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--bg);
  font-size: 0.97rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.5;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.schedule select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-50);
}

.has-error input,
.has-error select,
.has-error textarea {
  border-color: var(--red);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236a6f78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px !important;
}

.input-affix {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.input-affix:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-50);
}

.input-affix span {
  display: grid;
  place-items: center;
  padding: 0 12px;
  background: var(--bg-soft);
  border-right: 1px solid var(--line);
  font-weight: 650;
  color: var(--muted);
  font-size: 0.9rem;
}

.field .input-affix input {
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
}

.check input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

/* A checkbox with a line of explanation under its label. */
.check--block {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check--block input {
  flex: none;
  margin: 2px 0 0;
}

.check--block .field__hint {
  display: block;
  margin-top: 2px;
  font-weight: 400;
}

.switch {
  position: relative;
  width: 44px;
  height: 26px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line-strong);
  transition: background 0.2s;
}

.switch.is-on {
  background: var(--brand);
}

.switch__knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease);
}

.switch.is-on .switch__knob {
  transform: translateX(18px);
}

/* -------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.site-header__brand {
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav__link {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.93rem;
  text-decoration: none;
  color: var(--ink-2);
  transition: background 0.15s;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  background: var(--bg-soft);
  color: var(--ink);
}

.site-nav__portal {
  margin-left: 6px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.mark {
  flex: none;
  display: block;
}

.logo__word {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  line-height: 1;
  white-space: nowrap;
}

.logo__word small {
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.logo__word em {
  position: relative;
  top: 1px;
  font-family: 'Playfair', Georgia, 'Times New Roman', serif;
  font-style: normal;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
}

.logo--compact {
  gap: 8px;
}

.logo--compact .logo__word em {
  font-size: 1.3rem;
}

.logo--compact .logo__word small {
  font-size: 0.52rem;
}

.logo--light {
  color: #fff;
}

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

.site-footer {
  margin-top: 96px;
  background: #101215;
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 28px;
  font-size: 0.93rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}

.site-footer__brand p {
  margin-top: 14px;
  max-width: 30em;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.site-footer__grid a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  text-decoration: none;
}

.site-footer__grid a:hover {
  color: #fff;
}

.site-footer__base {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

/* ------------------------------------------------------------ sections */

.section {
  padding: 72px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.section-head p {
  margin-top: 6px;
}

.section-head--center {
  justify-content: center;
  text-align: center;
}

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

.home-hero {
  position: relative;
  padding: 48px 0 56px;
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(227, 162, 26, 0.12), transparent 70%),
    radial-gradient(800px 400px at 0% 100%, rgba(15, 122, 95, 0.1), transparent 70%),
    var(--bg);
}

.home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    'copy mosaic'
    'search search';
  gap: 36px 56px;
  align-items: center;
}

.home-hero__copy {
  grid-area: copy;
  display: grid;
  gap: 20px;
  justify-items: start;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 600;
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-row .icon {
  color: var(--brand);
}

.mosaic {
  grid-area: mosaic;
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 440px;
}

.mosaic--empty {
  border-radius: var(--r-xl);
  background: var(--bg-sunk);
}

.mosaic__tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

.mosaic__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: fade 0.5s ease;
}

.mosaic__tile--1 {
  grid-row: 1 / 3;
  border-radius: var(--r-xl);
}

.mosaic__badge {
  position: absolute;
  left: -22px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  font-size: 0.85rem;
}

.mosaic__badge strong {
  display: block;
  font-size: 0.95rem;
}

.mosaic__badge span span {
  color: var(--muted);
}

.mosaic__dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

/* The card on a smaller photo sits inside it and shrinks with it. */
.mosaic__tile {
  container-type: inline-size;
}

.mosaic__badge--inset {
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  gap: 10px;
  padding: 10px 14px 10px 12px;
}

/* "· available now" needs a tile about 240px wide; narrower tiles drop it. */
@container (max-width: 240px) {
  .mosaic__badge--inset .mosaic__extra {
    display: none;
  }
}

@container (max-width: 200px) {
  .mosaic__badge--inset {
    left: 8px;
    bottom: 8px;
    max-width: calc(100% - 16px);
    gap: 8px;
    padding: 7px 10px 7px 9px;
    font-size: 0.74rem;
  }

  .mosaic__badge--inset strong {
    font-size: 0.8rem;
  }
}

.search {
  grid-area: search;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr auto;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow);
}

.search__field {
  display: grid;
  gap: 2px;
  padding: 8px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s;
  min-width: 0;
}

.search__field + .search__field {
  border-left: 1px solid var(--line);
}

.search__field:hover {
  background: var(--bg-soft);
}

.search__label {
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.search__field select,
.search__field input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background-color: transparent;
  color: var(--ink-2);
  font-size: 0.95rem;
  outline: none;
}

.search__field select {
  background-position: right 0 center;
  padding-right: 22px !important;
}

.search__go {
  min-height: 54px;
  padding-inline: 26px;
}

/* ---------------------------------------------------------- space grid */

.space-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  gap: 36px 24px;
}

.space-grid--feature {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.space-card {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
}

.space-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--bg-sunk);
}

.space-card--large .space-card__media {
  aspect-ratio: 16 / 10;
}

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

.space-card:hover .space-card__media img {
  transform: scale(1.03);
}

.space-card__empty {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--faint);
}

.space-card__hit {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.space-card__type {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  pointer-events: none;
}

.space-card__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-top: -17px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transition: opacity 0.2s, transform 0.15s;
}

.space-card__nav--prev {
  left: 12px;
}

.space-card__nav--next {
  right: 12px;
}

.space-card:hover .space-card__nav,
.space-card__nav:focus-visible {
  opacity: 1;
}

.space-card__nav:hover {
  transform: scale(1.06);
}

.space-card__dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 2;
  display: flex;
  gap: 5px;
  transform: translateX(-50%);
  pointer-events: none;
}

.space-card__dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transition: transform 0.2s, background 0.2s;
}

.space-card__dots i.is-on {
  background: #fff;
  transform: scale(1.25);
}

.space-card__body {
  display: grid;
  gap: 4px;
  text-decoration: none;
}

.space-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.space-card--large .space-card__title {
  font-size: 1.3rem;
}

.space-card__meta {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.92rem;
}

.space-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.space-card__price strong {
  font-size: 1.08rem;
}

.space-card__weekend {
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--gold-50);
  color: var(--gold-700);
  font-size: 0.8rem;
  font-weight: 650;
}

.space-card__min {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ----------------------------------------------------------- how it works */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 28px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
}

.step__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-50);
  color: var(--brand-700);
}

.step__num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--bg-sunk);
  letter-spacing: -0.04em;
}

.step h3 {
  font-size: 1.1rem;
  margin-top: 6px;
}

.step p {
  color: var(--muted);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 56px;
  border-radius: var(--r-xl);
  color: #fff;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(227, 162, 26, 0.3), transparent 70%),
    linear-gradient(135deg, #0b3d31, #0f7a5f);
}

.cta-band h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 14px 0 10px;
  max-width: 18em;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 36em;
}

/* =========================================================== SPACE PAGE */

.space-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 14px;
}

.hero {
  position: relative;
  overflow: hidden;
  height: clamp(640px, calc(100vh - 130px), 780px);
  border-radius: var(--r-xl);
  background: #16181d;
}

.hero__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: fade 0.45s ease;
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

.hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 11, 14, 0) 38%, rgba(10, 11, 14, 0.6) 100%),
    linear-gradient(0deg, rgba(10, 11, 14, 0.45), rgba(10, 11, 14, 0) 28%),
    linear-gradient(180deg, rgba(10, 11, 14, 0.25), rgba(10, 11, 14, 0) 25%);
}

.hero__controls {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__nav,
.hero__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 650;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, background 0.15s;
}

.hero__nav {
  width: 40px;
}

.hero__count {
  padding: 0 16px;
}

.hero__nav:hover,
.hero__count:hover {
  background: #fff;
  transform: translateY(-1px);
}

.hero__rail {
  position: absolute;
  top: 20px;
  right: 20px;
  bottom: 20px;
  width: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.hero__rail > * {
  pointer-events: auto;
}

.hero__info {
  color: #fff;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
  padding: 4px 6px 0;
}

.hero__label {
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.hero__title {
  margin-top: 2px;
  font-size: 1.95rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero__sub {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 550;
}

.hero__prices {
  display: grid;
  gap: 0;
  margin-top: 10px;
}

.hero__prices div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.hero__prices dt {
  min-width: 82px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.hero__prices dd {
  font-size: 1rem;
}

.hero__prices strong {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* "Same price on public holidays", under the weekend price */
.hero__note {
  display: block;
  margin-top: -2px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero__min {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  font-size: 0.85rem;
  font-weight: 650;
  text-shadow: none;
}

.booking-card {
  padding: 18px 18px 14px;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.space-section .booking-card {
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.booking-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.booking-card__title {
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.booking-card__hint {
  font-size: 0.82rem;
  color: var(--muted);
}

/* The calendar inside the desktop hero has to fit beside the venue info on a 768px-tall laptop. */
.booking-card--compact {
  padding: 14px 14px 10px;
}

.booking-card--compact .booking-card__head {
  margin-bottom: 2px;
}

.booking-card--compact .booking-card__hint {
  display: none;
}

.booking-card--compact .cal__head {
  margin-bottom: 2px;
}

.booking-card--compact .cal__day {
  height: 35px;
}

.booking-card--compact .booking-card__legend {
  margin-top: 6px;
  padding-top: 8px;
}

.booking-card__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-2);
}

/* calendar */

.cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.cal__title {
  font-weight: 750;
  font-size: 0.95rem;
}

.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
}

.cal__dow {
  padding: 4px 0;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.cal__dow.is-weekend {
  color: var(--gold-700);
}

.cal__day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  transition: background 0.12s, color 0.12s, box-shadow 0.12s;
}

.cal__num {
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1;
}

.cal__price {
  height: 10px;
  font-size: 0.64rem;
  font-weight: 650;
  line-height: 1;
  color: var(--brand-700);
}

.cal__day.is-available:hover {
  background: var(--brand-50);
}

.cal__day.is-available.is-weekend {
  background: var(--gold-50);
}

.cal__day.is-available.is-weekend:hover {
  background: var(--gold-100);
}

.cal__day.is-available.is-weekend .cal__price {
  color: var(--gold-700);
}

/* Same price every day: no need to call out weekends. */
.cal--flat .cal__dow.is-weekend {
  color: var(--muted);
}

.cal--flat .cal__day.is-available.is-weekend {
  background: transparent;
}

.cal--flat .cal__day.is-available.is-weekend:hover {
  background: var(--brand-50);
}

.cal--flat .cal__day.is-available.is-weekend .cal__price {
  color: var(--brand-700);
}

.cal__day:disabled {
  cursor: default;
  color: #c3c6cb;
}

.cal__day.is-full .cal__num {
  text-decoration: line-through;
}

.cal__day.is-full .cal__price {
  color: var(--faint);
}

.cal__day.is-today {
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}

.cal__day.is-selected,
.cal__day.is-selected.is-weekend {
  background: var(--ink) !important;
  color: #fff;
}

.cal__day.is-selected .cal__price {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* A public holiday priced like a weekend day: weekend colours plus a small dot. */
.cal__day.is-holiday {
  position: relative;
}

.cal__day.is-holiday::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-700);
}

.cal__day.is-holiday:disabled::after {
  opacity: 0.45;
}

.cal__day.is-selected.is-holiday::after {
  background: #fff;
}

.cal.is-loading .cal__grid {
  opacity: 0.45;
}

/* filmstrip ("carousel picture at bottom") */

.filmstrip {
  position: relative;
  margin-top: 14px;
}

.filmstrip__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 6px;
  margin: 0 -6px;
}

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

.filmstrip__item {
  flex: none;
  width: 176px;
  aspect-ratio: 3 / 2;
  padding: 0;
  border: 0;
  border-radius: var(--r);
  overflow: hidden;
  scroll-snap-align: start;
  opacity: 0.72;
  outline: 3px solid transparent;
  outline-offset: 2px;
  transition: opacity 0.2s, outline-color 0.2s, transform 0.2s;
}

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

.filmstrip__item:hover {
  opacity: 1;
}

.filmstrip__item.is-active {
  opacity: 1;
  outline-color: var(--brand);
}

.filmstrip__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
}

.filmstrip__nav--prev {
  left: -14px;
}

.filmstrip__nav--next {
  right: -14px;
}

/* listing details */

.space-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 72px;
  margin-top: 44px;
  align-items: start;
}

.space-heading {
  display: grid;
  gap: 8px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.space-heading__title {
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.space-heading__where {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
  font-weight: 550;
}

.space-heading__summary {
  color: var(--muted);
  font-size: 1.05rem;
}

.fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.fact-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  font-weight: 600;
  font-size: 0.9rem;
}

.fact-row .icon {
  color: var(--brand);
}

.space-section {
  display: grid;
  gap: 16px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.space-section:last-child {
  border-bottom: 0;
}

.space-section h3 {
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.015em;
}

.space-section--flush {
  padding-top: 24px;
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
}

.amenity-grid li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-2);
  font-weight: 550;
}

.amenity-grid .icon {
  color: var(--ink);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.price-tile {
  display: grid;
  gap: 2px;
  padding: 18px;
  border-radius: var(--r);
  background: var(--brand-50);
}

.price-tile span {
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-700);
}

.price-tile strong {
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.price-tile small {
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--muted);
}

.price-tile em {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
}

.price-tile--weekend {
  background: var(--gold-50);
}

.price-tile--weekend span {
  color: var(--gold-700);
}

.price-tile--plain {
  background: var(--bg-soft);
}

.price-tile--plain span {
  color: var(--ink-2);
}

.hours-list {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 11px 16px;
  font-size: 0.93rem;
}

.hours-list li + li {
  border-top: 1px solid var(--line);
}

.hours-list li span:first-child {
  font-weight: 650;
}

.hours-list li.is-closed {
  color: var(--faint);
}

.map-frame {
  overflow: hidden;
  height: 320px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-sunk);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.space-section > .btn {
  justify-self: start;
}

.rule-list {
  display: grid;
  gap: 10px;
}

.rule-list li {
  display: flex;
  gap: 12px;
  color: var(--ink-2);
}

.rule-list .icon {
  color: var(--brand);
  margin-top: 2px;
}

.host-row {
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.host-row h3 {
  font-size: 1.1rem;
}

.space-aside {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.aside-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.aside-card__price {
  font-size: 1rem;
  color: var(--muted);
}

.aside-card__price strong {
  font-size: 1.6rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.aside-card__list {
  display: grid;
  gap: 10px;
  font-weight: 550;
  color: var(--ink-2);
}

.aside-card__list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aside-card__list .icon {
  color: var(--brand);
}

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(17, 19, 24, 0.06);
}

.mobile-bar span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

/* lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgba(8, 9, 11, 0.96);
  color: #fff;
  animation: fade 0.2s ease;
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-weight: 650;
}

.lightbox__stage {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  min-height: 0;
  padding: 0 72px;
}

.lightbox__stage img {
  max-width: 100%;
  max-height: calc(100vh - 220px);
  border-radius: var(--r);
  object-fit: contain;
  animation: fade 0.3s ease;
}

.lightbox__stage figcaption {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lightbox__nav--prev {
  left: 16px;
}

.lightbox__nav--next {
  right: 16px;
}

.lightbox__thumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  overflow-x: auto;
}

.lightbox__thumbs button {
  flex: none;
  width: 72px;
  height: 50px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0.55;
  background: none;
}

.lightbox__thumbs button.is-active {
  opacity: 1;
  border-color: #fff;
}

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

/* ============================================================= OVERLAYS */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(13, 14, 17, 0.5);
  animation: fade 0.2s ease;
}

.overlay--center {
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: calc(100vh - 40px);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  animation: pop 0.25s var(--ease);
  outline: none;
}

.modal--sm {
  max-width: 420px;
}

.modal--md {
  max-width: 540px;
}

@keyframes pop {
  from {
    transform: translateY(12px) scale(0.98);
    opacity: 0;
  }
}

.modal__head,
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.modal__title,
.drawer__title {
  font-size: 1.05rem;
  font-weight: 750;
}

.modal__body {
  padding: 20px;
  overflow-y: auto;
}

.modal__foot,
.drawer__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
}

.confirm-body {
  color: var(--ink-2);
}

.drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(480px, 100%);
  background: #fff;
  box-shadow: var(--shadow-lg);
  animation: slide-in 0.3s var(--ease);
  outline: none;
}

@keyframes slide-in {
  from {
    transform: translateX(40px);
    opacity: 0;
  }
}

.drawer__spacer {
  width: 40px;
}

.drawer__title {
  flex: 1;
  text-align: center;
}

.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  overscroll-behavior: contain;
}

.drawer__foot {
  justify-content: space-between;
  padding-bottom: calc(14px + env(safe-area-inset-bottom));
}

.toasts {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  display: grid;
  gap: 8px;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100vw - 32px);
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--r);
  background: var(--ink);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 550;
  box-shadow: var(--shadow-lg);
  animation: pop 0.25s var(--ease);
}

.toast--success .icon {
  color: #4ade80;
}

.toast--error {
  background: #7c2d12;
}

/* ======================================================== BOOKING PANEL */

.bp {
  display: grid;
  gap: 18px;
}

.bp__space {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bp__space img {
  width: 64px;
  height: 52px;
  object-fit: cover;
  border-radius: var(--r-sm);
}

.bp__space div,
.bp__date div {
  display: grid;
  min-width: 0;
}

.bp__space span,
.bp__date span {
  font-size: 0.85rem;
  color: var(--muted);
}

.bp__date {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r);
  background: var(--bg-soft);
}

.bp__date div {
  flex: 1;
}

.bp__label {
  font-size: 0.95rem;
  font-weight: 750;
  margin-bottom: -6px;
}

.bp__hint {
  margin-top: -6px;
  font-size: 0.85rem;
  color: var(--muted);
}

.bp__summary {
  display: grid;
  min-width: 0;
  line-height: 1.3;
}

.bp__summary div {
  display: grid;
}

.bp__summary span {
  font-size: 0.82rem;
  color: var(--muted);
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.time-chip {
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: #fff;
  font-weight: 650;
  font-size: 0.9rem;
  transition: border-color 0.12s, background 0.12s;
}

.time-chip:hover:not(:disabled) {
  border-color: var(--ink);
}

.time-chip.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.time-chip:disabled {
  border-color: var(--line);
  background: var(--bg-soft);
  color: var(--faint);
  text-decoration: line-through;
  cursor: not-allowed;
}

.timeline {
  display: grid;
  gap: 8px;
}

.timeline__bar {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: var(--brand-100);
  overflow: hidden;
}

.timeline__busy,
.timeline__sel {
  position: absolute;
  top: 0;
  bottom: 0;
}

.timeline__busy {
  background: repeating-linear-gradient(-45deg, #c9c6bf 0 3px, #e4e1da 3px 6px);
}

.timeline__sel {
  background: var(--brand);
  border-radius: 999px;
  transition: left 0.2s var(--ease), width 0.2s var(--ease);
}

.timeline__ticks {
  position: relative;
  height: 14px;
  font-size: 0.7rem;
  color: var(--muted);
}

.timeline__ticks span {
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
}

.timeline__ticks span:first-child {
  transform: none;
}

.timeline__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 0.75rem;
  color: var(--muted);
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.stepper__value {
  font-weight: 750;
}

.price-box {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.price-box__row {
  display: flex;
  justify-content: space-between;
  color: var(--ink-2);
}

.price-box__total {
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
  font-size: 1.1rem;
}

.price-box__fine {
  display: flex;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
}

.price-box__fine .icon {
  margin-top: 2px;
}

/* ========================================================= BOOKING PAGE */

.booking-page {
  max-width: 680px;
  padding-top: 40px;
}

.booking-status {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  margin-bottom: 28px;
}

.booking-status__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-700);
}

.booking-status--pending .booking-status__icon {
  background: var(--amber-50);
  color: var(--amber-700);
}

.booking-status--declined .booking-status__icon,
.booking-status--cancelled .booking-status__icon {
  background: var(--bg-sunk);
  color: var(--muted);
}

.booking-status__ref {
  margin-top: 4px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 0.9rem;
}

.booking-status__ref strong {
  letter-spacing: 0.06em;
}

.booking-sheet {
  display: grid;
  gap: 20px;
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.booking-sheet__space {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.booking-sheet__space img {
  width: 84px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--r-sm);
}

.booking-sheet__space div {
  display: grid;
  flex: 1;
}

.booking-sheet__space span {
  color: var(--muted);
  font-size: 0.9rem;
}

.booking-sheet__list,
.bk__details,
.secret {
  display: grid;
  gap: 12px;
}

.booking-sheet__list div,
.bk__details div,
.secret div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
}

.booking-sheet__list dt,
.bk__details dt,
.secret dt {
  color: var(--muted);
  font-size: 0.9rem;
}

.secret code {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--bg-soft);
}

.booking-sheet__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ========================================================= PARTNER PAGE */

.partner-hero {
  padding: 72px 0;
  color: #fff;
  background:
    radial-gradient(700px 340px at 90% 10%, rgba(227, 162, 26, 0.28), transparent 70%),
    linear-gradient(140deg, #0b2f27 10%, #0f6b54 90%);
}

.partner-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
}

.partner-hero__inner > div:first-child {
  display: grid;
  gap: 20px;
  justify-items: start;
}

.partner-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.partner-hero__art {
  position: relative;
  height: 300px;
}

.art-card {
  position: absolute;
  display: grid;
  gap: 6px;
  width: 270px;
  padding: 22px;
  border-radius: var(--r-lg);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.art-card strong {
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.art-card--a {
  top: 0;
  left: 0;
  transform: rotate(-3deg);
  opacity: 0.9;
}

.art-card--b {
  right: 0;
  bottom: 0;
  transform: rotate(2deg);
}

.art-card__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.art-card__tag {
  justify-self: start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.art-card__tag--busy {
  background: var(--bg-sunk);
  color: var(--ink-2);
}

.art-card__tag--free {
  background: var(--brand-50);
  color: var(--brand-700);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.benefit {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
}

.benefit__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--brand-50);
  color: var(--brand-700);
}

.benefit h3 {
  font-size: 1.05rem;
  margin-top: 4px;
}

.benefit p {
  color: var(--muted);
  font-size: 0.93rem;
}

.partner-apply {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.timeline-steps {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.timeline-steps li {
  display: flex;
  gap: 16px;
}

.timeline-steps li > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}

.timeline-steps p {
  color: var(--muted);
}

.form-card {
  padding: 28px;
}

.form-done {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 24px 0;
  text-align: center;
}

.form-done__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-700);
}

/* =============================================================== PORTAL */

.login {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(227, 162, 26, 0.12), transparent 70%),
    radial-gradient(700px 360px at 0% 100%, rgba(15, 122, 95, 0.12), transparent 70%),
    var(--bg-soft);
}

.login__card {
  display: grid;
  gap: 12px;
  width: min(420px, 100%);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.login__brand {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
  color: var(--ink);
  text-decoration: none;
}

.login__foot {
  margin-top: 6px;
}

.portal {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
  background: var(--bg-soft);
}

.portal-side {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100vh;
  padding: 22px 16px;
  background: #fff;
  border-right: 1px solid var(--line);
}

.portal-side__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
}

.portal-side__brand {
  text-decoration: none;
}

.portal-side__role {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.portal-nav {
  display: grid;
  gap: 2px;
}

.portal-nav__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.12s;
}

.portal-nav__link:hover {
  background: var(--bg-soft);
}

.portal-nav__link.is-active {
  background: var(--brand-50);
  color: var(--brand-700);
}

.portal-side__user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 12px 8px 0;
  border-top: 1px solid var(--line);
}

.portal-side__user div {
  display: grid;
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}

.portal-side__user strong,
.portal-side__user span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-side__user strong {
  font-size: 0.9rem;
}

.portal-side__user span {
  font-size: 0.78rem;
  color: var(--muted);
}

.portal-main {
  min-width: 0;
  padding: 36px 44px 96px;
}

.portal-page {
  display: grid;
  gap: 24px;
  max-width: 1080px;
}

.portal-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.portal-head p {
  margin-top: 4px;
}

.portal-section {
  display: grid;
  gap: 14px;
}

.portal-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat {
  display: grid;
  gap: 2px;
  padding: 18px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.stat:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.stat__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand-700);
}

.stat__label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.stat__value {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.stat__note {
  font-size: 0.8rem;
  color: var(--muted);
}

.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--bg-sunk);
  justify-self: start;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.tab {
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 650;
  font-size: 0.9rem;
  color: var(--ink-2);
  white-space: nowrap;
}

.tab.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

/* booking rows */

.bk-list {
  display: grid;
  gap: 12px;
}

.bk {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 18px;
  padding: 18px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
}

.bk--pending {
  border-left: 4px solid var(--gold);
}

.bk--declined,
.bk--cancelled {
  opacity: 0.75;
}

.bk__date {
  display: grid;
  justify-items: center;
  align-content: center;
  height: 72px;
  border-radius: var(--r);
  background: var(--bg-soft);
  line-height: 1.1;
}

.bk__date span {
  font-size: 0.7rem;
  font-weight: 750;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.bk__date strong {
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.bk__main {
  display: grid;
  gap: 4px;
  align-content: start;
  justify-items: start;
}

.bk__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.bk__space {
  font-weight: 650;
  color: var(--ink-2);
}

.bk__guest {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

.bk__details {
  margin: 10px 0 4px;
  padding: 14px;
  border-radius: var(--r);
  background: var(--bg-soft);
  font-size: 0.9rem;
  width: 100%;
}

.bk__details div {
  grid-template-columns: 90px 1fr;
}

.bk__main .link-btn {
  font-size: 0.85rem;
  margin-top: 4px;
}

.bk__side {
  display: grid;
  justify-items: end;
  align-content: space-between;
  gap: 10px;
}

.bk__total {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.bk__actions,
.bk__contact {
  display: flex;
  gap: 6px;
}

/* space tiles */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.tile {
  display: grid;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  transition: box-shadow 0.15s, transform 0.15s;
}

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

.tile__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  color: var(--faint);
}

.tile__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile__badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.tile__badge .badge {
  box-shadow: var(--shadow-sm);
}

.tile__body {
  display: grid;
  gap: 4px;
  padding: 14px 16px 16px;
}

.tile__body .muted {
  font-size: 0.85rem;
}

.tile__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--ink-2);
}

.tile__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tile__alert {
  color: var(--amber-700);
  font-weight: 700;
}

/* editor */

.editor {
  gap: 20px;
}

.editor__head {
  align-items: center;
}

.editor__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.editor__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.checklist {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  padding: 16px 20px;
  border-radius: var(--r-lg);
  background: var(--amber-50);
  color: var(--amber-700);
}

.checklist ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.checklist li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

.checklist li.is-done {
  color: var(--green-700);
}

.editor-form {
  display: grid;
  gap: 20px;
}

.editor-card {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.editor-card__head {
  display: grid;
  gap: 4px;
}

.editor-card__head .muted {
  font-size: 0.92rem;
}

.editor-card--danger {
  border-color: #f4d3c4;
}

.save-bar {
  position: sticky;
  bottom: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.save-bar.is-visible {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.save-bar > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
}

.save-bar > div {
  display: flex;
  gap: 8px;
}

.save-bar .btn--ghost {
  --btn-fg: #fff;
}

.save-bar .btn--ghost:hover {
  --btn-bg: rgba(255, 255, 255, 0.1);
}

/* photos */

.photos {
  display: grid;
  gap: 16px;
}

.dropzone {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 2px dashed var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--bg-soft);
  transition: border-color 0.15s, background 0.15s;
}

.dropzone.is-over {
  border-color: var(--brand);
  background: var(--brand-50);
}

.dropzone__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 16px;
  background: #fff;
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.photo-tile {
  display: grid;
  gap: 6px;
  cursor: grab;
}

.photo-tile.is-dragging {
  opacity: 0.4;
}

.photo-tile__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r);
}

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

.photo-tile__cover {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.photo-tile__tools {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.15s;
}

.photo-tile:hover .photo-tile__tools,
.photo-tile:focus-within .photo-tile__tools {
  opacity: 1;
}

.photo-tile__caption {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  font-size: 0.85rem;
}

.photo-tile__caption:hover,
.photo-tile__caption:focus {
  border-color: var(--line-strong);
  outline: none;
  background: #fff;
}

.photo-tile.is-uploading img {
  opacity: 0.5;
  filter: grayscale(0.4);
}

.photo-tile__progress {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  overflow: hidden;
}

.photo-tile__progress span {
  display: block;
  height: 100%;
  background: var(--brand);
  transition: width 0.2s;
}

/* schedule */

.schedule {
  display: grid;
  gap: 14px;
}

.schedule__presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.schedule__days {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}

.schedule__day {
  display: grid;
  grid-template-columns: 120px auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  min-height: 62px;
}

.schedule__day + .schedule__day {
  border-top: 1px solid var(--line);
}

.schedule__day.is-closed {
  background: var(--bg-soft);
}

.schedule__name {
  font-weight: 650;
}

.schedule__times {
  display: flex;
  align-items: center;
  gap: 10px;
}

.schedule__times select {
  width: auto;
  min-width: 128px;
  min-height: 40px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background-color: #fff;
}

.schedule__off {
  font-size: 0.9rem;
}

/* blocks */

.blocks {
  display: grid;
  gap: 16px;
}

.blocks__form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
}

.blocks__form .field {
  min-width: 180px;
}

.blocks__form .check {
  min-height: 46px;
}

.blocks__list {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}

.blocks__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
}

.blocks__list li + li {
  border-top: 1px solid var(--line);
}

.blocks__list li div {
  display: grid;
  flex: 1;
}

.blocks__list .muted {
  font-size: 0.85rem;
}

/* Settings → Public holidays: the name takes the spare width */
.holidays__form .field + .field {
  flex: 1;
}

.amenity-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.amenity-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: border-color 0.12s, background 0.12s, color 0.12s;
}

.amenity-toggle:hover {
  border-color: var(--ink);
}

.amenity-toggle.is-on {
  border-color: var(--brand);
  background: var(--brand-50);
  color: var(--brand-700);
}

/* partners admin */

.app-list {
  display: grid;
  gap: 12px;
}

.app-card {
  display: grid;
  gap: 12px;
  padding: 18px 20px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
}

.app-card.is-new {
  border-left: 4px solid var(--blue-700);
}

.app-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.app-card__head div {
  display: grid;
}

.app-card__head select {
  width: auto;
  min-height: 38px;
  padding: 6px 12px;
}

.app-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  font-size: 0.9rem;
}

.app-card__facts div {
  display: flex;
  gap: 6px;
}

.app-card__facts dt {
  color: var(--muted);
}

.app-card__msg {
  padding: 12px 14px;
  border-radius: var(--r);
  background: var(--bg-soft);
  font-size: 0.92rem;
  color: var(--ink-2);
  white-space: pre-line;
}

.app-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.user-list {
  display: grid;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.user-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
}

.user-list li + li {
  border-top: 1px solid var(--line);
}

.user-list li div {
  display: grid;
  min-width: 0;
}

/* ========================================================== RESPONSIVE */

@media (max-width: 1100px) {
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .hero {
    height: auto;
    overflow: visible;
    background: none;
    border-radius: 0;
  }

  .hero__frame {
    position: relative;
    aspect-ratio: 4 / 3;
    max-height: 70vh;
    width: 100%;
    border-radius: var(--r-xl);
  }

  .hero__shade {
    background: linear-gradient(0deg, rgba(10, 11, 14, 0.4), rgba(10, 11, 14, 0) 35%);
  }

  .hero__rail {
    position: static;
    width: auto;
    display: block;
    margin-top: 16px;
  }

  .hero__info {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      'label label'
      'title title'
      'sub sub'
      'prices min';
    align-items: end;
    gap: 0 12px;
    padding: 18px 20px;
    border-radius: var(--r-lg);
    background: #16181d;
  }

  .hero__label {
    grid-area: label;
  }

  .hero__title {
    grid-area: title;
    font-size: 1.6rem;
  }

  .hero__sub {
    grid-area: sub;
  }

  .hero__prices {
    grid-area: prices;
  }

  .hero__pills {
    grid-area: min;
    align-self: end;
    justify-content: flex-end;
  }

  .space-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 28px;
  }

  .space-page {
    padding-bottom: 24px;
  }

  body:has(.mobile-bar) .site-footer {
    padding-bottom: 110px;
  }
}

@media (max-width: 900px) {
  :root {
    --gutter: 20px;
  }

  .home-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      'copy'
      'search'
      'mosaic';
  }

  .mosaic {
    height: 300px;
  }

  .mosaic__badge {
    left: 12px;
    bottom: 12px;
  }

  .search {
    grid-template-columns: 1fr 1fr;
    border-radius: var(--r-lg);
    gap: 4px;
  }

  .search__field {
    border-radius: var(--r);
    padding: 10px 14px;
    background: var(--bg-soft);
  }

  .search__field + .search__field {
    border-left: 0;
  }

  .search__field:first-child {
    grid-column: 1 / -1;
  }

  .search__go {
    grid-column: 1 / -1;
    border-radius: var(--r);
  }

  .space-grid--feature {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .partner-hero__inner,
  .partner-apply {
    grid-template-columns: minmax(0, 1fr);
  }

  .partner-hero__art {
    display: none;
  }

  .portal {
    grid-template-columns: minmax(0, 1fr);
  }

  .portal-side {
    position: sticky;
    top: 0;
    z-index: 30;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding: 12px var(--gutter);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .portal-side__top {
    padding: 0;
    flex: 1;
  }

  .portal-side__user {
    order: 2;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .portal-side__user div {
    display: none;
  }

  .portal-side__user .avatar {
    display: none;
  }

  .portal-nav {
    order: 3;
    display: flex;
    width: 100%;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .portal-nav__link {
    flex: none;
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .portal-main {
    padding: 24px var(--gutter) 96px;
  }

  .bk {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .bk__side {
    grid-column: 1 / -1;
    grid-template-columns: auto 1fr auto;
    justify-items: start;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .bk__actions {
    justify-self: end;
  }

  .user-list li {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .user-list li > .muted.small,
  .user-list li > .badge {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
    --header-h: 64px;
  }

  body {
    font-size: 15.5px;
  }

  .hide-mobile {
    display: none;
  }

  .show-mobile {
    display: inline;
  }

  .site-nav__link {
    padding: 8px 10px;
  }

  .site-header .logo {
    gap: 8px;
  }

  .site-header .logo__mark {
    width: 36px;
    height: 36px;
  }

  .site-header .logo__word em {
    font-size: 1.3rem;
  }

  .site-header .logo__word small {
    font-size: 0.52rem;
  }

  .site-nav__portal span {
    display: none;
  }

  .site-nav__portal {
    width: 40px;
    min-height: 40px;
    padding: 0;
  }

  .section {
    padding: 52px 0;
  }

  .home-hero {
    padding-top: 28px;
  }

  .mosaic {
    height: 240px;
    gap: 8px;
  }

  .form-row,
  .form-row--3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__frame {
    border-radius: var(--r-lg);
  }

  .hero__info {
    grid-template-areas:
      'label label'
      'title title'
      'sub sub'
      'prices prices'
      'min min';
  }

  .hero__pills {
    justify-content: flex-start;
  }

  /* Just wider than "Weekends", so "· full day RM700" fits beside the price at 375px */
  .hero__prices dt {
    min-width: 75px;
  }

  .hero__controls {
    left: 12px;
    bottom: 12px;
  }

  .filmstrip__nav {
    display: none;
  }

  .filmstrip__item {
    width: 120px;
  }

  .amenity-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .host-row {
    grid-template-columns: auto 1fr;
  }

  .host-row .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .overlay--drawer .drawer {
    top: 6vh;
    width: 100%;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    animation-name: slide-up;
  }

  @keyframes slide-up {
    from {
      transform: translateY(60px);
      opacity: 0;
    }
  }

  .time-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .booking-sheet {
    padding: 18px;
  }

  .booking-sheet__list div,
  .secret div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .booking-sheet__actions .btn {
    width: 100%;
  }

  .benefit-grid,
  .stat-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat {
    padding: 14px;
  }

  .stat__value {
    font-size: 1.35rem;
  }

  .schedule__day {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .schedule__times,
  .schedule__off {
    grid-column: 1 / -1;
  }

  .schedule__times select {
    flex: 1;
    min-width: 0;
  }

  .dropzone {
    flex-direction: column;
    text-align: center;
  }

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-tile__tools {
    opacity: 1;
  }

  .save-bar {
    border-radius: var(--r-lg);
    flex-direction: column;
    align-items: stretch;
  }

  .save-bar > div {
    justify-content: flex-end;
  }

  .site-footer__base {
    flex-direction: column;
  }

  .editor__actions {
    width: 100%;
  }

  .tile-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (hover: none) {
  .space-card__nav {
    display: none;
  }

  .photo-tile__tools {
    opacity: 1;
  }
}

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

/* ======================================== MULTI-DAY BOOKINGS & FEES */

.btn--xs {
  min-height: 30px;
  padding: 4px 12px;
  font-size: 0.82rem;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.hero__pills .hero__min {
  margin-top: 0;
}

/* Booked days: marked, never selectable */
.cal__day.is-booked:disabled {
  background: var(--red-50);
  color: var(--red);
  cursor: not-allowed;
}

.cal__day.is-booked .cal__num {
  font-weight: 650;
}

.cal__day.is-booked .cal__price {
  color: var(--red);
  font-size: 0.54rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.swatch--booked {
  background: var(--red-50);
  box-shadow: inset 0 0 0 1px #f1c4ad;
}

/* "3 days selected · Clear   [Continue]" under the calendar */
.booking-card__pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-2);
}

.booking-card--compact {
  padding-bottom: 8px;
}

.booking-card--compact .cal__day {
  height: 34px;
}

.booking-card--compact .booking-card__pick {
  margin-top: 6px;
  padding-top: 6px;
}

.fee-list {
  display: grid;
  gap: 10px;
}

.fee-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-2);
}

.fee-list .icon {
  flex: none;
  margin-top: 2px;
  color: var(--brand);
}

/* The dates of a multi-day booking, each with its time. Tap one to change it. */
.bp__days {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: -8px;
}

.day-chip {
  display: grid;
  gap: 1px;
  padding: 6px 12px 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--ink);
  text-align: left;
  font-size: 0.8rem;
  line-height: 1.25;
}

.day-chip strong {
  font-weight: 650;
}

.day-chip span {
  font-size: 0.74rem;
  color: var(--muted);
}

button.day-chip {
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

button.day-chip:hover {
  border-color: var(--ink);
}

.day-chip.is-own span {
  color: var(--brand-700);
  font-weight: 650;
}

.day-chip.is-missing {
  border-color: var(--gold);
  background: var(--amber-50);
}

.day-chip.is-missing span {
  color: var(--amber-700);
}

.day-chip.is-on {
  border-color: var(--ink);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--ink);
}

/* The time for one date of a multi-day booking */
.bp__day {
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: #fff;
}

.bp__day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price-box__row small {
  color: var(--muted);
  font-size: 0.82rem;
}

.price-box__row s {
  margin-right: 6px;
  color: var(--muted);
  font-weight: 400;
}

.price-box__fine span {
  flex: 1;
}

.bk__dates {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.bk__amount {
  display: grid;
  justify-items: end;
  line-height: 1.2;
}

.bk__incl {
  font-size: 0.74rem;
  color: var(--muted);
  white-space: nowrap;
}

/* "· full day RM700" stays in one piece. inline-block lets it move to the next line
   whole: there is no space between "hour" and the note to break at. */
.hero__prices small {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

/* By the hour / Full day switch, and the full-day summary */
.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--bg-sunk);
}

.seg__btn {
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 650;
  font-size: 0.9rem;
  color: var(--ink-2);
  transition: background 0.15s, color 0.15s;
}

.seg__btn.is-on {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.seg__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.bp__full {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--r);
  background: var(--brand-50);
  color: var(--brand-700);
}

.bp__full div {
  display: grid;
}

.bp__full span {
  font-size: 0.85rem;
  color: var(--ink-2);
}

.note--info span {
  flex: 1;
}

/* Company address in the footer */
.site-footer__grid a.site-footer__address {
  align-items: flex-start;
  margin-top: 4px;
}

.site-footer__address .icon {
  margin-top: 3px;
}

.site-footer__address address {
  font-style: normal;
  white-space: pre-line;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .site-footer__contact {
    grid-column: 1 / -1;
  }
}
