/* =========================================================================
   Canvas – D Tower | "Canvas Overlap"
   Identity built from the Canvas logo colour: salmon-terracotta on gallery white,
   with deep espresso bands. The hero is an image band with a content card
   pulled up over its lower edge.
   ========================================================================= */

:root {
  /* core brand colours */
  --salmon: #F19B8B;        /* Canvas logo colour — kickers, numerals, highlights, tags */
  --terracotta: #C4745F;    /* primary button fill */
  --wall: #FAF9F6;          /* page background */
  --ink: #1B1B1B;           /* text */
  --espresso: #211A16;      /* footer & dark bands */

  /* derived only from the core colours */
  --terracotta-deep: #A9604D;               /* button hover */
  --on-accent: var(--espresso);             /* text on terracotta (≈4.9:1) */
  --muted: #6E5F57;                         /* small secondary text on white (AA) */
  --rule: rgba(196, 116, 95, .28);          /* hairlines */
  --rule-strong: rgba(33, 26, 22, .85);
  --tint: #F7EDE9;                          /* faint salmon wash */
  --on-dark: #EFE6E1;
  --on-dark-muted: #B9A9A0;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --section: clamp(84px, 10vw, 140px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0; background: var(--wall); color: var(--ink);
  font: 300 17px/1.65 var(--sans); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed; z-index: 200; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 10px 14px; background: var(--wall); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section + .section { border-top: 1px solid var(--rule); }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -.01em; margin: 0; }
h2 { font-size: clamp(40px, 5.2vw, 72px); }
p { margin: 0 0 1em; }
.lede { font-family: var(--serif); font-size: clamp(22px, 2vw, 26px); line-height: 1.45; font-weight: 500; max-width: 36ch; }

/* numbered section marker: salmon numeral + label + hairline */
.marker { display: flex; align-items: baseline; gap: 14px; margin: 0 0 26px; font-size: 15px; color: var(--muted); }
.marker .no { font-family: var(--serif); font-size: 30px; line-height: 1; font-weight: 600; color: var(--salmon); }
.marker::after { content: ""; flex: 1; height: 1px; background: var(--rule); transform: translateY(-6px); }

.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 68px); }
.section-head p { margin: 0; max-width: 46ch; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 3px; border: 1px solid transparent;
  font: 500 15.5px/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-primary { background: var(--terracotta); color: var(--on-accent); }
.btn-primary:hover { background: var(--terracotta-deep); color: #fff; }
.btn-line { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--wall); }
.btn-block { width: 100%; }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14.5px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.section-cta { margin-top: clamp(40px, 6vw, 60px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.section-cta p { margin: 0; color: var(--muted); font-size: 15px; max-width: 46ch; }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(250, 249, 246, .95); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; flex: none; }
.brand .canvas-logo { width: 132px; height: auto; }
.brand .divider { width: 1px; height: 34px; background: var(--rule); }
.brand .dev-logo { height: 52px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.nav a { font-size: 14.5px; font-weight: 400; text-decoration: none; color: var(--ink); position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--salmon); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn span, .menu-btn::before, .menu-btn::after { content: ""; position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.menu-btn::before { top: 16px; } .menu-btn span { top: 22.5px; } .menu-btn::after { top: 29px; }
.menu-open .menu-btn::before { transform: translateY(6.5px) rotate(45deg); }
.menu-open .menu-btn span { opacity: 0; }
.menu-open .menu-btn::after { transform: translateY(-6.5px) rotate(-45deg); }

/* =========================================================================
   Hero — image band + overlap card
   ========================================================================= */
.hero { padding-top: 22px; padding-bottom: clamp(56px, 8vw, 104px); }
.hero-band { position: relative; height: 62vh; min-height: 420px; max-height: 720px; }
.hero-band .band-img { position: absolute; inset: 0; overflow: hidden; background: var(--espresso); }
.hero-band .band-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-band .band-img::after { /* scrim so the official tag and card edge stay legible */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(33, 26, 22, .18), rgba(33, 26, 22, 0) 28%, rgba(33, 26, 22, 0) 62%, rgba(33, 26, 22, .35));
}
.hero-band .img-tag { /* official image already carries its tag; this label names the view */
  position: absolute; right: var(--gutter); top: 18px; z-index: 2;
  padding: 6px 10px; border-radius: 2px; background: rgba(33, 26, 22, .7); color: #fff; font-size: 12.5px; letter-spacing: .02em;
}

/* height ribbon straddling the band's top edge */
.ribbon-wrap { position: absolute; top: 0; left: 0; right: 0; z-index: 3; pointer-events: none; }
.ribbon {
  display: inline-flex; align-items: center; gap: 12px; transform: translateY(-50%);
  padding: 11px 20px 11px 16px; background: var(--salmon); color: var(--espresso);
  font: 500 13px/1 var(--sans); letter-spacing: .2em; box-shadow: 0 10px 24px -14px rgba(33, 26, 22, .6);
}
.ribbon::before { content: ""; width: 22px; height: 1.5px; background: var(--espresso); }

.hero-card {
  position: relative; z-index: 4; margin-top: clamp(-220px, -16vh, -120px);
  background: var(--wall); padding: clamp(28px, 3.6vw, 48px) clamp(24px, 3.8vw, 52px);
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px clamp(28px, 4vw, 56px);
  box-shadow: 0 30px 60px -38px rgba(33, 26, 22, .5), 0 2px 0 rgba(33, 26, 22, .03);
  border-top: 3px solid var(--salmon);
}
.hero-kicker { font-size: 15px; color: var(--muted); margin: 0 0 14px; }
.hero-kicker b { font-weight: 500; color: var(--terracotta-deep); }
.hero-card h1 { font-size: clamp(44px, 5.2vw, 78px); line-height: .96; letter-spacing: -.015em; }
.hero-card h1 span { display: block; }
.hero-sub { margin: 18px 0 0; max-width: 40ch; color: var(--muted); font-size: 17px; }
.hero-side { border-left: 1px solid var(--rule); padding-left: clamp(24px, 3.4vw, 48px); display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; }
.price-label { font-size: 14.5px; color: var(--muted); margin: 0 0 4px; }
.price { font-family: var(--serif); font-weight: 600; font-size: clamp(48px, 4.6vw, 66px); line-height: 1; color: var(--terracotta); }
.price small { font-family: var(--sans); font-size: 15px; font-weight: 400; color: var(--muted); margin-left: 6px; }
.price-meta { font-size: 14.5px; color: var(--muted); margin: 10px 0 0; }
.hero-side .cta-row { flex-direction: column; }
.hero-side .cta-row .btn { width: 100%; }

/* =========================================================================
   Motion — restrained: band reveal, card stagger, ribbon settle, heading rise
   ========================================================================= */
.js .hero-band .band-img { clip-path: inset(0 0 100% 0); }
.js .hero.is-in .hero-band .band-img { clip-path: inset(0 0 0 0); transition: clip-path 1.15s var(--ease); }
.js .hero-band .band-img img { transform: scale(1.06); }
.js .hero.is-in .hero-band .band-img img { transform: none; transition: transform 1.8s var(--ease); }
.js .ribbon { opacity: 0; transform: translate(-18px, -50%); }
.js .hero.is-in .ribbon { opacity: 1; transform: translate(0, -50%); transition: opacity .6s .75s, transform .9s var(--ease) .75s; }
.js .stagger > * { opacity: 0; transform: translateY(16px); }
.js .hero.is-in .stagger > * { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js .hero.is-in .stagger > *:nth-child(1) { transition-delay: .45s; }
.js .hero.is-in .stagger > *:nth-child(2) { transition-delay: .55s; }
.js .hero.is-in .stagger > *:nth-child(3) { transition-delay: .65s; }
.js .hero.is-in .stagger > *:nth-child(4) { transition-delay: .75s; }
.js .rise { opacity: 0; transform: translateY(20px); }
.js .rise.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .reveal-img { clip-path: inset(0 0 100% 0); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease); }

/* =========================================================================
   Overview
   ========================================================================= */
.overview-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.overview-grid .copy p { max-width: 54ch; }
.overview-grid .lede { margin: 26px 0 22px; }
.stats { margin-top: clamp(56px, 7vw, 84px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.stat { padding: 24px 18px 6px 0; }
.stat + .stat { padding-left: 22px; border-left: 1px solid var(--rule); }
.stat .v { font-family: var(--serif); font-size: clamp(40px, 4.4vw, 62px); line-height: 1; color: var(--salmon); font-weight: 600; white-space: nowrap; }
.stat .v small { font-size: .45em; color: var(--ink); margin-left: 4px; font-weight: 500; }
.stat .k { margin-top: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.4; }
.stat.words .v { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; padding-top: .3em; }

/* image + label (used for all official renders outside the hero) */
.shot { margin: 0; }
.shot .img { position: relative; aspect-ratio: 32 / 23; overflow: hidden; background: var(--tint); }
.shot .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shot:hover .img img { transform: scale(1.03); }
.shot figcaption { padding-top: 10px; font-size: 15px; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.shot figcaption::before { content: ""; width: 14px; height: 2px; background: var(--salmon); flex: none; }

/* =========================================================================
   Cost sheet
   ========================================================================= */
.residences { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.residence { background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--salmon); padding: 28px 24px 24px; display: flex; flex-direction: column; min-height: 300px; }
.residence .r-no { font-size: 14.5px; color: var(--muted); }
.residence .r-type { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--terracotta-deep); line-height: 1.1; }
.residence .r-area { margin-top: auto; font-family: var(--serif); font-weight: 600; font-size: clamp(60px, 5.8vw, 84px); line-height: .9; color: var(--ink); letter-spacing: -.02em; }
.residence .r-unit { font-size: 14.5px; color: var(--muted); margin: 10px 0 22px; }
.pricing-note { margin-top: 24px; display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 15px; }
.pricing-note img { width: 44px; height: 44px; flex: none; object-fit: contain; }

/* =========================================================================
   Floor plans
   ========================================================================= */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan { margin: 0; background: #fff; border: 1px solid var(--rule); }
.plan .sheet { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.plan .sheet img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.plan .lock { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at center, rgba(250, 249, 246, .92) 0 26%, rgba(250, 249, 246, .1) 62%); }
.plan .lock .inner { display: grid; justify-items: center; gap: 12px; }
.plan .lock svg { width: 26px; height: 26px; color: var(--terracotta); }
.plan figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--rule); }
.plan figcaption strong { font-family: var(--serif); font-weight: 600; font-size: 24px; }
.plan figcaption span { font-size: 14px; color: var(--muted); }

/* =========================================================================
   Amenities
   ========================================================================= */
.amen-feature { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); margin-bottom: clamp(52px, 7vw, 80px); }
.amen-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 28px; border-top: 1px solid var(--rule); }
.amen-list li { display: flex; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
.amen-list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--salmon); flex: none; }
.amen-list li.has-icon::before { display: none; }
.amen-list img { width: 30px; height: 30px; object-fit: contain; flex: none; }

/* =========================================================================
   Gallery
   ========================================================================= */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 28px) clamp(14px, 1.8vw, 24px); }
.gallery .shot { grid-column: span 2; }
.gallery .shot.wide { grid-column: span 3; }

/* =========================================================================
   Location
   ========================================================================= */
.location-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.address { font-family: var(--serif); font-size: 25px; line-height: 1.3; font-weight: 500; margin: 18px 0 8px; }
.township-note { color: var(--muted); margin: 0 0 26px; }
.conn { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.conn li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--rule); }
.conn .d { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--terracotta-deep); white-space: nowrap; text-align: right; }
.map { margin-bottom: 22px; border: 1px solid var(--rule); background: #fff; }
.map iframe { display: block; width: 100%; aspect-ratio: 16 / 10; border: 0; filter: grayscale(.8) sepia(.15); }

/* =========================================================================
   Developer
   ========================================================================= */
.developer { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.developer .dev-mark { width: 112px; height: auto; margin-top: 28px; }
.developer .copy p { max-width: 58ch; }
.facts { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.facts li { padding: 16px 16px 0 0; }
.facts li + li { padding-left: 16px; border-left: 1px solid var(--rule); }
.facts b { display: block; font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--terracotta-deep); line-height: 1.1; }
.facts span { font-size: 14px; color: var(--muted); }

/* =========================================================================
   Contact (dark espresso band)
   ========================================================================= */
.contact { background: var(--espresso); color: var(--on-dark); border-top: 0 !important; }
.contact .marker { color: var(--on-dark-muted); }
.contact .marker::after { background: rgba(241, 155, 139, .25); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact h2 { color: #fff; }
.contact h2 em { font-style: normal; color: var(--salmon); }
.contact .copy p { color: var(--on-dark-muted); max-width: 42ch; margin-top: 22px; }
.contact .form-card { background: var(--wall); color: var(--ink); padding: clamp(24px, 3.4vw, 42px); border-top: 3px solid var(--salmon); }

/* =========================================================================
   Lead form (popup + contact)
   ========================================================================= */
.lead-form { display: grid; gap: 15px; }
.field { display: grid; gap: 6px; margin: 0; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 400; color: var(--muted); padding: 0; }
.field input[type=text], .field input[type=email], .field input[type=tel] {
  width: 100%; height: 50px; padding: 0 14px; background: #fff;
  border: 1px solid #DCCFC8; border-radius: 3px; font-size: 16px; font-weight: 400; transition: border-color .2s;
}
.field input:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(196, 116, 95, .18); }
.field.has-err input { border-color: #B3261E; }
.field .err { font-size: 13px; color: #B3261E; }
.field .err:empty { display: none; }
.pills { display: flex; gap: 10px; }
.pill { flex: 1; position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: flex; align-items: center; justify-content: center; height: 48px; border: 1px solid #DCCFC8; background: #fff; border-radius: 3px; font-size: 15px; font-weight: 400; transition: all .2s; }
.pill input:checked + span { background: var(--salmon); border-color: var(--salmon); color: var(--espresso); font-weight: 500; }
.pill input:focus-visible + span { outline: 2px solid var(--terracotta); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; font-size: 14px; }
.form-msg:empty { display: none; }
.form-msg.is-err { color: #B3261E; }
.lead-form .btn[aria-busy="true"] { opacity: .75; pointer-events: none; }
.lead-form .btn[aria-busy="true"] .btn-label::after { content: "…"; }

/* =========================================================================
   Popup — modal on desktop, bottom sheet on mobile
   ========================================================================= */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(33, 26, 22, .6); opacity: 0; transition: opacity .35s var(--ease); }
.modal.is-open .modal-backdrop { opacity: 1; }
.modal-panel {
  position: relative; width: min(860px, 100%); max-height: calc(100dvh - 40px); overflow: auto;
  display: grid; grid-template-columns: 290px minmax(0, 1fr); background: var(--wall);
  transform: translateY(18px); opacity: 0; transition: transform .45s var(--ease), opacity .35s var(--ease);
}
.modal.is-open .modal-panel { transform: none; opacity: 1; }
.modal-art { background: var(--espresso); color: #fff; padding: 34px 28px 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 36px; }
.modal-art .m-logo { width: 140px; height: auto; }
.modal-art .m-rule { flex: 1; width: 2px; min-height: 80px; background: var(--salmon); opacity: .6; }
.modal-art .p { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--salmon); font-weight: 600; }
.modal-art .s { font-size: 13.5px; color: var(--on-dark-muted); margin-top: 8px; }
.modal-body { padding: 36px 34px 30px; }
.modal-body h2 { font-size: clamp(32px, 3.4vw, 42px); margin-bottom: 8px; }
.modal-body .intro { color: var(--muted); font-size: 15.5px; margin-bottom: 22px; }
.modal-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: 50%; }
.modal-close::before, .modal-close::after { content: ""; position: absolute; left: 13px; right: 13px; top: 21.5px; height: 1.5px; background: var(--ink); }
.modal-close::before { transform: rotate(45deg); } .modal-close::after { transform: rotate(-45deg); }
.modal-close:hover { background: var(--tint); }
.modal-grip { display: none; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--espresso); color: var(--on-dark-muted); padding: 52px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 14px; border-top: 1px solid rgba(241, 155, 139, .18); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: center; padding-bottom: 26px; border-bottom: 1px solid rgba(239, 230, 225, .12); }
.foot-name { font-family: var(--serif); font-size: 30px; color: #fff; font-weight: 500; }
.foot-rera { display: flex; align-items: center; gap: 14px; color: var(--on-dark); }
.foot-rera img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 50%; padding: 2px; }
.foot-rera a { color: var(--salmon); }
.foot-links { display: flex; gap: 22px; }
.foot-links a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(241, 155, 139, .5); }
.foot-links a:hover { border-color: var(--salmon); }
.disclaimer { margin: 24px 0 12px; max-width: 110ch; font-size: 12.5px; line-height: 1.65; color: #A3948B; }
.copyright { margin: 0; font-size: 12.5px; color: #8C7E76; }

.mobile-bar { display: none; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .nav a { font-size: 14px; }
  .brand .canvas-logo { width: 116px; }
  .brand .dev-logo { height: 46px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat:nth-child(4) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--rule); margin-top: 18px; }
  .residences, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .amen-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .amen-feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .menu-btn { display: block; }
  .brand .canvas-logo { width: 104px; }
  .brand .divider { height: 28px; }
  .brand .dev-logo { height: 42px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--wall);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 18px var(--gutter) 40px; margin: 0;
    transform: translateY(-8px); opacity: 0; visibility: hidden; overflow-y: auto;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .menu-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav a { font-family: var(--serif); font-weight: 500; font-size: 32px; padding: 10px 0; width: 100%; border-bottom: 1px solid var(--rule); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 26px; width: 100%; font-family: var(--sans); font-size: 15px; }

  /* mobile hero: the whole band fits in the first viewport with the header */
  .hero { padding-top: 16px; }
  .hero-band { height: 42svh; min-height: 0; max-height: calc(100svh - var(--header-h) - 16px - env(safe-area-inset-bottom) - 96px); }
  .hero-band .img-tag { top: 12px; right: 12px; font-size: 11.5px; padding: 4px 8px; }
  .ribbon { padding: 9px 14px 9px 12px; font-size: 11.5px; letter-spacing: .16em; gap: 8px; }
  .ribbon::before { width: 14px; }
  .hero-card { margin-top: -56px; grid-template-columns: 1fr; gap: 20px; padding: 22px 20px 24px; margin-left: 0; margin-right: 0; }
  .hero-card h1 { font-size: clamp(36px, 10.4vw, 52px); }
  .hero-kicker { margin-bottom: 10px; font-size: 14px; }
  .hero-sub { margin-top: 12px; font-size: 16px; }
  .hero-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 18px; gap: 18px; }
  .hero-side .cta-row { flex-direction: row; }
  .hero-side .cta-row .btn { flex: 1 1 140px; width: auto; }

  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .overview-grid, .location-grid, .developer, .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery .shot, .gallery .shot.wide { grid-column: span 1; }
  .gallery .shot:nth-child(5n+1) { grid-column: 1 / -1; }

  .modal { place-items: end center; padding: 0; }
  .modal-panel { width: 100%; grid-template-columns: 1fr; max-height: 92dvh; border-radius: 14px 14px 0 0; transform: translateY(100%); opacity: 1; padding-bottom: env(safe-area-inset-bottom); }
  .modal-art { display: none; }
  .modal-body { padding: 24px 20px 22px; }
  .modal-grip { display: block; width: 44px; height: 4px; border-radius: 4px; background: #DCCFC8; margin: 10px auto 0; }

  .mobile-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(250, 249, 246, .96);
    border-top: 1px solid var(--rule); transition: transform .35s var(--ease);
  }
  .mobile-bar.is-hidden { transform: translateY(110%); }
  body { padding-bottom: 72px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(n) { padding-left: 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--rule); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--rule); margin-top: 14px; }
  .stat:last-child { grid-column: 1 / -1; }
  .residences { grid-template-columns: 1fr; }
  .residence { min-height: 0; }
  .residence .r-area { margin-top: 18px; }
  .plans { grid-template-columns: 1fr 1fr; gap: 12px; }
  .plan figcaption { flex-direction: column; gap: 0; padding: 10px 12px; }
  .plan figcaption strong { font-size: 21px; }
  .plan .lock .btn { min-height: 38px; padding: 0 14px; font-size: 13.5px; }
  .amen-list { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .amen-list li { font-size: 14.5px; gap: 10px; align-items: flex-start; padding: 13px 0; }
  .amen-list li::before { margin-top: 8px; }
  .facts { grid-template-columns: 1fr; }
  .facts li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); margin-top: 14px; }
  .conn .d { font-size: 19px; }
  .section-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero-band .band-img, .js .reveal-img { clip-path: none !important; }
  .js .hero-band .band-img img, .js .ribbon, .js .stagger > *, .js .rise { opacity: 1 !important; transform: none !important; }
  .js .ribbon { transform: translateY(-50%) !important; }
}

/* small helpers used by thank-you / privacy pages */
.muted { color: var(--muted); }
.brand .dev-word { font: 500 13px/1.1 var(--sans); letter-spacing: .08em; color: var(--ink); white-space: nowrap; }
.hero-band .band-img picture { height: 100%; }
.stat.words .v { white-space: normal; }
.gallery-pending { margin: 0; padding: 28px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: 24px; font-weight: 500; }
.gallery .shot.full { grid-column: 1 / -1; }
.gallery .shot.full .img { aspect-ratio: 32 / 23; max-height: 760px; }
.hero-band .band-img img { object-position: 50% 30%; }
