/* ---------------------------------------------------------------
   informal collective — static rebuild of informal.vc
   Tweak the tokens below to restyle the whole site.
   --------------------------------------------------------------- */

/* Geist (SIL Open Font License, see fonts/OFL.txt), self-hosted so the site
   loads nothing from Cargo or any other third party. */
@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/GeistMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --text: rgba(0, 0, 0, 0.85);
  --text-soft: rgba(0, 0, 0, 0.66);
  --hero: rgb(34, 4, 4);
  --muted: rgb(136, 136, 136);
  --rule: rgba(0, 0, 0, 0.6);
  --caption: rgba(0, 0, 0, 0.6);

  --sans: "Geist", -apple-system, system-ui, Inter, "Helvetica Neue", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 3.8vw, 43px);
  --col-gap: 2rem;

  --fs-hero: clamp(40px, 6.3vw, 90px);
  --fs-h2: clamp(22px, 2.8vw, 40px);
  --fs-body: clamp(16px, 1.65vw, 22px);
  --fs-small: clamp(11px, 1vw, 13px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.6; }

/* External-link arrow, replaces Cargo's <text-icon> */
a[target="_blank"]::after {
  content: "↗";
  font-weight: 400;
  margin-left: 0.2em;
}

hr {
  border: 0;
  height: 1px;
  background: var(--rule);
  margin: 0 var(--gutter);
}

/* ---------- header ---------- */
.site-header {
  padding: 36px var(--gutter) 0;
}
.logo {
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.25;
  color: var(--text);
}
.logo::after { content: none; }

/* ---------- hero ---------- */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--gutter) 12vh;
}
.hero h1 {
  margin: 0;
  width: 100%; /* spans the full page width */
  font-size: var(--fs-h2); /* same size as "Builders who craft…" */
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--hero);
}
.hero .muted { color: var(--muted); }

.fade-in-on-load {
  opacity: 0;
  animation: fadeIn 2s ease-in forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- two-column rows ---------- */
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--col-gap);
  padding: 3.5rem var(--gutter) 5rem;
}
.row h2 {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.2;
}
.row p {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.3;
  color: var(--text-soft);
}

/* ---------- portfolio ---------- */
.portfolio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--col-gap);
}
.portfolio ul, .links { list-style: none; margin: 0; padding: 0; }
.portfolio li, .person a, .links a {
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-soft);
}
.portfolio .note { color: var(--muted); font-weight: 700; }

/* ---------- team ---------- */
.team { display: grid; gap: 1.5rem; }
.person { display: flex; flex-direction: column; }
.person span {
  font-size: var(--fs-body);
  line-height: 1.3;
  color: var(--text-soft);
}

/* ---------- footer ---------- */
.caption {
  font-family: var(--mono);
  font-size: var(--fs-small);
  color: var(--caption);
  text-transform: none;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  padding: 1rem var(--gutter) 2rem;
}

/* ---------- mobile ---------- */
@media (max-width: 720px) {
  .row { grid-template-columns: 1fr; padding: 2.5rem var(--gutter) 3rem; }
  .hero { min-height: 70vh; padding-bottom: 8vh; }
}
