:root {
  --bg: #0d0f13;
  --surface: #151820;
  --line: #262b36;
  --text: #e8eaef;
  --muted: #9aa2b1;
  --accent: #7aa2ff;
  --radius: 14px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f8fa;
    --surface: #ffffff;
    --line: #e1e4ea;
    --text: #161a22;
    --muted: #5b6372;
    --accent: #2f5fd0;
  }
}

* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: min(1040px, 100% - 40px); margin-inline: auto; }

.hero { padding: 88px 0 56px; border-bottom: 1px solid var(--line); }
.avatar {
  width: 96px; height: 96px; margin: 0 0 24px;
  border-radius: 50%; border: 1px solid var(--line);
}
h1 { margin: 0; font-size: clamp(36px, 6vw, 56px); line-height: 1.1; letter-spacing: -.02em; }
.lede { margin: 16px 0 0; max-width: 40ch; font-size: clamp(18px, 2.4vw, 22px); color: var(--muted); }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.links a {
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--text); background: var(--surface); font-size: 15px;
}
.links a:hover { border-color: var(--accent); text-decoration: none; }

main section { padding: 56px 0 8px; }
h2 { margin: 0 0 24px; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.01em; }
h3 a { color: var(--text); }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.card.wide { grid-column: span 1; }
.shot { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); background: #0b0d10; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .3s ease; }
.shot.top img { object-position: top; }
.shot:hover img { transform: scale(1.02); }

.about { max-width: 70ch; }
.about p { margin: 0 0 14px; color: var(--muted); font-size: 17px; }
.about h2 + p { color: var(--text); }
.body { padding: 20px 22px 22px; }
.body p { margin: 0 0 12px; color: var(--muted); }
.tags { font-size: 14px; }
.more { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; font-size: 15px; font-weight: 500; }

.story { max-width: 70ch; }
.story p { margin: 0 0 14px; color: var(--muted); }
.story p:first-child { color: var(--text); font-size: 18px; }

.toolbox { margin: 0; color: var(--text); font-size: 17px; }
.contact p { margin: 0; font-size: 18px; color: var(--muted); }

footer { padding: 56px 0 40px; color: var(--muted); font-size: 14px; }

@media (max-width: 720px) {
  .grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .shot img { transition: none; }
}
