/* ── Fonts ───────────────────────────────────────────────────────── */
@font-face { font-family: "Atak"; src: url("/assets/fonts/Atak-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atak"; src: url("/assets/fonts/Atak-Medium.woff2") format("woff2");  font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Atak"; src: url("/assets/fonts/Atak-Bold.woff2") format("woff2");    font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Atak"; src: url("/assets/fonts/Atak-Black.woff2") format("woff2");   font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* ── Tokens ──────────────────────────────────────────────────────── */
:root {
  --shark: #1C1E27;
  --bg-deep: #151519;
  --charcoal: #25272F;
  --manatee: #8B8EA8;
  --text: #FFFFFF;
  --text-80: hsla(0, 0%, 100%, 0.8);
  --text-10: hsla(0, 0%, 100%, 0.1);
  --font-sans: "Atak", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  /* digits: set to var(--font-mono) to render numerals in Geist Mono instead of Atak */
  --font-digits: var(--font-sans);
}

/* ── Reset ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
.mono { font-family: var(--font-digits); }
.dot { color: var(--manatee); }

/* ── Layout ──────────────────────────────────────────────────────── */
main { min-height: 100vh; }
.page {
  margin: 0 auto;
  display: flex;
  min-height: 100vh;
  max-width: 64rem;
  flex-direction: column;
  align-items: center;
  padding: 4rem 1.5rem;
  text-align: center;
  animation: fade-in 0.9s ease-out both;
}
@media (min-width: 768px)  { .page { padding-left: 3rem; padding-right: 3rem; } }
@media (min-width: 1024px) { .page { padding-left: 5rem; padding-right: 5rem; } }

/* ── Type helpers ────────────────────────────────────────────────── */
.eyebrow {
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.45em;
  color: var(--manatee);
  font-weight: 400;
}
.eyebrow--tight { letter-spacing: 0.4em; }
.eyebrow--xs { font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.4em; }
@media (min-width: 768px) { .eyebrow--xs { font-size: 0.875rem; line-height: 1.25rem; } }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero { display: flex; flex-direction: column; gap: 1.5rem; align-items: center; animation: fade-up 1.1s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero h1 {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  font-weight: 900;
}
.hero h1 .mono { font-weight: 900; }
.lede {
  max-width: 48rem;
  line-height: 1.625;
  color: var(--text-80);
  font-weight: 700;
  font-size: 25px;
}

/* ── Hero image ──────────────────────────────────────────────────── */
.hero-figure {
  margin-top: 4rem;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
}
.frame {
  overflow: hidden;
  border: 1px solid var(--text-10);
  background: var(--shark);
}
.frame--hero {
  width: min(100%, 34rem);
  border-radius: 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
@media (min-width: 768px) {
  .frame--hero { border-radius: 48px; box-shadow: 0 45px 120px rgba(0, 0, 0, 0.4); }
}
.frame--hero img { width: 100%; aspect-ratio: 784 / 1168; object-fit: cover; }
.hero-figure figcaption { margin-top: 2rem; max-width: 42rem; }

/* ── Portfolio ───────────────────────────────────────────────────── */
.portfolio {
  margin-top: 5rem;
  display: flex;
  width: 100%;
  max-width: 56rem;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  animation: fade-up 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.holdings {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  line-height: 1.25;
  font-weight: 900;
}
.portfolio-blurb {
  max-width: 48rem;
  line-height: 1.625;
  color: var(--text-80);
  font-size: 18px;
  font-weight: 400;
}
@media (min-width: 768px) { .portfolio-blurb { font-size: 26px; } }

/* ── Contact card ────────────────────────────────────────────────── */
.contact {
  margin-top: 4rem;
  display: flex;
  width: 100%;
  max-width: 48rem;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  border-radius: 28px;
  border: 1px solid var(--text-10);
  background: rgba(37, 39, 47, 0.8);
  padding: 2rem 1.25rem;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fade-up 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.contact-headline {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.25;
  font-weight: 900;
}
.contact-body {
  max-width: 42rem;
  line-height: 1.625;
  color: var(--text-80);
  font-size: 18px;
  font-weight: 400;
}
.frame--email {
  width: min(100%, 32rem);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  user-select: none;
  -webkit-user-select: none;
}
.frame--email img { width: 100%; aspect-ratio: 1168 / 784; object-fit: cover; pointer-events: none; }
.contact-warning {
  line-height: 1.625;
  color: var(--text-80);
  font-size: 18px;
  font-weight: 500;
}
.contact-footnote {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--manatee);
  font-size: 14px;
  font-weight: 500;
}
@media (min-width: 768px) {
  .contact { border-radius: 36px; padding: 2.5rem; }
  .contact-body, .contact-warning { font-size: 24px; }
  .contact-footnote { font-size: 18px; }
}

/* ── Footer ──────────────────────────────────────────────────────── */
footer {
  margin-top: 5rem;
  width: 100%;
  border-top: 1px solid var(--text-10);
  padding-top: 2rem;
  font-size: 0.75rem;
  line-height: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--manatee);
  animation: fade-up 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── Motion ──────────────────────────────────────────────────────── */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-up {
  0%   { opacity: 0;    transform: translateY(32px); }
  60%  { opacity: 0.85; transform: translateY(6px); }
  100% { opacity: 1;    transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .page, .hero, .portfolio, .contact, footer { animation: none; }
}
