:root {
  --bg: #edf1f1;
  --bg-soft: #f6f8f8;
  --bg-band: #e3e8e8;
  --ink: #0b0f10;
  --ink-body: #171d1d;
  --muted: #4f5a5a;
  --meta: #7b8586;
  --paper: #fbfcfc;
  --paper-hover: #eef2f2;
  --line: #c2cccc;
  --line-soft: #dce4e4;
  --signal-green: #b2fe39;
  --gem-green: #0ba309;
  --electric-blue: #0000fe;
  --chrome-silver: #c7d0d1;
  --smoke-shadow: rgba(31, 46, 45, 0.1);
  --sans: "Helvetica Neue", "Nimbus Sans L", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

html {
  min-width: 300px;
  background: var(--bg-band);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--bg-band);
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: var(--ink);
  color: white;
  font: 0.75rem/1 var(--mono);
  letter-spacing: 0.04em;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.page-shell {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: start center;
}

.link-page {
  width: min(100%, 34rem);
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 0 2.5rem var(--smoke-shadow);
}

.profile {
  padding: clamp(2rem, 7vw, 3.5rem) clamp(1.5rem, 7vw, 3.5rem)
    clamp(1.6rem, 5vw, 2.75rem);
}

.portrait {
  width: clamp(8.5rem, 37vw, 11.25rem);
  aspect-ratio: 1;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--chrome-silver);
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--line);
}

.portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.identity {
  margin-top: clamp(1.75rem, 7vw, 3rem);
}

.identity h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.5rem, 12.3vw, 4.8rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.075em;
  white-space: nowrap;
}

.identity h1 span {
  display: inline-block;
  margin-left: 0.04em;
  font-size: 0.68em;
  letter-spacing: -0.18em;
  vertical-align: 0.06em;
}

.role,
.tagline {
  margin: 0;
  font-family: var(--mono);
  color: var(--muted);
}

.role {
  margin-top: clamp(1.1rem, 4vw, 1.65rem);
  color: var(--ink-body);
  font-size: clamp(0.68rem, 2.7vw, 0.8rem);
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tagline {
  margin-top: 0.42rem;
  font-size: clamp(0.86rem, 3.8vw, 1.2rem);
  line-height: 1.45;
  letter-spacing: 0.055em;
}

.signal-line {
  display: flex;
  align-items: center;
  width: 52%;
  margin-top: clamp(1.5rem, 5vw, 2rem);
}

.signal-line::before {
  width: 0.7rem;
  height: 0.7rem;
  flex: 0 0 auto;
  background: var(--signal-green);
  content: "";
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

.signal-line span {
  width: 100%;
  height: 1px;
  background: var(--meta);
}

.chrome-rail {
  height: 0.78rem;
  border-block: 1px solid var(--ink);
  background:
    linear-gradient(
      115deg,
      #090b0c 0%,
      #5f6869 10%,
      #f8fbfb 18%,
      #b8c2c3 26%,
      #2a3031 38%,
      #e6eeee 50%,
      #8e999a 62%,
      #ffffff 72%,
      #3d4546 84%,
      #cbd4d5 100%
    );
  background-size: 180% 100%;
  animation: chrome-shift 12s ease-in-out infinite alternate;
}

.link-list {
  border-bottom: 1px solid var(--line);
}

.link-row {
  position: relative;
  min-height: clamp(10.5rem, 42vw, 13.75rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(3.3rem, 16vw, 5.2rem);
  grid-template-rows: auto 1fr;
  gap: 1.1rem clamp(1rem, 4vw, 1.65rem);
  padding: clamp(1.5rem, 6vw, 2.25rem) clamp(1.5rem, 7vw, 3.5rem);
  overflow: hidden;
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition: background-color 180ms ease;
}

.link-row::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--signal-green);
  content: "";
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 220ms ease;
}

.link-number {
  grid-column: 1 / -1;
  color: var(--ink);
  font: clamp(0.85rem, 3.5vw, 1.05rem)/1 var(--mono);
  letter-spacing: 0.04em;
}

.link-copy {
  min-width: 0;
  align-self: center;
}

.link-copy strong,
.link-copy > span {
  display: block;
}

.link-copy strong {
  color: var(--ink);
  font-size: clamp(1.75rem, 7.4vw, 2.75rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.link-copy strong.long-title {
  font-size: clamp(1.3rem, 6vw, 2rem);
  white-space: nowrap;
}

.link-copy > span {
  max-width: 24rem;
  margin-top: clamp(0.75rem, 3vw, 1rem);
  color: var(--muted);
  font: clamp(0.72rem, 3vw, 0.94rem)/1.45 var(--mono);
  letter-spacing: 0.015em;
}

.link-action {
  position: relative;
  align-self: stretch;
  display: grid;
  place-items: center end;
  padding-left: clamp(0.8rem, 4vw, 1.4rem);
}

.signal-edge {
  position: absolute;
  inset: 0 auto 0 0;
  width: 1px;
  background: var(--signal-green);
  transform: scaleY(0.72);
  transition: transform 220ms ease;
}

.link-action svg {
  width: clamp(2.35rem, 10vw, 3.4rem);
  height: auto;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.45;
  transition: transform 220ms ease;
}

.link-row:hover {
  background: var(--paper-hover);
}

.link-row:hover::before,
.link-row:focus-visible::before {
  transform: scaleY(1);
}

.link-row:hover .signal-edge,
.link-row:focus-visible .signal-edge {
  transform: scaleY(1);
}

.link-row:hover .link-action svg,
.link-row:focus-visible .link-action svg {
  transform: translate(0.2rem, -0.2rem);
}

.link-row:focus-visible {
  z-index: 1;
  outline: 2px solid var(--gem-green);
  outline-offset: -3px;
}

.footer-rule {
  height: clamp(1.75rem, 6vw, 2.75rem);
  border-bottom: 1px solid var(--line);
}

@keyframes chrome-shift {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

@media (max-width: 359px) {
  .identity h1 {
    font-size: 2.3rem;
  }

  .profile,
  .link-row {
    padding-inline: 1.25rem;
  }

  .link-copy strong {
    font-size: 1.55rem;
  }

  .link-copy strong.long-title {
    font-size: 1.25rem;
  }
}

@media (min-width: 35rem) {
  .link-page {
    border-inline: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
