:root {
  color-scheme: dark;
  --background: #050907;
  --surface: #101612;
  --border: #263c2c;
  --accent: #32e659;
  --text: #f0f2f0;
  --muted: #a7b2aa;
}
* { box-sizing: border-box; }
html { min-width: 280px; background: var(--background); }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  font-family: "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--text);
  background: radial-gradient(ellipse 420px 420px at 50% 28%, #13331b45, transparent 85%), var(--background);
}
.wireframe {
  position: fixed;
  z-index: -1;
  top: 0;
  height: 100%;
  width: min(32vw, 480px);
  pointer-events: none;
  stroke: #32e659;
  stroke-width: .65;
  opacity: .09;
  mask-image: linear-gradient(90deg, #000, transparent 95%);
}
.wireframe--left { left: 0; }
.wireframe--right { right: 0; transform: scaleX(-1); }
.business-card { width: min(420px, calc(100% - 40px)); padding: 24px 0 22px; }
.identity { text-align: center; }
.brand-logo { display: block; width: 310px; max-width: 95%; height: auto; margin: -8px auto 0; }
.portrait {
  display: block;
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid #32e6596b;
  padding: 3px;
  margin: 0 auto;
  box-shadow: 0 0 17px #32e6590c;
}
h1 { margin: 15px 0 0; font-size: 28px; font-weight: 600; line-height: 1.25; letter-spacing: -.65px; }
.specialty { margin: 5px 0 0; font-size: 15px; line-height: 1.5; color: var(--accent); letter-spacing: .3px; }
.description { max-width: 400px; margin: 14px auto 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.description p { margin: 0; }
.description p + p { margin-top: 5px; }
.link-section { margin-top: 22px; }
h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 11px; color: #8eaa95; font-size: 10px; line-height: 1.4; font-weight: 600; letter-spacing: 2px; }
h2::before, h2::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--border)); }
h2::after { transform: scaleX(-1); }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.freelance-list { display: grid; gap: 7px; }
.platform-link {
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 500;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.platform-link:hover { border-color: #32e65980; background: #152019; box-shadow: 0 0 16px #32e6590a; }
.platform-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-color: var(--accent); }
.contact-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 85px; border-color: #33513b; background: #111c15; }
.row-link { min-height: 47px; display: flex; align-items: center; gap: 11px; padding: 6px 14px; }
.external-arrow { margin-left: auto; color: #77917e; font-size: 18px; font-weight: 400; line-height: 1; }
.platform-link:hover .external-arrow { color: var(--accent); }
footer { text-align: center; margin-top: 23px; font-size: 10px; line-height: 1.5; letter-spacing: 1.2px; color: #76827a; }
@media (min-width: 600px) and (max-height: 850px) {
  .business-card { padding: 9px 0; }
  .brand-logo { width: 250px; margin-top: -10px; }
  .portrait { width: 90px; height: 90px; }
  h1 { margin-top: 10px; font-size: 26px; }
  .specialty { margin-top: 2px; font-size: 14px; }
  .description { margin-top: 9px; font-size: 13px; line-height: 1.4; }
  .description p + p { margin-top: 3px; }
  .link-section { margin-top: 16px; }
  h2 { margin-bottom: 8px; }
  .contact-link { min-height: 72px; gap: 2px; }
  .row-link { min-height: 44px; padding-top: 4px; padding-bottom: 4px; }
  .freelance-list { gap: 6px; }
  footer { margin-top: 14px; }
}
@media (max-width: 599px) {
  .business-card { width: min(420px, calc(100% - 36px)); padding: 20px 0; }
  .brand-logo { width: 275px; }
  .portrait { width: 100px; height: 100px; }
  h1 { font-size: clamp(23px, 6.1vw, 28px); margin-top: 13px; }
  .description { font-size: 13px; line-height: 1.5; margin-top: 12px; }
  .link-section { margin-top: 19px; }
  h2 { letter-spacing: 1.7px; }
  .row-link { padding-left: 11px; padding-right: 11px; gap: 7px; }
  .contact-grid, .portfolio-grid { gap: 8px; }
  .contact-link { min-height: 80px; }
  .wireframe { opacity: .045; width: 22vw; }
}
@media (prefers-reduced-motion: reduce) { .platform-link { transition: none; } }
