@font-face {
  font-family: Epilogue;
  src: url('/assets/epilogue.1e161eac1dc5.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ground: #171717;
  --ink: #fafafa;
  --secondary: #bdbdbd;
  --brand: #62e4ef;
  --frame: clamp(24px, 3.35vw, 64px);
  --body: clamp(20px, 1.8vw, 26px);
  --small: 18px;
  --display: clamp(52px, calc(20vw - 12px), 360px);
  background: var(--ground);
  color: var(--ink);
  font-family: Epilogue, 'Helvetica Neue', Arial, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
p, h1 { margin: 0; }
::selection { background: var(--brand); color: var(--ground); }
.page {
  width: 100%;
  max-width: 1880px;
  min-height: 100svh;
  margin-inline: auto;
  padding: 32px var(--frame) 28px;
  display: flex;
  flex-direction: column;
}
.masthead { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand-mark { width: 84px; height: auto; }
.location { font-size: var(--small); line-height: 1.5; color: var(--secondary); }
main { flex: 1; width: 100%; min-width: 0; container-type: inline-size; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(72px, 10svh, 128px); }
h1 {
  position: relative;
  font-size: var(--display);
  font-weight: 900;
  line-height: .96;
  letter-spacing: -.04em;
  font-kerning: normal;
  text-wrap: balance;
}
.word { display: inline-block; }
.metal-layer { position: absolute; pointer-events: none; inset: -16px; width: calc(100% + 32px); height: calc(100% + 32px); opacity: 0; }
.metal-layer.is-ready { opacity: 1; }
/* The canvas draws the full antialiased glyphs; the HTML text stays selectable and readable by assistive tech. */
h1.is-metal .word { color: transparent; }
.details { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 56px; margin-top: clamp(48px, 7vw, 108px); }
.description { font-size: var(--body); font-weight: 400; line-height: 1.5; letter-spacing: -.015em; max-width: 31ch; text-wrap: pretty; }
.correspondence { justify-self: end; min-width: 0; max-width: 100%; }
.contact-name { font-size: var(--small); line-height: 1.5; margin-bottom: 12px; color: var(--secondary); }
.email { display: flex; align-items: center; min-height: 48px; max-width: 100%; padding-block: 4px; transition: opacity .15s ease; }
.email img { width: clamp(280px, 26vw, 426px); max-width: 100%; height: auto; }
.email:hover { opacity: .72; }
.email:focus-visible { outline: 2px solid var(--brand); outline-offset: 8px; }
.no-script { font-size: var(--small); line-height: 1.5; margin-top: 12px; }
footer { display: flex; justify-content: space-between; gap: 24px; font-size: var(--small); line-height: 1.5; color: var(--secondary); }
@supports (font-size: 1cqw) { h1 { font-size: clamp(52px, 22.4cqw, 380px); } }
@media (max-width: 760px) {
  .page { padding-top: 24px; }
  .brand-mark { width: 72px; }
  main { justify-content: flex-start; padding-block: 80px 72px; }
  .details { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 48px; margin-top: 40px; }
  .description { max-width: 30ch; }
  .correspondence { justify-self: start; }
  .email img { width: 320px; }
  footer { margin-top: auto; flex-wrap: wrap; gap: 8px 24px; }
}
@media (max-width: 380px) {
  main { padding-block: 64px; }
  footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .email { transition: none; } .metal-layer { display: none; } }
@media (forced-colors: active) {
  .metal-layer { display: none; }
  .email { outline: 2px solid LinkText; }
  .email img { forced-color-adjust: none; background: #171717; }
}
