:root {
  --black: #06070b;
  --panel: #0b0c12;
  --panel-2: #0e0f17;
  --warm-white: #f5f1e8;
  --gold: #c9a25e;
  --gold-bright: #e2c184;
  --max-w: 1100px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--black);
  color: var(--warm-white);
  overflow-x: hidden;
}

/* ---------- Film canvas ---------- */
#film { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
#story { height: 340vh; position: relative; z-index: 5; }

#loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  transition: opacity .8s ease;
}
#loader.done { opacity: 0; pointer-events: none; }
#loader .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 24px 6px rgba(201,162,94,.5);
  animation: breathe 1.6s ease-in-out infinite;
}
@keyframes breathe { 0%,100% { transform: scale(1); opacity: .7; } 50% { transform: scale(1.5); opacity: 1; } }
#loader span {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: .8rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(245,241,232,.5);
}

.stage {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 740px);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 10;
}
.stage.center { top: 50%; transform: translate(-50%, -50%); }
.stage.lower { bottom: 11vh; }
.stage h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.1rem);
  font-weight: 400;
  line-height: 1.12;
  text-shadow: 0 4px 40px rgba(0,0,0,.8);
}
.stage h1 em { font-style: italic; color: var(--gold-bright); }
.stage p {
  font-family: 'Segoe UI', system-ui, sans-serif;
  margin-top: 1rem;
  font-size: clamp(.95rem, 1.7vw, 1.12rem);
  color: rgba(245,241,232,.78);
  text-shadow: 0 2px 18px rgba(0,0,0,.8);
}
.kicker {
  font-family: 'Segoe UI', system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .35em;
  font-size: .78rem;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.scroll-hint {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(245,241,232,.5);
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  z-index: 10;
  animation: bob 2.4s ease-in-out infinite;
  transition: opacity .4s;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ---------- Nav ---------- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  transition: background .4s ease, box-shadow .4s ease, opacity .6s ease;
}
nav.scrolled {
  background: rgba(6, 7, 11, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 24px rgba(0,0,0,.45);
}
.nav-brand {
  font-size: 1.05rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--warm-white);
  text-decoration: none;
}
.nav-brand .star { color: var(--gold); }
.nav-links { display: flex; gap: 1.8rem; }
.nav-links a {
  color: rgba(245,241,232,.8);
  text-decoration: none;
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: .92rem;
  letter-spacing: .05em;
  transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }
@media (max-width: 720px) { .nav-links { display: none; } }

/* ---------- Content ---------- */
main { position: relative; z-index: 10; }
.bridge {
  height: 38vh;
  background: linear-gradient(180deg, rgba(11,12,18,0) 0%, rgba(11,12,18,.55) 55%, var(--panel) 100%);
}
section.panel { background: var(--panel); padding: 6rem 1.5rem; }
section.panel.alt { background: var(--panel-2); }
.wrap { max-width: var(--max-w); margin: 0 auto; }
.section-kicker {
  font-family: 'Segoe UI', system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: .78rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
h2.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.4rem;
}
h2.section-title em { font-style: italic; color: var(--gold-bright); }
.lede {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 62ch;
  color: rgba(245,241,232,.75);
}

.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.2rem;
  align-items: start;
}
@media (max-width: 780px) { .about-grid { grid-template-columns: 1fr; } }
.portrait {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  border: 1px solid rgba(201,162,94,.4);
  box-shadow: 0 18px 50px rgba(0,0,0,.5);
  filter: saturate(.92);
}

.divider {
  position: relative;
  z-index: 10;
  height: 52vh;
  background: url('hero.jpg') center / cover no-repeat fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}
.divider::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--panel) 0%, rgba(6,7,11,.45) 18%, rgba(6,7,11,.45) 82%, var(--panel-2) 100%);
}
.divider blockquote {
  position: relative;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-style: italic;
  max-width: 28ch;
  text-align: center;
  line-height: 1.4;
  text-shadow: 0 3px 30px rgba(0,0,0,.8);
}
.divider blockquote span { color: var(--gold-bright); }
@media (max-width: 720px) {
  /* mobile browsers rasterize fixed backgrounds at the wrong size — blurry */
  .divider { background-attachment: scroll; }
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.area-card {
  background: rgba(245,241,232,.04);
  border: 1px solid rgba(245,241,232,.12);
  border-radius: 2px;
  padding: 1.6rem 1.5rem;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.area-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  background: rgba(201,162,94,.07);
}
.area-card h3 {
  font-weight: 400;
  font-size: 1.3rem;
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .55rem;
}
.area-card h3::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px 2px rgba(201,162,94,.55);
}
.area-card p {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: .92rem;
  line-height: 1.6;
  color: rgba(245,241,232,.6);
}

.contact-card {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  background: rgba(245,241,232,.03);
  border: 1px solid rgba(245,241,232,.12);
  border-radius: 4px;
  padding: 2.6rem;
}
@media (max-width: 780px) { .contact-card { grid-template-columns: 1fr; } }
.contact-line {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 2.1;
  color: rgba(245,241,232,.82);
}
.contact-line strong { color: var(--gold-bright); font-weight: 600; }
.contact-line a { color: var(--gold-bright); text-decoration: none; }
.contact-line a:hover { text-decoration: underline; }
form { display: flex; flex-direction: column; gap: .9rem; }
input, textarea {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem;
  padding: .85rem 1rem;
  border-radius: 2px;
  border: 1px solid rgba(245,241,232,.22);
  background: rgba(6,7,11,.55);
  color: var(--warm-white);
}
input::placeholder, textarea::placeholder { color: rgba(245,241,232,.4); }
input:focus, textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.btn {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem;
  letter-spacing: .06em;
  padding: .9rem 2.2rem;
  border-radius: 2px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .2s, background .2s;
}
.btn-primary {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 6px 30px rgba(201,162,94,.3);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--gold-bright); }

footer {
  position: relative;
  z-index: 10;
  background: #05060a;
  color: rgba(245,241,232,.7);
  padding: 3.2rem 1.5rem 2.4rem;
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: .88rem;
  line-height: 1.75;
}
footer .wrap { display: grid; gap: 1.6rem; }
.broker-block { border-left: 3px solid var(--gold); padding-left: 1.2rem; }
.broker-block strong { color: var(--warm-white); font-size: 1rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.legal-links a { color: var(--gold-bright); text-decoration: none; }
.legal-links a:hover { text-decoration: underline; }
.eho { display: flex; align-items: center; gap: .9rem; color: rgba(245,241,232,.55); }
.eho svg { flex-shrink: 0; }
.fineprint { color: rgba(245,241,232,.4); font-size: .8rem; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Skip link ── */
.skip-link {
  position: fixed;
  bottom: 2.4rem;
  right: 1.8rem;
  z-index: 10;
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(245,241,232,.55);
  text-decoration: none;
  opacity: 0;
  transition: opacity .6s ease, color .2s;
}
.skip-link:hover { color: var(--gold); }

/* ── Dock overlays ── */
.dock-overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.dock-inner {
  width: min(92vw, 1000px);
  padding: 2rem;
}
@media (max-width: 720px) {
  /* keep dock content clear of the fixed nav */
  .dock-overlay { align-items: flex-start; }
  .dock-inner { padding: 5.2rem 1.2rem 1.5rem; }
  .dock-area p { display: none; } /* titles only — six cards fit on screen */
}
.dock-area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: .8rem;
}
.dock-area {
  background: rgba(6,7,11,.72);
  border: 1px solid rgba(201,162,94,.25);
  border-radius: 2px;
  padding: 1.1rem 1.2rem;
  backdrop-filter: blur(6px);
}
.dock-area strong {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--warm-white);
  margin-bottom: .3rem;
}
.dot-marker {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px 2px rgba(201,162,94,.5);
  flex-shrink: 0;
}
.dock-area p {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: .88rem;
  line-height: 1.5;
  color: rgba(245,241,232,.6);
}
.dock-jose {
  text-align: left;
  background: rgba(6,7,11,.72);
  border: 1px solid rgba(201,162,94,.25);
  border-radius: 4px;
  padding: 3rem;
  backdrop-filter: blur(8px);
  max-width: 520px;
}

/* ── Gold dissolve overlay ── */
#dissolve-overlay {
  position: fixed;
  inset: 0;
  z-index: 8;
  background: radial-gradient(ellipse at center, var(--gold-bright) 0%, var(--gold) 40%, #8b6422 100%);
  opacity: 0;
  pointer-events: none;
}

.concept-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  background: var(--gold);
  color: var(--black);
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: .78rem;
  letter-spacing: .06em;
  text-align: center;
  padding: .35rem 1rem;
}
