/* Innovating Capital — site styles · v1.0
   One stylesheet, no build step. Tokens match the brand kit (02-Colour/ic-colours.css).
   Breakpoints: 640px (tablet), 900px (three-column contact, footer row), 1100px (desktop). */

@font-face {
  font-family: 'Literata';
  src: url('../fonts/literata-latin-var.woff2') format('woff2');
  font-weight: 400 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/source-sans-3-latin-var.woff2') format('woff2');
  font-weight: 400 600; font-style: normal; font-display: swap;
}

:root {
  /* Colour */
  --navy: #0F1422;            /* primary ground and text */
  --white: #FFFFFF;
  --tint: #F2F3F5;            /* quiet panels on white */
  --slate: #666D7C;           /* secondary text on white */
  --mist: #B8BFCC;            /* secondary text on navy */
  --rule: #D5D9E0;            /* hairlines on white */
  --rule-navy: #2E3650;       /* hairlines on navy */
  --blue: #1F5FFF;            /* functional: labels and links on white */
  --blue-navy: #7C9DFF;       /* functional: labels and links on navy */
  --bronze: #9B632E;          /* signature: on white, used sparingly */
  --bronze-navy: #D8975B;     /* signature: on navy */

  /* Type */
  --serif: 'Literata', Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --max: 1440px;
  --gutter: 24px;
  --header-h: 64px;
  --logo-h: 22px;
  --band-y: 64px;
}
@media (min-width: 640px)  { :root { --gutter: 48px; --header-h: 80px; --logo-h: 26px; --band-y: 88px; } }
@media (min-width: 1100px) { :root { --gutter: clamp(64px, 8.334vw, 120px); --header-h: 92px; --logo-h: 30px; --band-y: 120px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--white); color: var(--navy);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, address { margin: 0; }
address { font-style: normal; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.band--navy :focus-visible, .hero :focus-visible { outline-color: var(--blue-navy); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 10;
  background: var(--navy); color: var(--white); padding: 10px 16px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--sans); font-size: 12px; line-height: 16px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue);
}
.band--navy .eyebrow { color: var(--blue-navy); }
.h2 { font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 38px; }
.h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 34px; }
.label {
  display: block; font-size: 12px; line-height: 16px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate);
}
.band--navy .label { color: var(--mist); }
@media (min-width: 1100px) {
  .h2 { font-size: 44px; line-height: 50px; }
  .h3 { font-size: 40px; line-height: 46px; }
}

/* ---------- Bands: navy and white alternate down the page ---------- */
.band { padding-block: var(--band-y); }
.band--navy { background: var(--navy); color: var(--white); }
.band--white { background: var(--white); color: var(--navy); }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--rule); }
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.site-header__logo img { height: var(--logo-h); width: auto; }
.site-nav a { font-size: 15px; line-height: 20px; font-weight: 600; text-decoration: none; padding: 10px 0; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- Hero ---------- */
/* Small screens: the Ledger sits in a band above the headline. Desktop: it sits to the right. */
.hero {
  background: var(--navy) url('../img/ledger-hero-sm.svg') no-repeat right top / 390px 140px;
  color: var(--white); padding: 156px 0 48px;
}
.hero__headline img { width: min(338px, 100%); }
.hero__descriptor {
  margin-top: 18px; max-width: 30em;
  font-family: var(--serif); font-size: 19px; line-height: 27px; font-weight: 400; color: var(--mist);
}
@media (min-width: 640px) {
  .hero { padding: 176px 0 72px; }
  .hero__headline img { width: 480px; }
  .hero__descriptor { margin-top: 22px; font-size: 22px; line-height: 30px; }
}
@media (min-width: 1100px) {
  .hero {
    min-height: 700px; display: flex; align-items: center; padding: 0;
    background-image: url('../img/ledger-hero.svg'); background-position: right center; background-size: 560px 700px;
  }
  .hero__headline img { width: 601px; }
  .hero__descriptor { margin-top: 26px; font-size: 24px; line-height: 32px; }
}

/* ---------- Who we are ---------- */
.who { padding-block: 56px; }
.who__thesis {
  margin-top: 14px; max-width: 1060px;
  font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 33px;
}
@media (min-width: 640px)  { .who { padding-block: var(--band-y); } .who__thesis { margin-top: 18px; font-size: 28px; line-height: 40px; } }
@media (min-width: 1100px) { .who__thesis { margin-top: 22px; font-size: 34px; line-height: 48px; } }

/* ---------- How we invest ---------- */
.approaches__head { display: flex; flex-direction: column; gap: 10px; }
.approaches__grid { display: grid; gap: 28px; margin-top: 28px; }
.approach { border-top: 2px solid var(--white); padding-top: 20px; }
.approach p { margin-top: 10px; font-size: 16px; line-height: 26px; color: var(--mist); max-width: 34em; }
@media (min-width: 768px)  { .approaches__grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
@media (min-width: 1100px) {
  .approaches { padding-bottom: 128px; }
  .approaches__head { gap: 14px; }
  .approaches__grid { gap: 64px; margin-top: 56px; }
  .approach { padding-top: 28px; }
  .approach p { margin-top: 18px; font-size: 17px; line-height: 27px; }
}

/* ---------- How we create value: Build and Unlock ---------- */
.value__intro { display: flex; flex-direction: column; gap: 10px; }
.value__lead { margin-top: 4px; font-size: 16px; line-height: 26px; color: var(--slate); }
.value__rows { margin-top: 36px; }
.value__row { border-top: 2px solid var(--navy); padding: 20px 0 24px; }
.value__name { display: flex; align-items: center; gap: 12px; }
.value__name::before { content: ''; flex: none; width: 10px; height: 10px; background: var(--bronze); }
.value__list { list-style: none; padding: 0; margin-top: 8px; }
.value__list li { font-size: 16px; line-height: 24px; padding: 10px 0; border-top: 1px solid var(--rule); }
@media (min-width: 768px) {
  .value__row { display: grid; grid-template-columns: 200px 1fr; gap: 32px; padding: 28px 0 32px; }
  .value__name { align-self: start; }
  .value__list { margin-top: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
}
@media (min-width: 1100px) {
  .value { display: grid; grid-template-columns: 380px 1fr; gap: 80px; }
  .value__intro { gap: 14px; }
  .value__lead { margin-top: 8px; font-size: 17px; line-height: 27px; }
  .value__rows { margin-top: 0; }
  .value__row { grid-template-columns: 240px 1fr; }
  .value__name { gap: 16px; }
  .value__name::before { width: 12px; height: 12px; }
  .value__list li { font-size: 17px; line-height: 27px; }
}

/* ---------- Contact ---------- */
.contact { padding-block: 56px 44px; }
.contact__grid { display: grid; margin-top: 24px; }
.contact__item { border-top: 2px solid var(--white); padding: 14px 0; }
.contact__item .label { margin-bottom: 4px; }
.contact__value { font-size: 16px; line-height: 24px; }
.contact a { color: var(--blue-navy); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.contact a:hover { text-decoration-thickness: 2px; }
@media (min-width: 640px) { .contact { padding-block: var(--band-y); } }
@media (min-width: 900px) {
  .contact__grid { grid-template-columns: repeat(3, 1fr); column-gap: 32px; margin-top: 40px; }
  .contact__item { padding: 18px 0 0; }
  .contact__item .label { margin-bottom: 6px; }
}
@media (min-width: 1100px) {
  .contact { padding-block: 96px; }
  .contact__value { font-size: 17px; line-height: 27px; }
}

/* ---------- Footer ---------- */
.site-footer { padding: 36px 0 40px; background: var(--white); color: var(--navy); }
.site-footer__top { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.site-footer__logo img { height: 20px; width: auto; }
.connect { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 15px; line-height: 20px; font-weight: 500; }
.connect__lead { color: var(--slate); font-weight: 400; }
.connect a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.connect__divider { width: 1px; height: 16px; background: var(--rule); }
/* Social icons: drop the official LinkedIn and X icon SVGs into these links (see README).
   Until then the dashed placeholder keeps the space. Remove .social--placeholder once the icons are in. */
.social { display: inline-flex; width: 22px; height: 22px; color: var(--navy); }
.social svg, .social img { width: 22px; height: 22px; }
.social--placeholder { border: 1px dashed var(--slate); }
.site-footer__bottom { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; font-size: 12px; line-height: 18px; color: var(--slate); }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; padding: 0; }
.legal-links a { text-decoration: none; }
.legal-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) {
  .site-footer__top { flex-direction: row; justify-content: space-between; align-items: center; }
  .site-footer__bottom { flex-direction: row; justify-content: space-between; gap: 48px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 13px; line-height: 20px; }
  .legal-links { gap: 24px; }
}
@media (min-width: 1100px) {
  .site-footer { padding: 56px 0 48px; }
  .site-footer__logo img { height: 26px; }
  .connect { gap: 20px; }
}

/* ---------- Legal pages ---------- */
.page-head { padding-block: 56px; }
.page-head h1 { margin-top: 12px; font-family: var(--serif); font-weight: 500; font-size: 36px; line-height: 42px; }
.page-head__meta { margin-top: 12px; font-size: 15px; line-height: 22px; color: var(--mist); }
.page-head .ph { color: var(--navy); }
@media (min-width: 1100px) { .page-head { padding-block: 88px 80px; } .page-head h1 { font-size: 52px; line-height: 58px; } }

.legal { padding-block: 48px 72px; }
.legal__inner { max-width: 760px; }
.draft-note {
  margin-bottom: 40px; padding: 16px 20px; background: var(--tint); border-top: 2px solid var(--blue);
  font-size: 15px; line-height: 22px;
}
.prose p, .prose li { font-size: 17px; line-height: 28px; }
.prose > p + p { margin-top: 16px; }
.prose h2 { margin-top: 48px; padding-top: 18px; border-top: 2px solid var(--navy); font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 32px; }
.prose h3 { margin-top: 28px; font-size: 17px; line-height: 24px; font-weight: 600; }
.prose h2 + p, .prose h2 + h3, .prose h2 + ul { margin-top: 16px; }
.prose h3 + p { margin-top: 6px; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 14px; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--bronze); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose strong, .prose .strong { font-weight: 600; }
/* Placeholders for counsel / CCO. Every [bracketed] item must be resolved before launch. */
.ph { background: #FFF1C2; padding: 0 2px; }
@media (min-width: 1100px) { .legal { padding-block: 72px 112px; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: flex; align-items: center; }
.notfound__title { margin-top: 12px; }
.notfound__back { margin-top: 16px; color: var(--mist); }
.notfound a { color: var(--blue-navy); }

@media print {
  .site-header, .site-footer, .skip-link { display: none; }
  .band--navy, .hero { background: none; color: #000; }
}
