/* First Cargo Ventures. Demo site for a fictitious firm.
   Type: Archivo (SIL Open Font License), self-hosted so the site works offline. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --abyss: #0a1f1d;
  --deep: #0e2a29;
  --kelp: #1b4541;
  --sea: #2c6660;
  --steel: #6e8480;
  --mist: #c9d8d4;
  --frost: #eef4f2;
  --paper: #f8fbfa;
  --hull: #e4572e;
  --hull-ink: #b23e1b;
  --cryo: #a9dde3;
  --ink: #12211f;
  --muted: #4f625e;
  --line: #d5e0dd;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Archivo", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
svg, img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.disp { font-stretch: 125%; font-weight: 800; letter-spacing: -.012em; line-height: 1.04; }
.eyebrow {
  font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 700; color: var(--hull-ink); margin: 0 0 14px;
}
.dark .eyebrow, .hero .eyebrow, .phead .eyebrow { color: var(--hull); }
.lede { font-size: 21px; line-height: 1.5; max-width: 40em; }
.muted { color: var(--muted); }
.dark .muted { color: var(--mist); }

/* ---------- Header ---------- */
.top { background: var(--abyss); color: #fff; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; min-height: 70px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; color: #fff; }
.brand svg { width: 56px; height: auto; flex: none; }
.brand b { display: block; font-stretch: 125%; font-weight: 800; letter-spacing: .1em; font-size: 15px; line-height: 1; }
.brand small { display: block; font-size: 9px; letter-spacing: .44em; color: var(--mist); margin-top: 5px; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 4px 22px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--mist); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--hull); }
.nav a.login { border: 1.5px solid rgba(255, 255, 255, .32); border-radius: 999px; padding: 6px 15px; color: #fff; }
.nav a.login:hover { border-color: var(--hull); }

/* ---------- Announcement bar ---------- */
.announce { display: block; background: var(--kelp); color: var(--frost); text-align: center; font-size: 13.5px; font-weight: 600; padding: 8px 16px; text-decoration: none; letter-spacing: .01em; }
.announce:hover { background: var(--sea); }
.announce span { color: var(--hull); font-weight: 800; margin-left: 4px; }

/* ---------- Hero ---------- */
.hero { background: var(--abyss); color: #fff; position: relative; overflow: hidden; min-height: clamp(700px, 92vh, 900px); }
.hero .scene { position: absolute; inset: 0; }
.hero .scene svg { width: 100%; height: 100%; }
.hero .wrap { position: relative; padding-top: 84px; padding-bottom: 300px; }
.hero h1 { font-size: clamp(44px, 7.4vw, 106px); text-transform: uppercase; margin-bottom: 26px; text-shadow: 0 2px 30px rgba(10, 31, 29, .55); }
.hero h1 span { color: var(--hull); }
.hero .lede { color: var(--frost); margin-bottom: 30px; text-shadow: 0 1px 16px rgba(10, 31, 29, .8); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; }
.btn.solid { background: var(--hull); color: var(--abyss); }
.btn.solid:hover { background: #f06a43; }
.btn.line { border: 1.5px solid rgba(255, 255, 255, .45); color: #fff; background: rgba(10, 31, 29, .35); }
.btn.line:hover { border-color: #fff; }
.ship { animation: drift 11s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(14px, 1.5px); } }

/* ---------- Portfolio strip ---------- */
.strip { background: var(--abyss); border-top: 1px solid rgba(255, 255, 255, .1); overflow: hidden; padding: 20px 0; }
.strip .track { display: flex; gap: 48px; width: max-content; animation: slide 70s linear infinite; }
.strip:hover .track { animation-play-state: paused; }
.strip a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--mist); font-stretch: 125%; font-weight: 800; font-size: 19px; letter-spacing: .01em; white-space: nowrap; }
.strip a:hover { color: #fff; }
.strip .ico { width: 22px; height: 22px; color: var(--hull); flex: none; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ship, .strip .track { animation: none; }
  .strip .track { flex-wrap: wrap; width: auto; justify-content: center; gap: 14px 32px; padding: 0 16px; }
  html { scroll-behavior: auto; }
}

/* ---------- Founder voices and news ---------- */
.voice { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; display: flex; flex-direction: column; gap: 18px; }
.voice blockquote { margin: 0; font-size: 19px; line-height: 1.5; font-weight: 500; color: var(--deep); }
.voice blockquote::before { content: "\201C"; display: block; font-stretch: 125%; font-weight: 800; font-size: 44px; line-height: .6; color: var(--hull); margin-bottom: 10px; }
.voice figcaption { margin-top: auto; font-size: 14.5px; color: var(--muted); }
.voice figcaption b { display: block; color: var(--ink); font-size: 16px; }
.voice figcaption a { color: var(--kelp); font-weight: 700; text-decoration: none; }
.newsblock { margin-top: 56px; padding-top: 28px; border-top: 2px solid var(--deep); }
.news { list-style: none; margin: 0; padding: 0; }
.news li { display: grid; grid-template-columns: 190px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.news time { color: var(--muted); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; padding-top: 3px; }

/* ---------- Page head (inner pages) ---------- */
.phead { background: var(--abyss); color: #fff; padding: 64px 0 56px; }
.phead h1 { font-size: clamp(36px, 5.2vw, 68px); margin-bottom: 18px; }
.phead .lede { color: var(--mist); }

/* ---------- Sections ---------- */
.sec { padding: 84px 0; }
.sec.tight { padding: 56px 0; }
.sec.tint { background: var(--frost); }
.sec.dark { background: var(--abyss); color: #fff; }
.sec h2 { font-size: clamp(28px, 3.5vw, 44px); margin-bottom: 18px; }
.sec .intro { max-width: 44em; margin-bottom: 40px; font-size: 19px; color: var(--muted); }
.sec.dark .intro { color: var(--mist); }
.more { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--hull); padding-bottom: 2px; }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: start; }

/* ---------- Stats ---------- */
.stats { background: var(--deep); color: #fff; padding: 34px 0; }
.stats .grid { gap: 28px; }
.stat b { display: block; font-stretch: 125%; font-weight: 800; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat span { color: var(--mist); font-size: 15px; }

/* ---------- Pillars ---------- */
.pillar { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
a.pillar:hover { border-color: var(--kelp); }
.pillar .ico { width: 46px; height: 46px; color: var(--kelp); margin-bottom: 6px; }
.pillar .verb { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--hull-ink); }
.pillar h3 { font-size: 27px; }
.pillar p { color: var(--muted); font-size: 16px; line-height: 1.55; }
.pillar .n { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 700; color: var(--kelp); }

/* ---------- Facts ---------- */
.facts { display: grid; gap: 0; border-top: 2px solid var(--deep); }
.fact { display: grid; grid-template-columns: minmax(0, 150px) 1fr; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fact b { font-stretch: 125%; font-weight: 800; font-size: 28px; color: var(--deep); line-height: 1.1; white-space: nowrap; }
.fact span { color: var(--muted); font-size: 16px; }

/* ---------- Company cards ---------- */
.co { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 9px; }
.co .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tag { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--kelp); }
.badge { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--frost); color: var(--kelp); white-space: nowrap; }
.badge.exit { background: #fde9e2; color: var(--hull-ink); }
.co h3 { font-size: 23px; }
.co .line { font-weight: 600; line-height: 1.4; }
.co .desc { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.co .meta { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); display: grid; gap: 2px; }
.co .meta a { color: var(--kelp); font-weight: 700; text-decoration: none; }
.co .meta a:hover { text-decoration: underline; }

/* ---------- Filter chips ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.chips button {
  font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer;
  padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; color: var(--kelp);
}
.chips button:hover { border-color: var(--kelp); }
.chips button[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: #fff; }
[hidden] { display: none !important; }

/* ---------- People ---------- */
.people { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 24px; }
.person { text-decoration: none; display: block; }
.tile {
  aspect-ratio: 4 / 5; border-radius: 8px;
  background: linear-gradient(168deg, var(--sea) 0%, var(--kelp) 42%, var(--abyss) 100%);
  color: var(--frost); display: grid; place-items: center; position: relative; overflow: hidden;
  margin-bottom: 14px;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile.empty { background: linear-gradient(175deg, #909b95 0%, #7b8781 55%, #69756f 100%); }
.tile .sil { position: absolute; inset: 0; width: 100%; height: 100%; fill: rgba(14, 42, 41, .2); }
.person:hover .tile { outline: 3px solid var(--hull); outline-offset: 3px; }
.person h3 { font-size: 19px; font-weight: 700; line-height: 1.25; }
.person .role { color: var(--muted); font-size: 15px; line-height: 1.4; margin: 3px 0 2px; }
.person .where { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--hull-ink); }
.sec .group-title { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin: 48px 0 22px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
[data-group]:first-child .group-title { margin-top: 0; }

/* ---------- Bio page ---------- */
.bio { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 56px; align-items: start; }
.bio .tile { margin: 0; }
.bio h1 { font-size: clamp(32px, 4.4vw, 54px); color: var(--deep); margin-bottom: 8px; }
.bio .role { font-size: 20px; color: var(--muted); margin-bottom: 4px; }
.bio .where { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--hull-ink); margin-bottom: 26px; }
.bio .body { font-size: 19px; max-width: 36em; }
.kv { margin-top: 30px; border-top: 2px solid var(--deep); max-width: 36em; }
.kv div { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.kv dt { font-weight: 700; color: var(--deep); }
.kv dd { margin: 0; color: var(--muted); }
.kv a { color: var(--kelp); font-weight: 700; text-decoration: none; }
.kv a:hover { text-decoration: underline; }
.back { display: inline-block; margin-bottom: 28px; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--kelp); }

/* ---------- Offices ---------- */
.office { border-top: 2px solid rgba(255, 255, 255, .22); padding-top: 18px; }
.office svg { width: 62px; margin-bottom: 14px; color: rgba(238, 244, 242, .42); }
.office h3 { font-size: 24px; }
.office .area { color: var(--mist); font-size: 14.5px; margin: 2px 0 12px; }
.office .clock { font-stretch: 125%; font-weight: 800; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; color: #fff; }
.office .clock small { font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--mist); margin-left: 6px; font-stretch: 100%; }
.office p { color: var(--mist); font-size: 15.5px; line-height: 1.55; margin-top: 12px; }
.office .who { font-size: 14px; margin-top: 10px; }
.office .who a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.light .office { border-top-color: var(--deep); }
.light .office svg { color: var(--mist); }
.light .office .area, .light .office p { color: var(--muted); }
.light .office .clock { color: var(--deep); }
.light .office .clock small { color: var(--muted); }
.light .office .who a { color: var(--kelp); border-bottom-color: var(--line); font-weight: 600; }
.map { background: var(--abyss); border-radius: 16px; padding: 18px; }
.map svg { width: 100%; height: auto; }
.map figcaption { color: var(--steel); font-size: 13px; padding: 8px 6px 0; }
figure { margin: 0; }

/* ---------- Insights ---------- */
.note { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
a.note:hover { border-color: var(--kelp); }
.note .when { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.note h3 { font-size: 23px; line-height: 1.2; }
.note p { color: var(--muted); font-size: 16px; line-height: 1.55; }
.note .by { margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 700; color: var(--kelp); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.note .lock { color: var(--muted); font-weight: 600; }
.article { max-width: 720px; margin: 0 auto; }
.article p { font-size: 20px; line-height: 1.7; margin-bottom: 1.25em; }
.article p:first-of-type { font-size: 23px; line-height: 1.55; color: var(--deep); }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 22px; color: var(--mist); font-size: 15px; }
.byline a { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }

/* ---------- Thesis ---------- */
.pblock { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; padding: 52px 0; border-top: 1px solid var(--line); align-items: start; }
.pblock:first-of-type { border-top: 0; padding-top: 0; }
.pblock h2 { font-size: clamp(30px, 4vw, 50px); margin-bottom: 14px; color: var(--deep); }
.pblock .verb { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--hull-ink); margin-bottom: 8px; }
.pblock ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.pblock li { padding-left: 22px; position: relative; }
.pblock li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 5px; border-radius: 10px 10px 0 0; background: var(--hull); }
.pblock h3 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.mini { display: grid; gap: 10px; }
.mini a { display: block; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.mini a:hover { border-color: var(--kelp); }
.mini b { display: block; font-size: 17px; }
.mini span { color: var(--muted); font-size: 14.5px; }
.how h3 { font-size: 21px; margin-bottom: 6px; }
.how p { color: var(--mist); font-size: 16px; }
.funds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 44px; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 28px; }
.funds b { display: block; font-stretch: 125%; font-weight: 800; font-size: 34px; line-height: 1.1; }
.funds span { color: var(--mist); font-size: 15px; }

/* ---------- Notice + footer ---------- */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 38px; max-width: 760px; }
.panel h2 { font-size: 30px; color: var(--deep); }
.foot { background: var(--abyss); color: var(--mist); padding: 56px 0 32px; font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.foot h4 { margin: 0 0 12px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #fff; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
.foot .brand { margin-bottom: 14px; }
.foot .fine { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; line-height: 1.55; display: grid; gap: 8px; }
.foot .fine b { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .g4, .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .pblock, .bio { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .bio .tile { max-width: 260px; }
  .foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .sec { padding: 56px 0; }
  .hero .wrap { padding-top: 52px; padding-bottom: 250px; }
  .hero { min-height: 680px; }
  .news li { grid-template-columns: minmax(0, 1fr); gap: 2px; font-size: 16px; }
  .strip a { font-size: 16px; }
  .g2, .g3, .funds { grid-template-columns: minmax(0, 1fr); }
  .g4.keep2, .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .g4:not(.keep2) { grid-template-columns: minmax(0, 1fr); }
  .lede { font-size: 18px; }
  .nav { gap: 2px 16px; font-size: 14px; }
  .fact { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .kv div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .foot .cols { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 24px; }
  .article p { font-size: 18px; }
  .article p:first-of-type { font-size: 20px; }
}
