@font-face {
  font-family: Manrope;
  src: url("assets/manrope-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+1E00-1EFF;
}

@font-face {
  font-family: Manrope;
  src: url("assets/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2212;
}

:root {
  color-scheme: light;
  --accent: #F04923;
  --text: #2B2C2B;
  --paper: #FFFFFF;
  --edge: #e3dedb;
  --line: #eee9e6;
  --icon-surface: #fff4ef;
  font-family: Manrope, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, p, ul { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
img { display: block; max-width: 100%; }

.page {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 1.75rem .8rem;
  background: radial-gradient(ellipse at 50% 19%, var(--paper) 0 30%, #f5f3f2 100%);
}

.card {
  width: min(100%, 24rem);
  padding: 1.35rem 1.15rem 1.25rem;
  border: 1px solid var(--edge);
  border-radius: 1.4rem;
  background: var(--paper);
  box-shadow: 0 1.5rem 4rem #2d221511;
}

.home-card {
  display: grid;
  justify-items: center;
  gap: .85rem;
  padding: 2.5rem 1.35rem;
  text-align: center;
}
.home-card p { font-size: .95rem; line-height: 1.5; text-wrap: balance; }

.brand-bar {
  display: flex;
  align-items: center;
  gap: .95rem;
  margin: 0 0 1.15rem;
}
.brand-bar::after {
  flex: 1;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--edge), var(--line));
}
.brand {
  display: block;
  width: 7.3rem;
  border-radius: .15rem;
}
.brand img { width: 100%; height: auto; }

.profile {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: .95rem;
  min-height: 13.8rem;
  padding: .65rem .4rem .8rem;
  text-align: center;
}
.portrait-frame {
  width: 6.5rem;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  outline: 1px solid var(--edge);
  outline-offset: 4px;
  background: var(--icon-surface);
}
.portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portrait-frame-original .portrait {
  transform: scale(1.875);
  transform-origin: 67% 10%;
}
.portrait-initials {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--accent);
  font-size: 2rem;
  font-weight: 800;
}
h1 {
  font-size: clamp(1.625rem, 7.65vw, 1.95rem);
  font-weight: 750;
  letter-spacing: -.018em;
  word-spacing: .075em;
  line-height: 1.22;
  text-wrap: balance;
}
.identity p {
  max-width: 18rem;
  margin: .4rem auto 0;
  font-size: .9rem;
  font-weight: 640;
  line-height: 1.44;
  text-wrap: balance;
}

.contact-links, .social-links { list-style: none; padding: 0; }
.contact-links { display: grid; gap: .5rem; margin-top: 1.15rem; }
.contact {
  border: 1px solid var(--line);
  border-radius: .68rem;
  background: var(--paper);
  transition: border-color .16s ease;
}
.contact[href]:hover { border-color: var(--accent); }
.contact-direct {
  display: flex;
  align-items: center;
  gap: .76rem;
  min-height: 3.85rem;
  padding: .51rem .66rem;
}
.icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.24rem;
  height: 2.24rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: var(--icon-surface);
}
.contact svg { width: 1.22rem; height: 1.22rem; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact .brand-icon { width: 1.375rem; height: 1.375rem; stroke: none; }
.contact-direct strong { font-size: 1rem; font-weight: 800; line-height: 1.22; }
.contact-text { display: grid; gap: .15rem; min-width: 0; overflow-wrap: anywhere; }
.contact-text > span { font-size: .89rem; font-weight: 580; line-height: 1.32; }

.social-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
  margin-top: .95rem;
  padding-top: .95rem;
  border-top: 1px solid var(--edge);
}
.social-links-1 { grid-template-columns: 1fr; }
.social-links-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .34rem;
  min-height: 4.25rem;
  padding: .35rem .2rem;
  text-align: center;
}
.contact-social strong { max-width: 100%; overflow-wrap: anywhere; font-size: .875rem; font-weight: 730; line-height: 1.2; }
.contact-direct strong, .identity h1 { overflow-wrap: anywhere; }

@media (max-width: 22rem) {
  .page { padding-inline: .6rem; }
  .card { padding-inline: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .contact { transition: none; }
}

