:root {
  /* palette — shrimp ramen on dark */
  --bg:       #141414;
  --surface:  #1f1f1f;
  --cream:    #fdebc1;
  --magenta:  #f477d6;
  --pink:     #fdb5e8;
  --yellow:   #f9d958;
  --lime:     #9fdd46;

  /* type */
  --font: "DM Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  --fs-display: clamp(2.5rem, 6vw + 1rem, 5rem);
  --fs-lede:    clamp(1.125rem, 0.6vw + 1rem, 1.375rem);
  --fs-body:    1rem;
  --fs-small:   0.875rem;

  /* rhythm */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  --measure: 36rem;
  --radius:  999px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.55;
  background: var(--bg);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- nav / header ---------- */
.site-nav {
  max-width: var(--measure);
  width: 100%;
  margin-inline: auto;
  padding: var(--space-md) var(--space-sm) var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.brand {
  font-weight: 500;
  font-size: var(--fs-small);
  letter-spacing: 0.01em;
  color: var(--cream);
  text-decoration: none;
}
.brand:hover { color: var(--yellow); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 1.15rem;
}
.nav-links a {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.icon-svg {
  width: 1em;
  height: 1em;
}

/* ---------- main column ---------- */
main {
  max-width: var(--measure);
  width: 100%;
  margin-inline: auto;
  padding: var(--space-md) var(--space-sm) var(--space-lg);
  flex: 1;
}

section + section { margin-top: var(--space-lg); }

/* ---------- hero ---------- */
.hero h1 {
  font-size: var(--fs-display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--cream);
  margin-bottom: var(--space-md);
}

.lede {
  font-size: var(--fs-lede);
  line-height: 1.45;
  color: var(--pink);
  max-width: 34rem;
}

/* ---------- portrait / duotone ---------- */
.portrait {
  display: flex;
  justify-content: center;
  margin-top: var(--space-xl);
}

.portrait .frame {
  width: min(320px, 72vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(244, 119, 214, 0.25);
}

.duotone {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: url(#duotone) contrast(1.05);
}

/* ---------- focus ---------- */
.focus p {
  max-width: 34rem;
  color: var(--cream);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) 0.625rem;
  margin-top: var(--space-md);
}

.tag {
  display: inline-block;
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--magenta);
  border-radius: var(--radius);
  color: var(--magenta);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 120ms ease, border-color 120ms ease, background-color 120ms ease;
}
.tag:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

/* ---------- contact ---------- */
.contact h2 {
  font-size: var(--fs-lede);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: var(--space-sm);
}
.contact-icons {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
}
.contact-icons a {
  font-size: 2.5rem;
  color: var(--magenta);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 120ms ease;
}
.contact-icons a:hover,
.contact-icons a:focus-visible { color: var(--yellow); }
.contact p { margin-bottom: var(--space-sm); }
.availability {
  color: var(--pink);
  font-size: var(--fs-small);
}

/* ---------- links ---------- */
a {
  color: var(--magenta);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 120ms ease;
}
a:hover,
a:focus-visible { color: var(--yellow); }

a:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- footer ---------- */
.site-footer {
  max-width: var(--measure);
  width: 100%;
  margin-inline: auto;
  padding: var(--space-md) var(--space-sm) var(--space-lg);
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--fs-small);
  color: var(--cream);
  opacity: 0.75;
}

.site-footer .dot {
  color: var(--lime);
  font-size: 1rem;
  line-height: 1;
}

/* ---------- reduced motion guard ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
