/* Vedant Capital Partners — shared styles
   Palette and type are taken from the teaser deck. */

@font-face { font-family: "Baskervville"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/baskervville-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto Condensed"; font-weight: 300; font-style: normal; font-display: swap; src: url("/fonts/roboto-condensed-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto Condensed"; font-weight: 300; font-style: italic; font-display: swap; src: url("/fonts/roboto-condensed-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: "Roboto Condensed"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/roboto-condensed-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto Condensed"; font-weight: 400; font-style: italic; font-display: swap; src: url("/fonts/roboto-condensed-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Roboto Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/roboto-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto Condensed"; font-weight: 700; font-style: italic; font-display: swap; src: url("/fonts/roboto-condensed-latin-700-italic.woff2") format("woff2"); }

:root {
  --bg: #efefef;
  --ink: #262626;
  --title: #515151;
  --gray: #7f7f7f;
  --rule: #c9c9c9;
  --gold: #edad29;
  --blue: #47a2cb;
  --navy: #286f8e;
  --serif: "Baskervville", "Baskerville Old Face", Baskerville, Georgia, serif;
  --sans: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
}
a { color: inherit; }

/* ---------- top bar (inner pages) ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(14px, 2.4vw, 26px) clamp(20px, 5vw, 64px);
}
.topbar .mark { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.topbar .mark img { height: clamp(34px, 5vw, 52px); width: auto; display: block; }
.wordmark { font-family: var(--serif); letter-spacing: 0.14em; font-size: clamp(18px, 2.6vw, 26px); line-height: 1; }
.wordmark i { font-style: normal; display: inline-block; width: 1px; height: 0.95em; background: var(--gold); margin: 0 0.6em; vertical-align: -0.1em; }
.wordmark small { font-family: var(--sans); font-weight: 400; font-size: 0.5em; letter-spacing: 0.22em; vertical-align: 0.1em; }
.topbar nav { display: flex; gap: clamp(16px, 3vw, 32px); font-size: 16px; letter-spacing: 0.06em; }
.topbar nav a { text-decoration: none; color: var(--gray); padding-bottom: 3px; border-bottom: 1px solid transparent; }
.topbar nav a:hover, .topbar nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold); }

/* ---------- Page 1: full-screen cover ---------- */
body.cover { overflow: hidden; }
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  display: grid;
  place-items: center;
  background: var(--bg) url("/assets/map.png") center / cover no-repeat;
}
.lockup { text-align: center; padding: 0 5vw; transform: translateY(-3vh); }
.lockup .swan { width: clamp(84px, 14vmin, 170px); height: auto; display: block; margin: 0 auto clamp(6px, 1.2vmin, 14px); }
.lockup .name {
  font-family: var(--serif);
  font-size: clamp(46px, 11.5vw, 190px);
  line-height: 1;
  letter-spacing: 0.1em;
  margin: 0;
  padding-left: 0.1em; /* balances trailing letter-spacing so the word is truly centred */
  font-weight: 400;
}
.lockup .gold { display: block; height: 3px; background: var(--gold); margin: clamp(10px, 2vw, 26px) auto clamp(10px, 2vw, 26px); width: min(70%, 100%); }
.lockup .sub {
  font-weight: 300;
  font-size: clamp(16px, 3.6vw, 56px);
  letter-spacing: 0.26em;
  padding-left: 0.26em;
  margin: 0;
  text-transform: uppercase;
}
.hero .philosophy {
  position: absolute;
  top: clamp(16px, 2.4vw, 30px);
  right: clamp(20px, 3.4vw, 48px);
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--title);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--gold);
}
.hero .philosophy:hover { color: var(--ink); }
.actions {
  position: absolute;
  right: clamp(20px, 3.4vw, 48px);
  bottom: clamp(20px, 3.4vw, 44px);
  display: flex;
  gap: 12px;
}
.btn {
  display: inline-block;
  padding: 12px 26px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* ---------- Page 2: philosophy ---------- */
.slide {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(8px, 2vw, 24px) clamp(20px, 5vw, 64px) clamp(40px, 6vw, 80px);
}
.slide h1 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(34px, 5.6vw, 66px);
  line-height: 1.1;
  margin: 0 0 clamp(10px, 1.4vw, 18px);
  color: var(--title);
  letter-spacing: -0.005em;
}
.slide .rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.slide .sub { font-size: clamp(17px, 2.1vw, 25px); color: var(--title); margin: clamp(10px, 1.4vw, 16px) 0 clamp(28px, 4vw, 56px); }

.cols { display: grid; grid-template-columns: 1fr 1fr 1fr; column-gap: clamp(30px, 5vw, 70px); position: relative; }
.col { position: relative; padding-left: clamp(0px, 2.2vw, 28px); }
.col h2 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.12;
  color: var(--blue);
  margin: 0 0 clamp(20px, 2.6vw, 34px);
  padding-bottom: 14px;
  position: relative;
  max-width: 7.4em;
}
.col h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; max-width: 190px; height: 2px; background: #9a9a9a; }
.col p { font-size: clamp(19px, 2.2vw, 26px); line-height: 1.32; margin: 0 0 clamp(16px, 2vw, 26px); color: var(--gray); font-weight: 400; }
.col p b { font-weight: 700; }
.col p i { font-weight: 300; font-style: italic; color: var(--blue); }
.col ul { list-style: none; margin: 0; padding: 0; }
.col li { font-size: clamp(19px, 2.2vw, 26px); line-height: 1.36; font-weight: 300; font-style: italic; color: var(--blue); }
.col li::before { content: "-"; display: inline-block; width: 1.4em; font-style: normal; color: var(--gray); }
.col .six { font-weight: 700; font-style: normal; color: var(--gray); margin: clamp(16px, 2vw, 26px) 0 2px; font-size: clamp(19px, 2.2vw, 26px); }
.col.final .big { font-style: italic; font-weight: 700; font-size: clamp(24px, 2.9vw, 36px); line-height: 1.52; color: var(--gray); margin-top: clamp(40px, 8vw, 110px); }
.col.final .big em { color: var(--blue); }

/* the long thin arrows between the columns */
.arrow {
  position: absolute;
  top: 12px;
  bottom: 0;
  width: clamp(16px, 2vw, 26px);
  background: linear-gradient(180deg, #d2dce3, #8ea2b2 55%, #bccad6);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  border-left: 1px solid var(--navy);
}
.arrow.a1 { left: calc(33.333% - clamp(22px, 3vw, 36px)); }
.arrow.a2 { left: calc(66.666% - clamp(22px, 3vw, 36px)); }

.fineprint { margin: clamp(40px, 6vw, 72px) 0 0; font-size: 12px; line-height: 1.5; color: var(--gray); font-weight: 400; max-width: 62ch; }

@media (max-width: 860px) {
  .cols { grid-template-columns: 1fr; row-gap: 44px; }
  .arrow { display: none; }
  .col { padding-left: 0; }
  .col.final .big { margin-top: 0; }
  .topbar .wordmark small, .topbar .wordmark i { display: none; }
  .btn { padding: 11px 16px; font-size: 13px; letter-spacing: 0.12em; }
  .actions { gap: 8px; }
}

/* ---------- Login + Members ---------- */
.login-wrap { min-height: calc(100dvh - 90px); display: grid; place-items: center; padding: 24px; }
.login-card { width: min(420px, 100%); text-align: center; }
.login-card .swan { width: 84px; height: auto; margin: 0 auto 14px; display: block; }
.login-card h1 { font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: 0.1em; margin: 0 0 4px; }
.login-card .gold { display: block; width: 120px; height: 2px; background: var(--gold); margin: 14px auto 10px; }
.login-card p.cap { margin: 0 0 28px; letter-spacing: 0.24em; text-transform: uppercase; font-size: 15px; }
form.login { display: grid; gap: 14px; text-align: left; }
form.login label { font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); }
form.login input[type=password] { width: 100%; padding: 13px 14px; font: 400 18px var(--sans); border: 1px solid var(--rule); background: #fff; color: var(--ink); }
form.login input:focus { outline: 2px solid var(--gold); outline-offset: 0; }
form.login button { padding: 13px 18px; font: 400 15px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; background: var(--ink); color: #fff; border: 1px solid var(--ink); cursor: pointer; }
form.login button:hover { background: transparent; color: var(--ink); }
.error { color: #9b1c1c; font-size: 16px; margin: 0; font-weight: 400; }
.back { display: inline-block; margin-top: 22px; font-size: 14px; letter-spacing: 0.1em; color: var(--gray); text-decoration: none; }
.back:hover { color: var(--ink); }

body.members { display: flex; flex-direction: column; height: 100vh; height: 100dvh; }
body.members .topbar { flex: none; border-bottom: 1px solid var(--rule); }
body.members .tools { flex: 1; min-height: 0; padding: 0 clamp(10px, 2vw, 28px) clamp(10px, 2vw, 28px); display: flex; flex-direction: column; gap: 12px; padding-top: 14px; }
body.members iframe { flex: 1; width: 100%; min-height: 0; border: 1px solid var(--rule); background: #fff; display: block; }
.tool-title { font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray); margin: 0; }
