/* ==========================================================================
   Vila Ilinca — Confidential Data Room
   Dark navy + champagne gold. Mobile-first.
   ========================================================================== */

:root {
  --navy-950: #060d1a;
  --navy-900: #0a1628;
  --navy-850: #0d1c33;
  --navy-800: #11233e;
  --navy-700: #1a3050;
  --navy-600: #24406a;
  --gold: #c9a962;
  --gold-light: #e3cd96;
  --gold-dark: #a5854a;
  --champagne: #f3e7c9;
  --ink: #e8ecf3;
  --ink-dim: #a8b4c8;
  --ink-faint: #6b7a92;
  --line: rgba(201, 169, 98, 0.22);
  --line-soft: rgba(168, 180, 200, 0.12);
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --max-w: 1180px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

/* ------------------------------------------------------------------ */
/* Typography helpers                                                   */
/* ------------------------------------------------------------------ */

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 600; letter-spacing: 0.01em; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.section-title {
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  color: var(--champagne);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--ink-dim);
  max-width: 46rem;
  font-size: 1.02rem;
  margin-bottom: 2.6rem;
}

.divider {
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.1rem 0 1.6rem;
  border: none;
}

/* ------------------------------------------------------------------ */
/* Password gate                                                        */
/* ------------------------------------------------------------------ */

#gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background:
    linear-gradient(rgba(6, 13, 26, 0.82), rgba(10, 22, 40, 0.88)),
    url('img/gate-bg.jpg') center 40% / cover no-repeat,
    var(--navy-950);
  overflow: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

#gate.unlocked { opacity: 0; visibility: hidden; pointer-events: none; }

#gate::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42vh;
  background:
    linear-gradient(to top, rgba(201,169,98,0.06), transparent 70%);
  pointer-events: none;
}

/* subtle horizon line — coastal silhouette */
#gate::after {
  content: "";
  position: absolute;
  left: 8%; right: 8%; bottom: 24vh;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,98,0.4), transparent);
  pointer-events: none;
}

.gate-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  text-align: center;
  padding: 3rem 2rem 2.6rem;
  background: rgba(13, 28, 51, 0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gate-card::before,
.gate-card::after {
  content: "";
  position: absolute;
  width: 26px; height: 26px;
  border-color: var(--gold);
  border-style: solid;
}
.gate-card::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.gate-card::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

.gate-monogram {
  width: 58px; height: 58px;
  margin: 0 auto 1.4rem;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  display: flex; align-items: center; justify-content: center;
}
.gate-monogram span {
  transform: rotate(-45deg);
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold-light);
}

.gate-title {
  font-size: clamp(1.7rem, 6vw, 2.2rem);
  color: var(--champagne);
  line-height: 1.2;
}

.gate-sub {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0.8rem 0 0.4rem;
}

.gate-loc {
  font-size: 0.84rem;
  color: var(--ink-faint);
  margin-bottom: 2rem;
}

.gate-form { display: flex; flex-direction: column; gap: 0.9rem; }

.gate-input {
  width: 100%;
  padding: 0.95rem 1.1rem;
  font-family: var(--sans);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-align: center;
  color: var(--champagne);
  background: rgba(6, 13, 26, 0.7);
  border: 1px solid var(--line-soft);
  outline: none;
  transition: border-color 0.25s;
}
.gate-input:focus { border-color: var(--gold); }
.gate-input::placeholder { color: var(--ink-faint); letter-spacing: 0.18em; font-size: 0.82rem; text-transform: uppercase; }

.gate-btn {
  padding: 0.95rem 1rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  border: none;
  cursor: pointer;
  transition: filter 0.25s, transform 0.15s;
}
.gate-btn:hover { filter: brightness(1.08); }
.gate-btn:active { transform: translateY(1px); }

.gate-error {
  min-height: 1.2rem;
  font-size: 0.8rem;
  color: #d98c8c;
  letter-spacing: 0.05em;
  visibility: hidden;
}
.gate-error.show { visibility: visible; }

.gate-shake { animation: shake 0.4s ease; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-7px); }
  50% { transform: translateX(7px); }
  75% { transform: translateX(-4px); }
}

.gate-note {
  margin-top: 1.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  line-height: 1.7;
}

/* ------------------------------------------------------------------ */
/* Main site shell                                                      */
/* ------------------------------------------------------------------ */

#site { opacity: 0; transition: opacity 0.8s ease 0.15s; }
#site.visible { opacity: 1; }

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.35rem;
}

section { padding: 4.5rem 0; }
@media (min-width: 768px) { section { padding: 6.5rem 0; } }

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 13, 26, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  width: 30px; height: 30px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-mark span {
  transform: rotate(-45deg);
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--gold-light);
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--champagne);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-tag {
  display: none;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-left: 1px solid var(--line);
  padding-left: 0.9rem;
  margin-left: 0.2rem;
}
@media (min-width: 900px) { .brand-tag { display: block; } }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 1.5px;
  background: var(--gold);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.site-nav {
  position: fixed;
  top: 64px;
  left: 0; right: 0;
  background: rgba(6, 13, 26, 0.98);
  border-bottom: 1px solid var(--line-soft);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.site-nav.open { max-height: 480px; }

.site-nav ul { list-style: none; padding: 0.8rem 1.35rem 1.4rem; }
.site-nav li { border-bottom: 1px solid var(--line-soft); }
.site-nav li:last-child { border-bottom: none; }
.site-nav a {
  display: block;
  padding: 0.85rem 0.2rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.site-nav a:hover, .site-nav a.active { color: var(--gold-light); }

@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    max-height: none;
    background: none;
    border: none;
    overflow: visible;
  }
  .site-nav ul { display: flex; gap: 1.6rem; padding: 0; }
  .site-nav li { border: none; }
  .site-nav a { padding: 0.4rem 0; font-size: 0.68rem; position: relative; }
  .site-nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.3s;
  }
  .site-nav a:hover::after, .site-nav a.active::after { width: 100%; }
}

/* ------------------------------------------------------------------ */
/* Hero                                                                 */
/* ------------------------------------------------------------------ */

.hero {
  position: relative;
  padding: 5.5rem 0 5rem;
  background:
    linear-gradient(100deg, rgba(6, 13, 26, 0.94) 30%, rgba(10, 22, 40, 0.72)),
    url('img/hero-bg.jpg') 75% 35% / cover no-repeat,
    var(--navy-950);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
@media (min-width: 768px) { .hero { padding: 8rem 0 7rem; } }

.hero-title {
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  color: var(--champagne);
  line-height: 1.08;
  max-width: 15em;
}
.hero-title em { font-style: italic; color: var(--gold-light); }

.hero-sub {
  margin-top: 1.4rem;
  max-width: 44rem;
  color: var(--ink-dim);
  font-size: clamp(1rem, 2.4vw, 1.12rem);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin-top: 3rem;
}
@media (min-width: 768px) { .hero-facts { grid-template-columns: repeat(4, 1fr); } }

.hero-fact {
  background: rgba(10, 22, 40, 0.85);
  padding: 1.3rem 1.2rem;
}
.hero-fact .val {
  font-family: var(--serif);
  font-size: 1.65rem;
  color: var(--gold-light);
  line-height: 1.1;
}
.hero-fact .lbl {
  margin-top: 0.35rem;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ------------------------------------------------------------------ */
/* Executive summary                                                    */
/* ------------------------------------------------------------------ */

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) { .metrics-grid { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; } }

.metric-card {
  position: relative;
  padding: 1.6rem 1.4rem 1.5rem;
  background: linear-gradient(160deg, var(--navy-850), var(--navy-800));
  border: 1px solid var(--line-soft);
  transition: border-color 0.3s, transform 0.3s;
}
.metric-card:hover { border-color: var(--line); transform: translateY(-3px); }
.metric-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 34px; height: 2px;
  background: var(--gold);
}
.metric-card .m-val {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  color: var(--champagne);
  line-height: 1.15;
}
.metric-card .m-lbl {
  margin-top: 0.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.metric-card .m-note {
  margin-top: 0.55rem;
  font-size: 0.8rem;
  color: var(--ink-dim);
  line-height: 1.5;
}

/* Scenario cards */
.scenarios {
  display: grid;
  gap: 1.4rem;
  margin-top: 3rem;
}
@media (min-width: 900px) { .scenarios { grid-template-columns: 1fr 1fr; } }

.scenario {
  position: relative;
  padding: 2.2rem 1.8rem 2rem;
  background: linear-gradient(170deg, rgba(26, 48, 80, 0.45), rgba(13, 28, 51, 0.75));
  border: 1px solid var(--line);
}
.scenario .s-tag {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  margin-bottom: 1.1rem;
}
.scenario h3 {
  font-size: 1.55rem;
  color: var(--champagne);
  margin-bottom: 0.6rem;
}
.scenario p { font-size: 0.92rem; color: var(--ink-dim); }

.s-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-soft);
}
.s-stats .val {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--gold-light);
}
.s-stats .lbl {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 0.2rem;
}

.spv-strip {
  margin-top: 3rem;
  padding: 1.7rem 1.8rem;
  border: 1px solid var(--line-soft);
  background: rgba(6, 13, 26, 0.5);
  display: grid;
  gap: 1.3rem;
}
@media (min-width: 900px) { .spv-strip { grid-template-columns: repeat(3, 1fr); } }
.spv-strip h4 {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.spv-strip p { font-size: 0.88rem; color: var(--ink-dim); }
.spv-strip strong { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------------ */
/* Gallery                                                              */
/* ------------------------------------------------------------------ */

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

.g-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line-soft);
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 50% 30%, rgba(36, 64, 106, 0.45), transparent 70%),
    linear-gradient(165deg, var(--navy-800), var(--navy-950));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.4rem;
  transition: border-color 0.3s;
}
.g-item:hover { border-color: var(--line); }

.g-item .g-icon {
  width: 44px; height: 44px;
  margin-bottom: 1rem;
  opacity: 0.85;
}
.g-item .g-label {
  font-family: var(--serif);
  font-size: 1.18rem;
  color: var(--champagne);
}
.g-item .g-note {
  margin-top: 0.35rem;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.g-item.wide { grid-column: 1 / -1; aspect-ratio: auto; min-height: 220px; }
@media (min-width: 640px) { .g-item.wide { aspect-ratio: 21 / 7; } }

/* Real photo gallery */
.g-photo {
  position: relative;
  margin: 0;
  border: 1px solid var(--line-soft);
  overflow: hidden;
  background: var(--navy-950);
  aspect-ratio: 4 / 3;
  transition: border-color 0.3s;
}
.g-photo:hover { border-color: var(--line); }
.g-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.g-photo:hover img { transform: scale(1.04); }
.g-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--champagne);
  background: linear-gradient(to top, rgba(6,13,26,0.88), transparent);
}
.g-photo.wide { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
@media (max-width: 639px) { .g-photo.wide { aspect-ratio: 4 / 3; } }

/* ------------------------------------------------------------------ */
/* Virtual tour                                                         */
/* ------------------------------------------------------------------ */

.video-frame {
  position: relative;
  border: 1px solid var(--line);
  padding: 10px;
  background: rgba(6, 13, 26, 0.6);
}
.video-frame::before,
.video-frame::after {
  content: "";
  position: absolute;
  width: 26px; height: 26px;
  border-color: var(--gold);
  border-style: solid;
}
.video-frame::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.video-frame::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.video-inner {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}
.video-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tour-frame {
  position: relative;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 100% 90% at 50% 0%, rgba(36, 64, 106, 0.4), transparent 65%),
    var(--navy-950);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
}
@media (min-width: 768px) { .tour-frame { min-height: 420px; } }

.tour-frame::before,
.tour-frame::after {
  content: "";
  position: absolute;
  width: 30px; height: 30px;
  border-color: var(--gold);
  border-style: solid;
}
.tour-frame::before { top: 12px; left: 12px; border-width: 1px 0 0 1px; }
.tour-frame::after { bottom: 12px; right: 12px; border-width: 0 1px 1px 0; }

.tour-icon { width: 62px; height: 62px; margin-bottom: 1.4rem; opacity: 0.9; }
.tour-title { font-size: 1.7rem; color: var(--champagne); }
.tour-note { margin-top: 0.7rem; max-width: 30rem; font-size: 0.9rem; color: var(--ink-dim); }
.tour-badge {
  margin-top: 1.8rem;
  display: inline-block;
  padding: 0.55rem 1.5rem;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line);
}

/* ------------------------------------------------------------------ */
/* Financial analysis                                                   */
/* ------------------------------------------------------------------ */

.charts-grid { display: grid; gap: 1.4rem; }
@media (min-width: 900px) { .charts-grid { grid-template-columns: 1fr 1fr; } }

.chart-card {
  background: #fdfdfb;
  border: 1px solid var(--line);
  padding: 1rem;
}
.chart-card.full { grid-column: 1 / -1; }
.chart-card img { width: 100%; height: auto; }
@media (min-width: 900px) {
  .chart-card.full img { max-width: 640px; margin: 0 auto; }
}
.chart-caption {
  padding: 0.9rem 0.3rem 0.2rem;
  font-size: 0.78rem;
  color: #3d4a5e;
  line-height: 1.55;
}
.chart-caption strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--navy-900);
  margin-bottom: 0.15rem;
}

/* Financial table */
.table-scroll { overflow-x: auto; margin-top: 2.6rem; -webkit-overflow-scrolling: touch; }

.fin-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.fin-table caption {
  caption-side: top;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--champagne);
  padding-bottom: 1rem;
}
.fin-table th {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.fin-table td {
  padding: 0.85rem 1rem;
  color: var(--ink-dim);
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
}
.fin-table td:first-child { color: var(--ink); font-weight: 500; }
.fin-table tr:hover td { background: rgba(26, 48, 80, 0.25); }
.fin-table .hl { color: var(--gold-light); font-weight: 600; }

/* ------------------------------------------------------------------ */
/* Documents                                                            */
/* ------------------------------------------------------------------ */

.docs-list { display: grid; gap: 0.9rem; }
@media (min-width: 768px) { .docs-list { grid-template-columns: 1fr 1fr; gap: 1.1rem; } }

.doc-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.25rem 1.3rem;
  background: linear-gradient(160deg, var(--navy-850), var(--navy-800));
  border: 1px solid var(--line-soft);
  transition: border-color 0.3s, transform 0.3s;
}
.doc-item:hover { border-color: var(--line); transform: translateY(-2px); }

.doc-icon {
  flex-shrink: 0;
  width: 42px; height: 50px;
  position: relative;
  border: 1px solid var(--gold);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6px;
}
.doc-icon::before {
  content: "";
  position: absolute;
  top: -1px; right: -1px;
  width: 12px; height: 12px;
  background: var(--navy-850);
  border-left: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}
.doc-icon span {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.doc-meta { flex: 1; min-width: 0; }
.doc-meta .d-title {
  font-family: var(--serif);
  font-size: 1.08rem;
  color: var(--champagne);
  line-height: 1.3;
}
.doc-meta .d-note {
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

.doc-dl {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line);
  padding: 0.5rem 0.9rem;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s;
}
.doc-item:hover .doc-dl { background: var(--gold); color: var(--navy-950); }

.docs-note {
  margin-top: 1.6rem;
  font-size: 0.78rem;
  color: var(--ink-faint);
  line-height: 1.7;
}

/* ------------------------------------------------------------------ */
/* Location                                                             */
/* ------------------------------------------------------------------ */

.loc-grid { display: grid; gap: 1.4rem; }
@media (min-width: 900px) { .loc-grid { grid-template-columns: 3fr 2fr; align-items: stretch; } }

.map-frame {
  border: 1px solid var(--line);
  min-height: 320px;
  overflow: hidden;
  background: var(--navy-950);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
  filter: grayscale(0.35) contrast(1.02);
}

.dist-list { display: flex; flex-direction: column; gap: 0.9rem; }

.dist-item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  background: linear-gradient(160deg, var(--navy-850), var(--navy-800));
  border: 1px solid var(--line-soft);
}
.dist-item .d-val {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold-light);
  min-width: 4.4rem;
}
.dist-item .d-lbl { font-size: 0.86rem; color: var(--ink-dim); }
.dist-item .d-lbl strong { color: var(--ink); font-weight: 600; display: block; font-size: 0.92rem; }

.loc-notes {
  margin-top: 2.2rem;
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 768px) { .loc-notes { grid-template-columns: repeat(3, 1fr); } }
.loc-note {
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--line-soft);
  background: rgba(6, 13, 26, 0.5);
}
.loc-note h4 {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.loc-note p { font-size: 0.85rem; color: var(--ink-dim); }

/* ------------------------------------------------------------------ */
/* Contact                                                              */
/* ------------------------------------------------------------------ */

.contact-band {
  text-align: center;
  padding: 4.5rem 0 5rem;
  background:
    radial-gradient(ellipse 90% 100% at 50% 120%, rgba(201, 169, 98, 0.1), transparent 60%),
    var(--navy-950);
  border-top: 1px solid var(--line-soft);
}

.contact-band .section-title { margin-bottom: 0.8rem; }
.contact-band p { color: var(--ink-dim); max-width: 34rem; margin: 0 auto; }

.contact-mail {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2.6rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  letter-spacing: 0.03em;
  transition: filter 0.25s;
}
.contact-mail:hover { filter: brightness(1.08); color: var(--navy-950); }

.contact-conf {
  margin-top: 2.2rem;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ------------------------------------------------------------------ */
/* Footer                                                               */
/* ------------------------------------------------------------------ */

.site-footer {
  padding: 2.2rem 0 2.6rem;
  background: var(--navy-950);
  border-top: 1px solid var(--line-soft);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
  text-align: center;
}
.footer-inner .f-legal {
  font-size: 0.74rem;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
}
.footer-inner .f-disc {
  font-size: 0.66rem;
  color: rgba(107, 122, 146, 0.7);
  max-width: 46rem;
  line-height: 1.7;
}

/* ------------------------------------------------------------------ */
/* Reveal on scroll (subtle)                                            */
/* ------------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Print-safe: keep gate hidden if unlocked */
body.locked { overflow: hidden; }

/* ------------------------------------------------------------------ */
/* Post-Modernization Vision                                            */
/* ------------------------------------------------------------------ */

#vision {
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(201, 169, 98, 0.06), transparent 60%),
    var(--navy-900);
}

.vision-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.6rem 0 0.4rem;
}
.vc-chip {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid var(--line);
  padding: 0.45rem 0.85rem;
  background: rgba(201, 169, 98, 0.06);
}

.vision-group { margin-top: 3.2rem; }
.vision-group:first-of-type { margin-top: 2.6rem; }

.vision-cat {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-weight: 600;
  color: var(--champagne);
}
.vision-cat .vc-num {
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold-light);
}
.vision-cat .vc-num span { transform: rotate(-45deg); display: block; }

.vision-cat-note {
  margin: 0.7rem 0 1.3rem;
  font-size: 0.9rem;
  color: var(--ink-dim);
  max-width: 46rem;
}

.vision-photo { cursor: zoom-in; }
.vision-photo::after {
  content: "";
  position: absolute;
  top: 10px; right: 10px;
  width: 26px; height: 26px;
  background:
    linear-gradient(var(--champagne), var(--champagne)) center 6px / 10px 1.5px no-repeat,
    linear-gradient(var(--champagne), var(--champagne)) 6px center / 1.5px 10px no-repeat,
    rgba(6, 13, 26, 0.55);
  background-position: center, center, center;
  background-size: 11px 1.5px, 1.5px 11px, cover;
  border: 1px solid var(--line);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.vision-photo:hover::after { opacity: 1; }

.g-photo.tall { aspect-ratio: 3 / 4; }
.g-photo.tall img { object-position: center 40%; }

.vision-disclaimer {
  margin-top: 2.4rem;
  font-size: 0.74rem;
  line-height: 1.6;
  color: var(--ink-faint);
  border-left: 2px solid var(--line);
  padding-left: 1rem;
  max-width: 52rem;
}

/* ------------------------------------------------------------------ */
/* Lightbox                                                             */
/* ------------------------------------------------------------------ */

#lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(4, 9, 18, 0.94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 2.6rem 0.8rem 1.4rem;
}
#lightbox.open { display: flex; }

.lb-figure {
  margin: 0;
  max-width: min(1400px, 94vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#lb-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border: 1px solid var(--line);
  background: var(--navy-950);
}
#lb-caption {
  margin-top: 0.8rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--champagne);
  text-align: center;
}

#lb-close {
  position: absolute;
  top: 14px; right: 16px;
  width: 44px; height: 44px;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--champagne);
  background: rgba(17, 35, 62, 0.6);
  border: 1px solid var(--line);
  cursor: pointer;
  z-index: 2;
  transition: background 0.25s, color 0.25s;
}
#lb-close:hover { background: var(--gold); color: var(--navy-950); }

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 64px;
  font-size: 2rem;
  line-height: 1;
  color: var(--champagne);
  background: rgba(17, 35, 62, 0.6);
  border: 1px solid var(--line);
  cursor: pointer;
  z-index: 2;
  transition: background 0.25s, color 0.25s;
}
.lb-nav:hover { background: var(--gold); color: var(--navy-950); }
#lb-prev { left: 10px; }
#lb-next { right: 10px; }
@media (max-width: 639px) {
  .lb-nav { width: 38px; height: 54px; font-size: 1.6rem; }
}
