/* Tidemark. Dark graphite, one vermilion accent, square corners everywhere, wide capitals and mono figures.
   The brand is dark: there is no light version. Corner rule: 0 on everything. */

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/tidemark/archivo-latin-wdth-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/tidemark/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/tidemark/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

:root {
  --bg: #121416;
  --bg-2: #1b1e21;
  --bg-3: #24282c;
  --fg: #ece9e2;
  --muted: #a8a69f;
  --line: #33383d;
  --accent: #e8603c;
  --accent-ink: #121416;
  --error: #ff8f78;
  --wide: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', monospace;
  --wrap: 1440px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-radius: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body.t-body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1.0625rem/1.6 var(--wide);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--fg);
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}
a:hover {
  color: var(--accent);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
main:focus {
  outline: none;
}
p {
  margin: 0 0 1em;
}
h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  font-family: var(--wide);
  text-wrap: balance;
}
.t-h1,
.t-h2,
.t-hero-title,
.t-listing-title,
.t-cta-title,
.t-mark,
.t-footer-mark {
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
}
.t-h1 {
  /* The floor lets one long word in wide capitals ("ACCESSIBILITY", "PHOTOGRAPH") fit a 390px phone (E10, 12 Nov 2026);
     a word that still cannot fit breaks rather than pushing the page sideways. */
  font-size: clamp(2.1rem, 8vw, 7rem);
  margin: 0;
  overflow-wrap: break-word;
}
.t-h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
}
.t-h3 {
  font-size: 1.05rem;
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.t-h4 {
  font-size: 1.3rem;
  font-weight: 700;
  font-stretch: 112%;
}
.t-kicker,
.t-more,
.t-tag {
  font-family: var(--mono);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.t-more {
  color: var(--fg);
}
.t-muted {
  color: var(--muted);
}
.t-small {
  font-size: 0.9rem;
}
.t-lede {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.35;
  max-width: 34ch;
  font-stretch: 105%;
}
.t-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 56px);
}
.t-skip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 50;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 12px 18px;
  font-family: var(--mono);
}
.t-notice {
  margin: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 8px 16px;
  font-family: var(--mono);
  text-align: center;
}

/* ───── Buttons ───── */
.t-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 2px solid transparent;
  font: 500 0.95rem/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.2s,
    color 0.2s,
    transform 0.2s var(--ease);
}
/* On a narrow phone a button is never wider than its column: words that do not fit on one line wrap onto two. */
@media (max-width: 480px) {
  .t-btn {
    max-width: 100%;
    padding-block: 12px;
    white-space: normal;
    line-height: 1.3;
    text-align: center;
  }
}
.t-btn:active {
  transform: translateY(1px);
}
.t-btn--accent {
  background: var(--accent);
  color: var(--accent-ink);
}
.t-btn--accent:hover {
  background: var(--fg);
  color: var(--bg);
}
.t-btn--line {
  border-color: var(--fg);
  color: var(--fg);
  background: transparent;
}
.t-btn--line:hover {
  background: var(--fg);
  color: var(--bg);
}
.t-btn--ink {
  background: var(--bg);
  color: var(--fg);
}
.t-btn--ink:hover {
  background: var(--fg);
  color: var(--bg);
}
.t-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ───── Header and menu ───── */
.t-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
}
.t-body--hero .t-header {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  border-bottom-color: rgb(236 233 226 / 0.2);
}
.t-header-row {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 76px;
}
.t-mark {
  font-size: 1.6rem;
  text-decoration: none;
  color: var(--fg);
  padding-bottom: 4px;
  border-bottom: 4px solid var(--accent);
  line-height: 1;
}
.t-mark:hover {
  color: var(--fg);
}
.t-quick {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.t-quick a {
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.t-quick a[aria-current='page'],
.t-quick a:hover {
  border-bottom-color: var(--accent);
  color: var(--fg);
}
.t-menu summary {
  list-style: none;
  cursor: pointer;
  font: 500 0.9rem/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--fg);
  position: relative;
  z-index: 2;
  background: var(--bg);
}
.t-body--hero .t-menu summary {
  background: transparent;
}
.t-menu summary::-webkit-details-marker {
  display: none;
}
.t-menu[open] summary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.t-menu-panel {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: var(--bg);
  padding-top: 110px;
  overflow-y: auto;
}
@media (prefers-reduced-motion: no-preference) {
  .t-menu[open] .t-menu-panel {
    animation: t-menu-in 0.35s var(--ease);
  }
}
@keyframes t-menu-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
}
.t-menu-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.t-menu-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.t-menu-panel nav a {
  display: block;
  font: 800 clamp(2rem, 6vw, 4.4rem) / 1.05 var(--wide);
  font-stretch: 125%;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 0;
}
.t-menu-panel nav a[aria-current='page'] {
  color: var(--accent);
}
.t-menu-side address {
  font-style: normal;
}
.t-menu-side .t-kicker {
  margin-top: 28px;
  margin-bottom: 6px;
}
@media (max-width: 760px) {
  .t-quick {
    display: none;
  }
  .t-menu {
    margin-left: auto;
  }
  .t-menu-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .t-mark {
    font-size: 1.35rem;
  }
}

/* ───── Hero ───── */
.t-hero {
  position: relative;
  min-height: min(92svh, 1000px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.t-hero-pic {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.t-hero-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
}
.t-hero-pic::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(18 20 22 / 0.6) 0%, transparent 24%),
    linear-gradient(0deg, rgb(18 20 22 / 0.95) 0%, rgb(18 20 22 / 0.72) 45%, rgb(18 20 22 / 0.25) 80%),
    rgb(18 20 22 / 0.15);
}
@media (prefers-reduced-motion: no-preference) {
  .t-hero-pic img {
    animation: t-settle 2.4s var(--ease) both;
  }
  .t-hero-text > * {
    animation: t-rise 0.9s var(--ease) both;
  }
  .t-hero-text > :nth-child(2) {
    animation-delay: 0.12s;
  }
  .t-hero-text > :nth-child(3) {
    animation-delay: 0.24s;
  }
}
@keyframes t-settle {
  from {
    transform: scale(1.07);
  }
}
@keyframes t-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
.t-hero-text {
  width: 100%;
  padding-top: 140px;
  padding-bottom: clamp(32px, 6vw, 72px);
}
.t-hero-title {
  font-size: clamp(2.5rem, 7.4vw, 7.2rem);
  max-width: 14ch;
  margin-bottom: 20px;
}
.t-hero-intro {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  max-width: 40ch;
  color: #dcd8cf;
  margin-bottom: 28px;
}

/* ───── Bands ───── */
.t-band {
  padding: clamp(48px, 7vw, 112px) 0;
}
.t-band--rule {
  border-top: 1px solid var(--line);
}
.t-band--search {
  background: var(--bg-2);
  padding: clamp(36px, 5vw, 64px) 0;
}
/* The hero stops short of the first screen's foot, so the band after it starts there: it leaves the assistant's
   button its room (the engine's --ask-room), so the band's first words are never under it (w7-site-ask-button). */
.t-hero + .t-band {
  padding-top: max(clamp(48px, 7vw, 112px), var(--ask-room));
}
.t-hero + .t-band--search {
  padding-top: max(clamp(36px, 5vw, 64px), var(--ask-room));
}
.t-bandhead {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 24px;
  margin-bottom: 28px;
}
.t-bandhead .t-h2 {
  margin: 0;
}
.t-title {
  padding: clamp(40px, 7vw, 112px) 0 clamp(28px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}
.t-title-intro {
  margin: 20px 0 0;
  max-width: 52ch;
  font-size: 1.2rem;
  color: var(--muted);
}
.t-cols {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 3fr;
  gap: clamp(20px, 4vw, 72px);
}
.t-cols-main {
  max-width: 760px;
}
.t-text p,
.t-prose p {
  max-width: 64ch;
  font-size: 1.12rem;
}
.t-list {
  padding-left: 1.1em;
  max-width: 64ch;
}
.t-list li {
  margin-bottom: 6px;
}
.t-list li::marker {
  color: var(--accent);
}
.t-placeholder .t-cols-main {
  border: 1px dashed var(--muted);
  padding: 16px 20px 4px;
  color: var(--muted);
}
.t-tag {
  color: var(--accent);
}
@media (max-width: 800px) {
  /* One column, never wider than the screen. */
  .t-cols {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ───── The sentence search ───── */
.t-sentence {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  font: 700 clamp(1.4rem, 3.2vw, 2.6rem) / 1.3 var(--wide);
  font-stretch: 112%;
}
.t-inline {
  appearance: none;
  font: inherit;
  font-stretch: inherit;
  color: var(--accent);
  background: transparent;
  border: 0;
  border-bottom: 3px solid var(--accent);
  padding: 0 4px;
  cursor: pointer;
  max-width: 100%;
}
.t-inline option {
  background: var(--bg-2);
  color: var(--fg);
  font-size: 1rem;
}
.t-sentence .t-btn {
  margin-left: 6px;
  align-self: center;
}

/* ───── The index of homes ───── */
.t-index {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.t-row {
  border-bottom: 1px solid var(--line);
}
.t-row-link {
  display: grid;
  grid-template-columns: 90px 240px 1fr auto;
  gap: clamp(16px, 2.5vw, 40px);
  align-items: center;
  padding: 20px 0;
  text-decoration: none;
  color: var(--fg);
  transition: background-color 0.3s;
}
.t-row-link:hover {
  background: var(--bg-2);
  color: var(--fg);
}
.t-row-ref {
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--muted);
  padding-left: 8px;
}
.t-row-pic {
  display: block;
  overflow: hidden;
}
.t-row-pic img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.t-row-link:hover .t-row-pic img {
  transform: scale(1.05);
}
.t-row-main {
  display: grid;
  gap: 4px;
}
.t-row-area {
  font-family: var(--mono);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}
.t-row-title {
  font: 800 clamp(1.3rem, 2.4vw, 2.1rem) / 1.05 var(--wide);
  font-stretch: 118%;
  text-transform: uppercase;
}
.t-row-facts {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--muted);
}
.t-row-price {
  display: grid;
  justify-items: end;
  text-align: right;
  font: 700 clamp(1.2rem, 2vw, 1.7rem) / 1.2 var(--wide);
  padding-right: 8px;
}
.t-row-qual,
.t-row-status {
  font: 400 0.875rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.t-row-status {
  color: var(--accent);
}
@media (max-width: 900px) {
  .t-row-link {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 0 24px;
  }
  .t-row {
    border-bottom: 0;
    margin-bottom: 20px;
  }
  .t-index {
    border-top: 0;
  }
  .t-row-ref {
    display: none;
  }
  .t-row-pic img {
    aspect-ratio: 3 / 2;
  }
  .t-row-price {
    justify-items: start;
    text-align: left;
    padding: 0;
  }
}

/* ───── Figures, steps, defs ───── */
.t-figures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
}
.t-figures div {
  display: flex;
  flex-direction: column-reverse;
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.t-figures dd {
  margin: 0;
  font: 800 clamp(3.6rem, 10vw, 9rem) / 0.9 var(--wide);
  font-stretch: 125%;
  color: var(--fg);
}
.t-figures dt {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 12px;
}
@media (max-width: 640px) {
  .t-figures {
    grid-template-columns: 1fr;
  }
}
.t-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 0;
  border-top: 2px solid var(--fg);
}
.t-steps li {
  padding: 24px 24px 8px 0;
}
.t-steps li + li {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.t-steps .t-h3 {
  color: var(--accent);
}
.t-steps p {
  font-size: 1.15rem;
  max-width: 30ch;
}
@media (max-width: 560px) {
  .t-steps li + li {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
  }
}
.t-defs {
  margin: 0;
  border-top: 1px solid var(--line);
}
.t-defs div {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 3fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.t-defs dt {
  font: 700 1.4rem/1.2 var(--wide);
  font-stretch: 112%;
  text-transform: uppercase;
}
.t-defs dd {
  margin: 0;
  font-size: 1.15rem;
  max-width: 56ch;
}
@media (max-width: 700px) {
  .t-defs div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ───── Split ───── */
.t-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.t-split-pic img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.t-split-text {
  padding: clamp(32px, 6vw, 96px) clamp(16px, 4vw, 56px);
  align-self: end;
}
.t-split-text p {
  font-size: 1.2rem;
  max-width: 40ch;
}
@media (max-width: 800px) {
  .t-split {
    grid-template-columns: 1fr;
  }
  .t-split-pic img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

/* ───── Records, areas, team, office ───── */
.t-recs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 32px 20px;
}
.t-recs li {
  display: grid;
  gap: 6px;
}
.t-recs img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}
.t-recs-k {
  font-family: var(--mono);
  font-size: 0.875rem;
  text-transform: uppercase;
  color: var(--accent);
}
.t-recs-v {
  font-weight: 600;
}
.t-arealist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
}
.t-arealist a {
  font: 800 clamp(1.8rem, 4vw, 3.4rem) / 1.1 var(--wide);
  font-stretch: 125%;
  text-transform: uppercase;
  text-decoration: none;
}
.t-team {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 40px 28px;
}
.t-team .t-h3 {
  font: 700 1.5rem/1.1 var(--wide);
  font-stretch: 112%;
  text-transform: none;
  letter-spacing: 0;
  margin: 16px 0 4px;
}
.t-team p {
  color: var(--muted);
  max-width: 36ch;
}
.t-team-mono {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
  border: 1px solid var(--line);
  font: 800 3rem/1 var(--wide);
  font-stretch: 125%;
  color: var(--accent);
}
.t-team-role {
  font-family: var(--mono);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg) !important;
  margin-bottom: 10px;
}
.t-agent {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 16px 0;
}
.t-agent .t-team-mono {
  width: 64px;
  font-size: 1.1rem;
  aspect-ratio: 1;
}
.t-agent p {
  margin: 0;
}
.t-office {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 24px;
  align-items: start;
}
.t-office address {
  font-style: normal;
  font-size: 1.2rem;
}
.t-office-phone {
  font: 800 clamp(1.4rem, 3vw, 2.2rem) / 1 var(--wide);
  font-stretch: 118%;
}
.t-office-phone a {
  text-decoration: none;
}
.t-office-hours {
  margin: 0;
}
.t-office-hours div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.92rem;
}
.t-office-hours dd {
  margin: 0;
}
@media (max-width: 900px) {
  .t-office {
    grid-template-columns: 1fr;
  }
}

/* ───── Notes ───── */
.t-notes {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.t-notes a {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  align-items: baseline;
}
.t-notes time {
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--muted);
}
.t-notes-title {
  font: 700 1.5rem/1.15 var(--wide);
  font-stretch: 112%;
}
.t-notes-sum {
  color: var(--muted);
}
.t-notes a:hover .t-notes-title {
  color: var(--accent);
}
.t-notes--page {
  margin-bottom: 96px;
}
@media (max-width: 800px) {
  .t-notes a {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
.t-article-pic img {
  display: block;
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
}
.t-article .t-cols {
  padding: 48px clamp(16px, 4vw, 56px) 96px;
}
.t-prose .t-h4 {
  margin-top: 1.4em;
}

/* ───── FAQ, CTA ───── */
.t-faq details {
  border-bottom: 1px solid var(--line);
}
.t-faq details:first-child {
  border-top: 1px solid var(--line);
}
.t-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font: 700 1.25rem/1.25 var(--wide);
  font-stretch: 108%;
}
.t-faq summary::-webkit-details-marker {
  display: none;
}
.t-faq summary::before {
  content: '+ ';
  color: var(--accent);
  font-family: var(--mono);
}
.t-faq details[open] summary::before {
  content: '- ';
}
.t-cta {
  background: var(--accent);
  color: var(--accent-ink);
  padding: clamp(48px, 8vw, 128px) 0;
}
.t-cta-title {
  font-size: clamp(2.2rem, 6vw, 5.4rem);
  max-width: 14ch;
}
.t-cta p {
  font-size: 1.25rem;
  max-width: 44ch;
  margin-bottom: 28px;
}

/* ───── Inputs (the engine's form parts) ───── */
.part-form,
.part-fields {
  display: grid;
  gap: 24px;
}
.part-field {
  display: grid;
  gap: 8px;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.part-label,
.t-filter label {
  font-family: var(--mono);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg);
  padding: 0;
}
.part-optional {
  color: var(--muted);
  text-transform: none;
}
.part-input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  background: var(--bg-2);
  color: var(--fg);
  border: 0;
  border-bottom: 2px solid var(--muted);
  font: 400 1.05rem/1.4 var(--wide);
}
.part-input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-bottom-color: var(--accent);
}
select.part-input {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--fg) 50%), linear-gradient(135deg, var(--fg) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 52%,
    calc(100% - 14px) 52%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
input[type='date'].part-input {
  color-scheme: dark;
}
textarea.part-input {
  resize: vertical;
}
.part-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.part-error {
  margin: 0;
  color: var(--error);
  font-family: var(--mono);
  font-size: 0.92rem;
}
.part-field--error .part-input {
  border-bottom-color: var(--error);
  border-bottom-width: 3px;
}
.part-choices {
  display: grid;
  gap: 10px;
}
.part-choice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.part-choice input {
  appearance: none;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  border: 2px solid var(--fg);
  background: var(--bg);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.part-choice input[type='radio'] {
  border-radius: 50%;
}
.part-choice input:checked {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: inset 0 0 0 4px var(--bg);
}
.part-choice input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.part-errors,
.part-notice {
  border: 1px solid var(--error);
  background: var(--bg-2);
  padding: 16px 20px;
}
.part-notice {
  border-color: var(--accent);
}
.part-errors-title {
  font: 500 1rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--error);
}
.part-errors ul {
  margin: 0;
  padding-left: 1.1em;
}
.part-errors a {
  color: var(--fg);
}
.part-privacy {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 60ch;
}
.part-submit {
  justify-self: start;
}

/* ───── Results ───── */
.t-filters {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr));
  gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: end;
}
.t-filter {
  display: grid;
  gap: 8px;
}
.t-filter-checks {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  border: 0;
  margin: 0;
  padding: 0;
}
.t-filter-go {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--mono);
  font-size: 0.9rem;
  text-transform: uppercase;
}
.t-count {
  font-family: var(--mono);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 22px 0;
  margin: 0;
}
[data-results][aria-busy='true'] {
  opacity: 0.5;
  transition: opacity 0.2s;
}
.t-tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4vw, 56px) clamp(16px, 2vw, 32px);
}
.t-tile a {
  display: grid;
  gap: 14px;
  text-decoration: none;
  color: var(--fg);
}
.t-tile-pic {
  display: block;
  overflow: hidden;
}
.t-tile-pic img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.t-tile:nth-child(4n + 2) .t-tile-pic img,
.t-tile:nth-child(4n + 3) .t-tile-pic img {
  aspect-ratio: 4 / 3;
}
.t-tile a:hover .t-tile-pic img {
  transform: scale(1.04);
}
.t-tile-meta {
  display: grid;
  gap: 4px;
}
.t-tile-area {
  font-family: var(--mono);
  font-size: 0.875rem;
  text-transform: uppercase;
  color: var(--accent);
}
.t-tile-status {
  color: var(--fg);
}
.t-tile-title {
  font: 800 clamp(1.4rem, 2.6vw, 2.2rem) / 1.02 var(--wide);
  font-stretch: 120%;
  text-transform: uppercase;
}
.t-tile-facts {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--muted);
}
.t-tile-price {
  font-weight: 700;
  font-size: 1.25rem;
}
.t-tile a:hover .t-tile-title {
  color: var(--accent);
}
@media (max-width: 760px) {
  .t-tiles {
    grid-template-columns: 1fr;
  }
  .t-tile .t-tile-pic img {
    aspect-ratio: 4 / 3 !important;
  }
}
.t-empty {
  padding: 48px 0;
}
.t-alert {
  padding: 64px 0 96px;
  margin-top: 64px;
  border-top: 1px solid var(--line);
}

/* ───── Listing ───── */
.t-listing-gallery .part-gallery-track {
  height: min(82svh, 860px);
  background: var(--bg-2);
  scrollbar-width: none;
}
.t-listing-gallery .part-gallery-track::-webkit-scrollbar {
  display: none;
}
.t-listing-gallery .part-gallery-slide {
  flex-basis: 86%;
  margin-right: 8px;
}
.part-gallery-video {
  position: relative;
  background: #000;
}
.part-gallery-video video {
  object-fit: contain;
}
.part-gallery-video figcaption {
  position: absolute;
  left: 16px;
  top: 16px;
  font-family: var(--mono);
  font-size: 0.875rem;
  text-transform: uppercase;
  background: var(--bg);
  padding: 6px 10px;
}
.part-gallery-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}
.part-gallery-count {
  margin: 0 auto 0 0;
  order: -1;
  font-family: var(--mono);
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--muted);
}
.part-gallery-prev,
.part-gallery-next {
  min-height: 44px;
  padding: 0 18px;
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--fg);
  font: 500 0.875rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}
.part-gallery-prev:hover,
.part-gallery-next:hover {
  background: var(--fg);
  color: var(--bg);
}
.part-gallery-prev:disabled,
.part-gallery-next:disabled {
  opacity: 0.35;
  pointer-events: none;
}
.part-gallery-thumbs {
  display: none;
}
.t-listing-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 2.4fr;
  gap: clamp(28px, 5vw, 96px);
  padding-top: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(48px, 6vw, 96px);
  align-items: start;
}
.t-spec {
  position: sticky;
  top: 24px;
}
.t-spec dl {
  margin: 0 0 24px;
  border-top: 2px solid var(--fg);
}
.t-spec dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.92rem;
}
.t-spec dt {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.t-spec dd {
  margin: 0;
  text-align: right;
}
.t-spec-price {
  color: var(--fg);
  font-weight: 500;
  font-size: 1.05rem;
}
.t-spec-status {
  color: var(--accent);
}
.part-advert {
  margin: 0;
  background: var(--bg-2);
  padding: 4px 16px;
  border-top: 0 !important;
}
.t-spec .part-advert div {
  border-bottom: 1px solid var(--line);
}
.t-spec .part-advert div:last-child {
  border-bottom: 0;
}
.part-advert-line dd {
  display: grid;
  justify-items: end;
}
.part-advert-detail {
  color: var(--muted);
  font-size: 0.875rem;
}
.t-listing-title {
  font-size: clamp(2.2rem, 5.6vw, 5.4rem);
  margin-bottom: 24px;
}
/* On the narrowest phones the title steps down a size so a long word of an address fits the screen; a word longer
   still breaks rather than push the page sideways. */
@media (max-width: 359px) {
  .t-listing-title {
    font-size: 1.9rem;
    overflow-wrap: anywhere;
  }
}
.t-listing-main .t-lede {
  margin-bottom: 32px;
}
.t-listing-price {
  display: none;
  font: 700 1.5rem/1.2 var(--wide);
  margin: -12px 0 28px;
}
@media (max-width: 900px) {
  .t-listing-price {
    display: block;
  }
}
.t-featlist {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  border-top: 1px solid var(--line);
}
.t-featlist li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.92rem;
}
.t-featlist li::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 10px;
}
@media (max-width: 900px) {
  /* One column, never wider than the screen. */
  .t-listing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .t-listing-main {
    order: -1;
  }
  .t-spec {
    position: static;
  }
  .t-listing-gallery .part-gallery-track {
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .t-listing-gallery .part-gallery-slide {
    flex-basis: 100%;
    margin: 0;
  }
}

/* ───── Sent ───── */
.t-sent {
  padding-top: 48px;
  padding-bottom: 96px;
}
.t-next {
  padding: 0;
  margin: 0 0 32px;
  list-style: none;
  counter-reset: n;
}
.t-next li {
  counter-increment: n;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.15rem;
  display: grid;
  grid-template-columns: 48px 1fr;
}
.t-next li::before {
  content: counter(n, decimal-leading-zero);
  font-family: var(--mono);
  color: var(--accent);
}
.t-email {
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 24px;
  margin-bottom: 32px;
}
.t-email-subject {
  font-weight: 700;
  font-size: 1.15rem;
}
.t-emergency {
  margin-top: 56px;
}
.t-emergency-item {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

/* ───── Footer ───── */
.t-footer {
  border-top: 1px solid var(--line);
  padding: clamp(48px, 7vw, 96px) 0 32px;
  margin-top: 0;
}
.t-footer-mark {
  font-size: clamp(2.6rem, 10.5vw, 11rem);
  max-width: 100%;
  overflow: hidden;
  color: var(--bg-3);
  margin: 0 0 40px;
  line-height: 0.85;
  border-bottom: 6px solid var(--accent);
  display: inline-block;
  padding-bottom: 12px;
}
.t-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.t-footer address {
  font-style: normal;
}
.t-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.t-footer li {
  margin-bottom: 6px;
}
.t-footer a {
  text-decoration: none;
}
.t-footer a:hover {
  text-decoration: underline;
}
.t-footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--muted);
}
.t-footer-base p {
  margin: 0;
}
@media (max-width: 860px) {
  .t-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .t-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ───────────── The website's assistant (lane sites-assistant, 12 Nov 2026) ─────────────
   Dark and exact: a square graphite tab with a vermilion cursor, a panel squared off like the rest of the site with a
   vermilion rule along its top, mono labels for who said what, and answers set in the site's wide face. It sits under
   the full-screen menu, never over it. A full-width sheet on a phone. One short rise as it opens; still under reduced
   motion (the block above stills every animation). Where the button sits, its size on a phone and when it steps
   aside are the engine's (engine.css, "ask"): this dresses it only. */
.t-ask-button {
  z-index: 15;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 22px 0 18px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--fg);
  font: 500 0.875rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    border-color 160ms var(--ease),
    background-color 160ms var(--ease);
}
.t-ask-button:hover {
  border-color: var(--accent);
  background: var(--bg-3);
}
.t-ask-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.t-ask-mark {
  display: inline-flex;
  color: var(--accent);
}
.t-ask.is-open .t-ask-button {
  border-color: var(--accent);
}
.t-ask-panel {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(max(16px, env(safe-area-inset-bottom)) + 62px);
  z-index: 16;
  display: flex;
  flex-direction: column;
  width: min(420px, calc(100vw - 32px));
  max-height: min(680px, calc(100dvh - 116px));
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.7);
  overflow: hidden;
  font: 400 0.98rem/1.55 var(--wide);
}
.t-ask-panel:not([hidden]) {
  animation: t-ask-in 220ms var(--ease);
}
@keyframes t-ask-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
.t-ask-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 14px 16px 20px;
  border-bottom: 1px solid var(--line);
}
.t-ask-head .part-ask-heading {
  flex: 1;
  min-width: 0;
}
.t-ask-title {
  margin: 0;
  font: 700 1.05rem/1.2 var(--wide);
  font-stretch: 125%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.t-ask-who {
  margin: 6px 0 0;
  font: 400 0.875rem/1.5 var(--mono);
  color: var(--muted);
}
.t-ask-close {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  transition: border-color 160ms var(--ease);
}
.t-ask-close:hover {
  border-color: var(--fg);
}
.t-ask-close:focus-visible,
.t-ask-q:focus-visible,
.t-ask-send:focus-visible,
.t-ask-home:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.t-ask-body {
  flex: 1;
  min-height: 140px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 20px 20px;
  scrollbar-color: var(--line) transparent;
}
.t-ask-about {
  margin: 0 0 18px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 1.4;
}
.t-ask-about-label {
  display: block;
  margin-bottom: 4px;
  font: 500 0.875rem/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.t-ask-off {
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.t-ask-log {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}
.t-ask .part-ask-msg {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.t-ask .part-ask-msg:first-child {
  padding-top: 0;
  border-top: 0;
}
.t-ask .part-ask-msg-who {
  margin: 0 0 6px;
  font: 500 0.875rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.t-ask .part-ask-msg--visitor .part-ask-msg-who {
  color: var(--accent);
}
.t-ask .part-ask-msg--visitor .part-ask-msg-text {
  font-family: var(--mono);
  font-size: 0.9rem;
}
.t-ask .part-ask-msg--assistant.is-error .part-ask-msg-text {
  color: var(--error);
}
.t-ask .part-ask-msg--note .part-ask-msg-text {
  color: var(--muted);
  font-size: 0.9rem;
}
.t-ask .part-ask-msg-text p {
  margin: 0;
}
.t-ask .part-ask-msg-text p + p,
.t-ask .part-ask-msg-text p + ul,
.t-ask .part-ask-msg-text ul + p {
  margin-top: 8px;
}
.t-ask .part-ask-msg-text ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.t-ask .part-ask-msg-text li {
  position: relative;
  padding-left: 16px;
}
.t-ask .part-ask-msg-text li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  background: var(--accent);
}
.t-ask .part-ask-step {
  margin: 0 0 6px;
  font: 400 0.875rem/1.4 var(--mono);
  color: var(--muted);
}
.t-ask-suggest {
  margin-top: 18px;
}
.t-ask-suggest-label {
  margin: 0 0 10px;
  font: 500 0.875rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.t-ask-suggest ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.t-ask-q {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--fg);
  font: 400 0.92rem/1.35 var(--wide);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 160ms var(--ease),
    background-color 160ms var(--ease);
}
.t-ask-q:hover {
  border-color: var(--accent);
  background: var(--bg-3);
}
.t-ask-compose {
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.t-ask-text {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  max-height: 140px;
  padding: 15px 16px;
  border: 0;
  background: transparent;
  color: var(--fg);
  font: 400 0.95rem/1.4 var(--mono);
  resize: none;
}
.t-ask-text::placeholder {
  color: var(--muted);
}
.t-ask-text:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.t-ask-send {
  flex: none;
  min-width: 92px;
  border: 0;
  background: var(--accent);
  color: var(--accent-ink);
  font: 500 0.875rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 160ms var(--ease),
    color 160ms var(--ease);
}
.t-ask-send:hover {
  background: var(--fg);
  color: var(--bg);
}
.t-ask-compose.is-busy .t-ask-send {
  opacity: 0.6;
  cursor: progress;
}
.t-ask-person {
  margin: 0;
  padding: 12px 20px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font: 400 0.875rem/1.55 var(--mono);
  color: var(--muted);
}
.t-ask-person a {
  color: var(--fg);
  text-decoration-color: var(--accent);
}
.t-ask .part-ask-card {
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.t-ask .part-ask-card-title {
  margin: 0;
  font: 700 0.95rem/1.3 var(--wide);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.t-ask .part-ask-card-note {
  margin: 4px 0 14px;
  font: 400 0.875rem/1.5 var(--mono);
  color: var(--muted);
}
.t-ask .part-ask-card .part-form,
.t-ask .part-ask-card .part-fields {
  gap: 14px;
}
.t-ask-submit {
  width: 100%;
}
.t-ask .part-ask-sent {
  padding: 14px 0 0;
  border-top: 2px solid var(--accent);
}
.t-ask .part-ask-sent p {
  margin: 0 0 6px;
}
.t-ask .part-ask-sent a {
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--fg);
  text-decoration-color: var(--accent);
}
.t-ask-home {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  color: var(--fg);
  font: 500 0.875rem/1.2 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 160ms var(--ease);
}
.t-ask-home svg {
  color: var(--accent);
}
.t-ask-home:hover {
  border-color: var(--accent);
}
@media (max-width: 600px) {
  .t-ask-panel {
    z-index: 60;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: 90dvh;
    border-width: 2px 0 0;
  }
  .t-ask.is-open .t-ask-button {
    visibility: hidden;
  }
}
@media print {
  .t-ask {
    display: none;
  }
}
