/* ============================================================
   Tokens — copied from despitech.com (consultant-site/app/globals.css).
   Same palette and type as the main site, but a quieter layout so this
   reads as the parent company, not a copy of the main site.
   ============================================================ */
:root {
  color-scheme: light;

  --paper: #eaeae7;
  --paper-2: #e3e3df;
  --paper-3: #dbdbd5;

  --ink: #17191a;
  --ink-70: #3c4244;
  --ink-50: #525859;
  --ink-30: #5a5f61;

  --rule: rgba(23, 25, 26, 0.18);
  --rule-soft: rgba(23, 25, 26, 0.1);

  --d-text: rgba(234, 234, 231, 0.82);
  --d-mute: rgba(234, 234, 231, 0.6);
  --d-rule: rgba(234, 234, 231, 0.2);

  --serif: "Newsreader", Georgia, serif;
  --sans: "Archivo", -apple-system, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --fs-xs: 0.625rem;
  --fs-sm: 0.86rem;

  --maxw: 1080px;
  --gut: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.2, 0.7, 0.25, 1);
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.62;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--ink-50); outline-offset: 2px; }
::selection { background: var(--ink-50); color: var(--paper); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.001ms !important; }
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
}

/* ============================================================
   Type
   ============================================================ */
.d1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.032em;
  max-width: 16ch;
}
.d2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.028em;
}
.d3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.2;
}
.serif-it {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--ink-50);
}
.lede {
  max-width: 58ch;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.08rem, 1.55vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-70);
}
.lab {
  display: block;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-30);
}

/* ============================================================
   Components
   ============================================================ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  text-decoration: none;
}
.skip-link:focus { left: 12px; }

/* Button — transform reveal on hover (a transition, not stacked
   animation shorthands). */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border-radius: 1px;
  transition: color 0.45s var(--ease);
}
.btn > span { position: relative; z-index: 1; }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}
.btn:hover { color: var(--paper); }
.btn:hover::before { transform: translateY(0); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid::before { background: var(--ink-50); }

/* Text link with underline */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 5px;
  transition: text-decoration-color 0.3s var(--ease);
}
.tlink:hover { text-decoration-color: currentColor; }

/* Inline link inside body copy */
.inline {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 3px;
}
.inline:hover { text-decoration-color: currentColor; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* ============================================================
   Layout
   ============================================================ */
.site-header { background: var(--paper); }
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark-mark {
  margin-left: 4px;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  color: var(--ink-30);
}

/* Sections are separated by background colour, not rules. */
.band { padding: clamp(64px, 9vw, 120px) 0; }
.band--paper { background: var(--paper); }
.band--paper-2 { background: var(--paper-2); }
.band--ink { background: var(--ink); color: var(--d-text); }

.hero { padding-top: clamp(48px, 7vw, 96px); }
.hero .d1 { margin-bottom: 28px; }

.split {
  display: grid;
  gap: 28px;
}
.split-body {
  display: grid;
  gap: 16px;
  max-width: 56ch;
  color: var(--ink-70);
}
.split-body .actions { margin-top: 12px; }

@media (min-width: 820px) {
  .split { grid-template-columns: 5fr 6fr; gap: 64px; }
}

/* Ventures list */
.band .d2 + .ventures { margin-top: 40px; }
.ventures { border-top: 1px solid var(--rule); }
.venture {
  display: grid;
  gap: 12px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.venture-status {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-30);
  padding-top: 6px;
}
.venture-main { display: grid; gap: 8px; }
.venture-main p { color: var(--ink-70); max-width: 52ch; }
.venture--pending .d3 { color: var(--ink-50); }

@media (min-width: 820px) {
  .venture {
    grid-template-columns: 160px 1fr auto;
    align-items: start;
    gap: 32px;
  }
  .venture-link { margin-top: -6px; }
}

/* Ink section: every shared class used here needs an on-ink override
   (on despitech.com a missing one shipped an invisible CTA). */
.band--ink .lab,
.band--ink .serif-it { color: var(--d-mute); }
.band--ink .d2 { color: var(--paper); }
.band--ink .split-body,
.band--ink .lede { color: var(--d-text); }
.band--ink .btn { border-color: var(--paper); color: var(--paper); }
.band--ink .btn::before { background: var(--paper); }
.band--ink .btn:hover { color: var(--ink); }
.band--ink .btn--solid { background: var(--paper); color: var(--ink); }
.band--ink .btn--solid::before { background: var(--paper-3); }
.band--ink .tlink { color: var(--paper); text-decoration-color: var(--d-rule); }
.band--ink .tlink:hover { text-decoration-color: currentColor; }
.band--ink .inline { text-decoration-color: var(--d-rule); }

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin-top: 8px;
}

/* Footer */
.site-footer {
  background: var(--paper-3);
  padding: 40px 0;
  font-size: var(--fs-sm);
  color: var(--ink-50);
}
.footer-row {
  display: grid;
  gap: 20px;
}
.footer-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
}
.footer-contact { display: grid; gap: 4px; }
.footer-copy { font-family: var(--mono); font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; }

@media (min-width: 820px) {
  .footer-row { grid-template-columns: 1fr auto auto; align-items: end; gap: 48px; }
}

/* Venture name set like despitech.com's header logo: serif name plus a
   small mono uppercase mark on the same baseline. */
.venture-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}
.venture-brand-mark {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-30);
}
