:root {
  --ink: #202026;
  --paper: #fff;
  --lavender: #dcd4f7;
  --mint: #d9eee4;
  --peach: #f4d5c6;
  --sky: #d9e9f5;
  --pink: #efd8e6;
  --yellow: #f4eccb;
  --line: #cdcbd0;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}
.loader {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 9999;
  color: #fff;
  display: grid;
  place-content: center;
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}
.loader span {
  font: 700 clamp(4rem, 12vw, 9rem) "Space Grotesk";
}
.loader-line {
  width: 100%;
  height: 4px;
  background: var(--lavender);
  animation: load 1.1s ease;
}
.loader.done {
  transform: translateY(-100%);
}
@keyframes load {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
.navbar {
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(32, 32, 38, 0.12);
}
.brand {
  font: 700 1.2rem "Space Grotesk";
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.04em;
}
.brand span {
  font-size: 0.55rem;
  vertical-align: top;
  margin-left: 2px;
}
.nav-link {
  color: var(--ink) !important;
  font-weight: 600;
  font-size: 0.92rem;
}
.contact-pill {
  background: var(--ink);
  color: #fff !important;
  border-radius: 100px;
  padding: 10px 17px !important;
}
.navbar-toggler {
  border: 0;
  box-shadow: none !important;
}
.navbar-toggler span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--ink);
  margin: 6px;
}
.hero {
  padding-top: 125px;
}
.hero-stage {
  min-height: 660px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(220, 212, 247, 0.25), transparent 35%), #fff;
  position: relative;
  padding: 70px 65px;
  overflow: hidden;
}
.tiny-note {
  position: absolute;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.note-one {
  top: 28px;
  left: 35px;
}
.note-two {
  right: 35px;
  bottom: 28px;
}
.scribble {
  position: absolute;
  right: 6%;
  top: 8%;
  font-size: 7rem;
  color: var(--peach);
  transform: rotate(-20deg);
}
.photo-column {
  z-index: 1;
}
.portrait-wrap {
  width: min(100%, 440px);
  aspect-ratio: 1;
  position: relative;
  margin: auto;
}
.pastel-shadow,
.portrait {
  position: absolute;
  width: 88%;
  height: 88%;
  border-radius: 50%;
}
.pastel-shadow {
  right: 0;
  bottom: 0;
  background: var(--lavender);
  border: 1px solid var(--ink);
}
.portrait {
  left: 0;
  top: 0;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: #f2f2f2;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 23% 38%;
  transform: scale(1.06);
}
.sticker {
  position: absolute;
  background: var(--mint);
  border: 1px solid var(--ink);
  border-radius: 10px;
  box-shadow: 4px 5px 0 rgba(32, 32, 38, 0.16);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.15;
  padding: 10px 15px;
  right: -2%;
  bottom: 10%;
  transform: rotate(-5deg);
}
.sticker i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #65a77e;
  border-radius: 50%;
  margin-right: 5px;
}
.flower {
  position: absolute;
  font-size: 4.2rem;
  color: #efb9ce;
  left: -7%;
  top: 8%;
  animation: spin 12s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.overline {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  margin-bottom: 14px;
}
.intro-column h1 {
  font: 600 clamp(4.8rem, 8vw, 8.5rem) / 0.74 "Space Grotesk";
  letter-spacing: -0.085em;
  margin: 0;
}
.intro-column h1 span {
  color: #aaa0c9;
}
.headline-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 35px;
  margin-top: 35px;
  max-width: 650px;
}
.headline-row p {
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}
.round-arrow {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--peach);
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 35px;
}
.soft-button {
  border: 1px solid var(--ink);
  border-radius: 100px;
  padding: 13px 21px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.25s;
}
.soft-button.dark {
  background: var(--ink);
  color: #fff;
}
.soft-button.light {
  color: var(--ink);
  background: #fff;
}
.soft-button:hover {
  transform: translateY(-4px);
}
.marquee {
  margin-top: 38px;
  border-block: 1px solid var(--ink);
  overflow: hidden;
  white-space: nowrap;
  transform: rotate(-1deg);
  background: var(--yellow);
}
.marquee div {
  font: 600 1rem "Space Grotesk";
  padding: 14px 0;
  display: inline-block;
  animation: marquee 22s linear infinite;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.section-space {
  padding: 125px 0;
}
.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 65px;
}
.section-kicker span {
  width: 35px;
  height: 35px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  letter-spacing: 0;
}
.about {
  background: #fafafa;
}
.about h2,
.skills h2,
.project-heading h2,
.contact h2 {
  font: 600 clamp(3rem, 6vw, 6.2rem) / 0.9 "Space Grotesk";
  letter-spacing: -0.07em;
}
.about h2 em,
.skills h2 em,
.project-heading h2 em,
.contact h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #9d92c0;
}
.paper-card {
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 4px;
  padding: 55px 42px 35px;
  position: relative;
  transform: rotate(2deg);
  box-shadow: 12px 14px 0 var(--lavender);
  font-size: 1.05rem;
  line-height: 1.75;
}
.tape {
  position: absolute;
  width: 110px;
  height: 30px;
  background: rgba(255, 255, 255, 0.65);
  top: -15px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
}
.paper-sign {
  display: block;
  text-align: right;
  font-family: Georgia, serif;
  font-style: italic;
  margin-top: 25px;
}
.skill-board {
  min-height: 390px;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 45px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 15px;
  position: relative;
  background: #fafafa;
}
.skill {
  padding: 15px 22px;
  border-radius: 100px;
  border: 1px solid var(--ink);
  font-weight: 700;
  box-shadow: 3px 4px 0 rgba(32, 32, 38, 0.15);
  transition: 0.2s;
}
.skill:hover {
  transform: rotate(-3deg) translateY(-5px);
}
.lavender {
  background: var(--lavender);
}
.mint {
  background: var(--mint);
}
.peach {
  background: var(--peach);
}
.sky {
  background: var(--sky);
}
.yellow {
  background: var(--yellow);
}
.pink {
  background: var(--pink);
}
.skill-note {
  position: absolute;
  right: 25px;
  bottom: 20px;
  font-family: Georgia, serif;
  font-style: italic;
  transform: rotate(-5deg);
}
.projects {
  background: #f7f6f9;
}
.project-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 65px;
}
.project-heading p {
  max-width: 310px;
  line-height: 1.6;
}
.project-list {
  display: grid;
  gap: 22px;
}
.project-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 35px;
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 24px;
  padding: 45px;
  transition: 0.3s;
}
.project-item:hover {
  transform: translateY(-7px) rotate(-0.4deg);
  box-shadow: 10px 12px 0 rgba(32, 32, 38, 0.13);
}
.project-lavender {
  background: var(--lavender);
}
.project-mint {
  background: var(--mint);
}
.project-peach {
  background: var(--peach);
}
.project-index,
.project-type {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  font-weight: 700;
}
.project-item h3 {
  font: 600 clamp(2.2rem, 4vw, 4rem) "Space Grotesk";
  letter-spacing: -0.05em;
  margin: 5px 0;
}
.project-item > div:nth-child(2) > p:not(.project-type) {
  max-width: 650px;
}
.project-item > a {
  width: 70px;
  height: 70px;
  border: 1px solid var(--ink);
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 2rem;
  text-decoration: none;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.tags span {
  border: 1px solid rgba(32, 32, 38, 0.5);
  border-radius: 100px;
  padding: 5px 11px;
  font-size: 0.72rem;
}
.contact {
  background: var(--ink);
  color: #fff;
  position: relative;
}
.contact-star {
  font-size: 3rem;
  color: var(--yellow);
}
.contact > div > p {
  font-size: 0.72rem;
  letter-spacing: 0.17em;
  margin: 20px;
}
.contact h2 em {
  color: var(--peach);
}
.contact a {
  display: inline-block;
  color: var(--ink);
  background: var(--mint);
  border-radius: 100px;
  padding: 15px 25px;
  margin-top: 35px;
  text-decoration: none;
  font-weight: 700;
}
footer {
  background: var(--ink);
  color: #a9a9ad;
  border-top: 1px solid #47474d;
  padding: 25px 0;
  font-size: 0.8rem;
}
footer a {
  color: #fff;
  text-decoration: none;
}
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    margin-top: 15px;
    padding: 18px;
  }
  .hero-stage {
    padding: 65px 25px;
  }
  .photo-column {
    order: 1;
  }
  .intro-column {
    order: 2;
    text-align: center;
  }
  .portrait-wrap {
    width: min(78vw, 390px);
  }
  .headline-row {
    grid-template-columns: 1fr;
    justify-items: center;
    margin-inline: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .note-two {
    display: none;
  }
  .project-heading {
    display: block;
  }
  .project-heading p {
    margin-top: 25px;
  }
  .project-item {
    grid-template-columns: 1fr auto;
  }
  .project-index {
    grid-column: 1/-1;
  }
  .section-space {
    padding: 90px 0;
  }
}
@media (max-width: 575.98px) {
  .hero {
    padding-top: 95px;
  }
  .hero-stage {
    border-radius: 20px;
  }
  .intro-column h1 {
    font-size: 4rem;
    margin-top: 15px;
  }
  .portrait-wrap {
    width: 76vw;
  }
  .flower {
    font-size: 3rem;
  }
  .sticker {
    right: -4%;
    font-size: 0.68rem;
  }
  .hero-actions {
    display: grid;
  }
  .soft-button {
    width: 100%;
  }
  .about h2,
  .skills h2,
  .project-heading h2,
  .contact h2 {
    font-size: 3.2rem;
  }
  .paper-card {
    padding: 45px 25px 30px;
  }
  .skill-board {
    padding: 40px 20px 80px;
  }
  .project-item {
    padding: 28px 22px;
    grid-template-columns: 1fr;
  }
  .project-item > a {
    width: 55px;
    height: 55px;
  }
  .contact a {
    font-size: 0.78rem;
  }
}
