:root {
  --background: #0b1220;
  --surface: #111b2d;
  --text: #f4f7fb;
  --muted: #9aa9bb;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #4fd1c5;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }
main { width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; }

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, 420px);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  max-width: 1200px;
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(4.5rem, 10vw, 7rem);
}

.intro-copy { max-width: 760px; }

.role {
  margin: 0 0 1.4rem;
  color: var(--accent);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1, h2 { margin: 0; line-height: 1.08; letter-spacing: -0.04em; }
h1 { max-width: 820px; font-size: clamp(3rem, 7vw, 6.2rem); font-weight: 680; }
.summary { max-width: 720px; margin: 2rem 0 0; color: #b7c2d0; font-size: clamp(1.05rem, 1.7vw, 1.25rem); }

.portrait-wrap {
  width: min(100%, 420px);
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.45);
  background: rgba(255, 255, 255, 0.04);
}

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

.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.5rem; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0 1.25rem;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.primary { background: var(--accent); border-color: var(--accent); color: #061513; }
.primary:hover { background: #6ee1d7; }
.secondary:hover { background: rgba(255, 255, 255, 0.05); }

footer { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: #77879b; font-size: 0.82rem; }

@media (max-width: 720px) {
  main { width: min(calc(100% - 2rem), var(--max)); }
  .intro {
    grid-template-columns: 1fr;
    padding-top: 3rem;
  }
  .portrait-wrap { order: -1; width: min(100%, 320px); }
}

@media (max-width: 480px) {
  h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .actions { flex-direction: column; }
  footer { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.3rem; }
}

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