/* =============================================================
   Tokens — change these first to reskin the whole site.
   ============================================================= */
:root {
  --bg: #0a0a0b;
  --bg-elev: #121215;
  --bg-card: #15151a;
  --border: #26262e;
  --border-strong: #3a3a45;
  --text: #ecedf0;
  --text-dim: #9a9aa5;
  --text-faint: #5e5e6a;
  --accent: #7cf0c1;          /* electric mint — swap for your color */
  --accent-soft: rgba(124, 240, 193, 0.12);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1100px;
  --radius: 14px;
  --radius-sm: 8px;
}

/* =============================================================
   Reset-ish
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-weight: 300;
}

::selection { background: var(--accent); color: #000; }

/* =============================================================
   Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 24px clamp(20px, 5vw, 64px) 64px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-color: #1a1a22; /* fallback if image fails to load */
  background-size: cover;
  background-position: 30% center; /* keeps Emma visible when sides crop on narrow viewports */
  filter: contrast(1.05) saturate(1.05);
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  /* Light at the top so the photo reads as a hero, heavier at the bottom
     where the name + summary sit so text stays sharp. */
  background: linear-gradient(
    180deg,
    rgba(10, 10, 11, 0.10) 0%,
    rgba(10, 10, 11, 0.18) 35%,
    rgba(10, 10, 11, 0.55) 70%,
    rgba(10, 10, 11, 0.92) 100%
  );
  z-index: 1;
}

.nav, .hero__content, .hero__scroll {
  position: relative;
  z-index: 2;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
}

.nav__mark {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.nav__links {
  display: flex;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.nav__links a {
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.nav__links a:hover { color: var(--text); }

.hero__content {
  max-width: var(--container);
  width: 100%;
  margin: auto auto 0;
  padding: clamp(40px, 12vh, 120px) 0 32px;
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  margin: 0 0 16px;
  letter-spacing: 0.04em;
}

.hero__name {
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  line-height: 1;
}

.hero__summary {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 0 36px;
  font-weight: 300;
}

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn--primary {
  background: var(--accent);
  color: #07120e;
  font-weight: 500;
}

.btn--primary:hover {
  transform: translateY(-1px);
  background: #9ff5d2;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero__scroll {
  margin: 32px auto 0;
  max-width: var(--container);
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-faint);
  letter-spacing: 0.1em;
}

/* =============================================================
   Sections
   ============================================================= */
.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(80px, 12vh, 140px) clamp(20px, 5vw, 64px);
}

.section__head { margin-bottom: 56px; }

.section__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  margin: 0 0 12px;
}

.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 720px;
}

/* =============================================================
   Cards
   ============================================================= */
.cards {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.card__media {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-elev); /* fallback if image fails to load */
}

.card__body { padding: 24px 24px 26px; }

.card__role {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}

.card__title {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--text);
}

.card__text {
  font-size: 0.95rem;
  color: var(--text-dim);
  margin: 0 0 18px;
}

.card__link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.card__link:hover { border-bottom-color: var(--accent); }

/* =============================================================
   Contact
   ============================================================= */
.section--contact {
  border-top: 1px solid var(--border);
  text-align: left;
}

.contact__lead {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin: 16px 0 32px;
  max-width: 560px;
}

.contact__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--font-mono);
}

.contact__links a {
  color: var(--text);
  font-size: 1rem;
  display: inline-block;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 4px;
  transition: color 0.2s ease, border-color 0.2s ease;
  width: fit-content;
}

.contact__links a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* =============================================================
   Footer
   ============================================================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px clamp(20px, 5vw, 64px);
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-faint);
}

/* =============================================================
   Small screens
   ============================================================= */
@media (max-width: 640px) {
  .nav__links { gap: 18px; }
  .hero__cta { width: 100%; }
  .btn { flex: 1; justify-content: center; }
  .footer { flex-direction: column; gap: 8px; }
}
