:root {
  --background: #fff9fc;
  --surface: #ffffff;
  --surface-soft: #fbeef4;
  --surface-deep: #241b28;
  --text: #2a2230;
  --text-soft: #6f6370;
  --text-on-dark: #fff9fc;
  --pink: #a84575;
  --pink-dark: #7f2f59;
  --pink-light: #e9b8cf;
  --border: #ecd7e1;
  --shadow: 0 18px 50px rgba(83, 42, 66, 0.1);
  --radius-small: 12px;
  --radius-medium: 20px;
  --radius-large: 30px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.65;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--surface-deep);
  color: white;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.narrow {
  max-width: 860px;
}

.section {
  position: relative;
  padding: 110px 0;
}

.section-soft {
  background: var(--surface-soft);
}

.section-dark {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(200, 92, 145, 0.19), transparent 26%),
    radial-gradient(circle at 92% 100%, rgba(200, 92, 145, 0.14), transparent 28%),
    var(--surface-deep);
  color: var(--text-on-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(236, 215, 225, 0.8);
  background: rgba(255, 249, 252, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--surface-deep);
  color: white;
  font-size: 0.82rem;
}

.brand-dot {
  color: var(--pink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--surface-deep);
  color: white !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  overflow: hidden;
  min-height: 760px;
  display: grid;
  align-items: center;
  padding-top: 120px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  gap: 84px;
  align-items: center;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.65;
  pointer-events: none;
}

.hero-glow-one {
  top: 130px;
  right: -110px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(232, 161, 197, 0.65), transparent 68%);
}

.hero-glow-two {
  bottom: 50px;
  left: -170px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(244, 199, 221, 0.72), transparent 68%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.narrow h2,
.education-panel h2,
.contact-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3.3rem, 7vw, 6.2rem);
}

.gradient-text {
  display: block;
  background: linear-gradient(130deg, var(--pink-dark), #d16297 58%, #a84575);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-intro {
  max-width: 690px;
  margin: 28px 0 0;
  color: var(--text-soft);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 760;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.button-primary {
  background: var(--pink);
  color: white;
  box-shadow: 0 13px 26px rgba(168, 69, 117, 0.2);
}

.button-primary:hover {
  background: var(--pink-dark);
}

.button-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.7);
}

.button-secondary:hover {
  border-color: var(--pink-light);
}

.availability {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 25px 0 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #66b98f;
  box-shadow: 0 0 0 5px rgba(102, 185, 143, 0.14);
}

.code-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-large);
  background: #201824;
  box-shadow: 0 35px 90px rgba(64, 31, 53, 0.2);
  color: #f7edf3;
  transform: rotate(1.5deg);
}

.code-card-top,
.code-card-footer {
  display: flex;
  align-items: center;
  padding: 15px 19px;
  color: #c7b6c1;
  font-size: 0.78rem;
}

.code-card-top {
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8d7585;
}

.window-dots span:first-child {
  background: #d46e9f;
}

.code-card pre {
  overflow: auto;
  margin: 0;
  padding: 34px 30px 40px;
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  line-height: 1.85;
}

.code-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #9ee1bd;
}

.code-pink {
  color: #f08dbc;
}

.code-string {
  color: #f3c6dc;
}

.code-blue {
  color: #9bd7ff;
}

.narrow h2,
.section-heading h2,
.education-panel h2,
.contact-panel h2 {
  font-size: clamp(2.45rem, 5vw, 4.3rem);
}

.about-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  margin-top: 38px;
  color: var(--text-soft);
  font-size: 1.04rem;
}

.about-copy p {
  margin: 0;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 50px;
}

.about-highlights div {
  padding: 22px;
  border: 1px solid rgba(168, 69, 117, 0.14);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.66);
}

.about-highlights strong,
.about-highlights span {
  display: block;
}

.about-highlights strong {
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.about-highlights span {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading > p {
  margin: 0 0 6px;
  color: var(--text-soft);
}

.section-heading-light > p {
  color: #cdbfc8;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.skill-card {
  min-height: 270px;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--surface);
  box-shadow: 0 12px 35px rgba(73, 39, 60, 0.05);
}

.skill-card h3 {
  margin: 24px 0 18px;
  font-size: 1.12rem;
}

.skill-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 13px;
  background: var(--surface-soft);
  color: var(--pink-dark);
  font-size: 0.75rem;
  font-weight: 850;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fffafd;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.055);
}

.project-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.project-visual {
  min-height: 310px;
  padding: 34px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(232, 146, 187, 0.23), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
}

.project-featured .project-visual {
  min-height: 520px;
}

.project-body {
  padding: 31px;
}

.project-body h3 {
  margin: 12px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.project-body > p {
  color: #cec0c9;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #e8afca;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tag-list-dark {
  margin-top: 21px;
}

.tag-list-dark li {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #eedfe8;
}

details {
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
}

summary {
  width: fit-content;
  cursor: pointer;
  color: #f0bfd6;
  font-weight: 800;
}

summary::marker {
  color: #e38db7;
}

.case-study {
  padding-top: 13px;
  color: #d2c4cd;
}

.case-study h4 {
  margin: 18px 0 4px;
  color: white;
  font-size: 0.9rem;
}

.case-study p {
  margin: 0;
  font-size: 0.92rem;
}

.browser-mockup,
.chat-mockup,
.terminal-mockup,
.system-mockup {
  width: min(100%, 560px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  background: #fffafd;
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.2);
}

.browser-mockup {
  transform: rotate(-1deg);
}

.browser-bar {
  display: flex;
  gap: 6px;
  padding: 13px 16px;
  border-bottom: 1px solid #eadde4;
}

.browser-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cdbac5;
}

.browser-bar span:first-child {
  background: #d36c9e;
}

.browser-content {
  padding: 18px;
}

.mock-nav {
  width: 100%;
  height: 26px;
  border-radius: 8px;
  background: #f5e5ed;
}

.mock-hero {
  min-height: 190px;
  margin-top: 14px;
  padding: 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f4c8dc, #efe3ea);
}

.mock-hero div {
  width: 48%;
  height: 23px;
  border-radius: 6px;
  background: #8d4569;
}

.mock-hero span {
  display: block;
  width: 80%;
  height: 9px;
  margin-top: 13px;
  border-radius: 5px;
  background: rgba(126, 66, 96, 0.24);
}

.mock-hero span:last-child {
  width: 58%;
}

.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 12px;
}

.mock-cards i {
  height: 72px;
  border-radius: 10px;
  background: #f1e3ea;
}

.chat-mockup {
  min-height: 270px;
  display: grid;
  grid-template-columns: 74px 1fr;
  overflow: hidden;
  background: #2a2130;
}

.chat-sidebar {
  padding: 18px;
  background: #211923;
}

.chat-sidebar span {
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: #d06699;
}

.chat-sidebar span:nth-child(2),
.chat-sidebar span:nth-child(3),
.chat-sidebar span:nth-child(4) {
  background: #4c3d50;
}

.chat-main {
  padding: 24px 22px;
}

.chat-line {
  display: grid;
  grid-template-columns: 31px 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 17px;
}

.chat-line i {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #bc789b;
}

.chat-line span {
  height: 9px;
  border-radius: 99px;
  background: #5d4d62;
}

.chat-command {
  margin: 28px 0 12px;
  padding: 10px 12px;
  border-radius: 9px;
  background: #3d3042;
  color: #efb8d1;
  font: 0.82rem/1.4 ui-monospace, monospace;
}

.chat-result {
  height: 63px;
  border-left: 4px solid #d06699;
  border-radius: 8px;
  background: #34283a;
}

.terminal-mockup {
  overflow: hidden;
  background: #1c171f;
  color: #f1e6ed;
}

.terminal-bar {
  padding: 13px 16px;
  background: #2b222e;
  color: #d7c1ce;
  font-size: 0.74rem;
}

.terminal-mockup pre {
  overflow: auto;
  margin: 0;
  padding: 24px 19px;
  color: #f2b5d1;
  font-size: 0.75rem;
  line-height: 1.8;
}

.terminal-success {
  padding: 12px 17px;
  border-top: 1px solid #3d3042;
  color: #94d9b4;
  font-size: 0.74rem;
  font-weight: 800;
}

.system-mockup {
  padding: 24px;
  background: #fffafd;
  color: #2a2230;
}

.system-title {
  margin-bottom: 18px;
  font-weight: 850;
}

.system-row {
  display: flex;
  justify-content: space-between;
  margin: 11px 0;
  color: #6f6370;
  font-size: 0.84rem;
}

.system-row strong {
  color: #a84575;
  font-size: 0.72rem;
}

.system-progress {
  height: 10px;
  margin-top: 20px;
  border-radius: 99px;
  background: #eadde4;
}

.system-progress i {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: #b64e80;
}

.system-tags {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.system-tags span {
  padding: 6px 9px;
  border-radius: 999px;
  background: #f4e5ed;
  color: #884162;
  font-size: 0.68rem;
  font-weight: 750;
}


/* Interactive project browser */
.project-browser {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.project-sidebar {
  position: sticky;
  top: 100px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(16px);
}

.project-sidebar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #d9cbd4;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-sidebar-heading strong {
  color: #eca9c9;
}

.project-tabs {
  display: grid;
  padding: 9px;
}

.project-tab {
  width: 100%;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 15px 12px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: transparent;
  color: #e9dce4;
  text-align: left;
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.project-tab + .project-tab {
  margin-top: 2px;
}

.project-tab:hover {
  background: rgba(255, 255, 255, 0.055);
  transform: translateX(2px);
}

.project-tab.is-active {
  border-color: rgba(235, 159, 196, 0.24);
  background:
    linear-gradient(120deg, rgba(196, 77, 135, 0.19), rgba(255, 255, 255, 0.045));
}

.project-tab-number {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: #e7a8c6;
  font: 700 0.68rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.project-tab.is-active .project-tab-number {
  background: #a84575;
  color: white;
}

.project-tab-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.project-tab-copy strong {
  overflow: hidden;
  color: white;
  font-size: 0.88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-tab-copy small {
  overflow: hidden;
  color: #ac9ca7;
  font-size: 0.69rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-tab-arrow {
  color: #a18d9a;
  transition: transform 180ms ease, color 180ms ease;
}

.project-tab.is-active .project-tab-arrow,
.project-tab:hover .project-tab-arrow {
  color: #f1b4d0;
  transform: translateX(2px);
}

.project-detail {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 26px 70px rgba(8, 5, 10, 0.16);
}

.project-detail.is-switching .project-detail-body,
.project-detail.is-switching .project-detail-visual {
  opacity: 0.35;
  transform: translateY(4px);
}

.project-detail-visual {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 82% 15%, rgba(225, 117, 170, 0.19), transparent 29%),
    linear-gradient(145deg, rgba(232, 146, 187, 0.16), rgba(255, 255, 255, 0.025));
  transition: opacity 140ms ease, transform 140ms ease;
}

.project-detail-body {
  padding: 36px;
  transition: opacity 140ms ease, transform 140ms ease;
}

.project-detail-body h3 {
  margin: 14px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 4vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.project-lead {
  max-width: 760px;
  margin: 0;
  color: #d4c5ce;
  font-size: 1rem;
}

.project-detail-label {
  margin: 0 0 10px;
  color: #eeadcc;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-highlights {
  margin-top: 30px;
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(11, 7, 13, 0.16);
}

.project-highlights ul {
  margin: 0;
  padding-left: 18px;
  color: #d7cad2;
}

.project-highlights li + li {
  margin-top: 8px;
}

.project-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.project-case-grid section {
  padding: 21px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.project-case-grid span {
  color: #eeadcc;
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.project-case-grid p {
  margin: 9px 0 0;
  color: #c9bac4;
  font-size: 0.86rem;
  line-height: 1.62;
}

/* LilsDeferred visual */
.queue-mockup,
.info-mockup,
.farm-mockup,
.glass-mockup {
  width: min(100%, 620px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.22);
}

.queue-mockup {
  padding: 12px;
  background: #171219;
  color: #eee3ea;
  font: 0.78rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.queue-top,
.queue-row,
.queue-footer {
  display: grid;
  align-items: center;
  gap: 12px;
}

.queue-top {
  grid-template-columns: 1fr auto;
  padding: 11px 12px 16px;
  color: #cdbbc6;
}

.queue-top strong {
  color: #94d9b4;
  font-size: 0.68rem;
}

.queue-row {
  grid-template-columns: 34px 1fr auto;
  padding: 14px 12px;
  border-top: 1px solid #342a37;
}

.queue-row i {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 8px;
  background: #332432;
  color: #e49abb;
  font-style: normal;
}

.queue-row strong {
  color: #d99fba;
  font-size: 0.65rem;
}

.queue-footer {
  grid-template-columns: repeat(2, max-content);
  padding: 15px 12px 7px;
}

.queue-footer span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #2a202d;
  color: #cdbbc6;
  font-size: 0.66rem;
}

/* LilsInfo visual */
.info-mockup {
  padding: 22px;
  background: #211923;
}

.info-chat-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  color: #d6c9d1;
  font-size: 0.82rem;
}

.info-avatar {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 10px;
  background: linear-gradient(145deg, #d97eaa, #84435f);
}

.info-name {
  color: #f3bdd6;
  font-weight: 800;
}

.info-tag {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  padding: 4px 8px;
  border: 1px solid #76536a;
  border-radius: 7px;
  background: #382a3c;
  color: #f3bdd6;
  font: 0.72rem/1.2 ui-monospace, monospace;
}

.info-hover-card {
  width: min(88%, 390px);
  margin: 20px auto 0;
  padding: 16px;
  border: 1px solid #5d465c;
  border-radius: 14px;
  background: #2d2331;
  color: #d6c9d1;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.2);
}

.info-hover-card strong {
  display: block;
  margin-bottom: 5px;
  color: white;
}

/* LilsFarming visual */
.farm-mockup {
  padding: 22px;
  background: linear-gradient(180deg, #e9d9bf 0 36%, #9a7049 36% 100%);
}

.farm-sky {
  height: 72px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: #715044;
  font-size: 0.75rem;
  font-weight: 850;
}

.farm-sky span:last-child {
  color: #8a3e62;
}

.crop-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(85, 54, 35, 0.48);
}

.crop {
  position: relative;
  height: 68px;
  border-radius: 8px 8px 4px 4px;
  background:
    linear-gradient(90deg, transparent 44%, #42653d 44% 56%, transparent 56%),
    linear-gradient(35deg, transparent 42%, #73935e 43% 58%, transparent 59%),
    linear-gradient(-35deg, transparent 42%, #73935e 43% 58%, transparent 59%);
}

.crop.is-focus {
  outline: 3px solid #ffd7e9;
  outline-offset: 3px;
}

.farm-footer {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.farm-footer span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(36, 27, 40, 0.86);
  color: #f4d4e3;
  font-size: 0.72rem;
  font-weight: 800;
}

/* LilsFastGlass visual */
.glass-mockup {
  padding: 24px;
  background: linear-gradient(145deg, #d9e7e8, #f8e4ee);
}

.glass-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  color: #533949;
  font-size: 0.78rem;
  font-weight: 850;
}

.glass-title strong {
  color: #9e3e6c;
}

.glass-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.glass-pane {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid rgba(79, 102, 110, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.6) 0 18%, transparent 18% 72%, rgba(255,255,255,.45) 72%),
    rgba(176, 212, 217, 0.35);
}

.glass-pane.is-breaking::before,
.glass-pane.is-breaking::after {
  content: "";
  position: absolute;
  inset: 48% -20%;
  height: 2px;
  background: rgba(113, 69, 92, 0.62);
  transform: rotate(35deg);
}

.glass-pane.is-breaking::after {
  transform: rotate(-42deg);
}

.glass-footer {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.glass-footer span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #654756;
  font-size: 0.66rem;
  font-weight: 800;
}

.timeline {
  position: relative;
  max-width: 880px;
  margin-top: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 10px;
  left: 111px;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 48px;
  position: relative;
  padding-bottom: 50px;
}

.timeline-marker {
  position: absolute;
  top: 5px;
  left: 105px;
  width: 13px;
  height: 13px;
  border: 3px solid var(--background);
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 1px var(--pink);
}

.timeline-date {
  color: var(--pink);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline-content h3 {
  margin: 0;
  font-size: 1.26rem;
}

.timeline-subtitle {
  margin: 4px 0 17px;
  color: var(--text-soft);
}

.timeline-content ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
}

.education-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: start;
  margin-top: 62px;
  padding: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--surface);
}

.education-panel h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.education-list > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 19px 0;
  border-bottom: 1px solid var(--border);
}

.education-list > div:first-child {
  padding-top: 0;
}

.education-list > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.education-list span {
  color: var(--text-soft);
  text-align: right;
}

.contact-section {
  padding-top: 30px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  align-items: center;
  padding: 54px;
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.15), transparent 32%),
    var(--surface-deep);
  color: var(--text-on-dark);
}

.contact-panel h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.contact-panel p:not(.section-kicker) {
  max-width: 650px;
  color: #d3c5ce;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 13px;
}

.contact-actions .button {
  width: 100%;
}

.text-link {
  padding: 8px 0;
  color: #f0bfd6;
  text-align: center;
  text-decoration: none;
  font-weight: 760;
}

.text-link:hover {
  text-decoration: underline;
}

.site-footer {
  padding: 26px 0 35px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--text-soft);
  font-size: 0.83rem;
}

.footer-content p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .project-sidebar {
    position: static;
  }

  .project-tabs {
    grid-template-columns: repeat(4, minmax(210px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .project-tab {
    scroll-snap-align: start;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .section-heading,
  .education-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 56px;
  }

  .code-card {
    max-width: 650px;
    transform: none;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .project-featured .project-visual {
    min-height: 360px;
  }

  .education-panel,
  .contact-panel {
    gap: 34px;
  }

  .education-panel {
    padding: 32px;
  }

  .contact-actions {
    max-width: 360px;
  }
}

@media (max-width: 760px) {
  .project-tabs {
    grid-template-columns: repeat(8, minmax(225px, 78vw));
  }

  .project-detail-visual {
    min-height: 285px;
    padding: 24px 18px;
  }

  .project-detail-body {
    padding: 26px 22px;
  }

  .project-detail-body h3 {
    font-size: clamp(2.15rem, 12vw, 3.2rem);
  }

  .project-highlights {
    padding: 20px;
  }

  .section {
    padding: 82px 0;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 12px 18px 18px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 249, 252, 0.98);
    box-shadow: 0 18px 40px rgba(73, 39, 60, 0.1);
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-links.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 13px 4px;
  }

  .nav-contact {
    margin-top: 7px;
    text-align: center;
  }

  .hero {
    padding-top: 86px;
  }

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

  .about-copy,
  .about-highlights,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .about-copy {
    gap: 20px;
  }

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

  .project-featured {
    grid-column: auto;
  }

  .project-visual,
  .project-featured .project-visual {
    min-height: 280px;
    padding: 20px;
  }

  .project-body {
    padding: 24px;
  }

  .project-body h3 {
    font-size: 1.75rem;
  }

  .timeline::before {
    left: 5px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 30px;
  }

  .timeline-marker {
    left: 0;
  }

  .education-list > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .education-list span {
    text-align: left;
  }

  .contact-panel {
    padding: 34px 24px;
  }

  .footer-content {
    flex-direction: column;
    gap: 5px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .code-card pre {
    padding: 24px 18px 30px;
    font-size: 0.78rem;
  }

  .about-highlights {
    gap: 10px;
  }

  .skill-card {
    min-height: 0;
  }

  .browser-content {
    padding: 11px;
  }

  .mock-hero {
    min-height: 125px;
  }

  .chat-mockup {
    grid-template-columns: 54px 1fr;
  }

  .chat-sidebar {
    padding: 13px 10px;
  }

  .chat-sidebar span {
    width: 29px;
    height: 29px;
  }
}

@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;
  }

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