@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/geist-regular.ttf') format('truetype');
}

@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 450 500;
  font-display: swap;
  src: url('../fonts/geist-medium.ttf') format('truetype');
}

:root {
  color-scheme: dark;
  --background: #0e0e0e;
  --foreground: #b1b0ae;
  --bright: #fefefe;
  --muted: #858585;
  --hover: #1f1f1f;
  --dropdown-duration: 280ms;
  --dropdown-easing: cubic-bezier(.22,1,.36,1);
  font-family: Geist,Arial,sans-serif;
  color: var(--foreground);
  background: var(--background);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -.01em;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

p,h1,h2,h3 {
  margin: 0;
}

button,a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

a {
  color: var(--bright);
  text-decoration: none;
}

a:hover {
  text-decoration: underline dotted;
}

button:focus-visible,a:focus-visible,.carousel:focus-visible {
  outline: 2px solid var(--foreground);
  outline-offset: 5px;
  border-radius: 6px;
}

.container {
  width: min(550px,calc(100% - 40px));
  margin-inline: auto;
}

.portrait {
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

h1,h2 {
  font-size: 18px;
  font-weight: 500;
  color: var(--bright);
}

h2 {
  line-height: 1.45;
}

.bright {
  color: var(--bright);
}

.footer-copy {
  line-height: 1.5;
}

.section {
  padding-block: 50px;
}

.section-content {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.signoff {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.contact-links a {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  line-height: 1.45;
  transition: color 160ms ease;
}

.contact-links a:is(:hover,:focus-visible) {
  color: var(--bright);
}

@media (max-width: 600px) {
  .section-content {
    gap: 32px;
  }
}

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .contact-links a {
    transition: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

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

.skip-link:focus {
  transform: none;
}

#main-content:focus {
  outline: none;
}

.contact-links a {
  min-height: 24px;
}

.link-label {
  display: inline-block;
  position: relative;
}

.link-label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 380ms cubic-bezier(.22,1,.36,1);
}

:is(a,button):is(:hover,:focus-visible) .link-label::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .link-label::after {
    transition: none;
  }
}

@media (forced-colors: active) {
  .link-label {
    text-decoration: underline;
  }
}

portfolio-footer {
  display: block;
}

html,body {
  cursor: url('../cursors/normal-20.png') 4 4, auto;
}

a,button,summary,input,select,textarea,[role="button"],[role="link"],[role="slider"],[contenteditable="true"],input[type="range"] {
  cursor: url('../cursors/select-20.png') 8 3, pointer;
}

.contact-links a,.contact-links a:hover {
  text-decoration: none;
}

@media (prefers-reduced-motion: no-preference) {
  .appear {
    animation: appear 450ms ease-out var(--appear-delay, 0ms) backwards;
  }

  .appear:focus-within {
    animation: none;
  }
}

@keyframes appear {
  from {
    opacity: 0;
    filter: blur(8px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}
