/* Forma Living — redesigned homepage */
.rd-property { background: #f6f5f0; }
.fl { --g: var(--bespoke-accent, #375c52); --dk: #1f342d; --ink: #1d2622; --mute: #6b746f; --line: #1d262222; --e: cubic-bezier(.16, 1, .3, 1); color: var(--ink); font-family: "DM Sans", system-ui, sans-serif; background: #f6f5f0; overflow: clip; }
.fl * { box-sizing: border-box; }
.fl :is(h1, h2, h3, p, figure, blockquote) { margin: 0; }
.fl a { color: inherit; text-decoration: none; }
.fl :is(h1, h2, h3) { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.02em; }
.fl em { font-style: italic; color: var(--g); }
.fl-kicker { font: 600 .72rem/1.2 "DM Sans", sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.fl-lead { font-size: 1.1rem; line-height: 1.7; color: #4d5752; max-width: 32em; }
.fl .fl-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; background: var(--dk); color: #f6f5f0; font-weight: 700; transition: transform .35s var(--e), background-color .3s; }
.fl .fl-btn:hover { transform: translateY(-2px); background: var(--g); }
.fl .fl-btn--light { background: #f6f5f0; color: var(--dk); }
.fl .fl-btn--light:hover { background: #fff; }
.fl-link { position: relative; font-weight: 700; padding-bottom: 5px; white-space: nowrap; }
.fl-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform-origin: right; transition: transform .5s var(--e); }
.fl-link:hover::after { transform: scaleX(.3); transform-origin: left; }

/* Hero */
.fl-hero { padding: clamp(50px, 6vw, 100px) 6vw 0; }
.fl-hero-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); grid-template-rows: auto auto; gap: 18px 60px; align-items: end; margin-bottom: clamp(36px, 4vw, 60px); animation: fl-up 1.1s var(--e) both; }
.fl-hero-top .fl-kicker { grid-column: 1 / -1; }
.fl-hero h1 { font-size: clamp(3rem, 6vw, 6.4rem); line-height: 1; }
.fl-hero-img { position: relative; height: min(76vh, 760px); border-radius: 28px; overflow: hidden; animation: fl-up 1.3s var(--e) .1s both; }
.fl-hero-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: fl-settle 2.6s var(--e) both; }
.fl-hero-img figcaption { position: absolute; right: 28px; bottom: 28px; display: grid; gap: 8px; width: min(340px, calc(100% - 56px)); padding: 26px; border-radius: 20px; background: #f6f5f0eb; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 60px -30px #1d2622; animation: fl-up 1.2s var(--e) .5s both; }
.fl-hero-img figcaption strong { font: 400 1.7rem/1.1 Georgia, serif; }
.fl-hero-img figcaption span:not(.fl-kicker) { color: var(--mute); }
.fl-hero-img .fl-price { font: 400 1.5rem/1 Georgia, serif; color: var(--ink) !important; margin: 6px 0 8px; }
@keyframes fl-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes fl-settle { to { transform: scale(1); } }

/* Finder: the original form, restyled as a quiet bar */
.fl-find { padding: 28px 6vw 0; }
.rd-property .fl-find .property-finder { margin: 0; padding: 22px 26px; border-radius: 22px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 24px 50px -36px #1d2622; border: 0; }
.rd-property .fl-find .property-finder :is(select, input) { min-height: 50px; border-radius: 12px; border: 1px solid var(--line); background: #f6f5f0; color: var(--ink); padding: 0 14px; }
.rd-property .fl-find .property-finder button { min-height: 50px; border-radius: 999px; background: var(--dk); color: #f6f5f0; border: 0; padding: 0 26px; font-weight: 700; }

/* Homes */
.fl-homes, .fl-plan { padding: clamp(90px, 10vw, 150px) 6vw 0; }
.fl-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.fl-head > div { display: grid; gap: 14px; }
.fl-head h2 { font-size: clamp(2.4rem, 4.4vw, 4.4rem); line-height: 1.02; }
.fl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 32px; }
.fl-home { display: grid; gap: 14px; align-content: start; }
.fl-home--wide { grid-column: span 2; }
.fl-home-img { display: block; aspect-ratio: 3 / 2; border-radius: 20px; overflow: hidden; }
.fl-home--wide .fl-home-img { aspect-ratio: 16 / 9; }
.fl-home-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--e); }
.fl-home:hover .fl-home-img img { transform: scale(1.04); }
.fl-home-meta { display: flex; align-items: center; gap: 14px; font-size: .9rem; color: var(--mute); }
.fl-status { padding: 6px 12px; border-radius: 999px; background: #e3ebe6; color: var(--dk); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.fl-status--under-offer { background: #f1e6d4; color: #7a5420; }
.fl-home h3 { font-size: clamp(1.6rem, 2.2vw, 2.2rem); line-height: 1.1; }
.fl-home--wide h3 { font-size: clamp(2rem, 3vw, 2.8rem); }
.fl-home-row { display: flex; align-items: baseline; gap: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--mute); }
.fl-home-row strong { margin-left: auto; font: 400 1.4rem/1 Georgia, serif; color: var(--ink); }

/* Room */
.fl-room { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(30px, 6vw, 100px); align-items: center; padding: clamp(100px, 11vw, 170px) 6vw 0; }
.fl-room figure { aspect-ratio: 5 / 4; border-radius: 28px; overflow: hidden; }
.fl-room img { width: 100%; height: 100%; object-fit: cover; }
.fl-room blockquote { display: grid; gap: 28px; justify-items: start; }
.fl-room blockquote p { font: italic 400 clamp(1.7rem, 2.6vw, 2.5rem)/1.3 Georgia, serif; }

/* Floor plan: the original interactive plan */
.rd-property .fl-plan .property-plan { margin: 0; padding: clamp(24px, 3vw, 44px); border-radius: 28px; background: #fff; box-shadow: 0 30px 70px -50px #1d2622; }

/* Selling */
.fl-sell { position: relative; display: grid; align-items: end; min-height: 620px; margin: clamp(100px, 11vw, 170px) 6vw clamp(60px, 7vw, 100px); border-radius: 30px; overflow: hidden; isolation: isolate; color: #f6f5f0; }
.fl-sell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.fl-sell::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #1f342df0 0%, #1f342db0 40%, #1f342d10 75%); }
.fl-sell > div { display: grid; gap: 22px; justify-items: start; max-width: 520px; padding: clamp(36px, 5vw, 70px); }
.fl-sell .fl-kicker { color: #c9d7cf; }
.fl-sell h2 { font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1; }
.fl-sell em { color: #cfe3d6; }
.fl-sell p:not(.fl-kicker) { color: #dfe7e2; font-size: 1.08rem; line-height: 1.7; }

@media (max-width: 960px) {
  .fl-hero-top, .fl-room { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .fl-hero, .fl-find, .fl-homes, .fl-plan, .fl-room { padding-left: 20px; padding-right: 20px; }
  .fl-sell { margin-left: 20px; margin-right: 20px; min-height: 520px; }
  .fl-hero-img { height: 70vh; }
  .fl-hero-img figcaption { right: 14px; bottom: 14px; width: calc(100% - 28px); }
  .fl-grid { grid-template-columns: 1fr; }
  .fl-home--wide { grid-column: auto; }
  .fl-head { flex-direction: column; align-items: start; }
}
@media (prefers-reduced-motion: reduce) { .fl *, .fl { animation: none !important; transition: none !important; } }
