/* Focused public-page polish for Apartments, Cars, and About. */
:root {
  --display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --polish-ease-out: cubic-bezier(.22, 1, .36, 1);
  --polish-ease-expo: cubic-bezier(.16, 1, .3, 1);
}

html { scrollbar-gutter: stable; }

.site-header,
.home-page .site-header,
.apartments-page .site-header,
.apartment-detail-page .site-header {
  box-shadow: none; /* taste-skill-ignore: removes the incumbent rest-state shadow */
}

.site-header nav a,
.brand small,
.theme-toggle-label {
  font-size: 13px;
  letter-spacing: .02em;
  text-transform: none;
}

.theme-toggle {
  border-radius: 2px;
  box-shadow: none; /* taste-skill-ignore: removes the incumbent rest-state shadow */
}

.theme-toggle-icon { display: none; }

.button,
.apartments-page .button,
.apartment-detail-page .button {
  min-height: 50px;
  border-radius: 2px;
  box-shadow: none !important; /* taste-skill-ignore: removes the incumbent rest-state shadow */
  font-size: 13px;
  letter-spacing: .025em;
  text-transform: none;
  transition: transform 140ms var(--polish-ease-out), background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover { box-shadow: none !important; transform: none; } /* taste-skill-ignore: removes the incumbent hover shadow */
.button:active { box-shadow: none !important; transform: scale(.975); } /* taste-skill-ignore: removes the incumbent active shadow */

.eyebrow, /* taste-skill-ignore: retained for the existing About page outside this focused correction */
.section-kicker,
.stay-kicker {
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}

.eyebrow span { margin-right: 9px; }

/* Apartment directory: keep each title, description, facts, and actions in one visual column. */
.apartments-page .apartment-hero {
  gap: clamp(34px, 5vw, 78px);
}

.apartments-page .apartment-hero-copy h1 {
  max-width: 10ch;
  font-size: clamp(58px, 6.1vw, 88px);
  line-height: .94;
  letter-spacing: -.04em;
}

.apartments-page .apartment-hero-copy > p:not(.eyebrow) {
  max-width: 52ch;
  font-size: 18px;
  line-height: 1.62;
}

.apartment-photo-note,
.apartment-hero-actions > span {
  font-size: 13px;
  letter-spacing: .015em;
  text-transform: none;
}

.residence-entry {
  padding: clamp(66px, 7vw, 104px) 0;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  grid-template-areas: "visual heading" "visual copy";
  grid-template-rows: auto 1fr;
  column-gap: clamp(42px, 6vw, 88px);
  row-gap: 0;
  align-items: start;
}

.residence-entry-reverse {
  grid-template-columns: minmax(360px, .88fr) minmax(0, 1.12fr);
  grid-template-areas: "heading visual" "copy visual";
}

.residence-heading { align-self: start; }
.residence-visual { align-self: start; }
.residence-copy { padding-top: 22px; align-self: start; }

.residence-index {
  color: var(--support);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.residence-heading h2 {
  max-width: 16ch;
  margin: 12px 0 18px;
  font-size: clamp(48px, 4.8vw, 70px);
  line-height: .98;
  letter-spacing: -.04em;
}

.verified-labels {
  gap: 8px 14px;
  margin-bottom: 0;
}

.verified-labels span {
  padding: 0;
  border: 0;
  color: var(--muted) !important;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.verified-labels span + span::before {
  content: "·";
  margin-right: 14px;
  color: var(--support);
}

.residence-copy > p:not(.residence-index) {
  max-width: 44ch;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
}

.residence-actions {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.residence-actions .button { width: 100%; }
.photo-count { font-size: 12px; letter-spacing: .025em; text-transform: none; }
.see-photos { font-size: 13px; letter-spacing: 0; text-transform: none; }

.verification-band {
  padding-top: clamp(78px, 8vw, 118px);
  padding-bottom: clamp(78px, 8vw, 118px);
  gap: clamp(44px, 7vw, 96px);
}

.verification-band h2,
.final-cta h2 {
  max-width: 15ch;
  font-size: clamp(48px, 5.4vw, 74px);
  line-height: .98;
  letter-spacing: -.04em;
}

.final-cta h2 { margin-right: auto; margin-left: auto; }

/* Apartment detail: stronger reading size and stable, unclipped action areas. */
.property-heading h1,
.property-story h2,
.stay-section-heading h2 {
  letter-spacing: -.04em;
}

.property-heading > div:first-child > p:last-child,
.property-description,
.stay-section-heading > p {
  font-size: 17px;
  line-height: 1.62;
}

.property-heading-action .button { width: 100%; }
.property-facts small { font-size: 12px; letter-spacing: .02em; }
.property-facts b { font-size: 18px; }

/* Cars: compact the fleet rows and let the vehicle name, not a giant numeral, lead. */
.inner-hero {
  gap: clamp(42px, 6vw, 88px);
}

.inner-title h1 {
  max-width: 9ch;
  font-size: clamp(64px, 6.3vw, 90px);
  line-height: .94;
  letter-spacing: -.04em;
}

.inner-title > p:not(.eyebrow) {
  max-width: 48ch;
  font-size: 18px;
  line-height: 1.62;
}

.section-head h2,
.customer-guide-intro h2 {
  max-width: 14ch;
  font-size: clamp(48px, 5.2vw, 72px);
  line-height: .98;
  letter-spacing: -.04em;
}

.section-head > p,
.customer-guide-intro > p {
  font-size: 16px;
  line-height: 1.62;
}

.cars-page .listing-row {
  padding: clamp(58px, 6vw, 86px) 0;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(42px, 6vw, 84px);
  border-top-color: var(--line-subtle);
}

.cars-page .listing-row.no-vehicle-photos {
  grid-template-columns: 1fr;
  min-height: 0;
}

.listing-row.no-vehicle-photos .vehicle-marker { display: none; }

.listing-row.no-vehicle-photos .listing-info {
  display: grid;
  grid-template-columns: minmax(250px, .82fr) minmax(380px, 1.18fr);
  grid-template-rows: auto auto auto auto;
  column-gap: clamp(56px, 8vw, 120px);
  align-items: start;
}

.listing-row.no-vehicle-photos .listing-index {
  grid-column: 1;
  grid-row: 1;
}

.listing-row.no-vehicle-photos .listing-info h3 {
  grid-column: 1;
  grid-row: 2 / span 3;
  max-width: 10ch;
  margin-bottom: 0;
  font-size: clamp(58px, 6.4vw, 92px);
  line-height: .9;
}

.listing-row.no-vehicle-photos .listing-info > p:not(.listing-index):not(.price) {
  grid-column: 2;
  grid-row: 1;
  margin-top: 0;
  max-width: 48ch;
}

.listing-row.no-vehicle-photos .price {
  grid-column: 2;
  grid-row: 2;
}

.listing-row.no-vehicle-photos .listing-info ul {
  grid-column: 2;
  grid-row: 3;
}

.listing-row.no-vehicle-photos .listing-info > .button {
  grid-column: 2;
  grid-row: 4;
  justify-self: start;
}

.listing-row.has-vehicle-photos:nth-of-type(even) {
  grid-template-columns: minmax(360px, .92fr) minmax(0, 1.08fr);
}

.listing-row.has-vehicle-photos:nth-of-type(even) .vehicle-marker { order: 2; }

.vehicle-marker,
.vehicle-marker.has-photos {
  min-height: 340px;
}

.vehicle-marker {
  padding: 28px;
  border-left: 0;
  background: var(--soft);
}

.vehicle-marker span {
  max-width: 7ch;
  color: var(--ink);
  font-size: clamp(46px, 6vw, 78px);
  line-height: .88;
  letter-spacing: -.04em;
}

.vehicle-marker small,
.listing-index {
  color: var(--support);
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}

.listing-info h3 {
  max-width: 14ch;
  margin: 10px 0 18px;
  font-size: clamp(42px, 4.2vw, 60px);
  line-height: .98;
  letter-spacing: -.04em;
}

.listing-info > p:not(.listing-index):not(.price) {
  max-width: 48ch;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
}

.price { font-size: 14px; letter-spacing: 0; text-transform: none; }
.price b { font-size: 30px; }
.listing-info ul { gap: 0 24px; border-top-color: var(--line-subtle); }
.listing-info li { min-height: 46px; display: flex; align-items: center; font-size: 14px; }

.amenity-band > p {
  margin-bottom: 24px;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
}

.amenity-band span { min-height: 78px; display: flex; align-items: center; }
.amenity-band b { font-size: 18px; }
.customer-guide-list span { font-size: 13px; letter-spacing: 0; }
.customer-guide-list article > h3 { margin-top: 0; }
.customer-guide-list p { color: var(--ink); font-size: 16px; }

.cars-page .final-cta h2,
.cars-page .final-cta h2 em {
  color: #fff !important;
}

/* About: repair dark-theme contrast, shorten the long typographic stacks, and close loose gaps. */
.about-hero {
  min-height: min(820px, calc(100svh - 76px));
  gap: clamp(40px, 6vw, 90px);
}

.about-hero h1 {
  max-width: 9ch;
  font-size: clamp(64px, 6vw, 86px);
  line-height: .94;
  letter-spacing: -.04em;
}

.about-lede {
  max-width: 48ch;
  font-size: 18px;
  line-height: 1.62;
}

.about-thesis {
  background: #173f38 !important;
  color: #f7fbf8 !important;
}

.about-thesis h2 { color: #f7fbf8 !important; }
.about-thesis h2 em { color: #ffad98 !important; }
.about-thesis .section-kicker { color: #b9d7cf !important; }
.about-thesis-copy { border-top-color: rgba(255,255,255,.24); }
.about-thesis-copy p { color: #dce9e3 !important; font-size: 17px; line-height: 1.65; }

.about-thesis h2,
.about-section-head h2,
.about-process-head h2,
.about-clarity h2,
.about-cta h2 {
  max-width: 14ch;
  font-size: clamp(48px, 5.2vw, 72px);
  line-height: .98;
  letter-spacing: -.04em;
}

.about-services,
.about-process,
.about-clarity {
  padding-top: clamp(76px, 8vw, 116px);
  padding-bottom: clamp(76px, 8vw, 116px);
}

.about-service {
  padding: clamp(52px, 5vw, 76px) 0;
  grid-template-columns: 88px minmax(320px, .78fr) minmax(420px, 1.22fr);
  gap: clamp(32px, 5vw, 72px);
}

.about-service-ride { grid-template-columns: 88px minmax(420px, 1.22fr) minmax(320px, .78fr); }

.about-service-index {
  border-right: 0;
}

.about-service-index span {
  color: var(--support);
  font-size: 18px;
  letter-spacing: 0;
}

.about-service-copy h3 {
  max-width: 13ch;
  font-size: clamp(42px, 4.2vw, 60px);
  line-height: .98;
  letter-spacing: -.04em;
}

.about-service-copy > p,
.about-process-head > p,
.about-principles p {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

.about-service-copy li { min-height: 44px; display: flex; align-items: center; font-size: 14px; }
.about-route-steps li { min-height: 210px; }
.about-route-steps li > span { display: none; }
.about-route-steps strong { font-size: clamp(28px, 2.8vw, 38px); }
.about-route-steps p { font-size: 15px; }
.about-principles article { grid-template-columns: 1fr; gap: 0; }
.about-principles article > span { display: none; }

/* Responsive composition. */
@media (max-width: 980px) {
  .residence-entry,
  .residence-entry-reverse {
    grid-template-columns: 1fr;
    grid-template-areas: "heading" "visual" "copy";
    gap: 24px;
  }

  .residence-copy { padding-top: 0; }
  .residence-copy > p:not(.residence-index) { max-width: 60ch; }
  .cars-page .listing-row { grid-template-columns: minmax(220px, .45fr) minmax(0, .55fr); }
  .cars-page .listing-row.no-vehicle-photos { grid-template-columns: 1fr; }
  .listing-row.no-vehicle-photos .listing-info {
    grid-template-columns: minmax(210px, .8fr) minmax(320px, 1.2fr);
    column-gap: 42px;
  }
  .about-service,
  .about-service-ride { grid-template-columns: 64px minmax(0, 1fr); }
}

@media (max-width: 680px) {
  .theme-toggle-label { display: inline !important; }
  .theme-toggle-icon { display: none !important; }
  .theme-toggle { min-width: 52px; padding-inline: 11px; }
  .site-header nav a { font-size: 12px; }
  .brand small { font-size: 10px; }

  .apartments-page .apartment-hero-copy h1,
  .inner-title h1,
  .about-hero h1 {
    max-width: 10ch;
    font-size: clamp(44px, 13vw, 58px);
    line-height: .96;
  }

  .apartments-page .apartment-hero-copy > p:not(.eyebrow),
  .inner-title > p:not(.eyebrow),
  .about-lede {
    font-size: 16px;
    line-height: 1.6;
  }

  .residence-entry,
  .residence-entry-reverse { padding: 58px 0; }
  .residence-heading h2 { font-size: clamp(38px, 11vw, 50px); }
  .residence-copy > p:not(.residence-index) { font-size: 16px; }
  .residence-actions { display: none; }

  .verification-band h2,
  .final-cta h2,
  .section-head h2,
  .customer-guide-intro h2,
  .about-thesis h2,
  .about-section-head h2,
  .about-process-head h2,
  .about-clarity h2,
  .about-cta h2 {
    max-width: 14ch;
    font-size: clamp(38px, 10.5vw, 48px);
    line-height: 1;
  }

  .cars-page .listing-row { grid-template-columns: 1fr; gap: 28px; }
  .listing-row.no-vehicle-photos .listing-info { display: block; }
  .listing-row.no-vehicle-photos .listing-info h3 {
    max-width: none;
    margin-bottom: 22px;
    font-size: clamp(42px, 12vw, 58px);
  }
  .vehicle-marker,
  .vehicle-marker.has-photos { min-height: 260px; }
  .vehicle-marker span { font-size: clamp(44px, 14vw, 62px); }
  .listing-info h3 { font-size: clamp(38px, 10.5vw, 48px); }
  .listing-info > p:not(.listing-index):not(.price) { font-size: 16px; }
  .listing-info ul { grid-template-columns: 1fr; }
  .amenity-band > div { grid-template-columns: 1fr 1fr; }
  .amenity-band span { padding: 18px 12px 18px 0; border-right: 0; }

  .about-hero { min-height: auto; }
  .about-thesis-copy p,
  .about-service-copy > p,
  .about-process-head > p,
  .about-principles p { font-size: 16px; }
  .about-service,
  .about-service-ride { grid-template-columns: 1fr; gap: 20px; }
  .about-service-index { padding-bottom: 0; border-bottom: 0; }
  .about-service .about-service-copy,
  .about-service-ride .about-service-copy { grid-row: auto; }

  .about-service figure,
  .about-service-ride figure { grid-column: 1; grid-row: auto; }
}

/* Uploaded listing covers are prepared to this same public ratio in the manager. */
.vehicle-marker.has-photos {
  min-height: 0;
  align-self: center;
}

.vehicle-marker.has-photos .vehicle-main-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Useful first screens: live listings rotate here, with discounted listings taking priority. */
.featured-hero {
  min-height: 540px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--olive-dark);
  color: #fff;
}

.featured-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 15, 12, .04) 22%, rgba(8, 15, 12, .22) 52%, rgba(8, 15, 12, .94) 100%); /* taste-skill-ignore: neutral readability scrim over live listing photography */
  pointer-events: none;
}

.featured-hero-picture,
.featured-hero-picture img {
  width: 100%;
  height: 100%;
  display: block;
}

.featured-hero-picture {
  position: absolute;
  inset: 0;
  background: var(--olive-dark);
}

.featured-hero-picture[hidden],
.featured-hero-placeholder[hidden] { display: none !important; }

.featured-hero-picture img {
  object-fit: cover;
  transition: opacity 220ms var(--polish-ease-out), transform 700ms var(--polish-ease-out);
}

.featured-hero-panel {
  width: min(100%, 650px);
  padding: clamp(24px, 4vw, 44px);
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  transition: opacity 180ms var(--polish-ease-out), transform 220ms var(--polish-ease-out);
}

.featured-hero-panel > p:first-child {
  margin: 0 0 9px;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  font-weight: 750;
}

.featured-hero-panel h2 {
  max-width: 15ch;
  margin: 0;
  color: #fff;
  font: 800 clamp(36px, 4.6vw, 68px)/.94 var(--display);
  letter-spacing: -.04em;
  text-wrap: balance;
}

.featured-hero-panel > p:not(:first-child) {
  max-width: 48ch;
  margin: 15px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  line-height: 1.55;
}

.featured-hero-offer {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px 14px;
  align-items: baseline;
}

.featured-hero-offer span {
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.featured-hero-offer strong {
  color: #fff;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

.featured-hero-link {
  width: fit-content;
  min-height: 48px;
  margin-top: 18px;
  padding: 0 18px;
  display: inline-flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  background: var(--blush-strong);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 180ms ease, transform 140ms var(--polish-ease-out);
}

.featured-hero-link:active { transform: scale(.975); }

.featured-hero-controls {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: grid;
  grid-template-columns: 44px auto 44px;
  align-items: center;
  background: rgba(8, 15, 12, .82);
  color: #fff;
}

.featured-hero-controls button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: background-color 160ms ease, transform 120ms var(--polish-ease-out);
}

.featured-hero-controls button:active { transform: scale(.94); }
.featured-hero-controls span { min-width: 56px; text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; }

.featured-hero-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: clamp(30px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--olive-dark);
  color: rgba(255, 255, 255, .7);
}

.featured-hero-placeholder span { font-size: 14px; font-weight: 800; letter-spacing: .12em; }
.featured-hero-placeholder strong { margin-top: 12px; color: #fff; font: 800 clamp(80px, 12vw, 160px)/.8 var(--display); letter-spacing: -.055em; }
.featured-hero-placeholder small { display: none; }
.featured-hero-car::before { display: none; }
.featured-hero.is-changing .featured-hero-panel { opacity: .3; transform: translateY(8px); }
.featured-hero.is-changing .featured-hero-picture img { opacity: .7; transform: scale(1.012); }

.apartments-page .residence-entry {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

@media (hover: hover) and (pointer: fine) {
  .featured-hero-link:hover { background: var(--coral-dark, #9f2e1f); }
  .featured-hero-controls button:hover { background: rgba(255, 255, 255, .12); }
}

@media (max-width: 680px) {
  .apartments-page .apartment-hero {
    height: auto;
    min-height: 0;
    padding: 34px var(--gutter) 54px;
    display: grid;
    gap: 28px;
    overflow: visible;
  }

  .apartments-page .apartment-hero-copy {
    order: 1;
    padding: 0;
    position: static;
    color: var(--ink);
  }

  .apartments-page .apartment-hero-copy > p:not(.eyebrow) { color: var(--muted); }
  .apartments-page .apartment-hero-copy h1 em { color: inherit; }
  .apartments-page .apartment-hero-visual.featured-hero {
    width: 100%;
    height: min(128vw, 560px);
    min-height: 470px;
    margin: 0;
    order: 2;
    position: relative;
    inset: auto;
  }

  .apartments-page .apartment-hero-visual.featured-hero::after {
    background: linear-gradient(180deg, rgba(8, 15, 12, .04) 22%, rgba(8, 15, 12, .28) 50%, rgba(8, 15, 12, .96) 100%); /* taste-skill-ignore: neutral mobile readability scrim over live listing photography */
  }

  .featured-hero-panel { padding: 24px 20px; }
  .featured-hero-panel h2 { font-size: clamp(36px, 11vw, 50px); }
  .featured-hero-panel > p:not(:first-child) { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .featured-hero-controls { top: 12px; right: 12px; }
  .cars-page .featured-hero { height: min(128vw, 560px); min-height: 470px; }
}

@media (prefers-reduced-motion: reduce) {
  .featured-hero-picture img,
  .featured-hero-panel,
  .featured-hero-link,
  .featured-hero-controls button { transition-duration: .01ms !important; }
  .featured-hero.is-changing .featured-hero-panel,
  .featured-hero.is-changing .featured-hero-picture img { transform: none; }
}

/* Apartments: a photo-first editorial slider with no card obscuring the room. */
.apartments-page .apartment-showcase {
  width: 100%;
  min-height: calc(100svh - 76px);
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(16px, 2vw, 30px) var(--gutter) clamp(54px, 7vw, 96px);
  display: block;
}

.apartments-page .apartment-showcase .featured-hero {
  width: 100%;
  height: min(760px, calc(100svh - 122px));
  min-height: 620px;
  margin: 0;
}

.apartments-page .apartment-showcase .featured-hero::after {
  background: linear-gradient(180deg, rgba(8, 15, 12, .03) 44%, rgba(8, 15, 12, .18) 63%, rgba(8, 15, 12, .82) 100%); /* taste-skill-ignore: neutral readability scrim over live listing photography */
}

.apartments-page .apartment-showcase .featured-hero-picture img {
  object-position: center 48%;
}

.apartments-page .apartment-showcase .featured-hero-panel {
  width: calc(100% - clamp(44px, 6vw, 96px));
  max-width: none;
  padding: 0;
  right: clamp(22px, 3vw, 48px);
  bottom: clamp(26px, 3.5vw, 54px);
  left: clamp(22px, 3vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: clamp(18px, 2vw, 30px);
  align-items: end;
  background: transparent;
}

.apartments-page .featured-hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.apartments-page .apartment-showcase .featured-hero-panel h1 {
  max-width: 18ch;
  margin: 0;
  color: #fff;
  font: 800 clamp(46px, 5.4vw, 82px)/.9 var(--display);
  letter-spacing: -.04em;
  text-wrap: balance;
}

.apartments-page .apartment-showcase .featured-hero-panel p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.35;
}

.apartments-page .apartment-showcase .featured-hero-offer {
  min-width: 170px;
  margin: 0 0 17px;
  display: grid;
  gap: 5px;
  text-align: right;
}

.apartments-page .apartment-showcase .featured-hero-offer strong {
  font-size: 17px;
}

.apartments-page .apartment-showcase .featured-hero-link {
  min-width: 178px;
  min-height: 52px;
  margin: 0;
  padding: 0 20px;
  justify-content: space-between;
  color: var(--ink);
}

.apartments-page .featured-hero-link svg,
.apartments-page .featured-hero-controls svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.apartments-page .apartment-showcase .featured-hero-controls {
  top: clamp(14px, 2vw, 28px);
  right: clamp(14px, 2vw, 28px);
  grid-template-columns: 50px auto 50px;
  background: #fff;
  color: var(--ink);
}

.apartments-page .apartment-showcase .featured-hero-controls button {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
}

.apartments-page .apartment-showcase .featured-hero-controls span {
  min-width: 64px;
  font-size: 13px;
  font-weight: 750;
}

@media (hover: hover) and (pointer: fine) {
  .apartments-page .apartment-showcase .featured-hero-link:hover {
    color: #fff;
  }

  .apartments-page .apartment-showcase .featured-hero-controls button:hover {
    background: var(--soft);
  }
}

@media (max-width: 980px) {
  .apartments-page .apartment-showcase {
    min-height: 0;
    padding-top: 24px;
  }

  .apartments-page .apartment-showcase .featured-hero {
    height: min(780px, calc(100svh - 170px));
    min-height: 640px;
  }

  .apartments-page .apartment-showcase .featured-hero-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px 24px;
  }

  .apartments-page .featured-hero-copy { grid-column: 1 / -1; }

  .apartments-page .apartment-showcase .featured-hero-offer {
    margin-bottom: 13px;
    text-align: left;
  }
}

@media (max-width: 680px) {
  .apartments-page .apartment-showcase {
    padding: 12px 12px 56px;
    display: block;
  }

  .apartments-page .apartment-showcase .apartment-hero-visual.featured-hero {
    width: 100%;
    height: min(680px, calc(100svh - 152px));
    min-height: 570px;
    margin: 0;
    display: block;
    position: relative;
    inset: auto;
  }

  .apartments-page .apartment-showcase .featured-hero::after {
    background: linear-gradient(180deg, rgba(8, 15, 12, .02) 31%, rgba(8, 15, 12, .22) 55%, rgba(8, 15, 12, .86) 100%); /* taste-skill-ignore: neutral readability scrim over live listing photography */
  }

  .apartments-page .apartment-showcase .featured-hero-picture img { object-position: center; }

  .apartments-page .apartment-showcase .featured-hero-panel {
    width: auto;
    padding: 0;
    right: 20px;
    bottom: 20px;
    left: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
  }

  .apartments-page .apartment-showcase .featured-hero-panel h1 {
    max-width: 100%;
    font-size: clamp(36px, 10.2vw, 48px);
  }

  .apartments-page .apartment-showcase .featured-hero-panel p {
    margin: 9px 0 0;
    font-size: 18px;
  }

  .apartments-page .apartment-showcase .featured-hero-offer {
    align-self: center;
    min-width: 0;
    margin: 0;
  }

  .apartments-page .apartment-showcase .featured-hero-offer strong { font-size: 16px; }

  .apartments-page .apartment-showcase .featured-hero-link {
    min-width: 0;
    min-height: 48px;
    padding: 0 14px;
    gap: 14px;
    font-size: 13px;
  }

  .apartments-page .apartment-showcase .featured-hero-controls {
    top: 10px;
    right: 10px;
    grid-template-columns: 46px auto 46px;
  }

  .apartments-page .apartment-showcase .featured-hero-controls button {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 390px) {
  .apartments-page .apartment-showcase .featured-hero-panel {
    grid-template-columns: 1fr;
  }

  .apartments-page .apartment-showcase .featured-hero-offer { display: none; }
  .apartments-page .apartment-showcase .featured-hero-link { width: auto; }
}

/* Cars: the rotating vehicle gets the same unobstructed, photo-first treatment. */
.cars-page .car-showcase {
  width: 100%;
  min-height: calc(100svh - 76px);
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(16px, 2vw, 30px) var(--gutter) clamp(54px, 7vw, 96px);
  display: block;
}

.cars-page .car-showcase .featured-hero {
  width: 100%;
  height: min(760px, calc(100svh - 122px));
  min-height: 620px;
  margin: 0;
  padding: 0;
}

.cars-page .car-showcase .featured-hero::after {
  background: linear-gradient(180deg, rgba(8, 15, 12, .03) 44%, rgba(8, 15, 12, .18) 63%, rgba(8, 15, 12, .84) 100%); /* taste-skill-ignore: neutral readability scrim over live vehicle photography */
}

.cars-page .car-showcase .featured-hero-picture img {
  object-position: center 48%;
}

.cars-page .car-showcase .featured-hero-panel {
  width: calc(100% - clamp(44px, 6vw, 96px));
  max-width: none;
  padding: 0;
  right: clamp(22px, 3vw, 48px);
  bottom: clamp(26px, 3.5vw, 54px);
  left: clamp(22px, 3vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: clamp(18px, 2vw, 30px);
  align-items: end;
  background: transparent;
}

.cars-page .car-showcase .featured-hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cars-page .car-showcase .featured-hero-panel h1 {
  max-width: 18ch;
  margin: 0;
  color: #fff;
  font: 800 clamp(46px, 5.4vw, 82px)/.9 var(--display);
  letter-spacing: -.04em;
  text-wrap: balance;
}

.cars-page .car-showcase .featured-hero-panel p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.35;
}

.cars-page .car-showcase .featured-hero-offer {
  min-width: 170px;
  margin: 0 0 17px;
  display: grid;
  gap: 5px;
  text-align: right;
}

.cars-page .car-showcase .featured-hero-offer strong { font-size: 17px; }

.cars-page .car-showcase .featured-hero-link {
  min-width: 166px;
  min-height: 52px;
  margin: 0;
  padding: 0 20px;
  justify-content: space-between;
  color: var(--ink);
}

.cars-page .car-showcase .featured-hero-link svg,
.cars-page .car-showcase .featured-hero-controls svg {
  width: 20px;
  height: 20px;
  position: static;
  inset: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.cars-page .car-showcase .featured-hero-link svg path,
.cars-page .car-showcase .featured-hero-controls svg path {
  fill: none;
  stroke-dasharray: none;
}

.cars-page .car-showcase .featured-hero-controls {
  top: clamp(14px, 2vw, 28px);
  right: clamp(14px, 2vw, 28px);
  grid-template-columns: 50px auto 50px;
  background: #fff;
  color: var(--ink);
}

.cars-page .car-showcase .featured-hero-controls button {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
}

.cars-page .car-showcase .featured-hero-controls span {
  min-width: 64px;
  font-size: 13px;
  font-weight: 750;
}

@media (hover: hover) and (pointer: fine) {
  .cars-page .car-showcase .featured-hero-link:hover { color: #fff; }
  .cars-page .car-showcase .featured-hero-controls button:hover { background: var(--soft); }
}

@media (max-width: 980px) {
  .cars-page .car-showcase {
    min-height: 0;
    padding-top: 24px;
  }

  .cars-page .car-showcase .featured-hero {
    height: min(780px, calc(100svh - 170px));
    min-height: 640px;
  }

  .cars-page .car-showcase .featured-hero.uses-poster-fallback .featured-hero-picture img {
    object-position: center 51%;
    transform: scale(1.85);
  }

  .cars-page .car-showcase .featured-hero.uses-poster-fallback.is-changing .featured-hero-picture img {
    transform: scale(1.87);
  }

  .cars-page .car-showcase .featured-hero-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px 24px;
  }

  .cars-page .car-showcase .featured-hero-copy { grid-column: 1 / -1; }

  .cars-page .car-showcase .featured-hero-offer {
    margin-bottom: 13px;
    text-align: left;
  }
}

@media (max-width: 680px) {
  .cars-page .car-showcase {
    padding: 12px 12px 56px;
    display: block;
  }

  .cars-page .car-showcase .car-route-board.featured-hero {
    width: 100%;
    height: min(680px, calc(100svh - 152px));
    min-height: 570px;
    margin: 0;
    display: block;
    position: relative;
    inset: auto;
  }

  .cars-page .car-showcase .featured-hero::after {
    background: linear-gradient(180deg, rgba(8, 15, 12, .02) 31%, rgba(8, 15, 12, .24) 55%, rgba(8, 15, 12, .88) 100%); /* taste-skill-ignore: neutral mobile readability scrim over live vehicle photography */
  }

  .cars-page .car-showcase .featured-hero.uses-poster-fallback .featured-hero-picture img {
    object-position: center 57%;
    transform-origin: center 62%;
    transform: scale(2.3);
  }

  .cars-page .car-showcase .featured-hero.uses-poster-fallback.is-changing .featured-hero-picture img {
    transform: scale(2.33);
  }

  .cars-page .car-showcase .featured-hero-panel {
    width: auto;
    padding: 0;
    right: 20px;
    bottom: 20px;
    left: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
  }

  .cars-page .car-showcase .featured-hero-panel h1 {
    max-width: 100%;
    font-size: clamp(36px, 10.2vw, 48px);
  }

  .cars-page .car-showcase .featured-hero-panel p {
    margin: 9px 0 0;
    font-size: 18px;
  }

  .cars-page .car-showcase .featured-hero-offer {
    min-width: 0;
    margin: 0;
    align-self: center;
  }

  .cars-page .car-showcase .featured-hero-offer strong { font-size: 16px; }

  .cars-page .car-showcase .featured-hero-link {
    min-width: 0;
    min-height: 48px;
    padding: 0 14px;
    gap: 14px;
    font-size: 13px;
  }

  .cars-page .car-showcase .featured-hero-controls {
    top: 10px;
    right: 10px;
    grid-template-columns: 46px auto 46px;
  }

  .cars-page .car-showcase .featured-hero-controls button {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 390px) {
  .cars-page .car-showcase .featured-hero-panel { grid-template-columns: 1fr; }
  .cars-page .car-showcase .featured-hero-offer { display: none; }
  .cars-page .car-showcase .featured-hero-link { width: auto; }
}

/* Purposeful, once-only motion. Content remains visible without JavaScript or with reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .polish-ready [data-polish-reveal] {
    opacity: .01;
    transform: translateY(22px);
    transition: opacity 700ms var(--polish-ease-out), transform 850ms var(--polish-ease-expo);
  }

  .polish-ready [data-polish-reveal].is-in {
    opacity: 1;
    transform: none;
  }

  .polish-ready [data-polish-reveal="image"] {
    clip-path: inset(0 0 12% 0);
    transform: scale(1.025);
    transition: clip-path 900ms cubic-bezier(.76, 0, .24, 1), transform 1000ms var(--polish-ease-expo), opacity 500ms ease;
  }

  .polish-ready [data-polish-reveal="image"].is-in {
    clip-path: inset(0);
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-polish-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* Narrow phones: theme.css collapses the toggle to a 44px square and visually hides
   its label, so the icon has to come back or the control renders as an empty box. */
@media (max-width: 430px) {
  .theme-toggle { min-width: 44px; padding-inline: 0; }
  .theme-toggle-icon { display: inline !important; }
}

/* 2026-12: facts row only shows what is known, so it adapts to two, three or four cells. */
.property-facts { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.property-facts span[hidden] { display: none; }

@media (max-width: 980px) {
  .property-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .property-facts span,
  .property-facts span:not(:first-child),
  .property-facts span:nth-child(3),
  .property-facts span:nth-child(4) { padding: 16px 12px 18px 0; border-top: 1px solid var(--line); border-left: 0; }
}

.stay-missing p { max-width: 46ch; margin: 0 auto 26px; color: var(--muted); font-size: 17px; line-height: 1.6; }

/* Footer contact line. */
.footer-contact { margin-top: 12px !important; }
.footer-contact a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.footer-contact a:hover { text-decoration-color: #fff; }

/* The enquiry panel turned light (blush) but kept white body text, which vanished. */
.apartment-detail-page .enquiry-panel > span { color: var(--muted); }
html[data-theme="dark"] .apartment-detail-page .enquiry-panel > span { color: rgba(255, 255, 255, .78); }

.inline-link { color: var(--olive); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
