:root {
  color-scheme: light;
  --ink: #17171a;
  --muted: #68686f;
  --paper: #f3f1ec;
  --line: #d7d3ca;
  --accent: #5d4b92;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-underline-offset: .2em; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 20; padding: .75rem 1rem; background: white; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem clamp(1rem, 4vw, 4rem); background: rgb(243 241 236 / 92%); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgb(0 0 0 / 7%); }
.brand { font-weight: 700; text-decoration: none; }
nav { display: flex; align-items: center; gap: clamp(.7rem, 2vw, 1.5rem); font-size: .9rem; }
nav a { text-decoration: none; }
.pdf-link, .cta { display: inline-flex; padding: .65rem .9rem; border: 1px solid var(--ink); border-radius: 999px; text-decoration: none; }
.hero { max-width: 72rem; min-height: 54vh; display: grid; align-content: center; padding: clamp(5rem, 12vw, 10rem) clamp(1rem, 6vw, 6rem); margin: auto; }
.eyebrow { color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 12ch; margin: .2em 0; font-family: Georgia, serif; font-size: clamp(3rem, 9vw, 8rem); font-weight: 500; line-height: .9; }
.hero > p:not(.eyebrow) { max-width: 44rem; color: var(--muted); font-size: clamp(1rem, 2vw, 1.25rem); }
.role { color: var(--ink) !important; }
.cta { justify-self: start; margin-top: 1rem; background: var(--ink); color: white; }
.portfolio { width: min(94vw, 100rem); margin: 0 auto; }
.portfolio-page { scroll-margin-top: 5rem; margin: 0 0 clamp(1.25rem, 3vw, 3rem); }
.portfolio-page img { display: block; width: 100%; height: auto; background: #ddd; box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 12%); }
figcaption { padding: .65rem 0; color: var(--muted); font-size: .78rem; }
footer { display: grid; gap: 1rem; max-width: 72rem; margin: auto; padding: clamp(4rem, 10vw, 8rem) clamp(1rem, 6vw, 6rem); border-top: 1px solid var(--line); }
footer h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 6vw, 5rem); font-weight: 500; }
.contacts { display: flex; flex-wrap: wrap; gap: 1.25rem; }
@media (max-width: 760px) {
  .site-header { align-items: flex-start; }
  nav a:not(.pdf-link) { display: none; }
  .hero { min-height: 46vh; }
  .portfolio { width: calc(100vw - 1.25rem); }
  figcaption { padding-inline: .25rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

