@font-face {
  font-family: 'Alpha Marketing';
  src: url('assets/AlphaMarketingSans-Variable-v2.004.woff2') format('woff2'), url('assets/AlphaMarketingSans-Variable-v2.004.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root { color-scheme: dark; --navy: #00112b; --blue: #17477e; --gold: #e09900; --white: #ffffff; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; background: var(--navy); color: var(--white); font-family: 'Alpha Marketing', Arial, sans-serif; display: grid; place-items: center; -webkit-font-smoothing: antialiased; }
.card { width: min(100% - 48px, 500px); padding: 46px 0 30px; }
.identity { text-align: center; }
.monogram { font-size: 28px; font-weight: 550; letter-spacing: -.07em; line-height: 1; margin-bottom: 28px; }
.monogram span { color: var(--gold); }
.portrait { display: block; width: 104px; height: 104px; border-radius: 50%; border: 2px solid var(--blue); overflow: hidden; margin: 0 auto 22px; }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(2); transform-origin: 51% 18%; }
h1 { margin: 0; font-size: clamp(29px, 5vw, 38px); font-weight: 550; letter-spacing: -.025em; line-height: 1.2; }
.role { margin: 10px 0 0; font-size: 14px; letter-spacing: .065em; color: rgb(255 255 255 / .72); line-height: 1.5; }
.intro { font-size: 14px; line-height: 1.7; letter-spacing: .02em; margin: 30px 0 25px; }
.links { display: grid; gap: 12px; }
.link { position: relative; display: flex; align-items: center; gap: 20px; min-height: 86px; padding: 17px 24px; border: 1px solid var(--blue); border-radius: 8px; color: var(--white); text-decoration: none; background: transparent; transition: background .18s ease, border-color .18s ease; }
.link:hover { background: rgb(23 71 126 / .24); border-color: var(--white); }
.link:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.link::before { content: ''; position: absolute; left: 9px; top: 15px; bottom: 15px; width: 2px; background: var(--gold); opacity: 0; transition: opacity .18s ease; }
.icon { width: 34px; height: 34px; flex: 0 0 34px; }
.alpha { border-radius: 50%; }
.label { display: grid; gap: 5px; min-width: 0; }
.label strong { font-size: 17px; font-weight: 500; line-height: 1.25; }
.label > span { font-size: 13px; color: rgb(255 255 255 / .7); letter-spacing: .035em; line-height: 1.3; }
.arrow { width: 26px; height: 26px; flex: 0 0 26px; color: var(--blue); margin-left: auto; transition: color .18s ease, transform .18s ease; }
.link:hover .arrow { color: var(--gold); transform: translateX(3px); }
footer { display: grid; text-align: center; gap: 7px; margin-top: 32px; font-size: 12px; letter-spacing: .1em; color: rgb(255 255 255 / .64); }
footer small { font-size: 11px; }
@media (max-width: 540px) {
  .card { width: calc(100% - 40px); max-width: 400px; padding: 32px 0 24px; }
  .monogram { font-size: 26px; margin-bottom: 22px; }
  .portrait { width: 86px; height: 86px; margin-bottom: 20px; }
  .role { font-size: 12px; letter-spacing: .035em; }
  .intro { max-width: 260px; margin: 24px auto; font-size: 13px; }
  .link { min-height: 78px; padding: 15px 19px; gap: 16px; }
  .label strong { font-size: 16px; }
  .label > span { font-size: 12px; }
  footer { margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Preserve font ligatures: nonzero tracking suppresses optional ligatures. */
h1 { letter-spacing: normal; font-variant-ligatures: common-ligatures discretionary-ligatures contextual; font-feature-settings: "liga" 1, "dlig" 1, "calt" 1; }
.identity { margin-bottom: 30px; }

h1 { font-weight: 700; }
.portrait { width: 140px; height: 140px; }
.portrait img { transform: scale(1.3333); transform-origin: 50% 15%; }
@media (max-width: 540px) { .portrait { width: 120px; height: 120px; } }

.link:hover::before, .link:focus-visible::before { opacity: 1; }


/* Photo hover: 10% larger than its resting crop, in both directions. */
.portrait { transition: transform 3s ease; }
@media (hover: hover) { .portrait:hover { transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .portrait { transition: none; } }

/* Dense source-code texture; decorative, noninteractive, and behind content. */
body { isolation: isolate; }
.code-background { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; user-select: none; color: #092443; font: 11px/16px Consolas, 'Courier New', monospace; letter-spacing: 0; overflow-wrap: anywhere; word-break: break-all; text-align: left; }
.link { background: var(--navy); }
.link:hover { background: #001833; }
.code-background {
  opacity: 0;
  transition: opacity .35s ease;
  -webkit-mask-image: radial-gradient(circle 230px at var(--cursor-x, -500px) var(--cursor-y, -500px), #000 0%, #000 20%, transparent 100%);
  mask-image: radial-gradient(circle 230px at var(--cursor-x, -500px) var(--cursor-y, -500px), #000 0%, #000 20%, transparent 100%);
}
.code-background.is-lit { opacity: 1; }
.portrait { width: 190px; height: 190px; border-radius: 18px; }
.portrait img { transform: none; object-fit: contain; }
@media (max-width: 540px) { .portrait { width: 170px; height: 170px; } }


.code-background .code-value { color: #20466f; font-weight: 900; -webkit-text-stroke: .25px currentColor; }

.portrait { padding: 0; background: transparent; color: inherit; }
.portrait.is-enlarged { transform: scale(1.1); }
.portrait:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
