@font-face {
  font-family: Manrope;
  src: url('assets/manrope-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url('assets/manrope-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: Manrope, Arial, Helvetica, sans-serif;
  background: #14141f;
  color: #f1edf2;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 56px;
}

::selection { background: #e4afc5; color: #211a26; }

.canvas {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(100%, 1080px);
  min-height: 580px;
  display: flex;
  align-items: center;
  padding: 100px 120px;
  background: #1e1e2c;
  border: 1px solid #2e2b3b;
  border-radius: 8px;
  box-shadow: 0 32px 80px -48px #0009;
}

.shape { position: absolute; z-index: -1; pointer-events: none; }

.shape-top {
  top: -105px;
  left: -74px;
  width: 330px;
  height: 245px;
  border-radius: 0 0 130px 0;
  background: #61354e;
  transform: rotate(-9deg);
}

.shape-bottom {
  bottom: -110px;
  right: -82px;
  width: 345px;
  height: 235px;
  border-radius: 135px 0 0 0;
  background: #493044;
  transform: rotate(-10deg);
}

.intro { width: 100%; position: relative; }

h1 { margin: 0; font-weight: 700; }

.greeting {
  display: block;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -1.5px;
  margin-bottom: 9px;
}

.name {
  display: block;
  font-size: clamp(40px, 4.9vw, 64px);
  line-height: 1.2;
  letter-spacing: -2.7px;
  color: #e4afc5;
  text-wrap: balance;
}

.contact { margin-top: 50px; }

.contact p {
  margin: 0 0 10px;
  color: #b4afc1;
  font-size: 13px;
  line-height: 1.6;
}

.contact a {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-height: 44px;
  padding: 3px 0 8px;
  border-bottom: 1px solid #70616f;
  color: #f1edf2;
  font-size: 18px;
  line-height: 1.6;
  text-decoration: none;
  transition: color .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}

.contact a:hover { color: #e4afc5; border-color: #e4afc5; }
.contact a:focus-visible { outline: 2px solid #e4afc5; outline-offset: 7px; }

.contact svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1100px) {
  body { padding: 40px; }
  .canvas { min-height: 550px; padding: 95px 76px; }
  .name { font-size: clamp(38px, 5.2vw, 58px); letter-spacing: -2.2px; }
  .shape-top { width: 290px; height: 220px; }
}

@media (max-width: 700px) {
  body { padding: 20px; }
  .canvas { min-height: min(620px, calc(100svh - 40px)); padding: 106px 32px 100px; }
  .greeting { font-size: 28px; letter-spacing: -1px; margin-bottom: 12px; }
  .name { font-size: clamp(38px, 8vw, 49px); line-height: 1.16; letter-spacing: -1.8px; }
  .contact { margin-top: 40px; }
  .contact p { font-size: 12px; margin-bottom: 6px; }
  .contact a { font-size: 15px; gap: 16px; }
  .contact svg { width: 16px; height: 16px; flex-basis: 16px; }
  .shape-top { left: -98px; top: -122px; width: 270px; height: 210px; }
  .shape-bottom { right: -150px; bottom: -125px; width: 300px; height: 210px; }
}

@media (max-width: 370px) {
  body { padding: 14px; }
  .canvas { min-height: calc(100svh - 28px); padding-left: 23px; padding-right: 23px; }
  .greeting { font-size: 25px; }
  .name { font-size: 34px; letter-spacing: -1.6px; }
  .contact a { font-size: 13px; gap: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
