/* Deep Fusion Minerals landing page (26 Oct 2026): a light, typographic page in the spirit of the layout David suggested, in our
   brand kit (brand/BRAND.md, brand/tokens/tokens.css): ivory ground, ink text, Geologica, gold as the one accent per screen, no
   glows or gradients. html.dark switches to the kit's dark-first values (the local preview's ?theme=dark). */

@font-face { font-family: "Geologica"; src: url("/fonts/geologica-300-v2.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Geologica"; src: url("/fonts/geologica-400-v2.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geologica"; src: url("/fonts/geologica-500-v2.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --bg: #F4F1EA;        /* ivory */
  --band: #E9E5DB;      /* bone */
  --ink: #121212;       /* text on light */
  --muted: #636260;     /* secondary text and labels on light */
  --accent: #7A5F28;    /* gold on light: the one gold moment */
  --rule: #D6D1C4;      /* rule on light */
  --marker: #86878C;    /* graphite */
  --font: "Geologica", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shell: 1160px;
  --gutter: clamp(20px, 5vw, 64px);
}
html.dark {
  --bg: #0B0B0C;        /* obsidian */
  --band: #161618;      /* carbon */
  --ink: #F4F1EA;
  --muted: #A09E9A;
  --accent: #D4A64A;
  --rule: #2E2F33;
  --marker: #6E6F74;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
p { text-wrap: pretty; }                       /* no single word left alone on a paragraph's last line */
h1, h2 { text-wrap: balance; }
a { color: inherit; }
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 12px; }
.skip:focus { left: 12px; z-index: 10; background: var(--bg); padding: 8px 12px; border: 1px solid var(--rule); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 2px; }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.nav .logo img { height: 32px; width: auto; }
.nav-links { display: flex; gap: clamp(20px, 3vw, 40px); font-size: 0.9375rem; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color 0.3s ease; }
.nav-links a:hover { color: var(--ink); }

/* Shared */
.label {
  margin: 0 0 clamp(20px, 3vh, 28px);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.marker { width: 56px; height: 2px; background: var(--marker); margin: 0 0 clamp(28px, 4vh, 40px); }
.text-link {
  display: inline-flex; align-items: baseline; gap: 14px;
  text-decoration: none; color: var(--ink);
  font-size: 1rem;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
}
.text-link span { transition: transform 0.3s ease; }
.text-link:hover span { transform: translateX(4px); }

/* Hero */
.hero { padding: clamp(88px, 17vh, 190px) 0 clamp(88px, 15vh, 170px); }
.hero h1 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(2.9rem, 7.4vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.hero h1 .find { color: var(--accent); }
.lead {
  margin: clamp(28px, 4vh, 40px) 0 clamp(36px, 5vh, 52px);
  max-width: 40ch;
  font-weight: 300;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.5;
  color: var(--muted);
}

/* About */
.about { background: var(--band); padding: clamp(88px, 15vh, 170px) 0; }
.statement {
  margin: 0;
  max-width: 30ch;
  font-weight: 400;
  font-size: clamp(1.75rem, 3.4vw, 2.9rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

/* Partner */
.partner { padding: clamp(96px, 17vh, 190px) 0; }
.partner-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.partner h2 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(2.6rem, 5.6vw, 4.8rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
}
.partner-side p { margin: 0 0 32px; max-width: 36ch; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: clamp(40px, 6vh, 56px) 0 28px; font-size: 0.875rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; }
.footer-grid .logo img { height: 26px; width: auto; }
.footer-grid p { margin: 0; line-height: 1.7; }
.footer-grid .label { margin-bottom: 10px; }
.footer-grid a { text-decoration: none; color: var(--ink); }
.footer-grid a:hover { text-decoration: underline; text-underline-offset: 4px; }
.legal { margin-top: clamp(36px, 5vh, 48px); padding-top: 20px; border-top: 1px solid var(--rule); font-size: 0.8125rem; }

/* 404 */
.notfound { padding: clamp(96px, 20vh, 220px) 0; }
.notfound h1 { margin: 0 0 40px; font-weight: 500; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.04; letter-spacing: -0.03em; }

/* Small screens */
@media (max-width: 760px) {
  .nav { min-height: 72px; }
  .nav .logo img { height: 24px; }
  .nav-links { gap: 18px; font-size: 0.875rem; }
  .partner-grid { grid-template-columns: 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 420px) {
  .nav-links a[href="#about"] { display: none; }
}

/* Motion is slow and quiet (brand kit), and off for anyone who asks for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: reveal 1.4s ease-out both; }
  .reveal.d2 { animation-delay: 0.12s; }
  .reveal.d3 { animation-delay: 0.24s; }
  .reveal.d4 { animation-delay: 0.36s; }
  @keyframes reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
