/* The Ruzicka Hotel Team's site. The look is the team's own from its listing pages: navy, a pale grey, light serif capitals
   for headings (Cormorant Garamond) over Inter. One warm brass marks what is a step or a status; nothing else is coloured. */
:root {
  --navy: #002855;
  --navy-deep: #001a3a;
  --fog: #d8dad9;
  --fog-soft: #f1f2f2;
  --ink: #0e1a2b;
  --ink-soft: #46536a;
  --line: rgba(14, 26, 43, .14);
  --brass: #8a6a24;
  --paper: #ffffff;
  --f-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 44px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.6 var(--f-body); color: var(--ink); background: var(--paper); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #f0b429; outline-offset: 2px; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: var(--navy); padding: 10px 14px; z-index: 20; }
.skip:focus { left: 8px; top: 8px; }

h1, h2 { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: .035em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); margin-bottom: 14px; }
h3 { font: 600 1.06rem/1.3 var(--f-body); }
.lede { font-size: clamp(1.06rem, 1.5vw, 1.22rem); line-height: 1.55; color: var(--ink-soft); margin-top: 18px; max-width: 62ch; }
.sub { color: var(--ink-soft); margin: -4px 0 22px; max-width: 62ch; }
.fine { font-size: .9rem; color: var(--ink-soft); margin-top: 14px; }
.more { margin-top: 22px; font-weight: 600; }
.plain { list-style: none; display: grid; gap: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 22px; border: 1.5px solid var(--navy); border-radius: 3px;
  background: var(--navy); color: #fff; font: 600 .97rem/1.2 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn-quiet, .btn-line { background: transparent; color: var(--navy); }
.btn-quiet:hover { background: var(--fog-soft); border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--fog); border-color: var(--fog); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* The bar */
.bar { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 10; }
.bar-in { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.bar-logo { display: block; flex: none; line-height: 0; }
.bar-logo img { width: 186px; filter: brightness(0) invert(1); }
.bar-nav { display: flex; gap: 4px; margin-left: auto; }
.bar-nav a, .bar-call { color: #fff; text-decoration: none; font-size: .93rem; font-weight: 500; padding: 8px 10px; border-radius: 3px; white-space: nowrap; }
.bar-nav a:hover, .bar-call:hover { background: rgba(255, 255, 255, .12); }
.bar-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 #fff; border-radius: 0; }
.bar-acts { display: flex; align-items: center; gap: 10px; }
.bar .btn-line { color: #fff; border-color: rgba(255, 255, 255, .7); min-height: 40px; padding: 8px 16px; }
.bar .btn-line:hover { background: #fff; color: var(--navy); border-color: #fff; }
.bar-menu { display: none; position: relative; }
.bar-menu summary { list-style: none; width: 44px; height: 44px; display: grid; align-content: center; justify-items: center; gap: 5px; cursor: pointer; border-radius: 3px; }
.bar-menu summary::-webkit-details-marker { display: none; }
.bar-menu summary span { display: block; width: 22px; height: 2px; background: #fff; }
.bar-menu nav { position: absolute; right: 0; top: 52px; min-width: 250px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0, 20, 50, .22); padding: 8px; display: grid; }
.bar-menu nav a { color: var(--ink); text-decoration: none; padding: 12px 14px; font-weight: 500; border-radius: 3px; }
.bar-menu nav a:hover { background: var(--fog-soft); }
@media (max-width: 980px) { .bar-nav { display: none; } .bar-acts { margin-left: auto; } .bar-menu { display: block; } }
@media (max-width: 420px) { .bar-logo img { width: 150px; } }

/* The home page's opening: the five states, each a way in */
.hero { background: var(--navy); color: #fff; padding: clamp(40px, 7vw, 84px) 0 clamp(44px, 7vw, 88px); }
.hero-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero .lede { color: rgba(255, 255, 255, .86); }
.hero-cap { text-align: center; font-size: .9rem; color: rgba(255, 255, 255, .78); margin-top: 6px; }
@media (max-width: 860px) { .hero-two { grid-template-columns: minmax(0, 1fr); } }

/* A silent film behind a section: its still first, the film over it once the script adds it; a navy wash keeps the words readable */
.has-video { position: relative; overflow: hidden; isolation: isolate; }
.bg-video { position: absolute; inset: 0; z-index: -1; }
.bg-video img, .bg-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bg-video video { opacity: 0; transition: opacity .8s ease; }
.bg-video video.is-playing { opacity: 1; }
.bg-video::after { content: ""; position: absolute; inset: 0; }
.hero .bg-video::after { background: linear-gradient(100deg, rgba(0, 26, 58, .93) 0%, rgba(0, 32, 70, .82) 46%, rgba(0, 40, 85, .5) 100%); }
.band-navy .bg-video::after { background: rgba(0, 22, 50, .72); }
.hero.has-video { background: var(--navy-deep); }
.hero.has-video .map-state path { fill: rgba(0, 26, 58, .5); stroke: rgba(255, 255, 255, .9); }
.hero.has-video h1 { text-shadow: 0 2px 24px rgba(0, 16, 40, .5); }
.band-navy.has-video { padding: clamp(64px, 9vw, 120px) 0; }
@media (prefers-reduced-motion: reduce) { .bg-video video { display: none; } }

/* The five states */
.five-states { display: block; width: 100%; }
.map-state path { fill: var(--fog-soft); stroke: var(--navy); stroke-width: 1.4; stroke-linejoin: round; transition: fill .15s ease; }
.map-state .map-name { font: 600 15px var(--f-body); fill: var(--navy); text-anchor: middle; pointer-events: none; }
.map-state .map-note { font: 500 12.5px var(--f-body); fill: var(--ink-soft); text-anchor: middle; pointer-events: none; }
.map-state:hover path, .map-state:focus-visible path, .map-state.is-current path { fill: var(--navy); }
.map-state:hover text, .map-state:focus-visible text, .map-state.is-current text { fill: #fff; }
.map-state:focus-visible { outline: none; }
.map-state:focus-visible path { stroke: #f0b429; stroke-width: 3; }
.hero .map-state path { fill: rgba(255, 255, 255, .09); stroke: rgba(255, 255, 255, .8); }
.hero .map-state .map-name { fill: #fff; }
.hero .map-state .map-note { fill: rgba(255, 255, 255, .8); }
.hero .map-state:hover path, .hero .map-state:focus-visible path { fill: #fff; }
.hero .map-state:hover .map-name, .hero .map-state:focus-visible .map-name { fill: var(--navy); }
.hero .map-state:hover .map-note, .hero .map-state:focus-visible .map-note { fill: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .map-state path { transition: none; } }

/* Page tops and bands */
.top { padding: clamp(36px, 6vw, 72px) 0 clamp(30px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.top-two { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 60px); align-items: start; }
.crumbs { font-size: .9rem; color: var(--ink-soft); margin-bottom: 14px; }
.band { padding: clamp(40px, 6vw, 76px) 0; }
.band-fog { background: var(--fog-soft); }
.band-navy { background: var(--navy); color: #fff; }
.band-navy a:not(.btn) { color: #fff; }
.call { text-align: center; }
.call p { margin: 14px auto 24px; max-width: 60ch; color: rgba(255, 255, 255, .88); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 5vw, 60px); }
.two h2 + p, .two p + p { margin-top: 10px; }
.two h2:not(:first-child) { margin-top: 28px; }
@media (max-width: 860px) { .top-two, .two { grid-template-columns: minmax(0, 1fr); } }

/* The record, under the home page's opening */
.strip { border-bottom: 1px solid var(--line); }
.strip .record { margin-top: 0; border-top: 0; }
.strip .record div { padding: 20px 18px 16px 0; }

/* Three ways in */
.ways { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.ways li + li { border-left: 1px solid var(--line); }
.ways a { display: block; height: 100%; padding: 28px 26px 30px; text-decoration: none; color: var(--ink); }
.ways a:hover { background: var(--navy); color: #fff; }
.ways h2 { font-size: 1.6rem; margin-bottom: 8px; color: inherit; }
.ways p { color: inherit; opacity: .82; }
@media (max-width: 760px) { .ways { grid-template-columns: minmax(0, 1fr); } .ways li + li { border-left: 0; border-top: 1px solid var(--line); } }

/* Steps: a real sequence, so numbered */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px 30px; margin-top: 26px; }
.steps li { counter-increment: step; padding-top: 14px; border-top: 2px solid var(--navy); }
.steps li::before { content: counter(step); font: 500 1.9rem/1 var(--f-display); color: var(--brass); display: block; margin-bottom: 8px; }
.steps p { color: var(--ink-soft); margin-top: 6px; font-size: .97rem; }
.top .steps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.top .steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; border-top: 1px solid var(--line); }
.top .steps li::before { grid-row: span 2; margin: 0; }

/* A state's market today */
.now { border: 1px solid var(--line); border-top: 3px solid var(--navy); padding: 22px 24px; background: #fff; }
.now h2 { font-size: 1.35rem; }
.now p + p { margin-top: 10px; font-weight: 600; }
.top .steps + .now { margin-top: 28px; }

/* State cards and links */
.state-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 20px; }
.state-cards a { display: block; height: 100%; padding: 20px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.state-cards a:hover { border-color: var(--navy); box-shadow: inset 0 3px 0 var(--navy); }
.state-cards h3 { color: var(--navy); margin-bottom: 6px; }
.state-cards p { font-size: .93rem; color: var(--ink-soft); }
.state-links ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.state-links a { font-weight: 600; }

/* Listings */
.lst-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; margin-top: 22px; }
.lst a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.lst a:hover { border-color: var(--navy); }
.lst-photo { position: relative; aspect-ratio: 3 / 2; background: var(--fog); display: grid; place-items: center; color: var(--ink-soft); font-size: .9rem; overflow: hidden; }
.lst-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lst-status { position: absolute; left: 0; top: 14px; padding: 5px 12px; background: var(--navy); color: #fff; font-size: .8rem; font-weight: 600; }
.lst-under_contract { background: var(--brass); }
.lst-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.lst-body h3, .lst-body h2 { font: 600 1.12rem/1.3 var(--f-body); text-transform: none; letter-spacing: 0; margin: 0; }
.lst-where, .lst-facts { font-size: .93rem; color: var(--ink-soft); }
.lst-price { margin-top: 6px; }
.lst-go { margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.empty { border: 1px solid var(--line); padding: clamp(24px, 4vw, 44px); background: var(--fog-soft); }
.empty p { margin-top: 10px; max-width: 62ch; }

/* Closed sales and the record */
.closed { list-style: none; border-top: 1px solid var(--line); }
.closed li { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cl-name { font-weight: 600; } .cl-where, .cl-facts { color: var(--ink-soft); } .cl-facts { text-align: right; }
@media (max-width: 600px) { .closed li { grid-template-columns: minmax(0, 1fr); gap: 2px; } .cl-facts { text-align: left; } }
.record { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; margin-top: 30px; border-top: 2px solid var(--navy); }
.record div { padding: 16px 18px 4px 0; }
.record dt { font-size: .9rem; color: var(--ink-soft); }
.record dd { font: 500 2.3rem/1.1 var(--f-display); color: var(--navy); }

/* Reports */
.rp-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 20px; }
.rp a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px 22px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.rp a:hover { border-color: var(--navy); box-shadow: inset 0 3px 0 var(--navy); }
.rp-meta { display: flex; justify-content: space-between; gap: 10px; font-size: .86rem; color: var(--ink-soft); }
.rp-meta span { font-weight: 600; color: var(--brass); }
.rp h3, .rp h2 { font: 600 1.08rem/1.3 var(--f-body); text-transform: none; letter-spacing: 0; margin: 0; color: var(--navy); }
.rp-sum { font-size: .95rem; color: var(--ink-soft); }
.rp-states { margin-top: auto; font-size: .86rem; color: var(--ink-soft); }
.post .top { border-bottom: 0; padding-bottom: 6px; }
.post-kind { font-weight: 600; color: var(--brass); margin-bottom: 8px; }
.post h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.post-by { margin-top: 14px; color: var(--ink-soft); font-size: .95rem; }
.post .rs-body { margin-bottom: clamp(40px, 6vw, 72px); }

/* People */
.pp-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 20px; }
.pp { border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.pp-photo { display: block; aspect-ratio: 1; background: var(--fog); overflow: hidden; }
.pp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-photo span { display: grid; place-items: center; width: 100%; height: 100%; font: 500 3.4rem/1 var(--f-display); color: var(--navy); letter-spacing: .04em; }
.pp-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.faces { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.faces a { display: block; text-decoration: none; color: var(--ink); }
.faces .pp-photo { margin-bottom: 8px; }
.faces b { display: block; font-weight: 600; }
.faces small { color: var(--ink-soft); font-size: .86rem; }
.faces a:hover b { text-decoration: underline; }
.bio-photo { width: min(100%, 300px); margin-bottom: 22px; }
.pp h3 { font: 500 1.5rem/1.15 var(--f-display); text-transform: uppercase; letter-spacing: .03em; }
.pp h3 a { text-decoration: none; } .pp h3 a:hover { text-decoration: underline; }
.pp-title { font-weight: 600; font-size: .93rem; }
.pp-sum { color: var(--ink-soft); font-size: .95rem; }
.pp-reach { margin-top: auto; padding-top: 10px; font-size: .93rem; overflow-wrap: anywhere; }
.who { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.who li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.who-name { font-weight: 600; font-size: 1.05rem; }
.who span { grid-column: 1; color: var(--ink-soft); font-size: .93rem; }
.who a[href^="tel"] { grid-column: 2; grid-row: 1; font-weight: 600; white-space: nowrap; }
.who a[href^="mailto"] { grid-column: 1 / -1; font-size: .93rem; overflow-wrap: anywhere; }
.prose p + p { margin-top: 16px; }
.prose { font-size: 1.06rem; }

/* Questions */
.faq { border-top: 1px solid var(--line); margin-top: 8px; }
.faq div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq dt { font-weight: 600; font-size: 1.08rem; color: var(--navy); }
.faq dd { margin-top: 8px; color: var(--ink-soft); }

/* The valuation form */
.form { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; scroll-margin-top: 90px; }
.form h2 { font-size: 1.6rem; margin: 0; }
.form-lede { color: var(--ink-soft); margin-top: -8px; }
.f-row { display: grid; gap: 6px; }
.f-row[hidden] { display: none; }
.f-row label, .f-set legend { font-weight: 600; font-size: .95rem; }
.f-row input, .f-row textarea { font: inherit; padding: 11px 12px; border: 1.5px solid #8793a6; border-radius: 3px; width: 100%; background: #fff; color: var(--ink); }
.f-row input:focus, .f-row textarea:focus { border-color: var(--navy); }
.f-row input[aria-invalid="true"], .f-set[aria-invalid="true"] { border-color: #b42318; }
.f-set { border: 1.5px solid transparent; padding: 0; margin: 0; display: grid; gap: 8px; }
.f-set[aria-invalid="true"] { padding: 8px; border-radius: 3px; }
.f-set label { display: flex; gap: 10px; align-items: flex-start; }
.f-set input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--navy); flex: none; }
.f-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 520px) { .f-two { grid-template-columns: minmax(0, 1fr); } }
.f-hp { position: absolute; left: -9999px; }
.f-error { color: #b42318; font-weight: 600; }
.f-fine { font-size: .88rem; color: var(--ink-soft); }
.form-done[hidden] { display: none; }

/* The foot */
.foot { background: var(--navy-deep); color: rgba(255, 255, 255, .86); padding: clamp(40px, 6vw, 64px) 0 26px; font-size: .93rem; }
.foot a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 30px; }
.foot-who img { width: 190px; filter: brightness(0) invert(1); margin-bottom: 14px; }
.foot-who p + p { margin-top: 12px; }
.foot h2 { font: 600 .95rem/1.3 var(--f-body); text-transform: none; letter-spacing: 0; color: #fff; margin-bottom: 10px; }
.foot ul { list-style: none; display: grid; gap: 7px; }
.foot ul a { text-decoration: none; } .foot ul a:hover { text-decoration: underline; }
.foot-fine { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .86rem; }
@media (max-width: 980px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-who { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }
