:root {
  --paper: #fff8fc;
  --paper-2: #ffeaf4;
  --soft-pink: #ffc5df;
  --pink: #ff4fa3;
  --hot-pink: #ed177f;
  --deep-pink: #9b1757;
  --ink: #24131e;
  --white: #ffffff;
  --yellow: #fff067;
  --line: #24131e;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --shell: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(237, 23, 127, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 23, 127, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  transition: background-color 280ms ease;
}

body.pink-max {
  --paper: #ffd0e5;
  --paper-2: #ff9bc8;
  --soft-pink: #ff79b8;
  --pink: #ff1684;
}

/* Opening title sequence */
html.intro-ready,
html.intro-ready body {
  overflow: hidden;
}

.site-intro {
  display: none;
}

html.intro-ready .site-intro {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  overflow: hidden;
  background-color: #ff9dcc;
  background-image:
    linear-gradient(rgba(36, 19, 30, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 19, 30, 0.1) 1px, transparent 1px);
  background-size: 42px 42px;
  color: #24131e;
  opacity: 1;
  transition: opacity 560ms cubic-bezier(0.65, 0, 0.35, 1), visibility 560ms;
}

html.intro-ready .site-intro::before,
html.intro-ready .site-intro::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

html.intro-ready .site-intro::before {
  top: -22vmax;
  right: -17vmax;
  width: 58vmax;
  height: 58vmax;
  border: 3px solid #24131e;
  border-radius: 50%;
  background: #bca2ff;
  animation: intro-shape-in 900ms 120ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

html.intro-ready .site-intro::after {
  bottom: -16vmax;
  left: -13vmax;
  width: 36vmax;
  height: 36vmax;
  border: 3px solid #24131e;
  border-radius: 50%;
  background: #fff067;
  animation: intro-shape-in 900ms 260ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

html.intro-ready .site-intro.intro-leaving {
  visibility: hidden;
  opacity: 0;
}

.intro-frame {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1120px, 100%);
  min-height: min(680px, calc(100vh - 96px));
  grid-template-rows: auto 1fr auto;
  align-items: center;
  padding: clamp(24px, 4.8vw, 62px);
  border: 3px solid #24131e;
  background: rgba(255, 248, 252, 0.93);
  box-shadow: clamp(7px, 1.4vw, 15px) clamp(7px, 1.4vw, 15px) 0 #24131e;
  animation: intro-frame-in 660ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intro-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: clamp(0.64rem, 1.2vw, 0.78rem);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.intro-copy {
  width: 100%;
  margin: auto;
  text-align: center;
}

.intro-kicker {
  margin-bottom: clamp(5px, 1vw, 14px);
  font-family: var(--mono);
  font-size: clamp(0.74rem, 1.5vw, 0.92rem);
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0;
  animation: intro-copy-in 480ms 380ms ease-out forwards;
}

.intro-title {
  margin: 0;
  color: #ed177f;
  font-family: var(--serif);
  font-size: clamp(5rem, 16vw, 12.5rem);
  font-weight: 400;
  letter-spacing: -0.085em;
  line-height: 0.72;
  text-shadow: 4px 4px 0 #24131e;
  white-space: nowrap;
}

.intro-title span {
  display: inline-block;
  transform-origin: 50% 100%;
  opacity: 0;
  animation: intro-letter-in 610ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(300ms + (var(--letter) * 105ms));
}

.intro-title i {
  display: inline-block;
  margin-left: 0.02em;
  color: #bca2ff;
  font-style: normal;
  opacity: 0;
  animation: intro-dot-in 440ms 910ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.intro-description {
  display: inline-block;
  max-width: 100%;
  margin: clamp(28px, 4vw, 45px) 0 0;
  padding: 8px 13px;
  border: 2px solid #24131e;
  background: #fff067;
  font-family: var(--mono);
  font-size: clamp(0.75rem, 1.8vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: rotate(-1.5deg) translateY(14px);
  animation: intro-description-in 520ms 1030ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.intro-progress {
  position: absolute;
  right: clamp(24px, 4.8vw, 62px);
  bottom: clamp(27px, 4.8vw, 62px);
  left: clamp(24px, 4.8vw, 62px);
  height: 3px;
  overflow: hidden;
  background: rgba(36, 19, 30, 0.18);
}

.intro-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: #ed177f;
  transform: scaleX(0);
  transform-origin: left;
  animation: intro-progress 2.8s 100ms linear forwards;
}

.intro-skip {
  position: absolute;
  right: clamp(24px, 4.8vw, 62px);
  bottom: clamp(42px, 7vw, 86px);
  padding: 8px 11px;
  border: 2px solid #24131e;
  background: #fff8fc;
  color: #24131e;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
  opacity: 0;
  animation: intro-copy-in 400ms 520ms ease-out forwards;
  transition: color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.intro-skip:hover,
.intro-skip:focus-visible {
  background: #24131e;
  color: #fff8fc;
  transform: translate(-2px, -2px);
}

.intro-skip:focus-visible {
  outline: 3px solid #3670ff;
  outline-offset: 3px;
}

.intro-atmosphere {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}

.intro-orbit,
.intro-spark {
  position: absolute;
  display: block;
}

.intro-orbit {
  width: clamp(32px, 5vw, 64px);
  aspect-ratio: 1;
  border: 3px solid #24131e;
  border-radius: 60% 40% 65% 35%;
  background: #ff4fa3;
  opacity: 0;
}

.intro-orbit-one {
  top: 9%;
  left: 5%;
  animation: intro-orbit-in 700ms 720ms cubic-bezier(0.16, 1, 0.3, 1) forwards, intro-float 2.4s 1.42s ease-in-out infinite;
}

.intro-orbit-two {
  right: 5%;
  bottom: 8%;
  border-radius: 35% 65% 40% 60%;
  background: #bca2ff;
  animation: intro-orbit-in 700ms 870ms cubic-bezier(0.16, 1, 0.3, 1) forwards, intro-float 2.7s 1.57s ease-in-out infinite reverse;
}

.intro-spark {
  color: #24131e;
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  opacity: 0;
  animation: intro-spark-in 500ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.intro-spark-one {
  top: 18%;
  right: 12%;
  animation-delay: 780ms;
}

.intro-spark-two {
  bottom: 18%;
  left: 13%;
  animation-delay: 960ms;
}

.intro-spark-three {
  top: 10%;
  left: 44%;
  animation-delay: 1120ms;
}

@keyframes intro-frame-in {
  from { opacity: 0; transform: translateY(22px) scale(0.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes intro-shape-in {
  from { opacity: 0; transform: scale(0.65) rotate(-12deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes intro-letter-in {
  0% { opacity: 0; transform: translateY(0.6em) rotate(8deg); }
  72% { opacity: 1; transform: translateY(-0.04em) rotate(-1deg); }
  100% { opacity: 1; transform: translateY(0) rotate(0); }
}

@keyframes intro-dot-in {
  from { opacity: 0; transform: scale(0) rotate(-30deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes intro-copy-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes intro-description-in {
  from { opacity: 0; transform: rotate(-1.5deg) translateY(14px); }
  to { opacity: 1; transform: rotate(-1.5deg) translateY(0); }
}

@keyframes intro-progress {
  to { transform: scaleX(1); }
}

@keyframes intro-orbit-in {
  from { opacity: 0; transform: scale(0) rotate(-45deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes intro-float {
  50% { transform: translateY(-9px) rotate(6deg); }
}

@keyframes intro-spark-in {
  from { opacity: 0; transform: scale(0) rotate(-35deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

body.intro-revealed .site-header {
  animation: intro-page-reveal 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.intro-revealed .hero-grid,
body.intro-revealed .status-ribbon {
  animation: intro-page-reveal 620ms 80ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes intro-page-reveal {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  html.intro-ready .site-intro {
    padding: 15px;
  }

  .intro-frame {
    min-height: calc(100dvh - 30px);
    padding: 24px;
    box-shadow: 7px 7px 0 #24131e;
  }

  .intro-meta span:last-child {
    display: none;
  }

  .intro-title {
    font-size: clamp(4.4rem, 25vw, 7.3rem);
    text-shadow: 3px 3px 0 #24131e;
  }

  .intro-description {
    max-width: 270px;
    line-height: 1.45;
  }

  .intro-progress {
    right: 24px;
    bottom: 25px;
    left: 24px;
  }

  .intro-skip {
    right: 24px;
    bottom: 42px;
  }

  .intro-orbit-one {
    top: 12%;
    left: 2%;
  }

  .intro-orbit-two {
    right: 2%;
    bottom: 9%;
  }
}

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

button {
  font: inherit;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--line);
  background: rgba(255, 248, 252, 0.91);
  backdrop-filter: blur(14px);
}

.wordmark {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 13px;
  padding: 0 24px;
  border-right: 2px solid var(--line);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.wordmark-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.site-header > nav:not(.mobile-menu) {
  display: flex;
  height: 72px;
  align-items: stretch;
}

.site-header > nav:not(.mobile-menu) a {
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-left: 1px solid rgba(36, 19, 30, 0.28);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.site-header > nav:not(.mobile-menu) a:hover,
.site-header > nav:not(.mobile-menu) a:focus-visible {
  background: var(--soft-pink);
}

.site-header .nav-cta {
  background: var(--ink);
  color: var(--white);
}

.site-header .nav-cta:hover,
.site-header .nav-cta:focus-visible {
  background: var(--hot-pink) !important;
}

.menu-button,
.mobile-menu {
  display: none;
}

.hero {
  width: var(--shell);
  margin: 0 auto;
  padding: 32px 0 74px;
}

.status-ribbon {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 13px;
  border: 2px solid var(--line);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: rotate(-0.35deg);
}

.status-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.status-live i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--hot-pink);
  box-shadow: 0 0 0 3px rgba(237, 23, 127, 0.2);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, 0.84fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: center;
  padding-top: clamp(70px, 9vw, 126px);
}

.eyebrow,
.kicker,
.section-number,
.result-label,
.log-date {
  font-family: var(--mono);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  padding: 5px 10px;
  background: var(--ink);
  color: var(--white);
  transform: rotate(0.6deg);
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 30px;
  font-family: var(--serif);
  font-size: clamp(3.55rem, 7vw, 6.55rem);
  font-weight: 400;
  letter-spacing: -0.072em;
  line-height: 0.84;
}

.hero h1 span {
  position: relative;
  z-index: 0;
  display: inline-block;
  margin-top: 10px;
  color: var(--deep-pink);
  font-style: italic;
  letter-spacing: -0.055em;
}

.hero h1 span::after {
  position: absolute;
  z-index: -1;
  right: -2%;
  bottom: 0.02em;
  left: -1%;
  height: 0.24em;
  background: var(--soft-pink);
  content: "";
  transform: rotate(-1.2deg);
}

.hero-intro {
  max-width: 680px;
  margin-bottom: 28px;
  font-size: clamp(1.06rem, 1.6vw, 1.28rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid var(--line);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.button-primary {
  background: var(--pink);
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(3px, 3px);
}

.text-link {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 800;
  text-underline-offset: 5px;
}

.small-note {
  max-width: 680px;
  margin-bottom: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(36, 19, 30, 0.45);
  color: #60404f;
  font-family: var(--mono);
  font-size: 0.79rem;
}

.diagnostic {
  border: 3px solid var(--line);
  background: var(--white);
  box-shadow: 12px 12px 0 var(--pink);
  transform: rotate(1.25deg);
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 3px solid var(--line);
  background: var(--soft-pink);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
}

.window-bar > div {
  display: flex;
  gap: 5px;
}

.window-bar i {
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
}

.diagnostic-body {
  padding: clamp(24px, 4vw, 40px);
}

.diagnostic .kicker {
  margin-bottom: 10px;
  color: var(--deep-pink);
}

.diagnostic h2 {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(1.95rem, 3.5vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.diagnostic-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.mode-button {
  min-height: 47px;
  padding: 9px;
  border: 2px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 800;
  text-align: left;
  transition: background 130ms ease, color 130ms ease, transform 130ms ease;
}

.mode-button:hover,
.mode-button:focus-visible {
  transform: translateY(-2px);
}

.mode-button.active {
  background: var(--ink);
  color: var(--white);
}

.diagnostic-result {
  min-height: 203px;
  padding: 20px;
  border: 2px dashed var(--line);
  background: var(--paper-2);
}

.result-label {
  margin-bottom: 8px;
  color: var(--deep-pink);
}

.result-copy {
  margin-bottom: 18px;
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.45;
}

.result-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.result-tools span {
  padding: 4px 8px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--mono);
  font-size: 0.69rem;
  font-weight: 800;
  text-transform: uppercase;
}

.diagnostic-footnote {
  margin: 16px 0 0;
  color: #6d4c5b;
  font-family: var(--mono);
  font-size: 0.7rem;
}

.ticker {
  overflow: hidden;
  border-block: 3px solid var(--line);
  background: var(--pink);
  transform: rotate(0.35deg) scale(1.01);
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 26px;
  padding: 12px 0;
  animation: ticker 28s linear infinite;
  font-family: var(--mono);
  font-size: 0.81rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ticker-track b {
  font-size: 1rem;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.section-shell {
  width: var(--shell);
  margin: 0 auto;
}

.profile-section,
.toolbox-section {
  padding-block: clamp(100px, 13vw, 170px);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.4fr 1.3fr 0.65fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 52px;
}

.section-number {
  margin: 7px 0 0;
  color: var(--deep-pink);
}

.section-heading h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2.45rem, 4.4vw, 4.35rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.section-heading > p:last-child {
  margin: 8px 0 0;
  color: #634553;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1.58fr);
  overflow: hidden;
  border: 3px solid var(--line);
  background: var(--white);
  box-shadow: 10px 10px 0 var(--pink);
}

.profile-index {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  padding: 38px;
  background: var(--ink);
  color: var(--white);
}

.profile-index .section-number {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--pink);
}

.profile-number {
  position: absolute;
  top: 18%;
  left: -0.08em;
  font-family: var(--serif);
  font-size: clamp(11rem, 19vw, 17rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.1em;
  line-height: 0.8;
}

.profile-index-note {
  position: absolute;
  right: 38px;
  bottom: 34px;
  left: 38px;
  margin: 0;
  padding-top: 16px;
  border-top: 2px solid var(--pink);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.profile-content {
  padding: clamp(38px, 6vw, 72px);
}

.profile-kicker {
  margin-bottom: 18px;
  color: var(--deep-pink);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-content h2 {
  max-width: 760px;
  margin-bottom: 32px;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 4.4vw, 4.35rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.profile-copy {
  max-width: 820px;
}

.profile-copy p {
  margin-bottom: 17px;
  font-size: 1.02rem;
  line-height: 1.62;
}

.profile-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 34px 0 24px;
  border: 2px solid var(--line);
  background: var(--paper-2);
}

.profile-summary > div {
  padding: 18px 20px;
}

.profile-summary > div + div {
  border-left: 2px solid var(--line);
}

.profile-summary span {
  display: block;
  margin-bottom: 7px;
  color: var(--deep-pink);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-summary strong {
  display: block;
  font-size: 0.94rem;
  line-height: 1.45;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.profile-tags span {
  padding: 5px 9px;
  border: 1.5px solid var(--line);
  background: var(--yellow);
  font-family: var(--mono);
  font-size: 0.69rem;
  font-weight: 900;
  text-transform: uppercase;
}

.older-roles summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 0;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.77rem;
  font-weight: 900;
  list-style: none;
  text-transform: uppercase;
}

.older-roles summary::-webkit-details-marker {
  display: none;
}

.changelog-section {
  padding-block: clamp(100px, 12vw, 160px);
  border-block: 3px solid var(--line);
  background: var(--soft-pink);
}

.changelog-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(60px, 9vw, 130px);
}

.sticky-heading {
  position: sticky;
  top: 120px;
  display: block;
  align-self: start;
  margin-bottom: 0;
}

.sticky-heading .section-number {
  margin-bottom: 22px;
}

.sticky-heading h2 {
  margin-bottom: 24px;
}

.sticky-heading > p:last-child {
  max-width: 460px;
  margin: 0;
  color: var(--ink);
}

.changelog-list {
  border-top: 3px solid var(--line);
}

.log-entry {
  position: relative;
  display: grid;
  grid-template-columns: 106px 1fr;
  gap: 24px;
  padding: 34px 0;
  border-bottom: 2px solid var(--line);
}

.log-version {
  align-self: start;
  padding: 7px 8px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
}

.log-entry h3 {
  margin-bottom: 2px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.log-date {
  margin-bottom: 8px;
  color: var(--deep-pink);
}

.company {
  margin-bottom: 12px;
  font-weight: 800;
}

.log-entry > div:nth-child(2) > p:last-child {
  max-width: 620px;
  margin-bottom: 0;
}

.current-tag {
  position: absolute;
  top: 34px;
  right: 0;
  padding: 5px 8px;
  border: 1.5px solid var(--line);
  background: var(--yellow);
  font-family: var(--mono);
  font-size: 0.67rem;
  font-weight: 900;
  text-transform: uppercase;
  transform: rotate(2deg);
}

.older-roles {
  border-bottom: 3px solid var(--line);
}

.older-roles > summary {
  padding: 22px 0;
}

.older-roles[open] > summary span {
  transform: rotate(45deg);
}

.log-entry.compact {
  padding-left: 18px;
  background: rgba(255, 255, 255, 0.28);
}

.toolbox-heading {
  grid-template-columns: 0.4fr 1.9fr;
}

.toolbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 3px solid var(--line);
  background: var(--ink);
  gap: 3px;
}

.toolbox-grid article {
  position: relative;
  min-height: 300px;
  padding: clamp(28px, 5vw, 54px);
  background: var(--paper);
}

.toolbox-grid article:nth-child(2),
.toolbox-grid article:nth-child(3) {
  background: var(--paper-2);
}

.toolbox-index {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--serif);
  font-size: 4rem;
  font-style: italic;
  line-height: 1;
  opacity: 0.2;
}

.toolbox-grid h3 {
  margin: 64px 0 16px;
  font-family: var(--serif);
  font-size: clamp(2.05rem, 3.5vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1;
}

.toolbox-grid p {
  max-width: 480px;
  margin-bottom: 0;
}

.about-section {
  padding-block: clamp(100px, 13vw, 170px);
  border-top: 3px solid var(--line);
  background: var(--yellow);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(50px, 10vw, 140px);
  align-items: start;
}

.about-copy h2 {
  margin: 28px 0 28px;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 4.7vw, 4.65rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.about-copy > p:not(.section-number) {
  max-width: 680px;
  font-size: 1.08rem;
}

.spec-sheet {
  border: 3px solid var(--line);
  background: var(--white);
  box-shadow: 10px 10px 0 var(--pink);
  transform: rotate(-1deg);
}

.spec-sheet > div {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 3px 20px;
  padding: 24px;
}

.spec-sheet > div + div {
  border-top: 2px solid var(--line);
}

.spec-sheet span {
  grid-row: span 2;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.spec-sheet strong {
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.25;
}

.spec-sheet small {
  font-size: 0.78rem;
}

.c3-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(88px, 11vw, 142px);
  border-top: 3px solid var(--line);
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(255, 79, 163, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 79, 163, 0.075) 1px, transparent 1px);
  background-size: 34px 34px;
  color: var(--paper);
}

.c3-orbit {
  position: absolute;
  top: 5%;
  right: -3%;
  color: transparent;
  font-family: var(--sans);
  font-size: clamp(5rem, 13vw, 12rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 0.8;
  opacity: 0.16;
  -webkit-text-stroke: 2px var(--pink);
  transform: rotate(-5deg);
  white-space: nowrap;
}

.c3-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(230px, 0.38fr) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 88px);
  align-items: center;
}

.c3-copy .section-number {
  margin-bottom: 22px;
  color: var(--pink);
}

.c3-copy h2 {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.c3-copy > p:not(.section-number) {
  max-width: 410px;
  margin-bottom: 30px;
  color: var(--paper-2);
  font-size: 1.05rem;
}

.c3-source {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 2px solid var(--paper);
  background: var(--pink);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--paper);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition: box-shadow 150ms ease, transform 150ms ease;
}

.c3-source:hover,
.c3-source:focus-visible {
  box-shadow: 2px 2px 0 var(--paper);
  transform: translate(2px, 2px);
}

.c3-window {
  min-width: 0;
  overflow: hidden;
  border: 3px solid var(--paper);
  background: var(--paper-2);
  box-shadow: 11px 11px 0 var(--pink);
  transform: rotate(0.35deg);
}

.c3-window-bar {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 13px;
  border-bottom: 3px solid var(--ink);
  background: var(--soft-pink);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.c3-animation-shell {
  --c3-scale: 1;
  position: relative;
  width: min(100%, 800px);
  aspect-ratio: 800 / 650;
  overflow: hidden;
  margin-inline: auto;
  background:
    radial-gradient(circle at 50% 42%, var(--deep-pink) 0 43%, transparent 43.5%),
    var(--ink);
}

.c3-animation-frame {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 800px;
  height: 650px;
  border: 0;
  filter: hue-rotate(150deg) saturate(1.2) contrast(1.06);
  transform: scale(var(--c3-scale));
  transform-origin: top left;
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(95px, 12vw, 150px);
  background: var(--hot-pink);
  color: var(--ink);
}

.contact-orbit {
  position: absolute;
  top: 3%;
  right: -4%;
  color: transparent;
  font-family: var(--sans);
  font-size: clamp(4.4rem, 12vw, 11.5rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 0.8;
  opacity: 0.22;
  -webkit-text-stroke: 2px var(--ink);
  transform: rotate(-8deg);
  white-space: nowrap;
}

.contact-inner {
  position: relative;
  z-index: 1;
}

.contact-inner .section-number {
  margin-bottom: 24px;
  color: var(--ink);
}

.contact-inner h2 {
  max-width: 1000px;
  margin-bottom: 30px;
  font-family: var(--serif);
  font-size: clamp(3.55rem, 7.8vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.8;
}

.contact-inner h2 em {
  color: var(--white);
  font-weight: 400;
}

.contact-inner > p:not(.section-number) {
  max-width: 650px;
  margin-bottom: 42px;
  font-size: 1.16rem;
  font-weight: 650;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  border: 3px solid var(--line);
  background: var(--ink);
  gap: 3px;
}

.contact-links a {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  background: var(--paper);
  font-family: var(--mono);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  background: var(--yellow);
}

.contact-links span {
  font-size: 1.35rem;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px 26px;
  border-top: 3px solid var(--line);
  background: var(--ink);
  color: var(--white);
  font-family: var(--mono);
  font-size: 0.69rem;
}

footer p {
  margin: 0;
}

footer p:last-child {
  text-align: right;
}

.pink-switch {
  padding: 7px 10px;
  border: 1.5px solid var(--white);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pink-switch:hover,
.pink-switch:focus-visible,
.pink-switch[aria-pressed="true"] {
  background: var(--pink);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid #3670ff;
  outline-offset: 3px;
}

::selection {
  background: var(--ink);
  color: var(--pink);
}

@media (max-width: 980px) {
  .site-header > nav:not(.mobile-menu) {
    display: none;
  }

  .menu-button {
    display: block;
    align-self: stretch;
    padding: 0 24px;
    border: 0;
    border-left: 2px solid var(--line);
    background: var(--pink);
    color: var(--ink);
    cursor: pointer;
    font-family: var(--mono);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .mobile-menu {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    flex-direction: column;
    border-bottom: 3px solid var(--line);
    background: var(--paper);
  }

  .mobile-menu:not([hidden]) {
    display: flex;
  }

  .mobile-menu a {
    padding: 16px 22px;
    border-bottom: 1px solid rgba(36, 19, 30, 0.25);
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
  }

  .hero-grid,
  .about-grid,
  .changelog-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 82px;
  }

  .diagnostic {
    max-width: 650px;
    margin-left: auto;
  }

  .section-heading {
    grid-template-columns: 0.35fr 1.5fr;
  }

  .section-heading > p:last-child {
    grid-column: 2;
  }

  .sticky-heading {
    position: static;
  }

  .changelog-layout {
    gap: 50px;
  }

  .about-grid {
    gap: 70px;
  }

  .c3-layout {
    grid-template-columns: 1fr;
  }

  .c3-copy {
    max-width: 660px;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 24px, 1180px);
  }

  html {
    scroll-padding-top: 76px;
  }

  .site-header {
    min-height: 62px;
  }

  .wordmark {
    padding: 0 12px;
    border-right: 0;
    font-size: 0.7rem;
  }

  .wordmark-mark {
    width: 30px;
    height: 30px;
  }

  .menu-button {
    padding: 0 16px;
  }

  .mobile-menu {
    top: 62px;
  }

  .hero {
    padding-top: 20px;
  }

  .status-ribbon {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px 18px;
    font-size: 0.64rem;
  }

  .status-ribbon span:last-child {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 65px;
    padding-top: 64px;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 15.5vw, 4.9rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .diagnostic {
    width: calc(100% - 8px);
    margin: 0;
    box-shadow: 7px 7px 0 var(--pink);
    transform: rotate(0.5deg);
  }

  .diagnostic-options {
    grid-template-columns: 1fr;
  }

  .diagnostic-result {
    min-height: 0;
  }

  .section-heading,
  .toolbox-heading {
    display: block;
  }

  .section-heading .section-number {
    margin-bottom: 18px;
  }

  .section-heading h2 {
    margin-bottom: 22px;
  }

  .profile-layout {
    grid-template-columns: 1fr;
    box-shadow: 6px 6px 0 var(--pink);
  }

  .profile-index {
    min-height: 230px;
    padding: 24px;
  }

  .profile-number {
    top: 33px;
    right: 28px;
    left: auto;
    font-size: 9.5rem;
  }

  .profile-index-note {
    right: 24px;
    bottom: 22px;
    left: 24px;
  }

  .profile-content {
    padding: 32px 24px;
  }

  .profile-content h2 {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
  }

  .profile-summary {
    grid-template-columns: 1fr;
  }

  .profile-summary > div + div {
    border-top: 2px solid var(--line);
    border-left: 0;
  }

  .log-entry {
    grid-template-columns: 85px 1fr;
    gap: 15px;
  }

  .current-tag {
    position: static;
    align-self: start;
    justify-self: start;
    grid-column: 2;
    margin-top: -21px;
  }

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

  .toolbox-grid article {
    min-height: 260px;
  }

  .about-copy h2 {
    font-size: clamp(2.85rem, 12.5vw, 4.25rem);
  }

  .spec-sheet {
    box-shadow: 6px 6px 0 var(--pink);
  }

  .spec-sheet > div {
    grid-template-columns: 1fr;
  }

  .spec-sheet span {
    grid-row: auto;
    margin-bottom: 6px;
  }

  .c3-section {
    padding-block: 78px;
  }

  .c3-window {
    border-width: 2px;
    box-shadow: 6px 6px 0 var(--pink);
    transform: none;
  }

  .c3-window-bar {
    min-height: 40px;
    border-bottom-width: 2px;
    font-size: 0.64rem;
  }

  .contact-inner h2 {
    font-size: clamp(3.3rem, 16vw, 6rem);
  }

  .contact-links {
    grid-template-columns: 1fr;
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  footer p:last-child {
    text-align: center;
  }
}

/* Pink portfolio chatbot */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.chabi-chatbot {
  position: fixed;
  z-index: 80;
  right: clamp(16px, 2.4vw, 34px);
  bottom: clamp(16px, 2.4vw, 30px);
  display: grid;
  justify-items: end;
}

.chat-panel[hidden] {
  display: none;
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 100px;
  display: grid;
  width: min(400px, calc(100vw - 28px));
  max-height: min(650px, calc(100vh - 132px));
  overflow: hidden;
  border: 2px solid var(--line);
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(-0.18deg);
}

.chabi-chatbot.is-open .chat-panel {
  animation: chat-panel-in 220ms ease-out both;
}

.chat-header {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 10px 9px 12px;
  border-bottom: 2px solid var(--line);
  background: var(--soft-pink);
}

.chat-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.chat-identity img {
  flex: 0 0 auto;
  object-fit: contain;
}

.chat-identity p {
  margin: 0 0 2px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.chat-identity span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

.chat-identity i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hot-pink);
  box-shadow: 0 0 0 3px rgba(237, 23, 127, 0.18);
}

.chat-close {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 2px solid var(--line);
  background: var(--white);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.chat-close:hover,
.chat-close:focus-visible {
  background: var(--yellow);
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--ink);
}

.chat-messages {
  display: flex;
  min-height: 190px;
  max-height: 310px;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 16px;
  background-color: var(--paper-2);
  background-image:
    linear-gradient(rgba(237, 23, 127, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 23, 127, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  scrollbar-color: var(--pink) transparent;
}

.chat-message {
  display: flex;
  max-width: 91%;
  align-items: flex-start;
  gap: 8px;
}

.chat-message img {
  flex: 0 0 auto;
  object-fit: contain;
}

.chat-message p {
  margin: 0;
  padding: 10px 12px;
  border: 2px solid var(--line);
  background: var(--white);
  box-shadow: 3px 3px 0 rgba(36, 19, 30, 0.16);
  font-size: 0.91rem;
  line-height: 1.45;
}

.user-message {
  align-self: flex-end;
}

.user-message p {
  background: var(--hot-pink);
  color: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
}

.typing-message p {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
}

.chat-suggestions {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 12px 14px 4px;
  background: var(--paper);
  scrollbar-width: thin;
}

.chat-suggestions button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 6px 9px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.69rem;
  font-weight: 800;
}

.chat-suggestions button:hover,
.chat-suggestions button:focus-visible {
  background: var(--yellow);
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 10px 14px 8px;
  background: var(--paper);
}

.chat-form input {
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 2px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  outline: none;
}

.chat-form input:focus {
  box-shadow: 3px 3px 0 var(--pink);
}

.chat-form button {
  min-width: 68px;
  min-height: 46px;
  padding: 8px 12px;
  border: 2px solid var(--line);
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chat-form button:hover,
.chat-form button:focus-visible {
  background: var(--hot-pink);
}

.chat-form button:disabled,
.chat-form input:disabled {
  cursor: wait;
  opacity: 0.62;
}

.chat-note {
  margin: 0;
  padding: 0 14px 11px;
  color: rgba(36, 19, 30, 0.72);
  font-family: var(--mono);
  font-size: 0.65rem;
  line-height: 1.35;
}

.chat-launcher {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.chat-launcher-label {
  padding: 9px 12px;
  border: 2px solid var(--line);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  transform: rotate(-1deg);
}

.chat-pet-shell {
  position: relative;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 180ms ease;
}

.chat-pet-shell img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  animation: chat-pet-float 2.8s ease-in-out infinite;
}

.chat-pet-shell i {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 15px;
  height: 15px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--hot-pink);
}

.chat-launcher:hover .chat-pet-shell,
.chat-launcher:focus-visible .chat-pet-shell,
.chabi-chatbot.is-open .chat-pet-shell {
  transform: rotate(5deg) scale(1.04);
}

.chabi-chatbot.is-thinking .chat-pet-shell {
  animation: chat-pet-think 420ms ease-in-out infinite alternate;
}

@keyframes chat-panel-in {
  from {
    opacity: 0;
    transform: translateY(12px) rotate(-0.18deg) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-0.18deg) scale(1);
  }
}

@keyframes chat-pet-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes chat-pet-think {
  from { transform: rotate(-3deg); }
  to { transform: rotate(3deg); }
}

@media (max-width: 540px) {
  .chabi-chatbot {
    right: 14px;
    bottom: 14px;
  }

  .chat-panel {
    position: fixed;
    right: 14px;
    bottom: 96px;
    left: 14px;
    width: auto;
    max-height: calc(100vh - 116px);
    box-shadow: 6px 6px 0 var(--ink);
  }

  .chat-messages {
    max-height: min(300px, calc(100vh - 360px));
  }

  .chat-launcher-label {
    display: none;
  }

  .chat-pet-shell {
    width: 76px;
    height: 76px;
  }

  .chat-pet-shell img {
    width: 72px;
    height: 72px;
  }
}

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

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


/* Selected projects */
.showcase-section { padding-top: clamp(92px, 11vw, 140px); padding-bottom: clamp(120px, 14vw, 180px); }
.showcase-heading { display:grid; grid-template-columns:1.2fr 1fr; gap:40px; align-items:end; margin-bottom:32px; }
.showcase-heading h2 { font-family:var(--serif); font-size:clamp(1.8rem,3.8vw,2.8rem); line-height:1.15; margin-bottom:0; max-width:650px; }
.showcase-heading>p { margin:0; max-width:480px; }
.showcase-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(36px,4vw,56px); }
.showcase-card { border:2px solid var(--ink); background:var(--paper); box-shadow:5px 5px 0 var(--ink); min-width:0; display:flex; flex-direction:column; }
.showcase-cover { display:block; border-bottom:2px solid var(--ink); overflow:hidden; }
.showcase-cover img { display:block; width:100%; height:auto; aspect-ratio:12/7; object-fit:cover; }
.bear-art-cover {
  position: relative;
  display: grid;
  aspect-ratio: 12 / 7;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.72) 0 18%, transparent 19%),
    linear-gradient(155deg, var(--paper) 0%, var(--paper-2) 26%, var(--soft-pink) 62%, var(--pink) 100%);
  text-decoration: none;
}
.bear-art-cover::before {
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  border: 2px solid rgba(36, 19, 30, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(255, 248, 252, 0.16);
  content: "";
  animation: bear-art-pulse 3.6s ease-in-out infinite;
}
.bear-art-frame {
  position: relative;
  display: block;
  width: min(64%, 350px);
  aspect-ratio: 9 / 8;
  border: 2px solid var(--ink);
  border-radius: 25%;
  background: var(--soft-pink);
  box-shadow: 9px 9px 0 var(--deep-pink);
  animation: bear-art-float 3.6s ease-in-out infinite;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.bear-art-cover:hover .bear-art-frame,
.bear-art-cover:focus-visible .bear-art-frame {
  box-shadow: 6px 6px 0 var(--deep-pink);
  transform: translate(3px, 3px) rotate(-1.5deg) scale(1.02);
}
.bear-art-head {
  position: absolute;
  top: 10%;
  left: 50%;
  width: 60%;
  height: 78%;
  border-radius: 37.5% 37.5% 0 0;
  background: var(--paper);
  transform: translateX(-50%);
}
.bear-art-head::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
  background: var(--paper);
  content: "";
}
.bear-art-ear {
  position: absolute;
  top: 0;
  width: 38%;
  aspect-ratio: 1;
  border: clamp(6px, 0.85vw, 11px) solid var(--paper);
  border-radius: 50%;
  background: var(--soft-pink);
  transition: background-color 280ms ease, border-color 280ms ease;
}
.bear-art-ear-left { left: -15%; }
.bear-art-ear-right { right: -15%; }
.bear-art-eye {
  position: absolute;
  z-index: 2;
  top: 25%;
  width: 11%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  transform-origin: center;
  animation: bear-art-blink 2.8s infinite 0.45s;
}
.bear-art-eye-left { left: 25%; }
.bear-art-eye-right { right: 25%; }
.bear-art-muzzle {
  position: absolute;
  z-index: 2;
  top: 28%;
  left: 50%;
  width: 30%;
  height: 25%;
  border-radius: 45%;
  background: var(--paper-2);
  transform: translateX(-50%);
}
.bear-art-nose {
  position: absolute;
  top: 15%;
  left: 28%;
  width: 44%;
  height: 27%;
  border-radius: 40%;
  background: var(--ink);
}
.bear-art-nose-line {
  position: absolute;
  top: 30%;
  left: 45%;
  width: 10%;
  height: 40%;
  background: var(--ink);
}
.bear-art-mouth {
  position: absolute;
  top: 65%;
  left: 25%;
  width: 50%;
  height: 9%;
  border-radius: 999px;
  background: var(--ink);
}
@keyframes bear-art-blink {
  0%, 6%, 14%, 24%, 33%, 100% { transform: scaleY(1); }
  8%, 12%, 26%, 31% { transform: scaleY(0.08); }
}
@keyframes bear-art-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}
@keyframes bear-art-pulse {
  0%, 100% { opacity: 0.58; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.03); }
}
.showcase-copy { padding:26px; display:flex; flex-direction:column; flex:1; }
.showcase-kind { font-family:var(--mono); font-size:.875rem; margin:0 0 8px; }
.showcase-copy h3 { font-family:var(--serif); font-size:1.75rem; line-height:1.2; margin-bottom:14px; }
.showcase-copy>p { font-size:1rem; }
.showcase-skills { padding-top:16px; border-top:1px solid #cdb0bf; }
.showcase-skills strong { display:block; font-size:.875rem; margin-bottom:6px; }
.showcase-tags { display:flex; flex-wrap:wrap; gap:7px; list-style:none; padding:0; margin:0 0 25px; }
.showcase-tags li { border:1px solid var(--ink); padding:3px 9px; font-family:var(--mono); font-size:.875rem; background:var(--paper-2); }
.showcase-links { display:flex; align-items:center; flex-wrap:wrap; gap:22px; margin-top:auto; }
.showcase-links a { font-size:1rem; font-weight:700; text-underline-offset:4px; }
.showcase-links a:first-child { background:var(--soft-pink); padding:10px 14px; border:1px solid var(--ink); text-decoration:none; }
.showcase-links a:hover { text-decoration:underline; }
.showcase-section a:focus-visible { outline:3px solid var(--deep-pink); outline-offset:5px; }
@media(max-width:1100px) { .site-header>nav:not(.mobile-menu) a { padding-left:10px; padding-right:10px; } }
@media(max-width:760px) { .showcase-heading,.showcase-grid { grid-template-columns:1fr; } .showcase-heading { gap:20px; margin-bottom:40px; } .showcase-section { padding-top:72px; padding-bottom:104px; } .showcase-copy { padding:22px; } .bear-art-frame { width:min(72%, 340px); } }

/* Header pink-mode toggle */
.site-header .pink-switch {
  flex: 0 0 auto;
  margin: 10px 12px;
  padding: 10px 12px;
  min-height: 44px;
  border: 2px solid var(--ink);
  background: var(--soft-pink);
  color: var(--ink);
  font-size: .875rem;
  line-height: 1.25;
}
.site-header .pink-switch:hover,
.site-header .pink-switch[aria-pressed="true"] { background: var(--pink); }
.site-header .pink-switch:focus-visible { outline: 3px solid #3670ff; outline-offset: 3px; }
.site-header .mobile-menu { top: 100%; }
@media (max-width: 1240px) {
  .site-header > nav:not(.mobile-menu) { display: none; }
  .site-header .wordmark { margin-right: auto; min-width: 0; }
  .site-header .menu-button {
    display: block; align-self: stretch; padding: 0 16px;
    border: 0; border-left: 2px solid var(--ink); background: var(--pink);
    color: var(--ink); cursor: pointer; font-family: var(--mono); font-size: .875rem; font-weight: 900;
  }
  .site-header .mobile-menu {
    position: absolute; right: 0; left: 0; flex-direction: column;
    border-bottom: 3px solid var(--ink); background: var(--paper);
  }
  .site-header .mobile-menu:not([hidden]) { display: flex; }
  .site-header .mobile-menu a { padding: 16px 22px; border-bottom: 1px solid #cdb0bf; font-family: var(--mono); font-size: .875rem; text-decoration: none; }
}
@media (max-width: 600px) {
  .site-header { flex-wrap: wrap; }
  .site-header .wordmark { width: 100%; min-height: 48px; border-bottom: 1px solid var(--ink); border-right: 0; }
  .site-header .pink-switch { margin: 8px 12px; }
  .site-header .menu-button { margin-left: auto; min-height: 60px; }
  html { scroll-padding-top: 132px; }
}

/* Recruiter-focused project groups */
.showcase-subheading {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: end;
  margin: clamp(116px, 14vw, 180px) 0 clamp(44px, 5vw, 64px);
  padding: clamp(30px, 4vw, 46px);
  border-top: 3px solid var(--line);
  border-bottom: 3px solid var(--line);
  background: var(--soft-pink);
  box-shadow: 7px 7px 0 var(--ink);
}

.showcase-subheading h3 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.showcase-subheading > p {
  max-width: 480px;
  margin: 0;
}

.showcase-grid-secondary .showcase-card {
  background: var(--paper-2);
}

/* Anonymised professional work */
.case-study-section {
  padding-block: clamp(120px, 15vw, 190px);
  border-top: 3px solid var(--line);
  background: var(--ink);
  color: var(--paper);
}

.case-study-heading {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 76px);
}

.case-study-heading .section-number {
  color: var(--pink);
}

.case-study-heading h2 {
  max-width: 720px;
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.8vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.case-study-heading > p {
  max-width: 520px;
  margin: 0;
  color: var(--paper-2);
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 42px);
}

.case-study-card {
  min-width: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 7px 7px 0 var(--pink);
}

.case-study-card:nth-child(2) {
  background: var(--paper-2);
}

.case-study-cover {
  background: var(--paper-2);
}

.case-study-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 7;
  object-fit: cover;
}

.case-study-copy {
  padding: clamp(25px, 3vw, 34px);
}

.case-study-number {
  margin-bottom: 18px;
  color: var(--deep-pink);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.case-study-card .case-study-copy h3 {
  margin-bottom: 26px;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.case-study-card dl {
  margin: 0 0 26px;
}

.case-study-card dl > div {
  padding: 15px 0;
  border-top: 1px solid rgba(36, 19, 30, 0.34);
}

.case-study-card dt {
  margin-bottom: 5px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.case-study-card dd {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.52;
}

.case-study-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.case-study-tags li {
  padding: 4px 8px;
  border: 1px solid var(--ink);
  background: var(--yellow);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
}

@media (max-width: 980px) {
  .case-study-grid {
    grid-template-columns: 1fr;
  }

  .case-study-card {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  .showcase-subheading,
  .case-study-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .showcase-subheading {
    margin: 92px 0 40px;
    padding: 26px 22px;
  }

  .showcase-subheading .section-number,
  .case-study-heading .section-number {
    margin-bottom: 0;
  }

  .case-study-card {
    box-shadow: 5px 5px 0 var(--pink);
  }

  .case-study-section {
    padding-block: 96px;
  }
}
