/* ---- web/styles/tokens.css ---- */
/* Design tokens: the single source of truth for colours, type, radii, shadows,
   motion and layout. Component CSS uses these custom properties only, never raw
   colour values. Values come from the approved mockup (direction "A · Culori noi")
   as rendered. */

:root {
  /* ---------------------------------------------------------------- palette */
  --navy-900: #18303d;   /* deepest: owner band, footer */
  --navy-800: #1f3b4a;   /* page background */
  --navy-700: #244559;   /* raised section */
  --navy-600: #2c4d60;   /* surfaces: cards, tiles; graphite rules */
  --gold-500: #c2a77b;   /* champagne accent */
  --gold-400: #cfb88f;   /* lighter gold for text on surfaces */
  --gold-300: #d4bf9b;   /* button hover */
  --gold-700: #7a6544;   /* gold ink on ivory */
  --beige-300: #d9d0c2;
  --ivory-100: #f6f3ee;
  --white: #fff;
  --bluegray: #3a6476;   /* midpoint of the dark-to-ivory section transitions */
  --slate-500: #5a6268;  /* muted text on ivory */
  --slate-400: #7d858a;  /* placeholder on ivory */
  --red-300: #eaa3a3;
  --red-700: #9b2c2c;
  --green-300: #9cc7a8;
  --green-700: #2f5d46;

  /* Leftovers of the previous (anthracite) palette that the recolour missed.
     They are what the approved mockup renders, so they are kept on purpose. */
  --legacy-surface: #1d2830;
  --legacy-ink: #172027;     /* toast background */
  --legacy-ivory: #f4f0e8;   /* toast text */
  --legacy-hatch: #2a363e;   /* placeholder hatching, cinematic header placeholder */
  --legacy-sold: #121a1f;    /* sold units */
  --legacy-bld-top: #1f2b33; /* development facade gradient */
  --legacy-bld-bottom: #1a242b;
  --legacy-stack-1: #26323a; /* stacked development card edges */
  --legacy-stack-2: #212c33;
  --legacy-cell-focus: #3a4953; /* floating filter panel cells */
  --legacy-cell-hover: #38464f;

  /* Dark map (contact section, listing map) */
  --map-bg: var(--navy-800);
  --map-street: var(--navy-600);
  --map-street-minor: #2b373f;
  --map-river: #3c5866;
  --map-park: #1f2b2d;
  --map-river-label: #8eabb9;

  /* Alpha variants, named <base>-a<opacity %> */
  --gold-a06: rgba(194,167,123,.06);
  --gold-a07: rgba(194,167,123,.07);
  --gold-a10: rgba(194,167,123,.1);
  --gold-a12: rgba(194,167,123,.12);
  --gold-a14: rgba(194,167,123,.14);
  --gold-a16: rgba(194,167,123,.16);
  --gold-a18: rgba(194,167,123,.18);
  --gold-a22: rgba(194,167,123,.22);
  --gold-a24: rgba(194,167,123,.24);
  --gold-a25: rgba(194,167,123,.25);
  --gold-a26: rgba(194,167,123,.26);
  --gold-a28: rgba(194,167,123,.28);
  --gold-a30: rgba(194,167,123,.3);
  --gold-a32: rgba(194,167,123,.32);
  --gold-a35: rgba(194,167,123,.35);
  --gold-a38: rgba(194,167,123,.38);
  --gold-a40: rgba(194,167,123,.4);
  --gold-a42: rgba(194,167,123,.42);
  --gold-a45: rgba(194,167,123,.45);
  --gold-a50: rgba(194,167,123,.5);
  --gold-a55: rgba(194,167,123,.55);
  --gold-a60: rgba(194,167,123,.6);
  --gold-a70: rgba(194,167,123,.7);
  --gold-a75: rgba(194,167,123,.75);
  --gold-a80: rgba(194,167,123,.8);
  --gold-700-a30: rgba(122,101,68,.3);

  --beige-a05: rgba(217,208,194,.05);
  --beige-a06: rgba(217,208,194,.06);
  --beige-a07: rgba(217,208,194,.07);
  --beige-a08: rgba(217,208,194,.08);
  --beige-a10: rgba(217,208,194,.1);
  --beige-a12: rgba(217,208,194,.12);
  --beige-a13: rgba(217,208,194,.13);
  --beige-a14: rgba(217,208,194,.14);
  --beige-a16: rgba(217,208,194,.16);
  --beige-a18: rgba(217,208,194,.18);
  --beige-a20: rgba(217,208,194,.2);
  --beige-a22: rgba(217,208,194,.22);
  --beige-a28: rgba(217,208,194,.28);
  --beige-a32: rgba(217,208,194,.32);
  --beige-a38: rgba(217,208,194,.38);
  --beige-a40: rgba(217,208,194,.4);
  --beige-a42: rgba(217,208,194,.42);
  --beige-a45: rgba(217,208,194,.45);
  --beige-a50: rgba(217,208,194,.5);
  --beige-a55: rgba(217,208,194,.55);
  --beige-a60: rgba(217,208,194,.6);
  --beige-a62: rgba(217,208,194,.62);
  --beige-a70: rgba(217,208,194,.7);
  --beige-a78: rgba(217,208,194,.78);
  --beige-a80: rgba(217,208,194,.8);
  --beige-a82: rgba(217,208,194,.82);
  --beige-a85: rgba(217,208,194,.85);

  --ivory-a00: rgba(246,243,238,0);
  --ivory-a16: rgba(246,243,238,.16);
  --ivory-a20: rgba(246,243,238,.2);
  --ivory-a25: rgba(246,243,238,.25);
  --ivory-a30: rgba(246,243,238,.3);
  --ivory-a35: rgba(246,243,238,.35);
  --ivory-a42: rgba(246,243,238,.42);
  --ivory-a50: rgba(246,243,238,.5);
  --ivory-a78: rgba(246,243,238,.78);
  --ivory-a82: rgba(246,243,238,.82);
  --ivory-a86: rgba(246,243,238,.86);
  --ivory-a88: rgba(246,243,238,.88);
  --ivory-a90: rgba(246,243,238,.9);
  --ivory-a92: rgba(246,243,238,.92);

  --navy-800-a00: rgba(31,59,74,0);
  --navy-800-a12: rgba(31,59,74,.12);
  --navy-800-a14: rgba(31,59,74,.14);
  --navy-800-a18: rgba(31,59,74,.18);
  --navy-800-a28: rgba(31,59,74,.28);
  --navy-800-a30: rgba(31,59,74,.3);
  --navy-800-a32: rgba(31,59,74,.32);
  --navy-800-a38: rgba(31,59,74,.38);
  --navy-800-a50: rgba(31,59,74,.5);
  --navy-800-a55: rgba(31,59,74,.55);
  --navy-800-a60: rgba(31,59,74,.6);
  --navy-800-a66: rgba(31,59,74,.66);
  --navy-800-a72: rgba(31,59,74,.72);
  --navy-800-a74: rgba(31,59,74,.74);
  --navy-800-a82: rgba(31,59,74,.82);
  --navy-800-a85: rgba(31,59,74,.85);
  --navy-800-a90: rgba(31,59,74,.9);
  --navy-800-a92: rgba(31,59,74,.92);
  --navy-800-a96: rgba(31,59,74,.96);
  --navy-800-a97: rgba(31,59,74,.97);

  --navy-900-a00: rgba(24,48,61,0);
  --navy-900-a35: rgba(24,48,61,.35);
  --navy-900-a45: rgba(24,48,61,.45);
  --navy-900-a50: rgba(24,48,61,.5);
  --navy-900-a55: rgba(24,48,61,.55);
  --navy-900-a60: rgba(24,48,61,.6);
  --navy-900-a62: rgba(24,48,61,.62);
  --navy-900-a70: rgba(24,48,61,.7);
  --navy-900-a72: rgba(24,48,61,.72);
  --navy-900-a74: rgba(24,48,61,.74);
  --navy-900-a85: rgba(24,48,61,.85);
  --navy-900-a88: rgba(24,48,61,.88);
  --navy-900-a90: rgba(24,48,61,.9);
  --navy-900-a96: rgba(24,48,61,.96);
  --navy-950-a75: rgba(16,34,44,.75);

  --black-a30: rgba(0,0,0,.3);
  --black-a70: rgba(0,0,0,.7);
  --black-a80: rgba(0,0,0,.8);
  --black-a85: rgba(0,0,0,.85);
  --black-a90: rgba(0,0,0,.9);
  --legacy-surface-a96: rgba(29,40,48,.96); /* hero search card */

  /* -------------------------------------------------------- semantic colours
     Names follow the mockup's variables so its CSS maps 1:1. Sections and
     components may re-point them locally (e.g. .light, card overrides). */
  --bg: var(--navy-800);
  --bg-2: var(--navy-700);
  --surf: var(--navy-600);
  --deep: var(--navy-900);
  --beige: var(--beige-300);
  --navy: var(--navy-600);
  --navy-2: var(--navy-900);
  --ivory: var(--ivory-100);
  --paper: var(--navy-700);
  --champ: var(--beige-a18);
  --champ-soft: var(--navy-600);
  --gold: var(--gold-500);
  --gold-ink: var(--gold-500);
  --gold-hover: var(--gold-300);
  --ink: var(--ivory-100);
  --muted: var(--beige-a78);
  --rule: var(--beige-a14);
  --rule-strong: var(--beige-a42);
  --on-navy: var(--ivory-100);
  --on-navy-muted: var(--beige-a80);
  --err: var(--red-300);
  --ok: var(--green-300);

  /* On graphite surfaces (cards, tiles, panels) the mockup lightens gold text
     and muted text: */
  --surface-gold-ink: var(--gold-400);
  --surface-muted: var(--beige-a82);
  --surface-rule: var(--beige-a16);

  /* Form fields on dark backgrounds */
  --field-bg: var(--navy-900-a55);
  --field-border: var(--beige-a42);
  --field-placeholder: var(--beige-a55);
  --field-focus-ring: var(--gold-a38);

  /* Ivory ("light") sections re-point the semantic colours to these: */
  --light-ink: var(--navy-800);
  --light-muted: var(--slate-500);
  --light-gold-ink: var(--gold-700);
  --light-rule: var(--navy-800-a14);
  --light-rule-strong: var(--navy-800-a50);
  --light-err: var(--red-700);
  --light-ok: var(--green-700);
  --light-field-bg: var(--white);
  --light-field-border: var(--navy-800-a32);
  --light-field-placeholder: var(--slate-400);
  --light-field-focus-ring: var(--gold-700-a30);

  /* Header, toast, selection */
  --header-bg: var(--navy-800-a97);
  --toast-bg: var(--legacy-ink);
  --toast-fg: var(--legacy-ivory);
  --selection-bg: var(--gold-a40);

  /* ------------------------------------------------------------------ type */
  --disp: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ui: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fw-regular: 400;  /* also the "thin" display headings: the mockup asks for
                         Cormorant 300 but never loads it, so 400 is what renders */
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Recurring sizes */
  --text-body: 16px;
  --text-lede: 17px;
  --text-lead: 18px;     /* hero / page-hero paragraph */
  --text-md: 15px;
  --text-sm: 14px;
  --text-xs: 13px;
  --text-label: 10.5px;  /* small-caps labels, meta lines */
  --text-eyebrow: 11px;
  --text-nav: 13px;
  --text-button: 15px;
  --h1-hero: clamp(46px, 7vw, 104px);
  --h2-section: clamp(30px, 3.4vw, 46px);
  --h2-band: clamp(30px, 3.8vw, 50px);

  --lh-body: 1.6;
  --lh-h2: 1.12;

  /* Letter spacing of the uppercase UI labels */
  --track-eyebrow: .22em;
  --track-label: .18em;
  --track-nav: .14em;
  --track-h2: .075em;

  /* ----------------------------------------------------------------- shape */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 12px;
  --r-tile: 14px;
  --r: 18px;
  --r-lg: 20px;
  --r-xl: 22px;
  --r-pill: 999px;

  /* --------------------------------------------------------------- shadows */
  --shadow-toast: 0 8px 24px var(--black-a30);
  --shadow-search: 0 30px 70px -30px var(--black-a80);
  --shadow-lift: 0 24px 48px -28px var(--black-a70);
  --shadow-panel: 0 34px 70px -40px var(--black-a85);
  --shadow-float: 0 44px 90px -40px var(--black-a90);

  /* ---------------------------------------------------------------- motion */
  --dur-fast: .2s;
  --dur: .25s;
  --dur-slow: .3s;
  --dur-slower: .6s;
  --ease-photo: cubic-bezier(.2,.7,.2,1);

  /* ---------------------------------------------------------------- layout */
  --max: 1320px;
  --gut: clamp(16px, 4vw, 56px);
  --section-pad: clamp(72px, 9vw, 128px);
  --footer-pad-top: clamp(64px, 7vw, 96px);
  --header-h: 84px;
  --header-h-compact: 68px;

  /* Section transitions (see internal/views/ui/section.css) */
  --fade-small: 90px;
  --fade-big: 220px;
}

@media (max-width: 759px) {
  :root {
    --fade-small: 50px;
    --fade-big: 130px;
  }
}

/* ---------------------------------------------- motion and menus (added) */
:root {
  /* State changes: short, eased, consistent. */
  --dur-quick: .18s;    /* small state changes, leaving content */
  --dur-panel: .22s;    /* dropdown panels, swapped panels */
  --dur-drawer: .32s;   /* side drawer, mobile menu height */
  --dur-stagger: 40ms;  /* delay between items entering one after another */
  --ease-out: cubic-bezier(.22,.61,.36,1);     /* entering */
  --ease-in: cubic-bezier(.4,0,1,1);           /* leaving */
  --ease-in-out: cubic-bezier(.65,0,.35,1);    /* moving (tab indicator, heights) */

  /* Custom select (ui.Select) panel. */
  --navy-800-a06: rgba(31,59,74,.06);
  --navy-800-a10: rgba(31,59,74,.1);
  --shadow-menu: 0 22px 48px -18px var(--black-a70);
  --shadow-menu-light: 0 22px 48px -22px var(--navy-800-a38);
  --select-panel-bg: var(--navy-900);
  --select-panel-border: var(--gold-a30);
  --select-option-hover: var(--gold-a12);
  --select-option-selected: var(--gold-400);
  --select-shadow: var(--shadow-menu);
  --light-select-panel-bg: var(--white);
  --light-select-panel-border: var(--navy-800-a14);
  --light-select-option-hover: var(--navy-800-a06);
  --light-select-option-selected: var(--gold-700);
  --light-select-shadow: var(--shadow-menu-light);
  --select-panel-max-h: 320px;
}

/* ---- web/styles/fonts.css ---- */
/* Self-hosted fonts (Fontsource 5.3.0 builds of the Google Fonts families, SIL OFL 1.1,
   licences in web/fonts/). Only the weights the mockup renders are shipped, each
   split into latin and latin-ext (ș ț ă â î) subsets that the browser downloads
   on demand. Cormorant Garamond 300 is requested by the mockup but never loaded
   there, so headings render (and are declared) at 400. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-ext-400-normal.72c5354a6f81.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-400-normal.849290ef12a2.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-ext-500-normal.40787d0c2ff6.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-500-normal.198743187471.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-ext-600-normal.ff679412842f.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-600-normal.f7ac6258da20.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-ext-700-normal.dc7c46d7eb26.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-700-normal.d2a12c85a831.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-ext-400-normal.375a088756d1.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-400-normal.8048ac209bec.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-ext-500-normal.3de1b0f23516.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-500-normal.8197bf53615d.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-ext-400-italic.96ec6109d044.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-400-italic.e48e58027030.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-ext-500-italic.e4078de1cff9.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin-500-italic.4fb55a7a6d56.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ---- web/styles/base.css ---- */
/* Reset, page defaults, typography helpers and utilities. */

:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font: var(--fw-regular) var(--text-body)/var(--lh-body) var(--ui);
  font-variant-numeric: lining-nums tabular-nums;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

a {
  color: inherit;
}

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

::selection {
  background: var(--selection-bg);
  color: var(--ivory);
}

option {
  background: var(--bg);
  color: var(--ivory);
}

/* Alpine: hide x-cloak'ed elements until Alpine has initialised them. */
[x-cloak] {
  display: none !important;
}

/* ------------------------------------------------------------- utilities */

/* Centred content column with the page gutter. */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gut);
}

/* Small caps label. */
.sc {
  font: var(--fw-semibold) var(--text-eyebrow)/1.3 var(--ui);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}

/* Tabular, lining figures for prices and counts. */
.num {
  font-variant-numeric: tabular-nums lining-nums;
}

/* Visually hidden, still announced by screen readers. */
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

h1 em,
.h2 em {
  font-style: normal;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ---- internal/views/ui/button.css ---- */
/* Buttons (ui.Button). The mockup's base style and its "Luxury Corporate"
   overrides merged into their rendered result. */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  background: var(--gold);
  color: var(--bg);
  font: var(--fw-semibold) var(--text-button)/1.1 var(--ui);
  letter-spacing: .005em;
  border: 1px solid var(--gold);
  border-radius: var(--r-sm);
  text-decoration: none;
  text-align: center;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}

.btn:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
}

.btn.ghost {
  background: transparent;
  border-color: var(--rule-strong);
  color: var(--ink);
}

.btn.ghost:hover {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

.btn.gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}

.btn.gold:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
}

.btn.line-light {
  background: transparent;
  border-color: var(--beige-a45);
  color: var(--on-navy);
}

/* As rendered by the mockup: the generic .btn:hover fill wins there (source
   order), so the hovered outline button turns light gold with gold text. */
.btn.line-light:hover {
  background: var(--gold-hover);
  border-color: var(--gold);
  color: var(--gold);
}

.btn.pill {
  border-radius: var(--r-pill);
}

.light .btn.ghost {
  color: var(--ink);
  border-color: var(--rule-strong);
}

.light .btn.ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* ---- internal/views/ui/chip.css ---- */
/* Chips (ui.Chip, ui.Chips). */

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

.chip {
  padding: 9px 14px;
  background: transparent;
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-pill);
  font: var(--fw-medium) var(--text-sm)/1 var(--ui);
  white-space: nowrap;
  transition:
    background-color var(--dur-quick) var(--ease-out),
    border-color var(--dur-quick) var(--ease-out),
    color var(--dur-quick) var(--ease-out),
    transform var(--dur-quick) var(--ease-out);
}

.chip:active {
  transform: scale(.96);
}

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

.chip[aria-pressed="true"] {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

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

.light .chip[aria-pressed="true"] {
  background: var(--bg);
  color: var(--ivory);
  border-color: var(--bg);
}

/* ---- internal/views/ui/citymap.css ---- */
/* Stylised city map (ui.CityMap, ui.MapCentre, ui.MapOffice, ui.MapCaption).
   Mockup: .a-map (dark variant). The overlays were positioned with inline
   left/top percentages in the mockup; here each position is a class. */

.map {
  position: relative;
  overflow: hidden;
  background: var(--map-bg);
  border: 1px solid var(--rule);
  border-radius: var(--r);
}

.map.sq {
  aspect-ratio: 1 / 1;
}

/* Inherits the global inline-SVG rule (currentColor stroke, 1.4 wide), as in
   the mockup: it is what outlines the parks. */
.map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map .st {
  stroke: var(--map-street);
  stroke-width: 5;
  vector-effect: non-scaling-stroke;
  fill: none;
}

.map .st2 {
  stroke: var(--map-street-minor);
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
  fill: none;
}

.map .rv {
  stroke: var(--map-river);
  stroke-width: 16;
  vector-effect: non-scaling-stroke;
  fill: none;
  stroke-linecap: round;
}

.map .ring {
  stroke: var(--gold-a55);
  stroke-width: 1;
  stroke-dasharray: 4 5;
  vector-effect: non-scaling-stroke;
  fill: none;
}

.map .pk {
  fill: var(--map-park);
}

.map .lbl {
  position: absolute;
  transform: translate(-50%, -50%);
  font: var(--fw-semibold) 10px/1 var(--ui);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--beige-a70);
  pointer-events: none;
  white-space: nowrap;
}

.map .lbl.rv-l {
  font: italic var(--fw-medium) 16px/1 var(--disp);
  letter-spacing: .04em;
  text-transform: none;
  color: var(--map-river-label);
}

.map .lbl.c {
  color: var(--ivory);
}

.map .office {
  position: absolute;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.map .office b {
  padding: 9px 12px;
  background: var(--gold);
  color: var(--bg);
  border-radius: var(--r-xs);
  font: var(--fw-semibold) 11px/1 var(--ui);
  letter-spacing: var(--track-nav);
  text-transform: uppercase;
  white-space: nowrap;
}

.map .office i {
  width: 1px;
  height: 18px;
  background: var(--gold);
}

.map .office u {
  width: 9px;
  height: 9px;
  background: var(--gold);
  border: 1px solid var(--bg);
  border-radius: 50%;
}

.map .cap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 12px;
  background: var(--surf);
  color: var(--beige);
  border-radius: var(--r-xs);
  font: var(--fw-semibold) var(--text-label)/1 var(--ui);
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Overlay positions (percent of the map, as in the mockup) */
.map .at-somes { left: 22%; top: 25%; }
.map .at-micro { left: 84%; top: 46%; }
.map .at-careiului { left: 16%; top: 70%; }
.map .at-14-mai { left: 80%; top: 86%; }
.map .at-centre { left: 50%; top: 57%; }
.map .at-office { left: 55%; top: 47%; }

/* ---- internal/views/ui/developmentcard.css ---- */
/* Residential development card (ui.DevelopmentCard). Mockup: .a-cx-card*,
   plus .a-ec-meta and .a-ec-rule, which the mockup borrows from its
   editorial listing card (list page). */

.cx-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-bottom: 18px;
  background: var(--surf);
  border: 1px solid var(--gold-a60);
  border-radius: var(--r-lg);
  /* Two stacked card edges below the card, then the drop shadow. */
  box-shadow:
    0 9px 0 -4px var(--legacy-stack-1),
    0 9px 0 -3px var(--gold-a42),
    0 18px 0 -9px var(--legacy-stack-2),
    0 18px 0 -8px var(--gold-a24),
    0 40px 70px -40px var(--black-a90);
  transition: border-color var(--dur-slow), transform var(--dur-slow);
}

.cx-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.cx-card-media {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--bg-2);
  border-radius: 19px 19px 0 0;
  text-decoration: none;
}

.cx-card-media img,
.cx-card-media .ph {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.6s var(--ease-photo);
}

.cx-card:hover .cx-card-media img {
  transform: scale(1.05);
}

/* Darkens the bottom of the photo under the count. */
.cx-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, var(--navy-900-a88) 0%, var(--navy-900-a35) 32%, var(--navy-900-a00) 58%);
}

.cx-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 1;
  padding: 8px 14px;
  background: var(--gold);
  color: var(--bg);
  border-radius: var(--r-pill);
  font: var(--fw-bold) 10px/1 var(--ui);
  letter-spacing: .2em;
  text-transform: uppercase;
}

.cx-count {
  position: absolute;
  left: 20px;
  bottom: 16px;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ivory);
  font: var(--fw-semibold) var(--text-label)/1.2 var(--ui);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  text-align: left;
}

.cx-count b {
  font: var(--fw-regular) 46px/1 var(--disp);
  letter-spacing: 0;
  color: var(--gold);
}

.cx-card-body {
  --muted: var(--surface-muted);
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}

.ec-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font: var(--fw-semibold) var(--text-label)/1.4 var(--ui);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.ec-meta .id {
  color: var(--surface-gold-ink);
}

.cx-card h3 {
  margin: 12px 0 0;
  font: var(--fw-regular) clamp(24px, 2.2vw, 30px)/1.15 var(--disp);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ivory);
}

/* The mockup's name is a <button>, whose UA style resets letter-spacing and
   text-transform: it renders in mixed case. */
.cx-card h3 a {
  display: inline-block;
  letter-spacing: normal;
  text-transform: none;
  text-align: left;
  text-decoration: none;
  transition: color var(--dur);
}

.cx-card h3 a:hover {
  color: var(--gold);
}

.ec-rule {
  display: block;
  width: 44px;
  height: 1px;
  margin: 16px 0 14px;
  background: var(--gold);
  transition: width var(--dur-slower) ease;
}

.cx-card:hover .ec-rule {
  width: 96px;
}

.cx-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: 0;
  font: var(--fw-semibold) var(--text-label)/1.6 var(--ui);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--beige);
}

.cx-facts span + span::before {
  content: "·";
  margin: 0 10px;
  color: var(--gold);
}

.cx-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
}

.cx-from {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--beige);
}

.cx-from b {
  margin: 0 4px;
  font: var(--fw-medium) 28px/1 var(--disp);
  color: var(--gold);
}

.cx-from small {
  font: var(--fw-semibold) var(--text-label)/1 var(--ui);
  letter-spacing: .14em;
  color: var(--muted);
}

.cx-card-foot .btn {
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--r-pill);
}

@media (min-width: 861px) {
  .cx-card.wide {
    grid-column: span 2;
    flex-direction: row;
  }

  .cx-card.wide .cx-card-media {
    flex: none;
    width: 56%;
    border-radius: 19px 0 0 19px;
  }

  .cx-card.wide .cx-card-media img {
    aspect-ratio: auto;
    min-height: 420px;
  }

  .cx-card.wide .cx-card-body {
    padding: clamp(26px, 3vw, 40px);
  }

  .cx-card.wide h3 {
    font-size: clamp(28px, 2.8vw, 38px);
  }
}

@media (max-width: 1020px) and (min-width: 861px) {
  .cx-card.wide .cx-card-media {
    width: 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cx-card:hover {
    transform: none;
  }

  .cx-card:hover .cx-card-media img {
    transform: none;
  }
}

/* ---- internal/views/ui/field.css ---- */
/* Form fields (ui.Field, ui.Input, ui.Select, ui.Textarea, ui.Checkbox).
   Dark-background styling, with the ivory (.light) variant below. A select is
   styled the same whether it is the native control or the custom combobox
   button (.sel-btn, select.js); its chevron is ui.Select's (select.css). */

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field > span,
.flabel {
  font: var(--fw-semibold) var(--text-label)/1.2 var(--ui);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field .sel-btn,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  background: var(--field-bg);
  border: 1px solid var(--field-border);
  border-radius: var(--r-sm);
  font: var(--fw-medium) var(--text-body)/1.4 var(--ui);
  color: var(--ivory);
  transition: border-color var(--dur-quick) var(--ease-out), box-shadow var(--dur-quick) var(--ease-out);
}

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

.field select,
.field .sel-btn {
  appearance: none;
  cursor: pointer;
  padding-right: 38px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--field-placeholder);
}

.field input:focus,
.field select:focus,
.field .sel-btn:focus,
.field .sel.is-open .sel-btn,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.field input:focus-visible,
.field select:focus-visible,
.field .sel-btn:focus-visible,
.field textarea:focus-visible {
  box-shadow: 0 0 0 3px var(--field-focus-ring);
}

.field.bad input,
.field.bad select,
.field.bad .sel-btn {
  border-color: var(--err);
}

.err {
  min-height: 0;
  font-size: var(--text-xs);
  color: var(--err);
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: var(--text-md);
  cursor: pointer;
}

.check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--gold);
}

/* Ivory sections */
.light .field input,
.light .field select,
.light .field .sel-btn,
.light .field textarea {
  background: var(--light-field-bg);
  border-color: var(--light-field-border);
  color: var(--ink);
}

.light .field input::placeholder,
.light .field textarea::placeholder {
  color: var(--light-field-placeholder);
}

.light .field input:focus,
.light .field select:focus,
.light .field .sel-btn:focus,
.light .field .sel.is-open .sel-btn,
.light .field textarea:focus {
  border-color: var(--gold-ink);
}

.light .field input:focus-visible,
.light .field select:focus-visible,
.light .field .sel-btn:focus-visible,
.light .field textarea:focus-visible {
  box-shadow: 0 0 0 3px var(--light-field-focus-ring);
}

.light option {
  background: var(--light-field-bg);
  color: var(--light-ink);
}

.light .check input {
  accent-color: var(--bg);
}

/* ---- internal/views/ui/formdone.css ---- */
/* Form confirmation (ui.FormDone). Mockup: .a-done. */

.done {
  border-top: 1px solid var(--gold);
  padding-top: 24px;
}

.done h3 {
  margin: 12px 0;
  font: var(--fw-medium) 32px/1.1 var(--disp);
}

.done p {
  margin: 0 0 20px;
  color: var(--muted);
}

/* ---- internal/views/ui/hatch.css ---- */
/* Hatched placeholder (ui.Hatch). The mockup's base rule and its recoloured
   override merged into their rendered result. */

.hatch {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 200px;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, var(--bg-2) 0 10px, var(--legacy-hatch) 10px 11px);
  border: 1px solid var(--rule);
  border-radius: var(--r);
}

.hatch span {
  margin: 14px;
  padding: 8px 12px;
  background: var(--surf);
  border-radius: var(--r-xs);
  font: var(--fw-semibold) var(--text-label)/1.2 var(--ui);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--beige);
}

/* ---- internal/views/ui/heading.css ---- */
/* Section headings (ui.SectionHead, ui.Eyebrow, ui.Ornament). */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font: var(--fw-semibold) var(--text-eyebrow)/1.3 var(--ui);
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--gold-ink);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

/* Section titles: thin serif capitals with wide tracking. */
.h2 {
  margin: 18px 0 0;
  font: var(--fw-regular) var(--h2-section)/var(--lh-h2) var(--disp);
  letter-spacing: var(--track-h2);
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--ink);
}

.orn {
  display: block;
  position: relative;
  width: 140px;
  height: 9px;
  margin-top: 22px;
}

.orn::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 4px;
  height: 1px;
  background: var(--gold);
}

.orn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 1px;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  background: var(--gold);
  transform: rotate(45deg);
}

.lede {
  max-width: 56ch;
  margin: 18px 0 0;
  font-size: var(--text-lede);
  color: var(--muted);
}

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}

.sec-head.center {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.sec-head.center .eyebrow {
  justify-content: center;
}

.sec-head.center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.sec-head.center .orn,
.sec-head.center .lede {
  margin-inline: auto;
}

/* ---- internal/views/ui/heart.css ---- */
/* Favourite toggle over a card photo (ui.Heart). Mockup: .a-heart. */

.heart {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--navy-800-a72);
  color: var(--ivory);
  border-radius: var(--r-pill);
  transition: background-color var(--dur-quick) var(--ease-out), transform var(--dur-quick) var(--ease-out);
}

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

/* Press feedback, and the heart fills with gold when saved. */
.heart:active {
  transform: scale(.88);
}

.heart svg {
  transition: fill var(--dur-panel) var(--ease-out), stroke var(--dur-panel) var(--ease-out);
}

.heart[aria-pressed="true"] svg {
  fill: var(--gold);
  stroke: var(--gold);
}

/* ---- internal/views/ui/icon.css ---- */
/* Inline icons (ui.Icon). As in the mockup the rule targets every inline
   SVG; other SVGs (maps, illustrations) override what they need. */
svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: square;
  flex: none;
}

/* ---- internal/views/ui/iconbutton.css ---- */
/* Icon button (ui.IconButton). */

.iconbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-sm);
  font: var(--fw-semibold) var(--text-eyebrow)/1 var(--ui);
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: border-color var(--dur-quick) var(--ease-out);
}

.iconbtn:hover {
  border-color: var(--gold);
}

.iconbtn[aria-pressed="true"] svg {
  fill: var(--gold);
  stroke: var(--gold);
}

/* ---- internal/views/ui/link.css ---- */
/* Text link (ui.TextLink). */

.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gold);
  font: var(--fw-semibold) 12px/1 var(--ui);
  letter-spacing: var(--track-nav);
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

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

/* ---- internal/views/ui/listingcard.css ---- */
/* Listing card (ui.ListingCard). Mockup: .a-card and its graphite override,
   .a-card-media, .a-tag, .a-card-body, .a-card-meta, .a-card-loc, .a-ledger,
   .a-card-go (merged into their rendered result). The favourite toggle is
   ui.Heart (heart.css). */

.card {
  /* Lighter gold, muted text and rules on the graphite surface. */
  --gold-ink: var(--surface-gold-ink);
  --muted: var(--surface-muted);
  --rule: var(--surface-rule);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--surf);
  border: 1px solid transparent;
  border-radius: var(--r);
  transition: border-color var(--dur), transform var(--dur);
}

.card:hover {
  border-color: var(--gold-a50);
}

.card-media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--bg-2);
  text-decoration: none;
}

.card-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--dur-slower) var(--ease-photo);
}

.card-media:hover img {
  transform: scale(1.025);
}

.tag {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 8px 13px;
  background: var(--navy-800-a85);
  color: var(--gold);
  border-radius: var(--r-pill);
  font: var(--fw-semibold) var(--text-label)/1 var(--ui);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 22px 22px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font: var(--fw-semibold) var(--text-label)/1.4 var(--ui);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--muted);
}

.card-meta .id {
  color: var(--gold-ink);
}

.card h3 {
  margin: 12px 0 4px;
  font: var(--fw-medium) 25px/1.15 var(--disp);
  letter-spacing: -.005em;
}

/* The mockup's title is a <button>, whose UA style resets letter-spacing. */
.card h3 a {
  display: inline-block;
  letter-spacing: normal;
  text-align: left;
  text-decoration: none;
}

.card h3 a:hover {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.card-loc {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--muted);
}

/* Facts on the left, price on the right, each over its own rule. */
.ledger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
}

.ledger .f {
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  font-size: var(--text-sm);
  color: var(--ink);
}

.ledger .p {
  padding-top: 10px;
  border-top: 1px solid var(--gold);
  text-align: right;
}

.ledger .p b {
  display: block;
  font: var(--fw-medium) 26px/1 var(--disp);
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--gold-ink);
  white-space: nowrap;
}

.ledger .p small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.card-go {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 6px 0;
  border-bottom: 1px solid var(--gold);
  font: var(--fw-semibold) var(--text-sm)/1 var(--ui);
  color: var(--ivory);
  text-decoration: none;
}

.card-go svg {
  width: 15px;
  height: 15px;
  color: var(--gold-ink);
  transition: transform var(--dur-fast);
}

.card-go:hover svg {
  transform: translateX(3px);
}

/* ---- internal/views/ui/motion.css ---- */
/* Shared enter/leave transitions (ui.Transition, used with Alpine x-show +
   x-transition). base.css turns every transition off under
   prefers-reduced-motion: Alpine then reads a zero duration and shows or hides
   the element at once, so nothing is left half-visible. */

/* Fade */
.m-fade-enter {
  transition: opacity var(--dur-panel) var(--ease-out);
}

.m-fade-leave {
  transition: opacity var(--dur-quick) var(--ease-in);
}

.m-fade-from,
.m-fade-out {
  opacity: 0;
}

.m-fade-to {
  opacity: 1;
}

/* Panes (ui.PaneClass / ui.PaneAttrs): blocks replacing one another in place.
   An inactive pane (.off) fades out, then turns visibility: hidden (so it is
   neither focusable nor announced; it is also inert from the start). Panes
   are never display: none: the layout is the same on every frame. */
.m-pane {
  transition:
    opacity var(--dur-panel) var(--ease-out),
    transform var(--dur-panel) var(--ease-out),
    visibility 0s;
}

.m-pane.off {
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition:
    opacity var(--dur-quick) var(--ease-in),
    transform var(--dur-quick) var(--ease-in),
    visibility 0s linear var(--dur-quick);
}

/* All panes in one grid cell: the container keeps the tallest one's height. */
.m-stack {
  display: grid;
}

.m-stack > .m-pane {
  grid-area: 1 / 1;
  min-width: 0;
}

/* Inactive panes out of the flow: the container takes the active one's height. */
.m-swap {
  position: relative;
}

.m-swap > .m-pane.off {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

/* Drawer: slides in from the right edge. */
.m-drawer-enter {
  transition: transform var(--dur-drawer) var(--ease-out);
}

.m-drawer-leave {
  transition: transform var(--dur-panel) var(--ease-in);
}

.m-drawer-from,
.m-drawer-out {
  transform: translateX(100%);
}

.m-drawer-to {
  transform: none;
}

/* Height changes animated by $morphHeight (web/js/motion.js). */
.is-morphing {
  overflow: hidden;
  transition: height var(--dur-panel) var(--ease-in-out);
}

/* ---- internal/views/ui/placeholder.css ---- */
/* Photo placeholder (ui.PhotoPlaceholder). Mockup: .a-ph. */

.ph {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 24px;
  background: var(--bg-2);
  color: var(--on-navy);
  text-align: center;
}

.ph i {
  font: italic var(--fw-medium) 30px/1.1 var(--disp);
  color: var(--gold);
}

.ph span {
  display: block;
  margin-top: 10px;
  font: var(--fw-semibold) var(--text-label)/1 var(--ui);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--on-navy-muted);
}

/* ---- internal/views/ui/section.css ---- */
/* Section wrapper (ui.Section): padding, background surface and the
   transition strips between bands of different colour. */

.sec {
  --pad-top: var(--section-pad);
  --pad-bottom: var(--section-pad);
  padding-block: var(--pad-top) var(--pad-bottom);
}

.sec.flush-top {
  --pad-top: 0px;
}

.sec.flush-bottom {
  --pad-bottom: 0px;
}

/* Surfaces. --section-bg is what the transition strips blend from/to. */
.bg {
  --section-bg: var(--bg);
  background: var(--bg);
}

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

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

/* Ivory section: re-points the semantic colours for everything inside. */
.light {
  --ink: var(--light-ink);
  --muted: var(--light-muted);
  --gold-ink: var(--light-gold-ink);
  --rule: var(--light-rule);
  --rule-strong: var(--light-rule-strong);
  --err: var(--light-err);
  --ok: var(--light-ok);
  --section-bg: var(--ivory);
  background: var(--ivory);
  color: var(--ink);
}

.light :focus-visible {
  outline-color: var(--gold-ink);
}

/* Transition strips: a vertical gradient painted inside the padding of a band,
   behind its content. When both bands at a boundary carry a strip, each shows
   its part of one gradient spanning both strips (background-size covers the
   two heights), so the boundary reads as one continuous blend. Heights:
   min(padding - 8px, cap), cap 90px (220px between light and dark surfaces),
   50px/130px under 760px (tokens --fade-small/--fade-big). */
.has-fade {
  position: relative;
  isolation: isolate;
}

.fade {
  --fade-cap: var(--fade-small);
  --fade-nb-h: 0px;
  --fade-h: min(calc(var(--fade-own) - 8px), var(--fade-cap));
  position: absolute;
  left: 0;
  right: 0;
  z-index: -1;
  height: var(--fade-h);
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% calc(var(--fade-h) + var(--fade-nb-h));
}

.fade--big {
  --fade-cap: var(--fade-big);
}

.fade--top {
  --fade-own: var(--pad-top);
  --from: var(--fade-nb);
  --to: var(--section-bg);
  top: 0;
  background-position: bottom;
}

.fade--bottom {
  --fade-own: var(--pad-bottom);
  --from: var(--section-bg);
  --to: var(--fade-nb);
  bottom: 0;
  background-position: top;
}

/* Neighbour colour */
.fade--to-bg { --fade-nb: var(--bg); }
.fade--to-bg2 { --fade-nb: var(--bg-2); }
.fade--to-deep { --fade-nb: var(--deep); }
.fade--to-light { --fade-nb: var(--ivory); }

/* Neighbour's strip height when it carries the other part of the gradient */
.fade--nb-section { --fade-nb-h: min(calc(var(--section-pad) - 8px), var(--fade-cap)); }
.fade--nb-footer { --fade-nb-h: min(calc(var(--footer-pad-top) - 8px), var(--fade-cap)); }

.fade--small {
  background-image: linear-gradient(180deg, var(--from) 0%, var(--to) 100%);
}

/* dark -> light, through the blue-grey */
.fade--d2l {
  background-image: linear-gradient(180deg,
    var(--from) 0%,
    color-mix(in srgb, var(--from) 40%, var(--bluegray)) 22%,
    var(--bluegray) 40%,
    color-mix(in srgb, var(--bluegray) 55%, var(--to)) 58%,
    color-mix(in srgb, var(--bluegray) 18%, var(--to)) 78%,
    var(--to) 100%);
}

/* light -> dark: the same path reversed */
.fade--l2d {
  background-image: linear-gradient(180deg,
    var(--from) 0%,
    color-mix(in srgb, var(--bluegray) 18%, var(--from)) 22%,
    color-mix(in srgb, var(--bluegray) 55%, var(--from)) 42%,
    var(--bluegray) 60%,
    color-mix(in srgb, var(--to) 40%, var(--bluegray)) 78%,
    var(--to) 100%);
}

/* Rows under a section's content */
.more {
  display: flex;
  justify-content: center;
  margin-top: clamp(40px, 5vw, 64px);
}

.more .btn {
  border-radius: var(--r-pill);
  padding: 0 32px;
  min-height: 52px;
}

.cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(40px, 5vw, 56px);
}

/* ---- internal/views/ui/segmented.css ---- */
/* Segmented control (ui.Segmented). */

.seg {
  display: inline-flex;
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.seg button {
  padding: 10px 16px;
  font: var(--fw-semibold) 12px/1 var(--ui);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color var(--dur-quick) var(--ease-out), color var(--dur-quick) var(--ease-out);
}

.seg button:active {
  background: var(--gold-a12);
}

.seg button + button {
  border-left: 1px solid var(--rule-strong);
}

.seg button[aria-pressed="true"] {
  background: var(--gold);
  color: var(--bg);
}

.light .seg button[aria-pressed="true"] {
  background: var(--bg);
  color: var(--ivory);
}

.seg.big {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.seg.big button {
  padding: 14px 12px;
  font: var(--fw-medium) var(--text-md)/1.25 var(--ui);
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
}

/* ---- internal/views/ui/select.css ---- */
/* Select (ui.Select): wrapper, chevron and the custom list (select.js). The
   closed control's box comes from its context (field.css, hero.css), which
   styles the native <select> and the combobox button (.sel-btn) alike, so the
   enhanced and native controls look and measure the same. */

.sel {
  position: relative;
  display: block;
  min-width: 0;
  /* How far the list reaches past the control on each side (hero: the
     borderless select sits in a padded cell). Read by select.js. */
  --sel-panel-inset: 0px;
}

.sel-chev {
  position: absolute;
  top: 50%;
  right: 14px;
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  pointer-events: none;
  color: var(--gold-ink);
  transition: transform var(--dur-panel) var(--ease-in-out);
}

.sel-chev svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sel.is-open .sel-chev {
  transform: rotate(180deg);
}

.sel.is-enhanced select {
  display: none;
}

/* The combobox button: the rest of its box comes from the context. */
.sel-btn {
  display: block;
  width: 100%;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.sel-btn:disabled {
  cursor: default;
  opacity: .6;
}

/* ------------------------------------------------------------------ list */

.sel-panel {
  position: fixed;
  inset: auto;
  top: var(--sel-top, auto);
  bottom: var(--sel-bottom, auto);
  left: var(--sel-left, 0);
  width: var(--sel-width, auto);
  max-height: var(--sel-max-h, var(--select-panel-max-h));
  margin: 0;
  padding: 4px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--select-panel-bg);
  color: var(--ink);
  border: 1px solid var(--select-panel-border);
  border-radius: var(--r-md);
  box-shadow: var(--select-shadow);
  font: var(--fw-medium) var(--text-md)/1.3 var(--ui);
  letter-spacing: normal;
  text-transform: none;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-a40) transparent;
  opacity: 0;
  transform: translateY(-6px) scale(.98);
  transform-origin: top center;
  transition: opacity var(--dur-quick) var(--ease-in), transform var(--dur-quick) var(--ease-in);
}

.sel-panel.is-up {
  transform: translateY(6px) scale(.98);
  transform-origin: bottom center;
}

.sel-panel.is-open {
  opacity: 1;
  transform: none;
  transition-duration: var(--dur-panel);
  transition-timing-function: var(--ease-out);
}

.sel-group {
  display: block;
}

.sel-group + .sel-group,
.sel-opt + .sel-group,
.sel-group + .sel-opt {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid var(--rule);
}

.sel-group-label {
  display: block;
  padding: 10px 10px 6px;
  font: var(--fw-semibold) var(--text-label)/1.2 var(--ui);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--muted);
  cursor: default;
}

.sel-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  border-radius: var(--r-xs);
  color: var(--ink);
  cursor: pointer;
  transition: background-color var(--dur-quick) var(--ease-out), color var(--dur-quick) var(--ease-out);
}

.sel-opt > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sel-opt svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--select-option-selected);
  opacity: 0;
}

.sel-opt.is-active {
  background: var(--select-option-hover);
}

.sel-opt[aria-selected="true"] {
  color: var(--select-option-selected);
}

.sel-opt[aria-selected="true"] svg {
  opacity: 1;
}

.sel-opt[aria-disabled="true"] {
  opacity: .45;
  cursor: default;
}

/* Ivory sections */
.light .sel-panel {
  --select-panel-bg: var(--light-select-panel-bg);
  --select-panel-border: var(--light-select-panel-border);
  --select-option-hover: var(--light-select-option-hover);
  --select-option-selected: var(--light-select-option-selected);
  --select-shadow: var(--light-select-shadow);
  scrollbar-color: var(--light-rule-strong) transparent;
}

/* ---- internal/views/layout/favorites.css ---- */
/* Favourites drawer (layout.FavoritesDrawer, FavoritesList). Mockup: .a-scrim,
   .a-drawer, .a-fav, .a-empty and their graphite overrides. */

/* Set on <html> while the drawer is open. */
html.scroll-lock {
  overflow: hidden;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--navy-900-a50);
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 81;
  display: flex;
  flex-direction: column;
  width: min(440px, 100vw);
  background: var(--bg-2);
  border-left: 1px solid var(--rule);
  box-shadow: var(--shadow-panel);
}


.drawer header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--rule);
}

.drawer header h2 {
  margin: 0;
  font: var(--fw-medium) 30px/1 var(--disp);
}

.drawer header .count {
  font-size: 22px;
  color: var(--gold-ink);
}

.drawer .x {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
}

.drawer .body {
  flex: 1;
  overflow: auto;
  padding: 8px 24px 44px;
}

/* One saved listing: photo, text, remove button. */
.fav {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.fav a {
  text-decoration: none;
}

/* The mockup's title link is an inline-block <button>. */
.fav > div > a {
  display: inline-block;
}

.fav img,
.fav .ph {
  width: 96px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  padding: 0;
  border-radius: var(--r-sm);
}

.fav .ph i {
  font-size: 16px;
}

.fav h4 {
  margin: 0 0 4px;
  font: var(--fw-medium) 19px/1.15 var(--disp);
  text-align: left;
  color: var(--ivory);
}

.fav .pr {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--gold);
}

.fav .meta {
  font-size: var(--text-xs);
  color: var(--muted);
}

.fav .rm {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--muted);
  border-radius: var(--r-pill);
  transition: color var(--dur-quick) var(--ease-out), background-color var(--dur-quick) var(--ease-out);
}

.fav .rm:hover {
  color: var(--ink);
  background: var(--beige-a10);
}

/* Rows rise in when the drawer opens (first load only, set by favorites.js)
   and collapse out when removed. */
.drawer .body.is-entering .fav {
  animation: fav-in var(--dur-panel) var(--ease-out) both;
}

.drawer .body.is-entering .fav:nth-child(2) {
  animation-delay: var(--dur-stagger);
}

.drawer .body.is-entering .fav:nth-child(3) {
  animation-delay: calc(2 * var(--dur-stagger));
}

.drawer .body.is-entering .fav:nth-child(n+4) {
  animation-delay: calc(3 * var(--dur-stagger));
}

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

.fav.is-leaving {
  overflow: hidden;
  height: 0 !important;
  padding-block: 0;
  border-bottom-color: transparent;
  opacity: 0;
  transform: translateX(24px);
  transition:
    opacity var(--dur-quick) var(--ease-in),
    transform var(--dur-quick) var(--ease-in),
    height var(--dur-panel) var(--ease-in-out) var(--dur-quick),
    padding var(--dur-panel) var(--ease-in-out) var(--dur-quick),
    border-color var(--dur-panel) var(--ease-in-out) var(--dur-quick);
}

.empty {
  padding: 40px 0;
  text-align: left;
}

.empty h3 {
  margin: 0 0 10px;
  font: var(--fw-medium) 28px/1.1 var(--disp);
}

.empty p {
  margin: 0 0 24px;
  color: var(--muted);
}

/* ---- internal/views/layout/footer.css ---- */
/* Site footer (layout.Footer). */

.foot {
  --pad-top: var(--footer-pad-top);
  /* The mockup's 120px bottom padding cleared its presentation bar (76px);
     without the bar it is 44px. */
  --pad-bottom: 44px;
  padding: var(--pad-top) 0 var(--pad-bottom);
  background: var(--deep);
  color: var(--on-navy);
}

.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}

.foot img {
  height: 34px;
  width: auto;
}

.foot h5 {
  margin: 6px 0 18px;
  font: var(--fw-semibold) var(--text-label)/1.2 var(--ui);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* A second heading in the same column ("Urmărește-ne"). */
.foot ul + h5 {
  margin-top: 32px;
}

.foot ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot li a {
  display: inline-block; /* the mockup's footer links were buttons */
  font-size: var(--text-sm);
  color: var(--on-navy-muted);
  text-decoration: none;
  text-align: left;
}

.foot li a:hover {
  color: var(--on-navy);
}

.foot address {
  margin-top: 24px;
  font-style: normal;
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--on-navy-muted);
}

.foot address a {
  color: var(--on-navy);
  text-decoration: none;
}

.foot-bot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: space-between;
  padding-top: 28px;
  font-size: var(--text-xs);
  color: var(--on-navy-muted);
}

.foot-bot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.foot-bot a {
  color: var(--on-navy-muted);
  text-decoration: none;
}

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

@media (max-width: 960px) {
  .foot-top {
    grid-template-columns: 1fr 1fr;
  }

  .foot-top > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .foot-top {
    grid-template-columns: 1fr;
  }
}

/* ---- internal/views/layout/header.css ---- */
/* Site header and mobile menu (layout.Header). */

.head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--rule);
}

.head-in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

.logo {
  display: block;
  padding: 6px 0;
}

.logo img {
  height: 32px;
  width: auto;
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: 8px;
}

.nav a {
  padding: 12px 0 10px;
  border-bottom: 1px solid transparent;
  font: var(--fw-medium) var(--text-nav)/1 var(--ui);
  letter-spacing: var(--track-nav);
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  color: var(--ivory);
}

.nav a:hover,
.nav a[aria-current="page"] {
  border-bottom-color: var(--gold);
  color: var(--gold);
}

.head-r {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: var(--fw-semibold) var(--text-sm)/1 var(--ui);
  letter-spacing: .04em;
  white-space: nowrap;
  text-decoration: none;
}

.tel svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.favbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  font: var(--fw-medium) var(--text-sm)/1 var(--ui);
}

.favbtn .lbl {
  display: none;
}

.favbtn .n {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border: 1px solid var(--gold-a60);
  border-radius: var(--r-pill);
  font-size: 12px;
  color: var(--gold);
}

.head .btn {
  min-height: 44px;
  padding: 0 18px;
  font-size: var(--text-sm);
  white-space: nowrap;
}

.menubtn {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
}

.mnav {
  display: none;
}

@media (max-width: 1300px) {
  .nav {
    gap: 18px;
  }

  .nav a {
    letter-spacing: .12em;
  }

  .head-in {
    gap: 20px;
  }
}

@media (max-width: 1240px) {
  .tel span {
    display: none;
  }
}

@media (max-width: 1140px) {
  .nav,
  .head-r .btn {
    display: none;
  }

  .menubtn {
    display: inline-grid;
  }

  .head-in {
    height: var(--header-h-compact);
    gap: 16px;
  }

  .logo img {
    height: 26px;
  }

  .head-r {
    gap: 10px;
  }

  .head-r .tel {
    width: 44px;
    height: 44px;
    justify-content: center;
    border: 1px solid var(--rule);
    border-radius: var(--r-sm);
  }

  /* Folded to zero height (0fr) and hidden while closed; unfolds on .open.
     visibility switches at the end of the fold, so the links leave the tab
     order and the accessibility tree once it is closed. */
  .mnav {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    visibility: hidden;
    background: var(--bg);
    transition:
      grid-template-rows var(--dur-drawer) var(--ease-in-out),
      box-shadow var(--dur-drawer) var(--ease-in-out),
      visibility 0s linear var(--dur-drawer);
  }

  .mnav.open {
    grid-template-rows: 1fr;
    visibility: visible;
    box-shadow: inset 0 1px 0 var(--rule); /* top rule, without adding height */
    transition-delay: 0s;
  }

  /* The vertical padding folds with the row (padding would keep it open). */
  .mnav-in {
    min-height: 0;
    padding: 0 var(--gut);
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity var(--dur-quick) var(--ease-in),
      transform var(--dur-quick) var(--ease-in),
      padding var(--dur-drawer) var(--ease-in-out);
  }

  .mnav.open .mnav-in {
    padding-block: 8px 24px;
    opacity: 1;
    transform: none;
    transition:
      opacity var(--dur-drawer) var(--ease-out),
      transform var(--dur-drawer) var(--ease-out),
      padding var(--dur-drawer) var(--ease-in-out);
  }

  .mnav a {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--rule);
    font: var(--fw-regular) 21px/1.1 var(--disp);
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: left;
  }

  .mnav a.plain {
    font: var(--fw-semibold) var(--text-body)/1.1 var(--ui);
    letter-spacing: .02em;
    text-transform: none;
  }

  .mnav .btn {
    margin-top: 20px;
    padding: 0 24px;
    border: 1px solid var(--gold);
    font: var(--fw-semibold) var(--text-button)/1 var(--ui);
    letter-spacing: .005em;
    text-transform: none;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .favbtn {
    gap: 4px;
  }
}

/* ---- internal/views/layout/toast.css ---- */
/* Toast (layout.Toast): drops in from the top and fades; leaves faster. */

.toast {
  position: fixed;
  left: 50%;
  top: calc(16px + env(safe-area-inset-top, 0px));
  z-index: 10000;
  max-width: calc(100vw - 32px);
  box-sizing: content-box; /* as in the mockup, where the toast sat outside the site's border-box scope */
  padding: 12px 16px;
  background: var(--toast-bg);
  color: var(--toast-fg);
  border-radius: var(--r-xs);
  box-shadow: var(--shadow-toast);
  font: var(--fw-medium) var(--text-sm)/1.3 var(--ui);
  /* Hidden by opacity only: the live region must stay rendered for its
     messages to be announced. */
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -16px) scale(.97);
  transition: opacity var(--dur-quick) var(--ease-in), transform var(--dur-quick) var(--ease-in);
}

.toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition: opacity var(--dur-panel) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}

/* ---- internal/views/home/about.css ---- */
/* About (home.About). Mockup: .a-about, .a-hatch, .a-values. */

.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.about .hatch {
  min-height: 420px;
}

.values {
  margin-top: 40px;
  border-top: 1px solid var(--rule-strong);
}

.values > div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}

.values .ix {
  font: var(--fw-semibold) var(--text-eyebrow)/1.9 var(--ui);
  letter-spacing: .1em;
  color: var(--gold-ink);
}

.values h4 {
  margin: 0 0 6px;
  font: var(--fw-medium) 26px/1.1 var(--disp);
}

.values p {
  margin: 0;
  font-size: var(--text-md);
  color: var(--muted);
}

@media (max-width: 860px) {
  .about {
    grid-template-columns: 1fr;
  }

  .about .hatch {
    min-height: 260px;
  }
}

/* ---- internal/views/home/contact.css ---- */
/* Contact (home.Contact). Mockup: .a-contact, .a-contact-grid, .a-dl, .a-hours
   (the map is ui.CityMap). */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.contact .cta-row {
  justify-content: flex-start;
  margin-top: 28px;
}

.dl {
  margin: 32px 0 0;
  border-top: 1px solid var(--rule-strong);
}

.dl div {
  display: grid;
  grid-template-columns: minmax(0, 11ch) minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.dl dt {
  font: var(--fw-semibold) var(--text-label)/1.9 var(--ui);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--muted);
}

.dl dd {
  margin: 0;
}

.dl dd a {
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.hours {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  column-gap: 20px;
}

/* "Deschide în Google Maps" (mockup: inline margin-top on the paragraph) */
.contact-maps {
  margin: 28px 0 16px;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- internal/views/home/hero.css ---- */
/* Hero (home.Hero): photo, title, quick search card, "search by code" row and
   the photo caption. Mockup: .a-hero*, .a-qs* (base rules merged with the
   "Culori noi" overrides into their rendered result). */

.hero {
  position: relative;
  display: flex;
  min-height: max(560px, 88vh);
  overflow: hidden;
  background: var(--bg);
  color: var(--on-navy);
}

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

/* Darkens the left side (text) and the bottom of the photo. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--navy-800-a90) 0%, var(--navy-800-a74) 34%, var(--navy-800-a28) 60%, var(--navy-800-a00) 78%),
    linear-gradient(0deg, var(--navy-800-a50) 0%, var(--navy-800-a00) 40%);
}

/* Blends the photo's bottom edge into the page. */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(0deg, var(--bg), var(--navy-800-a00));
}

.hero-in {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  padding-top: clamp(56px, 8vw, 120px);
  padding-bottom: clamp(28px, 4vw, 48px);
}

.hero-k {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font: var(--fw-semibold) 11.5px/1.5 var(--ui);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--beige);
}

.hero-k::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  max-width: 12ch;
  margin: 22px 0 0;
  font: var(--fw-regular) var(--h1-hero)/.98 var(--disp);
  letter-spacing: -.012em;
  text-wrap: balance;
  text-shadow: 0 2px 28px var(--navy-900-a35);
  color: var(--ivory);
}

.hero h1 .dot {
  color: var(--gold);
}

.hero-p {
  max-width: 42ch;
  margin: 20px 0 0;
  font-size: var(--text-lead);
  line-height: 1.55;
  color: var(--ivory-a88);
}

.hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: clamp(28px, 4vw, 48px);
}

/* ------------------------------------------------------------ search card */

.qs {
  width: min(100%, 940px);
}

.qs-card {
  overflow: hidden;
  background: var(--legacy-surface-a96);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-top-color: var(--gold);
  border-radius: var(--r);
  box-shadow: var(--shadow-search);
}

.qs-tabs {
  position: relative;
  display: flex;
  border-bottom: 1px solid var(--rule);
}

.qs-tabs button {
  margin-bottom: -1px;
  padding: 17px 24px 15px;
  border-bottom: 2px solid transparent;
  font: var(--fw-semibold) 12.5px/1 var(--ui);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--dur-quick) var(--ease-out);
}

.qs-tabs button:hover {
  color: var(--ink);
}

.qs-tabs button[aria-selected="true"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Sliding indicator (hero.js places it under the active tab); without JS the
   active tab's own border shows instead. */
.qs-ind {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: var(--ind-w, 0);
  height: 2px;
  background: var(--gold);
  transform: translateX(var(--ind-x, 0));
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--dur) var(--ease-in-out), width var(--dur) var(--ease-in-out);
}

.qs-tabs.has-ind .qs-ind {
  visibility: visible;
}

.qs-tabs.has-ind button[aria-selected="true"] {
  border-bottom-color: transparent;
}

/* The form and the "Vinde" call to action, and the two budget lists, are
   panes stacked in one grid cell (m-stack, motion.css): the card keeps the
   form's height in both states. The budget lists only cross-fade. */
.qs-budget .m-pane.off {
  transform: none;
}

.qs-budget {
  display: grid;
}

.qs form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: stretch;
}

.qs .cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  padding: 16px 22px;
  border-right: 1px solid var(--rule);
}

.qs label {
  font: var(--fw-semibold) var(--text-label)/1 var(--ui);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--muted);
}

/* Borderless select (native or the custom combobox button) with ui.Select's
   gold chevron at the right edge; its list reaches out to the cell's padding. */
.qs .sel {
  --sel-panel-inset: 15px;
}

.qs select,
.qs .sel-btn {
  width: 100%;
  padding: 4px 22px 4px 0;
  border: 0;
  background: transparent;
  font: var(--fw-medium) var(--text-body)/1.3 var(--ui);
  color: var(--ivory);
  appearance: none;
  cursor: pointer;
}

.qs .sel-chev {
  right: 0;
}

.qs .sel-btn:hover,
.qs .sel.is-open .sel-btn {
  color: var(--white);
}

.qs form .btn {
  min-height: 100%;
  padding: 0 32px;
  border: 0;
  border-radius: 0;
  white-space: nowrap;
}

/* Sized by the form it is stacked with (contain: size: it adds no height of
   its own), its content centred in the form's box; on one-row (desktop)
   layouts its vertical padding goes so it fits that row. */
.qs-sell {
  contain: size;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 8px 22px;
}

.qs-sell p {
  max-width: 30ch;
  margin: 0;
  font: var(--fw-regular) 23px/1.25 var(--disp);
  color: var(--ivory);
}

/* ---------------------------------------------------------- search by code */

.qs-code {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  margin-top: 14px;
  font-size: var(--text-sm);
  color: var(--ivory-a88);
}

.qs-code .lnk {
  font-weight: var(--fw-semibold);
  color: var(--on-navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.qs-code form {
  display: flex;
}

.qs-code input {
  width: 170px;
  min-height: 42px;
  padding: 0 14px;
  background: var(--navy-900-a85);
  color: var(--ivory);
  border: 1px solid var(--rule-strong);
  border-right: 0;
  border-radius: var(--r-sm) 0 0 var(--r-sm);
  font: var(--fw-medium) var(--text-md) var(--ui);
}

/* .qs form .btn (above) wins over this one's height and padding, as in the
   mockup; only the font size applies. */
.qs-code .btn {
  min-height: 42px;
  padding: 0 18px;
  font-size: var(--text-sm);
}

.qs-code form .btn {
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

/* ----------------------------------------------------------- photo caption */

.hero-cap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 8px 0;
  border-bottom: 1px solid var(--gold-a75);
  font: var(--fw-medium) var(--text-xs)/1.3 var(--ui);
  letter-spacing: .06em;
  text-align: right;
  text-decoration: none;
  text-shadow: 0 1px 12px var(--navy-900-a70);
  color: var(--on-navy);
}

.hero-cap b {
  font-weight: var(--fw-semibold);
  color: var(--gold);
}

.hero-cap svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.hero-cap:hover {
  border-bottom-color: var(--gold);
}

@media (max-width: 960px) {
  .qs form {
    grid-template-columns: 1fr 1fr;
  }

  .qs .cell {
    border-bottom: 1px solid var(--rule);
  }

  .qs .cell:nth-child(2) {
    border-right: 0;
  }

  .qs form .btn {
    grid-column: 1 / -1;
    min-height: 56px;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: max(560px, 78vh);
  }

  .hero::before {
    background: linear-gradient(180deg, var(--navy-800-a90) 0%, var(--navy-800-a66) 42%, var(--navy-800-a30) 72%, var(--navy-800-a55) 100%);
  }

  .hero-in {
    justify-content: flex-start;
    padding-top: 40px;
    padding-bottom: 28px;
  }

  .hero-p {
    font-size: var(--text-body);
  }

  .hero-row {
    flex-direction: column;
    align-items: stretch;
    margin-top: 28px;
  }

  .qs form {
    grid-template-columns: 1fr;
  }

  .qs .cell {
    border-right-width: 0;
  }

  .qs-tabs button {
    flex: 1;
    padding: 15px 6px 13px;
    font-size: 11.5px;
    letter-spacing: .1em;
  }

  .hero-cap {
    align-self: flex-start;
    margin-left: 0;
    text-align: left;
  }
}

/* ---- internal/views/home/how.css ---- */
/* "Cum lucrăm" (home.How). Mockup: .a-steps3. */

.steps3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps3 li {
  padding-top: 26px;
  border-top: 1px solid var(--gold);
  text-align: center;
}

.steps3 .n {
  font: italic var(--fw-regular) 40px/1 var(--disp);
  color: var(--gold-ink);
}

.steps3 h3 {
  margin: 14px 0 10px;
  font: var(--fw-regular) 27px/1.15 var(--disp);
}

.steps3 p {
  max-width: 34ch;
  margin: 0 auto;
  font-size: var(--text-md);
  color: var(--muted);
}

@media (max-width: 760px) {
  .steps3 {
    grid-template-columns: 1fr;
  }
}

/* ---- internal/views/home/owner_band.css ---- */
/* Owner band (home.OwnerBand). Mockup: .a-band, .a-band-in. */

.band {
  color: var(--on-navy);
  border-block: 1px solid var(--rule);
}

.band-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  padding-block: clamp(56px, 7vw, 96px);
}

.band-in .acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.band h2 {
  margin: 18px 0 0;
  font: var(--fw-regular) var(--h2-band)/1.1 var(--disp);
  letter-spacing: .07em;
  text-transform: uppercase;
  text-wrap: balance;
}

.band p {
  max-width: 52ch;
  margin: 18px 0 0;
  color: var(--on-navy-muted);
}

.band .eyebrow {
  color: var(--gold);
}

@media (max-width: 760px) {
  .band-in {
    grid-template-columns: 1fr;
  }
}

/* ---- internal/views/home/recent.css ---- */
/* "Proprietăți noi" (home.Recent). Mockup: .a-grid. The cards are
   ui.DevelopmentCard and ui.ListingCard. */

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

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

@media (max-width: 640px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

/* ---- internal/views/home/search_request.css ---- */
/* "Spune-ne ce cauți" (home.SearchRequest). Mockup: .a-req, .a-req-form (the
   confirmation is ui.FormDone). */

.req {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
}

/* The form and its confirmation are panes (.req-main is m-swap, motion.css). */
.req-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
}

.req-form .full {
  grid-column: 1 / -1;
}

/* Mockup: inline margins on the segmented control and the chips. */
.req-form .seg {
  margin-top: 8px;
}

.req-form .chips {
  margin-top: 10px;
}

@media (max-width: 860px) {
  .req {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .req-form {
    grid-template-columns: 1fr;
  }
}

/* ---- internal/views/home/services.css ---- */
/* Services (home.Services). Mockup: .a-serv, .a-svc3, .a-svc, .a-svc-more. */

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

/* Main service card (graphite surface: lighter gold ink). */
.svc {
  --gold-ink: var(--surface-gold-ink);
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: clamp(28px, 3vw, 40px);
  background: var(--surf);
  border: 1px solid transparent;
  border-radius: var(--r-tile);
  transition: transform var(--dur-slow) ease, border-color var(--dur-slow) ease, box-shadow var(--dur-slow) ease;
}

.svc:hover {
  transform: translateY(-4px);
  border-color: var(--gold-a60);
  box-shadow: var(--shadow-lift);
}

.svc .ic {
  display: block;
  color: var(--gold);
}

.svc .ic svg {
  width: 44px;
  height: 44px;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svc h3 {
  margin: 32px 0 0;
  font: var(--fw-medium) clamp(26px, 2.3vw, 32px)/1.1 var(--disp);
  color: var(--ivory);
}

.svc .sub {
  margin: 8px 0 0;
  font-size: var(--text-md);
  color: var(--surface-muted);
}

.svc .tx {
  margin: 20px 0 28px;
  padding-top: 20px;
  border-top: 1px solid var(--surface-rule);
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--surface-muted);
}

.svc .link {
  margin-top: auto;
  align-self: flex-start;
  color: var(--ivory);
}

.svc .link:hover {
  color: var(--gold);
}

/* Other services: three columns of name, short line and text. */
.svc-more {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
  margin-top: 56px;
  border-top: 1px solid var(--rule);
}

.svc-more div {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}

.svc-more h4 {
  margin: 0;
  font: var(--fw-medium) 22px/1.15 var(--disp);
  color: var(--ivory);
}

.svc-more small {
  display: block;
  margin-top: 8px;
  font: var(--fw-semibold) var(--text-label)/1.3 var(--ui);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}

.svc-more p {
  margin: 10px 0 0;
  font-size: 14.5px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .svc3,
  .svc-more {
    grid-template-columns: 1fr;
  }

  .svc {
    min-height: 0;
  }
}

/* ---- internal/views/home/types.css ---- */
/* "Ce fel de proprietate cauți?" (home.Types). Mockup: .a-types. */

.types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
  border-top: 1px solid var(--rule-strong);
}

.types a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto 24px;
  align-items: baseline;
  gap: 16px;
  width: 100%;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  text-decoration: none;
  color: inherit;
}

.types .ix {
  font: var(--fw-semibold) var(--text-eyebrow)/1 var(--ui);
  letter-spacing: .1em;
  color: var(--gold-ink);
}

.types .nm {
  font: var(--fw-medium) 28px/1.1 var(--disp);
}

.types .ct {
  font-size: var(--text-sm);
  white-space: nowrap;
  color: var(--muted);
}

.types svg {
  align-self: center;
  color: var(--gold-ink);
  transition: transform var(--dur-fast);
}

.types a:hover svg {
  transform: translateX(4px);
}

.types a:hover .nm {
  font-style: italic;
  color: var(--gold);
}

@media (max-width: 760px) {
  .types {
    grid-template-columns: 1fr;
  }
}

/* ---- internal/views/home/want.css ---- */
/* "Ce vrei să faci?" (home.Want). Mockup: .a-want, .a-want-grid (graphite
   tiles; list rows under 540px). */

/* The section's own top padding (the band above is the hero photo). */
.sec.want {
  --pad-top: clamp(64px, 8vw, 112px);
}

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

.want-grid a {
  --gold-ink: var(--surface-gold-ink);
  --muted: var(--surface-muted);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 230px;
  padding: 28px 26px 26px;
  background: var(--surf);
  border: 1px solid transparent;
  border-radius: var(--r-tile);
  text-align: left;
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur), border-color var(--dur), background var(--dur);
}

.want-grid .ix {
  font: italic var(--fw-regular) 22px/1 var(--disp);
  color: var(--gold-ink);
}

.want-grid .t {
  margin-top: 14px;
  font: var(--fw-regular) clamp(26px, 2.3vw, 32px)/1.08 var(--disp);
}

.want-grid .s {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}

.want-grid .go {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-top: auto;
  border: 1px solid var(--gold);
  border-radius: var(--r-pill);
  color: var(--gold-ink);
  transition: transform var(--dur-fast);
}

.want-grid a:hover {
  border-color: var(--gold-a60);
  color: var(--ivory);
  transform: translateY(-3px);
}

.want-grid a:hover .s {
  color: var(--on-navy-muted);
}

.want-grid a:hover .ix,
.want-grid a:hover .go {
  color: var(--gold);
}

.want-grid a:hover .go {
  transform: translateX(4px);
}

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

@media (max-width: 540px) {
  .want-grid {
    grid-template-columns: 1fr;
  }

  .want-grid a {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 42px;
    align-items: center;
    column-gap: 14px;
    row-gap: 4px;
    min-height: 0;
    padding: 20px 18px;
  }

  /* As rendered by the mockup: the last tile loses its (transparent) bottom
     border, so it is 1px shorter. */
  .want-grid a:last-child {
    border-bottom: 0;
  }

  .want-grid .ix {
    grid-row: 1 / 3;
  }

  .want-grid .t {
    margin: 0;
    font-size: 25px;
  }

  .want-grid .s {
    grid-column: 2;
  }

  .want-grid .go {
    grid-column: 3;
    grid-row: 1 / 3;
    margin: 0;
  }
}

/* ---- internal/views/pages/status.css ---- */
/* Status pages (pages.Status): under construction, 404. */

.status {
  min-height: 56vh;
}

.status .sec-head {
  margin-bottom: 0;
}

