@font-face {
  font-family: 'Libre Franklin';
  src: url('assets/libre-franklin.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Orbitron';
  src: url('assets/orbitron-extrabold.ttf') format('truetype');
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: 'Libre Franklin', Arial, sans-serif;
  color: #f0f0ee;
  background: #101010;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }

.cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 10rem 8%;
  overflow: hidden;
  isolation: isolate;
  background: #101010 url('assets/charcoal-panels.png') center / cover no-repeat;
}

.cover::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgb(0 0 0 / .28), transparent 80%),
    linear-gradient(0deg, rgb(0 0 0 / .3), transparent 75%);
}

.monogram {
  position: absolute;
  top: clamp(3.5rem, 10vh, 7rem);
  left: 50%;
  transform: translateX(-50%);
  width: clamp(21rem, 42vw, 38rem);
  max-width: 90%;
}

.monogram img {
  display: block;
  width: 100%;
  height: auto;
}

h1 {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 12vh 0 0;
  padding-bottom: clamp(1.4rem, 2.8vw, 2.7rem);
  font-weight: 400;
  text-align: center;
}

h1::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #bcbcb9 30%, #e7e7e4 50%, #bcbcb9 70%, transparent);
  box-shadow: 0 1px 0 rgb(0 0 0 / .9);
}

h1 span { display: block; }

.welcome {
  margin-bottom: 1rem;
  color: #c9c9c6;
  font-size: clamp(.62rem, .85vw, .85rem);
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.name {
  display: block;
  width: fit-content;
  margin: -.5rem auto;
  padding: .5rem;
  text-decoration: none;
  font-family: 'Orbitron', 'Arial Black', sans-serif;
  font-size: clamp(.9rem, 2.4vw, 2.875rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .065em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #ededeb;
  text-shadow: 0 3px 18px rgb(0 0 0 / .65);
}

a:focus-visible {
  outline: 1px solid #efefec;
  outline-offset: 6px;
}

.name:hover { opacity: .78; }

@supports (background-clip: text) {
  .name {
    background: linear-gradient(175deg, #fff 10%, #c4c4c1 40%, #fafaf8 53%, #d2d2cf 76%, #a9a9a7);
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 3px 8px rgb(0 0 0 / .65));
  }
}

@media (max-width: 600px) {
  .cover { padding: 8rem 7%; background-position: 48% center; }
  .monogram { width: min(90vw, 24rem); }
  h1 { margin-top: 10vh; width: 100%; }
  .welcome { margin-bottom: 1rem; font-size: .62rem; letter-spacing: .16em; }
  .name { font-size: 3.25vw; letter-spacing: .035em; }
}

@media (max-height: 500px) {
  .cover { min-height: 32rem; }
  .monogram { top: 3.5rem; width: 21rem; }
  h1 { margin-top: 8rem; }
}

.about-cover {
  display: block;
  min-height: 100svh;
  padding: clamp(2rem, 5vw, 4rem) 8% 4rem;
  background: none;
}

.about-cover::after {
  content: '';
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background: #101010 url('assets/charcoal-panels.png') center / cover no-repeat;
}

.about-cover::before {
  position: fixed;
  background: linear-gradient(180deg, rgb(0 0 0 / .3), rgb(0 0 0 / .64) 55%, rgb(0 0 0 / .7));
}

.about-header, .about-content { max-width: 64rem; margin-inline: auto; }
.about-header { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.about-brand { display: flex; align-items: center; gap: 1.2rem; color: #e8e8e5; text-decoration: none; }
.about-brand img { display: block; width: 8rem; height: auto; }
.about-brand span { font-family: 'Orbitron', Arial, sans-serif; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.header-email {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-height: 44px;
  padding: .7rem 0 .7rem .7rem;
  color: #c9c9c6;
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
}
.header-email svg { width: 1.6rem; height: auto; flex: none; stroke: currentColor; stroke-width: 1.2; stroke-linejoin: miter; }
.header-email:hover, .about-footer a:hover { color: #fff; }

.about-content { margin-top: clamp(3rem, 8vh, 6rem); }
.about-portrait {
  float: right;
  width: clamp(13rem, 34%, 21rem);
  margin: -1.5rem -1.2rem .8rem 2rem;
  mix-blend-mode: lighten;
}
.about-portrait img {
  display: block;
  width: 100%;
  height: auto;
  mask-image: radial-gradient(ellipse 46% 76% at 50% 38%, #000 60%, transparent 100%), linear-gradient(180deg, transparent, #000 6%, #000 70%, transparent);
  mask-composite: intersect;
  -webkit-mask-image: radial-gradient(ellipse 46% 76% at 50% 38%, #000 60%, transparent 100%), linear-gradient(180deg, transparent, #000 6%, #000 70%, transparent);
  -webkit-mask-composite: source-in;
}
.about-content > .about-columns { clear: both; }
.about-content h1 { margin: 0 0 1.4rem; padding: 0; text-align: left; font-family: 'Orbitron', Arial, sans-serif; font-size: clamp(1.65rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: .035em; }
.about-content h1::after { content: none; }
.about-intro { max-width: 38rem; margin: 0 0 1.5rem; font-size: clamp(1.1rem, 1.8vw, 1.45rem); line-height: 1.6; color: #e8e8e5; }
.about-background { max-width: 48rem; margin: 0; font-size: .95rem; line-height: 1.9; color: #c7c7c4; }
.about-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 5rem); margin-top: 2.8rem; padding-top: 2.2rem; border-top: 1px solid rgb(222 222 216 / .24); }
.about-columns h2 { margin: 0 0 1.2rem; font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #ebebe8; }
.about-columns p { margin: 0 0 1rem; font-size: .9rem; line-height: 1.9; color: #c7c7c4; }
.about-footer { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin-top: 2rem; padding-top: 1.8rem; border-top: 1px solid rgb(222 222 216 / .18); }
.about-footer a { color: #b8b8b5; font-size: .72rem; line-height: 1.8; text-underline-offset: .3em; text-decoration-color: #70706e; }
.about-footer span { margin-left: .3rem; }
.footer-linkedin { margin: 0; color: #b8b8b5; font-size: .72rem; line-height: 1.8; }
.about-contact { width: 100%; margin-top: 1rem; }
.about-contact h2 { margin: 0 0 .8rem; font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #ebebe8; }
.about-contact p { margin: 0; font-size: .85rem; line-height: 1.9; color: #c7c7c4; }
.about-contact p + p { margin-top: .6rem; }
.about-contact a { color: #e8e8e5; font-size: inherit; overflow-wrap: anywhere; }

@media (max-width: 600px) {
  .about-cover { padding: 2rem 7% 3rem; }
  .about-cover::after { background-position: 48% center; }
  .about-brand { gap: .7rem; }
  .about-brand img { width: 5.3rem; }
  .about-brand span { font-size: .6rem; }
  .about-content { margin-top: 3rem; }
  .about-portrait { width: 44%; margin: -.8rem -.7rem .6rem .8rem; }
  .about-columns { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; padding-top: 1.8rem; }
  .about-footer { flex-direction: column; gap: .8rem; }
}
