/* Loft on 47th — landing page styles */

:root {
  --paper: #FFFAF3;
  --paper-tint: #F8EFE2;
  --card: #FFFDF9;
  --ink: #211E1B;
  --muted: #655F5A;
  --faint: #8A837A;
  --clay: #B96A4E;
  --clay-deep: #98523D;
  --evergreen: #355245;
  --gold: #D9B986;
  --line: #E7DBC8;
  --line-soft: #EDE3D3;
  --radius: 18px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 20px 50px rgba(41, 32, 27, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(185, 106, 78, 0.07), transparent 30%),
    linear-gradient(180deg, #FFFCF6 0%, #FBF4E9 100%);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

/* ---------- type ---------- */
.eyebrow {
  margin: 0 0 10px;
  color: var(--clay);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 800;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.05; margin: 0 0 14px; }
h1 { font-size: clamp(38px, 6.2vw, 68px); letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.6vw, 44px); max-width: 21ch; }
h3 { font-size: 22px; }
.lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.65; max-width: 62ch; }

.section-head { margin-bottom: 34px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(41,32,27,.14); }
.btn-clay { background: linear-gradient(135deg, var(--clay), var(--clay-deep)); color: #FFF8EF; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-ghost { border-color: rgba(255,248,239,.65); color: #FFF8EF; backdrop-filter: blur(4px); }
.btn-light { background: #FFF8EF; color: var(--clay-deep); }
.btn-outline { border-color: rgba(255,248,239,.55); color: #FFF8EF; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(33,30,27,.08);
  box-shadow: 0 8px 26px rgba(41,32,27,.08);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }

/* New Connection Homes mini-badge in the header */
.nch-chip { display: none; }
@media (min-width: 1021px) {
  .brand { margin-right: 0; }
  .nch-chip {
    display: inline-flex; align-items: center; gap: 9px;
    margin-right: auto;
    padding: 4px 13px 4px 6px;
    border-radius: 999px;
    background: var(--paper-tint);
    border: 1px solid var(--line);
    text-decoration: none;
    transition: border-color .18s ease;
  }
  .nch-chip:hover { border-color: var(--clay); }
  .nch-chip img {
    height: 30px; width: auto;
    background: #FFF8EF; border-radius: 8px; padding: 3px;
  }
  .nch-chip-text { display: grid; line-height: 1.2; }
  .nch-chip-text strong { font-size: 12.5px; color: var(--ink); white-space: nowrap; }
  .nch-chip-text em { font-style: normal; font-size: 9.5px; color: var(--faint); white-space: nowrap; }
}
@media (max-width: 1319.98px) and (min-width: 1021px) {
  .nch-chip-text { display: none; }
  .nch-chip { padding: 4px; }
  .nch-chip img { border-radius: 50%; }
}
@media (max-width: 1020px) {
  .nch-chip {
    display: inline-flex; align-items: center;
    margin-left: auto; margin-right: 14px;
    padding: 3px;
    background: #FFF8EF; border: 1px solid var(--line);
    border-radius: 11px;
  }
  .nch-chip img {
    width: 30px; height: 30px; object-fit: cover;
    border-radius: 8px; padding: 2px;
  }
  .nch-chip-text { display: none; }
  .brand { margin-right: 0; }
}

/* ---------- type ---------- */
.eyebrow {
  margin: 0 0 10px;
  color: var(--clay);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 800;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.05; margin: 0 0 14px; }
h1 { font-size: clamp(38px, 6.2vw, 68px); letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.6vw, 44px); max-width: 21ch; }
h3 { font-size: 22px; }
.lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.65; max-width: 62ch; }

.section-head { margin-bottom: 34px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(41,32,27,.14); }
.btn-clay { background: linear-gradient(135deg, var(--clay), var(--clay-deep)); color: #FFF8EF; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-ghost { border-color: rgba(255,248,239,.65); color: #FFF8EF; backdrop-filter: blur(4px); }
.btn-light { background: #FFF8EF; color: var(--clay-deep); }
.btn-outline { border-color: rgba(255,248,239,.55); color: #FFF8EF; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(33,30,27,.08);
  box-shadow: 0 8px 26px rgba(41,32,27,.08);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }

.brand-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--clay), var(--clay-deep));
  color: #FFF8EF; font-weight: 800; font-size: 15px; letter-spacing: .02em;
}
.brand-text strong { display: block; font-size: 15px; line-height: 1.1; }
.brand-text span { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.site-nav { display: flex; gap: 20px; }
.site-nav a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted); }
.site-nav a:hover { color: var(--clay-deep); }
.btn-nav { padding: 10px 18px; font-size: 13.5px; }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  margin-top: -66px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 0 0 34px 34px;
}
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero img { filter: brightness(.82) saturate(.98); }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(24, 22, 20, 0.58) 0%,
    rgba(24, 22, 20, 0.28) 36%,
    rgba(24, 22, 20, 0.34) 58%,
    rgba(21, 19, 17, 0.86) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0 84px;
  color: #FFF8EF;
}
.hero-eyebrow { color: var(--gold); }
.hero h1 { color: #FFF8EF; max-width: 17ch; text-wrap: balance; }
.hero-sub { max-width: 56ch; font-size: clamp(15px, 1.7vw, 18.5px); line-height: 1.6; color: rgba(255,248,239,.92); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-facts {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 10px 34px;
  margin: 34px 0 0; padding: 18px 0 0;
  border-top: 1px solid rgba(255,248,239,.28);
}
.hero-facts li { display: grid; gap: 1px; }
.hero-facts strong { font-size: 16px; }
.hero-facts span { font-size: 12.5px; color: rgba(255,248,239,.75); }
.hero-scroll {
  position: absolute; right: 26px; bottom: 22px; z-index: 2;
  color: rgba(255,248,239,.85); text-decoration: none; font-size: 20px;
}

/* ---------- sections ---------- */
.section { padding: 86px 0; }
.section-tint { background: var(--paper-tint); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

/* ---------- gallery ---------- */
.gallery { display: block; }
.gal-row { display: flex; gap: 12px; margin-bottom: 12px; }
.gal-row:last-child { margin-bottom: 0; }
.gallery figure {
  margin: 0; overflow: hidden; border-radius: var(--radius);
  height: 100%; min-width: 0;
}
.gallery figure a { display: block; height: 100%; cursor: zoom-in; }
.gallery img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.gallery figure:hover img { transform: scale(1.03); }

/* lightbox */
.lb-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(20, 18, 16, .93);
  display: none; align-items: center; justify-content: center;
  padding: 4vh 4vw;
}
.lb-overlay.open { display: flex; }
.lb-overlay img {
  max-width: 92vw; max-height: 88vh;
  border-radius: 14px; box-shadow: 0 30px 90px rgba(0,0,0,.5);
}
.lb-close {
  position: absolute; top: 18px; right: 22px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(255,248,239,.4);
  background: rgba(33,30,27,.6); color: #FFF8EF;
  font-size: 20px; line-height: 1; cursor: pointer;
}

/* ---------- where we are ---------- */
.where-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.map-card { border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-visual { position: relative; background: #ECE6DC; }
.map-visual > img { width: 100%; height: auto; display: block; }
.pin-hot {
  position: absolute;
  width: 21px; height: 21px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 2;
}
.pin-hot::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 50%;
  background: rgba(185, 106, 78, 0.30);
  box-shadow: 0 0 0 2.5px rgba(255, 248, 239, 0.65), 0 2px 6px rgba(0,0,0,.35);
  transition: box-shadow .15s ease, background .15s ease;
}
.pin-hot.home::after { background: rgba(53, 82, 69, 0.32); }
.pin-hot:hover { z-index: 20; }
.pin-hot:hover::after,
.pin-hot:focus-visible::after {
  background: rgba(185, 106, 78, 0.45);
  box-shadow: 0 0 0 3.5px var(--gold), 0 2px 8px rgba(0,0,0,.4);
}
.pin-hot span {
  position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  font-size: 11px; font-weight: 700; color: #FFF8EF;
  background: rgba(33, 30, 27, 0.92);
  padding: 4px 9px; border-radius: 8px;
  opacity: 0; pointer-events: none; transition: opacity .15s ease;
}
.pin-hot:hover span, .pin-hot:focus-visible span { opacity: 1; }
.route-link { color: inherit; text-decoration: none; border-bottom: 1px dashed rgba(185,106,78,.5); }
.route-link:hover { color: var(--clay-deep); border-bottom-color: var(--clay-deep); }
.map-note { margin: 0; padding: 13px 16px; font-size: 13px; color: var(--muted); }
.drive-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 14px; box-shadow: var(--shadow); }
.drive-card h3 { margin-bottom: 10px; }
.drive-list { list-style: none; margin: 0; padding: 0; }
.drive-list li {
  display: grid; grid-template-columns: 30px 1fr; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--line-soft);
}
.drive-list li:last-child { border-bottom: 0; }
.badge {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--clay), var(--clay-deep));
  color: #FFF8EF; font-size: 11.5px; font-weight: 800; margin-top: 2px;
}
.drive-list strong { display: block; font-size: 14.5px; }
.drive-list em { display: block; font-style: normal; color: var(--clay-deep); font-size: 12px; font-weight: 700; margin: 1px 0 2px; }
.drive-list p { margin: 0; font-size: 12.8px; color: var(--muted); line-height: 1.4; }
.footnote { margin: 12px 2px 0; font-size: 11.5px; color: var(--faint); }

/* ---------- out & about ---------- */
.do-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 26px 18px; box-shadow: var(--shadow);
}
.card h3 { padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.tick-list { list-style: none; margin: 14px 0 6px; padding: 0; }
.tick-list li {
  position: relative; padding: 0 0 13px 26px;
  color: var(--muted); line-height: 1.5; font-size: 15px;
}
.tick-list li::before {
  content: ""; position: absolute; left: 4px; top: 8px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--clay);
}
.tick-list.gold li::before { background: var(--gold); }
.tick-list strong { color: var(--ink); }

/* ---------- eat & drink ---------- */
.eat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.eat-card {
  display: block; text-decoration: none;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 20px 16px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.eat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.eat-kind {
  display: inline-block; margin-bottom: 10px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--clay-deep); background: var(--paper-tint);
  padding: 5px 10px; border-radius: 99px;
}
.eat-card h4 { font-size: 21px; margin-bottom: 6px; }
.eat-card p { margin: 0 0 14px; color: var(--muted); font-size: 13.8px; line-height: 1.5; }
.eat-link { font-size: 12.5px; font-weight: 700; color: var(--clay); }

/* ---------- hikes ---------- */
.hike-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hike-chip {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  text-decoration: none;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 15px 17px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.hike-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--gold); }
.hike-chip span { font-weight: 700; font-size: 14.5px; }
.hike-chip em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--clay); white-space: nowrap; }

/* ---------- amenities ---------- */
.amen-group-title {
  font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--evergreen); font-weight: 800; margin: 30px 0 12px;
}
.amen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amen {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: 14px; padding: 11px 14px; font-size: 14px;
}
.amen img {
  width: 34px; height: 34px; padding: 8px; flex-shrink: 0;
  border-radius: 10px; background: linear-gradient(135deg, var(--clay), var(--clay-deep));
}
.amen-note { margin: 22px 2px 0; color: var(--muted); font-size: 14.5px; }
.amen-note::before { content: "★ "; color: var(--gold); }

/* ---------- book band ---------- */
.book-band {
  background: linear-gradient(135deg, var(--evergreen) 0%, #2E4550 100%);
  color: #FFF8EF; padding: 90px 0; text-align: center;
}
.gold-eyebrow { color: var(--gold); }
.book-band h2 { margin: 0 auto 16px; max-width: 24ch; color: #FFF8EF; }
.book-sub { max-width: 62ch; margin: 0 auto 28px; color: rgba(255,248,239,.85); line-height: 1.7; }
.book-sub a { color: var(--gold); text-decoration: none; font-weight: 700; }
.book-address { margin: 26px 0 0; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,248,239,.6); }

.book-band .hero-actions { justify-content: center; }
.susan-block {
  display: flex; flex-direction: column; align-items: center;
  gap: 18px; width: 100%; margin-top: 36px;
}
.susan-card {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 16px 30px 16px 18px;
  background: rgba(255, 248, 239, 0.08);
  border: 1px solid rgba(255, 248, 239, 0.22);
  border-radius: 20px;
  text-decoration: none; color: #FFF8EF;
  backdrop-filter: blur(4px);
  transition: transform .18s ease, background .18s ease;
}
.susan-card:hover { transform: translateY(-2px); background: rgba(255,248,239,.14); }
.susan-card img {
  height: 56px; width: auto;
  background: #FFF8EF; border-radius: 12px; padding: 7px;
}
.susan-text { display: grid; gap: 3px; text-align: left; }
.susan-text strong { font-size: 15px; }
.susan-text em { font-style: normal; font-size: 12.5px; color: rgba(255,248,239,.65); }
.susan-socials {
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: center;
}
.susan-socials .soc-btn {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 248, 239, 0.12);
  border: 1px solid rgba(255, 248, 239, 0.28);
  color: #FFF8EF; text-decoration: none;
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
}
.susan-socials .soc-btn svg { width: 21px; height: 21px; }
.susan-socials .soc-btn:hover {
  background: var(--clay); border-color: var(--clay);
  transform: translateY(-3px);
}

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,248,239,.75); padding: 34px 0; }
.footer-inner { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.site-footer .brand-text strong { color: #FFF8EF; }
.site-footer .brand-text span { color: rgba(255,248,239,.55); }
.footer-nav { display: flex; gap: 16px; flex-wrap: wrap; margin-right: auto; }
.footer-nav a { color: rgba(255,248,239,.72); text-decoration: none; font-size: 13px; }
.footer-nav a:hover { color: #FFF8EF; }
.copyright { margin: 0; font-size: 12.5px; color: rgba(255,248,239,.45); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .site-nav { display: none; }
  .where-grid, .do-grid { grid-template-columns: 1fr; }
  .eat-grid { grid-template-columns: repeat(2, 1fr); }
  .amen-grid { grid-template-columns: repeat(2, 1fr); }
  .hike-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle {
    display: grid; place-items: center;
    width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%;
    background: var(--card); cursor: pointer;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ""; display: block; width: 16px; height: 2px; background: var(--ink); position: relative;
  }
  .nav-toggle span::before { position: absolute; top: -5px; }
  .nav-toggle span::after { position: absolute; top: 5px; }
  body.nav-open .site-nav {
    display: grid; position: fixed; inset: 74px 14px auto 14px; z-index: 60;
    background: var(--card); border: 1px solid var(--line); border-radius: 18px;
    padding: 14px; gap: 4px; box-shadow: var(--shadow);
  }
  body.nav-open .site-nav a { padding: 10px 12px; border-radius: 10px; }
  body.nav-open .site-nav a:hover { background: var(--paper-tint); }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero-inner { padding: 96px 0 64px; }
  .gal-row { gap: 8px; margin-bottom: 8px; }
  .eat-grid { grid-template-columns: 1fr; }
  .amen-grid { grid-template-columns: 1fr; }
  .hike-grid { grid-template-columns: 1fr; }
  .map-card iframe { height: 340px; }
  .btn-nav { display: none; }
  .hero-facts { gap: 8px 20px; }
}
