@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --ink: #080D1A;
  --ink-2: #0E1626;
  --oxblood: #6F1D2B;
  --oxblood-2: #5A1622;
  --gold: #C4973A;
  --gold-2: #D6A94C;
  --bone: #F1ECE2;
  --bone-2: #E7DFD1;
  --paper: #FBF9F4;
  --white: #F4F1EA;
  --ink-text: #1A1714;
  --muted-dark: #9AA1AD;
  --muted-light: #6B655A;
  --line-dark: rgba(244,241,234,0.12);
  --line-light: rgba(26,23,20,0.12);
  --sans: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bone);
  color: var(--ink-text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }

/* ---------- nav ---------- */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.wordmark { font-family: var(--sans); font-weight: 600; font-size: 21px; letter-spacing: 0.03em; color: var(--ink-text); }
.wordmark span { color: var(--gold); }
.nav__links { display: flex; gap: clamp(18px, 3vw, 38px); font-size: 14px; letter-spacing: 0.04em; }
.nav__links a { color: var(--muted-light); transition: color .2s; }
.nav__links a:hover { color: var(--ink-text); }
/* nav over a dark hero */
.nav--dark .wordmark { color: var(--white); }
.nav--dark .wordmark span { color: var(--gold); }
.nav--dark .nav__links a { color: var(--muted-dark); }
.nav--dark .nav__links a:hover { color: var(--white); }

/* ---------- buttons ---------- */
.btn { display: inline-block; font-size: 15px; font-weight: 500; padding: 13px 26px; border-radius: 8px; transition: transform .12s, background .2s, color .2s; cursor: pointer; }
.btn:active { transform: scale(0.98); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-2); }
.btn--outline-gold { border: 1px solid var(--gold); color: var(--gold); }
.btn--outline-gold:hover { background: var(--gold); color: var(--ink); }
.btn--outline-ox { border: 1px solid var(--oxblood); color: var(--oxblood); }
.btn--outline-ox:hover { background: var(--oxblood); color: var(--bone); }
.link-muted { font-size: 15px; color: var(--muted-dark); }
.link-muted:hover { color: var(--white); }

/* ---------- section header ---------- */
.eyebrow { display: block; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.sec-title { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5.5vw, 64px); line-height: 1.08; letter-spacing: -0.01em; color: var(--ink-text); margin: 0; max-width: 680px; }

/* ---------- hero (dark) ---------- */
.hero { position: relative; background: var(--ink); padding: 220px 0 130px; }
.display { font-family: var(--serif); font-weight: 300; font-size: clamp(60px, 11vw, 128px); line-height: 0.96; letter-spacing: -0.01em; margin: 0 0 32px; color: var(--white); }
.display em { color: var(--gold); font-style: italic; }
.lede { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted-dark); max-width: 480px; margin: 0 0 44px; line-height: 1.6; }
.cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

/* ---------- what we do (light) ---------- */
.caps { background: var(--bone); padding: clamp(96px, 12vw, 160px) 0; }
.caps .sec-title { margin-bottom: clamp(48px, 6vw, 80px); }
.caps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(4px, 1vw, 8px) clamp(36px, 5vw, 72px); }
.cap { padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line-light); }
.cap__k { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.cap h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; color: var(--ink-text); margin: 0 0 14px; }
.cap p { font-size: 15px; color: var(--muted-light); margin: 0; max-width: 400px; line-height: 1.65; }

/* ---------- oxblood band ---------- */
.band-oxblood { background: var(--oxblood); padding: clamp(64px, 10vw, 128px) 0; }
.band-oxblood .rule { display: block; width: 44px; height: 2px; background: var(--gold); margin-bottom: 30px; }
.manifesto { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 4.6vw, 52px); line-height: 1.22; color: #F3E3D6; max-width: 860px; margin: 0; letter-spacing: -0.01em; }

/* ---------- work teaser (light) ---------- */
.work-teaser { background: var(--paper); padding: clamp(72px, 10vw, 120px) 0; }
.teaser-line { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 42px); line-height: 1.22; color: var(--ink-text); max-width: 640px; margin: 0 0 22px; }
.fields { font-size: 15px; letter-spacing: 0.03em; color: var(--muted-light); margin-bottom: 40px; }
.fields span { color: var(--oxblood); }

/* ---------- contact (dark bookend) ---------- */
.contact { background: var(--ink); padding: clamp(80px, 12vw, 150px) 0; text-align: center; }
.contact .display { margin-bottom: 20px; }
.contact p { font-size: 18px; color: var(--muted-dark); max-width: 440px; margin: 0 auto 38px; }

/* ---------- footer ---------- */
.foot { background: var(--ink); border-top: 1px solid var(--line-dark); padding: 40px 0; }
.foot__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--muted-dark); }
.foot .wordmark { color: var(--white); }

/* ---------- work page ---------- */
.work-head { padding: 180px 0 60px; }
.work-title { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 7vw, 78px); line-height: 1.02; letter-spacing: -0.015em; color: var(--ink-text); margin: 0 0 22px; }
.work-intro { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted-light); max-width: 540px; margin: 0; }

.case { padding: clamp(48px, 7vw, 96px) 0; border-top: 1px solid var(--line-light); }
.case__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.case--flip .case__shots { order: -1; }
.case__field { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.case h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; color: var(--oxblood); margin: 0 0 18px; }
.case p { font-size: 16px; color: var(--muted-light); margin: 0 0 22px; max-width: 430px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 12px; letter-spacing: 0.02em; padding: 6px 14px; border: 1px solid var(--oxblood); border-radius: 999px; color: var(--oxblood); }

/* ---------- screenshot frames ---------- */
.shots { display: grid; gap: 16px; }
.frame { border-radius: 12px; overflow: hidden; border: 1px solid var(--bone-2); background: #fff; box-shadow: 0 20px 50px -24px rgba(26,23,20,0.35); }
.frame__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--bone); border-bottom: 1px solid var(--bone-2); }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #cfc7b8; }
.frame__url { flex: 1; height: 18px; background: #fff; border: 1px solid var(--bone-2); border-radius: 999px; }
.frame__label { font-size: 11px; color: var(--muted-light); letter-spacing: 0.04em; }

.mini-site { background: #1E2A3A; padding: 26px 24px 30px; }
.mini-site__nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.mini-site__logo { width: 74px; height: 15px; background: var(--gold); border-radius: 3px; }
.mini-site__links { font-size: 10.5px; color: #9FB0C2; letter-spacing: 0.03em; }
.mini-site__kicker { font-size: 10.5px; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 10px; }
.mini-site__h { font-family: var(--serif); font-size: 26px; line-height: 1.12; color: #F4F1EA; max-width: 260px; margin: 0 0 12px; }
.mini-site__p { font-size: 12px; color: #B9C4D0; max-width: 250px; margin: 0 0 18px; }
.mini-site__btn { display: inline-block; font-size: 11px; padding: 8px 16px; background: var(--gold); color: #1E2A3A; border-radius: 6px; font-weight: 500; }

.mini-panel { background: #fff; padding: 20px 22px 24px; }
.mini-panel__tabs { display: flex; gap: 20px; font-size: 12px; border-bottom: 1px solid var(--bone-2); padding-bottom: 12px; margin-bottom: 18px; }
.mini-panel__tabs .on { color: var(--ink-text); font-weight: 500; border-bottom: 2px solid var(--ink-text); padding-bottom: 13px; margin-bottom: -13px; }
.mini-panel__tabs span:not(.on) { color: #a49d90; }
.mini-panel__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.stat { background: var(--paper); border-radius: 8px; padding: 12px 14px; }
.stat b { display: block; font-size: 11px; color: var(--muted-light); font-weight: 400; margin-bottom: 5px; }
.stat strong { font-size: 21px; font-weight: 500; color: var(--ink-text); }
.row { display: flex; align-items: center; gap: 12px; font-size: 12.5px; padding: 10px 0; border-bottom: 1px solid var(--bone-2); }
.row:last-child { border-bottom: none; }
.av { width: 26px; height: 26px; border-radius: 50%; background: #E8DEC9; color: var(--oxblood); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 500; }
.row .grow { flex: 1; color: var(--ink-text); }
.row .val { color: var(--muted-light); }
.pill { display: inline-flex; align-items: center; gap: 5px; }
.pill i { width: 7px; height: 7px; border-radius: 50%; }

.mini-portal { background: var(--paper); padding: 20px 22px 24px; }
.mini-portal__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mini-portal__logo { font-family: var(--serif); font-size: 15px; color: var(--ink-text); }
.mini-portal__search { font-size: 10.5px; color: var(--muted-light); border: 1px solid var(--bone-2); border-radius: 999px; padding: 5px 12px; background: #fff; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pcard { background: #fff; border: 1px solid var(--bone-2); border-radius: 8px; overflow: hidden; }
.pcard__img { height: 46px; background: linear-gradient(135deg, #cdbfa6, #a8916f); }
.pcard__b { padding: 8px 9px; }
.pcard__b b { display: block; font-size: 11px; color: var(--ink-text); font-weight: 500; }
.pcard__b span { font-size: 10px; color: var(--muted-light); }

.mini-report { background: #fff; padding: 22px 24px 26px; }
.mini-report__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.mini-report__t { font-family: var(--serif); font-size: 17px; color: var(--ink-text); }
.mini-report__t span { display: block; font-family: var(--sans); font-size: 10.5px; color: var(--muted-light); margin-top: 3px; }
.score { text-align: center; }
.score b { display: block; font-family: var(--serif); font-size: 34px; color: var(--oxblood); line-height: 1; }
.score span { font-size: 10px; color: var(--muted-light); }
.bar { display: flex; align-items: center; gap: 10px; margin: 9px 0; font-size: 11.5px; }
.bar em { font-style: normal; width: 108px; color: var(--muted-light); }
.bar .track { flex: 1; height: 6px; background: var(--bone); border-radius: 999px; overflow: hidden; }
.bar .fill { height: 100%; background: var(--gold); border-radius: 999px; }

.mini-chat { background: #fff; padding: 20px 22px 24px; }
.mini-chat__head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.mini-chat__av { width: 30px; height: 30px; border-radius: 50%; background: var(--oxblood); }
.mini-chat__name b { font-size: 13px; color: var(--ink-text); font-weight: 500; }
.mini-chat__name span { font-size: 11px; color: var(--muted-light); display: block; }
.bub { font-size: 12.5px; line-height: 1.5; padding: 10px 14px; border-radius: 12px; margin-bottom: 10px; max-width: 80%; }
.bub--them { background: var(--paper); color: var(--ink-text); border-bottom-left-radius: 3px; }
.bub--me { background: var(--oxblood); color: var(--bone); margin-left: auto; border-bottom-right-radius: 3px; }

/* ---------- valuation report mock ---------- */
.mini-val { background: #fff; padding: 22px 24px 24px; }
.mini-val__h { font-family: var(--serif); font-size: 18px; color: var(--ink-text); line-height: 1.2; }
.mini-val__h span { display: block; font-family: var(--sans); font-size: 11px; color: var(--muted-light); margin-top: 3px; }
.mini-val__verdict { display: inline-block; margin: 14px 0 16px; font-size: 12px; font-weight: 500; color: var(--oxblood); background: rgba(111,29,43,0.08); border: 1px solid rgba(111,29,43,0.25); padding: 6px 14px; border-radius: 999px; }
.mini-val__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.vcell { background: var(--paper); border-radius: 8px; padding: 12px; }
.vcell b { display: block; font-size: 10.5px; font-weight: 400; color: var(--muted-light); margin-bottom: 6px; line-height: 1.3; }
.vcell strong { font-size: 18px; font-weight: 500; color: var(--ink-text); }
.vcell.is-list strong { color: var(--oxblood); }
.mini-val__note { font-size: 11px; color: var(--muted-light); }

/* ---------- presentation deck mock ---------- */
.mini-deck { background: var(--paper); padding: 22px 22px 24px; }
.deck-cover { background: #1E2A3A; border-radius: 8px; padding: 20px 18px; margin-bottom: 12px; }
.deck-cover i { display: block; width: 34px; height: 2px; background: var(--gold); margin-bottom: 12px; }
.deck-cover b { font-family: var(--serif); font-size: 19px; color: #F4F1EA; display: block; line-height: 1.15; margin-bottom: 4px; }
.deck-cover span { font-size: 11px; color: #9FB0C2; }
.deck-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.deck-cards .dc { background: #fff; border: 1px solid var(--bone-2); border-radius: 6px; overflow: hidden; }
.deck-cards .dc .im { height: 38px; background: linear-gradient(135deg, #cdbfa6, #a8916f); }
.deck-cards .dc .tx { padding: 6px 8px; font-size: 10px; color: var(--ink-text); }

/* ---------- reel mock (vertical) ---------- */
.shots--center { justify-items: center; }
.reel { width: 214px; border-radius: 20px; overflow: hidden; border: 1px solid var(--bone-2); box-shadow: 0 20px 50px -24px rgba(26,23,20,0.4); background: #0E1626; }
.reel__screen { position: relative; height: 360px; background: linear-gradient(160deg, #45566b, #1E2A3A 72%); }
.reel__badge { position: absolute; top: 14px; left: 14px; font-size: 10px; color: #1E2A3A; background: var(--gold); padding: 4px 10px; border-radius: 999px; font-weight: 500; }
.reel__price { position: absolute; left: 16px; bottom: 22px; }
.reel__price b { font-family: var(--serif); font-size: 23px; color: #fff; display: block; }
.reel__price span { font-size: 11px; color: #E7DFD1; }
.reel__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.92); }
.reel__play::after { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); border-left: 12px solid #1E2A3A; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.reel__cap { color: #9AA1AD; font-size: 11px; text-align: center; padding: 11px 8px; }

/* ---------- assistant profile mock ---------- */
.mini-profile { background: #fff; padding: 22px 24px 24px; }
.mini-profile__head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.mini-profile__av { width: 52px; height: 52px; border-radius: 50%; background: var(--oxblood); flex: none; }
.mini-profile__n b { font-family: var(--serif); font-size: 20px; color: var(--ink-text); display: block; line-height: 1.15; }
.mini-profile__n span { font-size: 12px; color: var(--muted-light); }
.chiprow { margin-top: 16px; }
.chiprow > b { display: block; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { font-size: 11.5px; padding: 5px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--bone-2); color: var(--muted-light); }
.chip.on { background: rgba(111,29,43,0.08); border-color: rgba(111,29,43,0.25); color: var(--oxblood); }

/* ---------- intelligence mocks ---------- */
.mini-extract { background: #fff; padding: 22px 24px 24px; }
.mini-extract__k { font-size: 11px; letter-spacing: 0.06em; color: var(--muted-light); margin-bottom: 14px; }
.mini-extract__big { font-family: var(--serif); font-size: 42px; color: var(--oxblood); line-height: 1; }
.mini-extract__big span { font-family: var(--sans); font-size: 12px; color: var(--muted-light); display: block; margin-top: 8px; }
.mini-extract__flow { display: flex; align-items: center; gap: 8px; margin: 18px 0 14px; font-size: 11.5px; color: var(--muted-light); }
.mini-extract__flow em { font-style: normal; color: var(--gold); }

.lead { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--bone-2); }
.lead:last-child { border-bottom: none; }
.lead__score { width: 36px; text-align: center; font-family: var(--serif); font-size: 23px; line-height: 1; flex: none; }
.lead__score.hot { color: #A32D2D; }
.lead__score.warm { color: var(--gold); }
.lead__score.cold { color: var(--muted-light); }
.lead__b { flex: 1; min-width: 0; }
.lead__b b { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-text); }
.lead__b span { font-size: 11px; color: var(--muted-light); }

/* ---------- products strip ---------- */
.products { background: var(--paper); padding: clamp(96px, 12vw, 150px) 0; }
.products .sec-title { margin-bottom: clamp(44px, 6vw, 68px); }
.products__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 32px); }
.prod-card { padding: clamp(28px, 3.5vw, 44px); border: 1px solid var(--bone-2); border-radius: 14px; background: var(--bone); display: block; }
a.prod-card { transition: border-color .2s, box-shadow .2s; }
a.prod-card:hover { border-color: var(--gold); box-shadow: 0 8px 28px -8px rgba(196,151,58,0.18); }
.prod-card__k { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.prod-card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.5vw, 30px); color: var(--ink-text); margin: 0 0 12px; }
.prod-card p { font-size: 14px; color: var(--muted-light); line-height: 1.65; margin: 0 0 22px; }
.prod-card__link { font-size: 13px; letter-spacing: 0.02em; color: var(--oxblood); }
.prod-card__link--muted { color: var(--muted-light); }

/* ---------- cockpit mock ---------- */
.mini-cockpit { background: #0B1120; padding: 18px 20px 20px; }
.mini-cockpit__tabs { display: flex; gap: 16px; font-size: 10.5px; letter-spacing: 0.03em; color: #3A4560; margin-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.07); padding-bottom: 10px; }
.mini-cockpit__tabs .on { color: var(--gold); }
.mini-cockpit__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 12px; }
.cstat { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 7px; padding: 9px 10px; }
.cstat b { display: block; font-size: 9.5px; color: #4A5568; font-weight: 400; margin-bottom: 4px; }
.cstat strong { font-size: 18px; color: #F4F1EA; font-weight: 500; display: block; margin-bottom: 4px; }
.badge { font-size: 9px; padding: 2px 6px; border-radius: 999px; font-weight: 500; display: inline-block; }
.badge--real { background: rgba(52,211,153,0.12); color: #34D399; border: 1px solid rgba(52,211,153,0.25); }
.badge--est { background: rgba(196,151,58,0.12); color: var(--gold); border: 1px solid rgba(196,151,58,0.25); }
.crow { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 10.5px; }
.crow:last-child { border-bottom: none; }
.cbadge { font-size: 9px; padding: 2px 7px; border-radius: 4px; font-weight: 500; flex: none; letter-spacing: 0.02em; }
.cbadge--signal { background: rgba(196,151,58,0.18); color: var(--gold); }
.cbadge--deal { background: rgba(111,29,43,0.22); color: #F5A3B0; }
.cbadge--reg { background: rgba(99,102,241,0.18); color: #A5B4FC; }
.cgrow { flex: 1; color: #6B7A99; }
.ctag { font-size: 9px; color: #2E3A50; }

/* ---------- graph mock ---------- */
.mini-graph { background: #fff; padding: 20px 22px 22px; }
.graph-stat { margin-bottom: 14px; }
.graph-stat b { font-family: var(--serif); font-size: 52px; color: var(--oxblood); line-height: 1; display: block; }
.graph-stat span { font-size: 12px; color: var(--muted-light); margin-top: 6px; display: block; line-height: 1.45; }
.graph-row { display: flex; gap: 14px; font-size: 11.5px; padding: 7px 0; border-top: 1px solid var(--bone-2); }
.g-k { font-style: normal; color: var(--muted-light); min-width: 88px; flex: none; }
.graph-chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 780px) {
  .caps__grid { grid-template-columns: 1fr; }
  .case__grid { grid-template-columns: 1fr; gap: 32px; }
  .case--flip .case__shots { order: 0; }
  .hero { padding: 160px 0 90px; }
  .nav__links { display: none; }
  .mini-panel__stats, .cards { gap: 8px; }
  .products__grid { grid-template-columns: 1fr; }
  .mini-cockpit__stats { grid-template-columns: repeat(3, 1fr); }
}
