@font-face {
  font-family: Anton;
  src: url('./assets/fonts/anton.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Anton Fallback';
  src: local('Arial'), local('Helvetica'), local('Roboto'), local('Liberation Sans');
  size-adjust: 72%;
}

:root {
  color-scheme: light;
  --paper: #f2f0e8;
  --ink: #173be8;
  --text: #262c30;
  --quiet: #4d535b;
  --rule: #173be8;
  --display: Anton, 'Anton Fallback', Impact, 'Arial Narrow', sans-serif;
  --body: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 280px; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
body, button, a { -webkit-tap-highlight-color: rgba(23, 59, 232, .16); }
button, a { touch-action: manipulation; }
a { color: inherit; text-underline-offset: .2em; }
a, button { -webkit-user-drag: none; }
button { font: inherit; }
button[hidden] { display: none; }
::selection { color: var(--paper); background: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: 12px; padding: 12px 16px; background: var(--ink); color: var(--paper); transform: translateY(-160%); z-index: 10; }
.skip-link:focus { transform: translateY(0); }
.page { width: min(100% - 88px, 1260px); margin: 0 auto; }
.topline { min-height: 81px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--rule); font-family: 'Courier New', monospace; font-size: 12px; letter-spacing: .015em; }
.domain { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.topline > span { text-align: right; }
.spread { display: grid; grid-template-columns: minmax(0, 1.64fr) minmax(280px, 1fr); gap: clamp(32px, 6vw, 80px); padding: 30px 0 40px; }
.cover { min-width: 0; }
.name { margin: 0 0 22px; font-family: var(--display); font-weight: 400; font-size: clamp(112px, 17.5vw, 246px); line-height: 1.02; text-transform: uppercase; letter-spacing: -.028em; }
.first-name { display: block; }
.photo-layout { display: grid; grid-template-columns: 18.5% minmax(0, 1fr); gap: 13px; align-items: stretch; }
.surname { font-family: var(--display); font-size: clamp(78px, 10.7vw, 150px); line-height: .93; text-transform: uppercase; letter-spacing: -.035em; writing-mode: vertical-rl; transform: rotate(180deg); text-align: right; white-space: nowrap; padding-top: 30px; }
.portrait { min-width: 0; margin: 0; }
.portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 52% 51%; display: block; background: #d7dfdd; }
.portrait figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; font-family: 'Courier New', monospace; font-size: 10px; line-height: 1.5; }
.index-column { min-width: 0; display: flex; flex-direction: column; align-self: stretch; padding-top: clamp(96px, 10.2vw, 144px); scroll-margin-top: 24px; }
.eyebrow { margin: 0 0 19px; font-family: 'Courier New', monospace; font-size: 12px; letter-spacing: .015em; }
.intro-text { margin: 0; max-width: 350px; color: var(--text); font-size: clamp(19px, 1.7vw, 24px); line-height: 1.4; letter-spacing: -.028em; }
.social-index { margin-top: 39px; }
.index-link { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 78px; border-top: 1px solid var(--rule); text-decoration: none; padding: 11px 2px 12px; transition: padding .16s ease, background-color .16s ease, color .16s ease; }
.index-name { font-family: var(--display); font-size: clamp(31px, 3.1vw, 43px); line-height: 1.2; text-transform: uppercase; letter-spacing: -.015em; }
.index-arrow { font-family: var(--body); font-size: 29px; line-height: 1; font-weight: 400; }
.contact { border-top: 1px solid var(--rule); padding-top: 27px; }
.contact h2 { margin: 0 0 20px; font-family: 'Courier New', monospace; font-size: 11px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }
.contact > p { margin: 0 0 20px; color: var(--text); font-size: 16px; line-height: 1.5; letter-spacing: -.015em; }
.email-link { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 8px; max-width: 100%; font-size: clamp(15px, 1.5vw, 21px); letter-spacing: -.025em; text-decoration-thickness: 1px; }
.email-text { min-width: 0; overflow-wrap: anywhere; }
.email-link > span[aria-hidden] { flex-shrink: 0; font-size: 22px; text-decoration: none; }
.copy-line { display: flex; flex-wrap: wrap; align-items: center; column-gap: 14px; margin-top: 2px; }
.copy-email { min-height: 44px; padding: 8px 0; border: 0; background: none; color: var(--quiet); font-size: 11px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.copy-email:active { color: var(--ink); }
.copy-status { color: var(--quiet); font-size: 11px; line-height: 1.45; }
.copy-status:empty { display: none; }
.footer { min-height: 66px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 0; font-family: 'Courier New', monospace; font-size: 10px; line-height: 1.5; }

@media (hover: hover) {
  .index-link:hover { background: var(--ink); color: var(--paper); padding-left: 13px; padding-right: 13px; }
  .email-link:hover { text-decoration-thickness: 2px; }
  .copy-email:hover { color: var(--ink); }
}

@media (min-width: 1500px) { .page { width: min(100% - 112px, 1260px); } }
@media (max-width: 900px) {
  .page { width: calc(100% - 48px); }
  .spread { grid-template-columns: minmax(0, 1.3fr) minmax(255px, 1fr); gap: 30px; }
  .name { font-size: clamp(102px, 17.2vw, 155px); }
  .surname { font-size: clamp(64px, 10vw, 90px); }
  .photo-layout { gap: 9px; }
  .index-column { padding-top: 60px; }
  .intro-text { font-size: 19px; }
  .social-index { margin-top: 28px; }
  .index-link { min-height: 65px; }
  .index-name { font-size: 31px; }
  .contact { padding-top: 22px; }
  .email-link { font-size: 17px; }
}
@media (max-width: 680px) {
  .page { width: min(100% - 40px, 480px); }
  .topline { min-height: 60px; font-size: 10px; gap: 16px; }
  .spread { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-top: 20px; padding-bottom: 27px; }
  .name { font-size: clamp(110px, 26.2vw, 151px); margin-bottom: 18px; line-height: 1.04; }
  .photo-layout { grid-template-columns: 20% minmax(0, 1fr); gap: 10px; }
  .surname { font-size: clamp(79px, 19.5vw, 104px); padding-top: 28px; }
  .portrait img { aspect-ratio: 4 / 5; object-position: 53% 50%; }
  .portrait figcaption { font-size: 10px; }
  .index-column { padding-top: 0; }
  .eyebrow { margin-bottom: 12px; font-size: 11px; }
  .intro-text { max-width: 380px; font-size: 20px; line-height: 1.42; }
  .social-index { margin-top: 25px; }
  .index-link { min-height: 69px; padding-top: 12px; padding-bottom: 12px; }
  .index-name { font-size: 35px; }
  .index-arrow { font-size: 27px; }
  .contact { padding-top: 22px; }
  .contact h2 { margin-bottom: 15px; }
  .contact > p { font-size: 16px; margin-bottom: 15px; }
  .email-link { font-size: clamp(17px, 5vw, 22px); }
  .copy-email { font-size: 12px; }
  .footer { min-height: 57px; font-size: 10px; }
}
@media (max-width: 350px) {
  .page { width: calc(100% - 32px); }
  .topline { font-size: 9px; }
  .name { font-size: 98px; }
  .surname { font-size: 72px; }
  .intro-text { font-size: 18px; }
  .email-link { font-size: 17px; }
  .portrait figcaption { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
@media print {
  .page { width: 100%; }
  .skip-link, .copy-line { display: none; }
  .spread { grid-template-columns: 1.3fr 1fr; gap: 30px; }
  .name { font-size: 130px; }
  .surname { font-size: 85px; }
  .index-column { padding-top: 70px; }
  .index-link { min-height: 55px; }
  .index-name { font-size: 28px; }
}
