/*
 * Home + Directory responsive polish.
 * Loaded last to keep the established art direction while correcting layout,
 * touch targets and the claim journey.
 */

/* One optical baseline for every desktop navigation item. */
.home-editorial .de-header nav,
.dir-nav,
.dir-actions-group,
.dir-shortlist-link,
.dir-account-link {
  align-items: center;
}

.home-editorial .de-header nav > a,
.home-editorial .home-workspace-link,
.dir-nav > a,
.dir-shortlist-link,
.dir-account-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  line-height: 1;
}

.home-editorial .home-workspace-link {
  gap: 7px;
}

.home-editorial .home-workspace-link > span,
.dir-account-link > span:first-child,
.dir-shortlist-link .dir-action-label {
  line-height: 1;
}

.home-editorial .home-workspace-link svg,
.home-editorial .home-account-link svg {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.dir-actions-group {
  display: flex;
  justify-self: end;
  gap: 18px;
}

.dir-shortlist-link,
.dir-account-link {
  gap: 7px;
}

.dir-action-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  line-height: 0;
}

.dir-action-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
}

/* Cards keep their metadata and shortlist action in separate rows. */
.space-grid {
  align-items: stretch;
}

.space-card-shell {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.space-card-shell > .space-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  min-width: 0;
  border: 0;
  box-shadow: none;
}

.space-card-shell > .space-card:hover {
  transform: none;
  box-shadow: none;
}

.space-card-shell > .space-card:hover img {
  transform: scale(1.015);
}

.space-card-shell .space-body {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  min-width: 0;
}

.space-card-shell .space-title,
.space-card-shell .space-location,
.space-card-shell .space-meta {
  min-width: 0;
  overflow-wrap: anywhere;
}

.space-card-shell .space-meta {
  align-self: end;
  flex-wrap: wrap;
  padding-right: 0;
}

.space-card-shell .space-type {
  padding-right: 0;
}

.space-card-shortlist {
  position: static;
  right: auto;
  bottom: auto;
  z-index: auto;
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  border: 0;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-align: center;
  font-size: 9px;
  letter-spacing: .1em;
  backdrop-filter: none;
}

.space-card-shortlist:hover,
.space-card-shortlist.is-selected {
  background: #111;
  color: #fff;
}

/* A visible but secondary claim invitation on the Space profile. */

.detail-claim-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 390px);
  min-height: 48px;
  margin-top: 16px;
  padding: 0 16px;
  border: 1px solid #111;
  background: transparent;
  color: #111;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .11em;
  line-height: 1;
  text-transform: uppercase;
}

.detail-claim-link:hover {
  border-color: #111;
  background: #111;
  color: #fff;
}

.detail-claim-link:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

/* Claim is a clear, self-contained journey on desktop and mobile. */

/* Transitional detail claim link on narrow screens. */
@media (max-width: 760px) {

  .detail-claim-link {
    width: 100%;
    min-height: 52px;
  }
}

@media (max-width: 560px) {
  .space-card-shell .space-image {
    aspect-ratio: 1.18 / 1;
  }

  .space-card-shell .space-body {
    padding: 16px;
  }

  .space-card-shell .space-title {
    font-size: 20px;
  }

  .space-card-shortlist {
    min-height: 52px;
  }
}

@media (max-width: 430px) {
  .home-editorial .de-header {
    min-height: 66px;
  }

  .home-editorial .home-mobile-actions {
    gap: 10px;
  }

  .dir-header {
    min-height: 64px;
  }

  .dir-actions-group {
    gap: 12px;
  }

  .dir-shortlist-link,
  .dir-account-link {
    min-width: 36px;
    min-height: 44px;
  }
}


/* Directory shortlist journey — 2026-08-26
 * Keep the existing information architecture while making selection state,
 * actions and navigation visually explicit.
 */

/* A single physical centreline for links, icons and counters. */
.dir-header {
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
}

.dir-nav,
.dir-actions-group {
  height: 100%;
}

.dir-nav > a,
.dir-shortlist-link,
.dir-account-link {
  position: relative;
  height: 100%;
  min-height: 44px;
  padding-block: 0;
  vertical-align: middle;
}

.dir-nav > a.active {
  padding-bottom: 0;
}

.dir-nav > a::after {
  bottom: 0;
}

.dir-shortlist-link .dir-action-count {
  margin-left: 3px;
  align-self: center;
}

.dir-account-link .dir-action-icon,
.dir-shortlist-link .dir-action-icon {
  align-self: center;
}

/* HDS shortlist icon system: one bookmark, two states. */
.space-card-shortlist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  border-top-color: #c8c3b8;
  font-size: 10px;
  font-weight: 550;
  letter-spacing: .12em;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}

.space-card-shortlist::before,
.detail-actions [data-shortlist-toggle]::before {
  content: "";
  display: block;
  width: 15px;
  height: 18px;
  flex: 0 0 15px;
  background: currentColor;
  -webkit-mask: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAABACAQAAAAdHofOAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAACYktHRAD/h4/MvwAAAAlwSFlzAAAOwwAADsMBx2+oZAAAAAd0SU1FB+oIGxYTDLyR22AAAAIeSURBVFjD7dnNSxRhGADw367LRhpZCAqB1SkqEWqzQwVh0qXvrkESnTr0QVcrkq4R9QeIdekSfVyCguiSEG0dMrIEqSQJspK02sJE17dD05ahrdZ6iXnmMAzPO/N7n/d9mMNMAtTab4dFkkoZ41677oJX3y8zOuSFWTnyOmRIWOqiDfjinbGSVpNSrQJ37U05YD0eavVIvqRMmVVOyVjnAN2CDzaXFPgZm30QdJMTdKqaJaZKpyCXlMKI0VliRo0gVdoWnjJiJmZiJmZiJmZiJmZiJmZiJmZiJmZiJmb+DyY1o9HzZKy20JBOnXIzuXVYkDW/6Li5trvhU/TVL+emHcqL3jVfVjA8PSZto0tyETEenT+7rFG6NEyZjDbvBcGYB1rs0eKBMUEwqM0aZf/GJCxz2uuohqeOqokyNY54EtXV74zlUzRTUSah1jEvogV6qdVSiQn5JU7qjfK9Tlg8IT8tptpBj6PZvnHOyklnm7TCWf1RtV0OF6qdBlOp2b1o7YdcsPaPbV+mQbuhaO/u22dBcabcTreMCIIvrmkyR/FI2+SKz4JgxG27C60+CZPW+NvgimkQP6LcLrd8jSZ4VZP0r8xHQY86DdoNRqVnNaucATH5cp/XoE6P4CMdgrxn3kYb+cRh1X9B/Ihqh3QVmueZvOAOW/UVfhw8n6ItZxYJtY57Xnhqny0kbZM1bECb+pK9sZPqtRkwLGub5Dec5CIax/0S+QAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAAASUVORK5CYII=") center / contain no-repeat;
  mask: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAABACAQAAAAdHofOAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAACYktHRAD/h4/MvwAAAAlwSFlzAAAOwwAADsMBx2+oZAAAAAd0SU1FB+oIGxYTDLyR22AAAAIeSURBVFjD7dnNSxRhGADw367LRhpZCAqB1SkqEWqzQwVh0qXvrkESnTr0QVcrkq4R9QeIdekSfVyCguiSEG0dMrIEqSQJspK02sJE17dD05ahrdZ6iXnmMAzPO/N7n/d9mMNMAtTab4dFkkoZ41677oJX3y8zOuSFWTnyOmRIWOqiDfjinbGSVpNSrQJ37U05YD0eavVIvqRMmVVOyVjnAN2CDzaXFPgZm30QdJMTdKqaJaZKpyCXlMKI0VliRo0gVdoWnjJiJmZiJmZiJmZiJmZiJmZiJmZiJmZiJmb+DyY1o9HzZKy20JBOnXIzuXVYkDW/6Li5trvhU/TVL+emHcqL3jVfVjA8PSZto0tyETEenT+7rFG6NEyZjDbvBcGYB1rs0eKBMUEwqM0aZf/GJCxz2uuohqeOqokyNY54EtXV74zlUzRTUSah1jEvogV6qdVSiQn5JU7qjfK9Tlg8IT8tptpBj6PZvnHOyklnm7TCWf1RtV0OF6qdBlOp2b1o7YdcsPaPbV+mQbuhaO/u22dBcabcTreMCIIvrmkyR/FI2+SKz4JgxG27C60+CZPW+NvgimkQP6LcLrd8jSZ4VZP0r8xHQY86DdoNRqVnNaucATH5cp/XoE6P4CMdgrxn3kYb+cRh1X9B/Ihqh3QVmueZvOAOW/UVfhw8n6ItZxYJtY57Xnhqny0kbZM1bECb+pK9sZPqtRkwLGub5Dec5CIax/0S+QAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAAASUVORK5CYII=") center / contain no-repeat;
}

.space-card-shortlist:hover,
.space-card-shortlist:focus-visible,
.space-card-shortlist.is-selected {
  background: #111;
  color: #fff;
}

.space-card-shortlist:focus-visible,
.shortlist-card-action:focus-visible,
.shortlist-remove:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

/* The profile action bar carries the same selection language as the cards. */

.detail-actions [data-shortlist-toggle] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  font-weight: 550;
}

/* Shortlist cards retain the Space facts and end with two unambiguous actions. */
.shortlist-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.shortlist-card-body {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 230px;
}

.shortlist-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  gap: 0;
  margin: 18px -16px -16px;
  border-top: 1px solid var(--line);
}

.shortlist-card-action,
.shortlist-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin: 0;
  padding: 0 14px;
  border: 0;
  background: #111;
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1;
  text-transform: uppercase;
}

.shortlist-remove {
  min-width: 108px;
  border-left: 1px solid #d9d5cc;
  background: #fff;
  color: #111;
  cursor: pointer;
}

.shortlist-remove:hover,
.shortlist-remove:focus-visible {
  background: #eeeae3;
}

.shortlist-hero-actions .btn,
.shortlist-empty .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  font-weight: 600;
}

@media (max-width: 980px) {
  .dir-header {
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  }
}

@media (max-width: 720px) {
  .dir-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .dir-actions-group {
    height: auto;
  }

  .dir-shortlist-link,
  .dir-account-link {
    height: 44px;
  }

  .space-card-shortlist {
    min-height: 56px;
    font-size: 10px;
  }

  .shortlist-card-body {
    min-height: 0;
  }
}

@media (max-width: 520px) {

  .shortlist-card-actions {
    grid-template-columns: 1fr;
  }

  .shortlist-remove {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}


/* Directory system alignment — 2026-08-26
 * One editorial grid and one conversion hierarchy across hubs, routes,
 * Space profiles and the shortlist.
 */
:root {
  --directory-max: 1520px;
  --directory-gutter: clamp(24px, 3.2vw, 58px);
  --directory-section: clamp(52px, 6vw, 96px);
}

[data-directory-app] {
  background: #fff;
}

.directory-hub-hero,
.editorial-route-hero,
.taxonomy-hero,
.shortlist-hero {
  width: 100%;
  padding: clamp(34px, 4vw, 62px) var(--directory-gutter) clamp(44px, 5vw, 76px);
  background: #fff;
}

.directory-hub-hero-grid,
.editorial-route-grid,
.taxonomy-hero-grid,
.shortlist-hero-grid {
  width: min(var(--directory-max), 100%);
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr);
  gap: clamp(48px, 8vw, 150px);
  align-items: end;
}

.directory-hub-hero h1,
.editorial-route-title,
.taxonomy-hero h1,
.shortlist-hero h1 {
  max-width: 10ch;
  font-family: inherit;
  font-size: clamp(58px, 6.6vw, 108px);
  font-weight: 350;
  letter-spacing: -.06em;
  line-height: .92;
}

.directory-hub-intro,
.editorial-route-intro,
.taxonomy-intro,
.shortlist-hero-grid > div:last-child > p {
  max-width: 560px;
  color: #625e57;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.52;
}

.editorial-route-back {
  width: min(var(--directory-max), 100%);
  margin: 0 auto clamp(42px, 5vw, 72px);
}

.directory-hub-grid,
.route-editorial,
.route-selection,
.taxonomy-editorial,
.taxonomy-selection,
.shortlist-brief,
.shortlist-selection,
.shortlist-handoff {
  width: min(var(--directory-max), calc(100% - (2 * var(--directory-gutter))));
  margin-inline: auto;
}

.directory-hub-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0 0 var(--directory-section);
}

.directory-hub-card {
  min-height: 280px;
  padding: clamp(26px, 3vw, 44px);
}

.directory-hub-card h2,
.route-editorial-copy h2,
.taxonomy-editorial h2 {
  font-family: inherit;
  letter-spacing: -.045em;
}

.route-editorial,
.taxonomy-editorial {
  padding: var(--directory-section) 0;
}

.route-selection,
.taxonomy-selection {
  padding: clamp(38px, 4vw, 62px) 0 var(--directory-section);
}

.route-selection .space-grid,
.taxonomy-selection .space-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 26px);
}

.route-links,
.taxonomy-links {
  width: min(var(--directory-max), calc(100% - (2 * var(--directory-gutter))));
  margin: 0 auto var(--directory-section);
}

/* Shortlist: compact review, generous but purposeful space, one conversion. */
.shortlist-page {
  padding-bottom: var(--directory-section);
}

.shortlist-hero {
  min-height: 0;
  border-bottom: 1px solid var(--line);
}

.shortlist-hero-grid {
  align-items: center;
}

.shortlist-hero h1 {
  max-width: 8ch;
}

.shortlist-hero-grid > div:last-child {
  display: grid;
  align-content: end;
  gap: 18px;
  padding-bottom: 8px;
}

.shortlist-hero-grid > div:last-child > p,
.shortlist-hero-grid > div:last-child > span {
  margin: 0;
}

.shortlist-hero-grid > div:last-child > span {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #77726a;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.shortlist-brief {
  padding: clamp(30px, 3vw, 46px) 0;
  border-bottom: 1px solid var(--line);
}

.shortlist-section-head {
  margin-bottom: 22px;
}

.shortlist-brief-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shortlist-brief-empty {
  max-width: 620px;
  margin: 0;
}

.shortlist-selection {
  padding: clamp(42px, 5vw, 76px) 0;
}

.shortlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 420px));
  gap: clamp(18px, 2vw, 30px);
  justify-content: start;
}

.shortlist-card {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  background: #fff;
}

.shortlist-card-media {
  aspect-ratio: 4 / 3;
}

.shortlist-card-body {
  min-height: 0;
  padding: 20px;
}

.shortlist-card-title {
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.05;
}

.shortlist-card-actions {
  margin: 22px -20px -20px;
}

.shortlist-handoff {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(28px, 5vw, 80px);
  margin-top: 0;
  padding: clamp(34px, 4vw, 58px);
  background: #111;
  color: #fff;
}

.shortlist-handoff > div:first-child {
  max-width: 760px;
}

.shortlist-handoff h2 {
  max-width: 16ch;
  margin: 10px 0 14px;
  font-size: clamp(36px, 4vw, 62px);
  font-weight: 350;
  letter-spacing: -.045em;
  line-height: 1;
}

.shortlist-handoff > div:first-child > p:not(.shortlist-handoff-kicker):not([data-handoff-error]) {
  max-width: 650px;
  margin: 0;
  color: #c8c3bb;
  font-size: 16px;
  line-height: 1.55;
}

.shortlist-handoff-actions {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.shortlist-handoff-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin: 0;
  padding: 0 22px;
  border: 1px solid #fff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .1em;
}

.shortlist-handoff-actions .btn.primary {
  background: #fff;
  color: #111;
}

.shortlist-handoff .hds-turnstile {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 66px;
  margin-top: 12px;
}

/* Keep the profile information dense and aligned with the same canvas. */

@media (max-width: 980px) {
  .directory-hub-hero-grid,
  .editorial-route-grid,
  .taxonomy-hero-grid,
  .shortlist-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .route-selection .space-grid,
  .taxonomy-selection .space-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shortlist-handoff {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 720px) {
  :root {
    --directory-gutter: 20px;
    --directory-section: 52px;
  }

  .directory-hub-hero,
  .editorial-route-hero,
  .taxonomy-hero,
  .shortlist-hero {
    padding: 28px var(--directory-gutter) 42px;
  }

  .directory-hub-hero h1,
  .editorial-route-title,
  .taxonomy-hero h1,
  .shortlist-hero h1 {
    max-width: none;
    font-size: clamp(48px, 15vw, 66px);
  }

  .editorial-route-back {
    margin-bottom: 34px;
  }

  .directory-hub-grid,
  .route-selection .space-grid,
  .taxonomy-selection .space-grid {
    grid-template-columns: 1fr;
  }

  .directory-hub-card {
    min-height: 230px;
    padding-inline: 0;
  }

  .directory-hub-card:nth-child(odd) {
    border-right: 0;
  }

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

  .shortlist-grid {
    grid-template-columns: 1fr;
  }

  .shortlist-handoff {
    padding: 30px 22px;
  }

  .shortlist-handoff-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .shortlist-handoff-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .shortlist-brief-grid {
    grid-template-columns: 1fr;
  }

  .shortlist-card-actions {
    grid-template-columns: 1fr 1fr;
  }

  .shortlist-remove {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}


/* Shortlist balance refinement — 2026-08-26
 * A single selection reads as an editorial review, not an isolated catalogue tile.
 * Reset legacy minimum heights so the Workspace handoff remains a concise final step.
 */
.shortlist-hero {
  padding-bottom: clamp(34px, 3.5vw, 52px);
}

.shortlist-hero h1 {
  max-width: 12ch;
  font-size: clamp(54px, 5.4vw, 84px);
}

.shortlist-selection {
  padding: clamp(34px, 4vw, 58px) 0;
}

.shortlist-grid:has(.shortlist-card:only-child) {
  grid-template-columns: minmax(0, min(100%, 860px));
}

.shortlist-card:only-child {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  grid-template-rows: minmax(380px, auto);
}

.shortlist-card:only-child .shortlist-card-media {
  min-height: 380px;
  aspect-ratio: auto;
}

.shortlist-card:only-child .shortlist-card-body {
  align-content: space-between;
  min-height: 100%;
}

.shortlist-handoff {
  min-height: 0;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(28px, 3vw, 44px);
}

.shortlist-handoff h2 {
  margin-block: 8px 10px;
  font-size: clamp(32px, 3.2vw, 50px);
}

.shortlist-handoff .hds-turnstile {
  margin-top: 4px;
}

@media (max-width: 820px) {
  .shortlist-card:only-child {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .shortlist-card:only-child .shortlist-card-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 720px) {
  .shortlist-hero {
    padding-bottom: 36px;
  }

  .shortlist-hero h1 {
    font-size: clamp(46px, 14vw, 62px);
  }

  .shortlist-selection {
    padding-block: 34px;
  }

  .shortlist-handoff {
    padding: 28px 22px;
  }
}


/* Keep the security step inside the compact handoff composition. */
.shortlist-handoff {
  column-gap: clamp(24px, 4vw, 64px);
  row-gap: 16px;
}

.shortlist-handoff > div:first-child {
  grid-column: 1;
  grid-row: 1;
}

.shortlist-handoff-actions {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}

.shortlist-handoff .hds-turnstile {
  grid-column: 1 / -1;
  grid-row: 2;
}

.shortlist-handoff .hds-turnstile-status {
  grid-column: 1 / -1;
  grid-row: 3;
}

@media (max-width: 980px) {
  .shortlist-handoff-actions {
    grid-column: 1;
    grid-row: 2;
  }

  .shortlist-handoff .hds-turnstile {
    grid-row: 3;
  }

  .shortlist-handoff .hds-turnstile-status {
    grid-row: 4;
  }
}


/* Directory card frame refinement — 2026-08-27
 * Presentation only: preserve the Riviera payload, card markup, shortlist
 * behaviour and Directory-to-CRM handoff.
 */
[data-directory-app] .space-grid {
  align-items: start;
  gap: clamp(18px, 1.7vw, 28px);
}

[data-directory-app] .space-card-shell {
  grid-template-rows: auto auto;
  height: auto;
  overflow: visible;
  border: 0;
  background: transparent;
}

[data-directory-app] .space-card-shell > .space-card {
  display: block;
  height: auto;
  background: transparent;
}

[data-directory-app] .space-card-shell .space-image {
  aspect-ratio: 4 / 3;
  background: #ece9e2;
}

[data-directory-app] .space-card-shell .ref-badge {
  padding: 7px 9px;
  border: 0;
  background: rgba(251, 250, 247, .92);
}

[data-directory-app] .space-card-shell .space-body {
  display: block;
  padding: 18px 0 14px;
  background: transparent;
}

[data-directory-app] .space-card-shell .space-title {
  display: -webkit-box;
  min-height: 2.16em;
  overflow: hidden;
  font-size: clamp(18px, 1.45vw, 24px);
  font-weight: 380;
  line-height: 1.08;
  text-wrap: balance;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

[data-directory-app] .space-card-shell .space-location {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.35;
}

[data-directory-app] .space-card-shell .space-meta {
  align-self: initial;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 16px;
  padding: 0;
  border: 0;
  font-size: 11px;
  line-height: 1.4;
}

[data-directory-app] .space-card-shell .space-meta span + span::before {
  content: "·";
  margin: 0 10px;
  color: var(--muted);
}

[data-directory-app] .space-card-shell .space-type {
  margin-top: 9px;
  padding: 0;
  border: 0;
}

[data-directory-app] .space-card-shortlist {
  justify-self: start;
  width: auto;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

[data-directory-app] .space-card-shortlist:hover,
[data-directory-app] .space-card-shortlist:focus-visible,
[data-directory-app] .space-card-shortlist.is-selected {
  background: transparent;
  color: var(--ink);
}

[data-directory-app] .space-card-shortlist:hover {
  opacity: .62;
}

@media (max-width: 560px) {
  [data-directory-app] .space-grid {
    gap: 32px;
  }

  [data-directory-app] .space-card-shell .space-body {
    padding: 16px 0 12px;
  }

  [data-directory-app] .space-card-shell .space-title {
    font-size: 20px;
  }
}

/* Directory-wide open editorial system — 2026-08-27
 * Presentation only. The Directory renderers, Riviera payload, filters,
 * shortlist state, claim submission and CRM handoff remain unchanged.
 */
body:not(.is-space-view) .directory-hub-hero,
body:not(.is-space-view) .editorial-route-hero,
body:not(.is-space-view) .taxonomy-hero,
body:not(.is-space-view) .shortlist-hero {
  border: 0;
  background: #fff;
}

body:not(.is-space-view) .directory-hub-hero h1,
body:not(.is-space-view) .editorial-route-title,
body:not(.is-space-view) .taxonomy-hero h1,
body:not(.is-space-view) .shortlist-hero h1,
body:not(.is-space-view) .directory-editorial-head h2,
body:not(.is-space-view) .directory-hub-card h2,
body:not(.is-space-view) .route-editorial-copy h2,
body:not(.is-space-view) .taxonomy-editorial h2 {
  font-family: inherit;
  font-weight: 360;
}

body:not(.is-space-view) .directory-city-section {
  border: 0;
  background: #fff;
}

body:not(.is-space-view) .directory-city-grid {
  column-gap: clamp(34px, 5vw, 76px);
  row-gap: 16px;
  border: 0;
}

body:not(.is-space-view) .directory-city-card,
body:not(.is-space-view) .directory-city-card:nth-child(n) {
  min-height: 210px;
  padding: 26px 0;
  border: 0;
  border-top: 1px solid #d9d5cc;
  background: transparent;
}

body:not(.is-space-view) .directory-city-card:hover {
  background: transparent;
  opacity: .62;
}

body:not(.is-space-view) .directory-city-card h3 {
  font-family: inherit;
  font-weight: 380;
}

body:not(.is-space-view) .directory-hub-grid {
  column-gap: clamp(44px, 6vw, 92px);
  row-gap: 0;
  padding-top: clamp(12px, 2vw, 30px);
}

body:not(.is-space-view) .directory-hub-card,
body:not(.is-space-view) .directory-hub-card:nth-child(odd) {
  min-height: 230px;
  padding: clamp(28px, 3.2vw, 48px) 0;
  border: 0;
  border-top: 1px solid #d9d5cc;
  background: transparent;
}

body:not(.is-space-view) .directory-hub-card:hover {
  background: transparent;
  opacity: .64;
}

body:not(.is-space-view) .route-switcher,
body:not(.is-space-view) .taxonomy-switcher {
  gap: clamp(18px, 2.4vw, 36px);
  height: auto;
  padding: 18px var(--directory-gutter) 16px;
  border: 0;
  background: #fff;
}

body:not(.is-space-view) .route-switcher a,
body:not(.is-space-view) .taxonomy-switcher a,
body:not(.is-space-view) .taxonomy-switcher a:first-child {
  min-height: 34px;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: #77726a;
}

body:not(.is-space-view) .route-switcher a.active,
body:not(.is-space-view) .taxonomy-switcher a.active {
  border-bottom-color: #111;
  background: transparent;
  color: #111;
}

body:not(.is-space-view) .route-editorial,
body:not(.is-space-view) .taxonomy-editorial,
body:not(.is-space-view) .collection-page .route-editorial {
  border: 0;
  background: transparent;
  color: #111;
}

body:not(.is-space-view) .collection-page .route-editorial-label {
  color: #817c73;
}

body:not(.is-space-view) .collection-page .route-editorial-copy p {
  color: #666158;
}

body:not(.is-space-view) .route-selection,
body:not(.is-space-view) .taxonomy-selection,
body:not(.is-space-view) .shortlist-brief,
body:not(.is-space-view) .shortlist-selection {
  border: 0;
}

body:not(.is-space-view) .taxonomy-selection-head {
  padding-bottom: 0;
  border: 0;
}

body:not(.is-space-view) .route-links,
body:not(.is-space-view) .taxonomy-links,
body:not(.is-space-view) .collection-page .route-links {
  gap: clamp(44px, 6vw, 92px);
  border: 0;
  background: transparent;
}

body:not(.is-space-view) .route-link-group,
body:not(.is-space-view) .route-link-group + .route-link-group,
body:not(.is-space-view) .taxonomy-links > div,
body:not(.is-space-view) .taxonomy-links > div + div {
  padding: 28px 0;
  border: 0;
  border-top: 1px solid #d9d5cc;
}

body:not(.is-space-view) .shortlist-brief-grid {
  gap: clamp(24px, 3vw, 48px);
  border: 0;
}

body:not(.is-space-view) .shortlist-brief-grid > div,
body:not(.is-space-view) .shortlist-brief-grid > div + div,
body:not(.is-space-view) .shortlist-brief-grid > div:nth-child(n) {
  padding: 18px 0 0;
  border: 0;
  border-top: 1px solid #d9d5cc;
}

body:not(.is-space-view) .shortlist-card,
body:not(.is-space-view) .shortlist-card:only-child {
  border: 0;
  background: transparent;
}

body:not(.is-space-view) .shortlist-card-media {
  border: 0;
  background: #ece9e2;
}

body:not(.is-space-view) .shortlist-card-body {
  padding: 20px 0 0;
}

body:not(.is-space-view) .shortlist-card-meta {
  border: 0;
}

body:not(.is-space-view) .shortlist-card-actions {
  gap: 12px;
  margin: 24px 0 0;
  border: 0;
}

body:not(.is-space-view) .shortlist-card-action,
body:not(.is-space-view) .shortlist-remove {
  min-height: 48px;
  padding-inline: 18px;
  border: 1px solid #111;
}

body:not(.is-space-view) .shortlist-remove {
  background: transparent;
}

body:not(.is-space-view) .empty-state {
  border: 0;
  border-top: 1px solid #d9d5cc;
  background: transparent;
}

body:not(.is-space-view) .shortlist-handoff {
  border: 0;
}

@media (max-width: 980px) {
  body:not(.is-space-view) .directory-hub-grid {
    column-gap: 40px;
  }

  body:not(.is-space-view) .route-links,
  body:not(.is-space-view) .taxonomy-links {
    gap: 40px;
  }
}

@media (max-width: 720px) {
  body:not(.is-space-view) .directory-city-section,
  body:not(.is-space-view) .directory-project-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  body:not(.is-space-view) .directory-city-grid,
  body:not(.is-space-view) .directory-hub-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  body:not(.is-space-view) .directory-city-card,
  body:not(.is-space-view) .directory-hub-card {
    min-height: 190px;
  }

  body:not(.is-space-view) .route-switcher,
  body:not(.is-space-view) .taxonomy-switcher {
    gap: 24px;
    padding-right: 20px;
    padding-left: 20px;
  }

  body:not(.is-space-view) .route-links,
  body:not(.is-space-view) .taxonomy-links {
    gap: 0;
  }

  body:not(.is-space-view) .route-link-group + .route-link-group,
  body:not(.is-space-view) .taxonomy-links > div + div {
    border-top: 1px solid #d9d5cc;
  }

  body:not(.is-space-view) .shortlist-brief-grid {
    gap: 20px;
  }

  body:not(.is-space-view) .shortlist-card-body {
    padding-top: 18px;
  }
}

/* Category density + shortlist CTA alignment — 2026-08-27
 * CSS only: compact low-information category views and prevent Space titles
 * from changing the action height or vertical alignment in the shortlist.
 */
body:not(.is-space-view) .directory-hub-hero,
body:not(.is-space-view) .editorial-route-hero,
body:not(.is-space-view) .taxonomy-hero {
  padding: clamp(26px, 2.5vw, 38px) var(--directory-gutter) clamp(30px, 3vw, 46px);
}

body:not(.is-space-view) .collection-page .editorial-route-hero {
  min-height: 0;
}

body:not(.is-space-view) .directory-hub-hero-grid,
body:not(.is-space-view) .editorial-route-grid,
body:not(.is-space-view) .taxonomy-hero-grid {
  grid-template-columns: minmax(0, .78fr) minmax(360px, 1fr);
  gap: clamp(38px, 5vw, 84px);
}

body:not(.is-space-view) .editorial-route-back {
  margin-bottom: clamp(22px, 2.5vw, 36px);
}

body:not(.is-space-view) .directory-hub-hero h1,
body:not(.is-space-view) .editorial-route-title,
body:not(.is-space-view) .taxonomy-hero h1 {
  font-size: clamp(48px, 5vw, 78px);
  line-height: .94;
}

body:not(.is-space-view) .directory-hub-intro,
body:not(.is-space-view) .editorial-route-intro,
body:not(.is-space-view) .taxonomy-intro {
  max-width: 620px;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.5;
}

body:not(.is-space-view) .editorial-route-meta,
body:not(.is-space-view) .taxonomy-meta {
  margin-top: 18px;
  padding-top: 0;
  border: 0;
}

body:not(.is-space-view) .route-editorial,
body:not(.is-space-view) .taxonomy-editorial {
  gap: clamp(28px, 4vw, 60px);
  padding: clamp(36px, 4vw, 58px) 0;
}

body:not(.is-space-view) .route-editorial-copy,
body:not(.is-space-view) .taxonomy-editorial {
  column-gap: clamp(34px, 5vw, 72px);
}

body:not(.is-space-view) .route-editorial-copy h2,
body:not(.is-space-view) .taxonomy-editorial h2 {
  font-size: clamp(36px, 3.8vw, 58px);
}

body:not(.is-space-view) .directory-hub-card,
body:not(.is-space-view) .directory-hub-card:nth-child(odd) {
  min-height: 170px;
  padding: clamp(24px, 2.4vw, 36px) 0;
}

/* Shortlist opening: a review header, not a second landing page. */
body:not(.is-space-view) .shortlist-hero {
  padding: clamp(26px, 2.5vw, 38px) var(--directory-gutter) clamp(30px, 3vw, 44px);
}

body:not(.is-space-view) .shortlist-hero .editorial-route-back {
  margin-bottom: clamp(22px, 2.5vw, 34px);
}

body:not(.is-space-view) .shortlist-hero-grid {
  gap: clamp(38px, 5vw, 84px);
}

body:not(.is-space-view) .shortlist-hero h1 {
  font-size: clamp(48px, 4.7vw, 70px);
  line-height: .94;
}

/* Every card reserves the same title block and ends with a fixed action row. */
body:not(.is-space-view) .shortlist-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
}

body:not(.is-space-view) .shortlist-card {
  height: 100%;
}

body:not(.is-space-view) .shortlist-card-body {
  display: flex;
  flex-direction: column;
  min-height: 214px;
}

body:not(.is-space-view) .shortlist-card-body > div:first-child {
  min-height: 76px;
}

body:not(.is-space-view) .shortlist-card-title {
  display: -webkit-box;
  min-height: 2.1em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body:not(.is-space-view) .shortlist-card-meta {
  flex: 0 0 auto;
  margin-top: 18px;
}

body:not(.is-space-view) .shortlist-card-actions {
  flex: 0 0 52px;
  align-self: stretch;
  min-height: 52px;
  margin-top: auto;
}

body:not(.is-space-view) .shortlist-card-action,
body:not(.is-space-view) .shortlist-remove {
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  white-space: nowrap;
}

body:not(.is-space-view) .shortlist-card:only-child .shortlist-card-body {
  min-height: 100%;
}

@media (max-width: 980px) {
  body:not(.is-space-view) .directory-hub-hero-grid,
  body:not(.is-space-view) .editorial-route-grid,
  body:not(.is-space-view) .taxonomy-hero-grid {
    grid-template-columns: minmax(0, .8fr) minmax(300px, 1fr);
    gap: 36px;
  }
}

@media (max-width: 720px) {
  body:not(.is-space-view) .directory-hub-hero,
  body:not(.is-space-view) .editorial-route-hero,
  body:not(.is-space-view) .taxonomy-hero,
  body:not(.is-space-view) .shortlist-hero {
    padding: 24px 20px 32px;
  }

  body:not(.is-space-view) .directory-hub-hero-grid,
  body:not(.is-space-view) .editorial-route-grid,
  body:not(.is-space-view) .taxonomy-hero-grid,
  body:not(.is-space-view) .shortlist-hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  body:not(.is-space-view) .directory-hub-hero h1,
  body:not(.is-space-view) .editorial-route-title,
  body:not(.is-space-view) .taxonomy-hero h1,
  body:not(.is-space-view) .shortlist-hero h1 {
    font-size: clamp(44px, 12vw, 58px);
  }

  body:not(.is-space-view) .editorial-route-back,
  body:not(.is-space-view) .shortlist-hero .editorial-route-back {
    margin-bottom: 22px;
  }

  body:not(.is-space-view) .route-editorial,
  body:not(.is-space-view) .taxonomy-editorial {
    padding: 34px 0;
  }

  body:not(.is-space-view) .directory-hub-card,
  body:not(.is-space-view) .directory-hub-card:nth-child(odd) {
    min-height: 150px;
  }

  body:not(.is-space-view) .shortlist-card-body,
  body:not(.is-space-view) .shortlist-card:only-child .shortlist-card-body {
    min-height: 210px;
  }
}

/* Directory filter bar polish — 2026-08-27
 * Preserve the current filter fields, submission and floating-search lifecycle.
 * This layer only aligns the primary and floating presentations.
 */
body:not(.is-space-view) .directory-hero .search-box {
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, .12);
  background: rgba(251, 250, 247, .98);
  box-shadow: 0 18px 42px rgba(17, 17, 17, .14);
  backdrop-filter: blur(12px);
}

body:not(.is-space-view) .directory-search {
  min-width: 0;
}

body:not(.is-space-view) .directory-search-field {
  display: grid;
  align-content: center;
  min-height: 76px;
  padding: 16px 22px;
  border-right-color: #d9d5cc;
  background: transparent;
  transition: background-color .16s ease;
}

body:not(.is-space-view) .directory-search-field label {
  margin-bottom: 6px;
  color: #817c73;
  font-weight: 500;
}

body:not(.is-space-view) .directory-search-field select,
body:not(.is-space-view) .directory-search-field input {
  min-width: 0;
  min-height: 25px;
  color: #111;
  font-family: inherit;
  font-size: 14px;
  font-weight: 430;
  line-height: 1.25;
}

body:not(.is-space-view) .directory-search-field select {
  cursor: pointer;
}

body:not(.is-space-view) .directory-search-field:focus-within {
  background: #f1eee8;
}

body:not(.is-space-view) .directory-search-field:focus-within label {
  color: #111;
}

body:not(.is-space-view) .directory-search-field select:focus-visible,
body:not(.is-space-view) .directory-search-field input:focus-visible {
  outline: 0;
}

body:not(.is-space-view) .directory-search-button {
  min-width: 150px;
  min-height: 76px;
  padding: 0 32px;
  border: 0;
  background: #111;
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  transition: background-color .16s ease, color .16s ease;
}

body:not(.is-space-view) .directory-search-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -5px;
}

/* The floating version remains the same filter bar, only more compact. */
body:not(.is-space-view) .directory-floating-search {
  top: 78px;
  width: min(1040px, calc(100% - 48px));
}

body:not(.is-space-view) .directory-floating-panel {
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, .12);
  background: rgba(251, 250, 247, .98);
  box-shadow: 0 14px 34px rgba(17, 17, 17, .14);
}

body:not(.is-space-view) .directory-floating-panel .directory-search-field {
  min-height: 64px;
  padding: 11px 18px;
}

body:not(.is-space-view) .directory-floating-panel .directory-search-button {
  min-height: 64px;
}

body:not(.is-space-view) .directory-floating-toggle {
  border: 1px solid rgba(17, 17, 17, .12);
  background: rgba(251, 250, 247, .98);
  box-shadow: 0 12px 28px rgba(17, 17, 17, .14);
}

body:not(.is-space-view) .directory-floating-toggle-action {
  background: #111;
  color: #fff;
}

@media (hover: hover) {
  body:not(.is-space-view) .directory-search-field:hover {
    background: rgba(17, 17, 17, .025);
  }

  body:not(.is-space-view) .directory-search-button:hover {
    background: #292929;
  }
}

@media (max-width: 900px) {
  body:not(.is-space-view) .directory-floating-search {
    top: 76px;
    width: calc(100% - 32px);
  }

  body:not(.is-space-view) .directory-floating-panel {
    border: 0;
  }

  body:not(.is-space-view) .directory-floating-panel .directory-search-field {
    min-height: 60px;
  }

  body:not(.is-space-view) .directory-floating-panel .directory-search-button {
    min-height: 54px;
  }
}

@media (max-width: 560px) {
  body:not(.is-space-view) .directory-hero .search-box {
    width: 100%;
  }

  body:not(.is-space-view) .directory-search-field {
    min-height: 62px;
    padding: 12px 16px;
  }

  body:not(.is-space-view) .directory-search-button {
    min-height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.is-space-view) .directory-search-field,
  body:not(.is-space-view) .directory-search-button {
    transition: none;
  }
}

/* Related Space discovery — 2026-08-27
 * Reuses the canonical Directory card and shortlist controls. The renderer
 * supplies up to three read-only matches and omits the section when none qualify.
 */


/* Directory header refinement — 2026-08-27 */
.dir-header {
  min-height: 72px;
  height: 72px;
  border-bottom: 1px solid rgba(17, 17, 17, .09);
  background: rgba(251, 250, 247, .96);
}

.dir-nav {
  gap: clamp(24px, 2.5vw, 38px);
}

.dir-nav > a {
  font-size: 10px;
  letter-spacing: .13em;
}

.dir-nav > a::after {
  height: 1px;
}

.dir-actions-group {
  gap: clamp(20px, 2vw, 28px);
}

.dir-shortlist-link,
.dir-account-link {
  gap: 9px;
  color: #111;
}

.dir-shortlist-link .dir-action-label,
.dir-account-link .dir-action-label {
  font-size: 10px;
  letter-spacing: .11em;
}

.dir-action-icon {
  display: grid;
  width: 20px;
  height: 20px;
  flex-basis: 20px;
}

.dir-action-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.dir-shortlist-link .dir-action-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  margin-left: 1px;
  padding: 0 5px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}

.dir-shortlist-link,
.dir-account-link,
.dir-action-icon,
.dir-action-label {
  transition: color .16s ease, opacity .16s ease;
}

@media (hover: hover) {
  .dir-shortlist-link:hover .dir-action-label,
  .dir-account-link:hover .dir-action-label {
    opacity: .58;
  }

  .dir-shortlist-link:hover .dir-action-icon,
  .dir-account-link:hover .dir-action-icon {
    opacity: .7;
  }
}

@media (max-width: 720px) {
  .dir-header {
    min-height: 64px;
    height: 64px;
  }

  .dir-actions-group {
    gap: 6px;
  }

  .dir-shortlist-link,
  .dir-account-link {
    width: 44px;
    min-width: 44px;
    height: 44px;
    justify-content: center;
    gap: 0;
  }

  .dir-action-icon,
  .dir-action-icon svg {
    width: 21px;
    height: 21px;
  }

  .dir-shortlist-link .dir-action-count {
    position: absolute;
    top: 1px;
    right: -1px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    font-size: 8px;
  }
}


/* Shortlist decision page refinement — 2026-08-27 */
.shortlist-hero-grid > div:last-child {
  align-content: end;
}

.shortlist-hero-actions {
  margin-top: 26px;
}

.shortlist-hero-actions .btn {
  min-width: 248px;
  min-height: 50px;
  padding-inline: 22px;
  background: #111;
  color: #fff;
  border-color: #111;
}

.shortlist-brief {
  background: #fff;
}

.shortlist-brief-edit {
  margin: 0;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid #aaa399;
  border-radius: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
  font: inherit;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .13em;
  line-height: 1;
  text-transform: uppercase;
}

.shortlist-brief-edit:hover,
.shortlist-brief-edit:focus-visible {
  border-color: #111;
}

.shortlist-brief-form {
  display: grid;
  grid-template-columns: .85fr 1fr 1.55fr .9fr auto;
  align-items: stretch;
  border: 1px solid #cfcac0;
  background: #fff;
}

.shortlist-brief-field {
  display: grid;
  align-content: center;
  gap: 9px;
  min-width: 0;
  min-height: 92px;
  padding: 16px 18px;
}

.shortlist-brief-field + .shortlist-brief-field {
  border-left: 1px solid #d9d5cc;
}

.shortlist-brief-field label {
  color: #77726a;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.shortlist-brief-field select,
.shortlist-brief-field input {
  width: 100%;
  min-width: 0;
  min-height: 30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: #111;
  font: inherit;
  font-size: 14px;
}

.shortlist-brief-field select:focus-visible,
.shortlist-brief-field input:focus-visible {
  box-shadow: 0 1px 0 #111;
}

.shortlist-brief-dates > div {
  display: grid;
  grid-template-columns: minmax(106px, 1fr) auto minmax(106px, 1fr);
  align-items: center;
  gap: 8px;
}

.shortlist-brief-dates > div > span {
  color: #918b82;
  font-size: 10px;
}

.shortlist-brief-form-actions {
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 170px;
  border-left: 1px solid #d9d5cc;
}

.shortlist-brief-form-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.shortlist-brief-cancel {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-top: 1px solid #d9d5cc;
  background: transparent;
  color: #625e57;
  cursor: pointer;
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.shortlist-brief-cancel:hover {
  background: #eeeae3;
  color: #111;
}

.shortlist-handoff {
  position: relative;
  width: min(var(--directory-max), calc(100% - (2 * var(--directory-gutter))));
  margin: 0 auto var(--directory-section);
  padding: clamp(38px, 4vw, 64px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, .48fr);
  gap: clamp(38px, 6vw, 96px);
  align-items: center;
  overflow: hidden;
  background: #151515;
}

.shortlist-handoff::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(38px, 4vw, 64px);
  width: 72px;
  height: 2px;
  background: #fff;
}

.shortlist-handoff > div:first-child {
  max-width: 760px;
}

.shortlist-handoff h2 {
  max-width: 11ch;
  font-size: clamp(36px, 4vw, 62px);
  line-height: .98;
}

.shortlist-handoff-actions {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-self: stretch;
  align-content: center;
  gap: 10px;
  padding-left: clamp(28px, 4vw, 56px);
  border-left: 1px solid rgba(255, 255, 255, .2);
}

.shortlist-handoff-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding-inline: 20px;
}

.shortlist-handoff .hds-turnstile {
  grid-column: 1 / -1;
  width: min(100%, 420px);
  max-width: 420px;
  margin: 26px 0 0;
  overflow: hidden;
}

.shortlist-handoff .hds-turnstile-status {
  grid-column: 1 / -1;
  max-width: 760px;
}

@media (max-width: 1120px) {
  .shortlist-brief-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shortlist-brief-field:nth-child(3) {
    border-left: 0;
    border-top: 1px solid #d9d5cc;
  }

  .shortlist-brief-field:nth-child(4) {
    border-top: 1px solid #d9d5cc;
  }

  .shortlist-brief-form-actions {
    grid-column: 1 / -1;
    grid-template-columns: minmax(180px, 1fr) auto;
    grid-template-rows: 1fr;
    border-top: 1px solid #d9d5cc;
    border-left: 0;
  }

  .shortlist-brief-cancel {
    min-width: 130px;
    border-top: 0;
    border-left: 1px solid #d9d5cc;
  }
}

@media (max-width: 820px) {
  .shortlist-handoff {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .shortlist-handoff-actions {
    grid-column: 1;
    grid-row: auto;
    padding: 26px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .2);
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .shortlist-hero-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .shortlist-brief-form {
    grid-template-columns: 1fr;
  }

  .shortlist-brief-field,
  .shortlist-brief-field + .shortlist-brief-field,
  .shortlist-brief-field:nth-child(3),
  .shortlist-brief-field:nth-child(4) {
    min-height: 78px;
    border-top: 1px solid #d9d5cc;
    border-left: 0;
  }

  .shortlist-brief-field:first-child {
    border-top: 0;
  }

  .shortlist-brief-form-actions {
    grid-template-columns: 1fr;
  }

  .shortlist-brief-cancel {
    min-height: 42px;
    border-top: 1px solid #d9d5cc;
    border-left: 0;
  }

  .shortlist-handoff {
    width: calc(100% - 40px);
    margin-inline: 20px;
    padding: 34px 24px;
  }

  .shortlist-handoff::before {
    left: 24px;
  }
}


/* Shortlist final optical adjustment — 2026-08-27 */
.shortlist-handoff {
  column-gap: clamp(38px, 6vw, 96px);
  row-gap: 18px;
}

.shortlist-handoff h2 {
  max-width: none;
}


#shortlist-workspace {
  scroll-margin-top: 92px;
}


/* Home → Directory search journey — 2026-08-27 */
.home-editorial .de-hero-search {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) auto;
  width: min(780px, 100%);
  min-height: 72px;
  margin: 34px auto 0;
  border: 1px solid rgba(255, 255, 255, .58);
  background: rgba(251, 250, 247, .97);
  color: #111;
  text-align: left;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.home-editorial .de-hero-search-field {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
  padding: 13px 18px;
}

.home-editorial .de-hero-search-field + .de-hero-search-field {
  border-left: 1px solid #d9d5cc;
}

.home-editorial .de-hero-search-field label {
  color: #77726a;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .13em;
  line-height: 1;
  text-transform: uppercase;
}

.home-editorial .de-hero-search-field select {
  width: 100%;
  min-width: 0;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: #111;
  font: inherit;
  font-size: 14px;
}

.home-editorial .de-hero-search-field select:focus-visible {
  box-shadow: 0 1px 0 #111;
}

.home-editorial .de-hero-search button {
  min-width: 190px;
  padding: 0 22px;
  border: 0;
  border-left: 1px solid #111;
  border-radius: 0;
  background: #111;
  color: #fff;
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background-color .16s ease, color .16s ease;
}

.home-editorial .de-hero-search button:hover,
.home-editorial .de-hero-search button:focus-visible {
  background: #292929;
}

/* The Directory is the utility surface: clear, compact and filter-first. */
body:not(.is-space-view) .directory-hero {
  min-height: 0;
  padding: 0 var(--directory-gutter);
  align-items: stretch;
  justify-content: stretch;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

body:not(.is-space-view) .directory-hero-inner {
  width: min(var(--directory-max), 100%);
  margin-inline: auto;
  padding: clamp(54px, 6vw, 88px) 0 clamp(42px, 5vw, 70px);
  align-items: stretch;
  color: #111;
}

body:not(.is-space-view) .directory-hero .hero-copy {
  width: 100%;
  margin: 0 0 clamp(28px, 3vw, 42px);
  text-align: left;
}

body:not(.is-space-view) .directory-hero .hero-copy .section-kicker {
  margin: 0 0 16px;
  color: #77726a;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body:not(.is-space-view) .directory-hero .directory-hero-title {
  align-items: flex-start;
  max-width: 12ch;
  color: #111;
  font-size: clamp(52px, 6vw, 88px);
  line-height: .94;
}

body:not(.is-space-view) .directory-hero .search-box {
  width: 100%;
  margin: 0;
  border: 1px solid #cfcac0;
  background: #fff;
  color: #111;
  box-shadow: none;
}

body:not(.is-space-view) .directory-hero .directory-search {
  grid-template-columns: .9fr 1fr 1.5fr .9fr auto;
}

body:not(.is-space-view) .directory-hero .directory-search-field {
  min-height: 82px;
  padding: 16px 18px;
}

body:not(.is-space-view) .directory-hero .directory-search-button {
  min-width: 176px;
  background: #111;
}

@media (max-width: 900px) {
  .home-editorial .de-hero-search {
    width: min(680px, 100%);
  }

  body:not(.is-space-view) .directory-hero-inner {
    padding-top: 48px;
  }

  body:not(.is-space-view) .directory-hero .directory-search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not(.is-space-view) .directory-hero .directory-search-field:nth-child(3),
  body:not(.is-space-view) .directory-hero .directory-search-field:nth-child(4) {
    border-top: 1px solid #d9d5cc;
  }

  body:not(.is-space-view) .directory-hero .directory-search-button {
    grid-column: 1 / -1;
    min-height: 56px;
  }
}

@media (max-width: 640px) {
  .home-editorial .de-hero-copy {
    bottom: 34px;
  }

  .home-editorial .de-hero-search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
    margin-top: 26px;
  }

  .home-editorial .de-hero-search-field {
    min-height: 62px;
    padding: 11px 13px;
  }

  .home-editorial .de-hero-search button {
    grid-column: 1 / -1;
    min-height: 50px;
    border-top: 1px solid #111;
    border-left: 0;
  }

  body:not(.is-space-view) .directory-hero {
    padding-inline: 20px;
  }

  body:not(.is-space-view) .directory-hero-inner {
    padding: 38px 0 34px;
  }

  body:not(.is-space-view) .directory-hero .hero-copy {
    margin-bottom: 24px;
  }

  body:not(.is-space-view) .directory-hero .directory-hero-title {
    font-size: clamp(42px, 13vw, 58px);
  }

  body:not(.is-space-view) .directory-hero .directory-search {
    grid-template-columns: 1fr;
  }

  body:not(.is-space-view) .directory-hero .directory-search-field,
  body:not(.is-space-view) .directory-hero .directory-search-field:nth-child(3),
  body:not(.is-space-view) .directory-hero .directory-search-field:nth-child(4) {
    min-height: 62px;
    border-top: 1px solid #d9d5cc;
    border-right: 0;
  }

  body:not(.is-space-view) .directory-hero .directory-search-field:first-child {
    border-top: 0;
  }

  body:not(.is-space-view) .directory-hero .directory-search-button {
    grid-column: auto;
    min-height: 54px;
  }
}


/* Home search + Directory promise refinement — 2026-08-27 */
.home-editorial .de-hero-search {
  margin-top: 18px;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: translateY(-22px);
}

.home-editorial .de-hero-search-field {
  border-bottom: 1px solid rgba(255, 255, 255, .78);
  background: rgba(10, 10, 10, .12);
}

.home-editorial .de-hero-search-field + .de-hero-search-field {
  border-left-color: rgba(255, 255, 255, .42);
}

.home-editorial .de-hero-search-field label {
  color: rgba(255, 255, 255, .72);
}

.home-editorial .de-hero-search-field select {
  color: #fff;
  color-scheme: dark;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}

.home-editorial .de-hero-search-field select option {
  background: #fff;
  color: #111;
}

.home-editorial .de-hero-search button {
  min-height: 72px;
  border: 1px solid rgba(255, 255, 255, .86);
  background: rgba(17, 17, 17, .92);
}

body:not(.is-space-view) .directory-hero .directory-hero-title {
  max-width: none;
}

@media (max-width: 640px) {
  .home-editorial .de-hero-search {
    margin-top: 20px;
    transform: none;
  }

  .home-editorial .de-hero-search button {
    min-height: 50px;
  }

  body:not(.is-space-view) .directory-hero .directory-hero-title {
    max-width: 12ch;
  }
}


/* HDS date-range calendar — 2026-08-27 */

body:not(.is-space-view) .hds-date-trigger {
  display: flex;
  width: 100%;
  min-height: 28px;
  padding: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 430;
  line-height: 1.25;
  text-align: left;
}

body:not(.is-space-view) .hds-date-trigger:focus-visible {
  outline: 0;
  box-shadow: 0 1px 0 #111;
}

body:not(.is-space-view) .hds-date-chevron {
  color: #77726a;
  font-size: 15px;
  transform: translateY(-1px);
}

.hds-calendar[hidden] {
  display: none;
}

.hds-calendar {
  position: fixed;
  z-index: 140;
  width: min(664px, calc(100vw - 32px));
  border: 1px solid #cfcac0;
  background: #fff;
  color: #111;
  box-shadow: 0 24px 64px rgba(17, 17, 17, .16);
  font-family: Inter, Arial, sans-serif;
}

.hds-calendar button {
  border: 0;
  border-radius: 0;
  font: inherit;
}

.hds-calendar-header {
  display: flex;
  min-height: 72px;
  padding: 15px 18px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #d8d3c9;
}

.hds-calendar-header > div {
  display: grid;
  gap: 5px;
}

.hds-calendar-header small {
  color: #77726a;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hds-calendar-header strong {
  font-size: 13px;
  font-weight: 450;
}

.hds-calendar-header nav {
  display: flex;
  gap: 4px;
}

.hds-calendar-header nav button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: transparent;
  color: #111;
  cursor: pointer;
  font-size: 15px;
}

.hds-calendar-header nav button:hover,
.hds-calendar-header nav button:focus-visible {
  outline: 0;
  background: #ebe7df;
}

.hds-calendar-months {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hds-calendar-month {
  padding: 19px 18px 16px;
}

.hds-calendar-month + .hds-calendar-month {
  border-left: 1px solid #d8d3c9;
}

.hds-calendar-month h3 {
  margin: 0 0 15px;
  font-size: 17px;
  font-weight: 450;
  letter-spacing: -.02em;
}

.hds-calendar-month h3 span {
  color: #77726a;
  font-weight: 400;
}

.hds-calendar-weekdays,
.hds-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.hds-calendar-weekdays {
  margin-bottom: 7px;
}

.hds-calendar-weekdays span {
  color: #8b857c;
  font-size: 8px;
  font-weight: 550;
  letter-spacing: .1em;
  text-align: center;
}

.hds-calendar-day {
  position: relative;
  display: grid;
  min-width: 0;
  height: 38px;
  padding: 0;
  place-items: center;
  background: transparent;
  color: #111;
  cursor: pointer;
  font-size: 12px;
}

.hds-calendar-day::before {
  position: absolute;
  inset: 3px 0;
  z-index: 0;
  background: transparent;
  content: "";
}

.hds-calendar-day span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
}

.hds-calendar-day.is-outside {
  color: #b5afa5;
}

.hds-calendar-day.is-today span {
  box-shadow: inset 0 0 0 1px #77726a;
}

.hds-calendar-day.is-in-range::before {
  background: #e4dfd5;
}

.hds-calendar-day.is-start::before {
  left: 50%;
  background: #e4dfd5;
}

.hds-calendar-day.is-end::before {
  right: 50%;
  background: #e4dfd5;
}

.hds-calendar-day.is-start span,
.hds-calendar-day.is-end span {
  background: #111;
  color: #fff;
  box-shadow: none;
}

.hds-calendar-day:hover span,
.hds-calendar-day:focus-visible span {
  background: #d8d3c9;
  color: #111;
}

.hds-calendar-day.is-start:hover span,
.hds-calendar-day.is-start:focus-visible span,
.hds-calendar-day.is-end:hover span,
.hds-calendar-day.is-end:focus-visible span {
  background: #111;
  color: #fff;
}

.hds-calendar-day:focus-visible {
  outline: 0;
}

.hds-calendar-footer {
  display: flex;
  min-height: 62px;
  padding: 10px 14px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #d8d3c9;
}

.hds-calendar-footer button {
  min-height: 40px;
  padding: 0 14px;
  background: transparent;
  color: #111;
  cursor: pointer;
  font-size: 10px;
  font-weight: 550;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.hds-calendar-footer .hds-calendar-apply {
  min-width: 132px;
  background: #111;
  color: #fff;
}

.hds-calendar-footer .hds-calendar-apply:disabled {
  cursor: default;
  opacity: .35;
}

.hds-calendar-footer button:focus-visible {
  outline: 1px solid #111;
  outline-offset: 2px;
}

@media (max-width: 700px) {
  .hds-calendar {
    inset: auto 0 0 !important;
    width: 100%;
    border-width: 1px 0 0;
    box-shadow: 0 -16px 52px rgba(17, 17, 17, .18);
  }

  .hds-calendar-months {
    grid-template-columns: 1fr;
  }

  .hds-calendar-month + .hds-calendar-month {
    display: none;
  }

  .hds-calendar-day {
    height: 42px;
  }

  .hds-calendar-header {
    min-height: 68px;
  }
}


.hds-calendar-day.is-outside:disabled {
  cursor: default;
}


/* Home hero alignment + HDS select menus — 2026-08-27 */
.home-editorial .de-hero-copy {
  display: grid;
  right: var(--page-x);
  bottom: clamp(42px, 6vh, 72px);
  left: var(--page-x);
  width: auto;
  justify-items: center;
  gap: clamp(16px, 2.1vh, 24px);
  transform: none;
  text-align: center;
}

.home-editorial .de-hero-copy > p {
  margin: 0;
}

.home-editorial .de-hero h1 {
  width: min(1480px, 100%);
  margin: 0;
  font-size: clamp(56px, 6.1vw, 108px);
  line-height: .92;
}

.home-editorial .de-hero-search {
  width: min(860px, 100%);
  margin: clamp(2px, .8vh, 8px) auto 0;
  transform: none;
}

.home-editorial .de-hero-search-field {
  position: relative;
}

.home-editorial .de-hero-search-field select.is-hds-enhanced {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  clip-path: inset(50%);
  overflow: hidden;
  pointer-events: none;
  white-space: nowrap;
}

.hds-home-select {
  min-width: 0;
}

.home-editorial .de-hero-search .hds-home-select-trigger {
  display: flex;
  width: 100%;
  min-height: 28px;
  padding: 0;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 430;
  line-height: 1.25;
  text-align: left;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}

.home-editorial .de-hero-search .hds-home-select-trigger:hover {
  background: transparent;
  color: #fff;
}

.home-editorial .de-hero-search .hds-home-select-trigger:focus-visible {
  outline: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9);
}

.home-editorial .de-hero-search .hds-home-select-chevron {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  transition: transform .16s ease;
}

.home-editorial .de-hero-search .hds-home-select-trigger[aria-expanded="true"] .hds-home-select-chevron {
  transform: rotate(180deg);
}

.hds-home-select-menu[hidden] {
  display: none;
}

.hds-home-select-menu {
  position: fixed;
  z-index: 160;
  border: 1px solid #cfcac0;
  background: #fff;
  color: #111;
  box-shadow: 0 24px 64px rgba(17, 17, 17, .18);
  font-family: Inter, Arial, sans-serif;
}

.hds-home-select-heading {
  display: flex;
  min-height: 50px;
  padding: 0 15px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #d8d3c9;
  color: #77726a;
  font-size: 8px;
  font-weight: 550;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hds-home-select-option {
  display: flex;
  width: 100%;
  min-height: 44px;
  padding: 0 15px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid #e3ded5;
  border-radius: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 430;
  text-align: left;
}

.hds-home-select-option:last-child {
  border-bottom: 0;
}

.hds-home-select-option:hover,
.hds-home-select-option:focus-visible {
  outline: 0;
  background: #ebe7df;
}

.hds-home-select-option[aria-selected="true"] {
  background: #111;
  color: #fff;
}

.hds-home-select-option[aria-selected="true"]:hover,
.hds-home-select-option[aria-selected="true"]:focus-visible {
  background: #292929;
}

@media (max-width: 640px) {
  .home-editorial .de-hero-copy {
    right: 20px;
    bottom: 28px;
    left: 20px;
    gap: 14px;
    text-align: center;
  }

  .home-editorial .de-hero h1 {
    font-size: clamp(44px, 12vw, 64px);
    line-height: .95;
  }

  .home-editorial .de-hero-search {
    margin-top: 2px;
  }
}

@media (max-width: 700px) {
  .hds-home-select-menu {
    inset: auto 0 0 !important;
    width: 100% !important;
    border-width: 1px 0 0;
    box-shadow: 0 -16px 52px rgba(17, 17, 17, .18);
  }

  .hds-home-select-heading {
    min-height: 56px;
    padding-inline: 20px;
  }

  .hds-home-select-option {
    min-height: 50px;
    padding-inline: 20px;
  }
}


/* Home search as a secondary header bar — 2026-08-27 */
.home-editorial .de-hero-copy {
  top: calc(50% + 74px);
  bottom: auto;
  transform: translateY(-50%);
}

.home-editorial .de-hero > .de-hero-search {
  position: absolute;
  z-index: 3;
  top: 76px;
  right: var(--page-x);
  left: var(--page-x);
  width: auto;
  margin: 0;
  transform: none;
}

.home-editorial .de-hero > .de-hero-search > button {
  border: 0;
  border-left: 0;
  outline: 0;
}

.home-editorial .de-hero > .de-hero-search > button:focus-visible {
  outline: 1px solid rgba(255, 255, 255, .88);
  outline-offset: -3px;
}

@media (max-width: 640px) {
  .home-editorial .de-hero-copy {
    top: calc(50% + 96px);
    right: 20px;
    bottom: auto;
    left: 20px;
    transform: translateY(-50%);
  }

  .home-editorial .de-hero > .de-hero-search {
    top: 76px;
    right: 20px;
    left: 20px;
    width: auto;
    margin: 0;
  }
}


/* Unified two-level glass header — 2026-08-27 */
.home-editorial .de-header,
.home-editorial .de-hero > .de-hero-search {
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  background: rgba(18, 17, 15, .28);
  box-shadow: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.home-editorial .de-hero > .de-hero-search .de-hero-search-field {
  border-bottom: 0;
  background: transparent;
}


/* One visual block, independent navigation and search — 2026-08-27 */
.home-editorial .de-header {
  padding-inline: var(--page-x);
  border-bottom: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Align the wordmark with the first search-field label below it. */
.home-editorial .de-header .brand {
  margin-inline-start: 18px;
}

.home-editorial .de-header nav {
  margin-inline-end: 18px;
}

.home-editorial .de-header::before {
  position: absolute;
  inset: 0 var(--page-x);
  z-index: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  background: rgba(18, 17, 15, .28);
  box-shadow: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  content: "";
  pointer-events: none;
}

.home-editorial .de-header > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .home-editorial .de-header {
    padding-inline: 33px;
  }

  .home-editorial .de-header .brand {
    margin-inline-start: 5px;
  }

  .home-editorial .de-header .home-mobile-actions {
    margin-inline-end: 5px;
  }

  .home-editorial .de-header::before {
    right: 20px;
    left: 20px;
  }
}


/* Directory brand signature — match the Home wordmark / Any city. */
.dir-brand {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .16em;
  line-height: 1;
}

/* HDS UI System — official marks in one optical frame — 2026-08-28 */
.home-editorial .de-integrations {
  --hds-integration-frame: 46px;
  --hds-integration-mark: 19px;
  background: #fff;
}

.home-editorial .de-integrations .de-section-head {
  max-width: none;
  margin-bottom: clamp(38px, 4.5vw, 62px);
}

.home-editorial .de-integrations .de-section-head h2 {
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(30px, 3.1vw, 48px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.042em;
}

.home-editorial .de-integrations > .de-integration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1120px, 100%);
  margin: 0 auto;
  gap: 0;
  border-top: 1px solid var(--de-line);
  border-left: 1px solid var(--de-line);
}

.home-editorial .de-integration-card {
  display: grid;
  grid-template-rows: var(--hds-integration-frame) auto;
  min-height: 164px;
  padding: 30px 18px 24px;
  place-items: center;
  gap: 18px;
  border: 0;
  border-right: 1px solid var(--de-line);
  border-bottom: 1px solid var(--de-line);
  border-radius: 0;
  background: transparent;
  color: #111;
  text-align: center;
}

.home-editorial .de-integration-card:hover {
  background: #f7f5f0;
}

.home-editorial .de-integrations .de-integration-mark {
  display: grid;
  box-sizing: border-box;
  width: var(--hds-integration-frame);
  min-width: var(--hds-integration-frame);
  max-width: var(--hds-integration-frame);
  height: var(--hds-integration-frame);
  min-height: 0;
  max-height: var(--hds-integration-frame);
  padding: 0;
  place-items: center;
  font-size: 0;
  border: 1px solid #d8d4cc;
  border-radius: 10px;
  background: #f8f7f3;
  color: #111;
}

.home-editorial .de-integrations .de-integration-mark svg {
  display: block;
  width: var(--hds-integration-mark);
  height: var(--hds-integration-mark);
  fill: currentColor;
  opacity: .88;
}

.home-editorial .de-integration-card strong {
  font-size: 13px;
  font-weight: 480;
  line-height: 1.2;
  letter-spacing: .01em;
}

.dir-action-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dir-action-icon svg > *,
.home-editorial .home-workspace-link svg > *,
.home-editorial .home-account-link svg > * {
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

@media (max-width: 800px) {
  .home-editorial .de-integrations > .de-integration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-editorial .de-integration-card {
    min-height: 146px;
    padding: 26px 14px 21px;
    gap: 16px;
  }
}

@media (max-width: 440px) {
  .home-editorial .de-integrations {
    --hds-integration-frame: 42px;
    --hds-integration-mark: 18px;
    padding-inline: 16px;
  }

  .home-editorial .de-integrations .de-section-head {
    margin-bottom: 34px;
  }

  .home-editorial .de-integrations .de-section-head h2 {
    font-size: clamp(28px, 9vw, 36px);
  }

  .home-editorial .de-integration-card {
    min-height: 132px;
  }

  .home-editorial .de-integrations .de-integration-mark {
    border-radius: 9px;
  }

  .home-editorial .de-integration-card strong {
    font-size: 12px;
  }
}

/* Shared date picker uses authored vector controls on every surface. */
.hds-calendar-icon { display: block; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.hds-calendar-header nav button { display: grid; place-items: center; }
