/* ============================================================
   NAGUILTJIE SELFSORG
   Editorial / gallery aesthetic — ivory canvas, plum ink,
   bronze accents, high-contrast serif display.
   ============================================================ */

:root {
  /* Brand palette (sampled from logo & business card) */
  --plum: #170b1e;
  --plum-70: rgba(23, 11, 30, 0.7);
  --plum-soft: #33203f;
  --bronze: #9b5d38;
  --bronze-deep: #7c4527;
  --bronze-light: #c88a5c;
  --slate: #596f7a;
  --olive: #81a165;
  --ivory: #fbf7ef;
  --ivory-deep: #f4ecdd;
  --beige: #f2e2c6;
  --ink: #2b2119;
  --ink-soft: #6a5f52;
  --line: #e2d6c0;

  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Spectral', 'Georgia', serif;
  --font-ui: 'Archivo', 'Helvetica Neue', sans-serif;

  --wrap: 1160px;
  --wrap-narrow: 820px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  font-size: 1.075rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; font-size: 1rem; color: inherit; }

:focus-visible { outline: 2px solid var(--bronze); outline-offset: 4px; }

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: var(--wrap-narrow); margin: 0 auto; padding: 0 32px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--plum); line-height: 1.1; letter-spacing: 0.005em; }
h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); font-weight: 500; }
h2 { font-size: clamp(2.1rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }

p { max-width: 66ch; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }
em, .italic { font-style: italic; }

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bronze);
}

/* Section header: short rule, eyebrow, serif title */
.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-head .rule {
  width: 44px; height: 1px; background: var(--bronze);
  margin: 0 auto 1.4rem; opacity: 0.8;
}
.section-head .eyebrow { display: block; margin-bottom: 0.9rem; }
.section-head h2 { margin: 0 auto; }
.section-head.left { text-align: left; }
.section-head.left .rule { margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 16px 32px;
  border: 1px solid var(--plum);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn-solid { background: var(--plum); color: var(--ivory); }
.btn-solid:hover { background: transparent; color: var(--plum); }
.btn-ghost { background: transparent; color: var(--plum); }
.btn-ghost:hover { background: var(--plum); color: var(--ivory); }
.btn-bronze { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.btn-bronze:hover { background: var(--bronze-deep); border-color: var(--bronze-deep); }
.btn-on-dark { border-color: var(--beige); color: var(--beige); }
.btn-on-dark:hover { background: var(--beige); color: var(--plum); }

/* ---------- Matted frame (signature) ---------- */
.framed { position: relative; display: block; }
.framed img { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.framed::after {
  content: ''; position: absolute; z-index: 0;
  left: 20px; top: 20px; right: -20px; bottom: -20px;
  border: 1px solid var(--bronze);
  pointer-events: none;
}
.framed.frame-left::after { left: -20px; right: 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--plum);
  border-bottom: 1px solid rgba(242, 226, 198, 0.14);
  overflow: visible;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 8px; padding-bottom: 8px; gap: 24px;
}
.brand { display: flex; align-items: center; position: relative; z-index: 3; }
.brand img { height: 108px; width: auto; margin-bottom: -42px; }
@media (max-width: 620px) {
  .brand img { height: 82px; margin-bottom: -28px; }
}
nav.main-nav ul { display: flex; gap: 38px; }
nav.main-nav a {
  font-family: var(--font-ui); font-size: 0.76rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: rgba(242, 226, 198, 0.82);
  padding-bottom: 4px; position: relative; transition: color .2s ease;
}
nav.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--bronze-light); transition: right .28s ease;
}
nav.main-nav a:hover { color: #fff; }
nav.main-nav a:hover::after { right: 0; }
nav.main-nav a.active { color: var(--bronze-light); }
nav.main-nav a.active::after { right: 0; }

.nav-toggle { display: none; font-size: 1.5rem; color: var(--beige); line-height: 1; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  nav.main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--plum-soft); border-bottom: 1px solid rgba(242, 226, 198, 0.14);
    display: none;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; gap: 0; padding: 6px 32px 22px; }
  nav.main-nav a { padding: 15px 0; border-bottom: 1px solid rgba(242, 226, 198, 0.1); font-size: 0.82rem; }
  nav.main-nav a:last-child { border-bottom: none; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(60px, 8vw, 110px); }
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 88px); align-items: center;
}
.hero-copy .eyebrow { display: block; margin-bottom: 1.6rem; }
.hero-copy h1 { color: var(--plum); margin-bottom: 0.4rem; }
.hero-copy h1 .script {
  display: block; font-style: italic; font-weight: 500;
  color: var(--bronze); font-size: 0.62em; margin-top: 0.35rem;
}
.hero-copy .lead { margin: 1.8rem 0 2.4rem; max-width: 42ch; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-figure { position: relative; }
.hero-figure figcaption {
  font-family: var(--font-ui); font-size: 0.66rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--bronze); margin-top: 30px; text-align: right;
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero-figure { order: -1; max-width: 460px; margin: 0 auto; }
  .framed::after { left: 14px; top: 14px; right: -14px; bottom: -14px; }
  .hero-figure figcaption { text-align: center; }
}

/* ---------- Sections ---------- */
section { padding: clamp(64px, 9vw, 112px) 0; }
.divider-top { border-top: 1px solid var(--line); }
.bg-deep { background: var(--ivory-deep); }
.bg-plum { background: var(--plum); color: var(--beige); }
.bg-plum h2, .bg-plum h3 { color: var(--ivory); }
.bg-plum .eyebrow { color: var(--bronze-light); }
.bg-plum .rule { background: var(--bronze-light); }

/* About / editorial split */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px); align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-body p + p { margin-top: 1.1rem; }
.split-body .lead-in { color: var(--ink-soft); }

.amenities {
  margin-top: 2rem; border-top: 1px solid var(--line);
}
.amenities dl, .amenities ul {
  display: grid; grid-template-columns: 1fr 1fr;
}
.amenities li {
  font-family: var(--font-ui); font-size: 0.9rem; color: var(--ink-soft);
  padding: 12px 0; border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 10px;
}
.amenities li::before { content: '\2014'; color: var(--bronze); }

@media (max-width: 780px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: -1; }
  .amenities ul { grid-template-columns: 1fr; }
}

/* ---------- Feature trio ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.trio .item { text-align: center; }
.trio .item .num {
  font-family: var(--font-display); font-style: italic; font-size: 1.5rem;
  color: var(--bronze); display: block; margin-bottom: 0.6rem;
}
.trio .item h3 { margin-bottom: 0.5rem; font-size: 1.4rem; }
.trio .item p { color: var(--ink-soft); font-size: 0.98rem; margin: 0 auto; max-width: 34ch; }
@media (max-width: 780px) { .trio { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Masonry gallery (preserves native aspect ratios) ---------- */
.masonry { column-count: 3; column-gap: 20px; }
.masonry .tile {
  break-inside: avoid; margin-bottom: 20px;
  position: relative; cursor: pointer; overflow: hidden; background: var(--ivory-deep);
}
.masonry .tile img { width: 100%; height: auto; display: block; transition: transform .5s ease, filter .5s ease; }
.masonry .tile:hover img { transform: scale(1.04); }
.masonry .tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 18px 14px;
  font-family: var(--font-ui); font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ivory);
  background: linear-gradient(0deg, var(--plum-70), transparent);
  opacity: 0; transition: opacity .3s ease;
}
.masonry .tile:hover figcaption { opacity: 1; }
@media (max-width: 900px) { .masonry { column-count: 2; column-gap: 14px; } .masonry .tile { margin-bottom: 14px; } }
@media (max-width: 520px) { .masonry { column-count: 1; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(18, 9, 24, 0.95);
  display: none; align-items: center; justify-content: center; z-index: 1000; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 1080px); max-height: 84vh; width: auto; height: auto; }
.lightbox .lb-cap {
  position: absolute; bottom: 24px; left: 0; right: 0; text-align: center;
  font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--beige);
}
.lb-close, .lb-prev, .lb-next { position: absolute; color: var(--beige); font-size: 1.8rem; padding: 12px; line-height: 1; transition: color .2s ease; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { color: var(--bronze-light); }
.lb-close { top: 16px; right: 22px; font-size: 2rem; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); font-size: 2.6rem; }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); font-size: 2.6rem; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 64px); text-align: center; }
.page-hero .rule { width: 44px; height: 1px; background: var(--bronze); margin: 0 auto 1.4rem; }
.page-hero .eyebrow { display: block; margin-bottom: 1rem; }
.page-hero p { margin: 1.2rem auto 0; color: var(--ink-soft); max-width: 52ch; }

/* ---------- Tariewe ---------- */
.rates { max-width: 680px; margin: 0 auto; }
.rate {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: 34px 0; border-bottom: 1px solid var(--line);
}
.rate:first-child { border-top: 1px solid var(--line); }
.rate .rate-label { font-family: var(--font-display); font-size: 1.7rem; color: var(--plum); }
.rate .rate-label small { display: block; font-family: var(--font-ui); font-size: 0.76rem; letter-spacing: 0.08em; color: var(--ink-soft); text-transform: none; margin-top: 6px; }
.rate .rate-amount { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--bronze); white-space: nowrap; }
.rate-note { max-width: 620px; margin: 2rem auto 0; text-align: center; color: var(--ink-soft); font-size: 0.96rem; }
.rate-note a { color: var(--bronze); border-bottom: 1px solid var(--bronze); }

/* ---------- Forms ---------- */
.contact-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 80px); }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; gap: 48px; } }

.field { margin-bottom: 30px; position: relative; }
.field label {
  display: block; font-family: var(--font-ui); font-size: 0.68rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze); margin-bottom: 10px;
}
.field input, .field textarea {
  width: 100%; padding: 8px 0 12px; background: transparent;
  border: none; border-bottom: 1px solid var(--line);
  font-size: 1.05rem; font-family: var(--font-body); transition: border-color .25s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--bronze); }
.field textarea { min-height: 130px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

.form-status { margin-top: 18px; font-family: var(--font-ui); font-size: 0.9rem; padding: 12px 16px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #eef3e7; color: #4f6a3a; }
.form-status.err { background: #f5e7e0; color: #8a3b26; }

.form-hint { margin-top: 14px; font-size: 0.86rem; color: var(--ink-soft); }

/* Contact aside */
.contact-aside { border-left: 1px solid var(--line); padding-left: clamp(24px, 4vw, 48px); }
@media (max-width: 860px) { .contact-aside { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 40px; } }
.contact-aside h3 { margin-bottom: 0.4rem; }
.contact-aside .lead { font-size: 1.05rem; margin-bottom: 1.8rem; }
.contact-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: none; }
.contact-item .k { font-family: var(--font-ui); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze); display: block; margin-bottom: 4px; }
.contact-item .v { font-size: 1.08rem; }
.contact-item .v a:hover { color: var(--bronze); }

/* ---------- Map ---------- */
.map-frame { border: 1px solid var(--line); overflow: hidden; }
.map-frame iframe { width: 100%; height: 460px; border: 0; display: block; filter: saturate(0.9) contrast(0.98); }
@media (max-width: 860px) { .map-frame iframe { height: 340px; } }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { margin: 0 auto 2rem; max-width: 46ch; color: var(--beige); opacity: 0.85; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum); color: rgba(242, 226, 198, 0.72); padding: 26px 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 0.82rem; }
.footer-bottom a { color: var(--bronze-light); letter-spacing: 0.04em; }
.footer-bottom a:hover { color: var(--ivory); }
@media (max-width: 560px) { .footer-bottom { justify-content: center; text-align: center; } }

/* Centered button row */
.btn-center { display: flex; justify-content: center; }

/* Full-bleed map */
.map-full { position: relative; width: 100vw; left: 50%; margin-left: -50vw; }
.map-full iframe { width: 100%; height: 520px; border: 0; display: block; filter: saturate(0.9) contrast(0.98); }
@media (max-width: 860px) { .map-full iframe { height: 360px; } }

/* ---------- Terms ---------- */
.terms h2 { font-size: 1.6rem; margin: 2.6rem 0 1rem; }
.terms h2:first-child { margin-top: 0; }
.terms .intro-line { color: var(--ink-soft); margin-bottom: 0.8rem; }
.terms ul li { padding: 9px 0 9px 26px; position: relative; color: var(--ink); border-bottom: 1px solid var(--line); }
.terms ul li:last-child { border-bottom: none; }
.terms ul li::before { content: ''; position: absolute; left: 0; top: 1.05em; width: 8px; height: 1px; background: var(--bronze); }

.text-center { text-align: center; }
.mt-3 { margin-top: 3rem; }
