/* Palette: asphalt, concrete, sheet white, parking-stripe yellow, steel blue. */
:root {
  --asphalt: #22272b;
  --asphalt-soft: #4a5258;
  --concrete: #e6e8e9;
  --concrete-line: #c5cacd;
  --sheet: #ffffff;
  --stripe: #295fc1;
  --teal: #295fc1;
  --steel: #1d4f6e;
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--concrete);
  color: var(--asphalt);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.5;
}

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }

a { color: var(--steel); }
a:focus-visible { outline: 3px solid var(--stripe); outline-offset: 3px; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 2; background: var(--asphalt); color: #fff; }
.top-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 2rem; padding-top: 0.7rem; padding-bottom: 0.7rem; }
.top a { color: #fff; text-decoration: none; }
.top .name { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: 0.01em; }
.top nav { display: flex; flex-wrap: wrap; gap: 0.2rem 1.4rem; font-size: 0.95rem; }
.top nav a { border-bottom: 2px solid transparent; }
.top nav a:hover { border-bottom-color: var(--stripe); }

/* Hero */
.hero { background: var(--asphalt); color: #fff; padding: 3.5rem 0 0; }
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.005em;
  margin: 0;
  max-width: 22ch;
}
.hero .lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 38rem; margin: 1.5rem 0 0; color: #dfe3e5; }
.hero { padding: 1.5rem 0 3rem; }
.hero .concept { margin-bottom: 2.25rem; }
.hero .concept img { border-radius: 2px; }
.hero .concept figcaption { color: #aeb6ba; font-size: 0.9rem; max-width: none; }

/* Specifications panel, after the style of the example graphic. */
.specs { background: #0c0e10; color: #fff; padding: 3rem 0 3.5rem; }
.specs-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem 4rem; align-items: center; }
@media (min-width: 52rem) { .specs-grid { grid-template-columns: 1.4fr 1fr; } }
.specs h2 { display: inline-block; padding-bottom: 0.6rem; border-bottom: 3px solid var(--teal); margin-bottom: 1.75rem; }
.spec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; font-size: 1.2rem; }
.spec-list li { display: grid; grid-template-columns: 2.2rem 1fr; gap: 1rem; align-items: center; }
.spec-list svg { width: 2.2rem; height: 2.2rem; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.spec-note { margin: 1.75rem 0 0; color: #aeb6ba; font-size: 0.98rem; max-width: 34rem; }
.diagram svg { display: block; width: 100%; max-width: 20rem; margin: 0 auto; font-family: var(--body); }
.diagram figcaption { text-align: center; color: #aeb6ba; max-width: none; }
.diagram .bay { fill: none; stroke: #fff; stroke-width: 2.5; }
.diagram .bath { fill: var(--teal); stroke: #fff; stroke-width: 1.5; }
.diagram .door { fill: none; stroke: #fff; stroke-width: 1.5; }
.diagram .swing { fill: none; stroke: #fff; stroke-width: 1.2; }
.diagram .dim path { stroke: #fff; stroke-width: 1.2; fill: none; }
.diagram .dim-t { fill: #fff; font-size: 15px; font-weight: 600; }
.diagram .lbl { fill: #fff; font-size: 11px; }
.diagram .lbl.big { font-size: 17px; font-weight: 600; }

/* Drawing sheets */
.sheet { background: var(--sheet); padding: 2.5rem 0 3.5rem; }
figure { margin: 0; }
figure img { display: block; width: 100%; height: auto; }
figure a { display: block; border: 1px solid var(--concrete-line); }
figcaption { margin-top: 0.75rem; font-size: 0.95rem; color: var(--asphalt-soft); max-width: 46rem; }

/* Interactive site map */
.map-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
@media (min-width: 60rem) { .map-grid { grid-template-columns: 1fr 19rem; } }
.map-frame { position: relative; border: 1px solid var(--concrete-line); background: #fff; }
#map { display: block; width: 100%; height: auto; }
#bays polygon { fill: var(--teal); fill-opacity: 0.16; stroke: var(--teal); stroke-width: 3; cursor: pointer; transition: fill-opacity 0.15s; }
#bays polygon:hover { fill-opacity: 0.4; }
#bays polygon.on { fill-opacity: 0.55; stroke: var(--asphalt); stroke-width: 4; }
#bays polygon.office { fill: var(--asphalt-soft); stroke: var(--asphalt-soft); }
#bays polygon:focus-visible { outline: none; stroke: var(--asphalt); stroke-width: 6; }
#map-reset { position: absolute; top: 0.75rem; left: 0.75rem; }
button { font: inherit; cursor: pointer; }
button:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
#map-reset { background: var(--asphalt); color: #fff; border: 0; padding: 0.5rem 0.9rem; }
#bay-panel { background: var(--asphalt); color: #fff; padding: 1.25rem 1.25rem 1.4rem; min-height: 19rem; }
#bay-panel h3 { font-family: var(--display); font-weight: 600; font-size: 2.2rem; line-height: 1; margin: 0; }
#bay-panel .where { margin: 0.2rem 0 1rem; color: #b9c0c4; }
#bay-panel p { margin: 0.75rem 0 0; }
#bay-panel dl { border-top: 3px solid var(--teal); }
#bay-panel dl > div { grid-template-columns: 7rem 1fr; gap: 0 0.75rem; padding: 0.55rem 0; border-bottom-color: #4a5258; font-size: 0.98rem; }
#bay-picker { margin-top: 1rem; display: grid; gap: 0.5rem; }
.pick-group { display: grid; grid-template-columns: 5.5rem repeat(5, 1fr); gap: 0.3rem; align-items: center; font-size: 0.92rem; }
.pick-group button { background: #fff; color: var(--asphalt); border: 1px solid var(--concrete-line); padding: 0.4rem 0; font-variant-numeric: tabular-nums; }
.pick-group button:hover { border-color: var(--teal); }
.pick-group button[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); font-weight: 600; }
.map-note { margin: 1rem 0 0; font-size: 0.95rem; color: var(--asphalt-soft); max-width: 46rem; }

/* Fact bands */
.band { padding: 3.5rem 0; }
.band.alt { background: #d9dcde; }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1; margin: 0 0 1.25rem; }
.intro { max-width: 40rem; margin: 0 0 1.75rem; }

.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 40rem; background: var(--sheet); }
th, td { text-align: left; vertical-align: top; padding: 0.85rem 1rem; border-bottom: 1px solid var(--concrete-line); }
thead th { background: var(--asphalt); color: #fff; font-weight: 500; font-size: 0.95rem; border-bottom: 0; }
tbody th { font-weight: 600; }
tfoot th, tfoot td { font-weight: 600; border-bottom: 0; border-top: 2px solid var(--asphalt); }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sub { display: block; font-weight: 400; font-size: 0.92rem; color: var(--asphalt-soft); white-space: normal; }
td.num .sub { color: inherit; font-size: inherit; white-space: nowrap; }

.two { display: grid; grid-template-columns: 1fr; gap: 0 3rem; }
@media (min-width: 52rem) { .two { grid-template-columns: 14rem 1fr; } }
dl { margin: 0; border-top: 2px solid var(--asphalt); }
dl > div { display: grid; grid-template-columns: 1fr; gap: 0.15rem 2rem; padding: 0.85rem 0; border-bottom: 1px solid var(--concrete-line); }
@media (min-width: 36rem) { dl > div { grid-template-columns: 11rem 1fr; } }
.band.alt dl > div { border-bottom-color: #b9bfc3; }
dt { font-weight: 600; }
dd { margin: 0; max-width: 38rem; }

/* Floor plans */
.plans { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 52rem) { .plans { grid-template-columns: 0.52fr 1fr 1fr; } }

footer { background: var(--asphalt); color: #fff; padding: 2rem 0 2.5rem; }
footer p { margin: 0; }
footer .fine { margin-top: 0.4rem; font-size: 0.92rem; color: #b9c0c4; }

/* Brand: logo header and footer, logo blue as the accent. */
.top { background: #fff; color: var(--asphalt); border-bottom: 1px solid var(--concrete-line); }
.top a { color: var(--asphalt); }
.top-row { align-items: center; }
.top .name { display: flex; align-items: center; gap: 0.7rem; letter-spacing: 0; }
.top .name img { height: 2.6rem; width: auto; }
.top .name span { display: grid; line-height: 1.05; }
.top .name b { font-family: var(--body); font-weight: 600; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.02em; }
.top .name i { font-family: var(--body); font-style: normal; font-weight: 500; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--teal); }
.top nav a:hover { border-bottom-color: var(--teal); }
.pick-group button[aria-pressed="true"] { color: #fff; }
.specs h2, #bay-panel dl { border-color: #4f86ee; }
.diagram .bath { fill: var(--teal); }
footer { background: #fff; color: var(--asphalt); border-top: 1px solid var(--concrete-line); }
footer .foot-logo { display: block; width: 13rem; height: auto; margin-bottom: 1.25rem; }
footer .fine { color: var(--asphalt-soft); }
/* Hero without the concept image; the image now has its own band lower down. */
.hero { padding: 4rem 0 3.5rem; }
.concept-band { background: var(--asphalt); color: #fff; padding: 3.5rem 0; }
.concept-band .concept img { border-radius: 2px; }
.concept-band .concept figcaption { color: #aeb6ba; font-size: 0.9rem; max-width: none; }
/* Inquiry form */
.top nav a.cta { background: var(--teal); color: #fff; padding: 0.35rem 0.8rem; border-bottom: 0; }
.inquire form { display: grid; gap: 1.1rem; max-width: 44rem; }
.inquire .row { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 36rem) { .inquire .row { grid-template-columns: 1fr 1fr; } }
.inquire label { display: grid; gap: 0.3rem; font-weight: 600; }
.inquire .opt, .inquire .req { font-weight: 400; font-size: 0.88rem; color: var(--asphalt-soft); }
.inquire input[type=text], .inquire input[type=email], .inquire input[type=tel], .inquire select, .inquire textarea {
  font: inherit; font-weight: 400; padding: 0.6rem 0.7rem; border: 1px solid #9aa2a7; background: #fff; color: var(--asphalt); width: 100%; border-radius: 0;
}
.inquire input:focus-visible, .inquire select:focus-visible, .inquire textarea:focus-visible { outline: 3px solid var(--teal); outline-offset: 1px; }
.inquire fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.inquire legend { font-weight: 600; padding: 0; margin-bottom: 0.5rem; }
.inquire .check { display: flex; align-items: center; gap: 0.45rem; font-weight: 400; }
.inquire .check input { width: 1.1rem; height: 1.1rem; accent-color: var(--teal); }
.inquire button[type=submit] { justify-self: start; background: var(--teal); color: #fff; border: 0; padding: 0.8rem 1.6rem; font-weight: 600; font-size: 1.05rem; }
.inquire input.bad { border-color: #b3261e; border-width: 2px; }
#inquiry-status { margin: 0; min-height: 1.5rem; }
#bay-panel .ask { display: inline-block; margin-top: 1rem; background: var(--teal); color: #fff; border: 0; padding: 0.6rem 1rem; font-weight: 600; text-decoration: none; }
/* Real photos */
.hero { padding: 1.5rem 0 3.5rem; }
.hero-photo { margin-bottom: 2.25rem; }
.hero-photo img { border-radius: 2px; }
.hero-photo figcaption { color: #aeb6ba; font-size: 0.9rem; max-width: none; }
.photo-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
@media (min-width: 52rem) { .photo-grid { grid-template-columns: 1fr 1fr; } .photo-grid .render { grid-column: 1 / -1; } }
.photo-grid img { aspect-ratio: 4 / 3; object-fit: cover; }
.photo-grid .render img { aspect-ratio: auto; object-fit: contain; background: #fff; padding: 1.5rem; }
.hero-photo img { aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 62%; }

@media (min-width: 52rem) { .photo-grid { grid-template-columns: 1fr 1fr 1fr; } }

.inquire .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
