/* ============ NK Apartments ============ */
:root {
  --ink: #1d1b18;
  --ink-soft: #3a372f;
  --paper: #f7f4ef;
  --card: #ffffff;
  --stone: #6f6a61;
  --line: #e5e0d6;
  --brass: #9a7b4f;
  --brass-dark: #7d6340;
  --gold: #c9a877;
  --dark-bg: #1d1b18;
  --dark-text: #f0ece4;
  --dark-muted: #b3ab9c;
  --radius: 14px;
  --shadow: 0 2px 24px rgba(29, 27, 24, .08);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 420;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
}
.eyebrow.light { color: #e8d9bf; }
.eyebrow.gold { color: var(--gold); }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-alt { background: #f1ece3; }
.section-sub {
  max-width: 560px;
  color: var(--stone);
  margin-top: 1.1rem;
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  padding: .95rem 1.9rem;
  border-radius: 999px;
  transition: background .25s ease, transform .25s ease;
}
.btn:hover { background: var(--brass-dark); transform: translateY(-1px); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-small { padding: .6rem 1.3rem; font-size: .85rem; }

.link-arrow {
  color: var(--ink);
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 2px;
  transition: color .2s ease;
}
.link-arrow:hover { color: var(--brass-dark); }
.link-arrow::after { content: " ↗"; font-size: .85em; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.nav.scrolled {
  background: rgba(247, 244, 239, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: .65rem 0;
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  width: min(1240px, 94%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 560;
  color: #fff;
  text-decoration: none;
  letter-spacing: .01em;
  transition: color .35s ease;
}
.wordmark span { font-weight: 340; font-style: italic; }
.nav.scrolled .wordmark { color: var(--ink); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}
.nav-links a:not(.btn) {
  color: #fff;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  opacity: .92;
  transition: color .35s ease, opacity .2s ease;
}
.nav-links a:not(.btn):hover { opacity: 1; }
.nav.scrolled .nav-links a:not(.btn) { color: var(--ink); }
.nav .btn { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(4px); }
.nav .btn:hover { background: rgba(255,255,255,.28); transform: none; }
.nav.scrolled .btn { background: var(--ink); border-color: var(--ink); }
.nav.scrolled .btn:hover { background: var(--brass-dark); border-color: var(--brass-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 26px;
  margin: 0 auto;
  background: #fff;
  transition: transform .3s ease, background .35s ease;
}
.nav.scrolled .nav-toggle span, .nav.open .nav-toggle span { background: var(--ink); }
.nav.open .nav-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav.open .nav-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(17,15,12,.5) 0%, rgba(17,15,12,0) 30%),
    linear-gradient(83deg, rgba(17,15,12,.78) 0%, rgba(17,15,12,.55) 32%, rgba(17,15,12,.2) 56%, rgba(17,15,12,0) 74%),
    linear-gradient(to top, rgba(17,15,12,.85) 0%, rgba(17,15,12,.3) 40%, rgba(17,15,12,0) 62%);
}
.hero-content {
  position: relative;
  width: min(1160px, 92%);
  margin: 0 auto;
  padding: 0 0 clamp(3.5rem, 8vh, 6rem);
  color: #fff;
}
.hero h1 {
  max-width: 14ch;
  text-wrap: balance;
  text-shadow: 0 2px 28px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.4);
}
.hero-sub {
  max-width: 520px;
  margin-top: 1.3rem;
  font-size: 1.08rem;
  color: rgba(255,255,255,.95);
  text-shadow: 0 1px 18px rgba(0,0,0,.6), 0 1px 2px rgba(0,0,0,.5);
}
.hero .eyebrow.light { text-shadow: 0 1px 12px rgba(0,0,0,.55); }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
  margin-top: 2.1rem;
}
.rating-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #fff;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  padding: .8rem 1.4rem;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  backdrop-filter: blur(4px);
  transition: background .25s ease;
}
.rating-chip:hover { background: rgba(255,255,255,.14); }
.rating-chip svg { color: var(--gold); }

/* ---------- Stats ---------- */
.stats {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 2.4rem 0;
}
.stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 480;
}
.stat-star { color: var(--brass); font-size: .6em; vertical-align: .35em; margin-left: .15em; }
.stat-label {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3.2rem;
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon {
  width: 46px;
  height: 46px;
  color: var(--brass);
  margin-bottom: 1.1rem;
}
.feature-icon svg { width: 100%; height: 100%; }
.feature h3 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; margin-bottom: .45rem; }
.feature p { font-size: .93rem; color: var(--stone); }

/* ---------- Apartments ---------- */
.apts {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 6vw, 5rem);
  margin-top: 3.5rem;
}
.apt {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: stretch;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.apt:nth-child(2) .apt-media { order: 2; }
.apt-media { position: relative; min-height: 460px; }
.apt-body {
  padding: clamp(1.6rem, 3vw, 2.8rem);
  padding-left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.apt:nth-child(2) .apt-body { padding-left: clamp(1.6rem, 3vw, 2.8rem); padding-right: 0; }
.apt-specs {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: .7rem;
}
.apt h3 { margin-bottom: .7rem; text-wrap: balance; }
.apt-rating {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .9rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.stars { color: var(--brass); letter-spacing: .1em; font-size: .85rem; }
.apt-desc { color: var(--stone); font-size: .98rem; margin-bottom: 1.3rem; }
.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.7rem;
}
.tags li {
  font-size: .8rem;
  font-weight: 500;
  padding: .38rem .85rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
}
.apt-cta { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }

/* Gallery */
.gallery { position: absolute; inset: 0; }
.gallery-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: center;
}
.gal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  transition: background .2s ease, transform .2s ease;
}
.gal-btn:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.gal-btn.prev { left: 14px; }
.gal-btn.next { right: 14px; }
.gal-count {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(20,18,15,.65);
  color: #fff;
  font-size: .75rem;
  font-weight: 500;
  padding: .3rem .7rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* ---------- Reviews ---------- */
.section-dark {
  background: var(--dark-bg);
  color: var(--dark-text);
}
.section-dark h2 { color: #fff; }
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}
.quotes blockquote {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  background: rgba(255,255,255,.03);
}
.quotes p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 380;
  line-height: 1.4;
  color: #fff;
}
.quotes footer {
  margin-top: 1.2rem;
  font-size: .85rem;
  color: var(--dark-muted);
}
.reviews-note {
  margin-top: 2.6rem;
  color: var(--dark-muted);
  font-size: .95rem;
}
.reviews-note strong { color: var(--dark-text); font-weight: 600; }
.reviews-note a { color: var(--gold); }

/* ---------- Host ---------- */
.host-grid {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.host-photo { position: relative; }
.host-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--card);
  box-shadow: var(--shadow);
}
.host-badge {
  position: absolute;
  bottom: 8%;
  right: 6%;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--ink);
  color: var(--gold);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .5rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
}
.host-body > p:not(.eyebrow) {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 380;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 1.2rem 0 1.6rem;
  max-width: 46ch;
}
.host-facts {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.host-facts li {
  font-size: .96rem;
  color: var(--stone);
  padding-left: 1.5rem;
  position: relative;
}
.host-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brass);
}
.host-facts strong { color: var(--ink); font-weight: 600; }

/* ---------- Location ---------- */
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.loc-body > p:not(.eyebrow) {
  color: var(--stone);
  margin: 1.1rem 0 1.6rem;
  max-width: 48ch;
}
.loc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.loc-list li {
  font-size: .96rem;
  color: var(--stone);
  padding-left: 1.5rem;
  position: relative;
}
.loc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brass);
}
.loc-list strong { color: var(--ink); font-weight: 600; }
.loc-map {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.loc-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.55) sepia(.08);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-body > p:not(.eyebrow) {
  color: var(--stone);
  margin: 1.1rem 0 1.6rem;
  max-width: 46ch;
}
.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.contact-form label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 1rem;
}
.contact-form label:first-child { margin-top: 0; }
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: .98rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .8rem .95rem;
  transition: border-color .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brass);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form .btn {
  margin-top: 1.2rem;
  align-self: flex-start;
  cursor: pointer;
  border: 0;
  font-family: var(--font-body);
}
.contact-form .btn:disabled { opacity: .55; cursor: default; }
.cf-status {
  font-size: .92rem;
  font-weight: 500;
  color: var(--brass-dark);
  min-height: 1.4em;
  margin-top: .5rem;
}
.cf-legal { font-size: .78rem; color: var(--stone); margin-top: .4rem; }
.cf-legal a { color: inherit; }
.grecaptcha-badge { visibility: hidden; }

.cf-success { display: none; }
.contact-form.sent > :not(.cf-success) { display: none; }
.contact-form.sent .cf-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .5rem;
  padding: 2.8rem 1rem;
}
.cf-success svg { color: var(--brass); margin-bottom: .5rem; }
.cf-success h3 { font-size: 1.7rem; }
.cf-success p { color: var(--stone); max-width: 34ch; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(140deg, #262319 0%, var(--dark-bg) 55%, #2c2417 100%);
  color: var(--dark-text);
  text-align: center;
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}
.cta-band h2 { color: #fff; }
.cta-band p {
  max-width: 520px;
  margin: 1.1rem auto 2.2rem;
  color: var(--dark-muted);
}

/* ---------- Footer ---------- */
.footer {
  background: #171512;
  color: var(--dark-muted);
  padding: 4rem 0 2rem;
  font-size: .92rem;
}
.footer .wordmark { color: #fff; font-size: 1.3rem; }
.footer-tag { margin-top: .8rem; max-width: 30ch; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr .8fr;
  gap: 2.5rem;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-head {
  color: #fff;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-grid a {
  display: block;
  color: var(--dark-muted);
  text-decoration: none;
  padding: .28rem 0;
  transition: color .2s ease;
}
.footer-grid a:hover { color: var(--gold); }
.footer-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  padding-top: 1.6rem;
  font-size: .82rem;
  opacity: .75;
}

/* ---------- Cookie consent ---------- */
.consent {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 200;
  max-width: 380px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(29,27,24,.18);
  padding: 1.1rem 1.2rem;
}
.consent p {
  font-size: .88rem;
  color: var(--ink-soft);
  margin-bottom: .9rem;
}
.consent-btns {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.consent-btns .btn { cursor: pointer; border: 0; font-family: var(--font-body); }
.consent-decline {
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 500;
  color: var(--stone);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.consent-decline:hover { color: var(--ink); }
@media (max-width: 720px) {
  .consent { left: .8rem; right: .8rem; bottom: .8rem; max-width: none; }
}

/* ---------- 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: 980px) {
  .apt { grid-template-columns: 1fr; gap: 0; }
  .apt:nth-child(2) .apt-media { order: 0; }
  .apt-media { min-height: 0; height: clamp(280px, 64vw, 440px); }
  .apt-body, .apt:nth-child(2) .apt-body {
    padding: 1.8rem 1.6rem 2.2rem;
  }
  .host-grid { grid-template-columns: 1fr; text-align: left; }
  .host-photo { max-width: 300px; }
  .loc-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: .6rem 4% 1.2rem;
    display: none;
  }
  .nav.open .nav-links { display: flex; }
  .nav.open { background: var(--paper); box-shadow: 0 1px 0 var(--line); }
  .nav.open .wordmark { color: var(--ink); }
  .nav-links a:not(.btn) { color: var(--ink) !important; padding: .7rem 0; font-size: 1.05rem; }
  .nav-links .btn { margin-top: .8rem; background: var(--ink); border-color: var(--ink); }
  .stats-row { grid-template-columns: repeat(2, 1fr); row-gap: 1.6rem; }
  .stat:nth-child(3) { border-left: 0; }
  .features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-base { flex-direction: column; }
}
