/* ─────────────────────────────────────────────────────────────
   theUmbrella · www.theumbrella.co.za
   Web adaptation of the F·Pixel corporate identity.
   Shared across Home / About / Founders / Contact.
   ───────────────────────────────────────────────────────────── */

:root {
  --ink:        #0a0a0a;
  --ink-soft:   #2a2a2a;
  --muted:      #6b6b6b;
  --muted-soft: #8a8a8a;
  --paper:      #f6f4ef;
  --paper-warm: #ece9e2;
  --hairline:   #e5e1d6;
  --hairline-ink: rgba(246,244,239,.16);
  --paper-pure: #ffffff;
  --accent:     #b54a2b;
  --accent-soft:#f3e7df;
  --accent-text:#b54a2b;       /* accent text colour, lightens on dark */
  --accent-on-ink:#f4a07a;     /* luminous terracotta for text on black */

  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --maxw: 1200px;
  --gutter: clamp(22px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'ss02', 'cv11';
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── Shared atoms ─── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}
.eyebrow.--accent { color: var(--accent-text); }

/* Brighten accent text on dark backgrounds for legibility */
.section--ink, .phero, .hero, .bstate, .foot { --accent-text: var(--accent-on-ink); }

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

.lede {
  font-size: clamp(16px, 2.1vw, 20px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
}
.--ink .lede { color: rgba(246,244,239,.72); }

/* ─── Navigation ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246,244,239,.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 26px; height: 26px; }
.brand__word {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .18s ease;
  position: relative;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-active { color: var(--accent); }
.nav__cta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper) !important;
  background: var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
  transition: background .18s ease;
}
.nav__cta:hover { background: var(--accent); }
.nav__burger { display: none; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
}
.btn--solid { background: var(--accent); color: var(--paper); }
.btn--solid:hover { background: #9d3f24; }
.btn--ghost { border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: rgba(255,255,255,.06); }
.--paper-ctx .btn--ghost:hover { background: rgba(10,10,10,.04); }
.btn .arr { font-size: 14px; }

/* ─── Section scaffolding ─── */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--paper { background: var(--paper); }
.section--warm  { background: var(--paper-warm); }
.section--ink   { background: var(--ink); color: var(--paper); }

.sec-head { display: flex; gap: 28px; align-items: flex-start; margin-bottom: clamp(34px, 5vw, 56px); }
.sec-head .num {
  font-family: var(--font-mono);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  flex: 0 0 auto;
  padding-top: 6px;
}
.sec-head .t { flex: 1; }
.sec-head h2 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(28px, 4.4vw, 46px);
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 12px 0 0;
  max-width: 20ch;
  text-wrap: balance;
}

/* ─── Generic prose ─── */
.prose p { font-size: clamp(15px, 1.7vw, 18px); line-height: 1.68; color: var(--ink-soft); max-width: 64ch; margin: 0 0 18px; }
.--ink .prose p, .section--ink .prose p { color: var(--paper); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.--ink .prose strong { color: var(--paper); }

/* ─── Footer ─── */
.foot { background: var(--ink); color: var(--paper); padding-block: clamp(56px, 7vw, 88px); }
.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.foot__brand { display: flex; flex-direction: column; gap: 18px; }
.foot__brand img { width: 52px; height: 52px; }
.foot__word { font-family: var(--font-mono); font-size: 18px; font-weight: 500; color: var(--paper); }
.foot__tag { font-size: 13px; color: rgba(246,244,239,.6); max-width: 30ch; line-height: 1.6; }
.foot__col h4 {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246,244,239,.5);
  margin: 0 0 16px;
  font-weight: 500;
}
.foot__col a, .foot__col p {
  display: block;
  font-size: 13.5px;
  color: rgba(246,244,239,.78);
  margin: 0 0 10px;
  line-height: 1.5;
  transition: color .15s ease;
}
.foot__col a:hover { color: var(--accent); }
.foot__bar {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 22px;
  border-top: 1px solid var(--hairline-ink);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246,244,239,.45);
}

/* ─── Page hero (shared inner pages) ─── */
.phero { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.phero__inner { padding-block: clamp(86px, 13vw, 150px); position: relative; z-index: 2; }
.phero h1 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(38px, 6.6vw, 82px);
  line-height: 0.99;
  letter-spacing: -0.035em;
  margin: 20px 0 0;
  max-width: 17ch;
  text-wrap: balance;
}
.phero .sub {
  font-size: clamp(16px, 2.2vw, 21px);
  line-height: 1.55;
  color: rgba(246,244,239,.72);
  max-width: 52ch;
  margin: 26px 0 0;
}
.phero__motif {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 38vw, 540px);
  opacity: 0.06;
  z-index: 1;
  pointer-events: none;
}

/* ─── Utility ─── */
.hairtop { border-top: 1px solid var(--hairline); }
.tag {
  display: inline-block;
  padding: 5px 11px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 999px;
}
.--ink .tag { color: var(--paper); background: transparent; border-color: var(--hairline-ink); }

@media (max-width: 860px) {
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav__links { gap: 18px; }
  .nav__links a:not(.nav__cta) { display: none; }
  .sec-head { flex-direction: column; gap: 14px; }
}
