:root {
  color-scheme: dark;
  --bg: #0e0f11;
  --surface: #17181b;
  --text: #f3f3f5;
  --body: #c8c9ce;
  --muted: #9a9ba1;
  --border: #292a31;
  --soft: #22232a;
  --accent: #7f9d94;
  --shadow: 0 1px 2px rgb(0 0 0 / 35%), 0 8px 24px rgb(0 0 0 / 24%);
  --radius: 16px;
  --content: 1060px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(ellipse at 12% 25%, rgb(127 157 148 / 10%), transparent 48%),
    radial-gradient(ellipse at 90% 85%, rgb(127 157 148 / 8%), transparent 42%), var(--bg);
  color: var(--text);
  font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  transition: background-color .2s ease, color .2s ease;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 70%, transparent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

h1, h2, h3 { font-family: Huninn, "Source Sans 3", sans-serif; }

.hero {
  padding: clamp(64px, 8vw, 96px) 24px clamp(72px, 9vw, 108px);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.avatar { object-fit: cover; border-radius: 50%; }

.avatar-large {
  width: 92px;
  height: 92px;
  margin: 0 auto 22px;
  border: 4px solid var(--surface);
  box-shadow: var(--shadow);
}

.avatar-medium { width: 88px; height: 88px; }

.eyebrow {
  margin: 0 0 13px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.15rem, 4.5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.hero-copy {
  max-width: 620px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 1rem;
  text-wrap: pretty;
}

.section {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.section { padding: clamp(62px, 8vw, 88px) 0; }
.section + .section { border-top: 1px solid var(--border); }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: center;
  text-align: center;
  gap: 30px;
  margin-bottom: 34px;
}

.section-heading h2, .about-copy h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.5vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  text-align: center;
}

.about-copy > p:last-child {
  max-width: 620px;
  margin: 25px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.work-section {
  border-top: 1px solid var(--border);
}

.experience-panel {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.timeline {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  list-style: none;
}

.timeline li {
  flex: 0 1 calc((100% - 28px) / 3);
  min-width: 0;
  text-align: center;
  min-height: 112px;
  padding: 17px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.timeline time {
  margin-bottom: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}
.timeline strong { line-height: 1.3; }


.profile-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px auto 0;
  padding: 0;
  list-style: none;
}
.profile-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--muted);
  transition: color .18s ease, background-color .18s ease;
}
.profile-links a:hover { color: var(--text); background: var(--surface); }
.profile-links svg { width: 22px; height: 22px; }
.business-section { max-width: 560px; margin: 44px auto 0; }
.business-section h2 { margin: 0 0 22px; font-size: 1.5rem; line-height: 1.2; text-align: center; }
.business-links { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; text-align: left; }
.business-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .18s ease, transform .18s ease;
}
.business-links a:hover { border-color: var(--accent); transform: translateY(-2px); }
.business-links a > span { min-width: 0; }
.business-links strong { display: block; font-size: 1.05rem; overflow-wrap: anywhere; }
.business-links small { display: block; margin-top: 4px; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.business-links svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent); }

.business-domain { display: block; margin-top: 3px; color: var(--accent); font-size: .85rem; overflow-wrap: anywhere; }
.business-links small { margin-top: 10px; color: var(--body); }

/* Translucent surfaces retain a readable tint when blur is unavailable. */
.business-links a, .experience-panel, .timeline li {
  background: linear-gradient(135deg, rgb(255 255 255 / 7%), rgb(255 255 255 / 2%)), rgb(23 24 27 / 60%);
  border: 1px solid rgb(255 255 255 / 13%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 6%), 0 8px 28px rgb(0 0 0 / 15%);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.business-links a:hover { border-color: var(--accent); }

@media (max-width: 900px) {
  .timeline li { flex-basis: calc((100% - 14px) / 2); }
}
@media (max-width: 620px) {
  .hero { padding-inline: 20px; }
  .section { width: calc(100% - 32px); }
  .timeline li { flex-basis: 100%; }
  .timeline li { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
