@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  src: url("/fonts/Geist-Variable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/GeistMono-Variable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --surface: #12100e;
  --surface-raised: #1c1916;
  --surface-sunken: #0b0a08;
  --line: #2f2a26;
  --line-strong: #71675f;
  --ink: #f3eee8;
  --ink-muted: #aba197;
  --copper: #e8894b;
  --copper-hover: #f29c62;
  --on-copper: #1a0d05;
  --copper-soft: #3a2416;
  --copper-on-graphite: #ee8e4f;
  --focus: #8db8e3;

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-sans: "Geist", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 140ms;
  --t-med: 220ms;
  --t-slow: 320ms;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--surface);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--ink);
  font: 400 16px/26px var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.page {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 16px 32px;
}

/* Intro */

.intro { text-align: center; }

.avatar {
  position: relative;
  width: 144px;
  height: 144px;
  margin: 0 auto 24px;
}

/* The one allowed effect: a soft copper light behind the portrait. */
.avatar::before {
  content: "";
  position: absolute;
  inset: -24px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(238 142 79 / 0.32), rgb(238 142 79 / 0) 100%);
  pointer-events: none;
}

.avatar img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface-sunken);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--ink-muted);
  font: 500 12px/16px var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.streak {
  width: 32px;
  height: 8px;
  flex: none;
  fill: var(--copper);
}

h1 {
  margin: 0 0 12px;
  font: 800 44px/48px var(--font-display);
  font-variation-settings: "opsz" 72;
  letter-spacing: -0.03em;
}

.accent { color: var(--copper); }

.lede {
  max-width: 36ch;
  margin: 0 auto 32px;
  color: var(--ink-muted);
}

/* Links */

.group {
  margin: 32px 0 12px;
  color: var(--ink-muted);
  font: 500 12px/16px var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.link {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-raised);
  color: var(--ink);
  text-decoration: none;
  transition:
    border-color var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease);
}

.link:hover { border-color: var(--line-strong); }

.label {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  font: 550 16px/22px var(--font-sans);
}

.meta {
  overflow: hidden;
  color: var(--ink-muted);
  font: 400 13px/18px var(--font-mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.link > .icon:first-child { color: var(--copper); }

.go {
  width: 20px;
  height: 20px;
  color: var(--ink-muted);
  transition: transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.link:hover .go {
  color: var(--ink);
  transform: translate(2px, -2px);
}

/* The single primary action on the page. */
.link--primary {
  border-color: var(--copper);
  background: var(--copper);
  color: var(--on-copper);
}

.link--primary:hover {
  border-color: var(--copper-hover);
  background: var(--copper-hover);
}

.link--primary > .icon:first-child,
.link--primary .meta,
.link--primary .go,
.link--primary:hover .go { color: var(--on-copper); }

/* E-mail row: mailto link plus a copy button. */
.split { display: flex; gap: 8px; }
.split .link { flex: 1; min-width: 0; }

.copy {
  display: grid;
  place-items: center;
  width: 64px;
  flex: none;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-raised);
  color: var(--ink-muted);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.copy:hover { border-color: var(--line-strong); color: var(--ink); }
.copy[data-done] { color: var(--copper); }

.status {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--ink-muted);
  font: 400 14px/20px var(--font-sans);
  text-align: center;
}

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

/* Footer */

.foot {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.foot img { display: block; height: 24px; width: auto; }

.foot p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ink-muted);
  font: 400 14px/20px var(--font-sans);
}

/* Entry: a quick slide in from the left, once. */
@media (prefers-reduced-motion: no-preference) {
  .intro, nav, .foot {
    animation: enter var(--t-slow) var(--ease) both;
  }
  nav { animation-delay: 60ms; }
  .foot { animation-delay: 120ms; }

  @keyframes enter {
    from { opacity: 0; transform: translateX(-12px); }
    to { opacity: 1; transform: none; }
  }
}

@media (min-width: 640px) {
  .page { padding-top: 80px; }
  h1 { font-size: 52px; line-height: 56px; }
}

@media (forced-colors: active) {
  .link, .copy { border-color: CanvasText; }
  .streak { fill: CanvasText; }
}
