:root {
  color-scheme: dark;
  --background: #101110;
  --surface: #171917;
  --surface-raised: #1d201d;
  --text: #f0f1ec;
  --muted: #92978f;
  --accent: #c4f36a;
  --line: #2a2d29;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.page {
  width: min(1120px, calc(100% - 96px));
  margin: 0 auto;
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar {
  height: 88px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.wordmark span {
  color: var(--accent);
}

.top-link,
.back-top {
  color: var(--muted);
  font-size: 0.78rem;
  transition: color 180ms ease;
}

.top-link:hover,
.back-top:hover {
  color: var(--accent);
}

.top-link span {
  margin-left: 8px;
  color: var(--accent);
}

.intro {
  position: relative;
  display: grid;
  min-height: 610px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding: 72px 0 96px;
}

.intro-copy {
  position: relative;
  z-index: 1;
  padding-bottom: 18px;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.intro-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgb(196 243 106 / 50%);
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(4.5rem, 9.2vw, 7.5rem);
  font-weight: 500;
  letter-spacing: -0.09em;
  line-height: 0.92;
}

.accent {
  color: var(--accent);
}

.intro-description {
  max-width: 390px;
  margin-bottom: 34px;
  color: #aeb2aa;
  font-size: 1rem;
  line-height: 1.8;
}

.scroll-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.scroll-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #44483f;
  border-radius: 50%;
  color: var(--accent);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.scroll-link:hover .scroll-icon {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--background);
}

.portrait {
  position: relative;
  width: min(100%, 390px);
  justify-self: center;
  margin-bottom: 0;
  padding: 18px 18px 0;
}

.portrait::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 77%;
  height: 82%;
  border: 1px solid #343a30;
  content: "";
}

.portrait-frame {
  overflow: hidden;
  aspect-ratio: 0.91;
  background: #292b28;
}

.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.74);
  transition: filter 350ms ease, transform 500ms ease;
}

.portrait:hover img {
  filter: saturate(1);
  transform: scale(1.025);
}

.portrait figcaption {
  padding-top: 15px;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.portrait figcaption span {
  color: var(--accent);
}

.portrait-mark {
  position: absolute;
  right: -14px;
  bottom: 30px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 600;
  letter-spacing: -0.1em;
}

.side-note {
  position: absolute;
  right: -42px;
  bottom: 86px;
  color: #6d726a;
  font-size: 0.55rem;
  letter-spacing: 0.17em;
  transform: rotate(-90deg) translateX(100%);
  transform-origin: right bottom;
}

.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  padding: 84px 0 104px;
  border-top: 1px solid var(--line);
}

.section-heading h2 {
  margin: 18px 0 0;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 1.05;
}

.about-copy {
  max-width: 570px;
  margin-bottom: 30px;
  color: #adb1a9;
  font-size: 0.95rem;
  line-height: 1.9;
}

.about-copy strong {
  color: var(--text);
  font-weight: 600;
}

.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.detail-card {
  min-height: 155px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.card-number {
  color: var(--accent);
  font-size: 0.57rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.detail-card h3 {
  margin: 18px 0 8px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.detail-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.7;
}

.footer {
  min-height: 84px;
  border-top: 1px solid var(--line);
}

.footer p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 48px, 560px);
  }

  .topbar {
    height: 72px;
  }

  .intro {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 76px 0 88px;
  }

  .intro-copy {
    padding-bottom: 0;
  }

  h1 {
    font-size: clamp(4.4rem, 18vw, 7rem);
  }

  .portrait {
    width: min(82%, 350px);
    justify-self: center;
  }

  .side-note {
    right: -18px;
    bottom: 80px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 66px 0 76px;
  }
}

@media (max-width: 480px) {
  .page {
    width: calc(100% - 40px);
  }

  .top-link {
    font-size: 0.7rem;
  }

  .intro {
    padding-top: 62px;
  }

  .intro-description {
    font-size: 0.92rem;
  }

  .details {
    grid-template-columns: 1fr;
  }

  .detail-card {
    min-height: 0;
  }

  .footer p {
    display: none;
  }
}

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