:root {
  color-scheme: dark;
  --ink: #f2f6f8;
  --muted: #b5c5d2;
  --blue: #64dfff;
  --gold: #f8c57e;
  --night: #050e1a;
  --edge: rgba(164, 201, 225, .21);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--night);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1; display: flex; flex-direction: column; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
.inner { width: min(1200px, 88%); margin-inline: auto; }
.masthead { border-bottom: 1px solid var(--edge); background: #050e19; }
.header-inner, .footer-inner, .contact-inner { display: flex; align-items: center; justify-content: space-between; }
.header-inner { min-height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: baseline; gap: .36em; font-size: 24px; font-weight: 750; letter-spacing: -.04em; text-decoration: none; }
.omega { color: var(--gold); font-family: Georgia, serif; font-weight: 400; }
.infinity { color: var(--blue); font-weight: 450; }
.languages { display: flex; align-items: center; gap: 3px; }
.languages a { display: grid; place-items: center; min-width: 43px; min-height: 44px; color: var(--muted); font-size: .8rem; font-weight: 650; text-decoration: none; }
.languages [aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: .45em; text-decoration-thickness: 2px; }
.languages a:hover, .mail:hover { color: var(--blue); }
.hero { flex: 1; display: flex; align-items: center; position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--edge); background: #071426; }
.hero::before, .hero::after { position: absolute; z-index: -1; inset: 0; content: ""; }
.hero::before { background: url("horizon.webp") 63% center / cover no-repeat; }
.hero::after { background: linear-gradient(90deg, rgba(4,12,23,.97) 0%, rgba(4,12,23,.87) 27%, rgba(4,12,23,.56) 44%, rgba(4,12,23,.06) 68%), linear-gradient(0deg, rgba(5,14,26,.72), transparent 28%); }
.hero-inner { min-height: clamp(440px, 57vh, 660px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: clamp(54px, 7vw, 112px); }
.status { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 28px; color: #ffdbad; font-size: .81rem; font-weight: 650; letter-spacing: .035em; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 13px #eca95565; }
h1 { margin: 0; font-size: clamp(3.5rem, 8.7vw, 8rem); line-height: .97; letter-spacing: -.067em; font-weight: 690; }
h1 span { color: var(--blue); }
.position { margin: 23px 0 13px; font-size: clamp(1.55rem, 2.7vw, 2.4rem); font-weight: 550; line-height: 1.18; letter-spacing: -.035em; }
.intro { max-width: 45ch; margin: 0; color: #d5e2eb; line-height: 1.6; font-size: clamp(1.02rem, 1.45vw, 1.16rem); }
.contact { background: #081522; }
.contact-inner { min-height: 158px; gap: 28px; padding-block: 28px; }
.contact-copy { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.globe { width: clamp(75px, 7.7vw, 112px); height: auto; display: block; flex: none; }
h2 { font-size: clamp(1.24rem, 2.05vw, 1.85rem); line-height: 1.17; letter-spacing: -.032em; margin: 0; }
.person { margin: 9px 0 0; color: var(--muted); font-size: .96rem; }
.mail { display: inline-flex; align-items: center; gap: 18px; min-height: 48px; width: fit-content; padding: 4px 0; color: var(--gold); text-decoration: none; border-bottom: 1px solid #9d7851; white-space: nowrap; font-size: clamp(1.05rem, 1.7vw, 1.28rem); font-weight: 600; }
.mail span { font-weight: 400; }
footer { border-top: 1px solid var(--edge); color: #a7b8c7; font-size: .83rem; }
.footer-inner { gap: 12px 28px; min-height: 70px; padding-block: 20px; flex-wrap: wrap; }
footer p { margin: 0; }
@media (min-width: 1700px) { .hero::before { background-size: 100% auto; } }
@media (max-width: 760px) {
  .inner { width: 88%; }
  .header-inner { min-height: 64px; }
  .hero-inner { min-height: 450px; padding-block: 56px; }
  .hero::before { background-position: 65% center; }
  .hero::after { background: linear-gradient(90deg, rgba(3,11,20,.85), rgba(3,11,20,.52) 68%, rgba(3,11,20,.18)), linear-gradient(0deg, rgba(5,14,26,.93), transparent 76%); }
  .contact-inner { align-items: flex-start; flex-direction: column; gap: 12px; }
  .contact-copy { gap: 18px; }
  .globe { width: 64px; }
}
@media (max-width: 440px) {
  .hero-inner { min-height: 430px; padding-block: 46px; }
  .hero::before { background-position: 67% center; }
  .hero::after { background: linear-gradient(90deg, rgba(3,11,20,.74), rgba(3,11,20,.40)), linear-gradient(0deg, rgba(3,11,20,.96) 2%, rgba(3,11,20,.5) 65%, rgba(3,11,20,.05)); }
  .status { margin-bottom: 23px; }
  .footer-inner { min-height: 76px; }
}
