@font-face {
  font-family: 'Michroma';
  src: url('fonts/Michroma-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist Mono';
  src: url('fonts/GeistMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg:      #c8c5c0;
  --color-text-1:  #0e0e0e;
  --color-text-2:  #555555;
  --color-link:    #2d6b8a;
  --color-accent:  #7a5c42;

  --font-display: 'Michroma', system-ui, sans-serif;
  --font-body:    'Geist Mono', 'Courier New', monospace;

  --ls-display: 0.20em;
  --ls-tagline: 0.12em;
  --ls-nav:     0.15em;

  --michroma-stroke: 0.8px;

  --text-xs:   clamp(0.7rem,  0.65rem + 0.25vw, 0.8rem);
  --text-sm:   clamp(0.8rem,  0.75rem + 0.25vw, 0.9rem);
  --text-base: clamp(0.85rem, 0.8rem  + 0.25vw, 0.95rem);
  --text-lg:   clamp(1.1rem,  1rem    + 0.5vw,  1.5rem);
  --text-xl:   clamp(1.5rem,  1.2rem  + 1.2vw,  2.5rem);

  --padding-x:   clamp(1rem, 3vw, 2rem);
  --section-gap: clamp(1rem, 2.5vw, 1.75rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-1);
  background-color: var(--color-bg);
  padding: 0 var(--padding-x);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--color-accent);
}

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

header {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.nav-home {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: var(--ls-nav);
  text-transform: uppercase;
  -webkit-text-stroke: var(--michroma-stroke) currentColor;
}

.hero {
  margin-bottom: var(--section-gap);
}

.hero-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 0.4em;
  -webkit-text-stroke: var(--michroma-stroke) currentColor;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  letter-spacing: var(--ls-tagline);
  color: var(--color-text-2);
  line-height: 1.3;
  -webkit-text-stroke: var(--michroma-stroke) currentColor;
}

.photo-section {
  margin-bottom: var(--section-gap);
}

.profile-photo {
  display: block;
  width: clamp(180px, 30vw, 320px);
  height: auto;
}

.intro {
  max-width: 60ch;
  margin-bottom: var(--section-gap);
  line-height: 1.7;
}

.link-list {
  list-style: none;
  margin-bottom: 0.75rem;
}

.link-list li {
  margin-bottom: 0.5em;
}

.link-list a {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: var(--ls-nav);
  text-transform: uppercase;
  -webkit-text-stroke: var(--michroma-stroke) currentColor;
}

.secondary-section {
  margin-top: calc(var(--section-gap) * 2);
}

.secondary-link {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: var(--ls-nav);
  -webkit-text-stroke: var(--michroma-stroke) currentColor;
}

.page-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  letter-spacing: var(--ls-display);
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: var(--section-gap);
  -webkit-text-stroke: var(--michroma-stroke) currentColor;
}

.content-section {
  max-width: 60ch;
}

.content-section p {
  margin-bottom: 0.9em;
  line-height: 1.7;
}

.work-entry {
  margin-bottom: var(--section-gap);
}

.work-entry-header {
  margin-bottom: 0.6em;
  line-height: 1.5;
}

.work-entry-list {
  list-style: none;
}

.work-entry-list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 0.4em;
  line-height: 1.6;
}

.work-entry-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--color-text-2);
}

.contact-links {
  list-style: none;
}

.contact-links li {
  margin-bottom: 0.5em;
}

.bottom-cta {
  margin-top: var(--section-gap);
}

.bottom-cta a {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: var(--ls-nav);
  text-transform: uppercase;
  -webkit-text-stroke: var(--michroma-stroke) currentColor;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
  }
}
