:root {
  --bg: #fff;
  --fg: #000;
  --gutter: 111px;
  --label-col: 389px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 2000px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 32px;
  flex-wrap: wrap;
  padding: 80px 0 68px;
  border-bottom: 1px solid var(--fg);
  font-size: 18px;
}
.name { font-size: 32px; font-weight: 700; letter-spacing: -0.01em; line-height: 1; }
.role { margin-left: 16px; font-weight: 400; }
.meta { display: flex; gap: 8px 56px; flex-wrap: wrap; }
.status { font-weight: 700; }

/* Rows */
.row {
  display: grid;
  grid-template-columns: var(--label-col) 1fr;
  border-bottom: 1px solid var(--fg);
}
.label {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.about { padding: 98px 0 108px; }
.lead {
  font-size: 46px;
  font-weight: 300;
  line-height: 1.37;
  letter-spacing: -0.005em;
}
.lead strong { font-weight: 600; }

.capabilities { padding: 92px 0 108px; }
.cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 62px;
}
.cols h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}
.cols p { font-size: 20px; line-height: 1.8; }

.contact { padding: 92px 0 104px; }
.contact-copy { font-size: 20px; line-height: 1.4; margin-bottom: 44px; }
.email {
  display: inline-block;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
  overflow-wrap: anywhere;
}
.email:hover { opacity: 0.6; }
.email:focus-visible { outline: 3px solid var(--fg); outline-offset: 6px; }

/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  gap: 8px 32px;
  flex-wrap: wrap;
  padding: 64px 0 112px;
  font-size: 16px;
  line-height: 1.4;
}

/* Laptop / small desktop */
@media (max-width: 1280px) {
  :root { --gutter: 56px; --label-col: 240px; }
  .lead { font-size: 38px; }
  .cols { gap: 0 40px; }
  .cols p { font-size: 18px; }
  .email { font-size: 44px; }
}

/* Tablet */
@media (max-width: 900px) {
  :root { --gutter: 32px; }
  .header { padding: 48px 0 40px; }
  .row { grid-template-columns: 1fr; gap: 28px; }
  .about { padding: 56px 0 64px; }
  .capabilities { padding: 56px 0 64px; }
  .contact { padding: 56px 0 64px; }
  .lead { font-size: 34px; }
  .cols { grid-template-columns: 1fr; gap: 40px; }
  .cols h3 { margin-bottom: 12px; }
  .email { font-size: 40px; }
  .footer { padding: 40px 0 64px; }
}

/* Phone */
@media (max-width: 520px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .header { padding: 32px 0 28px; flex-direction: column; align-items: flex-start; }
  .name { font-size: 26px; }
  .role { margin-left: 10px; font-size: 15px; }
  .meta { flex-direction: column; gap: 4px; font-size: 14px; }
  .about { padding: 40px 0 44px; gap: 20px; }
  .capabilities { padding: 40px 0 44px; gap: 20px; }
  .contact { padding: 40px 0 44px; gap: 20px; }
  .lead { font-size: 26px; line-height: 1.4; }
  .cols { gap: 32px; }
  .cols p, .contact-copy { font-size: 17px; }
  .contact-copy { margin-bottom: 28px; }
  .email { font-size: 28px; text-decoration-thickness: 3px; text-underline-offset: 6px; }
  .footer { flex-direction: column; font-size: 13px; padding: 28px 0 40px; }
}

@media (prefers-reduced-motion: no-preference) {
  .email { transition: opacity 0.15s ease; }
}
