/* stylelint-disable declaration-block-single-line-max-declarations, no-descending-specificity, declaration-property-value-allowed-list */
:root {
  color-scheme: light;

  --paper: var(--platform-surface, #ffffff);
  --paper-deep: #f7f7f7;
  --ink: var(--platform-text, #222222);
  --muted: #717171;
  --line: #dddddd;
  --moss: var(--platform-primary, #ff385c);
  --forest: var(--ink);
  --sand: #fff0f2;
  --dark: #222222;
  --white: #ffffff;
  --surface: var(--paper-deep);
  --accent: var(--platform-accent, #e61e4d);
  --teal: #008489;
  --warm: #ffb400;
  --on-media: var(--white);
  --z-hero-content: 20;
  --gutter: clamp(20px, 5vw, 76px);
  --max: 1440px;
  --display: "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --body: "Helvetica Neue", "PingFang TC", "Noto Sans TC", arial, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font-family: var(--body); scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); }
a { color: inherit; text-decoration: none; transition: color .25s ease, opacity .25s ease, transform .25s ease; }
a:hover, a:focus-visible { color: var(--moss); }
button { color: inherit; font: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--moss); outline-offset: 4px; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; }
h1, h2 { letter-spacing: -.045em; }
em { color: var(--moss); font-style: normal; }
svg { width: 1em; height: 1em; vertical-align: -.15em; }
.page-shell { overflow: hidden; }
.site-header { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; width: min(var(--max), calc(100% - var(--gutter) * 2)); height: 92px; margin: auto; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-size: 1.05rem; letter-spacing: .09em; text-transform: uppercase; }
.brand-logo-slot { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; }
.brand-logo { width: 100%; height: 100%; object-fit: contain; border-radius: 5px; }
.brand small { align-self: flex-end; margin-left: -7px; margin-bottom: 2px; color: var(--muted); font-family: var(--body); font-size: .55rem; letter-spacing: .15em; }
.brand-mark { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid currentcolor; border-radius: 50%; color: var(--moss); font-family: Georgia, serif; font-size: .86rem; font-style: italic; letter-spacing: 0; }
.desktop-nav { display: flex; gap: clamp(20px, 3.2vw, 50px); margin-left: auto; margin-right: 50px; color: var(--muted); font-size: .78rem; letter-spacing: .07em; }
.desktop-nav a:hover { color: var(--ink); }
.menu-toggle { display: flex; align-items: center; gap: 9px; border: 0; background: transparent; cursor: pointer; color: var(--ink); font-size: .75rem; letter-spacing: .08em; }
.menu-toggle svg { width: 18px; height: 18px; }
.mobile-menu { position: absolute; top: 80px; right: 0; display: grid; width: min(260px, 100%); padding: 10px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 18px 50px rgb(32 37 31 / 12%); }
.mobile-menu a { display: flex; align-items: center; justify-content: space-between; padding: 17px 13px; border-bottom: 1px solid var(--line); font-size: .85rem; }
.mobile-menu a:last-child { border-bottom: 0; }
.section { width: min(var(--max), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.eyebrow { color: var(--moss); font-size: .64rem; font-weight: 600; letter-spacing: .2em; line-height: 1.5; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 50px; padding: 0 22px; border: 1px solid transparent; font-size: .75rem; letter-spacing: .06em; }
.button svg, .text-link svg, .back-link svg { width: 18px; height: 18px; }
.button-light { background: var(--white); color: var(--ink); }
.button-light:hover, .button-light:focus-visible { background: var(--sand); color: var(--ink); }
.button-dark { background: var(--dark); color: var(--white); }
.button-dark:hover, .button-dark:focus-visible { background: #000000; color: var(--white); transform: translateY(-2px); }
.button-disabled { cursor: not-allowed; opacity: .72; }
.button-disabled:hover { color: var(--white); transform: none; }
.text-link { display: inline-flex; align-items: center; gap: 15px; border-bottom: 1px solid currentcolor; padding-bottom: 7px; color: var(--forest); font-size: .75rem; letter-spacing: .08em; }
.text-link:hover { gap: 22px; }
.market-hero { position: relative; display: grid; min-height: min(720px, calc(100vh - 92px)); grid-template-columns: minmax(280px, .8fr) minmax(420px, 1.4fr); align-items: center; gap: 4vw; width: min(var(--max), calc(100% - var(--gutter) * 2)); margin: auto; padding-bottom: 50px; }
.market-hero-copy { position: relative; z-index: 2; padding-left: clamp(4px, 4vw, 62px); }
.market-hero-copy h1 { margin: 20px 0 25px; font-size: clamp(3.4rem, 7vw, 7.4rem); line-height: .96; }
.market-hero-copy > p { max-width: 375px; margin-bottom: 35px; color: var(--muted); font-size: .92rem; line-height: 1.9; }
.market-hero-art { position: relative; min-height: 570px; overflow: hidden; background: var(--paper-deep); }
.market-hero-art::after { position: absolute; inset: 0; background: linear-gradient(120deg, rgb(34 34 34 / 10%), transparent 45%, rgb(34 34 34 / 22%)); content: ""; }
.market-hero-media { position: relative; min-height: 570px; overflow: hidden; background: var(--paper-deep); }
.market-hero-media::after { position: absolute; inset: 0; background: linear-gradient(120deg, rgb(34 34 34 / 10%), transparent 45%, rgb(34 34 34 / 28%)); content: ""; pointer-events: none; }
.market-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.art-sun { position: absolute; top: 11%; right: 12%; width: 35%; aspect-ratio: 1; border-radius: 50%; background: var(--warm); opacity: .8; }
.art-building { position: absolute; bottom: 0; background: var(--paper-deep); }
.art-building-back { right: 2%; width: 62%; height: 75%; transform: skewY(-2deg); background: var(--teal); }
.art-building-front { left: 9%; width: 54%; height: 58%; padding: 35px 28px; background: var(--sand); color: rgb(34 34 34 / 70%); font-family: var(--display); font-size: .7rem; letter-spacing: .23em; }
.art-window { position: absolute; z-index: 1; width: 11%; height: 13%; background: var(--moss); box-shadow: 0 0 0 7px var(--sand); }
.window-one { bottom: 30%; left: 23%; }
.window-two { right: 22%; bottom: 22%; background: var(--warm); box-shadow: 0 0 0 7px var(--teal); }
.art-plant { position: absolute; z-index: 2; right: 15%; bottom: 0; width: 4%; height: 28%; border-radius: 50% 50% 0 0; background: var(--teal); transform: rotate(7deg); }
.art-plant::before, .art-plant::after { position: absolute; width: 200%; height: 30%; border-radius: 100% 0; background: var(--teal); content: ""; }
.art-plant::before { top: 5%; right: 50%; transform: rotate(-28deg); }
.art-plant::after { top: 20%; left: 55%; transform: rotate(28deg); }
.hero-stamp { position: absolute; right: -15px; bottom: 10px; z-index: 3; display: grid; width: 85px; height: 85px; place-content: center; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); text-align: center; transform: rotate(12deg); }
.hero-stamp span { font-size: .49rem; letter-spacing: .18em; }
.hero-stamp strong { font-family: Georgia, serif; font-size: 1.25rem; font-weight: 400; }
.discover-section { padding-block: 150px 180px; }
.section-heading { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; margin-bottom: 58px; }
.section-heading h2 { font-size: clamp(2rem, 4.7vw, 4.5rem); line-height: .98; }
.section-heading > p { justify-self: end; color: var(--muted); font-size: .72rem; letter-spacing: .1em; }
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.listing-card-media { position: relative; display: block; overflow: hidden; aspect-ratio: 1.08 / 1; background: var(--paper-deep); }
.listing-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.listing-card:hover .listing-card-media img { transform: scale(1.045); }
.listing-card-chip { position: absolute; top: 17px; left: 17px; padding: 7px 10px; background: rgb(251 250 246 / 87%); color: var(--moss); font-size: .59rem; letter-spacing: .1em; }
.listing-card-copy { display: grid; grid-template-columns: 1fr auto; gap: 22px; padding-top: 19px; }
.card-kicker { margin-bottom: 8px; color: var(--muted); font-size: .63rem; letter-spacing: .12em; }
.listing-card h3 { font-size: 1.16rem; line-height: 1.3; }
.listing-card-meta { color: var(--muted); font-size: .67rem; line-height: 1.7; text-align: right; }
.listing-card-copy .text-link { grid-column: 1 / -1; justify-self: start; margin-top: 1px; }
.editorial-band { display: grid; grid-template-columns: .7fr 1.1fr 1fr; gap: 6vw; align-items: start; padding: 110px max(var(--gutter), calc((100vw - var(--max)) / 2)); background: var(--paper-deep); color: var(--ink); }
.editorial-number { color: var(--warm); font-family: Georgia, serif; font-size: 3.2rem; }
.editorial-band h2 { margin-top: 20px; font-size: clamp(2.7rem, 5vw, 5.4rem); line-height: .98; }
.editorial-band em { color: var(--accent); }
.editorial-band > p { max-width: 340px; justify-self: end; margin-top: 68px; color: var(--muted); font-size: .9rem; line-height: 2; }
.partner-section { display: flex; align-items: end; justify-content: space-between; padding: 135px max(var(--gutter), calc((100vw - var(--max)) / 2)); }
.partner-section h2 { margin-top: 22px; font-size: clamp(2.7rem, 5vw, 5rem); line-height: .95; }
.partner-description { max-width: 390px; margin-top: 20px; color: var(--muted); font-size: .85rem; line-height: 1.8; }
.text-link-large { font-size: .8rem; }
.site-footer { display: flex; align-items: center; justify-content: space-between; width: min(var(--max), calc(100% - var(--gutter) * 2)); min-height: 125px; margin: auto; border-top: 1px solid var(--line); color: var(--muted); font-size: .66rem; letter-spacing: .05em; }
.site-footer .brand { color: var(--ink); }
.tenant-hero { display: grid; min-height: 660px; grid-template-columns: 1.15fr .85fr; width: min(var(--max), calc(100% - var(--gutter) * 2)); margin: auto; background: var(--paper-deep); }
.tenant-hero-image { position: relative; min-height: 660px; overflow: hidden; isolation: isolate; background: var(--paper-deep); }
.tenant-hero-image img,
.tenant-hero-image video { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; }
.tenant-hero-image img { z-index: 0; transition: opacity .45s ease; }
.tenant-hero-image video { z-index: 0; opacity: 0; transition: opacity .45s ease; }
.tenant-hero.is-video-ready .tenant-hero-image video { opacity: 1; }
.tenant-hero.is-video-ready .tenant-hero-image img { opacity: 0; }
.tenant-hero-playback { position: absolute; z-index: 2; right: 20px; bottom: 20px; display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 1px solid rgb(255 255 255 / 55%); border-radius: 50%; background: rgb(34 34 34 / 62%); color: #fff; font: inherit; cursor: pointer; backdrop-filter: blur(10px); transition: background-color .2s ease, transform .2s ease; }
.tenant-hero-playback:hover,
.tenant-hero-playback:focus-visible { background: rgb(34 34 34 / 82%); transform: scale(1.04); }
.tenant-hero-playback[hidden] { display: none; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.tenant-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 9%; }
.back-link { display: inline-flex; align-items: center; gap: 11px; margin-bottom: auto; color: var(--muted); font-size: .7rem; letter-spacing: .08em; }
.back-link svg { transform: rotate(180deg); }
.tenant-hero-copy h1 { margin-block: 23px 25px; font-size: clamp(3rem, 5.4vw, 6.1rem); line-height: .95; }
.tenant-hero-copy > p { max-width: 280px; color: var(--muted); font-size: .9rem; line-height: 1.9; }
.tenant-intro { display: grid; grid-template-columns: 1fr 2fr; gap: 8vw; padding-block: 150px; }
.intro-mark { color: var(--moss); font-family: Georgia, serif; font-size: 2.8rem; letter-spacing: -.18em; }
.intro-mark span { margin-left: 5px; color: var(--sand); font-size: 1.2rem; }
.tenant-intro h2 { max-width: 720px; margin-top: 23px; font-size: clamp(2rem, 4.5vw, 4.3rem); line-height: 1.08; }
.tenant-listings { padding-bottom: 170px; }
.tenant-note { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 5vw; align-items: end; padding: 110px max(var(--gutter), calc((100vw - var(--max)) / 2)); background: var(--sand); }
.tenant-note h2 { font-size: clamp(2.4rem, 4.5vw, 4.4rem); line-height: .98; }
.tenant-note .text-link { justify-self: end; }
.detail-topline { width: min(var(--max), calc(100% - var(--gutter) * 2)); margin: auto; padding: 15px 0 25px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .67rem; letter-spacing: .06em; }
.breadcrumbs span:last-child { color: var(--ink); }
.photo-gallery { width: min(var(--max), calc(100% - var(--gutter) * 2)); margin: auto; }
.gallery-main { overflow: hidden; aspect-ratio: 2.1 / 1; background: var(--paper-deep); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.gallery-thumb { overflow: hidden; padding: 0; border: 2px solid transparent; background: var(--paper-deep); cursor: pointer; opacity: .65; }
.gallery-thumb.is-active { border-color: var(--moss); opacity: 1; }
.gallery-thumb img { width: 100%; aspect-ratio: 1.5 / 1; object-fit: cover; }
.gallery-note { margin-top: 10px; color: var(--muted); font-size: .62rem; letter-spacing: .08em; }
.detail-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(50px, 10vw, 170px); width: min(1160px, calc(100% - var(--gutter) * 2)); margin: auto; padding-block: 110px 160px; }
.detail-copy h1 { max-width: 650px; margin: 18px 0 13px; font-size: clamp(3rem, 5.6vw, 6rem); line-height: .95; }
.detail-location { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .75rem; }
.detail-location svg { width: 17px; height: 17px; }
.facts-row { display: flex; flex-wrap: wrap; gap: 0; margin-top: 38px; color: var(--muted); font-size: .7rem; }
.facts-row span { padding: 0 16px; border-right: 1px solid var(--line); }
.facts-row span:first-child { padding-left: 0; }
.facts-row span:last-child { border-right: 0; }
.copy-rule { width: 100%; margin-block: 44px; border-top: 1px solid var(--line); }
.lead-copy { max-width: 560px; margin-bottom: 23px; color: var(--ink); font-size: 1.5rem; line-height: 1.35; }
.body-copy { max-width: 560px; color: var(--muted); font-size: .86rem; line-height: 1.95; }
.amenity-block { margin-top: 60px; }
.amenity-block ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; max-width: 460px; margin: 17px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .78rem; }
.amenity-block li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.amenity-block li::before { margin-right: 8px; color: var(--warm); content: "✦"; }
.booking-panel { align-self: start; padding: 32px; background: var(--white); box-shadow: 0 22px 60px rgb(32 37 31 / 8%); }
.booking-panel-heading h2 { margin: 14px 0 12px; font-size: 1.55rem; line-height: 1.15; }
.booking-panel-heading > p:last-child { color: var(--muted); font-size: .73rem; line-height: 1.8; }
.calendar { margin-top: 30px; }
.calendar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.calendar-month { font-size: .85rem; letter-spacing: .08em; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.calendar-weekdays { color: var(--muted); font-size: .58rem; text-align: center; }
.calendar-grid { margin-top: 9px; }
.calendar-day { display: grid; min-height: 35px; place-items: center; border: 0; background: transparent; color: var(--ink); font-size: .68rem; }
.calendar-day.is-blocked { color: #a8aaa2; text-decoration: line-through; }
.calendar-day.is-available::after { width: 3px; height: 3px; margin-left: 3px; border-radius: 50%; background: var(--moss); content: ""; }
.calendar-day.is-today { border: 1px solid var(--moss); border-radius: 50%; }
.calendar-day.is-empty { pointer-events: none; }
.calendar-status { color: var(--muted); font-size: .72rem; line-height: 1.7; }
.calendar-status.is-unknown { padding: 13px; background: var(--paper-deep); }
.booking-action { display: grid; margin-top: 30px; }
.booking-action .button { width: 100%; }
.action-note { margin-top: 10px; color: var(--muted); font-size: .63rem; line-height: 1.6; }
.booking-footnote { margin-top: 17px; color: var(--muted); font-size: .62rem; line-height: 1.7; }
.bottom-nav { display: none; }
.empty-state { padding: 60px 0; color: var(--muted); }

@keyframes hero-drift {
  from { transform: scale(1.03) translate(-.4%, -.3%); }
  to { transform: scale(1.1) translate(.7%, .4%); }
}

@media (prefers-reduced-motion: no-preference) {
  .market-hero-media,
  .tenant-hero-image,
  .listing-card-media,
  .space-gallery__tile,
  .photo-browser__photo {
    position: relative;
    isolation: isolate;
  }

  .market-hero-media img,
  .tenant-hero-image [data-tenant-hero-poster] {
    animation: hero-drift 24s ease-in-out alternate infinite;
    transition: opacity .45s ease, transform .7s cubic-bezier(.2, .7, .2, 1), filter .35s ease;
  }

  .market-hero-media::after,
  .tenant-hero-image::after,
  .listing-card-media::after,
  .space-gallery__tile::after,
  .photo-browser__photo::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: rgb(36 38 32 / 0%);
    content: "";
    pointer-events: none;
    transition: background-color .35s ease;
  }

  .market-hero-media::after,
  .tenant-hero-image::after { background: linear-gradient(120deg, rgb(40 55 42 / 8%), transparent 46%, rgb(18 32 26 / 22%)); }

  .listing-card-media:hover::after,
  .listing-card-media:focus-visible::after,
  .space-gallery__tile:hover::after,
  .space-gallery__tile:focus-visible::after,
  .photo-browser__photo:hover::after,
  .photo-browser__photo:focus-visible::after { background: rgb(36 38 32 / 14%); }

  .listing-card-media:hover img,
  .listing-card-media:focus-visible img,
  .space-gallery__tile:hover img,
  .space-gallery__tile:focus-visible img,
  .photo-browser__photo:hover img,
  .photo-browser__photo:focus-visible img { filter: saturate(1.04); transform: scale(1.025); }

  html.has-reveal-js [data-reveal] {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(1.25rem);
    transition: opacity .75s ease, filter .75s ease, transform .75s ease;
  }

  html.has-reveal-js [data-reveal].is-visible {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/* No.88-inspired five-tile preview and full photo wall. */
.space-detail__media {
  position: relative;
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  overflow: hidden;
  border-radius: 1.25rem;
  box-shadow: 0 16px 36px rgb(32 37 31 / 8%);
}
.space-detail__media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, .72fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(.5rem, 1vw, 1rem);
  aspect-ratio: 2.4 / 1;
  min-height: 0;
  overflow: hidden;
}
.space-gallery__tile {
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--surface);
  cursor: pointer;
}
.space-gallery__tile--1 { grid-row: span 2; }
.space-gallery__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.space-gallery__show-all {
  position: absolute;
  right: clamp(1rem, 2vw, 2rem);
  bottom: clamp(1rem, 2vw, 2rem);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem .85rem;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 999px;
  background: rgb(36 38 32 / 72%);
  box-shadow: 0 8px 20px rgb(20 23 19 / 18%);
  backdrop-filter: blur(12px);
  color: var(--on-media);
  font-size: .78rem;
  cursor: pointer;
}
.space-gallery__count { font-variant-numeric: tabular-nums; letter-spacing: .04em; white-space: nowrap; }

.photo-browser {
  box-sizing: border-box;
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
}
.photo-browser::backdrop { background: rgb(20 20 20 / 66%); }
.photo-browser__bar {
  position: sticky;
  z-index: 1;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 5rem;
  padding: .85rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(14px);
}
.photo-browser__bar form:last-child { justify-self: end; }
.photo-browser__bar button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: .85rem;
  cursor: pointer;
}
.photo-browser__bar-title { display: grid; justify-items: center; gap: .15rem; }
.photo-browser__bar-title p, .photo-browser__bar-title span { margin: 0; }
.photo-browser__bar-title p { font-size: .9rem; font-weight: 600; }
.photo-browser__bar-title span { color: var(--muted); font-size: .7rem; }
.photo-browser__content { width: min(100%, 1440px); margin: 0 auto; padding: clamp(2rem, 5vw, 5rem) clamp(1rem, 4vw, 4rem) 6rem; }
.photo-browser__intro { max-width: 48rem; margin-bottom: clamp(2rem, 5vw, 4.5rem); }
.photo-browser__intro h1 { margin: 0 0 .85rem; font: 600 clamp(2.5rem, 6vw, 5.5rem) / .95 var(--display); letter-spacing: -.065em; }
.photo-browser__intro > p:last-child { max-width: 34rem; margin: 0; color: var(--muted); line-height: 1.7; }
.photo-browser__categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1.25rem; margin-bottom: clamp(3rem, 7vw, 6rem); padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.photo-browser__category { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: .8rem; align-items: center; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.photo-browser__category-thumb { display: block; width: 4.5rem; height: 4.5rem; overflow: hidden; background: var(--surface); }
.photo-browser__category-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-browser__category-copy { display: grid; gap: .2rem; min-width: 0; }
.photo-browser__category-copy strong { overflow: hidden; font-size: .88rem; text-overflow: ellipsis; white-space: nowrap; }
.photo-browser__category-copy small { color: var(--muted); font-size: .72rem; }
.photo-browser__group + .photo-browser__group { margin-top: clamp(4rem, 9vw, 9rem); }
.photo-browser__group-header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.photo-browser__group-header h2 { margin: 0; font: 600 clamp(1.25rem, 2vw, 1.75rem) / 1.05 var(--display); }
.photo-browser__group-header p { margin: 0; color: var(--muted); font-size: .75rem; }
.photo-browser__bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(10rem, 14vw, 15rem); grid-auto-flow: dense; gap: clamp(.75rem, 1.5vw, 1.25rem); }
.photo-browser__photo { display: block; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; overflow: hidden; border: 0; background: var(--surface); cursor: pointer; }
.photo-browser__photo[data-gallery-orientation="landscape"] { grid-column: span 2; }
.photo-browser__photo[data-gallery-orientation="portrait"] { grid-row: span 2; }
.photo-browser__photo--hero { grid-column: span 2; grid-row: span 2; }
.photo-browser__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .45s ease; }

.photo-dialog {
  box-sizing: border-box;
  width: min(calc(100% - 2rem), 1480px);
  height: min(calc(100dvh - 2rem), 1000px);
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 0;
  border-radius: 1.25rem;
  background: rgb(20 20 20);
  color: var(--on-media);
  overflow: hidden;
}
.photo-dialog::backdrop { background: rgb(20 20 20 / 86%); }
.photo-dialog__close { position: absolute; top: 1rem; right: 1rem; z-index: 1; padding: .6rem .85rem; border: 1px solid rgb(255 255 255 / 35%); border-radius: .5rem; background: rgb(20 20 20 / 65%); color: var(--on-media); cursor: pointer; }
.photo-dialog__back { position: absolute; top: 1.25rem; left: 1.25rem; z-index: 1; display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .7rem; border: 0; background: transparent; color: var(--on-media); cursor: pointer; }
.photo-dialog__viewer { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(.5rem, 2vw, 2rem); align-items: center; min-height: 100%; padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4vw, 4rem) 2.25rem; touch-action: pan-y; }
.photo-dialog__viewer > button { display: grid; place-items: center; width: 3.75rem; height: 3.75rem; padding: 0; border: 1px solid rgb(255 255 255 / 65%); border-radius: 50%; background: rgb(15 15 15 / 54%); color: var(--on-media); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease; }
.photo-dialog__viewer > button:hover, .photo-dialog__viewer > button:focus-visible, .photo-dialog__close:hover, .photo-dialog__close:focus-visible { border-color: rgb(255 255 255 / 78%); background: rgb(255 255 255 / 18%); }
.photo-dialog__viewer > button:active { transform: scale(.96); }
.photo-dialog__image-wrap { display: grid; place-items: center; min-width: 0; min-height: 0; height: 100%; }
.photo-dialog__image-wrap img { display: block; width: auto; height: auto; max-width: 100%; max-height: 78dvh; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.photo-dialog > p { position: absolute; bottom: .85rem; left: 50%; max-width: calc(100% - 2rem); margin: 0; overflow: hidden; color: rgb(255 255 255 / 78%); font-size: .75rem; text-overflow: ellipsis; transform: translateX(-50%); white-space: nowrap; }
.photo-dialog > p[data-gallery-caption] { bottom: 2.25rem; color: rgb(255 255 255 / 58%); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  a:hover, a:focus-visible { transform: none; }
}

@media (width <= 820px) {
  :root { --gutter: 20px; }
  .site-header { height: 75px; }
  .desktop-nav { display: none; }
  .market-hero { display: block; min-height: 0; padding: 35px 0 65px; }
  .market-hero-copy { padding: 10px 0 46px; }
  .market-hero-copy h1 { font-size: clamp(3.45rem, 15vw, 6rem); }
  .market-hero-art { min-height: 380px; }
  .market-hero-media { min-height: 380px; }
  .hero-stamp { right: 8px; bottom: 24px; }
  .discover-section { padding-block: 100px 115px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 38px; }
  .section-heading > p { justify-self: start; }
  .listing-grid { grid-template-columns: 1fr; gap: 46px; }
  .listing-card-media { aspect-ratio: 1.15 / 1; }
  .editorial-band { grid-template-columns: 1fr; gap: 28px; padding-block: 80px; }
  .editorial-band > p { justify-self: start; margin-top: 8px; }
  .partner-section { display: grid; gap: 45px; padding-block: 90px; }
  .site-footer { display: grid; gap: 22px; min-height: 200px; padding-block: 38px; }
  .tenant-hero { display: flex; flex-direction: column; min-height: 0; }
  .tenant-hero-image { width: 100%; height: min(160vw, 82svh); min-height: 520px; }
  .tenant-hero-copy { min-height: 410px; padding: 30px; }
  .tenant-hero-playback { right: 16px; bottom: 16px; }
  .tenant-hero-copy h1 { font-size: clamp(3.25rem, 14vw, 5.6rem); }
  .tenant-intro { grid-template-columns: 1fr; gap: 45px; padding-block: 95px; }
  .tenant-listings { padding-bottom: 105px; }
  .tenant-note { grid-template-columns: 1fr; gap: 35px; padding-block: 80px; }
  .tenant-note .text-link { justify-self: start; }
  .detail-topline { padding-top: 8px; }
  .space-detail__media { width: 100%; margin-inline: auto; border-radius: 0; }
  .space-detail__media-grid { display: flex; width: 100%; height: 100%; aspect-ratio: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .space-detail__media-grid::-webkit-scrollbar { display: none; }
  .space-gallery__tile { flex: 0 0 100%; aspect-ratio: 1; scroll-snap-align: start; }
  .space-gallery__tile--1 { grid-row: auto; }
  .space-gallery__show-all { right: 1rem; bottom: 1rem; padding: .55rem .7rem; }
  .photo-browser { width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .photo-browser__bar { min-height: 3.75rem; padding-inline: 1rem; }
  .photo-browser__content { padding: 2rem 1rem 4rem; }
  .photo-browser__intro h1 { font-size: clamp(2.2rem, 11vw, 3.5rem); }
  .photo-browser__bento { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 1rem; }
  .photo-browser__photo, .photo-browser__photo[data-gallery-orientation="landscape"], .photo-browser__photo[data-gallery-orientation="portrait"], .photo-browser__photo--hero { grid-column: auto; grid-row: auto; height: auto; aspect-ratio: auto; }
  .photo-browser__photo img { height: auto; aspect-ratio: auto; }
  .photo-dialog { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .photo-dialog__viewer { position: relative; grid-template-columns: 1fr; gap: 0; padding: 3.5rem .5rem 3.75rem; }
  .photo-dialog__viewer > button { position: absolute; z-index: 1; top: 50%; width: 3rem; height: 3rem; font-size: 1rem; transform: translateY(-50%); }
  .photo-dialog__viewer > button:first-child { left: .5rem; }
  .photo-dialog__viewer > button:last-child { right: .5rem; }
  .photo-dialog__image-wrap { width: 100%; height: 100%; }
  .photo-dialog__image-wrap img { max-width: calc(100vw - 1rem); max-height: calc(100dvh - 8rem); }
  .photo-dialog__close { top: .75rem; right: .75rem; }
  .photo-dialog__back { top: .75rem; left: .75rem; }
  .gallery-main { aspect-ratio: 1.15 / 1; }
  .gallery-thumbs { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .gallery-note { font-size: .56rem; }
  .detail-layout { grid-template-columns: 1fr; gap: 70px; padding-block: 75px 110px; }
  .detail-copy h1 { font-size: clamp(3.05rem, 14vw, 5.6rem); }
  .facts-row { line-height: 2.5; }
  .booking-panel { padding: 24px 20px; }
  .bottom-nav { position: fixed; right: 0; bottom: 0; left: 0; z-index: 20; display: flex; justify-content: space-around; padding: 12px 18px max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgb(247 247 247 / 95%); backdrop-filter: blur(14px); }
  .bottom-nav a { display: grid; justify-items: center; gap: 2px; color: var(--muted); font-size: .56rem; letter-spacing: .08em; }
  .bottom-nav-icon { color: var(--moss); font-size: 1rem; }
}
