body[data-page="spectre"] .sp-hero .sp-mobile-enquire { display: none; }

/* The teaser has one action; do not inherit the old two-action grid. */
.velar-detail .residences .intro-actions {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: none;
}
.velar-detail .residences .intro-actions .aya-outline {
  width: min(270px, 100%);
  min-width: 0;
  min-height: 50px;
  justify-content: center;
  gap: 24px;
  white-space: nowrap;
}
.velar-detail .residences .intro-actions .aya-outline > span { flex-shrink: 0; }

/* Let text and controls shrink inside their own columns. */
body[data-page="spectre"] :is(.sp-hero-grid, .sp-hero-copy, .sp-lead, .sp-form-grid, .sp-form-grid label, .sp-form-grid input, .sp-form-grid select) {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 760px) {
  /* Keep the full facts readable instead of clipping three desktop columns. */
  body[data-page="home"] :is(.collection-copy .collection-figures, .campaign-figures) .figure-summary {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin: 0;
  }
  body[data-page="home"] :is(.collection-copy .collection-figures, .campaign-figures) .figure-summary > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 12px 0;
    border-bottom: 1px solid #ffffff26;
  }
  body[data-page="home"] :is(.collection-copy .collection-figures, .campaign-figures) .figure-summary span {
    font-size: 9px;
    line-height: 1.5;
    letter-spacing: .5px;
  }
  body[data-page="home"] :is(.collection-copy .collection-figures, .campaign-figures) .figure-summary strong {
    min-width: 0;
    margin: 0;
    font-size: clamp(17px, 4.5vw, 22px);
    line-height: 1.3;
    white-space: normal;
    text-align: right;
  }
  body[data-page="home"] :is(.collection-figures, .campaign-figures) > p {
    font-size: 10px;
    line-height: 1.6;
  }
  body[data-page="home"] :is(.collection-stage, .spectre-stage) {
    height: auto;
    min-height: max(620px, calc(100svh - 72px));
  }
  body[data-page="home"] .collection-stage .collection-layout {
    position: relative;
    width: 100%;
    height: auto;
    min-height: inherit;
    padding: 84px 24px 100px;
  }
  body[data-page="home"] .collection-stage .collection-copy {
    min-width: 0;
    max-width: 440px;
  }
  body[data-page="home"] .spectre-stage {
    display: grid;
    align-items: center;
    padding: 72px 24px;
  }
  body[data-page="home"] .spectre-stage .campaign-title {
    position: relative;
    inset: auto;
    transform: none;
    width: 100%;
    max-width: 440px;
  }
  body[data-page="home"] .spectre-stage .campaign-title .glass-button {
    margin-top: 24px;
  }

  /* Keep the Spectre introduction compact and allow the form to grow naturally. */
  body[data-page="spectre"] .sp-hero {
    padding: calc(var(--aya-header-height, 72px) + 32px) 24px 40px;
    min-height: 0;
  }
  body[data-page="spectre"] .sp-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  body[data-page="spectre"] .sp-hero-copy h1 {
    font-size: clamp(22px, 6vw, 38px);
    line-height: 1.15;
    letter-spacing: .06em;
    margin: 24px 0 18px;
  }
  body[data-page="spectre"] .sp-starting {
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 0;
    margin: 16px 0;
  }
  body[data-page="spectre"] .sp-starting strong { font-size: 48px; }
  body[data-page="spectre"] .sp-status { flex-wrap: wrap; gap: 6px; }
  body[data-page="spectre"] .sp-hero-copy .sales-signature { margin-top: 20px; flex-wrap: wrap; }
  body[data-page="spectre"] .sp-lead { padding: 22px 18px; justify-self: start; }
  body[data-page="spectre"] .sp-lead h2 { font-size: 14px; line-height: 1.5; letter-spacing: 1px; }
  body[data-page="spectre"] .sp-lead > p { font-size: 17px; line-height: 1.4; margin-bottom: 18px; }
  body[data-page="spectre"] .sp-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }
  body[data-page="spectre"] .sp-form-grid :is(input, select) { font-size: 16px; padding: 8px; }
  body[data-page="spectre"] .sp-consent { margin: 18px 0; font-size: 16px; line-height: 1.35; }
}

@media (max-width: 360px) {
  body[data-page="spectre"] .sp-hero { padding-inline: 18px; }
  body[data-page="spectre"] .sp-form-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Smaller mobile display type and marks leave more of the project visible. */
@media (max-width: 760px) {
  body[data-page="home"] .opening-copy h2 { min-height: 52px; }
  body[data-page="home"] .opening-copy .project-logo { width: 100%; max-width: 230px; max-height: 56px; object-position: left; }
  body[data-page="home"] .opening-tabs button { width: 56px; }
  body[data-page="home"] .opening-tabs { gap: 18px; }
  body[data-page="home"] .collection-copy h2 { min-height: 56px; }
  body[data-page="home"] .collection-copy h2 .project-logo { max-width: 220px; }
  body[data-page="home"] .aya-intro h2 { font-size: clamp(30px, 7.5vw, 42px); }
  body[data-page="home"] .brand-statement h2 { font-size: clamp(26px, 7vw, 34px); }
  body[data-page="home"] .brand-statement .release-list > a { width: 170px; }
  body[data-page="home"] .collection-copy .collection-figures .figure-summary strong { font-size: clamp(16px, 4.2vw, 20px); }
  body[data-page="spectre"] .sp-hero-copy h1 { font-size: clamp(22px, 5.6vw, 34px); }
  body[data-page="spectre"] .sp-starting strong { font-size: 40px; }
  body[data-page="spectre"] .sp-introducing > img { width: min(260px, 85%); }
  body[data-page="spectre"] .sp-section-heading h2,
  body[data-page="spectre"] .sp-residences h2 { font-size: 26px; }
  body[data-page="spectre"] .sp-residences p { font-size: 20px; }
  body[data-page="velar"] .velar-detail .aya-hero-title h1 img { width: min(230px, 65%); }
  body[data-page="velar"] .velar-detail .residences > h2 { font-size: clamp(32px, 8vw, 42px); line-height: 1.15; }
  body[data-page="velar"] .velar-detail .residences .intro-copy { font-size: 14px; line-height: 1.8; }
}

@media (max-width: 760px) {
  body[data-page="spectre"] .sp-hero {
    min-height: 100svh;
    padding: 112px 24px 40px;
    align-items: center;
  }
  body[data-page="spectre"] .sp-hero .sp-lead { display: none; }
  body[data-page="spectre"] .sp-hero-grid { margin: 0; }
  body[data-page="spectre"] .sp-hero-copy { max-width: 400px; }
  body[data-page="spectre"] .sp-hero-copy h1 {
    font-size: clamp(22px, 5.6vw, 34px);
    letter-spacing: .035em;
    margin: 24px 0 18px;
  }
  body[data-page="spectre"] .sp-hero-copy .sp-kicker { font-size: 9px; letter-spacing: 1.2px; }
  body[data-page="spectre"] .sp-residence-label { max-width: 27ch; font-size: 10px; letter-spacing: 1px; }
  body[data-page="spectre"] .sp-starting { margin: 24px 0 16px; }
  body[data-page="spectre"] .sp-status { font-size: 8px; letter-spacing: .7px; }
  body[data-page="spectre"] .sp-hero .sp-mobile-enquire { display: inline-flex; width: min(100%, 280px); margin-top: 24px; }
  body[data-page="spectre"] .sp-hero-copy .sales-signature { margin-top: 24px; gap: 12px; }
  body[data-page="spectre"] .sp-hero-copy .sales-signature img { width: 100px; }
  body[data-page="spectre"] .sp-hero-copy .sales-signature > span { font-size: 7px; }
  body[data-page="spectre"] .sp-hero-image { object-position: center; }
  body[data-page="spectre"] .sp-hero-shade { background: linear-gradient(90deg, #080b12d9, #080b1240), linear-gradient(0deg, #080b12b3, transparent 90%); }
}
