@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --cream: #fbf8f2;
  --paper: #fffdf9;
  --ink: #211d36;
  --muted: #696477;
  --purple: #7259e8;
  --purple-dark: #513abf;
  --purple-soft: #ece7ff;
  --coral: #ff8274;
  --coral-soft: #ffe0db;
  --yellow: #ffd766;
  --yellow-soft: #fff0b7;
  --mint: #bce8cf;
  --line: #ded8d0;
  --shell: 1200px;
  --shadow: 0 1.4rem 4rem rgba(62, 48, 94, 0.1);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
  background: var(--cream);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 9%, rgba(255, 215, 102, 0.22), transparent 23rem),
    radial-gradient(circle at 3% 26%, rgba(188, 232, 207, 0.26), transparent 25rem),
    var(--cream);
}

::selection {
  color: #fff;
  background: var(--purple);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: min(calc(100% - 4rem), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.85rem 1rem;
  border-radius: 0.8rem;
  color: #fff;
  background: var(--purple-dark);
  font-weight: 750;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: 1rem;
}

.header-inner {
  min-height: 4.75rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 0.7rem 0.8rem 0.7rem 1rem;
  border: 1px solid transparent;
  border-radius: 1.5rem;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled .header-inner {
  border-color: rgba(216, 208, 199, 0.8);
  background: rgba(255, 253, 249, 0.88);
  box-shadow: 0 0.7rem 2.4rem rgba(71, 60, 89, 0.09);
  backdrop-filter: blur(18px);
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-weight: 780;
  text-decoration: none;
  letter-spacing: -0.025em;
}

.brand-mark {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border-radius: 0.9rem 0.9rem 0.9rem 0.25rem;
  color: #fff;
  background: var(--purple);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: -0.08em;
  transform: rotate(-3deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.7);
}

.site-nav a {
  padding: 0.62rem 0.9rem;
  border-radius: 999px;
  color: #5e586c;
  font-size: 0.75rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.site-nav a:hover {
  color: var(--purple-dark);
  background: var(--purple-soft);
}

.header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.82);
}

.language-switcher button {
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.45rem;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.62rem;
  font-weight: 800;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.language-switcher button:hover {
  color: var(--purple-dark);
}

.language-switcher button[aria-pressed="true"] {
  color: #fff;
  background: var(--purple);
  box-shadow: 0 0.3rem 0.8rem rgba(81, 58, 191, 0.2);
}

.language-switcher button:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-size: 0.76rem;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.header-cta:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
}

.hero {
  min-height: calc(100svh - 6rem);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(24rem, 0.82fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  padding-block: clamp(5rem, 9vw, 8.5rem);
}

.hello-pill {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.6rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid #ddd3f9;
  border-radius: 999px;
  color: var(--purple-dark);
  background: var(--purple-soft);
  font-size: 0.76rem;
  font-weight: 700;
}

.hello-pill span {
  display: inline-block;
  font-size: 1rem;
  transform-origin: 70% 70%;
  animation: wave 2.4s ease-in-out infinite;
}

@keyframes wave {
  0%, 60%, 100% { transform: rotate(0); }
  68% { transform: rotate(16deg); }
  76% { transform: rotate(-9deg); }
  84% { transform: rotate(13deg); }
  92% { transform: rotate(-5deg); }
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3.5rem, 6.6vw, 6.8rem);
  font-weight: 790;
  line-height: 0.98;
  letter-spacing: -0.072em;
}

html[lang="en"] h1 {
  max-width: 12.5ch;
  font-size: clamp(3.35rem, 5.8vw, 5.9rem);
}

h1 em,
h2 em {
  position: relative;
  z-index: 0;
  color: var(--purple);
  font-style: normal;
  font-weight: inherit;
}

h1 em {
  padding-inline: 0.03em;
  background: linear-gradient(transparent 90%, rgba(255, 215, 102, 0.68) 0);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero-lead {
  max-width: 39rem;
  margin: 1.9rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.72;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  min-height: 3.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.25rem 1.35rem;
  border: 1.5px solid transparent;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 760;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: #fff;
  background: var(--purple);
  box-shadow: 0 0.65rem 1.6rem rgba(114, 89, 232, 0.23);
}

.button-primary:hover {
  background: var(--purple-dark);
  box-shadow: 0 0.9rem 2rem rgba(81, 58, 191, 0.28);
}

.button-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 253, 249, 0.72);
}

.button-ghost:hover {
  border-color: #c9bdf4;
  color: var(--purple-dark);
  background: var(--purple-soft);
}

.location-note {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 1.5rem 0 0;
  color: #827c8e;
  font-size: 0.7rem;
  font-weight: 600;
}

.location-note span {
  width: 0.5rem;
  height: 0.5rem;
  border: 2px solid var(--cream);
  border-radius: 50%;
  background: #44b77b;
  box-shadow: 0 0 0 2px #a8ddc1;
}

.hero-visual {
  position: relative;
  padding: 0 0 3.5rem 2.2rem;
}

.visual-card {
  position: relative;
  min-height: 33rem;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 1.35rem;
  border: 1px solid #cfc3ff;
  border-radius: 2.4rem 2.4rem 2.4rem 0.7rem;
  color: #fff;
  background:
    radial-gradient(circle at 75% 18%, rgba(255, 255, 255, 0.2), transparent 9rem),
    linear-gradient(145deg, #836bf0, #5d43cd);
  box-shadow: 0 2rem 5rem rgba(88, 65, 188, 0.24);
  transform: rotate(1.5deg);
}

.visual-card::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  width: 10rem;
  height: 10rem;
  border: 1.5rem solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.visual-topline,
.visual-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.available {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.available i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #90f0bd;
  box-shadow: 0 0 0.7rem rgba(144, 240, 189, 0.8);
}

.avatar-orbit {
  position: relative;
  align-self: center;
  justify-self: center;
  width: min(90%, 20rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.avatar {
  position: relative;
  z-index: 2;
  width: 9.5rem;
  height: 9.5rem;
  display: grid;
  place-items: center;
  border: 0.55rem solid rgba(255, 255, 255, 0.28);
  border-radius: 47% 53% 48% 52% / 54% 45% 55% 46%;
  color: var(--ink);
  background: var(--yellow);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.1em;
  box-shadow: 0 1.2rem 3rem rgba(39, 24, 95, 0.22);
  transform: rotate(-4deg);
}

.orbit {
  position: absolute;
  inset: 4%;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: orbit-turn 30s linear infinite;
}

.orbit-two {
  inset: 17%;
  border-style: solid;
  opacity: 0.22;
  animation-direction: reverse;
  animation-duration: 22s;
}

@keyframes orbit-turn {
  to { transform: rotate(360deg); }
}

.orbit-label {
  position: absolute;
  z-index: 3;
  padding: 0.5rem 0.72rem;
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-size: 0.64rem;
  font-weight: 750;
  box-shadow: 0 0.55rem 1.5rem rgba(37, 25, 84, 0.15);
}

.label-one { top: 6%; left: 7%; transform: rotate(-7deg); }
.label-two { top: 24%; right: -3%; transform: rotate(6deg); }
.label-three { bottom: 7%; left: 17%; transform: rotate(4deg); }

.spark {
  position: absolute;
  color: var(--yellow);
  font-size: 1.5rem;
}

.spark-one { top: 17%; left: 31%; }
.spark-two { right: 20%; bottom: 18%; font-size: 0.9rem; }

.visual-footer {
  justify-content: center;
  gap: 0.75rem;
  padding: 0.8rem;
  border-radius: 0.9rem;
  background: rgba(42, 26, 112, 0.24);
}

.visual-footer i {
  color: var(--yellow);
  font-style: normal;
}

.side-note {
  position: absolute;
  right: -2.2rem;
  bottom: 0;
  z-index: 4;
  width: min(19rem, 70%);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid #e5b9b1;
  border-radius: 1.4rem 1.4rem 0.4rem 1.4rem;
  background: var(--coral-soft);
  box-shadow: var(--shadow);
  transform: rotate(-2.5deg);
}

.note-icon {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--coral);
  font-size: 1.3rem;
  font-weight: 800;
}

.side-note div {
  display: grid;
  gap: 0.25rem;
}

.side-note small {
  color: #9b5149;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.side-note strong {
  font-size: 0.72rem;
  line-height: 1.45;
}

.word-ribbon {
  overflow: hidden;
  padding-block: 1.1rem;
  color: var(--ink);
  background: var(--yellow);
  transform: rotate(-0.65deg) scale(1.02);
}

.word-ribbon > div {
  width: max-content;
  min-width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2.5rem;
  padding-inline: 2rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.word-ribbon i {
  color: var(--purple);
  font-style: normal;
}

.section {
  padding-block: clamp(7rem, 12vw, 11rem);
}

.section-intro {
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  align-items: start;
  gap: 3rem;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.section-label > span {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--purple-dark);
  background: var(--purple-soft);
  font-size: 0.62rem;
  font-weight: 800;
}

.section-intro h2,
.projects-heading h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5.3vw, 5.5rem);
  font-weight: 760;
  line-height: 1.04;
  letter-spacing: -0.065em;
}

.section-intro h2 {
  max-width: 12ch;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  align-items: center;
  gap: clamp(4rem, 10vw, 10rem);
  margin-top: clamp(4rem, 8vw, 7rem);
}

.about-copy {
  padding-left: calc(25.4% + 1rem);
}

.about-copy > p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.22rem);
  line-height: 1.78;
}

.text-link {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.8rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--yellow);
  color: var(--purple-dark);
  font-size: 0.78rem;
  font-weight: 780;
  text-decoration: none;
}

.about-sticker {
  justify-self: center;
  width: min(100%, 20rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1.2rem;
  padding: 2rem;
  border: 1px solid #e6c85b;
  border-radius: 50% 48% 52% 45%;
  background: var(--yellow-soft);
  box-shadow: 1.1rem 1.3rem 0 var(--purple-soft);
  transform: rotate(3deg);
}

.about-sticker p {
  margin: 0;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 780;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.sticker-smile,
.contact-smile {
  position: relative;
  width: 5rem;
  height: 3.2rem;
}

.sticker-smile span,
.contact-smile span {
  position: absolute;
  top: 0;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--ink);
}

.sticker-smile span:first-child,
.contact-smile span:first-child { left: 0.8rem; }
.sticker-smile span:nth-child(2),
.contact-smile span:nth-child(2) { right: 0.8rem; }

.sticker-smile i,
.contact-smile i {
  position: absolute;
  right: 0.5rem;
  bottom: 0;
  left: 0.5rem;
  height: 1.6rem;
  border-bottom: 0.35rem solid var(--ink);
  border-radius: 0 0 50% 50%;
}

.approach-section {
  position: relative;
  background: #f0ecff;
}

.approach-section::before,
.approach-section::after {
  content: "";
  position: absolute;
  width: 6rem;
  height: 1.2rem;
  border-top: 4px solid var(--coral);
  border-radius: 50%;
  opacity: 0.75;
}

.approach-section::before { top: 4rem; right: 8%; transform: rotate(15deg); }
.approach-section::after { bottom: 3rem; left: 6%; transform: rotate(-14deg); }

.section-intro.split h2 {
  max-width: 11ch;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: clamp(3.5rem, 7vw, 6rem);
}

.value-card {
  position: relative;
  min-height: 26rem;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  padding: 1.6rem;
  border: 1px solid rgba(45, 38, 66, 0.14);
  border-radius: 2rem 2rem 2rem 0.55rem;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.value-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-0.5rem) rotate(-1deg);
}

.value-purple { color: #fff; background: var(--purple); }
.value-yellow { background: var(--yellow); transform: translateY(1.5rem); }
.value-mint { background: var(--mint); }

.value-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.75);
  font-size: 1.15rem;
  font-weight: 800;
}

.value-number {
  align-self: end;
  justify-self: end;
  color: currentColor;
  font-size: 0.65rem;
  font-weight: 800;
  opacity: 0.65;
}

.value-card h3 {
  margin: 1rem 0 0.7rem;
  font-size: 1.5rem;
  font-weight: 790;
  letter-spacing: -0.045em;
}

.value-card p {
  max-width: 21rem;
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.68;
  opacity: 0.78;
}

.card-doodle {
  position: absolute;
  right: 1.3rem;
  top: 4rem;
  font-size: 4.8rem;
  font-weight: 400;
  opacity: 0.12;
  transform: rotate(-13deg);
}

.projects-heading {
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  gap: 3rem;
}

.projects-heading > div {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  align-items: end;
  gap: 3rem;
}

.projects-heading h2 em {
  color: var(--coral);
}

.projects-heading h2 > span {
  display: inline-block;
  font-size: 0.62em;
  transform: rotate(8deg);
}

.projects-heading > div > p {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.72;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1rem;
  margin-top: clamp(3.5rem, 7vw, 6rem);
}

.project-card {
  min-height: 27rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 1.5rem;
  border: 1px solid rgba(53, 44, 76, 0.15);
  border-radius: 1.9rem;
  background: var(--paper);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.project-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-0.35rem);
}

.project-large { background: var(--purple-soft); }
.project-coral { background: var(--coral-soft); }
.project-lilac { background: #ded5ff; }

.project-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.63rem;
  font-weight: 800;
}

.project-card-top i {
  padding: 0.45rem 0.65rem;
  border: 1px dashed currentColor;
  border-radius: 999px;
  font-style: normal;
  opacity: 0.65;
}

.project-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.35rem;
  font-weight: 790;
  letter-spacing: -0.04em;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.project-symbol {
  align-self: center;
  justify-self: center;
  width: 12rem;
  height: 12rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  padding: 2.2rem;
  border: 1px dashed rgba(82, 57, 180, 0.28);
  border-radius: 50%;
}

.project-symbol span {
  border-radius: 999px;
  background: var(--purple);
}

.project-symbol span:nth-child(2) { background: var(--yellow); transform: translateY(-0.8rem); }
.project-symbol span:nth-child(3) { background: var(--coral); }

.project-asterisk {
  align-self: center;
  justify-self: center;
  color: var(--coral);
  font-size: 8rem;
  line-height: 1;
  filter: drop-shadow(0.65rem 0.65rem 0 #fff0a4);
  transform: rotate(12deg);
}

.project-lines {
  align-self: center;
  display: grid;
  gap: 0.7rem;
  transform: rotate(-7deg);
}

.project-lines span {
  height: 1.15rem;
  border-radius: 999px;
  background: var(--purple);
}

.project-lines span:nth-child(2) { width: 72%; background: var(--coral); }
.project-lines span:nth-child(3) { width: 45%; background: var(--yellow); }

.contact-section {
  padding: 0 0 clamp(6rem, 10vw, 9rem);
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6.5rem);
  border-radius: 3rem 3rem 3rem 0.8rem;
  color: #fff;
  background: var(--purple);
  box-shadow: 0 2rem 5rem rgba(81, 58, 191, 0.22);
}

.contact-card::after {
  content: "";
  position: absolute;
  right: -4rem;
  bottom: -4rem;
  width: 17rem;
  height: 17rem;
  border: 3rem solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.section-label.light {
  color: rgba(255, 255, 255, 0.72);
}

.section-label.light > span {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.contact-card h2 {
  max-width: 12ch;
  margin-top: 2rem;
}

.contact-card h2 em {
  color: var(--yellow);
}

.contact-card > p:not(.section-label) {
  max-width: 36rem;
  margin: 1.6rem 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.72;
}

.button-light {
  color: var(--purple-dark);
  background: #fff;
}

.button-light:hover {
  background: var(--yellow);
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.button-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.contact-spark {
  position: absolute;
  top: 13%;
  right: 13%;
  color: var(--yellow);
  font-size: 4.2rem;
  transform: rotate(12deg);
}

.contact-smile {
  position: absolute;
  right: 10%;
  bottom: 16%;
  width: 8rem;
  height: 5rem;
  opacity: 0.16;
  transform: rotate(-9deg);
}

.contact-smile span {
  width: 1rem;
  height: 1rem;
  background: #fff;
}

.contact-smile i {
  height: 2.6rem;
  border-bottom-color: #fff;
  border-bottom-width: 0.55rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-inner {
  min-height: 8rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
}

.footer-brand {
  color: var(--ink);
}

.footer-inner > p {
  margin: 0;
}

.footer-inner > div {
  justify-self: end;
  display: flex;
  gap: 1.5rem;
}

.footer-inner > div a {
  color: var(--purple-dark);
  font-weight: 750;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 650ms cubic-bezier(0.2, 0.75, 0.2, 1), transform 650ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.error-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
}

.header-inner.compact-header {
  grid-template-columns: 1fr auto;
}

.error-main {
  display: grid;
  place-items: center;
  padding-block: 4rem;
}

.error-card {
  max-width: 48rem;
  padding: clamp(2.5rem, 7vw, 6rem);
  border: 1px solid #d7cdfc;
  border-radius: 3rem 3rem 3rem 0.8rem;
  text-align: center;
  background: var(--purple-soft);
  box-shadow: var(--shadow);
}

.error-code {
  margin: 0;
  color: var(--coral);
  font-size: 1rem;
  font-weight: 800;
}

.error-card h1 {
  max-width: none;
  margin-top: 1rem;
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.error-card > p:not(.error-code) {
  max-width: 31rem;
  margin: 1.3rem auto 0;
  color: var(--muted);
  line-height: 1.7;
}

.error-card .button {
  margin-top: 2rem;
}

@media (max-width: 1020px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.75fr);
    gap: 3rem;
  }

  .visual-card {
    min-height: 29rem;
  }

  .project-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .project-card:last-child {
    grid-column: 1 / -1;
    min-height: 20rem;
  }
}

@media (max-width: 780px) {
  .shell {
    width: min(calc(100% - 2.5rem), var(--shell));
  }

  .site-header {
    padding-top: 0.6rem;
  }

  .header-inner {
    min-height: 4.3rem;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 4.5rem 6rem;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(3.3rem, 13vw, 5.6rem);
  }

  html[lang="en"] h1 {
    max-width: 11.5ch;
    font-size: clamp(3rem, 12vw, 5rem);
  }

  .hero-visual {
    width: min(100%, 31rem);
    justify-self: center;
    padding-left: 0;
  }

  .side-note {
    right: -0.4rem;
  }

  .word-ribbon > div {
    justify-content: flex-start;
  }

  .section-intro,
  .projects-heading {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .about-copy {
    padding-left: 0;
  }

  .about-sticker {
    width: 18rem;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .value-card,
  .value-card.value-yellow {
    min-height: 20rem;
    transform: none;
  }

  .projects-heading > div {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card:last-child {
    min-height: 22rem;
    grid-column: auto;
  }

  .contact-smile {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    padding-block: 2rem;
  }

  .footer-inner > p {
    order: 3;
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .shell {
    width: min(calc(100% - 1.5rem), var(--shell));
  }

  .brand > span:last-child {
    display: none;
  }

  .header-cta {
    min-height: 2.75rem;
    padding: 0.65rem 0.8rem;
    font-size: 0.7rem;
  }

  .header-tools {
    gap: 0.4rem;
  }

  .language-switcher button {
    min-width: 1.7rem;
    padding-inline: 0.3rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4rem);
  }

  html[lang="en"] h1 {
    font-size: clamp(2.7rem, 13.5vw, 3.8rem);
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .visual-card {
    min-height: 27rem;
    border-radius: 1.8rem 1.8rem 1.8rem 0.6rem;
  }

  .avatar {
    width: 8rem;
    height: 8rem;
    font-size: 2.3rem;
  }

  .side-note {
    position: relative;
    right: auto;
    bottom: auto;
    width: 92%;
    margin: -2rem auto 0;
  }

  .hero-visual {
    padding-bottom: 0;
  }

  .section-intro h2,
  .projects-heading h2,
  .contact-card h2 {
    font-size: clamp(2.55rem, 12vw, 3.6rem);
  }

  .contact-card {
    width: min(calc(100% - 1.5rem), var(--shell));
    padding: 2rem 1.25rem;
    border-radius: 2rem 2rem 2rem 0.6rem;
  }

  .contact-spark {
    top: 7%;
    right: 8%;
    font-size: 2.2rem;
  }

  .footer-inner > div {
    gap: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
