/* ============================================================
   Roobensky Lartigue — Real Estate
   Dark charcoal · champagne gold · sharp Bodoni serif
   ============================================================ */

:root {
  /* canvas — warm charcoal grey */
  --bg:        #232220;
  --bg-2:      #2a2825;
  --bg-3:      #322f2a;
  --bg-card:   #1d1b18;

  /* ink */
  --ink:       #f5f1ea;
  --muted:     #b1a897;
  --faint:     #837a6c;

  /* champagne gold (≈50% intensity — refined, not Vegas) */
  --gold:        #d4b173;
  --gold-bright: #f1d9a6;
  --gold-deep:   #a3814a;

  /* lines */
  --line:      rgba(212,177,115,0.18);
  --line-soft: rgba(244,239,230,0.07);

  /* type */
  --display: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --body:    "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  --maxw: 1240px;
  --pad:  clamp(20px, 5vw, 72px);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* warm grain + vignette layer */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(212,177,115,0.07), transparent 55%),
    radial-gradient(100% 60% at 100% 100%, rgba(163,129,74,0.05), transparent 60%);
}

::selection { background: var(--gold); color: #1a1206; }

a { color: inherit; text-decoration: none; }

/* ---------- shared layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
  display: inline-block;
}

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

.section-title {
  font-size: clamp(34px, 5.2vw, 68px);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.section-title em { font-style: italic; color: var(--gold); }

/* gold shimmer text */
.shimmer {
  background: linear-gradient(100deg,
    var(--gold) 0%, var(--gold) 38%,
    var(--gold-bright) 50%,
    var(--gold) 62%, var(--gold) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmer 5.5s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 130% 0; }
  50%      { background-position: -30% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .shimmer { animation: none; }
}
/* tweak: shimmer toggle */
body.no-shimmer .shimmer { animation: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  padding: 17px 30px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background .3s, color .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.btn .arr { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.btn:hover .arr { transform: translateX(5px); }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #1c1305;
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 14px 40px -14px rgba(212,177,115,.6);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 22px 50px -16px rgba(212,177,115,.75); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--pad);
  transition: background .4s, backdrop-filter .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,9,8,0.82);
  backdrop-filter: blur(14px);
  padding-top: 15px; padding-bottom: 15px;
  border-bottom: 1px solid var(--line-soft);
}
.brand { display: flex; align-items: baseline; gap: 14px; }
.brand .mark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.brand .mark b { color: var(--gold); font-weight: 700; }
.brand .sub {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}
.nav-right { display: flex; align-items: center; gap: 26px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color .25s;
  position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--gold); transition: width .3s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav .btn { padding: 12px 22px; font-size: 13px; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media image-slot { width: 100%; height: 100%; display: block; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(10,9,8,.92) 38%, rgba(10,9,8,.55) 70%, rgba(10,9,8,.78) 100%),
    linear-gradient(0deg, var(--bg) 2%, transparent 40%);
  z-index: 1;
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-inner { max-width: 880px; }
.hero h1 {
  font-size: clamp(44px, 8.2vw, 116px);
  font-weight: 700;
  line-height: 0.98;
  margin: 26px 0 0;
  letter-spacing: -0.025em;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero p.lead {
  margin-top: 30px;
  max-width: 560px;
  font-size: clamp(17px, 1.7vw, 20px);
  color: var(--muted);
  line-height: 1.6;
}
.hero p.lead b { color: var(--ink); font-weight: 600; }
.hero-cta { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-cta .micro { font-size: 13px; color: var(--faint); letter-spacing: .04em; }

.scroll-hint {
  position: absolute;
  bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--faint);
}
.scroll-hint .dot {
  width: 1px; height: 46px;
  background: linear-gradient(var(--gold), transparent);
  position: relative; overflow: hidden;
}
.scroll-hint .dot::after {
  content:""; position:absolute; top:-50%; left:0; width:1px; height:50%;
  background: var(--gold-bright); animation: drop 2.2s ease-in-out infinite;
}
@keyframes drop { 0%{transform:translateY(-100%)} 60%,100%{transform:translateY(300%)} }

/* ---------- section frame ---------- */
section { position: relative; z-index: 2; }
.band { padding: clamp(80px, 12vh, 150px) 0; }
.band-head { max-width: 760px; margin-bottom: 56px; }
.band-head .section-title { margin-top: 18px; }
.band-head p { margin-top: 20px; color: var(--muted); font-size: clamp(16px,1.6vw,19px); max-width: 620px; }

/* ---------- portals ---------- */
.portals { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 820px) { .portals { grid-template-columns: 1fr; } }

.portal {
  position: relative;
  border: 1px solid var(--line-soft);
  background: var(--bg-card);
  border-radius: 4px;
  overflow: hidden;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  cursor: pointer;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), border-color .5s, box-shadow .5s;
  isolation: isolate;
}
.portal:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }

.portal .pmedia { position: absolute; inset: 0; z-index: -2; }
.portal .pmedia image-slot { width: 100%; height: 100%; display: block; }
.portal .pmedia .pphoto { width: 100%; height: 100%; object-fit: cover; display: block; }
.portal .pscrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(12,10,8,.96) 0%, rgba(12,10,8,.8) 20%, rgba(12,10,8,.46) 42%, rgba(12,10,8,.1) 70%, rgba(12,10,8,0) 100%);
  transition: background .5s;
}
.portal:hover .pscrim {
  background: linear-gradient(0deg, rgba(14,11,6,.96) 0%, rgba(30,22,9,.8) 20%, rgba(40,30,12,.44) 42%, rgba(30,22,9,.1) 70%, rgba(22,16,8,0) 100%);
}
/* top fade so the eyebrow tag + number stay legible over bright photos */
.portal::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(12,10,8,.5) 0%, rgba(12,10,8,0) 22%);
  pointer-events: none;
}
.portal .ptag {
  z-index: 1;
  position: absolute; top: 28px; left: 36px;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.portal .pnum {
  position: absolute; top: 24px; right: 34px;
  font-family: var(--display); font-size: 15px; color: var(--ink); opacity: .85;
  z-index: 1;
}
.portal h3 { font-size: clamp(27px, 2.8vw, 38px); font-weight: 600; line-height: 1.02; }
.portal h3 em { font-style: italic; color: var(--gold-bright); }
.portal p { margin-top: 14px; color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 42ch; }
.portal .go {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .05em; color: var(--ink);
}
.portal .go .arr { transition: transform .35s; color: var(--gold); }
.portal:hover .go .arr { transform: translateX(6px); }

/* secretive variant */
.portal.dark { background: #161412; }
.portal.dark .pscrim { background: linear-gradient(0deg, rgba(12,10,8,.97) 10%, rgba(12,10,8,.82) 60%, rgba(12,10,8,.74) 100%); }

/* off-market VIP crest — centered watermark; screen blend drops the black bg */
.vip-card .vip-emblem {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -64%);
  width: 68%; max-width: 272px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: screen;
  opacity: .86;
  z-index: 0;
  pointer-events: none;
}
.vip-card .locktag,
.vip-card h3,
.vip-card p,
.vip-card .go { position: relative; z-index: 1; }
.vip-card .pscrim { background: linear-gradient(0deg, rgba(12,10,8,.98) 16%, rgba(12,10,8,.7) 52%, rgba(12,10,8,.55) 100%); }
.portal.dark .locktag {
  display:inline-flex; align-items:center; gap:8px;
  font-size: 11px; letter-spacing:.2em; text-transform:uppercase; color: var(--gold);
  border:1px solid var(--line); border-radius:999px; padding:6px 13px;
  margin-bottom: 16px; width: fit-content;
}

/* ---------- who I am ---------- */
.who { max-width: 1080px; }
.who-top { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px,5vw,68px); align-items: start; }
@media (max-width: 760px){ .who-top { grid-template-columns: 1fr; gap: 30px; } }
.who-portrait { position: relative; }
.who-portrait img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: 50% 30%;
  border-radius: 4px; display: block;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.85);
}
@media (max-width: 760px){ .who-portrait { max-width: 260px; } }
.who-intro { max-width: 620px; }
.who h2 { font-size: clamp(32px,4.6vw,54px); font-weight:600; }
.who h2 em { font-style: italic; color: var(--gold); }
.who .who-lead { margin-top: 22px; font-size: clamp(17px,1.8vw,21px); color: var(--ink); line-height:1.5; }
.who .who-lead .hl { color: var(--gold-bright); font-style: italic; font-family: var(--display); }
.who .who-body { margin-top: 18px; color: var(--muted); }

.pillars { margin-top: 56px; display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
@media (max-width: 560px){ .pillars { grid-template-columns: 1fr; } }
.pillar { border-top: 1px solid var(--line); padding-top: 18px; }
.pillar .pk { font-family: var(--display); font-size: 30px; color: var(--gold); font-weight:600; }
.pillar .pt { margin-top: 8px; font-weight: 600; font-size: 15px; letter-spacing:.02em; }
.pillar .pd { margin-top: 6px; font-size: 14px; color: var(--muted); line-height:1.5; }

/* ---------- contrast strip (vs traditional) ---------- */
.versus { margin-top: 64px; border: 1px solid var(--line-soft); border-radius: 4px; overflow: hidden; }
.versus-row { display: grid; grid-template-columns: 1fr 1fr; }
.versus-row > div { padding: 22px 28px; border-bottom: 1px solid var(--line-soft); }
.versus-row > div:first-child { border-right: 1px solid var(--line-soft); }
.versus-row:last-child > div { border-bottom: none; }
.versus .vhead { background: rgba(212,177,115,.05); }
.versus .vhead .lbl { font-size: 11px; letter-spacing:.24em; text-transform:uppercase; }
.versus .old .lbl { color: var(--faint); }
.versus .new .lbl { color: var(--gold); }
.versus .item { font-size: 15.5px; display:flex; gap:12px; align-items:flex-start; }
.versus .old .item { color: var(--faint); }
.versus .new .item { color: var(--ink); }
.versus .item .ic { color: var(--gold); flex:none; margin-top:2px; }
.versus .old .item .ic { color: var(--faint); }
@media (max-width:620px){ .versus .item { font-size: 14px; } .versus-row > div { padding: 16px 18px; } }

/* ---------- contact ---------- */
.contact { background:
   linear-gradient(180deg, transparent, rgba(212,177,115,.04)),
   var(--bg-2);
  border-top: 1px solid var(--line-soft);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,7vw,100px); align-items: start; }
@media (max-width: 880px){ .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
.contact h2 { font-size: clamp(40px,6vw,84px); font-weight:600; line-height:.98; }
.contact h2 em { font-style: italic; color: var(--gold); }
.contact .csub { margin-top: 26px; color: var(--muted); font-size: clamp(16px,1.7vw,19px); max-width: 42ch; }
.contact .ccontact { margin-top: 38px; display: flex; flex-direction: column; gap: 14px; }
.contact .ccontact a { display:flex; align-items:center; gap:14px; color: var(--ink); font-size:16px; transition: color .25s; }
.contact .ccontact a:hover { color: var(--gold-bright); }
.contact .ccontact .ic { width:38px; height:38px; border:1px solid var(--line); border-radius:50%; display:grid; place-items:center; color: var(--gold); flex:none; transition: border-color .25s, background .25s; }
.contact .ccontact a:hover .ic { border-color: var(--gold); background: rgba(212,177,115,.08); }

/* form */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  padding: clamp(26px,3vw,40px);
  box-shadow: 0 50px 90px -50px rgba(0,0,0,.9);
}
.field { margin-bottom: 20px; }
.field label { display:block; font-size: 12px; letter-spacing:.14em; text-transform:uppercase; color: var(--muted); margin-bottom: 9px; }
.field input, .field select {
  width: 100%;
  background: rgba(0,0,0,.25);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  padding: 14px 16px;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  background: rgba(212,177,115,.04);
  box-shadow: 0 0 0 3px rgba(212,177,115,.1);
}
.field textarea {
  width: 100%;
  background: rgba(0,0,0,.25);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  padding: 13px 16px;
  resize: vertical;
  min-height: 84px;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.lab-opt { text-transform: none; letter-spacing: 0; color: var(--faint); font-weight: 400; }
.char-count { margin-top: 7px; text-align: right; font-size: 11px; letter-spacing: .12em; color: var(--faint); }
.char-count.near { color: var(--gold); }
.field select { appearance: none; -webkit-appearance:none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23d4b173' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px){ .field-row { grid-template-columns: 1fr; } }

/* lane segmented */
.lane-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lane-seg .opt {
  border: 1px solid var(--line-soft); border-radius: 3px; padding: 12px 14px;
  font-size: 13.5px; cursor: pointer; color: var(--muted); text-align:left;
  white-space: nowrap;
  transition: all .22s; background: rgba(0,0,0,.2); display:flex; align-items:center; gap:10px;
}
.lane-seg .opt .tick { width:14px; height:14px; border:1px solid var(--faint); border-radius:50%; flex:none; transition: all .22s; }
.lane-seg .opt:hover { border-color: var(--line); color: var(--ink); }
.lane-seg .opt.active { border-color: var(--gold); color: var(--ink); background: rgba(212,177,115,.07); }
.lane-seg .opt.active .tick { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 3px rgba(212,177,115,.18) inset; }

.form-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-note { margin-top: 16px; font-size: 12.5px; color: var(--faint); text-align:center; line-height:1.5; }

/* sent state */
.sent {
  display: none;
  text-align: center;
  padding: 30px 10px;
}
.sent.show { display: block; animation: fade .5s ease both; }
.sent .chk { width: 64px; height:64px; border:1px solid var(--gold); border-radius:50%; display:grid; place-items:center; margin: 0 auto 22px; color: var(--gold); }
.sent h3 { font-size: 30px; font-weight:600; }
.sent h3 em { font-style:italic; color: var(--gold); }
.sent p { color: var(--muted); margin-top: 12px; max-width: 34ch; margin-inline:auto; }
.sent .btn { margin-top: 26px; }
@keyframes fade { from{opacity:0; transform:translateY(10px)} to{opacity:1; transform:none} }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line-soft); padding: 54px 0 40px; }
.footer-grid { display:flex; justify-content:space-between; align-items:flex-end; gap:30px; flex-wrap:wrap; }
.footer .mark { font-family: var(--display); font-size: 24px; font-weight:700; }
.footer .mark b { color: var(--gold); }
.footer .aff { margin-top: 10px; font-size: 13px; color: var(--faint); line-height:1.6; max-width: 40ch; }
.footer .legal { font-size: 12px; color: var(--faint); text-align:right; line-height:1.7; }
.footer .legal a:hover { color: var(--gold); }
@media (max-width:620px){ .footer-grid{ flex-direction:column; align-items:flex-start;} .footer .legal{ text-align:left; } }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); will-change: transform, opacity; }
.reveal.from-left  { transform: translateX(-60px); }
.reveal.from-right { transform: translateX(60px); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"]{ transition-delay:.09s; }
.reveal[data-delay="2"]{ transition-delay:.18s; }
.reveal[data-delay="3"]{ transition-delay:.27s; }
@media (prefers-reduced-motion: reduce){
  .reveal { opacity:1 !important; transform:none !important; }
}
