/* Flagship building pages (Ombelle, Pier Sixty-Six, Sage). Loaded only on those pages, after site.css. */
.fs { --fs-line: var(--line); --fs-text: #d9d6cf; --fs-muted: var(--muted); }
.fs.paper { --fs-line: var(--line-paper); --fs-text: #33312d; --fs-muted: var(--muted-paper); }
.fs h3.serif { font-size: clamp(17px, 1.8vw, 21px); letter-spacing: .1em; line-height: 1.25; margin: 18px 0 10px; }
.fs .fs-credit { margin-top: 14px; }
.fs .fs-gal { margin-top: 44px; }
.fs .fs-gal .cap { margin-top: 8px; }

/* Film */
.fs-film { margin: 48px 0 0; background: #000; aspect-ratio: 16 / 9; overflow: hidden; }
.fs-film video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Neighborhood split with distances */
.fs-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.fs-tall { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; position: relative; background: #111; }
.fs-tall img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fs-tall figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 22px 12px 8px; font-size: 10px; letter-spacing: .04em; color: rgba(255,255,255,.78); background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.fs-dist { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--fs-line); }
.fs-dist li { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--fs-line); min-width: 0; }
.fs-dist li:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--fs-line); }
.fs-dist b { display: block; font: 600 clamp(22px, 2.4vw, 30px)/1.1 var(--serif); letter-spacing: .02em; }
.fs-dist span { display: block; margin-top: 8px; font: 500 10px/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--fs-muted); }

/* Marina band with a full-bleed photo */
.fs-marina { padding-top: 0; }
.fs-bleed { display: block; margin: 0 0 clamp(56px, 8vw, 96px); }
.fs-bleed img { display: block; width: 100%; height: clamp(280px, 44vw, 620px); object-fit: cover; }
.fs .collections .collection h3.serif { margin-top: 0; }
.fs .collections.cards .collection h3.serif { margin-top: 12px; }

/* Collection specs and floor plans */
.fs-specs { list-style: none; padding: 0; margin: 18px 0 0; }
.fs-specs li { padding: 9px 0; border-top: 1px solid var(--fs-line); font-size: 14px; color: var(--fs-text); }
.fs-plans-h { margin-top: 72px !important; }
.fs-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.fs-plan { min-width: 0; display: flex; flex-direction: column; }
.fs-plan figure { margin: 0; background: #fff; aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; padding: 14px; border: 1px solid var(--fs-line); }
.fs-plan figure img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.fs-plan dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 4px 0 0; border-top: 1px solid var(--fs-line); }
.fs-plan dl div { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--fs-line); min-width: 0; }
.fs-plan dt { font: 500 10px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--fs-muted); }
.fs-plan dd { margin: 4px 0 0; font-size: 15px; }
.fs-plan p { font-size: 14px; line-height: 1.65; color: var(--fs-text); margin: 16px 0 18px; flex: 1; }
.fs-plan .btn { align-self: flex-start; }
.fs:not(.paper) .btn.outline { color: var(--white); border-color: var(--white); }
.fs:not(.paper) .btn.outline:hover { background: var(--white); color: var(--black); }

/* Finishes */
.fs-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 48px; }
.fs-col { min-width: 0; }
.fs-col figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #111; }
.fs-col figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fs-list { list-style: none; padding: 0; margin: 6px 0 0; }
.fs-list li { padding: 11px 0; border-top: 1px solid var(--fs-line); font-size: 15px; line-height: 1.55; color: var(--fs-text); }
.fs-types { margin-top: 56px; max-width: 860px; }
.fs .amen { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.fs .amen li { border: 1px solid var(--fs-line); padding: 8px 12px; font: 500 11px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.fs-types p { font-size: 15px; line-height: 1.7; color: var(--fs-text); margin: 18px 0 0; }

/* Amenity cards */
.fs-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.fs-card { min-width: 0; }
.fs-card figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #111; }
.fs-card figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fs-card p { font-size: 15px; line-height: 1.65; color: var(--fs-text); margin: 0; }

/* Terms and FAQ */
.fs-terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 44px; border-top: 1px solid var(--fs-line); }
.fs-terms > div { padding: 24px 18px 22px 0; min-width: 0; }
.fs-terms > div + div { padding-left: 20px; border-left: 1px solid var(--fs-line); }
.fs-terms .n { font: 600 clamp(24px, 2.8vw, 36px)/1.1 var(--serif); letter-spacing: .02em; }
.fs-terms .l { font: 500 10px/1.55 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--fs-muted); margin-top: 10px; }
.fs-faq { margin-top: 44px; border-top: 1px solid var(--fs-line); max-width: 920px; }
.fs-q { border-bottom: 1px solid var(--fs-line); }
.fs-q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: baseline; padding: 20px 0; min-height: 44px; font: 600 clamp(15px, 1.5vw, 17px)/1.4 var(--sans); }
.fs-q summary::-webkit-details-marker { display: none; }
.fs-q summary::after { content: "+"; font: 400 22px/1 var(--sans); color: var(--fs-muted); flex: 0 0 auto; }
.fs-q[open] summary::after { content: "\2212"; }
.fs-q p { margin: 0 0 22px; font-size: 16px; line-height: 1.75; color: var(--fs-text); max-width: 46em; }
.fs .fine { color: var(--fs-muted); }

@media (max-width: 980px) {
  .fs-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fs-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fs-terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fs-terms > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .fs-terms > div:nth-child(n+3) { border-top: 1px solid var(--fs-line); }
}
@media (max-width: 760px) {
  .fs-split { grid-template-columns: 1fr; gap: 32px; }
  .fs-tall { aspect-ratio: 4 / 3; }
  .fs-cols { grid-template-columns: 1fr; gap: 36px; }
  .fs-plans { grid-template-columns: 1fr; gap: 40px; }
  .fs-plan figure { aspect-ratio: auto; max-height: 520px; }
  .fs-film { aspect-ratio: 4 / 5; }
}
@media (max-width: 560px) {
  .fs-cards { grid-template-columns: 1fr; gap: 32px; }
  .fs-card figure { aspect-ratio: 4 / 3; }
  .fs-dist { grid-template-columns: 1fr; }
  .fs-dist li:nth-child(even) { padding-left: 0; border-left: 0; }
  .fs-terms { grid-template-columns: 1fr; }
  .fs-terms > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--fs-line); }
}

/* Spotlight (Nov 2, 2026): image hero, why trio, latest line, story timeline, early steps, side-by-side table */
.hero-type.spot { padding-top: 0; display: block; }
.spot-img { margin: 0; position: relative; background: #111; }
.spot-img img { display: block; width: 100%; height: clamp(360px, 46vw, 620px); object-fit: cover; }
.spot-img::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 150px; z-index: 1; background: linear-gradient(180deg, rgba(3,3,3,.62), rgba(3,3,3,0)); pointer-events: none; }
.spot-img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(180deg, rgba(3,3,3,0), var(--black)); pointer-events: none; }
.spot-img figcaption { position: absolute; right: var(--gutter); bottom: 14px; z-index: 2; margin: 0; font-size: 10px; letter-spacing: .04em; color: rgba(255,255,255,.8); }
.hero-type.spot .wrap { padding-top: 40px; }
.fs-latest { margin: 26px 0 0; padding: 16px 0 0; border-top: 1px solid var(--fs-line); font-size: 15px; line-height: 1.7; color: var(--fs-text); max-width: 46em; }
.fs-latest b { display: block; font: 500 10px/1.6 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.fs.paper .fs-latest b { color: var(--gold-deep); }
.fs-why { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fs-wide { margin: 0; position: relative; }
.fs-wide img { width: 100%; height: auto; display: block; }
.fs-wide figcaption, .fs-photo figcaption, .fs-pair figcaption { margin: 8px 0 0; font-size: 11px; letter-spacing: .04em; color: var(--fs-muted); }
.fs-split-top { align-items: start; }
.fs-time { list-style: none; margin: 34px 0 0; padding: 0; border-left: 1px solid var(--fs-line); }
.fs-time li { position: relative; padding: 0 0 26px 26px; }
.fs-time li::before { content: ""; position: absolute; left: -4px; top: 9px; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.fs-time li:last-child { padding-bottom: 0; }
.fs-time .w { display: block; font: 500 10px/1.6 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--fs-muted); }
.fs-time p { margin: 6px 0 0; font-size: 16px; line-height: 1.7; color: var(--fs-text); }
.fs-time .src { font-size: 12px; color: var(--fs-muted); white-space: nowrap; }
.fs-time .src::before { content: "Source: "; }
.fs-photo { margin: 0; }
.fs-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.fs-early { margin-top: 34px; padding: 26px 26px 28px; border: 1px solid var(--fs-line); }
.fs-early h3.serif { margin-top: 0; }
.fs-early ol { margin: 0 0 22px; padding-left: 20px; }
.fs-early li { font-size: 15px; line-height: 1.7; color: var(--fs-text); margin-bottom: 8px; }
.fs-cmp { margin-top: 44px; overflow-x: auto; }
.fs-cmp table { width: 100%; border-collapse: collapse; min-width: 560px; }
.fs-cmp th, .fs-cmp td { text-align: left; vertical-align: top; padding: 16px 18px 16px 0; border-bottom: 1px solid var(--fs-line); font-size: 15px; line-height: 1.6; color: var(--fs-text); }
.fs-cmp thead th { font: 600 clamp(17px, 1.8vw, 21px)/1.25 var(--serif); letter-spacing: .1em; color: inherit; border-bottom-color: currentColor; }
.fs-cmp tbody th { font: 500 10px/1.8 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--fs-muted); width: 22%; }
.fs-pair { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; margin-top: 40px; align-items: end; }
.fs-pair figure { margin: 0; }
.fs-pair img { width: 100%; display: block; height: clamp(220px, 23vw, 330px); object-fit: cover; }
@media (max-width: 760px) {
  .spot-img img { height: auto; aspect-ratio: 4 / 5; }
  .hero-type.spot .wrap { padding-top: 28px; }
  .fs-why { grid-template-columns: 1fr; }
  .fs-why > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--fs-line); }
  .fs-pair { grid-template-columns: 1fr; }
  .fs-pair img { height: auto; aspect-ratio: 16 / 9; }
  .fs-early { padding: 22px 18px 24px; }
}
@media (max-width: 980px) and (min-width: 761px) {
  .fs-why > div:nth-child(3) { padding-left: 20px; border-left: 1px solid var(--fs-line); }
  .fs-why > div:nth-child(n+3) { border-top: 0; }
}

/* Sage Spotlight (Nov 3, 2026): vertical films, wide floor plans */
.fs-reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 44px; }
.fs-reel { margin: 0; min-width: 0; }
.fs-reel video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }
.fs-reel figcaption h3.serif { margin: 16px 0 6px; }
.fs-reel figcaption p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--fs-text); }
.fs-plans-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 32px; margin-top: 44px; }
.fs-plans-wide .fs-plan figure { aspect-ratio: 19 / 10; padding: 10px; }
.fs-plans-wide .fs-plan-lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); column-gap: 40px; align-content: start; }
.fs-plan-lead > figure { grid-column: 1; grid-row: 1 / span 4; align-self: start; }
.fs-plan-lead > :not(figure) { grid-column: 2; }
.fs-plan-lead > h3.serif { margin-top: 0; }
.fs-plan-lead > .btn { justify-self: start; align-self: start; }
.fs .fs-gal + .amen { margin-top: 28px; }
@media (max-width: 980px) {
  .fs-plans-wide .fs-plan-lead { grid-template-columns: 1fr; }
  .fs-plan-lead > figure, .fs-plan-lead > :not(figure) { grid-column: 1; grid-row: auto; }
  .fs-plan-lead > h3.serif { margin-top: 18px; }
}
@media (max-width: 760px) {
  .fs-reels { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(240px, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-right: calc(var(--gutter) * -1); }
  .fs-reel { scroll-snap-align: start; }
  .fs-plans-wide { grid-template-columns: 1fr; gap: 40px; }
  .fs-plans-wide .fs-plan figure { aspect-ratio: auto; }
}

/* Nov 6, 2026: long timeline sources wrap on phones */
@media (max-width: 640px) { .fs-time .src { white-space: normal; } }

/* Showcase pages (Nov 11, 2026): amenity rows of 2 or 3 on wide screens */
@media (min-width: 981px) { .fs-cards.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .fs-cards.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fs-cards.n2 .fs-card figure { aspect-ratio: 4 / 3; } }
