/* Hallmark · theme: custom · genre: modern-minimal · scope: page · posture: restrained
   job: lease standing space from the company that owns it
   hero: stage
   nav: the RAYIM wordmark left, sentence case links at the right; the catalog carries one kind of space, so the header carries three links at 14 px on a phone, and below 360px the contact link drops out and two remain. Where a catalog carries both kinds the two kind links stand in for the first, and the page's own sticky bar carries the Inquire button, which every page with a bar has
   footer: two columns, the full logo at the left, the leasing office heading over the leasing email at the right, the three list links under it and the one note under those
   display: Jost 500, text and interface: Hanken Grotesk 400 500 600 */

/* Hallmark · waive 59 · a 108 px gap sits between the open list and the two panels under it · 96 px of section padding and the 12 px the tile stack leaves between one surface and the next, and the bands either side keep 128 px */
/* Hallmark · waive 77 · five blocks, hero, tile stack, open list, two panels and footer · LOOK.md sets this home page order, and a sixth block would be a heading with nothing under it */
/* Hallmark · waive 83 · photographs cover 59 percent of the page under the hero · each tile is a building on the market with its own picture, and the open list adds one thumbnail for the one space open */
/* Hallmark · waive 85 · both closing panels take one email field · the leasing email sits in the footer under its own heading, which is where a tenant acts */
/* Hallmark · waive 88 · three header links at 14 px on a phone · Open now, Agents and Contact hold one row at 360 and 390 wide, the size the look sheet sets for the header, and Contact drops out below 360px so two remain at 320 */
/* Hallmark · waive 89a · the email field sits 64 px inside a 22 px panel corner · the two curves never meet, and the field keeps the drawn edge every other field on the site uses */
/* Hallmark · waive 96a · the figures under each hero are building facts, not a time series · square feet, floors, residences and rent from have no earlier period to sit against */
/* Hallmark · answered F1 · the house rules for this practice say straight quotes only, so the apostrophe in the leasing line stays */

/* Tokens. Every colour, face, radius, shadow and length this sheet paints with. */
:root {
  --color-paper: #FAFAF8;
  --color-tile: #F2F1EE;
  --color-ink: #1C1B19;
  --color-night: #0F0F0E;
  --color-night-raise: #1B1A18;
  --color-muted: #66635D;
  --color-muted-night: #A9A59C;
  --color-line: #E1DFD9;
  --color-line-night: #2F2D2A;
  --color-gold: #8A691D;
  --color-gold-bright: #DDB85C;
  /* The photograph under a heading and a link is measured, not judged. The top stop
     holds the heaviest scrim this look allows over a picture and the mid stop sits one
     step under it, so light text keeps 4.5 to 1 against the tenth brightest pixel of
     whatever the frame puts behind it. */
  --scrim-night-top: rgba(15, 15, 14, 0.5);
  --scrim-night-mid: rgba(15, 15, 14, 0.28);
  --scrim-night-end: rgba(15, 15, 14, 0);
  /* A tile frame is 680px tall against a hero's 900px, so the words of a tile stand at
     22 to 32 per cent of its own height and land where a gradient that clears by 58 per
     cent has thinned to its mid stop. Measured at 1440 against the tenth percentile of
     the pixels behind them, the tile words read 2.82 to 1 on a link with the hero's
     values and 5.21 to 1 with these, so the tile form keeps a deeper scrim and its own
     clearing points. The home hero, a building hero and the two list heroes take
     `--scrim-night-top` and `--scrim-night-mid` at 32 and 58 per cent. */
  --scrim-night-top-tile: rgba(15, 15, 14, 0.62);
  --scrim-night-mid-tile: rgba(15, 15, 14, 0.48);
  /* A tile whose photograph was shot in golden hour carries ink words instead of white
     ones, and ink words need paper under them rather than night. The paper scrim stands
     over the sky end of the frame, where the words of a tile stand, and is gone by 44
     percent down so the building keeps its own colour below them. Measured at 1440 and
     at 390 against the tenth percentile of the pixels behind the ink words of the two
     paper tiles: 12.28 to 1 and 10.86 to 1 at these values. */
  --scrim-paper-top: rgba(250, 250, 248, 0.7);
  --scrim-paper-mid: rgba(250, 250, 248, 0.45);
  --scrim-paper-end: rgba(250, 250, 248, 0);
  --edge-field-night: rgba(250, 250, 248, 0.42);
  --color-error: #8E2F1F;

  --font-display: "Jost", sans-serif;
  --font-body: "Hanken Grotesk", sans-serif;

  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --space-96: 96px;
  --space-128: 128px;
  --space-160: 160px;
  /* A place a sheet of this site leaves empty is written, not left out, so the space
     under a block is a value of the same kind as the space above it. */
  --gap-none: 0;
  /* The one step between 16 and 24, for the room a heading keeps over the block under
     it. Written here because a sheet may hold only one bare zero and no other bare
     length. */
  --sp-20: 20px;

  --radius-control: 10px;
  --radius-field: 8px;
  --radius-card: 16px;
  --radius-tile: 22px;
  --shadow-raise: 0 1px 2px rgba(28, 27, 25, 0.05), 0 10px 14px -10px rgba(28, 27, 25, 0.12);

  --text-nav-phone: 14px;
  --text-small: 15px;
  --text-link-small: 16px;
  --text-button: 16px;
  --text-caption: 16px;
  --text-body: 17px;
  --text-field: 17px;
  --text-strong: 18px;
  --text-lead: 19px;
  --text-table-title: 20px;
  --text-bar-title: 20px;
  --text-tile-line: 21px;
  --text-hero-line: 22px;
  --text-contact: 22px;
  --text-spec-label: 22px;
  --text-duo: 32px;
  --text-row-name: 24px;
  --text-foot-head: 32px;
  --text-tile-phone: 32px;
  --text-section-phone: 36px;
  --text-hero-phone: 40px;
  --text-head-small: 44px;
  --text-section: 48px;
  --text-tile-title: 56px;
  --text-hero: 88px;
  --text-figure: 64px;

  --track-display: -0.015em;
  --caret-line: 2px;
  --caret-size: 9px;

  --wrap-max: 1360px;
  --frame-max: 1680px;
  --wrap-pad: 24px;
  --wrap-pad-wide: 40px;
  --frame-edge: var(--space-12);
  --hair: 1px;

  /* The header mark is the traced wordmark file, 1026 by 366. Measured off that file: the
     capital letters of RAYIM fill 0.427 of its height and their centre sits 0.269 of its
     height below its centre, the gold ray taking all the room above them.
     The two values below are the phone ones; 760px and up takes 17 to 20 and 63 to 76. */
  --head-h: 63px;
  --mark-cap: 17px;
  --mark-letters: 0.427;
  --mark-ray: 0.269;
  --mark-h: calc(var(--mark-cap) / var(--mark-letters));
  --mark-shift: calc(var(--mark-h) * var(--mark-ray));
  --bar-h: 60px;
  --bar-pad: var(--space-8);
  --btn-h: 48px;
  --btn-h-small: 44px;
  --switch-h: 54px;
  --field-h: 52px;
  --tap-h: 44px;
  --btn-pad-x: 22px;
  --link-gap: var(--space-24);
  --link-gap-phone: var(--space-16);
  --tile-link-gap: 28px;
  --grid-gap: var(--space-32);
  --wide-gap: var(--space-96);
  --head-gap: var(--space-32);
  --head-gap-phone: 18px;
  --bar-link-gap: 28px;
  --panel-pad: var(--space-32);
  --panel-pad-phone: var(--space-24);
  --row-pad: 28px;
  --fig-pad: 40px;
  --foot-mark-w: 240px;
  --gap-line: 20px;
  --gap-cta: 28px;
  --thumb-w: 176px;
  --thumb-h: 112px;
  --thumb-w-phone: 104px;
  --thumb-h-phone: 72px;
  --thumb-shift: var(--gap-line);
  --cell-gap: var(--space-16);
  /* The five widths the open list's columns take. They are written here rather than on
     the head cells alone because a list of one row paints its column heads out, and the
     row it leaves behind still needs the five widths the heads carried. */
  --col-space: 30%;
  --col-property: 20%;
  --col-kind: 13%;
  --col-size: 16%;
  --col-rent: 21%;
  --check-size: 24px;
  --spec-label-w: 280px;
  --hero-top: var(--space-48);
  --hero-top-phone: var(--space-32);
  --hero-pad-phone: var(--space-12);
  --hero-line-max: 44em;
  --tile-top: 56px;
  --tile-top-phone: 40px;
  --chapter-shift: 56px;
  --row-h: 148px;
  --section-band: var(--space-128);
  --section-band-phone: var(--space-64);
  --section-figures: var(--space-96);
  --section-figures-phone: var(--space-48);
  --suites-top: var(--space-160);
  --suites-bottom: var(--space-128);
  /* Both allowances carry the header and the sticky bar, so both grew with them. A
     property hero gives up `--space-24` beyond that, which is the room the band under it
     needs to show its own top edge at the foot of a 1440 by 900 window. */
  --hero-h: min(calc(100svh - 113px), 780px);
  --hero-h-property: min(calc(100svh - 141px - var(--space-24)), 760px);
  --hero-h-min: 520px;
  --hero-h-property-min: 500px;
  --tile-h-full: 680px;
  --tile-h-half: 600px;
  --phone-tile-h: 620px;
  --phone-hero-h: 640px;

  --z-bar: 30;
  --fig-cols: repeat(4, auto);
  --fig-cols-phone: repeat(2, minmax(0, 1fr));
  /* A building's figures take one column each and no more room than they need: the box
     holds its own width rather than the page's, and 96 px of column gap from 760px. */
  --figs-max: 90rem;
  --figs-gap-y: 32px;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/hanken-grotesk-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/hanken-grotesk-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/hanken-grotesk-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

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

html { overflow-x: clip; }

body {
  margin: 0;
  overflow-x: clip;
  background-color: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

::selection { background-color: var(--color-gold); color: var(--color-paper); }

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

figure { margin: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Jump link, off the page until the keyboard reaches it */

.skip-link {
  position: absolute;
  top: var(--space-12);
  left: var(--space-12);
  z-index: 60;
  padding: var(--space-12) var(--space-24);
  border-radius: var(--radius-control);
  background-color: var(--color-ink);
  color: var(--color-paper);
  font-size: var(--text-body);
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* Ground and measure */

.band { padding: var(--section-band) 0; }
.band--night { background-color: var(--color-night); color: var(--color-paper); }
.band--tile { background-color: var(--color-tile); color: var(--color-ink); }

.container {
  width: 100%;
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding-inline: var(--wrap-pad);
}

.tile-frame {
  width: 100%;
  max-width: var(--frame-max);
  margin-inline: auto;
  padding-inline: var(--frame-edge);
}

/* Headings and prose */

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: var(--track-display);
  text-wrap: balance;
  overflow-wrap: break-word;
  min-width: 0;
}

h1 { line-height: 1.02; }
h2 { line-height: 1.06; }
h3 { line-height: 1.1; }

p { margin: 0; }

/* Running lines keep their last line company */

.hero__line,
.chapter__text,
.duo__text,
.split__text,
.tile__line,
.figures__caption,
.inquire__text,
.inquire__owner,
.signup__text,
.site-foot__note {
  text-wrap: pretty;
}

.muted { color: var(--color-muted); }

/* Links and buttons */

a { color: var(--color-gold); }

.link {
  display: inline-block;
  color: var(--color-gold);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: var(--hair);
  text-underline-offset: 4px;
  white-space: nowrap;
}
.link:hover { text-decoration: none; }
.link--bright { color: var(--color-gold-bright); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--btn-h);
  padding-inline: var(--btn-pad-x);
  border: var(--hair) solid transparent;
  border-radius: var(--radius-control);
  background-color: transparent;
  font-family: var(--font-body);
  font-size: var(--text-button);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.btn--ink { background-color: var(--color-ink); color: var(--color-paper); }
.btn--ink:hover { background-color: var(--color-muted); color: var(--color-paper); }
.btn--ink:active { background-color: var(--color-night); color: var(--color-paper); }
.btn--paper { background-color: var(--color-paper); color: var(--color-ink); }
.btn--paper:hover { background-color: var(--color-tile); color: var(--color-ink); }
.btn--paper:active { background-color: var(--color-line); color: var(--color-ink); }
.btn--small { min-height: var(--btn-h-small); }
.btn--field { min-height: var(--field-h); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}
.band--night :focus-visible,
.hero :focus-visible,
.tile--dark :focus-visible,
.signup__panel :focus-visible {
  outline: 2px solid var(--color-gold-bright);
  outline-offset: 3px;
}

a:active { opacity: 0.75; }

/* Header */

.site-head {
  border-bottom: var(--hair) solid var(--color-line);
  background-color: var(--color-paper);
}
.site-head__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  column-gap: var(--head-gap);
  row-gap: var(--space-12);
  min-height: var(--head-h);
}

/* On a phone the margin below the image is the ray's room, so the letters land on the row's
   centre line and the ray rises above them. 760px and up centres the whole mark instead. */
.wordmark {
  margin-right: auto;
  margin-bottom: calc(var(--mark-shift) * 2);
}
.wordmark img {
  width: auto;
  height: var(--mark-h);
}

.site-head__nav {
  display: flex;
  /* The list of links never wraps: one row at any width, or the row under it lands on
     the photograph with nothing to hold it. */
  flex-wrap: nowrap;
  align-items: center;
  column-gap: var(--space-48);
  row-gap: var(--space-8);
}
.site-head__nav a {
  color: var(--color-ink);
  font-size: var(--text-small);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.site-head__nav a:hover { color: var(--color-gold); }
.site-head__cta { flex: none; }

/* Hero tile */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: var(--space-12);
  border-radius: var(--radius-tile);
  background-color: var(--color-night);
  color: var(--color-paper);
  height: var(--hero-h);
  min-height: var(--hero-h-min);
}
.hero--property { height: var(--hero-h-property); min-height: var(--hero-h-property-min); }

.hero picture,
.tile picture { display: contents; }

.hero__photo,
.tile__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero::after,
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero::after {
  background-image: linear-gradient(to bottom, var(--scrim-night-top), var(--scrim-night-mid) 32%, var(--scrim-night-end) 58%);
}
.tile::after {
  background-image: linear-gradient(to bottom, var(--scrim-night-top-tile), var(--scrim-night-mid-tile) 46%, var(--scrim-night-end) 84%);
}

/* The copy of a hero stands `--hero-top` below the top edge of its frame at every width,
   which is the one margin the look sheet gives it. Held to the foot of the frame instead,
   the words of a short hero landed below the middle of the window and its button onto the
   fold. */
.hero__body {
  display: grid;
  justify-items: center;
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding: var(--hero-top) var(--wrap-pad) var(--space-48);
  text-align: center;
}
.hero__title { font-size: clamp(var(--text-hero-phone), 7vw, var(--text-hero)); }
.hero__line {
  margin-top: var(--gap-line);
  margin-inline: auto;
  max-width: var(--hero-line-max);
  font-size: var(--text-hero-line);
  line-height: 1.45;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: var(--space-16);
  row-gap: var(--space-16);
  margin-top: var(--space-32);
}
.hero__call { margin-top: var(--gap-line); }
.hero--property .hero__line { margin-top: var(--space-16); }
.hero--property .hero__actions { margin-top: var(--gap-cta); }
.hero--property .hero__body { padding-top: var(--hero-top); }
.hero .link { color: var(--color-paper); }

/* Tile stack */

.tiles {
  display: grid;
  gap: var(--space-12);
  margin-top: var(--space-12);
  padding-bottom: var(--space-12);
}
.tile-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-12);
}

.tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-tile);
  background-color: var(--color-night);
  color: var(--color-paper);
}
.tile--full { height: var(--tile-h-full); }
.tile--half { height: var(--tile-h-half); }
/* A tile takes its ground from its own photograph. A frame shot at dusk carries white
   words over the night scrim; a frame shot in golden hour carries ink words over the
   paper scrim, and the catalog says which of the two it is by the role its tile frame
   carries. A building whose listing holds no tile frame falls back to its hero and
   stands on the night ground, which is the ground a tile is drawn with before any
   picture is known. */
.tile--dark { background-color: var(--color-night); color: var(--color-paper); }
.tile--dark .link { color: var(--color-paper); }
.tile--light { background-color: var(--color-tile); color: var(--color-ink); }
.tile--light::after {
  background-image: linear-gradient(to bottom, var(--scrim-paper-top), var(--scrim-paper-mid) 30%, var(--scrim-paper-end) 44%);
}
.tile--light .link { color: var(--color-ink); }
.tile--light :focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.tile__photo { display: block; }

.tile__body {
  padding: var(--tile-top) var(--space-24) 0;
  text-align: center;
}
.tile__name { font-size: clamp(var(--text-tile-phone), 3.9vw, var(--text-tile-title)); }
.tile__line {
  margin-top: var(--space-12);
  font-size: var(--text-tile-line);
  line-height: 1.45;
}
.tile__links {
  display: flex;
  justify-content: center;
  column-gap: var(--tile-link-gap);
  margin-top: var(--gap-line);
}
.tile__links .link {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-h);
  font-size: var(--text-body);
}
/* The whole tile is the first link's target, and Inquire sits above that hit area. */
.tile__links .link:first-child::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.tile__links .link:last-child { position: relative; z-index: 2; }

/* Open now */

.open-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  column-gap: var(--head-gap);
}
.open-head__title { font-size: var(--text-section); }

.switch {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  height: var(--switch-h);
  padding: var(--space-4);
  border: var(--hair) solid var(--color-line);
  border-radius: var(--radius-control);
  background-color: var(--color-paper);
}
/* The switch also works with scripts off, so its segments are links to
   /?kind=commercial#open rather than buttons only a script can press. */
.seg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-inline: var(--space-16);
  border: 0;
  border-radius: calc(var(--radius-control) - var(--space-4));
  background-color: transparent;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.seg:hover { background-color: var(--color-tile); color: var(--color-ink); }
.seg[aria-pressed="true"] { background-color: var(--color-ink); color: var(--color-paper); }
.seg[aria-pressed="true"]:hover { background-color: var(--color-ink); color: var(--color-paper); }
.seg:active { background-color: var(--color-line); color: var(--color-ink); }
.seg:disabled { opacity: 0.5; cursor: not-allowed; }

/* The open list keeps 96 px under it before the two panels start. */
#open { padding-bottom: var(--space-96); }

.open-list { margin-top: var(--space-32); }
.open-list table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-variant-numeric: tabular-nums;
}
.open-list caption { text-align: left; }

.open-list thead th {
  padding: 0 var(--cell-gap) var(--space-16) 0;
  border-bottom: var(--hair) solid var(--color-line);
  color: var(--color-muted);
  font-size: var(--text-small);
  font-weight: 500;
  text-align: left;
}
/* The width of one column of the open list. The `col` element of each column carries
   these classes, so the columns stand to the same widths whether the head that names
   them is in the layout or painted out. */
.col-space { width: var(--col-space); }
.col-property { width: var(--col-property); }
.col-kind { width: var(--col-kind); }
.col-size { width: var(--col-size); }
.col-rent { width: var(--col-rent); }

.open-list tbody tr {
  height: var(--row-h);
  border-bottom: var(--hair) solid var(--color-line);
}
.open-list tbody tr[hidden] { display: none; }
.open-list tbody td {
  padding: 0;
  vertical-align: middle;
  font-size: var(--text-body);
  font-weight: 400;
  text-align: left;
}
.open-list .cell-space {
  display: flex;
  align-items: center;
  gap: var(--thumb-shift);
  height: var(--row-h);
  padding-right: var(--cell-gap);
}
.open-list .thumb {
  flex: none;
  width: var(--thumb-w);
  height: var(--thumb-h);
  border-radius: var(--radius-control);
  object-fit: cover;
}
.open-list .cell-property { padding-right: var(--cell-gap); }
.open-list .cell-property__name { display: block; }
.open-list .cell-property__address {
  display: block;
  margin-top: var(--space-4);
  color: var(--color-muted);
  font-size: var(--text-small);
}
.open-list .cell-kind {
  padding-right: var(--cell-gap);
  color: var(--color-muted);
}
.open-list .cell-size,
.open-list .cell-rent {
  padding-right: var(--cell-gap);
  font-size: var(--text-table-title);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.open-list .cell-rent { padding-right: 0; }
.open-list .cell-rent.is-call { font-size: var(--text-body); font-weight: 500; }

.space {
  color: var(--color-ink);
  font-size: var(--text-table-title);
  font-weight: 600;
  text-decoration: none;
}
.space:hover { text-decoration: underline; text-decoration-thickness: var(--hair); text-underline-offset: 4px; }

/* Agents and updates, two panels on the raised night surface */

/* The 12 px under the panels keeps the footer's hairline out of their rounded corners. */
.signup {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-12);
  margin-top: var(--space-12);
  padding-bottom: var(--space-12);
}
.signup__panel {
  padding: var(--space-64);
  border-radius: var(--radius-tile);
  background-color: var(--color-night-raise);
  color: var(--color-paper);
}
.signup__title { font-size: var(--text-section); }
.signup__text { margin-top: var(--space-16); max-width: 30em; color: var(--color-muted-night); }
.signup__form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--space-12);
  margin-top: var(--gap-cta);
}
.signup__field {
  display: flex;
  flex: 1 1 240px;
  flex-direction: column;
}
.signup__label { margin-bottom: var(--space-8); font-size: var(--text-small); font-weight: 500; }
.signup__input {
  width: 100%;
  min-height: var(--field-h);
  padding: var(--space-12) var(--space-16);
  border: var(--hair) solid var(--edge-field-night);
  border-radius: var(--radius-field);
  background-color: transparent;
  color: var(--color-paper);
  font-family: var(--font-body);
  font-size: var(--text-field);
  caret-color: var(--color-paper);
}
.signup__input:hover { border-color: var(--color-muted-night); }
.signup__form .btn { flex: none; min-height: var(--field-h); }

/* Footer */

.site-foot {
  padding-top: var(--space-128);
  padding-bottom: var(--space-64);
  border-top: var(--hair) solid var(--color-line);
  background-color: var(--color-paper);
}
.site-foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--wide-gap);
}
.site-foot__mark { width: var(--foot-mark-w); height: auto; }
.site-foot__head { margin-bottom: var(--space-16); font-size: var(--text-foot-head); }
.site-foot__lines { display: grid; gap: var(--space-8); }
.site-foot__lines a {
  color: var(--color-gold);
  font-size: var(--text-contact);
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
  white-space: nowrap;
}
.site-foot__lines a:hover { text-decoration: underline; text-decoration-thickness: var(--hair); text-underline-offset: 4px; }
.site-foot__note { max-width: 34em; margin-top: var(--space-24); color: var(--color-muted); font-size: var(--text-small); }

/* Sticky property bar */

.prop-bar {
  position: sticky;
  top: 0;
  z-index: var(--z-bar);
  border-bottom: var(--hair) solid var(--color-line);
  background-color: var(--color-paper);
}
.prop-bar__row {
  display: flex;
  align-items: center;
  gap: var(--head-gap);
  min-height: calc(var(--bar-h) - var(--bar-pad) * 2);
  /* The bar paints its own ground, so its row carries the inset on all four edges:
     8 px above and below the line of links, and the container's side padding written
     out here so it belongs to the row and not only to the page ground behind it. */
  padding-top: var(--bar-pad);
  padding-bottom: var(--bar-pad);
  padding-left: var(--wrap-pad);
  padding-right: var(--wrap-pad);
}
/* The name and the address share a baseline and sit as one group at the left. */
.prop-bar__id {
  display: flex;
  align-items: baseline;
  gap: var(--space-24);
  margin-right: auto;
}
.prop-bar__name {
  font-family: var(--font-display);
  font-size: var(--text-bar-title);
  font-weight: 500;
  white-space: nowrap;
}
.prop-bar__address {
  color: var(--color-muted);
  font-size: var(--text-small);
  white-space: nowrap;
}
.prop-bar__nav {
  display: flex;
  align-items: center;
  column-gap: var(--bar-link-gap);
}
.prop-bar__nav a {
  color: var(--color-ink);
  font-size: var(--text-small);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.prop-bar__nav a:hover { color: var(--color-gold); }
.prop-bar__cta { flex: none; align-self: center; }

/* Figures */

.figures { padding: var(--section-figures) 0; }
.figures__box {
  padding: var(--fig-pad) var(--gap-none);
  border-top: var(--hair) solid var(--color-line);
  border-bottom: var(--hair) solid var(--color-line);
}
.figures__grid {
  display: grid;
  /* One column to a figure and only the room its own number needs, held to the left of
     the box and 96 px apart, so three figures read as three figures rather than as three
     of four equal rooms. Below 760px the same figures take two columns of what is left. */
  grid-template-columns: repeat(var(--fig-count, 4), auto);
  justify-content: start;
  column-gap: var(--space-96);
  row-gap: var(--figs-gap-y);
  width: fit-content;
  max-width: min(100%, var(--figs-max));
}
.figures__value {
  font-family: var(--font-display);
  font-size: clamp(var(--text-head-small), 4.5vw, var(--text-figure));
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: var(--track-display);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.figures__caption { margin-top: var(--space-8); color: var(--color-muted); font-size: var(--text-caption); }

/* Chapters */

.chapter__title { font-size: clamp(var(--text-head-small), 4.1vw, var(--text-section)); }
.chapter__text { margin-top: var(--gap-line); max-width: 30em; line-height: 1.5; }
.chapter--open .chapter__title { font-size: clamp(var(--text-head-small), 4.6vw, var(--text-tile-title)); max-width: 12em; }
/* The open chapter line holds one size at every width, so its leading is written in px. */
.chapter--open .chapter__text {
  font-size: var(--text-tile-line);
  line-height: 32px;
  color: var(--color-muted-night);
  max-width: 30em;
}
.chapter--open .photo-frame { margin-top: var(--chapter-shift); }
/* The open chapter stands on paper on a building with nothing listed, and the muted
   colour it carries by default is the one written for the night ground, which reaches
   little over 2 to 1 on paper. On paper the line takes the muted colour of paper. */
.chapter--paper .chapter__text { color: var(--color-muted); }

.photo-frame {
  overflow: hidden;
  border-radius: var(--radius-tile);
  aspect-ratio: 16 / 9;
}
.photo-frame--tall { aspect-ratio: 4 / 3; }
.photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo--left { object-position: left center; }
.photo--right { object-position: right center; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--grid-gap);
  align-items: center;
}
.split__text .chapter__text { font-size: var(--text-lead); max-width: 32em; line-height: 1.5; }
.split__text-body { margin-top: var(--space-16); }

/* Two rooms on one paper band, the first screen of a space */

.duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--grid-gap);
}
.duo__photo {
  overflow: hidden;
  border-radius: var(--radius-tile);
  aspect-ratio: 4 / 3;
}
.duo__title { margin-top: var(--space-24); font-size: var(--text-duo); }
.duo__text { margin-top: var(--space-8); font-size: var(--text-lead); line-height: 1.5; }

/* Open suites and open residences, one list beside one photograph.

   The two cells are one row of one grid, held to one top, with the list panel standing
   as tall as the list inside it: a panel held to the bottom of the row stretched to the
   photograph beside it and left its lower half empty with one row in it. Below the width
   the twelve-column grid takes, the two stack. */

.suites {
  padding-top: var(--suites-top);
  padding-bottom: var(--suites-bottom);
}
.suites__lead { margin-top: var(--space-12); color: var(--color-muted); font-size: var(--text-lead); }
.suites__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: stretch;
  gap: var(--grid-gap);
  margin-top: var(--space-48);
}
.suites__media {
  overflow: hidden;
  border-radius: var(--radius-tile);
  aspect-ratio: 4 / 3;
}
.suites__panel {
  display: flex;
  align-items: center;
  align-self: start;
  padding: var(--panel-pad);
  border-radius: var(--radius-card);
  background-color: var(--color-paper);
  box-shadow: var(--shadow-raise);
}
.suites__table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.suites__table caption { text-align: left; }
.suites__table thead th {
  padding: 0 var(--space-16) var(--space-12) 0;
  color: var(--color-muted);
  font-size: var(--text-small);
  font-weight: 500;
  text-align: left;
}
.suites__table tbody tr { border-top: var(--hair) solid var(--color-line); }
.suites__table tbody tr:last-child { border-bottom: var(--hair) solid var(--color-line); }
.suites__table th,
.suites__table td {
  padding: var(--space-24) var(--space-16) var(--space-24) 0;
  vertical-align: top;
  text-align: left;
}
.suites__table th:last-child,
.suites__table td:last-child { padding-right: 0; }
.suites__name {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-row-name);
  font-weight: 500;
  line-height: 1.15;
}
.suites__ask {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-h);
  margin-top: var(--space-8);
  color: var(--color-gold);
  font-size: var(--text-link-small);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: var(--hair);
  text-underline-offset: 4px;
}
.suites__ask:hover { text-decoration: none; }
.suites__value {
  color: var(--color-ink);
  font-size: var(--text-strong);
  font-weight: 600;
  white-space: nowrap;
}
/* The header row carries the labels while it is on screen */
.suites__label { display: none; }

/* Specification */

.spec { margin-top: var(--space-48); }
.spec__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: var(--space-8);
  column-gap: var(--grid-gap);
  padding: var(--row-pad) 0;
  border-bottom: var(--hair) solid var(--color-line-night);
}
.spec__row:first-child { border-top: var(--hair) solid var(--color-line-night); }
.spec dt { color: var(--color-paper); font-size: var(--text-spec-label); font-weight: 600; }
.spec dd { margin: 0; color: var(--color-muted-night); font-size: var(--text-lead); font-variant-numeric: tabular-nums; }

/* Inquiry */

.inquire__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--grid-gap);
}
.inquire__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-24);
  align-content: start;
}
.inquire__title { font-size: var(--text-section); }
.inquire__text { margin-top: var(--space-16); max-width: 32em; font-size: var(--text-lead); line-height: 1.5; }
.inquire__address { margin-top: var(--space-32); font-size: var(--text-contact); line-height: 1.45; }
.inquire__phone { margin-top: var(--space-8); font-size: var(--text-contact); line-height: 1.45; }
.inquire__phone a {
  color: var(--color-gold);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: var(--hair);
  text-underline-offset: 4px;
  white-space: nowrap;
}
.inquire__owner { margin-top: var(--space-24); color: var(--color-muted); font-size: var(--text-small); }

.form__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--grid-gap); }
.field { display: flex; flex-direction: column; }
.field__label { margin-bottom: var(--space-8); font-size: var(--text-small); font-weight: 500; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: var(--field-h);
  padding: var(--space-12) var(--space-16);
  border: var(--hair) solid var(--color-muted);
  border-radius: var(--radius-field);
  background-color: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-field);
  line-height: 1.5;
  caret-color: var(--color-ink);
}
.field textarea { min-height: 0; resize: vertical; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--color-ink); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--color-error); }
.field input:disabled,
.field select:disabled,
.field textarea:disabled { opacity: 0.5; cursor: not-allowed; }
.field input[type="date"]::-webkit-calendar-picker-indicator { border-radius: var(--space-4); }
.field input[type="date"]::-webkit-calendar-picker-indicator:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* The select draws its own caret, so the browser one is switched off. */
.select { position: relative; }
.select select {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: var(--tap-h);
}
.select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: var(--space-16);
  width: var(--caret-size);
  height: var(--caret-size);
  border-right: var(--caret-line) solid var(--color-ink);
  border-bottom: var(--caret-line) solid var(--color-ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
  font-size: var(--text-body);
}
.check input {
  flex: none;
  width: var(--check-size);
  height: var(--check-size);
  margin: var(--space-4) 0 0;
  accent-color: var(--color-ink);
}
.check label { cursor: pointer; }

/* One screen of motion, only with the script and only without reduced motion */

@media (prefers-reduced-motion: no-preference) {
  html.js .hero__photo { animation: hero-settle 1.4s var(--ease-out) both; }
  html.js [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  }
  html.js [data-reveal].is-in { opacity: 1; transform: translateY(0); }
}

@keyframes hero-settle {
  from { transform: scale(1.04); }
  to { transform: scale(1); }
}

/* 900px: the two panels, the two rooms, the twelve column list, the wide spec label */

@media (min-width: 900px) {
  :root { --wrap-pad: var(--wrap-pad-wide); }

  .site-foot__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: var(--wide-gap);
  }

  .signup,
  .duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

  .split,
  .inquire__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--grid-gap);
  }
  .split__media--seven { grid-column: 1 / 8; }
  .split__text--four { grid-column: 9 / 13; }
  .inquire__intro { grid-column: 1 / 6; }
  .inquire__form { grid-column: 7 / 13; }

  .spec__row {
    grid-template-columns: var(--spec-label-w) minmax(0, 1fr);
    align-items: baseline;
    row-gap: 0;
  }
}

@media (max-width: 899px) {
  .tile-row { grid-template-columns: minmax(0, 1fr); }
  .split__media--seven,
  .split__text--four,
  .inquire__intro,
  .inquire__form { grid-column: 1; }
}

/* 1280px: the open list of spaces sits beside its photograph. Below this the panel cannot
   hold a name, its ask link and three values on one line each, so the two stack. */

@media (min-width: 1280px) {
  .suites__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--grid-gap);
  }
  /* The picture no longer stands still while the list scrolls past it. A cell that
     holds its own height cannot also end where the cell beside it ends, and the two
     edges lining up is the thing the empty half of the panel asked for. */
  .suites__media { grid-column: 1 / 6; }
  .suites__panel { grid-column: 6 / 13; }
}

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

/* The open list columns, tuned to the room the table has at each width. The three last
   values are the same columns retuned, so a row of one keeps the widths its heads would
   have had at this width too. */

@media (min-width: 1000px) and (max-width: 1199px) {
  :root {
    --thumb-w: 104px;
    --thumb-h: 66px;
    --thumb-shift: var(--space-12);
    --cell-gap: var(--space-12);
    --col-kind: 14%;
    --col-size: 14%;
    --col-rent: 22%;
  }
}

/* 999px: the open list rows stack, so no size, rent or kind breaks mid-phrase */

@media (max-width: 999px) {
  .open-list table {
    display: block;
    width: 100%;
  }
  .open-list thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .open-list tbody { display: block; }
  .open-list tbody tr {
    display: grid;
    grid-template-columns: var(--thumb-w-phone) minmax(0, 1fr);
    column-gap: var(--space-12);
    row-gap: var(--space-12);
    align-items: center;
    height: auto;
    padding: var(--space-16) 0;
  }
  .open-list tbody td { display: block; padding: 0; }
  .open-list .cell-space { display: contents; }
  .open-list .thumb {
    grid-column: 1;
    grid-row: 1;
    width: var(--thumb-w-phone);
    height: var(--thumb-h-phone);
  }
  .open-list .space { grid-column: 2; grid-row: 1; }
  .open-list .cell-property { grid-column: 1 / -1; grid-row: 2; }
  .open-list .cell-kind {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: end;
    align-self: start;
    padding-right: 0;
    white-space: nowrap;
  }
  .open-list .cell-size,
  .open-list .cell-rent {
    grid-column: 1 / -1;
    grid-row: 3;
    white-space: nowrap;
  }
  .open-list .cell-size { justify-self: start; }
  .open-list .cell-rent { justify-self: end; }
}

@media (min-width: 760px) and (max-width: 999px) {
  :root { --thumb-w-phone: var(--thumb-w); --thumb-h-phone: var(--thumb-h); }
  .open-list tbody tr { column-gap: var(--thumb-shift); }
  .open-list .space,
  .open-list .cell-size,
  .open-list .cell-rent { font-size: var(--text-table-title); }
  .suites__media { aspect-ratio: 16 / 9; }
}

/* 760px: the switch drops, the list rows stack, the bar sheds its second link, the figures take
   two columns, the header links hold one row */

@media (max-width: 759px) {
  :root { --mark-shift: 8px; --foot-mark-w: 190px; }

  .site-head { padding: var(--space-8) 0; }
  .site-head__inner { min-height: 0; }
  .site-head__nav {
    order: 3;
    flex: 1 1 100%;
    flex-wrap: nowrap;
    justify-content: space-between;
    column-gap: var(--head-gap-phone);
  }
  .site-head__nav a { font-size: var(--text-nav-phone); }

  .open-head { display: block; }
  .switch { width: 100%; margin-top: var(--space-24); }

  .figures__grid {
    grid-template-columns: var(--fig-cols-phone);
    column-gap: var(--space-48);
    row-gap: var(--figs-gap-y);
  }
  .figures__cell--wide { grid-column: 1 / -1; }

  .prop-bar__row { column-gap: var(--space-16); }
  /* The name of the building is the longest thing in the bar and the button is the
     thing a reader comes to press. The name gives way and the button keeps its room:
     an unshrinkable name drove the button past the right edge, and the page clips its
     own overflow, so the control could not be reached or scrolled to. */
  .prop-bar__id { min-width: 0; }
  .prop-bar__name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .prop-bar__address { display: none; }
  .prop-bar__nav a + a { display: none; }
  .prop-bar__cta { padding-inline: var(--space-16); }

  .suites__panel { padding: var(--panel-pad-phone); }
  .suites__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .suites__table tbody tr {
    display: flex;
    flex-wrap: wrap;
    column-gap: var(--space-24);
    row-gap: var(--space-8);
    padding: var(--space-24) 0;
  }
  .suites__table th {
    flex: 1 1 100%;
    display: block;
    padding: 0;
  }
  .suites__table td {
    display: block;
    padding: 0;
    margin: 0;
  }
  .suites__label {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  .spec__row { grid-template-columns: minmax(0, 1fr); }
}

/* Below 480px a long building name, one section link and a button do not fit on one
   row. The bar's links point down the page the reader is already moving through, so the
   links go and the button stays. */

@media (max-width: 479px) {
  .prop-bar__nav { display: none; }
}

@media (max-width: 359px) {
  :root { --fig-cols-phone: minmax(0, 1fr); }

  .site-head__nav .nav-contact { display: none; }
  .open-list .cell-size,
  .open-list .cell-rent { font-size: var(--text-body); }
}

@media (min-width: 760px) {
  /* 760px and up: 20 px capital letters in a 76 px bar, which is the room the ray needs
     above them. Every height worked out from the header grew the same 13 px. */
  :root { --mark-cap: 20px; --head-h: 76px; }

  /* The bar holds the whole lockup, ray tip to baseline, so the mark is centred as drawn
     and the ray keeps clear of the top of the window. */
  .wordmark { margin-bottom: 0; }

  .form__row--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 700px: sections close up, the tiles stand tall and every tile's text sits in the sky */

@media (max-width: 700px) {
  :root {
    --section-band: var(--section-band-phone);
    --section-figures: var(--section-figures-phone);
    --suites-top: var(--space-96);
    --suites-bottom: var(--section-band-phone);
    --chapter-shift: var(--space-32);
    --tile-link-gap: var(--space-24);
  }

  .hero,
  .hero--property {
    height: var(--phone-hero-h);
    min-height: var(--phone-hero-h);
  }
  .tile--full,
  .tile--half { height: var(--phone-tile-h); }

  .hero__body,
  .hero--property .hero__body {
    padding: var(--hero-top-phone) var(--hero-pad-phone) var(--space-48);
  }
  .hero__title { font-size: var(--text-hero-phone); }
  .hero__actions { column-gap: var(--link-gap-phone); }
  /* The bar under the header carries the Inquire button at every width, so a phone does
     not also need the hero's copy of the same control. From 700px the hero carries it
     again, beside the link to the suites. */
  .hero--property .hero__actions .btn { display: none; }

  .tile__body { padding: var(--tile-top-phone) var(--space-16) 0; }
  .tile__name { font-size: var(--text-tile-phone); }
  .tile--dark::after {
    background-image: linear-gradient(to bottom, var(--scrim-night-top-tile), var(--scrim-night-mid-tile) 40%, var(--scrim-night-end) 68%);
  }
  /* The tall frame of a phone is sky over most of its height, so the paper scrim thins
     to nothing sooner than it does across a wide frame. */
  .tile--light::after {
    background-image: linear-gradient(to bottom, var(--scrim-paper-top), var(--scrim-paper-end) 40%);
  }

  .open-head__title,
  .chapter__title,
  .chapter--open .chapter__title,
  .inquire__title,
  .signup__title { font-size: var(--text-section-phone); }

  .signup__panel { padding: var(--space-32); }
}

/* ------------------------------------------------------------------
   Added 2026-12-04: the page for one space, the printable flyer, the
   agent list, updates, removal, the leased page, the missing page, a
   building with nothing open, and the state every form carries.
   Nothing above this line changed.
   ------------------------------------------------------------------ */

:root {
  /* A message on the night panel cannot take --color-error: it reaches 2.1 to 1 on
     night-raise, under the 4.5 to 1 this look holds every line to. The night ground
     already has one colour it uses to get attention, the accent ink of its links and
     its focus rings, and a message takes that. No colour is added. */
  --alert-night: var(--color-gold-bright);

  /* one space */
  --fig-list-gap: var(--space-32);
  --hero-h-page: min(calc(100svh - 141px), 500px);
  --hero-h-page-min: 420px;
  --hero-h-page-phone: 520px;
  /* A rent the office wrote at length is a line of words over a caption, so the
     first screen sets it one step under the figure size it sits beside. */
  --text-figure-long: 32px;

  /* a page of text and one form, no photograph */
  --leaf-top: var(--space-128);
  /* A page that ends in a line of links has no band under it to hold the reader before
     the footer, so it keeps the room a band would have taken. */
  --leaf-bottom: var(--space-128);
  --leaf-gap: var(--space-24);
  --leaf-max: 560px;

  /* the flyer sheet */
  --sheet-w: 8.5in;
  --sheet-h: 11in;
  --sheet-pad: 0.6in;
  --sheet-mark-w: 1.9in;
  /* The photograph on the sheet is the widest thing on it, so it sets how much sheet is
     left for the facts and the foot. On paper it takes a band rather than a frame. */
  --sheet-photo-ar: 16 / 9;
  --sheet-photo-ar-print: 2 / 1;
  --sheet-gap-mark: 12pt;
  --sheet-gap-photo: 16pt;
  --sheet-gap-name: 5pt;
  --sheet-sub-gap: 12pt;
  --sheet-gap-block: 20pt;
  /* The room between one row of figures and the next when they wrap on a narrow sheet:
     a caption must not touch the figure under it. */
  --sheet-gap-figure-row: 14pt;
  --sheet-gap-facts: 20pt;
  --sheet-row-pad: 7pt;
  --sheet-foot-pad: 10pt;
  --sheet-text-name: 30pt;
  --sheet-text-sub: 12pt;
  --sheet-text-figure: 22pt;
  --sheet-text-caption: 10pt;
  --sheet-text-fact: 10.5pt;
  --sheet-text-foot: 10pt;
  /* The office line is the way to a person on a sheet handed over in paper, so it is
     the strongest line at the foot. */
  --sheet-text-office: 12pt;
  --radius-sheet-photo: 12px;
}

/* What a form says back.

   A form carries data-state: idle, sent or failed. The block that takes the form's place
   names itself with data-sent, so one page can hold more than one of them. */

.inquire__form[hidden],
.signup__form[hidden],
.panel-form[hidden] { display: none; }

.form__sent__title { font-size: clamp(var(--text-section-phone), 4.1vw, var(--text-section)); }
.form__sent__line { margin-top: var(--space-16); max-width: 32em; font-size: var(--text-lead); line-height: 1.5; }
.form__sent__link { margin-top: var(--space-24); }

.field__error,
.form__failed {
  color: var(--color-error);
  font-size: var(--text-small);
  line-height: 1.45;
}
.field__error { margin-top: var(--space-8); }
.form__failed { margin-bottom: var(--space-8); }
.band--night .field__error,
.band--night .form__failed,
.signup__panel .field__error,
.signup__panel .form__failed { color: var(--alert-night); }

.signup__input[aria-invalid="true"] { border-color: var(--alert-night); }
.signup__form .form__failed { flex: 1 1 100%; margin-bottom: 0; }
.signup__panel .form__sent__line { color: var(--color-muted-night); }

.inquire__office { margin-top: var(--space-32); font-size: var(--text-contact); line-height: 1.45; }

.field__hint { margin-top: var(--space-8); color: var(--color-muted); font-size: var(--text-small); line-height: 1.45; }

/* The page for one space */

.space-head__figures {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--fig-list-gap);
  margin-top: var(--space-32);
}
/* Both figures of the first screen are the figures of a building page, at its size and
   with the same split of number and words. Words outgrow a column, so a value wraps
   inside its column instead of running past it: two lines for a rate with its terms
   after it, three for a rent the office wrote as a sentence. A clamped value is cut by
   its own box, and the drawn face reaches past a line set this tight: the foot of a g or
   a y falls 0.2em below the last line. That much room is given under the lines and taken
   straight back with the margin, so the descenders keep their feet without the band
   growing. */
.space-head__figures .figures__value {
  font-size: var(--text-figure);
  line-height: 1.08;
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
  /* These two figures are set at display size here rather than inheriting the size of
     the band they stand in, so the tabular figures are written out again. */
  font-variant-numeric: tabular-nums;
  white-space: normal;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.space-head__figures .figures__value--long {
  font-size: var(--text-figure-long);
  font-variant-numeric: tabular-nums;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
.space-head__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: var(--space-16);
  row-gap: var(--space-16);
  margin-top: var(--space-32);
}
.spec--space { margin-top: 0; }
.photos__grid { margin-top: var(--space-48); }

/* A first screen two thirds the height of a building hero */

.hero--page {
  height: var(--hero-h-page);
  min-height: var(--hero-h-page-min);
}
/* An interior first screen on a photograph takes the hero title's own clamp, the same
   size a building's name takes over its own frame, and the ground under it keeps the
   sky of the file: the frame is far wider in proportion than the file is, and an image
   held to its foot loses the sky and puts the shopfronts behind the words. */
.hero--page .hero__title {
  max-width: var(--wrap-max);
  font-size: clamp(var(--text-hero-phone), 7vw, var(--text-hero));
  text-wrap: balance;
}
.hero--page .hero__photo { object-position: center top; }

/* Agents, updates, one space, a leased page and a missing page: the name of an interior
   page is one line at the size a section heading takes, at every width. The display sizes
   are for the words that sit on a photograph, where the letters are the picture, and a
   first screen set on a photograph takes the hero's own clamp with them. */
.space-head__title,
.leaf__title {
  max-width: var(--wrap-max);
  font-size: var(--text-duo);
  text-wrap: balance;
}

/* Agents and updates: one column of plain lines, one raised form panel */

.page-form__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--grid-gap);
}
.page-form__line { color: var(--color-muted); font-size: var(--text-lead); line-height: 1.5; max-width: 30em; }
.page-form__link { margin-top: var(--space-24); }
.band--night .page-form__line { color: var(--color-muted-night); }

.panel-form {
  display: grid;
  gap: var(--space-24);
  /* The panel of the updates page is a flex row, so the form inside it is a flex item
     and would otherwise take the width of its own fields rather than the panel's. */
  width: 100%;
  margin-top: var(--gap-cta);
}

/* A choice of two, the way the home page switch is set, on real radio inputs */

.choice {
  display: flex;
  gap: var(--space-4);
  height: var(--switch-h);
  padding: var(--space-4);
  border: var(--hair) solid var(--color-line);
  border-radius: var(--radius-control);
  background-color: var(--color-paper);
}
.choice__opt {
  position: relative;
  display: block;
  flex: 1 1 0;
}
.choice__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  background: none;
  appearance: none;
  opacity: 0;
  cursor: pointer;
}
.choice__text {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-inline: var(--space-16);
  border-radius: calc(var(--radius-control) - var(--space-4));
  color: var(--color-ink);
  font-size: var(--text-small);
  font-weight: 500;
  white-space: nowrap;
}
.choice__input:hover + .choice__text { background-color: var(--color-tile); }
.choice__input:checked + .choice__text { background-color: var(--color-ink); color: var(--color-paper); }
.choice__input:checked:hover + .choice__text { background-color: var(--color-ink); }
.choice__input:active + .choice__text { background-color: var(--color-line); color: var(--color-ink); }
.choice__input:checked:active + .choice__text { background-color: var(--color-night); color: var(--color-paper); }
.choice__input:focus-visible + .choice__text { outline: 2px solid var(--color-gold); outline-offset: 3px; }

/* Removal, leased, and a page that is not there: one column at the container's left edge */

/* The block of padding is written across the block axis so the side padding the
   `container` it shares its element with keeps its own. Written as a shorthand it set
   the sides to nothing, and the words of the page ran to the edge of the window. */
.leaf {
  padding-block: var(--leaf-top) var(--leaf-bottom);
}
.leaf__col {
  display: grid;
  gap: var(--leaf-gap);
  max-width: var(--leaf-max);
}
.leaf__line { color: var(--color-muted); font-size: var(--text-lead); line-height: 1.5; }
.leaf__links { display: grid; gap: var(--space-12); justify-content: start; }
.leaf__photo {
  overflow: hidden;
  margin-top: var(--space-64);
  border-radius: var(--radius-tile);
  aspect-ratio: 16 / 9;
}
.leaf__photo a { display: block; width: 100%; height: 100%; }

/* A building with nothing open, and the facts that stand beside that line.

   Both halves sit on one tile ground in one band: the line about nothing being listed,
   the way onto the updates list, and the building's own facts under a heading of its
   own at the size of the heading beside it. The specification list of the other building
   pages is written for the dark ground, so the light ground asks for its own three
   values, and no colour is added to make them. */

.prop-none__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--grid-gap);
}
.prop-none__action { margin-top: var(--space-32); }
.prop-none__head { font-size: var(--text-section-phone); }
.spec--light { margin-top: var(--space-32); }
.spec--light .spec__row { border-bottom-color: var(--color-line); }
.spec--light .spec__row:first-child { border-top-color: var(--color-line); }
.spec--light dt { color: var(--color-ink); }
.spec--light dd { color: var(--color-muted); }

/* The open list of the home page, held open by its own heading and closed with the way
   onto the updates list when the records hold nothing to list. */

/* The heading of the open list keeps a step of its own over the list or the note under
   it. The room is padding rather than margin, because the panel's own margin-top would
   fold a margin into itself and nothing would change on the page. */
.open-head { padding-bottom: var(--sp-20); }
.open-list__empty {
  padding: var(--space-32) 0;
  border-top: var(--hair) solid var(--color-line);
  border-bottom: var(--hair) solid var(--color-line);
  font-size: var(--text-lead);
}
.open-list__link { margin-top: var(--space-24); }
/* With one row in the list its column heads say what the one row's own labels say, so
   the head is painted out. The five widths live on the `col` elements of the table
   rather than on the head, because a head taken out of the layout takes its widths out
   with it: the columns then split the row evenly, the name of the space is left with a
   thumb's width and breaks onto two lines. Kept on the columns, the row stands where the
   heads would have stood it whether the head is shown or not. */
.open-list .has-one-row thead {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* The name of a space is what the list is read by, and from 760px the row is a table with
   room for it on one line. Below that the row stacks and the name takes the room it needs. */
@media (min-width: 760px) {
  .open-list .space { white-space: nowrap; }
}

/* The lead line of the open list, which says who the space is being taken from. The
   footer carries the same sentence under the office heading and keeps it. */
.open-head__note {
  margin-top: var(--space-12);
  max-width: 34em;
  color: var(--color-muted);
  font-size: var(--text-small);
  line-height: 1.45;
}

/* The heading of the photographs of one space stands at the size of the name above it,
   which is the size a first screen's name takes: a section heading may not outsize the
   heading of the screen it follows. */

.space-photos__title { font-size: var(--text-duo); }

/* The footer's one row of list links */

.site-foot__links {
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--link-gap);
  row-gap: var(--space-8);
  margin-top: var(--space-24);
}
.site-foot__links a {
  color: var(--color-gold);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.site-foot__links a:hover {
  text-decoration: underline;
  text-decoration-thickness: var(--hair);
  text-underline-offset: 4px;
}

/* The printable flyer: one US letter sheet, inches and points, on the tile ground */

.sheet-ground {
  display: flex;
  justify-content: center;
  padding: var(--space-64) var(--wrap-pad) var(--space-96);
  background-color: var(--color-tile);
}
.sheet {
  display: flex;
  flex: none;
  flex-direction: column;
  width: var(--sheet-w);
  height: var(--sheet-h);
  padding: var(--sheet-pad);
  border-radius: var(--radius-field);
  background-color: var(--color-paper);
  box-shadow: var(--shadow-raise);
}
.sheet__mark { width: var(--sheet-mark-w); height: auto; }
.sheet__photo {
  overflow: hidden;
  margin-top: var(--sheet-gap-mark);
  border-radius: var(--radius-sheet-photo);
  aspect-ratio: var(--sheet-photo-ar);
}
.sheet__name {
  margin-top: var(--sheet-gap-photo);
  font-size: var(--sheet-text-name);
  line-height: 1.04;
}
.sheet__sub {
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--sheet-sub-gap);
  margin-top: var(--sheet-gap-name);
  color: var(--color-muted);
  font-size: var(--sheet-text-sub);
  line-height: 1.3;
}
.sheet__figures {
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--grid-gap);
  row-gap: var(--sheet-gap-figure-row);
  margin-top: var(--sheet-gap-block);
}
.sheet__figure { flex: 1 1 0; }
.sheet__figure-value {
  font-family: var(--font-display);
  font-size: var(--sheet-text-figure);
  font-weight: 500;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.sheet__figure-caption { margin-top: var(--sheet-gap-name); color: var(--color-muted); font-size: var(--sheet-text-caption); }
.sheet__facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: var(--grid-gap);
  margin-top: var(--sheet-gap-facts);
}
/* One label column for every fact row on the sheet, so the value of the address and the
   value of the kind begin at the same place down the sheet. */
.sheet__fact {
  display: grid;
  grid-template-columns: 7.5em minmax(0, 1fr);
  gap: var(--sheet-gap-name);
  padding: var(--sheet-row-pad) 0;
  border-bottom: var(--hair) solid var(--color-line);
  font-size: var(--sheet-text-fact);
  line-height: 1.3;
}
.sheet__fact dt { color: var(--color-muted); }
.sheet__fact dd { margin: 0; color: var(--color-ink); }
/* The address is the first row of the sheet and the longest line on it, so it holds the
   whole width rather than one column of two. Its label column is the one width every
   other row takes, so its value starts where every other value starts. */
.sheet__fact--wide { grid-column: 1 / -1; }
.sheet__foot {
  margin-top: auto;
  padding-top: var(--sheet-foot-pad);
  border-top: var(--hair) solid var(--color-line);
  font-size: var(--sheet-text-foot);
  line-height: 1.4;
}
.sheet__foot p { color: var(--color-muted); }
.sheet__foot p:first-child { color: var(--color-ink); }
/* The office line is the signature line of a letter and takes the ink of the body, not
   the grey of a footnote, so it is named with its class as well as its parent: the line
   above it, which colours every paragraph of the foot, outranks a bare class. */
.sheet__foot p.sheet__foot__office {
  color: var(--color-ink);
  font-size: var(--sheet-text-office);
  font-weight: 600;
}

/* The one control of the flyer page, above the sheet. A sheet is handed over in paper, so
   the page it stands on prints it. The button is written into the page hidden, because a
   visitor whose browser runs no script would be offered a control that opens a dialogue no
   key can reach, and `site.js` puts it in sight where it can print. On paper it is gone. */
.sheet-print {
  display: flex;
  justify-content: center;
  /* The button keeps the same room under it as over it, so it does not stand on the
     foot of the ground it is drawn on. */
  padding: var(--space-48) var(--wrap-pad);
  background-color: var(--color-tile);
}
.sheet-print[hidden] { display: none; }

@page {
  size: letter;
  margin: 0;
}

@media print {
  .site-head,
  .site-foot,
  .skip-link,
  .sheet-print { display: none; }

  body { background: none; }

  .sheet-ground { display: block; padding: 0; background: none; }

  /* The sheet prints at its own size, whatever window it is printed from. */
  .sheet {
    width: var(--sheet-w);
    height: var(--sheet-h);
    padding: var(--sheet-pad);
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  /* On paper the photograph takes a band rather than a frame. It is the widest thing on
     the sheet, so its height is the room that is left for the facts and the foot, and a
     16 to 9 frame pushed the last line of the foot past the fold of a letter page. */
  .sheet__photo { aspect-ratio: var(--sheet-photo-ar-print); }
}

/* 900px: the space page sets its photograph over seven columns and its text over five,
   the two columns of agents and updates divide, the sent block takes the form's cell, and
   the band of a building with nothing open stands five columns to seven. */

@media (min-width: 900px) {
  .split__text--five { grid-column: 8 / 13; }
  /* The line about nothing being listed holds five columns of twelve and the building's
     facts the other seven, the two held to one top so the heading beside the heading
     reads as a second column rather than as what is left under the first. */
  .prop-none__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }
  .page-form__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--grid-gap);
    align-items: start;
  }
  .page-form__intro { grid-column: 1 / 5; }
  .page-form__panel { grid-column: 5 / 13; }
  .inquire__grid > .inquire__form,
  .inquire__grid > .form__sent {
    grid-row: 1;
    grid-column: 7 / 13;
  }
}

@media (max-width: 899px) {
  .split__text--five,
  .page-form__intro,
  .page-form__panel { grid-column: 1; }
}

/* 900px and below, on a screen: the sheet takes the width it is shown at and grows as it
   needs to. On paper it keeps the sheet it is: a page that took its width from a window
   ran onto a second sheet. */

@media screen and (max-width: 900px) {
  .sheet {
    width: 100%;
    height: auto;
  }
}

/* 700px and below: the short first screen keeps its own height */

@media (max-width: 700px) {
  :root { --hero-h-page-phone: 480px; }
  .hero--page {
    height: var(--hero-h-page-phone);
    min-height: var(--hero-h-page-phone);
  }
  .sheet__facts { grid-template-columns: minmax(0, 1fr); }
}
