@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,300;1,9..144,400&family=Manrope:wght@400;500;600;700&display=swap');

/* ===== TOKENS ===== */
:root {
  --paper:       #F4EFE6;
  --paper-deep:  #ECE5D7;
  --ink:         #1A1A1A;
  --ink-soft:    #4A4842;
  --ink-quiet:   #636059; /* darkened from #8A877E for WCAG AA contrast */
  --rule:        #C9C0AE;
  --accent:      #C8541A;
  --accent-deep: #9C3F12;
  --accent-tint: #F2DCC8;
  --gold:        #C99A2E;
  --green:       #4E6B3E;
  --serif: "Fraunces", Georgia, serif;
  --sans:  "Manrope", system-ui, sans-serif;
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
}

/* ===== SKIP LINK ===== */
.skip-link { position: absolute; top: -100px; left: var(--gutter); padding: 10px 16px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 600; border-radius: 3px; z-index: 9999; transition: top 150ms; white-space: nowrap; }
.skip-link:focus { top: 8px; outline: 2px solid var(--accent); outline-offset: 2px; }

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--paper); overflow-x: hidden; }
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: var(--paper); }

/* ===== LAYOUT ===== */
.aig-container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.eyebrow { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); display: inline-flex; align-items: center; gap: var(--s3); }
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--accent); }

/* ===== HEADER ===== */
.site-header { position: sticky; top: 0; z-index: 2000; background: var(--paper); border-bottom: 1px solid var(--rule); }
.site-header__inner { display: flex; align-items: center; height: 68px; gap: var(--s6); padding: 0 var(--gutter); }
.header-brand { font-family: var(--serif); font-size: 20px; font-weight: 400; display: flex; align-items: baseline; gap: 5px; white-space: nowrap; text-decoration: none; }
.header-brand:hover { text-decoration: none; }
.header-brand em { font-style: italic; color: var(--accent); }
.header-nav { display: flex; align-items: center; gap: var(--s6); margin-left: var(--s4); }
.header-nav a { font-size: 13px; font-weight: 500; color: var(--ink-soft); border-bottom: 1px solid transparent; transition: color 150ms, border-color 150ms; }
.header-nav a:hover { color: var(--ink); }
.header-nav a.active { color: var(--ink); border-bottom-color: var(--accent); }
.header-cta { margin-left: auto; font-size: 13px; font-weight: 600; padding: 9px 18px; background: var(--ink); color: var(--paper); border-radius: 3px; white-space: nowrap; transition: background 150ms; }
.header-cta:hover { background: var(--accent); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.hamburger span { width: 22px; height: 2px; background: var(--ink); border-radius: 1px; transition: all 250ms; }
@media (max-width: 800px) {
  .header-nav { display: none; }
  .hamburger  { display: flex; }
  .header-cta { display: none; }
}

/* ===== MOBILE NAV DRAWER ===== */
.mobile-nav { display: none; position: fixed; inset: 0; background: var(--paper); z-index: 2500; flex-direction: column; padding: var(--s8) var(--gutter); }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: var(--serif); font-size: 32px; font-weight: 400; padding: var(--s4) 0; border-bottom: 1px solid var(--rule); color: var(--ink); }
.mobile-nav a em { font-style: italic; color: var(--accent); }
.mobile-nav__close { position: absolute; top: 20px; right: var(--gutter); font-size: 28px; line-height: 1; }
.mobile-nav { overflow-y: auto; }

/* ===== DROPDOWN NAV ===== */
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop__btn { font-size: 13px; font-weight: 500; color: var(--ink-soft); display: flex; align-items: center; gap: 4px; transition: color 150ms; white-space: nowrap; cursor: pointer; }
.nav-drop__btn:hover, .nav-drop.open .nav-drop__btn { color: var(--ink); }
.nav-drop__caret { font-size: 7px; display: inline-block; transition: transform 150ms; line-height: 1; margin-top: 1px; }
.nav-drop.open .nav-drop__caret { transform: rotate(180deg); }
.nav-drop__menu { position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(-50%) translateY(-6px); background: var(--paper); border: 1px solid var(--rule); border-radius: 5px; box-shadow: 0 8px 28px rgba(0,0,0,0.10); min-width: 190px; padding: 6px 0; opacity: 0; pointer-events: none; transition: opacity 130ms, transform 130ms; z-index: 500; }
.nav-drop.open .nav-drop__menu { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.nav-drop__menu a { display: block; padding: 9px 16px; font-size: 13px; font-weight: 500; color: var(--ink-soft); white-space: nowrap; transition: background 80ms, color 80ms; border: none !important; }
.nav-drop__menu a:hover { background: var(--paper-deep); color: var(--ink); }
.nav-drop__divider { height: 1px; background: var(--rule); margin: 4px 0; }

/* ===== MOBILE NAV ACCORDION ===== */
.mob-acc { border-bottom: 1px solid var(--rule); }
.mob-acc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; font-family: var(--serif); font-size: 32px; font-weight: 400; color: var(--ink); padding: var(--s4) 0; text-align: left; cursor: pointer; }
.mob-acc__caret { font-size: 14px; font-family: var(--sans); font-weight: 400; transition: transform 200ms; flex-shrink: 0; margin-left: var(--s3); }
.mob-acc.open .mob-acc__caret { transform: rotate(180deg); }
.mob-acc__body { display: none; padding: var(--s2) 0 var(--s5) var(--s4); }
.mob-acc.open .mob-acc__body { display: block; }
.mob-acc__body a { display: block; font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--ink-soft); padding: var(--s3) 0; border: none !important; }
.mob-acc__body a:hover { color: var(--ink); }

/* ===== LEAFLET MARKERS & POPUPS ===== */
.mkr { width: 30px; height: 30px; border-radius: 50%; border: 2.5px solid #fff; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; color: #fff; box-shadow: 0 2px 7px rgba(0,0,0,.3); font-family: var(--sans, sans-serif); text-transform: uppercase; background: var(--ink, #1a1a2e); cursor: pointer; }
.mkr.student { background: var(--accent, #e85d04); }
.mkr.hi { transform: scale(1.35); z-index: 999 !important; }
.aig-popup { min-width: 200px; }
.aig-popup__img { width: 100%; height: 110px; object-fit: cover; border-radius: 3px; margin-bottom: 8px; display: block; background: #eee; }
.aig-popup__name { font-weight: 700; font-size: 14px; color: var(--ink, #1a1a2e); margin-bottom: 2px; }
.aig-popup__addr { font-size: 11px; color: #666; margin-bottom: 6px; }
.aig-popup__price { font-size: 12px; font-weight: 600; color: var(--accent, #e85d04); margin-bottom: 8px; }
.aig-popup__link { display: inline-block; padding: 5px 12px; background: var(--ink, #1a1a2e); color: #fff !important; border-radius: 2px; font-size: 12px; font-weight: 700; text-decoration: none; }

/* ===== MAP MOBILE TOGGLE ===== */
.map-view-toggle { display: none; position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 1500; background: var(--ink); color: var(--paper); border-radius: 20px; padding: 11px 26px; font-size: 13px; font-weight: 600; box-shadow: 0 4px 16px rgba(0,0,0,.25); white-space: nowrap; cursor: pointer; }
@media (max-width: 680px) {
  .map-view-toggle { display: block; }
  .map-sidebar { display: none; width: 100%; }
  .map-sidebar.mob-list { display: flex; position: fixed; top: 68px; left: 0; right: 0; bottom: 56px; width: 100%; z-index: 100; overflow: hidden; }
  #aigMap { height: 100%; }
  #aigMap.mob-hidden { display: none; }
}

/* ===== NEIGHBORHOOD PAGE ===== */
.nbhd-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: start; margin-bottom: var(--s8); }
.nbhd-copy p { font-size: 15px; line-height: 1.75; color: var(--ink-soft); margin-bottom: var(--s5); }
.nbhd-copy p:last-child { margin-bottom: 0; }
.nbhd-map-wrap { border-radius: 6px; overflow: hidden; border: 1px solid var(--rule); }
#nbhdMap { height: 420px; }
@media (max-width: 760px) {
  .nbhd-layout { grid-template-columns: 1fr; }
  #nbhdMap { height: 260px; }
}

/* ===== CONTACT PAGE ===== */
.contact-page-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: start; }
@media (max-width: 760px) { .contact-page-layout { grid-template-columns: 1fr; } }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; padding: 12px 22px; border-radius: 3px; transition: all 180ms; gap: var(--s2); }
.btn--primary       { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); }
.btn--outline       { border: 1px solid var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--outline-white       { border: 1px solid rgba(255,255,255,.6); color: #fff; }
.btn--outline-white:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ===== HERO ===== */
.hero { position: relative; height: clamp(480px, 72vh, 760px); overflow: hidden; background: #111; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 8s ease; }
.hero__slide.active img { transform: scale(1); }
.hero__slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.08) 0%, rgba(0,0,0,.48) 55%, rgba(0,0,0,.75) 100%); }
.hero__content { position: absolute; bottom: 0; left: 0; right: 0; padding: clamp(28px,5vw,56px) var(--gutter); z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: var(--s5); }
.hero__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s4); }
.hero__eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--accent); }
.hero__headline { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5.5vw, 72px); line-height: 1.05; letter-spacing: -.02em; color: #fff; margin-bottom: var(--s4); }
.hero__headline em { font-style: italic; color: #F2A06E; }
.hero__sub { font-size: clamp(14px, 1.2vw, 17px); color: rgba(255,255,255,.78); max-width: 46ch; margin-bottom: var(--s5); }
.hero__btns { display: flex; flex-wrap: wrap; gap: var(--s3); }
.hero__dots { display: flex; gap: var(--s2); padding-bottom: 4px; }
.hero__dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.35); transition: background 200ms, transform 200ms; cursor: pointer; }
.hero__dot.active { background: #fff; transform: scale(1.3); }
.hero__arrows { display: flex; gap: var(--s2); }
.hero__arrow { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.4) !important; color: #fff; font-size: 15px; display: flex; align-items: center; justify-content: center; border-radius: 2px; background: rgba(255,255,255,.1); transition: background 150ms; }
.hero__arrow:hover { background: rgba(255,255,255,.25); }

/* ===== ENTRY POINTS ===== */
.entries { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.entries__grid { display: grid; grid-template-columns: 1fr; background: var(--rule); gap: 1px; }
@media (min-width: 700px) { .entries__grid { grid-template-columns: repeat(3, 1fr); } }
.entry { background: var(--paper); padding: clamp(28px, 4vw, 48px) var(--s6); display: flex; flex-direction: column; gap: var(--s3); cursor: pointer; transition: background 250ms; }
.entry:hover { background: var(--accent-tint); }
.entry__num { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-quiet); }
.entry__title { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 34px); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; margin-top: var(--s2); }
.entry__title em { font-style: italic; color: var(--accent); }
.entry__desc { font-size: 14px; color: var(--ink-soft); max-width: 30ch; flex: 1; }
.entry__pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s3); }
.entry__pill { font-size: 12px; font-weight: 600; padding: 5px 12px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); transition: all 140ms; }
.entry__pill:hover { background: var(--ink); color: var(--paper); }
.entry__cta { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-top: var(--s4); display: inline-flex; align-items: center; gap: var(--s2); }
.entry__cta-arrow { transition: transform 250ms; display: inline-block; }
.entry:hover .entry__cta-arrow { transform: translateX(5px); }

/* ===== SECTION ===== */
.aig-section { padding: clamp(60px, 8vw, 112px) 0; }
.aig-section--deep { background: var(--paper-deep); }
.aig-section__head { margin-bottom: var(--s8); display: grid; grid-template-columns: 1fr; gap: var(--s5); }
@media (min-width: 800px) { .aig-section__head { grid-template-columns: 1.4fr 1fr; align-items: end; } }
.aig-section__title { font-family: var(--serif); font-size: clamp(32px, 5vw, 60px); font-weight: 300; line-height: 1.02; letter-spacing: -.02em; }
.aig-section__title em { font-style: italic; color: var(--accent); }
.aig-section__intro { font-size: 15px; line-height: 1.65; color: var(--ink-soft); max-width: 44ch; }

/* ===== CARDS ===== */
.aig-cards { display: grid; grid-template-columns: 1fr; gap: var(--s6) var(--s5); }
@media (min-width: 640px)  { .aig-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .aig-cards { grid-template-columns: repeat(3, 1fr); } }
.aig-card { display: flex; flex-direction: column; gap: var(--s3); cursor: pointer; color: inherit; text-decoration: none; }
.aig-card:hover { color: inherit; text-decoration: none; }
.aig-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--paper-deep); }
.aig-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.6,.2,1); }
.aig-card:hover .aig-card__media img { transform: scale(1.04); }
.aig-card__badges { position: absolute; top: var(--s3); left: var(--s3); right: var(--s3); display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s2); }
.aig-badge { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 2px; }
.aig-badge--accent { background: var(--accent); color: #fff; }
.aig-badge--gold   { background: var(--gold);   color: var(--ink); }
.aig-badge--ink    { background: var(--ink);    color: #fff; }
.aig-card__neighborhood { font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--ink-quiet); display: flex; align-items: center; gap: var(--s2); }
.aig-card__neighborhood::before { content: ''; width: 12px; height: 1px; background: var(--accent); }
.aig-card__name  { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.1; letter-spacing: -.01em; }
.aig-card__blurb { font-size: 13px; line-height: 1.5; color: var(--ink-soft); flex: 1; }
.aig-card__meta  { display: flex; justify-content: space-between; align-items: baseline; padding-top: var(--s3); border-top: 1px solid var(--rule); margin-top: auto; }
.aig-card__price      { font-family: var(--serif); font-size: 16px; font-weight: 500; }
.aig-card__price-from { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-quiet); display: block; margin-bottom: 1px; }
.aig-card__beds  { font-size: 12px; color: var(--ink-soft); }

/* ===== FILTER BAR ===== */
.aig-filter-bar { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s7); padding: var(--s4); background: var(--paper-deep); border-radius: 3px; align-items: center; }
.aig-chip { font-size: 12px; font-weight: 500; padding: 7px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); color: var(--ink-soft); transition: all 130ms; cursor: pointer; }
.aig-chip:hover  { border-color: var(--ink); color: var(--ink); }
.aig-chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.aig-filter-count { margin-left: auto; font-size: 12px; font-style: italic; font-family: var(--serif); color: var(--ink-quiet); }

/* ===== EDITORIAL ===== */
.editorial { background: var(--ink); color: var(--paper); padding: clamp(72px, 10vw, 140px) 0; position: relative; overflow: hidden; }
.editorial::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at top right, rgba(200,84,26,.16), transparent 55%), radial-gradient(ellipse at bottom left, rgba(200,84,26,.08), transparent 50%); pointer-events: none; }
.editorial__inner { position: relative; display: grid; grid-template-columns: 1fr; gap: var(--s8); }
@media (min-width: 900px) { .editorial__inner { grid-template-columns: 1.1fr 1fr; gap: var(--s9); align-items: start; } }
.editorial .eyebrow { color: rgba(244,239,230,.6); }
.editorial .eyebrow::before { background: var(--accent); }
.editorial__title { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 5vw, 66px); line-height: 1.02; letter-spacing: -.02em; margin: var(--s5) 0 var(--s6); }
.editorial__title em { font-style: italic; color: #E89B6A; }
.editorial__body { display: flex; flex-direction: column; gap: var(--s5); font-size: 15px; line-height: 1.7; color: rgba(244,239,230,.78); max-width: 54ch; }
.editorial__list { border-top: 1px solid rgba(244,239,230,.15); list-style: none; }
.editorial__list li { border-bottom: 1px solid rgba(244,239,230,.15); }
.editorial__list li a { display: grid; grid-template-columns: 56px 1fr auto; align-items: baseline; gap: var(--s4); padding: var(--s5) 0; cursor: pointer; transition: padding-left 200ms; color: inherit; }
.editorial__list li a:hover { padding-left: var(--s4); }
.ed-num   { font-family: var(--serif); font-style: italic; font-size: 13px; color: rgba(244,239,230,.45); }
.ed-title { font-family: var(--serif); font-size: 21px; font-weight: 400; color: var(--paper); }
.ed-meta  { font-size: 11px; color: rgba(244,239,230,.5); letter-spacing: .06em; text-transform: uppercase; }

/* ===== CTA STRIP ===== */
.cta-strip { background: var(--accent); color: #fff; padding: clamp(48px, 7vw, 88px) 0; }
.cta-strip__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s6); }
.cta-strip__text { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 42px); font-weight: 400; line-height: 1.1; letter-spacing: -.015em; }
.cta-strip__text em { font-style: italic; color: rgba(255,255,255,.65); }
.cta-btns { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ===== FOOTER ===== */
.site-footer { background: var(--paper-deep); padding: var(--s8) 0 var(--s5); border-top: 1px solid var(--rule); }
.footer-top { display: grid; grid-template-columns: 1fr; gap: var(--s6); padding-bottom: var(--s6); border-bottom: 1px solid var(--rule); margin-bottom: var(--s5); }
@media (min-width: 700px) { .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s7); } }
.footer-brand { font-family: var(--serif); font-size: 22px; font-weight: 400; }
.footer-brand em { font-style: italic; color: var(--accent); }
.footer-tagline { font-size: 13px; color: var(--ink-quiet); margin-top: var(--s2); max-width: 28ch; }
.footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--ink); margin-bottom: var(--s4); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: var(--s3); font-size: 14px; color: var(--ink-soft); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-quiet); flex-wrap: wrap; gap: var(--s3); }

/* ===== BEDROOM PAGE ===== */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--rule); }
.page-hero__eyebrow { margin-bottom: var(--s4); }
.page-hero__title { font-family: var(--serif); font-size: clamp(36px, 5vw, 64px); font-weight: 300; line-height: 1.02; letter-spacing: -.02em; margin-bottom: var(--s4); }
.page-hero__title em { font-style: italic; color: var(--accent); }
.page-hero__sub { font-size: 15px; color: var(--ink-soft); max-width: 52ch; }
.bed-tabs { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s7); }
.bed-tab { font-size: 13px; font-weight: 600; padding: 9px 18px; border: 1px solid var(--rule); border-radius: 3px; background: var(--paper); color: var(--ink-soft); transition: all 140ms; cursor: pointer; }
.bed-tab:hover { border-color: var(--ink); color: var(--ink); }
.bed-tab.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.aig-no-results { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink-quiet); padding: var(--s9) 0; display: none; }

/* ===== COMMUNITY PAGE ===== */
.c-hero { position: relative; height: clamp(380px, 55vh, 640px); overflow: hidden; background: #111; }
.c-slides { position: absolute; inset: 0; }
.c-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.c-slide.active { opacity: 1; }
.c-slide img { width: 100%; height: 100%; object-fit: cover; }
.c-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.05) 40%, rgba(0,0,0,.65) 100%); }
.c-hero__bar { position: absolute; bottom: 0; left: 0; right: 0; padding: var(--s5) var(--gutter); z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); }
.c-hero__name { font-family: var(--serif); font-size: clamp(28px, 4vw, 52px); font-weight: 400; letter-spacing: -.02em; color: #fff; line-height: 1.05; }
.c-hero__nbhd { font-family: var(--serif); font-style: italic; font-size: 15px; color: rgba(255,255,255,.72); margin-bottom: var(--s2); display: flex; align-items: center; gap: var(--s2); }
.c-hero__nbhd::before { content: ''; width: 16px; height: 1px; background: var(--accent); display: inline-block; }
.c-slide-controls { display: flex; gap: 6px; padding-bottom: 4px; }
@media (max-width: 600px) { .c-slide-controls { display: none; } }
.c-slide-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.4); border: none; cursor: pointer; transition: background 180ms, transform 180ms; }
.c-slide-dot.active { background: #fff; transform: scale(1.35); }
.c-slide-arrows { display: flex; gap: 6px; }
.c-slide-arrow { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 2px; font-size: 14px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.1); transition: background 140ms; cursor: pointer; }
.c-slide-arrow:hover { background: rgba(255,255,255,.25); }

.c-breadcrumb { padding: var(--s3) 0; border-bottom: 1px solid var(--rule); font-size: 12px; color: var(--ink-quiet); }
.c-breadcrumb a:hover { color: var(--accent); }
.c-breadcrumb span { margin: 0 6px; }

.c-layout { display: grid; grid-template-columns: 1fr; gap: var(--s7); padding: var(--s7) 0 var(--s9); }
@media (min-width: 960px) { .c-layout { grid-template-columns: 1fr 320px; align-items: start; } }
.c-main { min-width: 0; }
.c-sidebar { display: flex; flex-direction: column; gap: var(--s5); }
/* sidebar scrolls naturally — no sticky */

.c-badges { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s5); }
.c-section { margin-bottom: var(--s8); }
.c-section-title { font-family: var(--serif); font-size: 22px; font-weight: 400; letter-spacing: -.01em; margin-bottom: var(--s4); }
.c-section-title em { font-style: italic; color: var(--accent); }
.c-about { font-size: 15px; line-height: 1.7; color: var(--ink-soft); max-width: 65ch; }

.amenity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--s2) var(--s3); margin-top: var(--s4); }
.amenity-item { display: flex; align-items: center; gap: var(--s2); font-size: 13px; color: var(--ink-soft); }
.amenity-item::before { content: '✓'; font-size: 11px; font-weight: 700; color: var(--accent); flex-shrink: 0; }

.fp-filters { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s5); }
.fp-grid { display: grid; grid-template-columns: 1fr; gap: var(--s4); }
@media (min-width: 640px) { .fp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .fp-grid { grid-template-columns: repeat(3, 1fr); } }
.fp-card { border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; transition: box-shadow 200ms; }
.fp-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.1); }
.fp-card[style*="display:none"] { display: none !important; }
.fp-img-wrap { aspect-ratio: 4/3; background: var(--paper-deep); display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: zoom-in; position: relative; }
.fp-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.fp-img-wrap::after { content: '⤢'; position: absolute; bottom: 8px; right: 10px; font-size: 14px; color: rgba(255,255,255,.85); background: rgba(0,0,0,.4); border-radius: 3px; padding: 2px 6px; line-height: 1.4; pointer-events: none; opacity: 0; transition: opacity 150ms; }
.fp-img-wrap:hover::after { opacity: 1; }
.fp-img-placeholder ~ *::after, .fp-img-wrap:has(.fp-img-placeholder)::after { display: none; }

/* ── Floor plan lightbox ──────────────────────────────────────────────────── */
.fp-lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 3000; align-items: center; justify-content: center; padding: var(--s6); cursor: zoom-out; }
.fp-lightbox.open { display: flex; }
.fp-lightbox__inner { position: relative; max-width: 860px; width: 100%; cursor: default; }
.fp-lightbox__close { position: absolute; top: -44px; right: 0; background: none; border: none; color: rgba(255,255,255,.65); font-size: 36px; line-height: 1; cursor: pointer; transition: color 150ms; padding: 4px 8px; }
.fp-lightbox__close:hover { color: #fff; }
.fp-lightbox__img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 4px; background: var(--paper-deep); display: block; }
.fp-lightbox__caption { font-family: var(--serif); font-style: italic; font-size: 15px; color: rgba(255,255,255,.55); text-align: center; margin-top: var(--s3); }

/* ── Floorplan availability modal ─────────────────────────────────────────── */
#floorplanModal .modal-content { border-radius: 6px; border: none; font-family: var(--sans); background: var(--paper); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
#floorplanModal .modal-body { padding: var(--s6); }
#floorplanModal .modal-header { font-family: var(--serif); font-size: 20px; font-weight: 400; color: var(--ink); padding: 0; border: none; display: block; margin-bottom: var(--s5); }
#floorplanModal .close { float: right; color: var(--ink-quiet); opacity: 1; font-size: 22px; line-height: 1.2; margin: -4px -4px 0 0; padding: 4px 8px; transition: color 150ms; }
#floorplanModal .close:hover { color: var(--ink); }
#floorplanModal input[type="text"], #floorplanModal textarea { display: block; width: 100%; margin-bottom: var(--s3); padding: 10px 14px; border: 1px solid var(--rule); border-radius: 3px; font-family: var(--sans); font-size: 14px; color: var(--ink); background: #fff; transition: border-color 150ms, box-shadow 150ms; }
#floorplanModal input[type="text"]:focus, #floorplanModal textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
#floorplanModal textarea { resize: vertical; min-height: 90px; }
.modal-btn-row { display: flex; align-items: center; gap: var(--s3); justify-content: flex-end; margin-top: var(--s5); }
.modal-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 20px; font-family: var(--sans); font-size: 13px; font-weight: 600; border-radius: 3px; cursor: pointer; transition: background 150ms, color 150ms; text-decoration: none; border: 1px solid var(--rule); color: var(--ink-soft); background: none; }
.modal-btn:hover { background: var(--paper-deep); color: var(--ink); }
div.modal-btn.submitFloorplanModal { background: var(--accent); color: #fff; border-color: var(--accent); }
div.modal-btn.submitFloorplanModal:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

/* ── Location card map ────────────────────────────────────────────────────── */
.info-card__map { height: 160px; overflow: hidden; border-bottom: 1px solid var(--rule); }
.info-card__map iframe { display: block !important; width: 100% !important; height: 160px !important; border: none !important; }
.location-address { font-size: 13px; color: var(--ink-soft); line-height: 1.6; margin-bottom: var(--s2); }
.location-directions { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); margin-top: var(--s1); }
.location-directions:hover { color: var(--accent-deep); }
.fp-img-placeholder { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--rule); text-align: center; padding: var(--s5); }
.fp-body { padding: var(--s4); }
.fp-name { font-family: var(--serif); font-size: 17px; font-weight: 500; letter-spacing: -.01em; margin-bottom: var(--s2); }
.fp-meta { display: flex; gap: var(--s3); font-size: 12px; color: var(--ink-quiet); margin-bottom: var(--s3); flex-wrap: wrap; }
.fp-price { font-family: var(--serif); font-size: 16px; font-weight: 500; margin-bottom: var(--s3); }
.fp-cta { display: block; text-align: center; padding: 9px; background: var(--accent); color: #fff !important; border-radius: 2px; font-size: 12px; font-weight: 600; transition: background 150ms; cursor: pointer; }
.fp-cta:hover { background: var(--accent-deep); }

.contact-card { background: var(--ink); color: var(--paper); padding: var(--s6); border-radius: 3px; }
.contact-card__title { font-family: var(--serif); font-size: 20px; font-weight: 400; margin-bottom: var(--s4); }
.contact-card__title em { font-style: italic; color: #E89B6A; }
.contact-card-confirm { font-size: 15px; text-align: center; padding: var(--s5) 0; display: none; }
.c-contact-form input, .c-contact-form textarea { width: 100%; font: inherit; font-size: 13px; padding: 10px 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 2px; color: #fff; margin-bottom: var(--s3); outline: none; transition: border-color 150ms; box-sizing: border-box; }
.c-contact-form input::placeholder, .c-contact-form textarea::placeholder { color: rgba(255,255,255,.4); }
.c-contact-form input:focus, .c-contact-form textarea:focus { border-color: rgba(255,255,255,.5); }
.c-contact-form textarea { resize: vertical; min-height: 80px; }
.c-contact-errors { font-size: 12px; color: #E89B6A; margin-bottom: var(--s3); }
.contact-submit-btn { width: 100%; padding: 12px; background: var(--accent); color: #fff; border-radius: 2px; font-size: 13px; font-weight: 700; transition: background 150ms; text-align: center; cursor: pointer; display: block; }
.contact-submit-btn:hover { background: var(--accent-deep); }
.contact-extra { margin-top: var(--s5); display: flex; flex-direction: column; gap: var(--s3); }
.contact-extra a { font-size: 13px; color: rgba(255,255,255,.75); }
.contact-extra a:hover { color: #fff; }

.info-card { border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; }
.info-card__head { background: var(--paper-deep); padding: var(--s4) var(--s5); border-bottom: 1px solid var(--rule); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.info-card__body { padding: var(--s5); }
.hours-row { display: flex; justify-content: space-between; font-size: 13px; padding: 5px 0; border-bottom: 1px solid var(--rule); }
.hours-row:last-child { border: none; }
.hours-day { font-weight: 600; color: var(--ink); min-width: 110px; }
.hours-time { color: var(--ink-soft); }
.info-card .embed-container { margin: 0; }
.info-card .embed-container iframe { display: block; width: 100%; }

.specials-banner { background: var(--gold); padding: var(--s4) var(--s5); border-radius: 3px; margin-bottom: var(--s5); }
.specials-banner__title { font-family: var(--serif); font-size: 17px; font-weight: 500; margin-bottom: var(--s2); }
.specials-banner__body { font-size: 13px; color: var(--ink-soft); margin-bottom: var(--s3); }
.specials-email-form { margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid rgba(0,0,0,.15); display: none; }
.specials-email-form input { width: 100%; padding: 8px 10px; margin-bottom: var(--s2); font: inherit; font-size: 13px; border: 1px solid rgba(0,0,0,.2); border-radius: 2px; background: rgba(255,255,255,.6); box-sizing: border-box; }
.specials-submit-btn { display: inline-block; padding: 8px 20px; background: var(--ink); color: var(--paper); border-radius: 2px; font-size: 12px; font-weight: 700; cursor: pointer; }

.nearby-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4); margin-bottom: var(--s5); }
.nearby-card { display: flex; flex-direction: column; gap: var(--s2); }
.nearby-card__img { aspect-ratio: 3/2; overflow: hidden; border-radius: 2px; background: var(--paper-deep); }
.nearby-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.nearby-card:hover .nearby-card__img img { transform: scale(1.05); }
.nearby-card__name { font-family: var(--serif); font-size: 14px; font-weight: 500; }
.nearby-card__meta { font-size: 12px; color: var(--ink-quiet); }
