/* StrategIQ Ventures · strategiq.ventures
   Direction A: dark editorial. Two fonts, one accent. */

:root {
  --bg: #0b0c0f;
  --bg-2: #121419;
  --ink: #ece9e2;
  --ink-2: #b9b5ad;
  --muted: #8f8b83;
  --line: #262930;
  --accent: #f15a29;
  --navy: #084574;
  --gutter: clamp(20px, 4.5vw, 64px);
  --display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', 'SFMono-Regular', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--display);
  font-variation-settings: 'opsz' 14;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin: 0; }

.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.accent { color: var(--accent); }
.light { color: var(--ink); }
.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow { margin-bottom: 24px; }

.grain {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.08;
  background-image: radial-gradient(#fff 0.6px, transparent 0.7px);
  background-size: 3px 3px; mix-blend-mode: overlay;
}

/* Header */
.top {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding-top: 24px;
}
.brand img { height: 140px; width: auto; }
.topnav { display: flex; gap: clamp(16px, 3vw, 40px); align-items: center; }

/* Hero */
.hero {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  padding-top: clamp(64px, 10vw, 150px);
}
.hero-head { grid-row: 1; grid-column: 1 / span 9; position: relative; z-index: 2; }
h1 {
  font-size: clamp(46px, 8.8vw, 124px);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.045em;
  font-variation-settings: 'opsz' 96;
  text-wrap: balance;
}
.portrait {
  grid-row: 1 / span 2; grid-column: 9 / span 4; margin: -40px calc(var(--gutter) * -1) 0 0; z-index: 1;
  display: flex; flex-direction: column; gap: 14px; align-items: flex-end;
}
.portrait img { width: min(520px, 36vw); aspect-ratio: 13 / 16; object-fit: cover; object-position: top; -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%); mask-image: linear-gradient(to bottom, #000 80%, transparent 100%); }
.portrait figcaption { width: min(520px, 36vw); display: flex; justify-content: space-between; gap: 12px; padding-right: var(--gutter); }
.hero-body { grid-row: 2; grid-column: 1 / span 6; margin-top: 60px; display: flex; flex-direction: column; gap: 32px; }
.lede { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.4; font-weight: 300; color: var(--ink-2); max-width: 620px; text-wrap: pretty; }
.lede .hl { color: var(--ink); font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 0 26px;
  border: 1px solid var(--accent); color: var(--accent);
  font-weight: 500; font-size: 16px; letter-spacing: 0.01em;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn.solid { background: var(--accent); color: var(--bg); }
.btn:hover { background: #fff; border-color: #fff; color: var(--bg); }

/* Ledger */
.ledger {
  position: relative; z-index: 1;
  margin: clamp(80px, 9vw, 140px) var(--gutter) 0;
  padding: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ledger .cell { padding: 36px 32px; border-right: 1px solid var(--line); }
.ledger .cell:first-child { padding-left: 0; }
.ledger .cell:last-child { border-right: 0; }
.num { font-size: clamp(44px, 4.5vw, 64px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.ledger .mono { margin-top: 14px; }

/* Engagement */
.engage {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px;
  padding-top: clamp(90px, 10vw, 150px);
}
.engage-head { grid-column: 1 / span 4; }
h2 { font-size: clamp(36px, 3.9vw, 56px); line-height: 1; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
.engage-list { grid-column: 6 / span 7; display: flex; flex-direction: column; }
.way {
  padding: 32px 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 120px 1fr; gap: 24px;
}
.way:last-child { border-bottom: 1px solid var(--line); }
.way > .mono { padding-top: 6px; }
h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 10px; }
.way p { font-size: 18px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }

/* Work */
.work { position: relative; z-index: 1; padding-top: clamp(90px, 10vw, 150px); }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 110px 300px 1fr 200px; gap: 24px; align-items: center;
  padding: 28px 12px; border-bottom: 1px solid var(--line);
  transition: background 0.15s;
}
.row:hover { background: var(--bg-2); }
.row .name { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.row .desc { font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.row .tag { text-align: right; }

/* Contact */
.contact {
  position: relative; z-index: 1;
  margin: clamp(100px, 11vw, 160px) var(--gutter) 0;
  padding: clamp(48px, 5.5vw, 80px) 0 0;
  border-top: 1px solid var(--accent);
  display: flex; flex-direction: column; gap: clamp(32px, 4vw, 56px);
}
.contact h2 { font-size: clamp(40px, 6.8vw, 96px); line-height: 0.95; font-weight: 800; letter-spacing: -0.045em; max-width: 14ch; }
.contact-links { display: flex; flex-wrap: wrap; gap: 16px clamp(28px, 4vw, 56px); font-style: normal; }
.contact-links a { font-size: clamp(18px, 1.5vw, 22px); color: var(--ink); }
.contact-links a:hover { color: var(--accent); }

/* Footer */
.foot { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 16px; padding-top: clamp(60px, 7vw, 100px); padding-bottom: 48px; }

/* Entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero-head, .portrait, .hero-body { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .portrait { animation-delay: 0.15s; }
  .hero-body { animation-delay: 0.25s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* Tablet */
@media (max-width: 1100px) {
  .brand img { height: 96px; }
  .topnav .hide-sm { display: none; }
  .hero-head { grid-row: auto; grid-column: 1 / span 12; }
  .portrait { grid-row: 2; grid-column: 7 / span 6; margin-top: 40px; margin-right: 0; align-items: stretch; align-self: start; }
  .portrait img, .portrait figcaption { width: 100%; }
  .portrait figcaption { padding-right: 0; }
  .hero-body { grid-row: 2; grid-column: 1 / span 6; margin-top: 40px; align-self: start; }
  .engage-head, .engage-list { grid-column: 1 / span 12; }
  .row { grid-template-columns: 110px 1fr 160px; }
  .row .desc { grid-column: 2 / span 2; }
}

/* Phone */
@media (max-width: 720px) {
  .topnav { display: none; }
  .brand { display: block; width: 100%; }
  .brand img { height: auto; width: 100%; }
  .hero-head { text-align: center; }
  .hero { gap: 16px; }
  .portrait { grid-row: auto; grid-column: 1 / span 12; margin-top: 28px; }
  .portrait img { aspect-ratio: 4 / 5; }
  .hero-body { grid-row: auto; grid-column: 1 / span 12; margin-top: 8px; }
  .contact-links { flex-direction: column; gap: 14px; }
  .actions .btn { width: 100%; justify-content: center; }
  .ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger .cell { padding: 24px 0 24px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .ledger .cell:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--line); }
  .ledger .cell:nth-child(n+3) { border-bottom: 0; }
  .ledger .cell:nth-child(even) { padding-left: 20px; }
  .way { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .way p { font-size: 16px; }
  .work-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .row { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .row .desc { grid-column: auto; font-size: 16px; }
  .row .tag { text-align: left; }
  .row:hover { background: transparent; }
  .foot { flex-direction: column; }
}

/* ---------- Subpages: /book and /card ---------- */
.sub { position: relative; z-index: 1; padding-top: clamp(48px, 7vw, 100px); padding-bottom: 40px; }
.sub-head { max-width: 900px; }
.sub-title { font-size: clamp(34px, 5vw, 64px); line-height: 1; font-weight: 800; letter-spacing: -0.04em; text-wrap: balance; }
.sub-head .lede { margin-top: 28px; }
.seg { display: flex; gap: 10px; margin-top: 40px; flex-wrap: wrap; }
.seg-btn {
  appearance: none; cursor: pointer; font: inherit; color: var(--ink-2);
  background: transparent; border: 1px solid var(--line);
  min-height: 52px; padding: 0 20px; display: inline-flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.seg-btn .mono { color: var(--muted); }
.seg-btn:hover { border-color: var(--ink-2); color: var(--ink); }
.seg-btn.is-on { border-color: var(--accent); color: var(--ink); background: var(--bg-2); }
.seg-btn.is-on .mono { color: var(--accent); }
.cal-wrap { margin-top: 24px; border: 1px solid var(--line); background: var(--bg-2); padding: 8px; min-height: 620px; }
.cal-inline { min-height: 600px; }
.cal-inline iframe { display: block; }
.cal-fallback { padding: 12px 8px 4px; text-transform: none; letter-spacing: 0.02em; }
.cal-fallback a { color: var(--ink-2); }
.cal-fallback a:hover { color: var(--accent); }
.sub-note { margin-top: 32px; font-size: 18px; color: var(--ink-2); }
.sub-note a { color: var(--ink); } .sub-note a:hover { color: var(--accent); }

.card-body { display: flex; justify-content: center; }
.card { position: relative; z-index: 1; width: 100%; max-width: 520px; padding: 28px 20px 40px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.card-logo img { height: 72px; width: auto; }
.card-photo { margin: 8px 0 0; width: min(300px, 70vw); }
.card-photo img { width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; object-position: top; -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); }
.card-id { text-align: center; display: flex; flex-direction: column; gap: 8px; margin-top: -16px; }
.card-id .mono { text-wrap: balance; line-height: 1.7; }
.card-name { font-size: clamp(40px, 11vw, 56px); line-height: 0.95; font-weight: 800; letter-spacing: -0.04em; }
.card-role { font-size: 18px; color: var(--ink-2); }
.card-actions { width: 100%; display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.card-actions .btn { width: 100%; justify-content: flex-start; gap: 14px; min-height: 56px; font-size: 16px; }
.card-actions .btn svg { flex: 0 0 auto; }
.card-link { border-color: var(--line); color: var(--ink); }
.card-link:hover { border-color: var(--accent); background: var(--bg-2); color: var(--ink); }
.card-val { color: var(--muted); font-size: 14px; margin-left: 8px; }
.card-save { justify-content: center !important; font-weight: 600; }
.card-foot { margin-top: 16px; }

@media (max-width: 720px) {
  .seg-btn { flex: 1 1 100%; justify-content: space-between; }
  .cal-wrap { margin-left: -12px; margin-right: -12px; padding: 4px; }
}
