@import url("https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;500;600;700;800&family=Cormorant+Garamond:wght@500;600;700&display=swap");

html:has(.legacy-lp),
body:has(.legacy-lp) {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.legacy-lp {
  --legacy-ink: #111827;
  --legacy-charcoal: #18212d;
  --legacy-paper: #f4f1e9;
  --legacy-paper-deep: #e5dccb;
  --legacy-white: #fffdf8;
  --legacy-muted: #667080;
  --legacy-blue: #0a3765;
  --legacy-blue-mid: #15568b;
  --legacy-blue-dark: #061f3a;
  --legacy-blue-ink: #051323;
  --legacy-wine: #0b2f56;
  --legacy-wine-dark: #071b31;
  --legacy-brass: #b99b5f;
  --legacy-brass-light: #dac48c;
  --legacy-brass-soft: rgba(218, 196, 140, 0.22);
  --legacy-border: rgba(11, 47, 86, 0.16);
  --legacy-line: rgba(185, 155, 95, 0.42);
  --legacy-shadow: 0 28px 76px rgba(7, 27, 49, 0.2);
  --legacy-shadow-hover: 0 32px 88px rgba(7, 27, 49, 0.28);
  --legacy-radius: 8px;
  --legacy-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --legacy-ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --legacy-motion-fast: 180ms;
  --legacy-motion: 280ms;
  --legacy-motion-slow: 680ms;
  direction: rtl;
  color: var(--legacy-ink);
  background: var(--legacy-paper);
  font-family: "Assistant", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.legacy-lp,
.legacy-lp * {
  box-sizing: border-box;
}

.legacy-lp :where(h1, h2, h3, p, figure, blockquote) {
  margin: 0;
}

.legacy-lp :where(a) {
  color: inherit;
  text-decoration: none;
}

.legacy-lp :where(img) {
  display: block;
  max-width: 100%;
}

.legacy-lp :where(button, input, select, textarea) {
  font: inherit;
}

.legacy-lp :where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--legacy-brass-light);
  outline-offset: 4px;
}

.legacy-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 3px;
  background: rgba(255, 253, 248, 0.12);
  transform: translateZ(0);
}

.legacy-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--legacy-brass-light), var(--legacy-blue-mid), var(--legacy-brass));
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 120ms linear;
}

.legacy-shell {
  width: min(1180px, calc(100vw - 40px));
  margin-inline: auto;
}

.legacy-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 8;
  padding-block: 18px;
  color: var(--legacy-white);
  border-bottom: 1px solid rgba(255, 253, 248, 0.2);
  background: rgba(5, 19, 35, 0.34);
  box-shadow: 0 18px 56px rgba(5, 19, 35, 0.16);
  backdrop-filter: blur(16px);
}

.legacy-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 0;
}

.legacy-logo {
  display: grid;
  gap: 0;
  letter-spacing: 0;
  text-align: right;
}

.legacy-logo__main {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 0.9;
}

.legacy-logo__sub {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.legacy-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  font-size: 15px;
  font-weight: 600;
}

.legacy-nav__links a {
  position: relative;
  padding-block: 8px;
  opacity: 0.86;
  transition: opacity var(--legacy-motion-fast) ease, color var(--legacy-motion-fast) ease;
}

.legacy-nav__links a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--legacy-brass-light), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--legacy-motion) var(--legacy-ease);
}

.legacy-nav__links a:hover,
.legacy-nav__links a:focus-visible {
  color: var(--legacy-brass-light);
  opacity: 1;
}

.legacy-nav__links a:hover::after,
.legacy-nav__links a:focus-visible::after {
  transform: scaleX(1);
}

.legacy-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--legacy-radius);
  padding: 13px 22px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  will-change: transform;
  transition: transform var(--legacy-motion) var(--legacy-ease), background var(--legacy-motion) ease, border-color var(--legacy-motion) ease, color var(--legacy-motion) ease, box-shadow var(--legacy-motion) ease;
}

.legacy-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.28) 46%, transparent 70%);
  transform: translateX(115%);
  transition: transform 520ms ease;
}

.legacy-btn:hover,
.legacy-btn:focus-visible {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 28px rgba(7, 27, 49, 0.18);
}

.legacy-btn:active {
  transform: translateY(0) scale(0.98);
}

.legacy-btn:hover::after,
.legacy-btn:focus-visible::after {
  transform: translateX(-115%);
}

.legacy-btn--primary {
  background: var(--legacy-brass);
  color: #17110d;
}

.legacy-btn--primary:hover,
.legacy-btn--primary:focus-visible {
  background: var(--legacy-brass-light);
}

.legacy-btn--ghost {
  border-color: rgba(255, 253, 248, 0.46);
  color: var(--legacy-white);
}

.legacy-btn--ghost:hover,
.legacy-btn--ghost:focus-visible {
  border-color: var(--legacy-brass-light);
  color: var(--legacy-brass-light);
}

.legacy-hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  isolation: isolate;
  color: var(--legacy-white);
  background: var(--legacy-blue-dark);
}

.legacy-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 43% 48%;
  filter: saturate(0.96) contrast(1.06);
  z-index: -3;
  transform-origin: 42% 50%;
  animation: legacyImageDrift 18s var(--legacy-ease-soft) both;
}

.legacy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(6, 31, 58, 0.28), rgba(10, 55, 101, 0.12) 47%, rgba(5, 19, 35, 0.92) 100%),
    linear-gradient(0deg, rgba(5, 19, 35, 0.86) 0%, rgba(5, 19, 35, 0.04) 48%),
    radial-gradient(circle at 82% 18%, rgba(21, 86, 139, 0.36), transparent 38%);
}

.legacy-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  z-index: -1;
  background: linear-gradient(0deg, var(--legacy-paper) 0%, rgba(244, 239, 231, 0) 74%);
}

.legacy-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
  padding-block: 150px 70px;
}

.legacy-hero__copy {
  max-width: 720px;
  min-width: 0;
  padding-inline-start: clamp(0px, 8vw, 80px);
  text-align: right;
  animation: legacyHeroRise 850ms ease both;
}

.legacy-wordmark {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(62px, 10vw, 142px);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
  max-width: 100%;
}

.legacy-hero h1 {
  display: grid;
  gap: 12px;
  font-size: clamp(36px, 5vw, 70px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 780px;
  overflow-wrap: anywhere;
}

.legacy-title-line {
  display: block;
  font-family: "Assistant", system-ui, sans-serif;
  font-size: clamp(34px, 5vw, 66px);
  font-weight: 800;
  line-height: 1;
}

.legacy-hero__lead {
  width: min(620px, 100%);
  margin-top: 24px;
  color: rgba(255, 253, 248, 0.88);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
}

.legacy-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.legacy-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(690px, 100%);
  margin-top: 46px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  background: rgba(255, 253, 248, 0.16);
}

.legacy-hero__fact {
  min-height: 96px;
  padding: 18px;
  background: rgba(5, 19, 35, 0.46);
  backdrop-filter: blur(12px);
  transition: transform var(--legacy-motion) var(--legacy-ease), background var(--legacy-motion) ease;
}

.legacy-hero__fact:hover {
  transform: translateY(-4px);
  background: rgba(10, 55, 101, 0.58);
}

.legacy-hero__fact strong {
  display: block;
  color: var(--legacy-brass-light);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.legacy-hero__fact span {
  display: block;
  margin-top: 9px;
  color: rgba(255, 253, 248, 0.8);
  font-size: 14px;
  font-weight: 600;
}

.legacy-lead-panel {
  max-width: 100%;
  min-width: 0;
  background: rgba(255, 253, 248, 0.94);
  color: var(--legacy-ink);
  border: 1px solid rgba(255, 253, 248, 0.72);
  border-top: 3px solid var(--legacy-brass);
  border-radius: var(--legacy-radius);
  padding: 24px;
  box-shadow: var(--legacy-shadow);
  transition: transform var(--legacy-motion) var(--legacy-ease), box-shadow var(--legacy-motion) ease;
}

.legacy-lead-panel:hover {
  transform: translateY(-3px);
  box-shadow: var(--legacy-shadow-hover);
}

.legacy-hero__panel {
  animation: legacyHeroRise 950ms 120ms ease both;
}

.legacy-lead-panel h2 {
  color: var(--legacy-wine);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.1;
}

.legacy-lead-panel p {
  margin-top: 8px;
  color: var(--legacy-muted);
  font-size: 15px;
}

.legacy-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.legacy-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.legacy-field {
  display: grid;
  gap: 6px;
}

.legacy-field label {
  color: var(--legacy-charcoal);
  font-size: 13px;
  font-weight: 800;
}

.legacy-field input,
.legacy-field select,
.legacy-field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(38, 28, 22, 0.18);
  border-radius: 6px;
  background: #fff;
  color: var(--legacy-ink);
  padding: 12px 14px;
  outline: none;
  transition: border-color var(--legacy-motion-fast) ease, box-shadow var(--legacy-motion-fast) ease, transform var(--legacy-motion-fast) ease;
}

.legacy-field textarea {
  min-height: 92px;
  resize: vertical;
}

.legacy-field input:focus,
.legacy-field select:focus,
.legacy-field textarea:focus {
  border-color: var(--legacy-brass);
  box-shadow: 0 0 0 3px rgba(181, 150, 89, 0.18);
  transform: translateY(-1px);
}

.legacy-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--legacy-muted);
  font-size: 13px;
  line-height: 1.35;
}

.legacy-consent input {
  margin-top: 4px;
  accent-color: var(--legacy-wine);
}

.legacy-form .legacy-btn {
  width: 100%;
  margin-top: 2px;
  border: 0;
}

.legacy-form-status {
  border: 1px solid rgba(10, 55, 101, 0.18);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--legacy-blue-dark);
  background: rgba(10, 55, 101, 0.06);
  font-size: 14px;
  font-weight: 700;
}

.legacy-section {
  position: relative;
  padding-block: clamp(70px, 9vw, 130px);
}

.legacy-section__head {
  display: grid;
  gap: 16px;
  width: min(760px, 100%);
}

.legacy-section__head h2,
.legacy-story__copy h2,
.legacy-location__copy h2,
.legacy-residences__copy h2,
.legacy-final__copy h2 {
  color: var(--legacy-wine-dark);
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.legacy-section__head p,
.legacy-story__copy p,
.legacy-location__copy p,
.legacy-residences__copy p,
.legacy-final__copy p {
  color: var(--legacy-muted);
  font-size: clamp(17px, 1.55vw, 21px);
}

.legacy-story {
  background:
    radial-gradient(circle at 12% 0%, rgba(10, 55, 101, 0.12), transparent 36%),
    var(--legacy-paper);
}

.legacy-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 78px);
  align-items: center;
}

.legacy-story__copy {
  display: grid;
  gap: 22px;
}

.legacy-story__quote {
  border-inline-start: 4px solid var(--legacy-brass);
  padding-inline-start: 20px;
  color: var(--legacy-wine);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
  line-height: 1.18;
}

.legacy-story__media {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 16px;
  align-items: end;
}

.legacy-story__media figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--legacy-radius);
  box-shadow: var(--legacy-shadow);
  transition: transform var(--legacy-motion-slow) var(--legacy-ease), box-shadow var(--legacy-motion) ease;
}

.legacy-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--legacy-ease);
}

.legacy-story__media figure:hover {
  transform: translateY(-6px);
  box-shadow: var(--legacy-shadow-hover);
}

.legacy-story__media figure:last-child:hover {
  transform: translateY(-44px);
}

.legacy-story__media figure:hover img {
  transform: scale(1.035);
}

.legacy-story__media figure:first-child {
  aspect-ratio: 0.7;
}

.legacy-story__media figure:last-child {
  aspect-ratio: 0.95;
  transform: translateY(-38px);
}

.legacy-proof {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--legacy-wine-dark);
  color: var(--legacy-white);
  padding-block: clamp(58px, 7vw, 90px);
}

.legacy-proof__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 253, 248, 0.14);
  border: 1px solid rgba(255, 253, 248, 0.16);
}

.legacy-proof__intro,
.legacy-proof__item {
  min-height: 190px;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(255, 253, 248, 0.055);
}

.legacy-proof__intro {
  background:
    linear-gradient(145deg, rgba(181, 150, 89, 0.2), rgba(255, 253, 248, 0.045)),
    rgba(255, 253, 248, 0.06);
}

.legacy-proof__intro h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1;
}

.legacy-proof__item strong {
  display: block;
  color: var(--legacy-brass-light);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 800;
  line-height: 1;
}

.legacy-proof__item span {
  display: block;
  margin-top: 18px;
  color: rgba(255, 253, 248, 0.82);
  font-size: 17px;
  font-weight: 700;
}

.legacy-gallery {
  background: var(--legacy-white);
}

.legacy-gallery__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(32px, 5vw, 58px);
}

.legacy-gallery__head p {
  width: min(430px, 100%);
}

.legacy-gallery__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-auto-rows: minmax(210px, 27vw);
  gap: 16px;
}

.legacy-gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--legacy-radius);
  background: var(--legacy-paper-deep);
}

.legacy-gallery__item:first-child {
  grid-row: span 2;
}

.legacy-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.legacy-gallery__item:hover img {
  transform: scale(1.035);
}

.legacy-gallery__caption {
  position: absolute;
  inset: auto 0 0;
  padding: 16px;
  color: var(--legacy-white);
  font-size: 15px;
  font-weight: 800;
  background: linear-gradient(0deg, rgba(15, 11, 9, 0.78), rgba(15, 11, 9, 0));
}

.legacy-residences {
  background:
    linear-gradient(90deg, rgba(181, 150, 89, 0.14), transparent 42%),
    var(--legacy-paper);
}

.legacy-residences__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}

.legacy-residences__copy {
  display: grid;
  gap: 22px;
}

.legacy-residences__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.legacy-residences__list li {
  border-block-start: 1px solid var(--legacy-border);
  padding-top: 14px;
  color: var(--legacy-charcoal);
  font-size: 18px;
  font-weight: 800;
}

.legacy-residences__media {
  position: relative;
}

.legacy-residences__media::before {
  content: "";
  position: absolute;
  inset: 34px -22px -22px 22px;
  border: 1px solid rgba(181, 150, 89, 0.52);
  border-radius: var(--legacy-radius);
}

.legacy-residences__media img {
  position: relative;
  width: 100%;
  aspect-ratio: 1.38;
  object-fit: cover;
  border-radius: var(--legacy-radius);
  box-shadow: var(--legacy-shadow);
}

.legacy-location {
  color: var(--legacy-white);
  background:
    linear-gradient(135deg, rgba(5, 19, 35, 0.96), rgba(6, 31, 58, 0.94)),
    var(--legacy-charcoal);
}

.legacy-location__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: clamp(36px, 6vw, 74px);
  align-items: center;
}

.legacy-location__copy {
  display: grid;
  gap: 22px;
}

.legacy-location__copy h2,
.legacy-location__copy p {
  color: inherit;
}

.legacy-location__copy p {
  color: rgba(255, 253, 248, 0.78);
}

.legacy-location__points {
  display: grid;
  gap: 1px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid rgba(255, 253, 248, 0.16);
  background: rgba(255, 253, 248, 0.14);
}

.legacy-location__points li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 62px;
  padding: 16px 18px;
  background: rgba(255, 253, 248, 0.06);
  color: rgba(255, 253, 248, 0.86);
  font-weight: 700;
  text-align: right;
  transition: background var(--legacy-motion) ease, transform var(--legacy-motion) var(--legacy-ease);
}

.legacy-location__points li:hover {
  transform: translateX(-5px);
  background: rgba(218, 196, 140, 0.09);
}

.legacy-location__desc {
  min-width: 0;
  color: rgba(255, 253, 248, 0.88);
}

.legacy-location__tag {
  flex: 0 0 auto;
  color: var(--legacy-brass-light);
  font-size: 14px;
  font-weight: 800;
  text-align: left;
}

.legacy-location__media {
  display: grid;
  gap: 16px;
}

.legacy-location__media img {
  width: 100%;
  border-radius: var(--legacy-radius);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
  transition: transform var(--legacy-motion-slow) var(--legacy-ease), box-shadow var(--legacy-motion) ease;
}

.legacy-location__media img:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 34px 96px rgba(0, 0, 0, 0.38);
}

.legacy-location__media-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 16px;
}

.legacy-location__media-row img {
  aspect-ratio: 1.15;
  height: 100%;
  object-fit: cover;
}

.legacy-signature {
  background: var(--legacy-white);
}

.legacy-signature__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}

.legacy-signature__text {
  display: grid;
  gap: 22px;
}

.legacy-signature__text h2 {
  color: var(--legacy-wine-dark);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 800;
  line-height: 1;
}

.legacy-signature__text p {
  color: var(--legacy-muted);
  font-size: clamp(17px, 1.5vw, 21px);
}

.legacy-signature__mark {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  border-radius: var(--legacy-radius);
  overflow: hidden;
  background: var(--legacy-paper);
}

.legacy-signature__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.legacy-signature__seal {
  position: absolute;
  inset: auto auto 28px 28px;
  width: 142px;
  height: 142px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(181, 150, 89, 0.56);
  border-radius: 50%;
  color: var(--legacy-brass-light);
  background: rgba(42, 11, 20, 0.88);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.legacy-final {
  background:
    linear-gradient(90deg, rgba(5, 19, 35, 0.88), rgba(10, 55, 101, 0.72)),
    url("assets/web/terrace-wide.jpg") center / cover;
  color: var(--legacy-white);
}

.legacy-final__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 430px);
  gap: clamp(32px, 6vw, 74px);
  align-items: center;
}

.legacy-final__copy {
  display: grid;
  gap: 22px;
}

.legacy-final__copy h2,
.legacy-final__copy p {
  color: inherit;
}

.legacy-final__copy p {
  color: rgba(255, 253, 248, 0.82);
}

.legacy-final .legacy-lead-panel {
  background: rgba(255, 253, 248, 0.96);
}

.legacy-note {
  color: rgba(255, 253, 248, 0.68);
  font-size: 14px;
  font-weight: 600;
}

.legacy-reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

.legacy-lp.is-motion-ready .legacy-reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity 620ms var(--legacy-ease), transform 780ms var(--legacy-ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.legacy-lp.is-motion-ready .legacy-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.legacy-lp.is-motion-ready .legacy-reveal :where(
  .legacy-proof__item,
  .legacy-story__copy > *,
  .legacy-story__media figure,
  .legacy-gallery__head,
  .legacy-carousel,
  .legacy-residences__copy > *,
  .legacy-residences__list li,
  .legacy-residences__media,
  .legacy-location__copy > *,
  .legacy-location__points li,
  .legacy-location__media img,
  .legacy-signature__text > *,
  .legacy-signature__mark,
  .legacy-final__copy > *,
  .legacy-final .legacy-lead-panel
) {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 520ms var(--legacy-ease), transform 680ms var(--legacy-ease);
  transition-delay: calc(var(--reveal-delay, 0ms) + (var(--stagger, 0) * 48ms));
}

.legacy-lp.is-motion-ready .legacy-reveal.is-visible :where(
  .legacy-proof__item,
  .legacy-story__copy > *,
  .legacy-story__media figure,
  .legacy-gallery__head,
  .legacy-carousel,
  .legacy-residences__copy > *,
  .legacy-residences__list li,
  .legacy-residences__media,
  .legacy-location__copy > *,
  .legacy-location__points li,
  .legacy-location__media img,
  .legacy-signature__text > *,
  .legacy-signature__mark,
  .legacy-final__copy > *,
  .legacy-final .legacy-lead-panel
) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.legacy-seal {
  width: 138px;
  height: 138px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(218, 196, 140, 0.58);
  border-radius: 50%;
  color: var(--legacy-brass-light);
  background:
    radial-gradient(circle, rgba(185, 155, 95, 0.18) 0 38%, transparent 39%),
    rgba(7, 27, 49, 0.78);
  box-shadow: inset 0 0 0 9px rgba(218, 196, 140, 0.08), 0 22px 48px rgba(7, 27, 49, 0.24);
  text-align: center;
  transform: rotate(-9deg);
  animation: legacySealFloat 7s ease-in-out infinite;
}

.legacy-seal span {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.legacy-seal small {
  display: block;
  max-width: 86px;
  margin-top: 5px;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.06em;
}

.legacy-seal--hero {
  margin-bottom: 22px;
}

.legacy-seal--media {
  position: absolute;
  inset: auto 18px 18px auto;
  width: 118px;
  height: 118px;
  z-index: 2;
}

.legacy-story::before,
.legacy-gallery::before,
.legacy-residences::before,
.legacy-signature::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 50%;
  width: min(1180px, calc(100% - 40px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--legacy-line), transparent);
}

.legacy-story {
  background:
    radial-gradient(circle at 10% 0%, rgba(22, 74, 120, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.58), rgba(255, 253, 248, 0)),
    var(--legacy-paper);
}

.legacy-story__media figure::after,
.legacy-residences__media::after,
.legacy-signature__mark::after,
.legacy-carousel__viewport::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(218, 196, 140, 0.38);
  border-radius: calc(var(--legacy-radius) - 2px);
  pointer-events: none;
  z-index: 3;
}

.legacy-proof,
.legacy-location {
  background:
    radial-gradient(circle at 88% 12%, rgba(22, 74, 120, 0.52), transparent 32%),
    linear-gradient(135deg, var(--legacy-blue-ink), var(--legacy-blue-dark) 48%, #081426);
}

.legacy-proof::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("assets/web/building-wide.jpg") center 46% / cover no-repeat;
  opacity: 0.075;
  filter: saturate(0.82) contrast(1.08);
  transform: scale(1.04);
}

.legacy-proof__item {
  position: relative;
  overflow: hidden;
  transition: background var(--legacy-motion) ease, transform var(--legacy-motion) var(--legacy-ease);
}

.legacy-proof__item:hover {
  transform: translateY(-4px);
  background: rgba(255, 253, 248, 0.085);
}

.legacy-proof__item::after {
  content: "";
  position: absolute;
  inset: auto 28px 22px;
  height: 1px;
  background: var(--legacy-line);
  transform: scaleX(0.26);
  transform-origin: right center;
  transition: transform 360ms ease;
}

.legacy-proof__item:hover::after {
  transform: scaleX(1);
}

.legacy-carousel {
  position: relative;
  display: grid;
  gap: 18px;
}

.legacy-carousel__viewport {
  position: relative;
  min-height: clamp(430px, 56vw, 650px);
  overflow: hidden;
  border-radius: var(--legacy-radius);
  background: var(--legacy-blue-dark);
  box-shadow: var(--legacy-shadow);
}

.legacy-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(18px) scale(1.035);
  transition: opacity 620ms var(--legacy-ease), transform 920ms var(--legacy-ease);
}

.legacy-carousel__slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  z-index: 1;
}

.legacy-carousel[data-direction="prev"] .legacy-carousel__slide {
  transform: translateX(-18px) scale(1.035);
}

.legacy-carousel[data-direction="prev"] .legacy-carousel__slide.is-active {
  transform: translateX(0) scale(1);
}

.legacy-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.legacy-carousel__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 19, 35, 0.74), transparent 42%);
}

.legacy-carousel__slide figcaption {
  position: absolute;
  inset: auto 28px 28px;
  z-index: 2;
  width: min(440px, calc(100% - 56px));
  color: var(--legacy-white);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.05;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 420ms var(--legacy-ease), transform 520ms var(--legacy-ease);
}

.legacy-carousel__slide.is-active figcaption {
  opacity: 1;
  transform: translateY(0);
}

.legacy-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.legacy-carousel__arrow,
.legacy-carousel__dots button {
  border: 1px solid var(--legacy-line);
  color: var(--legacy-blue-dark);
  background: transparent;
  cursor: pointer;
  transition: background var(--legacy-motion) ease, color var(--legacy-motion) ease, transform var(--legacy-motion) var(--legacy-ease), border-color var(--legacy-motion) ease;
}

.legacy-carousel__arrow {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 34px;
  line-height: 1;
}

.legacy-carousel__arrow svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.legacy-carousel__arrow:hover,
.legacy-carousel__arrow:focus-visible {
  transform: translateY(-2px);
  border-color: var(--legacy-brass);
  background: var(--legacy-blue-dark);
  color: var(--legacy-brass-light);
}

.legacy-carousel__dots {
  display: flex;
  align-items: center;
  gap: 9px;
}

.legacy-carousel__dots button {
  width: 54px;
  height: 4px;
  border-radius: 999px;
  padding: 0;
  transform: scaleX(0.62);
  transform-origin: center;
}

.legacy-carousel__dots button.is-active {
  border-color: var(--legacy-brass);
  background: var(--legacy-brass);
  transform: scaleX(1);
}

.legacy-residences {
  background:
    linear-gradient(90deg, rgba(22, 74, 120, 0.13), transparent 42%),
    var(--legacy-paper);
}

.legacy-residences__list {
  gap: 0;
  border-block: 1px solid var(--legacy-line);
}

.legacy-residences__list li {
  position: relative;
  display: grid;
  gap: 7px;
  min-height: 104px;
  border-block-start: 0;
  border-bottom: 1px solid rgba(185, 155, 95, 0.28);
  padding: 20px 0 20px 22px;
  cursor: pointer;
  transform: translateZ(0);
  transition: color var(--legacy-motion) ease, transform var(--legacy-motion) var(--legacy-ease), background var(--legacy-motion) ease, box-shadow var(--legacy-motion) ease;
}

.legacy-residences__list li:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.legacy-residences__list li::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--legacy-brass-light), var(--legacy-brass));
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 360ms ease;
}

.legacy-residences__list li::after {
  content: "";
  position: absolute;
  inset: 14px auto 14px 0;
  width: 1px;
  background: var(--legacy-line);
  opacity: 0;
  transition: opacity 260ms ease;
}

.legacy-residences__list li:hover,
.legacy-residences__list li:focus-visible,
.legacy-residences__list li.is-active {
  color: var(--legacy-blue);
  transform: translateX(-6px);
  background: rgba(255, 253, 248, 0.42);
  box-shadow: inset 0 0 0 1px rgba(185, 155, 95, 0.22);
}

.legacy-residences__list li:hover::before,
.legacy-residences__list li:focus-visible::before,
.legacy-residences__list li.is-active::before {
  transform: scaleX(1);
}

.legacy-residences__list li:hover::after,
.legacy-residences__list li:focus-visible::after,
.legacy-residences__list li.is-active::after {
  opacity: 1;
}

.legacy-residences__list span {
  font-size: 20px;
  font-weight: 800;
}

.legacy-residences__list small {
  color: var(--legacy-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.legacy-residences__media {
  overflow: visible;
}

.legacy-residences__media img {
  transition: opacity 240ms ease, transform 520ms var(--legacy-ease), filter 520ms ease;
}

.legacy-residences__media.is-switching img {
  opacity: 0;
  transform: scale(1.018) translateY(8px);
  filter: blur(4px);
}

.legacy-residences__media figcaption {
  position: absolute;
  inset: auto 22px 22px;
  z-index: 4;
  width: min(360px, calc(100% - 44px));
  color: var(--legacy-white);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 3px 16px rgba(5, 19, 35, 0.66);
}

.legacy-signature__seal {
  gap: 4px;
  background: rgba(7, 27, 49, 0.9);
}

.legacy-signature__seal small {
  display: block;
  width: 88px;
  font-size: 11px;
  line-height: 1.05;
}

.legacy-floating-cta {
  position: fixed;
  inset: auto auto 22px 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid rgba(218, 196, 140, 0.62);
  border-radius: 999px;
  color: var(--legacy-brass-light);
  background: rgba(7, 27, 49, 0.86);
  box-shadow: 0 18px 50px rgba(7, 27, 49, 0.28);
  font-size: 15px;
  font-weight: 800;
  backdrop-filter: blur(14px);
  transition: transform var(--legacy-motion) var(--legacy-ease), background var(--legacy-motion) ease, border-color var(--legacy-motion) ease;
}

.legacy-floating-cta:hover,
.legacy-floating-cta:focus-visible {
  transform: translateY(-3px) scale(1.02);
  background: var(--legacy-blue);
  border-color: var(--legacy-brass-light);
}

.legacy-lp.is-motion-ready .legacy-reveal.is-visible .legacy-proof__item:hover,
.legacy-lp.is-motion-ready .legacy-reveal.is-visible .legacy-location__media img:hover {
  transform: translateY(-5px);
}

.legacy-lp.is-motion-ready .legacy-reveal.is-visible .legacy-story__media figure:hover {
  transform: translateY(-6px);
}

.legacy-lp.is-motion-ready .legacy-reveal.is-visible .legacy-story__media figure:last-child {
  transform: translateY(-38px);
}

.legacy-lp.is-motion-ready .legacy-reveal.is-visible .legacy-story__media figure:last-child:hover {
  transform: translateY(-44px);
}

.legacy-lp.is-motion-ready .legacy-reveal.is-visible .legacy-location__points li:hover,
.legacy-lp.is-motion-ready .legacy-reveal.is-visible .legacy-residences__list li:hover,
.legacy-lp.is-motion-ready .legacy-reveal.is-visible .legacy-residences__list li:focus-visible,
.legacy-lp.is-motion-ready .legacy-reveal.is-visible .legacy-residences__list li.is-active {
  transform: translateX(-6px);
}

.legacy-lp.is-motion-ready .legacy-reveal.is-visible .legacy-final .legacy-lead-panel:hover {
  transform: translateY(-3px);
}

@keyframes legacySealFloat {
  0%, 100% {
    transform: rotate(-9deg) translateY(0);
  }
  50% {
    transform: rotate(-6deg) translateY(-8px);
  }
}

@keyframes legacyImageDrift {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.06) translate3d(-0.8%, 0.4%, 0);
  }
}

@keyframes legacyHeroRise {
  from {
    transform: translateY(18px);
  }
  to {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .legacy-lp *,
  .legacy-lp *::before,
  .legacy-lp *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }

  .legacy-reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (max-width: 1020px) {
  .legacy-nav__links {
    display: none;
  }

  .legacy-hero__grid,
  .legacy-story__grid,
  .legacy-residences__grid,
  .legacy-location__grid,
  .legacy-signature__grid,
  .legacy-final__grid {
    grid-template-columns: 1fr;
  }

  .legacy-hero__copy {
    padding-inline-start: 0;
  }

  .legacy-proof__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .legacy-proof__intro {
    grid-column: 1 / -1;
  }

  .legacy-gallery__grid {
    grid-template-columns: 1fr 1fr;
  }

  .legacy-gallery__item:first-child {
    grid-row: span 1;
  }
}

@media (max-width: 720px) {
  .legacy-shell {
    width: calc(100vw - 44px);
    max-width: calc(100vw - 44px);
    margin-inline: auto;
  }

  .legacy-nav {
    padding-block: 16px;
  }

  .legacy-nav__inner {
    padding-bottom: 0;
    direction: ltr;
  }

  .legacy-logo {
    order: 2;
    min-width: 0;
    text-align: right;
    direction: ltr;
  }

  .legacy-nav .legacy-btn {
    order: 1;
  }

  .legacy-logo__main {
    font-size: 26px;
  }

  .legacy-logo__sub {
    font-size: 10px;
  }

  .legacy-nav .legacy-btn {
    min-height: 42px;
    padding: 11px 14px;
    font-size: 14px;
  }

  .legacy-hero {
    min-height: auto;
  }

  .legacy-hero__image {
    object-position: 38% 48%;
  }

  .legacy-hero::before {
    background:
      linear-gradient(0deg, rgba(5, 19, 35, 0.92) 0%, rgba(11, 47, 86, 0.52) 58%, rgba(5, 19, 35, 0.12) 100%),
      linear-gradient(90deg, rgba(5, 19, 35, 0.3), rgba(5, 19, 35, 0.16));
  }

  .legacy-hero__grid {
    gap: 28px;
    padding-block: 148px 38px;
  }

  .legacy-hero__copy,
  .legacy-hero__facts,
  .legacy-lead-panel {
    width: 100%;
    max-width: 100%;
  }

  .legacy-hero__grid,
  .legacy-hero__copy {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .legacy-hero__copy {
    text-align: center;
  }

  .legacy-wordmark {
    font-size: clamp(34px, 12vw, 50px);
    line-height: 0.92;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .legacy-hero h1 {
    justify-items: center;
    margin-inline: auto;
    font-size: clamp(29px, 8.5vw, 38px);
    max-width: min(100%, 330px);
  }

  .legacy-title-line {
    font-size: clamp(21px, 6.2vw, 28px);
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .legacy-hero__lead {
    overflow-wrap: anywhere;
  }

  .legacy-hero__lead {
    margin-inline: auto;
    margin-top: 18px;
    max-width: 340px;
    font-size: 17px;
  }

  .legacy-hero__actions,
  .legacy-form__row,
  .legacy-residences__list,
  .legacy-location__media-row {
    grid-template-columns: 1fr;
  }

  .legacy-hero__actions {
    display: grid;
  }

  .legacy-hero__facts {
    grid-template-columns: 1fr;
    margin-top: 30px;
    text-align: right;
  }

  .legacy-hero__fact {
    min-height: 78px;
  }

  .legacy-lead-panel {
    padding: 18px;
  }

  .legacy-section {
    padding-block: 62px;
  }

  .legacy-section__head h2,
  .legacy-story__copy h2,
  .legacy-location__copy h2,
  .legacy-residences__copy h2,
  .legacy-final__copy h2,
  .legacy-signature__text h2 {
    font-size: clamp(29px, 8vw, 36px);
    line-height: 1.08;
  }

  .legacy-story__media {
    grid-template-columns: 1fr;
  }

  .legacy-story__media figure:last-child {
    transform: none;
  }

  .legacy-lp.is-motion-ready .legacy-reveal.is-visible .legacy-story__media figure:last-child,
  .legacy-lp.is-motion-ready .legacy-reveal.is-visible .legacy-story__media figure:last-child:hover {
    transform: none;
  }

  .legacy-proof__grid,
  .legacy-gallery__grid {
    grid-template-columns: 1fr;
  }

  .legacy-proof__intro,
  .legacy-proof__item {
    min-height: auto;
  }

  .legacy-gallery__head {
    display: grid;
    align-items: start;
  }

  .legacy-gallery__grid {
    grid-auto-rows: minmax(235px, 65vw);
  }

  .legacy-seal--hero {
    width: 104px;
    height: 104px;
    margin-bottom: 16px;
  }

  .legacy-seal--hero span {
    font-size: 21px;
  }

  .legacy-seal--media {
    width: 96px;
    height: 96px;
  }

  .legacy-carousel__viewport {
    min-height: 430px;
  }

  .legacy-carousel__slide figcaption {
    inset: auto 20px 22px;
    width: calc(100% - 40px);
  }

  .legacy-carousel__arrow {
    width: 42px;
    height: 42px;
  }

  .legacy-residences__list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .legacy-residences__list li:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(185, 155, 95, 0.28);
  }

  .legacy-residences__list li:last-child {
    border-bottom: 0;
  }

  .legacy-residences__media::before {
    display: none;
  }

  .legacy-signature__mark {
    min-height: 320px;
  }

  .legacy-signature__seal {
    width: 112px;
    height: 112px;
    font-size: 23px;
  }

  .legacy-floating-cta {
    inset: auto 14px 14px 14px;
    min-height: 46px;
  }
}

@media (max-width: 480px) {
  .legacy-shell {
    width: min(346px, calc(100vw - 44px));
    max-width: min(346px, calc(100vw - 44px));
    margin-left: 22px;
    margin-right: auto;
  }

  .legacy-floating-cta {
    right: auto;
    left: 14px;
    width: min(362px, calc(100vw - 28px));
  }
}
