:root {
  --ink: #101418; --muted: #6b7480; --hair: #e6e9ec; --white: #ffffff;
  --blue: #3b5bdb; --rail: #1c2130; --rail-on: #262c3b; --rail-text: #b7bcc9;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif; font-size: 15px; line-height: 1.55; }
a { color: var(--ink); text-decoration: none; } a:hover { color: var(--blue); }
.disp { font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 400; }
img { max-width: 100%; display: block; }

/* shell: rail + content */
.shell { display: grid; grid-template-columns: 96px minmax(0, 1fr); min-height: 100vh; }
.rail { background: var(--rail); display: flex; flex-direction: column; align-items: center; padding: 18px 0; gap: 2px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.rail a { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 96px; padding: 11px 0; font-size: 11px; color: var(--rail-text); text-align: center; line-height: 1.2; }
.rail a:hover { color: #fff; } .rail a.on { color: #fff; background: var(--rail-on); }
.rail .brand { margin-bottom: 12px; font-weight: 500; letter-spacing: 0.5px; }
.rail .sep { height: 1px; width: 48px; background: #343b4d; margin: 12px 0; }
.tile { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: none; }
.tile svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.main { display: flex; flex-direction: column; min-width: 0; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 56px; border-bottom: 1px solid var(--hair); }
.top .name { font-size: 16px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.chips a { padding: 7px 13px; border: 1px solid #dfe3e8; white-space: nowrap; }
.chips a.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* headings */
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 44px 56px 24px; }
.head h1 { margin: 0; font-size: 44px; line-height: 1.1; max-width: 720px; }
.head h1 em { font-style: italic; }
.head .aside { font-size: 13px; color: var(--muted); text-align: right; line-height: 1.6; }
.section-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.wrap { padding: 0 56px 72px; }

/* mosaic */
.mosaic { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 250px; gap: 16px; }
.card { position: relative; display: block; overflow: hidden; background: #d9e2e8; grid-column: span 2; color: #fff; }
.card:hover { color: #fff; } .card:hover img { transform: scale(1.03); }
.card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .6s ease; }
.card.big { grid-column: span 4; grid-row: span 2; } .card.tall { grid-row: span 2; }
.card .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; display: flex; flex-direction: column; gap: 5px; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.62) 100%); }
.card .t { font-size: 22px; line-height: 1.12; } .card.big .t { font-size: 34px; } .card.tall .t { font-size: 26px; }
.card .m { font-size: 13px; opacity: .9; } .card .p { font-size: 28px; font-weight: 500; letter-spacing: -0.5px; }
.card .p small { font-size: 13px; font-weight: 400; opacity: .85; margin-left: 6px; }
.card .tag { position: absolute; top: 18px; left: 20px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 10px; border: 1px solid rgba(255,255,255,.65); background: rgba(0,0,0,.15); }
.card.noimg { background: linear-gradient(200deg, #cfe3ea 0%, #7fb0bf 50%, #2f6674 100%); }
.empty { padding: 48px 0; color: var(--muted); }

/* deal page */
.hero { position: relative; height: 520px; background: #d9e2e8; overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero.noimg { background: linear-gradient(200deg, #cfe3ea 0%, #7fb0bf 50%, #2f6674 100%); }
.deal { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; padding: 40px 56px 72px; }
.deal h1 { margin: 6px 0 10px; font-size: 42px; line-height: 1.1; }
.deal .sub { font-size: 15px; color: var(--muted); margin: 0 0 28px; }
.body { font-size: 16px; line-height: 1.7; } .body p { margin: 0 0 18px; } .body h2 { font-size: 22px; margin: 28px 0 10px; } .body ul { padding-left: 20px; }
.pricebox { position: sticky; top: 24px; border: 1px solid var(--hair); padding: 26px 28px; display: flex; flex-direction: column; gap: 6px; }
.pricebox .from { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.pricebox .price { font-size: 44px; line-height: 1; margin: 4px 0 2px; }
.pricebox .cab { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.facts { width: 100%; border-collapse: collapse; font-size: 14px; }
.facts td { padding: 9px 0; border-top: 1px solid var(--hair); vertical-align: top; }
.facts td:first-child { color: var(--muted); width: 44%; padding-right: 12px; }
.btn { display: block; text-align: center; background: var(--ink); color: #fff; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; padding: 15px 20px; margin-top: 18px; }
.btn:hover { background: var(--blue); color: #fff; }
.note { font-size: 12px; color: var(--muted); line-height: 1.6; margin-top: 14px; }
.dates { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.dates span { border: 1px solid var(--hair); padding: 6px 12px; font-size: 13px; }

/* finder + forms */
form.f label { display: block; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin: 16px 0 6px; }
form.f input, form.f select { width: 100%; font: inherit; font-size: 15px; padding: 11px 12px; border: 1px solid #dfe3e8; background: #fff; color: var(--ink); border-radius: 0; }
form.f input:focus, form.f select:focus { outline: 2px solid var(--blue); outline-offset: 0; }
form.f button { border: 0; cursor: pointer; width: auto; display: inline-block; }
.finder-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; margin-bottom: 36px; }
.prose { max-width: 720px; font-size: 16px; line-height: 1.7; } .prose p { margin: 0 0 18px; } .prose h2 { font-size: 22px; margin: 30px 0 10px; }

footer { margin: 0 56px; padding: 22px 0 40px; border-top: 1px solid var(--hair); font-size: 13px; color: var(--muted); line-height: 1.6; }
footer a { color: var(--muted); }

/* mobile */
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .rail { position: static; height: auto; flex-direction: row; overflow-x: auto; padding: 8px 6px; gap: 0; -webkit-overflow-scrolling: touch; }
  .rail a { width: auto; min-width: 72px; padding: 8px 4px; }
  .rail .brand, .rail .sep { display: none; }
  .top { padding: 16px 20px; } .top .name { font-size: 13px; }
  .head { padding: 26px 20px 16px; } .head h1 { font-size: 30px; } .head .aside { text-align: left; }
  .wrap { padding: 0 14px 40px; }
  .mosaic { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 12px; }
  .card, .card.big, .card.tall { grid-column: span 1; grid-row: span 1; height: 240px; } .card.big { height: 300px; }
  .card .t, .card.big .t, .card.tall .t { font-size: 22px; } .card .p { font-size: 24px; }
  .hero { height: 300px; }
  .deal { grid-template-columns: 1fr; gap: 28px; padding: 22px 20px 48px; } .deal h1 { font-size: 30px; }
  .pricebox { position: static; }
  .finder-grid { grid-template-columns: 1fr; }
  footer { margin: 0 20px; }
}

/* namerete-mi */
[hidden] { display: none !important; }
.askme-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; padding: 10px 16px; border: 1px solid var(--ink); }
.askme-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.askme-link:hover { background: var(--ink); color: #fff; }
.head .aside .askme-link { margin-top: 6px; }
form.ask { max-width: 640px; }
form.ask .q { font-size: 28px; margin: 0 0 18px; }
.tabs { display: flex; gap: 0; border: 1px solid #dfe3e8; width: max-content; max-width: 100%; margin-bottom: 18px; }
.tab { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; padding: 11px 18px; background: #fff; color: var(--muted); border: 0; cursor: pointer; }
.tab svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tab.on { background: var(--ink); color: #fff; }
form.ask textarea { width: 100%; font: inherit; font-size: 15px; line-height: 1.55; padding: 12px; border: 1px solid #dfe3e8; border-radius: 0; resize: vertical; min-height: 130px; }
form.ask textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; }
form.ask .hint { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.recbox { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; border: 1px solid #dfe3e8; padding: 18px; }
.recbtn { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; padding: 13px 20px; background: #e3455a; color: #fff; border: 0; cursor: pointer; }
.recbtn svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.recbtn.stop { background: var(--ink); }
.tm { font-variant-numeric: tabular-nums; font-size: 15px; color: var(--muted); }
.recbox audio { width: 100%; max-width: 360px; }
.linkbtn { font: inherit; font-size: 13px; background: none; border: 0; padding: 0; color: var(--blue); cursor: pointer; text-decoration: underline; }
.recbox .st { width: 100%; margin: 0; font-size: 13px; color: var(--muted); }
form.ask .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
form.ask .hp { position: absolute; left: -9999px; }
form.ask .err { color: #c0304a; font-size: 14px; margin: 14px 0 0; }
form.ask .btn { width: 100%; margin-top: 22px; }
.dicrow { display: flex; justify-content: flex-end; margin-top: 6px; }
.linkbtn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; vertical-align: -2px; margin-right: 5px; }
.linkbtn.live { color: #e3455a; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.done .q { font-size: 28px; margin: 0 0 12px; }
@media (max-width: 900px) { form.ask .two { grid-template-columns: 1fr; } .tabs { width: 100%; } .tab { flex: 1; justify-content: center; } }
