/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  --paper: #FFFFFF;
  --ink: #111111;
  --ink-soft: #8A8A8A;

  --mono: 'IBM Plex Mono', 'Courier New', monospace;
  --nav-h: 150px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: arial;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1 { margin: 0; }
p { margin: 0; }

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

/* ==========================================================================
   Wordmark
   ========================================================================== */
.logo-container {
  width: 100%;
  text-align: center;
  padding: 24px 0 40px;
}
.logo {
  display: inline-block;
  width: 150px;
  max-width: 40vw;
  height: auto;
}

/* ==========================================================================
   About page
   ========================================================================== */
.about-eyebrow {
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 clamp(40px, 7vw, 80px);
}
.about-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 160px;
}
.about-layout {
  display: flex;
  justify-content: center;
  gap: 60px;
  align-items: flex-start;
}
.about-bio {
  flex: 0 0 auto;
  width: 460px;
}
.about-bio p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 24px;
}
.about-contact { margin-top: 16px; }
.about-contact a {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
  position: relative;
  width: fit-content;
}
.about-contact a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}
.about-contact a:hover::after { transform: scaleX(1); transform-origin: left; }

.about-portrait { flex: 0 0 320px; }
.about-portrait .work-frame { width: 320px; aspect-ratio: 4 / 5; }

@media (max-width: 900px) {
  .about-layout { flex-direction: column; align-items: center; }
  .about-bio { text-align: center; width: 100%; max-width: 320px; }
  .about-bio p { text-align: center; }
  .about-contact { display: flex; flex-direction: column; align-items: center; }
  .about-contact a { margin-left: auto; margin-right: auto; }
  .about-portrait { width: 100%; max-width: 320px; }
  .about-portrait .work-frame { width: 100%; }

}
@media (max-width: 480px) {
  .about-wrap { padding-left: 10px; padding-right: 10px; }
}

/* ==========================================================================
   Fixed bottom nav with gradient scrim
   ========================================================================== */
.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--nav-h);
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.85) 55%, rgba(255,255,255,1) 85%);
  pointer-events: none;
  z-index: 10;
}
.site-footer .footer-inner {
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 30px 23px;
}
.site-footer a {
  pointer-events: auto;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--ink);
  position: relative;
}
.site-footer a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}
.site-footer a:hover::after,
.site-footer a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* HOME BUTTON */
.home-link {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
}
.home-icon { display: block; height: 35px; width: auto; padding-bottom: 10px; }
.home-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}
.home-link:hover::after,
.home-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}