/*




  __  __  __  __
/\ \/\ \/\ \/\ \
\ \ \ \ \ \ \ \ \
 \ \ \ \ \ \ \ \ \
  \ \ \_/ \ \ \_/ \
   \ `\___/\ `\___/
    `\/__/  `\/__/




*/

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

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

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

:root {
  --background: oklch(99.04% 0.0032 17.08);
  --ink: oklch(45.23% 0.0276 285.25);
  --muted: oklch(60.05% 0.018 285.84);
  --faint: oklch(73.76% 0.0128 286.08);
  --border: oklch(93.49% 0.004 286.32);
  --underline: oklch(93.49% 0.004 286.32);
  --font-size: 14px;
  --stagger: 100ms;
  --gradient-1: oklch(67.26% 0.1623 243.44);
  --gradient-2: oklch(58.91% 0.2157 278.96);
  --gradient-3: oklch(68.02% 0.2577 318.92);
  --gradient-4: oklch(69.47% 0.2185 340.63);
  --gradient-5: oklch(68.91% 0.2165 2.23);
  --gradient-6: oklch(70.09% 0.1903 27.80);
  --gradient-7: oklch(74.65% 0.1764 54.90);
  --beacon: oklch(0.8761 0.2541 138.86);
  --beacon-off: oklch(93.49% 0.004 286.32);
}

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

body {
  min-block-size: 100svh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: 'mono', monospace;
  font-size: var(--font-size);
  line-height: 1.5;
  background: var(--background);
  color: var(--ink);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 112px;
  padding-block-start: 128px;

  @media (width <= 720px) {
    gap: 80px;
    padding-block-start: 112px;
  }
}

a {
  color: inherit;
}

a, .email {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--underline);
}

:focus-visible {
  outline: 1px dashed var(--ink);
  outline-offset: 4px;
  border-radius: 2px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero, .bio, .currently, .details, footer {
  opacity: 0;
  animation: rise 0.6s ease both;
}

.hero { animation-delay: 0s; }
.bio { animation-delay: var(--stagger); }
.currently { animation-delay: calc(var(--stagger) * 2); }
.details { animation-delay: calc(var(--stagger) * 3); }
footer { animation-delay: calc(var(--stagger) * 4); }

.hero {
  padding-inline: 24px;
  text-align: center;
  font-family: 'isenheim', serif;
  font-weight: 400;
  font-size: clamp(44px, 5.5vw, 88px);
  line-height: 1.5;
}

.hero .name {
  background: radial-gradient(circle at 0 0 in oklch, var(--gradient-1) 0%, var(--gradient-2) 18.82%, var(--gradient-3) 32.6%, var(--gradient-4) 52.83%, var(--gradient-5) 68.03%, var(--gradient-6) 87.66%, var(--gradient-7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.info {
  inline-size: 100%;
  max-inline-size: 1040px;
  align-self: center;
  padding-inline: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px 112px;
  align-items: start;

  @media (width <= 720px) {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding-inline: 24px;
  }
}

.label {
  text-transform: uppercase;
  color: var(--muted);
}

.column {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.bio, .currently {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bio p {
  text-wrap: pretty;
}

.rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.divider {
  border-block-start: 1px dotted var(--border);
}

.note {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  color: var(--muted);
}

.note svg {
  inline-size: 14px;
  aspect-ratio: 1;
}

.details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-block-size: 20px;
}

.logo {
  inline-size: 32px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
}

a:has(.logo) {
  display: inline-flex;
  border-radius: 50%;
  transition: transform 0.15s ease;
}

a:has(.logo):hover {
  transform: scale(1.05);
}

a:has(.logo):active {
  transform: scale(0.9);
}

.services, .clients {
  color: var(--ink);
  line-height: 1.6;
  text-wrap: pretty;
}

.available {
  display: flex;
  align-items: center;
  gap: 8px;
}

.beacon {
  inline-size: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--beacon);
  animation: beacon 1.2s step-start infinite;
}

@keyframes beacon {
  50% {
    background: var(--beacon-off);
  }
}

.email {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  cursor: pointer;
}

footer {
  display: flex;
  justify-content: center;
  padding-block: 96px 32px;
  padding-inline: 40px;
  font-family: 'reader', sans-serif;
  font-size: 10px;
  color: var(--faint);

  @media (width <= 720px) {
    padding-block: 64px 24px;
    padding-inline: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero, .bio, .currently, .details, footer {
    opacity: 1;
    animation: none;
  }

  .beacon {
    animation: none;
    background: var(--beacon);
  }
}

.trail {
  position: fixed;
  inset-block-start: -4px;
  inset-inline-start: -4px;
  inline-size: 8px;
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 1;
}

::selection {
  background: var(--faint);
  color: var(--background);
}