/* ROAM v2 — editorial redesign tokens */
:root {
  --v2-bg: #1E2823;
  --v2-bg-2: #28332D;
  --v2-cream: #F3ECD9;
  --v2-cream-dim: rgba(243,236,217,0.62);
  --v2-cream-mute: rgba(243,236,217,0.36);
  --v2-gold: #C8A14A;
  --v2-gold-2: #E0C47B;
  --v2-olive: #3F5E59;
  --v2-clay: #C06A3F;
  --v2-line: rgba(243,236,217,0.10);
  --v2-card: #2B3831;
  --ff-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --ff-sans: 'Inter', -apple-system, system-ui, sans-serif;
  --ff-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }

.v2-app {
  font-family: var(--ff-sans);
  color: var(--v2-cream);
  background: var(--v2-bg);
  height: 100%; width: 100%; overflow: hidden; position: relative;
}

.v2-scroll { height: 100%; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.v2-scroll::-webkit-scrollbar { display: none; }

.v2-serif { font-family: var(--ff-serif); }
.v2-mono  { font-family: var(--ff-mono); letter-spacing: 0.1em; }
.v2-caps  { text-transform: uppercase; letter-spacing: 0.22em; font-size: 10px; }

/* Phone */
.v2-phone {
  width: 402px; height: 874px;
  border-radius: 54px; background: #000; padding: 8px;
  box-shadow: 0 0 0 2px #1b1b1b, 0 40px 80px rgba(0,0,0,0.45);
  position: relative;
}
.v2-screen {
  width: 100%; height: 100%;
  border-radius: 46px; overflow: hidden; position: relative;
  background: var(--v2-bg);
}
.v2-island {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 33px; border-radius: 20px;
  background: #000; z-index: 60;
}
.v2-home-indicator {
  position: absolute; bottom: 9px; left: 50%; transform: translateX(-50%);
  width: 130px; height: 5px; border-radius: 100px;
  background: rgba(255,255,255,0.55);
  z-index: 70;
}
.v2-status {
  position: absolute; top: 0; left: 0; right: 0; height: 54px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px 0;
  color: var(--v2-cream); font-size: 15px; font-weight: 600;
  z-index: 50; pointer-events: none;
}
.v2-content { position: absolute; inset: 0; padding-top: 54px;
  display: flex; flex-direction: column; }
.v2-content-padnav > .v2-scroll { padding-bottom: 110px; }

/* buttons */
.v2-btn {
  display: flex; align-items: center; justify-content: center;
  height: 50px; border-radius: 999px; border: 1px solid var(--v2-cream);
  background: transparent; color: var(--v2-cream);
  font-size: 14px; font-weight: 500; cursor: pointer;
  width: 100%; letter-spacing: 0.14em; text-transform: uppercase;
  font-family: var(--ff-sans);
  transition: all 0.15s ease;
}
.v2-btn:hover { background: var(--v2-cream); color: var(--v2-bg); }
.v2-btn-primary {
  background: var(--v2-cream); color: var(--v2-bg); border-color: var(--v2-cream);
}
.v2-btn-primary:hover { background: var(--v2-gold-2); border-color: var(--v2-gold-2); }
.v2-btn-gold {
  background: var(--v2-gold); color: #1E2823; border-color: var(--v2-gold);
}
.v2-btn-ghost {
  border-color: rgba(243,236,217,0.25);
  color: var(--v2-cream-dim);
}

.v2-round {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,0.32);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(243,236,217,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--v2-cream); cursor: pointer;
}
.v2-round:hover { background: rgba(0,0,0,0.5); }

/* bottom nav — floating pill */
.v2-nav {
  position: absolute; left: 16px; right: 16px; bottom: 22px;
  height: 62px; border-radius: 999px;
  background: rgba(20,26,22,0.72);
  backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(243,236,217,0.08);
  display: flex; align-items: center; justify-content: space-around;
  padding: 0 10px; z-index: 40;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.v2-nav button {
  width: 48px; height: 48px; border-radius: 50%;
  background: transparent; border: none; cursor: pointer;
  color: var(--v2-cream-dim);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.v2-nav button.active { color: var(--v2-gold); }
.v2-nav button.active::after {
  content: ''; position: absolute; bottom: -2px; left: 50%;
  transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%;
  background: var(--v2-gold);
}

/* --- marketing hero (explore) --- */
.v2-hero {
  height: 540px; position: relative; overflow: hidden;
}
.v2-hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.v2-hero-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(30,40,35,0.2) 0%,
    rgba(30,40,35,0.05) 35%,
    rgba(30,40,35,0.5) 75%,
    rgba(30,40,35,0.95) 100%);
}

.v2-hero-overlay {
  position: absolute; inset: 0;
  padding: 28px 24px;
  display: flex; flex-direction: column; justify-content: space-between;
  z-index: 2;
}

/* starburst mark — big on marketing */
.v2-sunburst {
  filter: drop-shadow(0 2px 14px rgba(200,161,74,0.35));
}

/* chip */
.v2-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(243,236,217,0.10);
  border: 1px solid rgba(243,236,217,0.14);
  color: var(--v2-cream); font-size: 12px;
  letter-spacing: 0.08em;
  backdrop-filter: blur(6px);
}
.v2-chip-gold {
  background: var(--v2-gold); color: #1E2823;
  border-color: var(--v2-gold);
  font-weight: 600;
}

/* section header */
.v2-section-label {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--ff-mono);
  font-size: 10px; letter-spacing: 0.28em;
  color: var(--v2-gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.v2-section-label::before,
.v2-section-label::after {
  content: ''; flex: 1; height: 1px;
  background: rgba(200,161,74,0.3);
}
.v2-section-label::before { flex: 0 0 20px; }

.v2-h1 {
  font-family: var(--ff-serif);
  font-weight: 400; font-style: italic;
  font-size: 44px; line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--v2-cream);
}
.v2-h2 {
  font-family: var(--ff-serif);
  font-weight: 400; font-size: 28px;
  line-height: 1.1; letter-spacing: 0.005em;
  color: var(--v2-cream);
}

/* editorial property card */
.v2-prop-card {
  position: relative; margin-bottom: 28px;
  cursor: pointer;
}
.v2-prop-img {
  height: 420px; border-radius: 2px; overflow: hidden;
  position: relative;
  background-size: cover; background-position: center;
}
.v2-prop-num {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--ff-mono);
  font-size: 10px; letter-spacing: 0.2em;
  color: var(--v2-cream);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  padding: 5px 10px; border-radius: 4px;
  border: 1px solid rgba(243,236,217,0.12);
}
.v2-prop-meta {
  padding: 16px 2px 0;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.v2-prop-name {
  font-family: var(--ff-serif); font-style: italic;
  font-size: 28px; line-height: 1; color: var(--v2-cream);
}
.v2-prop-loc {
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--v2-cream-dim);
  text-transform: uppercase; margin-top: 6px;
}

/* spec row */
.v2-spec {
  display: flex; gap: 20px; font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: 0.14em; color: var(--v2-cream-dim);
  text-transform: uppercase;
}
.v2-spec span b { color: var(--v2-cream); font-weight: 500; }

/* input */
.v2-input {
  width: 100%;
  background: transparent;
  border: none; border-bottom: 1px solid rgba(243,236,217,0.3);
  color: var(--v2-cream);
  padding: 14px 2px; font-size: 16px;
  font-family: var(--ff-sans);
  outline: none;
}
.v2-input::placeholder { color: var(--v2-cream-mute); }
.v2-input:focus { border-bottom-color: var(--v2-gold); }

/* switch */
.v2-switch {
  width: 46px; height: 26px; border-radius: 9999px;
  background: rgba(243,236,217,0.14); position: relative; cursor: pointer;
  transition: background 0.15s;
}
.v2-switch.on { background: var(--v2-gold); }
.v2-switch::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--v2-cream); transition: left 0.18s cubic-bezier(0.22,1,0.36,1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.v2-switch.on::after { left: 23px; background: var(--v2-bg); }

/* tile */
.v2-tile {
  background: var(--v2-card);
  border: 1px solid var(--v2-line);
  border-radius: 20px;
  padding: 18px;
  position: relative; overflow: hidden;
}
.v2-tile.on {
  background: linear-gradient(135deg, #3a4a3d 0%, #2d3a31 100%);
  border-color: rgba(200,161,74,0.3);
}
.v2-tile-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 20px;
}
.v2-tile-name {
  font-family: var(--ff-serif); font-size: 20px; font-style: italic;
  color: var(--v2-cream);
}
.v2-tile-sub {
  font-family: var(--ff-mono);
  font-size: 10px; letter-spacing: 0.18em;
  color: var(--v2-cream-dim); text-transform: uppercase; margin-top: 4px;
}
.v2-tile.on .v2-tile-sub { color: var(--v2-gold); }

.v2-divider { height: 1px; background: var(--v2-line); width: 100%; }

/* animated mark pulse */
@keyframes pulse-gold {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(200,161,74,0)); }
  50%      { filter: drop-shadow(0 0 16px rgba(200,161,74,0.45)); }
}
.v2-pulse { animation: pulse-gold 3.5s ease-in-out infinite; }

/* scroll shortcut for tab chips */
.v2-chiprow {
  display: flex; gap: 8px; overflow-x: auto;
  scrollbar-width: none; padding: 0 24px;
}
.v2-chiprow::-webkit-scrollbar { display: none; }

/* enter animations */
.v2-enter { animation: v2In 0.35s cubic-bezier(0.22,1,0.36,1) both; }
@keyframes v2In {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* big letterspaced brand */
.v2-brand {
  font-family: var(--ff-serif);
  font-weight: 400; font-size: 42px;
  letter-spacing: 0.42em;
  color: var(--v2-cream);
  text-transform: uppercase;
  padding-left: 0.42em; /* optical balance for kerning */
}

/* tweaks */
.v2-tweaks {
  position: fixed; right: 20px; bottom: 20px;
  width: 300px;
  background: #1b221e;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px; padding: 18px; z-index: 9999;
  color: var(--v2-cream); font-family: var(--ff-sans);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.v2-tweaks h3 {
  font-family: var(--ff-serif); margin: 0 0 12px; font-size: 18px;
  color: var(--v2-gold); letter-spacing: 0.14em; text-transform: uppercase;
  font-style: italic; font-weight: 400;
}
.v2-tweaks .row { display: flex; justify-content: space-between; align-items: center; margin: 10px 0; font-size: 12px; gap: 10px; }
.v2-tweaks .seg { display: flex; gap: 4px; background: rgba(255,255,255,0.06); border-radius: 999px; padding: 3px; flex-wrap: wrap; }
.v2-tweaks .seg button { background: transparent; color: var(--v2-cream-dim); border: 0; padding: 6px 10px; border-radius: 999px; font-size: 11px; cursor: pointer; white-space: nowrap; }
.v2-tweaks .seg button.active { background: var(--v2-gold); color: #1E2823; font-weight: 600; }
