/* ==========================================================================
   Glammis Homes — black, white, one thing at a time.

   The whole interface is black. Type is white. Every major section is a
   full-height panel holding a single focal element, so the page reads as a
   sequence rather than a grid of competing parts.

   Colour comes only from photography.

    1. Tokens        2. Reset         3. Layout/panels  4. Typography
    5. Buttons       6. Forms         7. Header/nav     8. Hero
    9. Cards        10. Listings     11. Property      12. Application
   13. Admin        14. Footer       15. Utilities     16. Print
   ========================================================================== */

/* 1. TOKENS ================================================================ */

:root {
  /* Surfaces */
  --paper: #000000;
  --sand-50: #080808;
  --sand-100: #111111;
  --sand-200: #1c1c1c;

  /* Type — the ink scale runs from brightest to dimmest */
  --ink-900: #ffffff;
  --ink-800: #ededed;
  --ink-700: #dcdcdc;
  --ink-600: #c2c2c2;
  --ink-500: #9a9a9a;
  --ink-400: #8a8a8a;
  --ink-300: #6e6e6e;
  --ink-200: #2a2a2a;

  /* Rules */
  --line: #232323;
  --line-soft: #191919;
  --line-strong: #3a3a3a;

  /* Inverted surfaces: white block, black type */
  --solid: #ffffff;
  --solid-hover: #dcdcdc;
  --solid-fg: #000000;
  --focus: #ffffff;

  --danger-fg: #ffffff;
  --danger-line: #ffffff;
  --danger-bg: #121212;
  --note-bg: #0e0e0e;
  --note-fg: #dcdcdc;
  --note-line: #2a2a2a;

  /* Shape */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 10px;
  --r-xl: 12px;
  --r-pill: 999px;

  /* Elevation is mostly unnecessary on black — keep it minimal */
  --sh-xs: 0 1px 2px rgba(0, 0, 0, .6);
  --sh-sm: 0 2px 8px rgba(0, 0, 0, .55);
  --sh-md: 0 8px 30px rgba(0, 0, 0, .6);
  --sh-lg: 0 20px 60px rgba(0, 0, 0, .7);
  --sh-xl: 0 30px 90px rgba(0, 0, 0, .8);

  /* Type */
  --font-sans: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Metrics */
  --container: 1240px;
  --gutter: 22px;
  --section-y: 96px;
  --header-h: 72px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .22s;
}

@media (min-width: 700px) {
  :root { --gutter: 40px; --section-y: 120px; }
}

/* 2. RESET ================================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  background: #000;
}

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

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

.icon {
  display: inline-block;
  vertical-align: middle;
  flex: none;
  width: 1.15em;
  height: 1.15em;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 .45em;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.028em;
  color: var(--ink-900);
}

h1 { font-size: clamp(2.4rem, 7vw, 5rem); font-weight: 700; letter-spacing: -.04em; }
h2 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); }
h4 { font-size: 1.05rem; font-family: var(--font-sans); font-weight: 650; letter-spacing: -.01em; }

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

a { color: var(--ink-900); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink-600); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }

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

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

::selection { background: #ffffff; color: #000000; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: #fff; color: #000; padding: 12px 20px;
  font-weight: 650;
}
.skip-link:focus { left: 0; color: #000; }

.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;
}

/* 3. LAYOUT AND PANELS ===================================================== */

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 760px; }
.wrap--wide { max-width: 1440px; }

/* A panel is one idea, one screen. */
.panel {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: clamp(72px, 12vh, 140px);
  border-top: 1px solid var(--line);
}
.panel--center { text-align: center; }
.panel--center .wrap { display: flex; flex-direction: column; align-items: center; }
.panel--flush { padding: 0; align-items: stretch; min-height: 0; }
.panel--tall { align-items: stretch; }

/* Content blocks that are not full panels */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: 64px; }
.section--line { border-top: 1px solid var(--line); }

.stack > * + * { margin-top: var(--stack-gap, 16px); }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

.split { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr .95fr; gap: 72px; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-500); font-size: 1.08rem; margin-bottom: 0; }
.section-head--row {
  display: flex; flex-wrap: wrap; gap: 20px;
  align-items: flex-end; justify-content: space-between;
  max-width: none;
}

/* 4. TYPOGRAPHY HELPERS ==================================================== */

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px;
  background: var(--ink-900);
}

.lede { font-size: clamp(1.1rem, 1.9vw, 1.4rem); color: var(--ink-500); line-height: 1.55; }
.muted { color: var(--ink-400); }
.small { font-size: .875rem; }
.tiny { font-size: .78rem; }
.strong { font-weight: 650; color: var(--ink-900); }
.text-center { text-align: center; }
.prose p, .prose ul { color: var(--ink-600); }
.prose h3 { margin-top: 1.8em; }
.nowrap { white-space: nowrap; }

/* A single large statement — the whole point of a panel */
.statement {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.9rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -.03em;
  color: var(--ink-900);
  margin: 0;
}
.statement em { font-style: normal; color: var(--ink-400); }

/* 5. BUTTONS =============================================================== */

.btn {
  --btn-bg: var(--solid);
  --btn-fg: var(--solid-fg);
  --btn-border: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  min-height: 52px;
  font-family: var(--font-sans);
  font-size: .95rem; font-weight: 600; line-height: 1.2;
  letter-spacing: -.005em;
  text-align: center; text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: opacity var(--dur) var(--ease), background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), color var(--dur) var(--ease);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--btn-fg); opacity: .82; }
.btn:active { opacity: 1; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .35; pointer-events: none; }

.btn--primary { --btn-bg: var(--solid); --btn-fg: var(--solid-fg); }
.btn--light { --btn-bg: var(--solid); --btn-fg: var(--solid-fg); }
.btn--dark { --btn-bg: var(--solid); --btn-fg: var(--solid-fg); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink-900);
  --btn-border: var(--line-strong);
}
.btn--ghost:hover { --btn-border: var(--ink-900); opacity: 1; }

.btn--quiet {
  --btn-bg: transparent; --btn-fg: var(--ink-900); --btn-border: transparent;
  padding-inline: 4px; min-height: 40px;
}
.btn--quiet:hover { opacity: .7; }

.btn--on-dark {
  --btn-bg: transparent; --btn-fg: #fff; --btn-border: var(--line-strong);
}
.btn--on-dark:hover { --btn-border: #fff; opacity: 1; }

.btn--sm { padding: 10px 18px; min-height: 40px; font-size: .85rem; }
.btn--lg { padding: 18px 34px; min-height: 58px; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

.btn__icon { width: 17px; height: 17px; flex: none; }
.btn--lg .btn__icon { width: 19px; height: 19px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* A plain text link with an arrow, for quieter actions */
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .95rem; font-weight: 600; color: var(--ink-900);
  text-decoration: none; border-bottom: 1px solid var(--ink-900); padding-bottom: 3px;
}
.text-link:hover { color: var(--ink-500); border-color: var(--ink-500); }
.text-link .icon { width: 16px; height: 16px; }

/* 6. FORMS ================================================================= */

.field { display: block; margin-bottom: 22px; }

.label, .field > label, .field > .label {
  display: block;
  font-size: .78rem; font-weight: 650;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 9px;
}
.label .req, .field .req { color: var(--ink-900); margin-left: 3px; }
.label .opt { color: var(--ink-300); font-weight: 500; font-size: .72rem; margin-left: 6px; text-transform: none; letter-spacing: 0; }

.input, .select, .textarea {
  display: block; width: 100%;
  padding: 14px 0;
  min-height: 52px;
  font-family: inherit; font-size: 1.05rem; line-height: 1.4;
  color: var(--ink-900);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  transition: border-color var(--dur) var(--ease);
  appearance: none;
}
.textarea { min-height: 110px; resize: vertical; line-height: 1.55; padding-top: 12px; }
.input::placeholder, .textarea::placeholder { color: var(--ink-300); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-500); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--ink-900);
}

.select {
  padding-right: 30px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 18px;
  cursor: pointer;
}
.select option { background: #111; color: #fff; }

.input[type="date"] { color-scheme: dark; }

.field--error .input, .field--error .select, .field--error .textarea {
  border-color: #fff;
  border-bottom-width: 2px;
}
.field--error .input:focus, .field--error .select:focus, .field--error .textarea:focus {
  border-color: #fff;
}

.help { display: block; font-size: .82rem; color: var(--ink-400); margin-top: 9px; line-height: 1.5; }
.error-msg { display: none; font-size: .82rem; font-weight: 650; color: var(--ink-900); margin-top: 8px; }
.field--error .error-msg { display: block; }
.field--error .error-msg::before { content: "! "; }

.form-grid { display: grid; gap: 0 32px; grid-template-columns: 1fr; }
@media (min-width: 620px) {
  .form-grid--2 { grid-template-columns: 1fr 1fr; }
  .form-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .form-grid--2 > .span-2, .form-grid--3 > .span-2 { grid-column: 1 / -1; }
  .form-grid--3 > .span-3 { grid-column: 1 / -1; }
}

.check {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease);
  margin-bottom: 0;
}
.check:hover { border-color: var(--line-strong); }
.check input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; accent-color: #fff; cursor: pointer; }
.check__text { font-size: .95rem; line-height: 1.55; color: var(--ink-600); }
.check__text b { color: var(--ink-900); font-weight: 650; }
.check--plain { border: 0; padding: 0; }
.check--error { border-color: #fff; }

.radio-cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-bottom: 22px; }
.radio-card {
  position: relative; display: block; padding: 16px 16px 16px 46px;
  border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: transparent; cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.radio-card:hover { border-color: var(--ink-500); }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card::before {
  content: ""; position: absolute; left: 16px; top: 19px;
  width: 16px; height: 16px; border-radius: 50%;
  border: 1px solid var(--ink-300); background: transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.radio-card:has(input:checked) { border-color: var(--ink-900); background: #0d0d0d; }
.radio-card:has(input:checked)::before { border-color: #fff; box-shadow: inset 0 0 0 4px #fff; }
.radio-card:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.radio-card__title { display: block; font-weight: 650; color: var(--ink-900); font-size: .95rem; }
.radio-card__desc { display: block; font-size: .82rem; color: var(--ink-400); line-height: 1.45; }

.form-note {
  padding: 18px 20px; border-radius: var(--r-md);
  background: var(--note-bg); border: 1px solid var(--note-line);
  border-left: 2px solid var(--ink-900);
  color: var(--note-fg); font-size: .9rem; line-height: 1.55;
}
.form-note--warn { border-left-color: #fff; }

fieldset { border: 0; padding: 0; margin: 0 0 8px; }
legend { padding: 0; }

/* 7. HEADER / NAV ========================================================== */

/* The header is injected into a wrapper div. A sticky element only sticks
   inside its containing block, and that wrapper is exactly as tall as the
   header — so the wrapper itself has to be the sticky element. */
[data-gh-header] {
  position: sticky;
  top: 0;
  z-index: 80;
}

.site-header {
  position: relative;
  background: rgba(0, 0, 0, .82);
  backdrop-filter: saturate(100%) blur(16px);
  -webkit-backdrop-filter: saturate(100%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); background: rgba(0, 0, 0, .94); }

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

.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand__logo { display: block; height: 26px; width: auto; max-width: 100%; }
@media (min-width: 700px) { .brand__logo { height: 30px; } }

.nav__links { display: none; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 940px) { .nav__links { display: flex; } }
.nav__links li { margin: 0; }
.nav__link {
  display: block; padding: 8px 14px;
  font-size: .88rem; font-weight: 500;
  color: var(--ink-500); text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.nav__link:hover { color: var(--ink-900); }
.nav__link[aria-current="page"] { color: var(--ink-900); }

.nav__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.nav__actions .btn--apply { display: none; }
@media (min-width: 620px) { .nav__actions .btn--apply { display: inline-flex; } }
.nav__actions .btn { padding: 10px 20px; min-height: 40px; font-size: .85rem; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  cursor: pointer; color: var(--ink-900);
}
.nav-toggle:hover { border-color: var(--ink-900); }
.nav-toggle .icon { width: 20px; height: 20px; }
@media (min-width: 940px) { .nav-toggle { display: none; } }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.mobile-menu { display: none; border-top: 1px solid var(--line); background: #000; padding: 8px 0 24px; }
.mobile-menu.is-open { display: block; }
@media (min-width: 940px) { .mobile-menu.is-open { display: none; } }
.mobile-menu ul { list-style: none; margin: 0 0 18px; padding: 0; }
.mobile-menu li { margin: 0; }
/* Plain menu links only — the apply button keeps its own colours and padding,
   otherwise the white pill gets white text and becomes unreadable. */
.mobile-menu a:not(.btn) {
  display: block; padding: 16px 2px;
  font-size: 1.15rem; font-weight: 500; color: var(--ink-700); text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:not(.btn):hover { color: #fff; }
.mobile-menu .btn { margin-top: 8px; }

.breadcrumb { font-size: .82rem; color: var(--ink-400); margin-bottom: 24px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: 10px; }
.breadcrumb li + li::before { content: "/"; color: var(--ink-300); }
.breadcrumb a { color: var(--ink-500); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* 8. HERO ================================================================== */

/* Panel one is pure black with type only — no image competing for attention. */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: clamp(80px, 14vh, 160px);
  background: #000;
}
.hero__copy { max-width: 900px; }
.hero h1 { color: #fff; margin-bottom: 32px; }
.hero h1 em { font-style: normal; color: var(--ink-500); }
.hero__lede { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--ink-500); max-width: 54ch; margin-bottom: 44px; }

.hero__foot {
  display: flex; flex-wrap: wrap; gap: 20px 40px;
  align-items: center; justify-content: space-between;
  margin-top: 64px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero__meta { font-size: .84rem; color: var(--ink-400); letter-spacing: .02em; }

.scroll-hint {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 650; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-400); text-decoration: none;
}
.scroll-hint .icon { width: 16px; height: 16px; animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

.page-head {
  padding-block: clamp(64px, 12vh, 120px) 48px;
  border-bottom: 1px solid var(--line);
}
.page-head h1 { margin-bottom: 20px; }
.page-head p { color: var(--ink-500); max-width: 60ch; font-size: 1.05rem; margin-bottom: 0; }

/* 9. CARDS ================================================================= */

.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}
.card:hover { border-color: var(--line-strong); }
.card__link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.card__link:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.card__media { position: relative; aspect-ratio: 16 / 10; background: var(--sand-100); overflow: hidden; }
/* Direct children only — .card__media also contains badges and the featured
   flag, and those must not inherit the full-bleed image sizing. */
.card__media > img, .card__media > svg { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media > img, .card:hover .card__media > svg { transform: scale(1.03); }

.card__badges { position: absolute; top: 18px; left: 18px; z-index: 3; display: flex; flex-wrap: wrap; gap: 8px; }
.card__fav {
  position: absolute; top: 18px; right: 18px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: rgba(0, 0, 0, .7); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(8px);
}
.card__fav .icon { width: 13px; height: 13px; }

.card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card__price { display: flex; align-items: baseline; gap: 7px; margin-bottom: 10px; }
.card__price b { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--ink-900); letter-spacing: -.03em; }
.card__price span { font-size: .85rem; color: var(--ink-400); }
/* When a listing has no published rent we say so rather than showing "$0" */
.card__price-quiet { font-size: 1.15rem; font-weight: 600; color: var(--ink-500); letter-spacing: -.01em; }
.card__title { font-size: 1.2rem; margin-bottom: 8px; }
.card__title a { color: inherit; text-decoration: none; }
.card__addr { font-size: .88rem; color: var(--ink-400); display: flex; align-items: flex-start; gap: 7px; margin-bottom: 18px; }
.card__addr .icon { width: 14px; height: 14px; margin-top: 3px; flex: none; }

.card--muted .card__media { filter: grayscale(1); opacity: .55; }

.meta {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.meta__item { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--ink-500); }
.meta__item .icon { width: 16px; height: 16px; color: var(--ink-400); flex: none; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.chip {
  display: inline-flex; align-items: center;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: transparent; border: 1px solid var(--line-strong); color: var(--ink-500);
  font-size: .76rem; font-weight: 500;
}
.chip--strong { background: var(--solid); border-color: var(--solid); color: var(--solid-fg); }
.chip--muted { background: transparent; border-color: var(--line); color: var(--ink-400); }

.card__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.card__foot .btn { flex: none; }
.card__avail { flex: 1 1 auto; min-width: 0; font-size: .82rem; color: var(--ink-400); }
.card__avail b { display: block; color: var(--ink-800); font-size: .88rem; font-weight: 650; }

/* --- Full-panel variant: one property, one screen ------------------------ */

.card--panel {
  display: block;
  width: 100%;
  /* Exactly the screen below the sticky header, so one property = one view. */
  min-height: calc(100svh - var(--header-h));
  border: 0;
  border-radius: 0;
  background: #000;
  overflow: hidden;
}
.card--panel .card__media { position: absolute; inset: 0; aspect-ratio: auto; }
.card--panel .card__media > img,
.card--panel .card__media > svg { width: 100%; height: 100%; object-fit: cover; }
.card--panel:hover .card__media > img { transform: none; }
.card--panel .card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top,
    #000 0%, rgba(0, 0, 0, .96) 30%, rgba(0, 0, 0, .78) 52%,
    rgba(0, 0, 0, .34) 76%, rgba(0, 0, 0, .55) 100%);
}
.card--panel .card__badges { top: clamp(24px, 4vw, 48px); left: clamp(22px, 5vw, 64px); }
.card--panel .card__fav { top: clamp(24px, 4vw, 48px); right: clamp(22px, 5vw, 64px); }

/* Pin the copy to the bottom of the panel. Using absolute positioning rather
   than a flex column with min-height keeps it anchored no matter how tall the
   viewport is or how the panel gets its height. */
.card--panel .card__body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  padding: clamp(28px, 6vw, 72px);
  max-width: 940px;
  background: none;
}
.card--panel .card__price b { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.card--panel .card__price .card__price-quiet { font-size: clamp(1.25rem, 2.6vw, 1.75rem); color: var(--ink-600); }
.card--panel .card__title { font-size: clamp(1.7rem, 4vw, 2.9rem); letter-spacing: -.035em; line-height: 1.06; margin-bottom: 12px; }
.card--panel .card__addr { font-size: .95rem; margin-bottom: 22px; }
.card--panel .meta { border-color: rgba(255, 255, 255, .2); gap: 10px 26px; }
.card--panel .meta__item { color: var(--ink-600); }
.card--panel .meta__item .icon { color: var(--ink-400); }
.card--panel .chip { border-color: rgba(255, 255, 255, .28); color: var(--ink-600); }
.card--panel .card__avail { color: var(--ink-400); }
.card--panel .card__avail b { color: #fff; }
.card--panel .card__foot { gap: 20px; }

/* 10. STATUS BADGES ======================================================== */

.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: var(--r-pill);
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid transparent; white-space: nowrap;
}
.badge .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex: none; }
.badge--available   { background: var(--solid); color: var(--solid-fg); border-color: var(--solid); }
.badge--pending     { background: transparent; color: #fff; border-color: #fff; }
.badge--coming-soon { background: transparent; color: var(--ink-400); border-color: var(--line-strong); }
.badge--rented      { background: transparent; color: var(--ink-300); border-color: transparent; }
.badge--solid       { background: var(--solid); color: var(--solid-fg); }

/* 11. TILES / STATS / PROCESS / FAQ ======================================== */

.tile { padding: 0; border: 0; }
.tile__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: #fff; margin-bottom: 20px;
}
.tile__icon .icon { width: 19px; height: 19px; }
.tile h3 { font-size: 1.1rem; font-family: var(--font-sans); font-weight: 650; letter-spacing: -.015em; margin-bottom: 10px; }
.tile p { font-size: .93rem; color: var(--ink-400); margin: 0; }

.stat-tile { text-align: left; }
.stat-tile b { display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: #fff; line-height: 1; letter-spacing: -.03em; }
.stat-tile span { font-size: .8rem; color: var(--ink-400); letter-spacing: .04em; }

/* Numbered process list — one topic, no cards */
.process { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.process li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  margin: 0;
}
.process li:last-child { border-bottom: 1px solid var(--line); }
.process li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: .95rem; font-weight: 600;
  color: var(--ink-400);
  letter-spacing: .04em;
  padding-top: 4px;
}
.process h3 { font-size: 1.15rem; font-family: var(--font-sans); font-weight: 650; letter-spacing: -.015em; margin-bottom: 8px; }
.process p { font-size: .95rem; color: var(--ink-400); margin: 0; max-width: 58ch; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-sans); font-size: 1.05rem; font-weight: 550; color: var(--ink-900);
}
.faq__q:hover { color: var(--ink-500); }
.faq__chev { flex: none; width: 18px; height: 18px; color: var(--ink-400); transition: transform var(--dur) var(--ease); }
.faq__q[aria-expanded="true"] .faq__chev { transform: rotate(180deg); }
.faq__a { display: none; padding: 0 0 28px; color: var(--ink-500); font-size: .95rem; max-width: 62ch; }
.faq__a.is-open { display: block; }

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; padding: 11px 0; font-size: .95rem; color: var(--ink-500); }
.ticks .icon { width: 18px; height: 18px; flex: none; color: var(--ink-400); margin-top: 3px; }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); background: transparent;
  font-size: .85rem; font-weight: 500; color: var(--ink-500);
  cursor: pointer; transition: all var(--dur) var(--ease); text-decoration: none;
}
.pill:hover { border-color: var(--ink-500); color: #fff; }
.pill[aria-pressed="true"], .pill.is-active { background: var(--solid); border-color: var(--solid); color: var(--solid-fg); }

/* 12. LISTINGS TOOLBAR ===================================================== */

.toolbar {
  position: sticky; top: var(--header-h); z-index: 60;
  background: rgba(0, 0, 0, .9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding-block: 16px;
}
.toolbar__inner { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.toolbar__count { font-size: .82rem; color: var(--ink-400); letter-spacing: .04em; }
.toolbar__count b { color: #fff; font-weight: 650; }
.toolbar__controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; flex: 1 1 auto; justify-content: flex-end; }
.toolbar .select, .toolbar .input { min-height: 40px; padding-block: 6px; font-size: .85rem; width: auto; }
.toolbar__search { flex: 0 1 240px; min-width: 160px; }
@media (max-width: 760px) {
  .toolbar__inner { align-items: stretch; }
  .toolbar__controls { width: 100%; }
  .toolbar__search { flex: 1 1 100%; }
  .toolbar__controls .select { flex: 1 1 auto; min-width: 0; }
}

.filter-panel { display: none; padding: 30px 0 26px; border-bottom: 1px solid var(--line); }
.filter-panel.is-open { display: block; }
.filter-panel__grid { display: grid; gap: 26px 32px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.filter-panel .field { margin-bottom: 0; }
.filter-panel__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }

.results { padding-block: 0 0; }
/* One property per screen */
.results__grid { display: block; }
.results--cards .results__grid {
  padding-block: 48px 96px;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.empty-state {
  text-align: center; padding: 120px 26px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.empty-state .icon { width: 40px; height: 40px; color: var(--ink-300); margin: 0 auto 24px; }
.empty-state h3 { margin-bottom: 12px; }
.empty-state p { color: var(--ink-400); max-width: 44ch; margin-inline: auto; }

.skeleton {
  background: linear-gradient(100deg, #0d0d0d 30%, #161616 50%, #0d0d0d 70%);
  background-size: 220% 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: var(--r-sm);
}
@keyframes shimmer { to { background-position: -220% 0; } }

/* 13. PROPERTY DETAIL ====================================================== */

.gallery { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .gallery--multi { grid-template-columns: 2fr 1fr; } }
.gallery__main { position: relative; border-radius: 0; overflow: hidden; aspect-ratio: 16 / 10; background: var(--sand-100); }
.gallery__main img, .gallery__main svg { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
@media (min-width: 760px) { .gallery--multi .gallery__thumbs { grid-template-columns: 1fr; } }
/* With a large set, the sidebar strip would run for pages — go full width and
   lay the thumbnails out in a responsive row underneath instead. */
.gallery--many { grid-template-columns: 1fr; }
.gallery--many .gallery__thumbs { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.gallery__thumb {
  padding: 0; border: 1px solid transparent;
  overflow: hidden; background: var(--sand-100); cursor: pointer;
  aspect-ratio: 16 / 10; opacity: .5;
  transition: opacity var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.gallery__thumb img, .gallery__thumb svg { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: .8; }
.gallery__thumb[aria-current="true"] { opacity: 1; border-color: #fff; }

.detail-grid { display: grid; gap: 56px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 980px) { .detail-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; } }

.detail-header { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.detail-price { display: flex; align-items: baseline; gap: 9px; }
.detail-price b { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.7rem); color: #fff; letter-spacing: -.035em; line-height: 1; }
.detail-price span { color: var(--ink-400); font-size: .9rem; }

.spec-grid {
  display: flex; flex-wrap: wrap; gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  margin: 32px 0;
}
.spec { flex: 1 1 140px; min-width: 0; background: #000; padding: 20px 22px; }
.spec dt { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 8px; }
.spec dd { margin: 0; font-size: 1rem; font-weight: 550; color: #fff; }

.sidebar-card { position: sticky; top: calc(var(--header-h) + 28px); border-top: 1px solid var(--line-strong); }
.sidebar-card__head { padding: 24px 0; border-bottom: 1px solid var(--line); }
.sidebar-card__body { padding: 26px 0; }
.sidebar-card__body .btn + .btn { margin-top: 12px; }
@media (max-width: 979px) { .sidebar-card { position: static; } }

.contact-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .9rem; text-decoration: none; color: var(--ink-500); }
.contact-row:last-of-type { border-bottom: 0; }
.contact-row:hover { color: #fff; }
.contact-row .icon { width: 17px; height: 17px; color: var(--ink-400); flex: none; }
.contact-row b { display: block; font-weight: 600; color: var(--ink-800); }
.contact-row span { font-size: .76rem; color: var(--ink-400); }

/* 14. APPLICATION ========================================================== */

.apply-layout { display: grid; gap: 56px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) { .apply-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 80px; } }

/* The one-screen application form */
.apply-form { max-width: 520px; margin: 56px auto 0; text-align: left; }
.apply-done { max-width: 520px; margin: 56px auto 0; text-align: center; }
.apply-done > .icon { width: 42px; height: 42px; margin: 0 auto 24px; color: #fff; }
.apply-done h2 { margin-bottom: 14px; }
.apply-done p { color: var(--ink-400); }

.wizard { border: 1px solid var(--line); border-radius: var(--r-lg); background: #000; overflow: hidden; }
.wizard__progress { padding: 26px 32px; border-bottom: 1px solid var(--line); }
.wizard__steps { display: flex; flex-wrap: wrap; gap: 10px 14px; list-style: none; margin: 0; padding: 0; }
.wizard__step { display: flex; align-items: center; gap: 9px; font-size: .78rem; color: var(--ink-300); font-weight: 500; }
.wizard__step b {
  display: grid; place-items: center; flex: none;
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: .7rem; font-weight: 700; color: var(--ink-400);
}
.wizard__step[data-state="current"] { color: #fff; }
.wizard__step[data-state="current"] b { background: var(--solid); border-color: var(--solid); color: var(--solid-fg); }
.wizard__step[data-state="done"] { color: var(--ink-500); }
.wizard__step[data-state="done"] b { background: transparent; border-color: var(--ink-500); color: #fff; }
.wizard__step:not(:last-child)::after { content: ""; width: 12px; height: 1px; background: var(--line-strong); margin-left: 2px; }

.wizard__bar { height: 1px; background: var(--line); }
.wizard__bar span { display: block; height: 100%; width: 0; background: #fff; transition: width .4s var(--ease); }

.wizard__panel { display: none; padding: 40px 32px; }
@media (min-width: 700px) { .wizard__panel { padding: 56px 48px; } }
.wizard__panel.is-active { display: block; }
.wizard__panel h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 10px; }
.wizard__panel > .step-intro { color: var(--ink-400); font-size: .95rem; margin-bottom: 40px; }

.wizard__nav {
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between;
  padding: 24px 32px; border-top: 1px solid var(--line);
}
@media (min-width: 700px) { .wizard__nav { padding: 24px 48px; } }
.wizard__nav-right { display: flex; gap: 14px; margin-left: auto; }

.review-list { list-style: none; padding: 0; margin: 0 0 28px; }
.review-list li { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .review-list li { grid-template-columns: 200px 1fr; gap: 20px; align-items: baseline; } }
.review-list dt, .review-list .rv-label { font-size: .78rem; color: var(--ink-400); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.review-list dd, .review-list .rv-value { margin: 0; font-size: .95rem; color: var(--ink-800); }
.review-group { margin-bottom: 34px; }
.review-group__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 8px; }
.review-group__head h3 { font-size: .74rem; font-family: var(--font-sans); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-400); margin: 0; }

.alert { display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: #080808; color: var(--ink-600); margin-bottom: 22px; font-size: .9rem; }
.alert .icon { width: 20px; height: 20px; flex: none; margin-top: 2px; color: #fff; }
.alert h4 { margin: 0 0 6px; font-size: .95rem; color: #fff; }
.alert p { margin: 0; }
.alert--ok, .alert--info { border-color: var(--line-strong); }
.alert--warn { border-color: #fff; }
.alert--danger { border-color: #fff; background: #0d0d0d; }
.alert a { color: #fff; }

.success-panel { text-align: center; padding: 72px 32px; }
.success-panel__mark {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 28px;
  background: var(--solid); color: var(--solid-fg);
}
.success-panel__mark .icon { width: 30px; height: 30px; }
.success-panel h2 { margin-bottom: 14px; }
.success-panel p { color: var(--ink-400); max-width: 50ch; margin-inline: auto; }

.summary-box {
  font-family: var(--font-mono); font-size: .76rem; line-height: 1.7;
  white-space: pre-wrap; word-break: break-word;
  background: #080808; border: 1px solid var(--line);
  padding: 20px; max-height: 300px; overflow: auto;
  color: var(--ink-500); text-align: left;
}

/* 15. ADMIN ================================================================ */

.admin-bar { background: #0a0a0a; border-bottom: 1px solid var(--line); padding-block: 16px; }
.admin-bar .wrap { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.admin-bar__title { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #fff; font-size: .9rem; }
.admin-bar__title .icon { width: 18px; height: 18px; color: #fff; }
.admin-bar__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.admin-toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 28px; }

.admin-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.admin-table th {
  text-align: left; padding: 14px 14px;
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-400); border-bottom: 1px solid var(--line-strong); white-space: nowrap;
}
.admin-table td { padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table tr:hover td { background: #0a0a0a; }
.admin-table__thumb { width: 72px; height: 48px; object-fit: cover; background: var(--sand-100); }
.admin-table__title { font-weight: 600; color: #fff; display: block; }
.admin-table__slug { font-size: .72rem; color: var(--ink-300); font-family: var(--font-mono); }
.admin-table__actions { display: flex; gap: 6px; justify-content: flex-end; }
.table-scroll { overflow-x: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; padding: 0;
  background: transparent; border: 1px solid var(--line-strong);
  color: var(--ink-500); cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.icon-btn:hover { border-color: #fff; color: #fff; }
.icon-btn--danger:hover { background: #fff; border-color: #fff; color: #000; }
.icon-btn .icon { width: 15px; height: 15px; }

.editor-panel { border: 1px solid var(--line); background: #000; padding: 32px; margin-bottom: 32px; }
@media (min-width: 700px) { .editor-panel { padding: 44px 48px; } }
.editor-section { padding-block: 34px; border-top: 1px solid var(--line); }
.editor-section:first-of-type { border-top: 0; padding-top: 8px; }
.editor-section > h3 { font-size: .72rem; font-family: var(--font-sans); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 26px; }

.repeat-row { display: grid; gap: 12px; grid-template-columns: 1fr auto; align-items: start; margin-bottom: 12px; }
.repeat-row .btn { min-height: 52px; }

dialog.dlg {
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100vh - 64px);
  padding: 0; border: 1px solid var(--line-strong);
  background: #000; color: var(--ink-600); overflow: auto;
}
dialog.dlg::backdrop { background: rgba(0, 0, 0, .8); backdrop-filter: blur(4px); }
.dlg__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 28px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #000; z-index: 2; }
.dlg__head h2 { font-size: 1.2rem; margin: 0; }
.dlg__body { padding: 28px; }
.dlg__foot { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; padding: 22px 28px; border-top: 1px solid var(--line); background: #080808; position: sticky; bottom: 0; }
.dlg--wide { width: min(1000px, calc(100vw - 32px)); }

.toast-host { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-radius: var(--r-pill);
  background: #fff; color: #000; font-size: .88rem; font-weight: 550;
  pointer-events: auto;
  animation: toastIn .28s var(--ease);
  max-width: min(420px, calc(100vw - 40px));
}
.toast .icon { width: 18px; height: 18px; flex: none; color: #000; }
.toast.is-out { animation: toastOut .26s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* 16. FOOTER =============================================================== */

.site-footer { border-top: 1px solid var(--line); padding-block: 80px 36px; font-size: .9rem; }
.footer-grid { display: grid; gap: 48px; grid-template-columns: 1fr; margin-bottom: 64px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1.1fr; } }
.site-footer h4 { color: var(--ink-400); font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 22px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 12px; }
.site-footer a { color: var(--ink-500); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-about .brand { margin-bottom: 20px; }
.footer-about p { color: var(--ink-400); font-size: .9rem; line-height: 1.7; max-width: 36ch; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { width: 16px; height: 16px; color: var(--ink-300); flex: none; margin-top: 5px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 14px 28px;
  align-items: center; justify-content: space-between;
  padding-top: 28px; border-top: 1px solid var(--line);
  font-size: .78rem; color: var(--ink-300);
}
.footer-bottom__links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  display: grid; place-items: center; width: 36px; height: 36px;
  border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink-400);
}
.footer-social a:hover { background: #fff; color: #000; border-color: #fff; }
.footer-social .icon { width: 16px; height: 16px; }

/* 17. UTILITIES ============================================================ */

.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 40px; }
.hidden, [hidden] { display: none !important; }
.full { width: 100%; }
.flex-between { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }

.no-js-note {
  display: none;
  padding: 16px 20px; margin: 0 0 24px;
  border: 1px solid var(--line-strong); border-left: 2px solid #fff;
  color: var(--ink-600); font-size: .9rem;
}
html.no-js .no-js-note { display: block; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .scroll-hint .icon { animation: none; }
}

/* 18. PRINT ================================================================ */

@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .toolbar, .wizard__nav, .no-print, .toast-host { display: none !important; }
  body { font-size: 11.5pt; }
  .wizard { border: 0; }
  .wizard__panel { display: block !important; padding: 0 !important; page-break-inside: avoid; }
  .wizard__progress, .wizard__bar { display: none; }
  a { color: #000; text-decoration: none; }
  .summary-box { max-height: none; border: 1px solid #999; background: #fff; color: #000; }
  .apply-layout { display: block; }
  h1, h2, h3, .statement { color: #000; }
}
