@font-face {
  font-family: "Archivo";
  src: url("fonts/Archivo-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("fonts/Archivo-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("fonts/Archivo-Black.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #f7f7f5;
  --paper: #050505;
  --blue: #3137ff;
  --muted: rgba(247, 247, 245, 0.62);
  --line: rgba(247, 247, 245, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
}

.profile-page {
  width: min(100%, 1600px);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 72px);
}

.profile-header,
.profile-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.profile-header {
  padding-bottom: clamp(64px, 10vw, 160px);
}

.brand {
  display: block;
  width: clamp(170px, 20vw, 310px);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.eyebrow,
.profile-label,
.profile-footer {
  margin: 0;
  font-size: clamp(0.7rem, 0.8vw, 0.86rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--muted);
}

.profile-label {
  color: var(--blue);
}

.profile h1 {
  max-width: 11ch;
  margin: 18px 0 clamp(64px, 10vw, 150px);
  font-size: clamp(4rem, 13vw, 13rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.78;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr);
  gap: clamp(52px, 10vw, 180px);
  padding: clamp(32px, 4vw, 64px) 0 clamp(80px, 12vw, 180px);
  border-top: 1px solid var(--line);
}

.profile-grid h2 {
  margin: 0 0 28px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bio {
  max-width: 900px;
}

.bio p {
  margin: 0 0 1.2em;
  font-size: clamp(1.35rem, 2.5vw, 2.65rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.bio a {
  text-decoration-color: var(--blue);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.12em;
}

.bio .official-note {
  margin-top: 2.5em;
  color: var(--muted);
  font-size: clamp(0.86rem, 1vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.profile-links ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.profile-links li {
  border-bottom: 1px solid var(--line);
}

.profile-links a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  font-weight: 700;
  text-decoration: none;
  transition: color 220ms ease;
}

.profile-links a:hover,
.profile-links a:focus-visible {
  color: var(--blue);
}

.profile-footer {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.profile-footer a {
  text-decoration: none;
}

.profile-footer p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 760px) {
  .profile-page {
    padding: 22px 18px 30px;
  }

  .profile-header {
    align-items: flex-start;
    padding-bottom: 82px;
  }

  .brand {
    width: min(52vw, 220px);
  }

  .eyebrow {
    padding-top: 3px;
    text-align: right;
  }

  .profile h1 {
    margin-top: 14px;
    margin-bottom: 76px;
    font-size: clamp(3.7rem, 19vw, 6rem);
    line-height: 0.82;
  }

  .profile-grid {
    grid-template-columns: 1fr;
    gap: 58px;
    padding-top: 26px;
    padding-bottom: 92px;
  }

  .bio p {
    font-size: clamp(1.3rem, 6.4vw, 1.75rem);
  }

  .profile-footer {
    align-items: flex-end;
  }
}

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