
:root {
  --ink: #f2f1ed;
  --accent: #31d1df;
  --deep: #020708;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font-family: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial,
    sans-serif;
}

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

.portfolio-shell {
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(110% 72% at 34% 64%, rgba(172, 200, 203, 0.73) 0%, rgba(76, 119, 124, 0.58) 28%, rgba(18, 50, 53, 0.32) 49%, transparent 72%),
    radial-gradient(65% 58% at 1% 10%, rgba(35, 78, 80, 0.68), transparent 69%),
    linear-gradient(113deg, #10292c 0%, #061012 47%, #010303 100%);
}

.hero {
  position: relative;
  width: min(100%, 1920px);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(7rem, 12vh, 11rem) 8vw 6rem 12vw;
}

.hero-copy {
  width: min(55rem, 61vw);
}

h1 {
  margin: 0;
  font-size: clamp(3.5rem, 5vw, 5.45rem);
  font-stretch: condensed;
  font-weight: 300;
  letter-spacing: 0.025em;
  line-height: 1;
}

.role {
  margin: 2rem 0 2.4rem;
  color: var(--accent);
  font-size: clamp(1.25rem, 1.75vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.42em;
  white-space: nowrap;
}

.bio {
  max-width: 48rem;
  margin: 0;
  font-size: clamp(1.25rem, 1.55vw, 1.72rem);
  font-weight: 300;
  letter-spacing: 0.025em;
  line-height: 1.52;
}

.actions {
  display: flex;
  gap: clamp(2.5rem, 5vw, 5rem);
  margin-top: clamp(3rem, 5vh, 4.5rem);
}

.actions a {
  min-width: 13.4rem;
  padding: 0.84rem 1.6rem 0.76rem;
  background: #f5f4f0;
  color: #111;
  font-size: 1.72rem;
  line-height: 1;
  text-align: center;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.actions a:hover,
.actions a:focus-visible {
  background: var(--accent);
  color: #071112;
  transform: translateY(-2px);
  outline: none;
}

.tool-rail {
  position: absolute;
  top: clamp(7.2rem, 12.2vh, 11.2rem);
  left: calc(12vw - 5rem);
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  width: 3.5rem;
  color: var(--ink);
}

.tool-rail span {
  display: grid;
  place-items: center;
  height: 3.05rem;
  font-size: 2.7rem;
  font-weight: 600;
  line-height: 1;
}

.tool-rail span:nth-child(2) {
  transform: rotate(-18deg);
}

.connector {
  position: relative;
  width: 33rem;
  height: 5rem;
  margin: 0 0 0 -4.9rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.84);
  border-left: 2px solid rgba(255, 255, 255, 0.84);
  border-bottom-left-radius: 5rem;
}

.dot {
  position: absolute;
  width: 0.48rem;
  height: 0.48rem;
  background: #fff;
}

.dot-a { bottom: -0.28rem; left: -0.28rem; }
.dot-b { bottom: -0.28rem; left: 6rem; }
.dot-c { right: -0.24rem; bottom: -0.28rem; }

.desktop-social {
  position: absolute;
  top: 42%;
  right: 10.5%;
  display: flex;
  gap: 7.6rem;
  color: var(--accent);
  font-size: 1.25rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.desktop-social a,
.mobile-social a {
  transition: color 160ms ease;
}

.desktop-social a:hover,
.desktop-social a:focus-visible,
.mobile-social a:hover,
.mobile-social a:focus-visible {
  color: #fff;
  outline: none;
}

.mobile-social {
  display: none;
}

@media (max-width: 860px) {
  .portfolio-shell {
    background:
      radial-gradient(95% 46% at 43% 58%, rgba(161, 195, 199, 0.75) 0%, rgba(74, 117, 121, 0.56) 38%, transparent 73%),
      radial-gradient(80% 40% at 6% 4%, rgba(38, 80, 82, 0.66), transparent 70%),
      linear-gradient(162deg, #102a2c 0%, #020606 32%, #16373a 69%, #020506 100%);
  }

  .hero {
    min-height: max(100svh, 64rem);
    padding: 4.2rem 6vw 8rem 21vw;
  }

  .hero-copy {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.7rem, 8.4vw, 4.65rem);
    white-space: nowrap;
  }

  .role {
    margin: 1.8rem 0 2.7rem;
    font-size: clamp(0.92rem, 3vw, 1.5rem);
    letter-spacing: 0.34em;
  }

  .bio {
    width: 100%;
    font-size: clamp(1.15rem, 4.1vw, 1.55rem);
    line-height: 1.52;
  }

  .tool-rail {
    top: 3.9rem;
    left: 5.8vw;
    gap: 0.45rem;
    width: 3.7rem;
  }

  .tool-rail span {
    height: clamp(2.7rem, 8.5vw, 3.5rem);
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .actions {
    justify-content: space-between;
    gap: 1.2rem;
    margin-top: 4rem;
  }

  .actions a {
    min-width: 0;
    width: 47%;
    padding: 0.9rem 0.8rem 0.78rem;
    font-size: clamp(1.35rem, 4.7vw, 1.9rem);
  }

  .connector {
    width: 92%;
    height: 4.5rem;
    margin-left: -4.4rem;
  }

  .desktop-social {
    display: none;
  }

  .mobile-social {
    display: flex;
    justify-content: space-between;
    width: 86%;
    margin: 3.4rem 0 0;
    color: var(--accent);
    font-size: clamp(1.15rem, 4vw, 1.55rem);
  }
}

@media (max-width: 430px) {
  .hero {
    padding-left: 20vw;
  }

  .role {
    letter-spacing: 0.27em;
  }

  .bio {
    font-size: 1.04rem;
  }

  .connector {
    margin-left: -3.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
