:root {
  --bg: #050505;
  --text: #f1f1ed;
  --muted: #999994;
  --line: rgba(255, 255, 255, 0.11);
  --linkedin: #0a66c2;
  --max: 1440px;
  --pad: clamp(22px, 4vw, 64px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: #f2f2ed;
  color: #050505;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 14px;
  background: #fff;
  color: #000;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(90px, 11vh, 140px) var(--pad);
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  width: min(58vw, 760px);
  aspect-ratio: 1;
  right: -17vw;
  bottom: -38vh;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  filter: blur(95px);
  pointer-events: none;
}

.hero-visual {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,5,5,.96) 0%, rgba(5,5,5,.83) 50%, rgba(5,5,5,.45) 100%),
    linear-gradient(0deg, rgba(5,5,5,.65), rgba(5,5,5,.12)),
    url("images/hero.jpg") center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 880px);
  animation: enter 850ms cubic-bezier(.2,.7,.2,1) both;
}

h1,
h2 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.05em;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.35rem, 7vw, 7rem);
  line-height: 0.94;
}

.profile {
  margin-top: clamp(34px, 5vw, 56px);
  max-width: 740px;
}

.profile p {
  margin: 0;
  color: rgba(241, 241, 237, 0.72);
  font-size: clamp(0.98rem, 1.25vw, 1.14rem);
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.profile p + p {
  margin-top: 4px;
}

.contact-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 30px;
}

.email-link {
  color: rgba(241, 241, 237, 0.82);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,.28);
  padding-bottom: 3px;
  transition: color 160ms ease, border-color 160ms ease;
}

.email-link:hover {
  color: #fff;
  border-color: rgba(255,255,255,.75);
}

.linkedin-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 5px 11px 5px 7px;
  border-radius: 5px;
  background: var(--linkedin);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform 150ms ease, filter 150ms ease;
}

.linkedin-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.linkedin-mark {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 3px;
  background: #fff;
  color: var(--linkedin);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  line-height: 1;
}

/* Beyond work */

.passion {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(105px, 13vw, 190px) var(--pad) clamp(80px, 10vw, 145px);
}

.section-copy {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .8fr);
  column-gap: clamp(56px, 10vw, 180px);
  align-items: end;
  margin-bottom: clamp(52px, 7vw, 90px);
}

.eyebrow {
  grid-column: 1 / -1;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(3.2rem, 6.4vw, 6.9rem);
  line-height: .95;
}

.section-copy > p:last-child {
  margin: 0;
  max-width: 590px;
  color: rgba(241, 241, 237, .65);
  font-size: clamp(.98rem, 1.25vw, 1.15rem);
  line-height: 1.67;
  letter-spacing: -.01em;
}

/*
  SKYDIVING IMAGE
  Save your PNG as:
      images/skydiving.png

  No HTML or CSS changes are needed after that.
*/
.passion-image {
  min-height: clamp(440px, 64vw, 860px);
  background-color: #111;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.24)),
    url("images/skydiving.jpg");
  background-position: center, center 42%;
  background-size: cover, cover;
  background-repeat: no-repeat;
  border: 1px solid rgba(255,255,255,.07);
}

/* Footer */

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px var(--pad) 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: .8rem;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a {
  color: rgba(255,255,255,.62);
}

.footer-links a:hover {
  color: #fff;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-content { animation: none; }
}

@media (max-width: 760px) {
  .hero {
    min-height: 92svh;
    align-items: end;
    padding-bottom: 62px;
  }

  h1 {
    font-size: clamp(3.15rem, 15.5vw, 5.25rem);
  }

  .profile {
    margin-top: 34px;
  }

  .profile p {
    font-size: .96rem;
  }

  .section-copy {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-copy .eyebrow {
    margin-bottom: 2px;
  }

  .passion-image {
    min-height: 60vh;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .contact-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
