/*
 * Fresh portfolio stylesheet.
 * The previous design is preserved at:
 * static/archive/style.pre-redesign-20260825.css
 */

:root {
  --paper: #f4f2ed;
  --paper-bright: #fffdfa;
  --ink: #131313;
  --ink-muted: #68645e;
  --rule: #cbc7bf;
  --font-sans: "Inter", Arial, sans-serif;
  --font-display: "Times New Roman", Times, serif;
  color-scheme: light;
}

@property --rag-photon-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: -45deg;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  min-width: 320px;
  margin: 0;
  background: linear-gradient(
    to bottom,
    var(--paper) 0,
    var(--paper) 45svh,
    #e6e3dc 53svh,
    #b5b1a8 63svh,
    #6d6a64 75svh,
    #302f2c 87svh,
    var(--ink) 99svh,
    var(--ink) 100%
  );
  color: var(--ink);
  font-family: var(--font-sans);
}

html.hero-reveal-locked,
body.hero-reveal-locked {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

button,
input,
textarea {
  font: inherit;
}

[hidden] {
  display: none !important;
}

/* Header */

section {
  scroll-margin-top: 0;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  min-height: 80px;
  margin-top: 32px;
  background: rgb(19 19 19 / 90%);
  border-bottom: 1px solid rgb(244 242 237 / 10%);
  box-shadow: 0 10px 28px rgb(19 19 19 / 10%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-container {
  display: flex;
  align-items: center;
  min-height: 80px;
  padding: 0 clamp(1.25rem, 2.4vw, 3.5rem);
}

.logo-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  margin-right: auto;
}

.logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.recruiter-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 38px;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgb(244 242 237 / 34%);
  border-radius: 999px;
  background: rgb(244 242 237 / 5%);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.recruiter-toggle:hover,
.recruiter-toggle:focus-visible {
  border-color: var(--paper);
  background: rgb(244 242 237 / 12%);
}

.recruiter-toggle:focus-visible,
.mobile-nav-toggle:focus-visible,
.nav-links-header a:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

.recruiter-toggle[aria-pressed="true"] {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.recruiter-toggle-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
}

.nav-links-header {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.25vw, 2.75rem);
  margin: 0 0 0 clamp(1.75rem, 3vw, 4rem);
  padding: 0;
  list-style: none;
}

.nav-links-header a {
  display: inline-block;
  position: relative;
  padding: 0.5rem 0;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.nav-links-header a::after {
  position: absolute;
  bottom: 0.1rem;
  left: 50%;
  width: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: translateX(-50%);
  transition: width 220ms ease;
}

.nav-links-header a:hover,
.nav-links-header a:focus-visible {
  color: var(--paper-bright);
}

.nav-links-header a:hover::after,
.nav-links-header a:focus-visible::after {
  width: 100%;
}

.mobile-nav-toggle,
.mobile-nav-dropdown {
  display: none;
}

.social-dock {
  display: none;
}

@media (min-width: 761px) {
  .social-dock {
    position: absolute;
    top: 9.5rem;
    right: clamp(1rem, 2vw, 2rem);
    z-index: 10;
    display: grid;
    gap: 0.65rem;
    justify-items: start;
    width: max-content;
  }

  .social-dock a {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    width: fit-content;
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
  }

  .social-dock img {
    width: 1.7rem;
    height: 1.7rem;
    object-fit: contain;
    filter: grayscale(1) contrast(1.8);
    transform: skewX(-12deg);
  }

  .social-dock a:nth-child(2) img {
    width: 2.1rem;
    height: 2.1rem;
  }

  .social-dock a:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 4px;
  }
}

/* Hero */

.home-bg {
  --hero-portrait-offset: 112%;
  --hero-portrait-opacity: 0;
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: calc(100svh - 112px);
  padding: 5rem clamp(2rem, 8vw, 10rem);
  overflow: hidden;
  place-items: center;
}

.intro {
  position: relative;
  z-index: 2;
  width: min(100%, 66rem);
  text-align: center;
}

.hero-portrait-reveal {
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 3;
  width: min(33rem, 38vw);
  opacity: var(--hero-portrait-opacity);
  pointer-events: none;
  transform: translate(-50%, var(--hero-portrait-offset));
  will-change: transform, opacity;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 54%, rgba(0, 0, 0, 0.82) 58%, rgba(0, 0, 0, 0.3) 63%, transparent 66.4%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 54%, rgba(0, 0, 0, 0.82) 58%, rgba(0, 0, 0, 0.3) 63%, transparent 66.4%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.hero-portrait-reveal img {
  width: 100%;
  height: auto;
}

.hero-actions {
  position: absolute;
  top: 2.75rem;
  left: 1.5rem;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-start;
}

.hero-action-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-start;
}

.mobile-hero-social {
  display: none;
}

.hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem;
  min-width: 10.75rem;
  min-height: 2.65rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgb(19 19 19 / 52%);
  border-radius: 5px;
  background: rgb(244 242 237 / 24%);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.hero-action-primary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.hero-action:hover,
.hero-action:focus-visible {
  border-color: var(--ink);
  background: rgb(244 242 237 / 76%);
  color: var(--ink);
  transform: translateX(0.18rem);
}

.hero-action-primary:hover,
.hero-action-primary:focus-visible {
  background: #33312e;
  color: var(--paper-bright);
}

.hero-action:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.hero-greeting {
  position: relative;
  isolation: isolate;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 700;
  line-height: 0.86;
}

.hero-name {
  display: inline-block;
  position: relative;
  z-index: 1;
  font-style: italic;
}

.hero-name::after {
  position: absolute;
  right: auto;
  bottom: 0;
  left: 0;
  z-index: -1;
  color: #000;
  content: "MIHIR LAKHANI";
  opacity: 0.42;
  pointer-events: none;
  transform: skewX(-35deg) scaleY(0.72);
  /* Anchor to the Times baseline, not the line box's descender space. */
  transform-origin: left calc(50% + 0.337em);
  white-space: nowrap;
}

.hero-name-i {
  position: relative;
  display: inline-block;
}

.hero-prefix {
  position: absolute;
  z-index: -1;
  top: -0.45em;
  left: 50%;
  color: var(--ink-muted);
  font-family: var(--font-sans);
  font-size: 0.38em;
  font-weight: 700;
  line-height: 1;
  transform: translateX(-50%);
  white-space: nowrap;
}

.tagline {
  margin: 2.5rem auto 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2.375rem;
  font-weight: 700;
  line-height: 1.05;
}

.blink-caret {
  display: inline-block;
  margin-left: 0.12em;
  animation: blink 1s steps(1, end) infinite;
}

.blinking-cursor {
  animation: blink 1s steps(1, end) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@media (min-width: 761px) {
  .home-bg {
    align-items: start;
    justify-items: center;
  }

  .hero-actions {
    top: 2.5rem;
    left: clamp(1.5rem, 2vw, 2.75rem);
  }

  .intro {
    margin-top: clamp(5.5rem, 12vh, 8rem);
  }
}

.about-section,
.about-section * {
  color: #fff;
}

/* Desktop About workspace */

@media (min-width: 761px) {
  .about-section {
    position: relative;
    overflow: hidden;
    padding: clamp(5.5rem, 9vw, 9rem) clamp(2rem, 8vw, 10rem) clamp(6rem, 10vw, 11rem);
    background: var(--ink);
  }

  .about-section h3 {
    position: relative;
    isolation: isolate;
    width: min(100%, 90rem);
    margin: 0 auto;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: clamp(4.75rem, 7.5vw, 8.5rem);
    font-style: italic;
    font-weight: 400;
    line-height: 0.78;
  }

  .about-section h3::after {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    color: rgb(244 242 237 / 18%);
    content: ".About";
    font: inherit;
    pointer-events: none;
    transform: skewX(-35deg) scaleY(0.72);
    transform-origin: left bottom;
    white-space: nowrap;
  }

  @media (prefers-reduced-motion: no-preference) {
    .about-section.about-reveal-ready h3,
    .about-section.about-reveal-ready .about-highlights-heading,
    .about-section.about-reveal-ready .lux-list li,
    .about-section.about-reveal-ready .about-background-row,
    .about-section.about-reveal-ready .about-side-rail {
      opacity: 0;
      transform: translateY(1.75rem);
    }

    .about-section.about-reveal-ready .about-side-rail {
      transform: translateX(1.75rem);
    }

    .about-section.about-reveal-ready h3,
    .about-section.about-reveal-ready .about-highlights-heading,
    .about-section.about-reveal-ready .lux-list li,
    .about-section.about-reveal-ready .about-background-row,
    .about-section.about-reveal-ready .about-side-rail {
      transition: opacity 520ms ease, transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .about-section.about-reveal-ready .lux-list li {
      transition-delay: var(--about-reveal-delay, 140ms);
    }

    .about-section.about-reveal-ready .about-side-rail {
      transition-delay: 210ms;
    }

    .about-section.about-reveal-ready .about-background-row {
      transition-delay: 700ms;
    }

    .about-section.about-is-visible h3,
    .about-section.about-is-visible .about-highlights-heading,
    .about-section.about-is-visible .lux-list li,
    .about-section.about-is-visible .about-background-row,
    .about-section.about-is-visible .about-side-rail {
      opacity: 1;
      transform: translate(0, 0);
    }
  }

  .about-container {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(18.5rem, 0.75fr);
    gap: clamp(3rem, 7vw, 8rem);
    align-items: start;
    width: min(100%, 90rem);
    margin: clamp(3.5rem, 6vw, 6rem) auto 0;
  }

  .about-copy {
    min-width: 0;
  }

  .about-highlights-heading {
    margin: 0 0 1.25rem;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 3.1rem);
    font-style: normal;
    font-weight: 400;
    line-height: 0.95;
  }

  .lux-list {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgb(244 242 237 / 22%);
    list-style: none;
    counter-reset: about-item;
  }

  .lux-list li {
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr);
    gap: 1.2rem;
    align-items: start;
    padding: clamp(1.25rem, 2vw, 1.7rem) 0;
    border-top: 1px solid rgb(244 242 237 / 22%);
    counter-increment: about-item;
  }

  .lux-list li::before {
    padding-top: 0.25rem;
    color: rgb(244 242 237 / 56%);
    content: "0" counter(about-item);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
  }

  .lux-list strong {
    display: block;
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: clamp(0.96rem, 1.18vw, 1.16rem);
    font-style: normal;
    font-weight: 600;
    line-height: 1.48;
  }

  .about-background-row {
    margin-top: 2.2rem;
  }

  .about-actions-row {
    margin-top: 0 !important;
  }

  .expand-btn {
    min-height: 2.65rem;
    padding: 0.65rem 1rem;
    border: 1px solid rgb(244 242 237 / 42%);
    border-radius: 4px;
    background: transparent;
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease;
  }

  .expand-btn:hover,
  .expand-btn:focus-visible {
    background: var(--paper);
    color: var(--ink);
  }

  .expand-btn:focus-visible,
  .about-chat-toggle:focus-visible,
  .download-resume-btn:focus-visible {
    outline: 2px solid var(--paper-bright);
    outline-offset: 3px;
  }

  .about-side-rail {
    display: grid;
    gap: 0.75rem;
    min-width: 0;
  }

  .skills-box {
    overflow: hidden;
    border: 1px solid rgb(244 242 237 / 24%);
    border-radius: 4px;
    background: rgb(244 242 237 / 4%);
  }

  .skills-head {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgb(244 242 237 / 20%);
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
  }

  .skills-window {
    position: relative;
    height: 18rem;
    overflow: hidden;
  }

  .skills-window::before,
  .skills-window::after {
    position: absolute;
    right: 0;
    left: 0;
    z-index: 1;
    height: 2.5rem;
    content: "";
    pointer-events: none;
  }

  .skills-window::before {
    top: 0;
    background: linear-gradient(to bottom, rgb(19 19 19 / 96%), transparent);
  }

  .skills-window::after {
    bottom: 0;
    background: linear-gradient(to top, rgb(19 19 19 / 96%), transparent);
  }

  #skills-list {
    margin: 0;
    padding: 0;
    list-style: none;
    will-change: auto;
  }

  #skills-list li {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    min-height: 3.15rem;
    padding: 0.55rem 1rem;
    border-bottom: 1px solid rgb(244 242 237 / 12%);
    color: rgb(244 242 237 / 88%);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.2;
  }

  .skill-photo {
    flex: 0 0 auto;
    width: 1.45rem;
    height: 1.45rem;
    object-fit: contain;
  }

  .download-resume-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 3rem;
    margin: 0 !important;
    padding: 0.75rem 1rem;
    border-top: 1px solid rgb(244 242 237 / 20%);
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
  }

  .download-resume-btn::after {
    content: "PDF";
    color: rgb(244 242 237 / 58%);
    font-weight: 600;
  }

  .download-resume-btn:hover,
  .download-resume-btn:focus-visible {
    background: rgb(244 242 237 / 10%);
  }

  .about-chat-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 3.1rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgb(244 242 237 / 36%);
    border-radius: 4px;
    background: transparent;
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
    text-align: left;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease;
  }

  .about-chat-toggle:hover,
  .about-chat-toggle:focus-visible,
  .about-chat-toggle[aria-expanded="true"] {
    background: var(--paper);
    color: var(--ink);
  }

  .about-chat-toggle-mark {
    color: currentColor;
    font-size: 1.15rem;
    font-weight: 400;
    transition: transform 180ms ease;
  }

  .about-chat-toggle[aria-expanded="true"] .about-chat-toggle-mark {
    transform: rotate(45deg);
  }

  .about-chat-panel {
    min-height: 8.6rem;
    padding: 1.35rem 1rem;
    border: 1px solid rgb(244 242 237 / 24%);
    border-radius: 4px;
    background: rgb(244 242 237 / 3%);
  }

  .about-chat-status,
  .about-chat-detail,
  .about-chat-coming-soon {
    margin: 0;
    color: var(--paper);
  }

  .about-chat-status {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.2vw, 2.1rem);
    font-style: italic;
    font-weight: 400;
    line-height: 0.95;
  }

  .about-chat-detail {
    max-width: 24rem;
    margin-top: 0.85rem;
    color: rgb(244 242 237 / 72%);
    font-family: var(--font-sans);
    font-size: 0.84rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.42;
  }

  .about-chat-coming-soon {
    margin-top: 0.9rem;
    color: rgb(244 242 237 / 58%);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
  }
}

/* Summary mode */

body.recruiter-mode-active {
  background: var(--ink);
}

body.recruiter-mode-active .home-bg,
body.recruiter-mode-active .social-dock,
body.recruiter-mode-active .about-section,
body.recruiter-mode-active #work,
body.recruiter-mode-active .section-separator,
body.recruiter-mode-active #contact,
body.recruiter-mode-active footer {
  display: none !important;
}

body.recruiter-mode-active .nav-links-header,
body.recruiter-mode-active .mobile-nav-toggle {
  display: none !important;
}

.recruiter-mode-panel {
  background: var(--ink);
  color: var(--paper);
}

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

@media (min-width: 761px) {
  .recruiter-mode-panel {
    min-height: calc(100svh - 112px);
    padding: clamp(5.25rem, 8vw, 8rem) clamp(2rem, 8vw, 10rem) clamp(5rem, 8vw, 8rem);
  }

  .recruiter-shell {
    width: min(100%, 90rem);
    margin: 0 auto;
  }

  .recruiter-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(2rem, 6vw, 7rem);
    align-items: end;
    padding-bottom: clamp(2rem, 3vw, 3rem);
    border-bottom: 1px solid rgb(244 242 237 / 22%);
  }

  .recruiter-eyebrow {
    margin: 0 0 0.9rem;
    color: rgb(244 242 237 / 58%);
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .recruiter-intro h1 {
    position: relative;
    isolation: isolate;
    width: fit-content;
    margin: 0;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: clamp(5.5rem, 9vw, 10rem);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 0.73;
  }

  .recruiter-intro h1::after {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    color: rgb(244 242 237 / 18%);
    content: attr(data-shadow);
    font: inherit;
    pointer-events: none;
    transform: skewX(-35deg) scaleY(0.72);
    transform-origin: left bottom;
    white-space: nowrap;
  }

  .recruiter-intro > p:last-child {
    max-width: 42rem;
    margin: clamp(1.55rem, 2.4vw, 2.25rem) 0 0;
    color: rgb(244 242 237 / 78%);
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.25vw, 1.16rem);
    font-weight: 500;
    line-height: 1.6;
  }

  .recruiter-actions {
    display: grid;
    gap: 0.35rem;
    min-width: 10rem;
    padding-bottom: 0.3rem;
  }

  .recruiter-actions a,
  .recruiter-block-head button,
  .recruiter-feature-action,
  .recruiter-contact button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.62rem 0;
    border: 0;
    border-bottom: 1px solid rgb(244 242 237 / 45%);
    border-radius: 0;
    background: transparent;
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
  }

  .recruiter-actions a:hover,
  .recruiter-actions a:focus-visible,
  .recruiter-block-head button:hover,
  .recruiter-block-head button:focus-visible,
  .recruiter-feature-action:hover,
  .recruiter-feature-action:focus-visible,
  .recruiter-contact button:hover,
  .recruiter-contact button:focus-visible {
    border-color: var(--paper-bright);
    color: var(--paper-bright);
    transform: translateX(0.2rem);
  }

  .recruiter-actions a:focus-visible,
  .recruiter-block-head button:focus-visible,
  .recruiter-feature-action:focus-visible,
  .recruiter-contact button:focus-visible {
    outline: 2px solid var(--paper-bright);
    outline-offset: 4px;
  }

  .recruiter-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 3.5vw, 4.25rem);
    margin: clamp(2rem, 3.5vw, 3.5rem) 0 clamp(3.5rem, 5vw, 5.75rem);
  }

  .recruiter-metric {
    min-width: 0;
  }

  .recruiter-metric span {
    display: block;
    margin-bottom: 0.6rem;
    color: rgb(244 242 237 / 54%);
    font-family: var(--font-sans);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .recruiter-metric strong {
    display: block;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 1.75vw, 1.85rem);
    font-weight: 400;
    line-height: 1.08;
  }

  .recruiter-metric small {
    display: block;
    margin-top: 0.7rem;
    color: rgb(244 242 237 / 54%);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.4;
  }

  .recruiter-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.48fr) minmax(17rem, 0.58fr);
    gap: clamp(3rem, 7vw, 8rem);
    align-items: start;
  }

  .recruiter-block {
    padding-top: 1.1rem;
    border-top: 1px solid rgb(244 242 237 / 22%);
  }

  .recruiter-primary,
  .recruiter-side {
    display: grid;
    gap: 2.75rem;
  }

  .recruiter-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
  }

  .recruiter-block-head > span {
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .recruiter-block-head button {
    flex: 0 0 auto;
    padding: 0.35rem 0;
    font-size: 0.67rem;
  }

  .recruiter-project-list {
    border-top: 1px solid rgb(244 242 237 / 14%);
  }

  .recruiter-project {
    display: grid;
    grid-template-columns: minmax(5.25rem, 0.28fr) minmax(0, 1fr);
    column-gap: 1.4rem;
    padding: 1.35rem 0 1.45rem;
    border-bottom: 1px solid rgb(244 242 237 / 14%);
    color: inherit;
    text-decoration: none;
    transition: color 180ms ease, padding-left 260ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  a.recruiter-project:hover,
  a.recruiter-project:focus-visible {
    padding-left: 0.65rem;
    color: var(--paper-bright);
  }

  a.recruiter-project:focus-visible {
    outline: 2px solid var(--paper-bright);
    outline-offset: 4px;
  }

  .recruiter-project-status {
    grid-row: span 3;
    padding-top: 0.25rem;
    color: rgb(244 242 237 / 52%);
    font-family: var(--font-sans);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.25;
    text-transform: uppercase;
  }

  .recruiter-project h2 {
    margin: 0;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 2.25vw, 2.35rem);
    font-weight: 400;
    line-height: 0.98;
  }

  .recruiter-project p,
  .recruiter-contact p,
  .recruiter-feature-copy {
    margin: 0.75rem 0 0;
    color: rgb(244 242 237 / 72%);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.55;
  }

  .recruiter-project-stack {
    display: block;
    margin-top: 0.85rem;
    color: rgb(244 242 237 / 48%);
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  .recruiter-certification-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: 1px solid rgb(244 242 237 / 14%);
    list-style: none;
  }

  .recruiter-certification-list li {
    display: grid;
    gap: 0.4rem;
    min-width: 0;
    padding: 1rem 0;
    border-bottom: 1px solid rgb(244 242 237 / 14%);
  }

  .recruiter-certification-list li:nth-child(odd) {
    padding-right: 1.25rem;
    border-right: 1px solid rgb(244 242 237 / 14%);
  }

  .recruiter-certification-list li:nth-child(even) {
    padding-left: 1.25rem;
  }

  .recruiter-certification-list li:last-child {
    grid-column: 1 / -1;
    padding-right: 0;
    border-right: 0;
  }

  .recruiter-certification-list span {
    color: rgb(244 242 237 / 50%);
    font-family: var(--font-sans);
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
  }

  .recruiter-certification-list strong {
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
  }

  .recruiter-feature-label {
    margin: 0;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 2.2vw, 2.25rem);
    font-style: italic;
    font-weight: 400;
    line-height: 0.98;
  }

  .recruiter-feature-action,
  .recruiter-contact button {
    margin-top: 1.2rem;
    font-size: 0.68rem;
  }

  .recruiter-skill-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .recruiter-skill-cloud span {
    padding: 0.45rem 0.6rem;
    border: 1px solid rgb(244 242 237 / 25%);
    color: rgb(244 242 237 / 82%);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
  }

  .recruiter-contact-lines {
    display: grid;
    gap: 0.35rem;
    margin-top: 1rem;
    color: rgb(244 242 237 / 54%);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.4;
  }

  @media (prefers-reduced-motion: no-preference) {
    .recruiter-mode-panel:not([hidden]) .recruiter-head,
    .recruiter-mode-panel:not([hidden]) .recruiter-metrics,
    .recruiter-mode-panel:not([hidden]) .recruiter-grid {
      animation: recruiter-summary-enter 640ms cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .recruiter-mode-panel:not([hidden]) .recruiter-metrics {
      animation-delay: 90ms;
    }

    .recruiter-mode-panel:not([hidden]) .recruiter-grid {
      animation-delay: 180ms;
    }
  }
}

@keyframes recruiter-summary-enter {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .recruiter-mode-panel {
    padding: 2.5rem 1.25rem 3.5rem;
  }

  .recruiter-shell {
    width: 100%;
  }

  .recruiter-head,
  .recruiter-metrics,
  .recruiter-grid,
  .recruiter-primary,
  .recruiter-side {
    display: grid;
    gap: 1.75rem;
  }

  .recruiter-head,
  .recruiter-metrics,
  .recruiter-grid {
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgb(244 242 237 / 22%);
  }

  .recruiter-eyebrow,
  .recruiter-metric span,
  .recruiter-block-head > span,
  .recruiter-project-status {
    color: rgb(244 242 237 / 56%);
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
  }

  .recruiter-eyebrow {
    margin: 0 0 0.8rem;
  }

  .recruiter-intro h1 {
    position: relative;
    isolation: isolate;
    margin: 0;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: clamp(4rem, 20vw, 6rem);
    font-style: italic;
    font-weight: 400;
    line-height: 0.76;
  }

  .recruiter-intro h1::after {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    color: rgb(244 242 237 / 18%);
    content: attr(data-shadow);
    font: inherit;
    transform: skewX(-35deg) scaleY(0.72);
    transform-origin: left bottom;
  }

  .recruiter-intro > p:last-child,
  .recruiter-project p,
  .recruiter-contact p,
  .recruiter-feature-copy {
    margin: 1.2rem 0 0;
    color: rgb(244 242 237 / 76%);
    font-family: var(--font-sans);
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .recruiter-actions {
    display: grid;
    gap: 0.45rem;
  }

  .recruiter-actions a,
  .recruiter-block-head button,
  .recruiter-feature-action,
  .recruiter-contact button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: fit-content;
    padding: 0.65rem 0;
    border: 0;
    border-bottom: 1px solid rgb(244 242 237 / 48%);
    background: transparent;
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
  }

  .recruiter-metrics {
    grid-template-columns: 1fr;
  }

  .recruiter-metric span {
    display: block;
    margin-bottom: 0.45rem;
  }

  .recruiter-metric strong {
    color: var(--paper);
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1.05;
  }

  .recruiter-metric small {
    display: block;
    margin-top: 0.55rem;
    color: rgb(244 242 237 / 58%);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.4;
  }

  .recruiter-side {
    gap: 2rem;
  }

  .recruiter-block {
    padding-top: 1rem;
    border-top: 1px solid rgb(244 242 237 / 22%);
  }

  .recruiter-block-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
  }

  .recruiter-project-list {
    border-top: 1px solid rgb(244 242 237 / 14%);
  }

  .recruiter-project {
    display: grid;
    gap: 0.55rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgb(244 242 237 / 14%);
    color: var(--paper);
    text-decoration: none;
  }

  .recruiter-project h2,
  .recruiter-feature-label {
    margin: 0;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1;
  }

  .recruiter-project-stack,
  .recruiter-contact-lines {
    display: grid;
    gap: 0.35rem;
    margin-top: 0.25rem;
    color: rgb(244 242 237 / 52%);
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  .recruiter-certification-list {
    display: grid;
    grid-template-columns: 1fr;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgb(244 242 237 / 14%);
    list-style: none;
  }

  .recruiter-certification-list li,
  .recruiter-certification-list li:nth-child(odd),
  .recruiter-certification-list li:nth-child(even),
  .recruiter-certification-list li:last-child {
    display: grid;
    gap: 0.4rem;
    grid-column: auto;
    padding: 0.9rem 0;
    border-right: 0;
    border-bottom: 1px solid rgb(244 242 237 / 14%);
  }

  .recruiter-certification-list span {
    color: rgb(244 242 237 / 52%);
    font-family: var(--font-sans);
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
  }

  .recruiter-certification-list strong {
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
  }

  .recruiter-skill-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  .recruiter-skill-cloud span {
    padding: 0.4rem 0.55rem;
    border: 1px solid rgb(244 242 237 / 25%);
    color: rgb(244 242 237 / 82%);
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 700;
  }

  .recruiter-feature-action,
  .recruiter-contact button {
    margin-top: 1.1rem;
  }
}

/* Projects */

@media (min-width: 761px) {
  :root {
    --carousel-radius: clamp(10rem, 16vw, 18rem);
    --carousel-card-width: clamp(10.5rem, 13.5vw, 15rem);
    --carousel-card-height: clamp(16rem, 19vw, 20rem);
    --carousel-perspective: 1800px;
    --carousel-scale-factor: 0.5;
    --carousel-transition: 700ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  #work {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 48rem;
    padding: clamp(5.5rem, 9vw, 9rem) clamp(2rem, 8vw, 10rem) clamp(6rem, 10vw, 11rem);
    border-top: 1px solid rgb(244 242 237 / 12%);
    background: var(--ink);
    color: var(--paper);
  }

  #work > h3 {
    position: relative;
    isolation: isolate;
    width: min(100%, 90rem);
    margin: 0 auto;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: clamp(4.75rem, 7.5vw, 8.5rem);
    font-style: italic;
    font-weight: 400;
    line-height: 0.78;
  }

  #work > h3::after {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    color: rgb(244 242 237 / 18%);
    content: ".Projects";
    font: inherit;
    pointer-events: none;
    transform: skewX(-35deg) scaleY(0.72);
    transform-origin: left bottom;
    white-space: nowrap;
  }

  .projects-heading-note {
    width: min(100%, 90rem);
    margin: 1.8rem auto 0;
    color: rgb(244 242 237 / 72%);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.4;
    transition: opacity 480ms ease, transform 480ms ease;
  }

  #projectsLiveDemoNote {
    display: none;
  }

  #work.is-unrolling .projects-heading-note,
  #work.is-unrolling .work-description-glass,
  #work.is-unrolling .carousel-toggle-btn,
  #work.is-rerolling .projects-heading-note,
  #work.is-rerolling .work-description-glass,
  #work.is-rerolling .carousel-toggle-btn,
  #work.is-restoring .projects-heading-note,
  #work.is-restoring .work-description-glass,
  #work.is-restoring .carousel-toggle-btn {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.6rem);
  }

  .carousel-toggle-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    margin: 0.95rem 0 0;
    padding: 0.72rem 1.45rem;
    border: 1px solid rgb(244 242 237 / 46%);
    border-radius: 999px;
    background: rgb(244 242 237 / 6%);
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, opacity 260ms ease, transform 260ms ease;
  }

  .carousel-toggle-btn:hover,
  .carousel-toggle-btn:focus-visible {
    border-color: var(--paper);
    background: var(--paper);
    color: var(--ink);
  }

  .carousel-toggle-btn:disabled {
    cursor: default;
  }

  .carousel-toggle-btn:focus-visible,
  .carousel-arrow:focus-visible,
  #work .card:focus-visible {
    outline: 2px solid var(--paper-bright);
    outline-offset: 4px;
  }

  #work > .work-flex-row:has(.projects-carousel) {
    display: grid;
    grid-template-columns: minmax(17rem, 0.78fr) minmax(31rem, 1.45fr);
    gap: clamp(3rem, 6vw, 8rem);
    align-items: center;
    width: min(100%, 90rem);
    margin: clamp(1.75rem, 2.5vw, 2.75rem) auto 0;
    opacity: 1;
    transform: translateY(0);
    transition: height 700ms cubic-bezier(0.22, 1, 0.36, 1), margin-top 700ms cubic-bezier(0.22, 1, 0.36, 1), opacity 420ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  #work.is-unrolled .project-carousel-row {
    margin-top: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-1rem);
  }

  #work.is-unrolled.is-rerolling .project-carousel-row {
    margin-top: clamp(1.75rem, 2.5vw, 2.75rem);
    transform: translateY(0);
  }

  .work-description-glass {
    min-width: 0;
    transition: opacity 520ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .work-description-glass.minimized {
    max-width: 27rem;
    color: var(--paper);
  }

  .work-description-glass h4 {
    margin: 0 0 1.1rem;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 3.1rem);
    font-style: normal;
    font-weight: 400;
    line-height: 0.95;
  }

  .work-description-glass p {
    max-width: 28rem;
    margin: 0;
    color: rgb(244 242 237 / 78%);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.65;
  }

  .projects-carousel {
    position: relative;
    display: none;
    align-items: center;
    justify-content: center;
    width: min(100%, 44rem);
    height: clamp(20rem, 26vw, 24rem);
    margin: 0;
    overflow: visible;
    perspective: var(--carousel-perspective);
    perspective-origin: 50% 50%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 360ms ease, transform 360ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .projects-carousel.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
  }

  #work.is-unrolled .projects-carousel.active {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.94);
  }

  #work.is-unrolled.is-rerolling .projects-carousel.active {
    opacity: 0;
    pointer-events: none;
    transform: none;
  }

  .carousel-cards-container {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: var(--carousel-perspective);
    transform-style: preserve-3d;
  }

  .carousel-card {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    box-sizing: border-box;
    padding: 1rem;
    isolation: isolate;
    border: 1px solid rgb(244 242 237 / 36%);
    border-radius: 7px;
    background: linear-gradient(135deg, rgb(244 242 237 / 14%), rgb(244 242 237 / 4%) 45%, rgb(19 19 19 / 18%));
    box-shadow: inset 0 1px 0 rgb(244 242 237 / 44%), inset 0 -1px 0 rgb(244 242 237 / 8%), 0 1.25rem 2.5rem rgb(0 0 0 / 34%);
    color: var(--paper);
    text-align: center;
    text-decoration: none;
    transform-style: preserve-3d;
    will-change: auto;
    transition: box-shadow 180ms ease;
    backdrop-filter: blur(18px) saturate(0.75);
    -webkit-backdrop-filter: blur(18px) saturate(0.75);
    cursor: default;
    pointer-events: none;
  }

  .carousel-card .project-status-label,
  .project-archive-status {
    display: none;
  }

  .carousel-card::before,
  #work .work-cards .card::before {
    position: absolute;
    top: 1px;
    right: 1px;
    left: 1px;
    z-index: 0;
    height: 38%;
    border-radius: 6px 6px 38% 38%;
    background: linear-gradient(to bottom, rgb(244 242 237 / 15%), transparent);
    content: "";
    opacity: 0.82;
    pointer-events: none;
  }

  .carousel-card .card-img,
  .carousel-card .card-content,
  #work .work-cards .card > * {
    position: relative;
    z-index: 1;
  }

  .carousel-card.active {
    filter: brightness(1.08);
    box-shadow: inset 0 1px 0 rgb(244 242 237 / 58%), inset 0 -1px 0 rgb(244 242 237 / 12%), 0 0 0 1px rgb(244 242 237 / 18%), 0 0 2.6rem rgb(244 242 237 / 12%), 0 1.5rem 3.5rem rgb(0 0 0 / 42%);
  }

  .carousel-card.side {
    filter: blur(0.7px) brightness(0.72);
  }

  .carousel-card.far {
    filter: blur(2px) brightness(0.5);
    box-shadow: none;
  }

  .carousel-card.hidden {
    pointer-events: none;
  }

  #work.is-carousel-moving .carousel-card {
    box-shadow: 0 0.8rem 1.6rem rgb(0 0 0 / 28%);
    filter: none;
    transition: none;
    will-change: transform, opacity;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  #work.is-carousel-moving .carousel-card.active {
    filter: brightness(1.04);
  }

  #work.is-carousel-moving .carousel-card.side {
    filter: brightness(0.74);
  }

  #work.is-carousel-moving .carousel-card.far {
    box-shadow: none;
    filter: brightness(0.5);
  }

  .carousel-card .card-img {
    flex: 0 0 auto;
    width: 100%;
  }

  .carousel-card .card-img img {
    width: 100%;
    height: clamp(3.35rem, 4.25vw, 4.35rem);
    object-fit: cover;
    border: 1px solid rgb(244 242 237 / 22%);
    border-radius: 6px;
  }

  .carousel-card .card-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    min-height: 0;
    padding: 1rem 0 0;
  }

  .carousel-card h4 {
    margin: 0;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: clamp(0.98rem, 1.12vw, 1.18rem);
    font-style: normal;
    font-weight: 400;
    line-height: 1.03;
  }

  .carousel-card p {
    margin: 0.8rem 0 0;
    color: rgb(244 242 237 / 80%);
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.48;
  }

  .carousel-card .card-content > p:not(.project-impact) {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
  }

  .carousel-card .project-impact {
    margin-top: auto;
    padding: 0.7rem 0.75rem;
    border: 1px solid rgb(244 242 237 / 14%);
    border-radius: 4px;
    background: rgb(244 242 237 / 6%);
    color: rgb(244 242 237 / 72%);
    font-size: 0.55rem;
    line-height: 1.35;
  }

  .carousel-card .project-impact span {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--paper);
    font-size: 0.52rem;
    font-weight: 800;
  }

  .project-status-label {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.2rem;
    padding: 0.17rem 0.4rem;
    border: 1px solid rgb(244 242 237 / 40%);
    border-radius: 999px;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 0.5rem;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    pointer-events: none;
  }

  .status-completed,
  .status-development,
  .status-pending {
    background: rgb(244 242 237 / 14%);
    color: var(--paper);
  }

  .carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 30;
    display: grid;
    width: 2.85rem;
    height: 2.85rem;
    border: 1px solid rgb(244 242 237 / 38%);
    border-radius: 50%;
    background: rgb(19 19 19 / 88%);
    color: var(--paper);
    font-family: var(--font-display);
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
    place-items: center;
    transform: translateY(-50%);
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
    user-select: none;
  }

  .carousel-arrow-left {
    left: -1.25rem;
  }

  .carousel-arrow-right {
    right: -1.25rem;
  }

  .carousel-arrow:hover {
    background: var(--paper);
    color: var(--ink);
    transform: translateY(-50%) scale(1.08);
  }

  .project-archive {
    display: grid;
    grid-template-columns: minmax(14rem, 0.62fr) minmax(0, 1.58fr);
    gap: clamp(3rem, 7vw, 8rem);
    align-items: start;
    width: min(100%, 90rem);
    margin: clamp(2.5rem, 4vw, 4.5rem) auto 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(1.25rem);
    transition: opacity 520ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .project-archive[hidden] {
    display: none;
  }

  #work.is-unrolled .project-archive:not(.is-bridge-preparing) {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  #work.is-unrolled .project-archive.is-bridge-preparing {
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.7rem);
  }

  #work.is-rerolling .project-archive {
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.8rem);
  }

  .project-archive-index {
    align-self: start;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgb(244 242 237 / 24%);
    list-style: none;
  }

  .project-archive-index-item {
    opacity: 0;
    transform: translateX(-0.8rem);
  }

  #work.is-unrolled .project-archive:not(.is-bridge-preparing) .project-archive-index-item {
    animation: project-archive-index-enter 520ms cubic-bezier(0.22, 1, 0.36, 1) calc(90ms * var(--archive-item-index)) both;
  }

  .project-archive-index-button {
    position: relative;
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 0;
    border: 0;
    border-bottom: 1px solid rgb(244 242 237 / 18%);
    background: transparent;
    color: rgb(244 242 237 / 58%);
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 1.55vw, 1.55rem);
    font-weight: 400;
    line-height: 0.98;
    text-align: left;
    cursor: pointer;
    transition: color 180ms ease, padding-left 180ms ease;
  }

  .project-archive-index-button::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 1px;
    background: var(--paper);
    content: "";
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 200ms ease;
  }

  .project-archive-index-button:hover,
  .project-archive-index-button:focus-visible,
  .project-archive-index-button.is-selected {
    padding-left: 0.45rem;
    color: var(--paper);
  }

  .project-archive-index-button:hover::after,
  .project-archive-index-button:focus-visible::after,
  .project-archive-index-button.is-selected::after {
    transform: scaleX(1);
  }

  .project-archive-index-button:focus-visible {
    outline: 2px solid var(--paper-bright);
    outline-offset: -2px;
  }

  .project-archive-number {
    color: rgb(244 242 237 / 46%);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 800;
    line-height: 1.3;
  }

  .project-archive-title {
    min-width: 0;
  }

  .project-archive-preview {
    position: relative;
    display: grid;
    grid-template-columns: minmax(16rem, 0.96fr) minmax(18rem, 1.04fr);
    gap: clamp(1.75rem, 3vw, 4rem);
    align-items: center;
    min-height: clamp(22rem, 26vw, 28rem);
    padding: clamp(1rem, 2vw, 1.75rem) 0;
    border-top: 1px solid rgb(244 242 237 / 24%);
    border-bottom: 1px solid rgb(244 242 237 / 18%);
  }

  .project-rag-feature {
    width: min(100%, 90rem);
    margin: clamp(3rem, 5vw, 5rem) auto 0;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 360ms ease, transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .project-rag-trigger {
    display: grid;
    grid-template-columns: minmax(8rem, 0.32fr) minmax(0, 1.45fr) auto;
    align-items: center;
    gap: clamp(1.25rem, 3vw, 3.5rem);
    width: 100%;
    min-height: clamp(9.5rem, 11vw, 11.5rem);
    padding: clamp(1.4rem, 2.5vw, 2.5rem);
    border: 1px solid rgb(244 242 237 / 24%);
    border-radius: 8px;
    background: linear-gradient(112deg, rgb(244 242 237 / 10%), rgb(244 242 237 / 3%) 48%, transparent);
    box-shadow: inset 0 1px 0 rgb(244 242 237 / 18%), 0 1.2rem 2.8rem rgb(0 0 0 / 22%);
    color: var(--paper);
    cursor: pointer;
    text-align: left;
    transition: border-color 220ms ease, background-color 220ms ease, transform 220ms ease;
  }

  .project-rag-trigger:hover,
  .project-rag-trigger:focus-visible {
    border-color: rgb(244 242 237 / 62%);
    background-color: rgb(244 242 237 / 8%);
    transform: translateY(-0.2rem);
  }

  .project-rag-trigger:focus-visible {
    outline: 2px solid var(--paper-bright);
    outline-offset: 4px;
  }

  .project-rag-status {
    color: rgb(244 242 237 / 54%);
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
  }

  .project-rag-content,
  .project-rag-title,
  .project-rag-copy,
  .project-rag-cta {
    display: block;
  }

  .project-rag-title {
    color: var(--paper);
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.2vw, 3.85rem);
    font-style: italic;
    font-weight: 400;
    line-height: 0.9;
  }

  .project-rag-copy {
    max-width: 34rem;
    margin-top: 0.7rem;
    color: rgb(244 242 237 / 70%);
    font-family: var(--font-sans);
    font-size: clamp(0.82rem, 1vw, 1rem);
    font-weight: 500;
    line-height: 1.5;
  }

  .project-rag-cta {
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgb(244 242 237 / 62%);
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
  }

  #work.is-unrolling .project-rag-feature,
  #work.is-rerolling .project-rag-feature {
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.8rem);
  }

  .project-archive-award {
    position: absolute;
    top: clamp(1rem, 1.5vw, 1.35rem);
    right: 0;
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.4rem 0.85rem;
    border: 1px solid rgb(214 168 72 / 68%);
    border-radius: 4px;
    background: linear-gradient(135deg, #806020, #2d230f 72%);
    box-shadow: inset 0 1px 0 rgb(255 233 176 / 28%), 0 0.55rem 1.35rem rgb(0 0 0 / 24%);
    color: var(--paper-bright);
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
  }

  #work.is-unrolled .project-archive:not(.is-bridge-preparing) .project-archive-preview {
    animation: project-archive-preview-enter 620ms cubic-bezier(0.22, 1, 0.36, 1) 180ms both;
  }

  .project-transition-ghost {
    position: fixed !important;
    z-index: 950;
    box-sizing: border-box;
    margin: 0 !important;
    overflow: hidden;
    pointer-events: none !important;
    transform-origin: center;
    will-change: transform, opacity;
  }

  .project-transition-ghost--preview {
    padding: 1rem;
    border-radius: 7px;
  }

  .project-transition-ghost--preview .card-img {
    height: clamp(3.35rem, 4.25vw, 4.35rem);
    transition: height 720ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .project-transition-ghost--preview .card-img img {
    display: block;
    height: 100%;
    transition: border-radius 720ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .project-transition-ghost--preview .card-content,
  .project-transition-ghost--preview .project-status-label {
    transition: opacity 480ms ease, transform 480ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .project-transition-ghost--preview.is-settling {
    padding: 0;
    border-radius: 2px;
  }

  .project-transition-ghost--preview.is-settling .card-img {
    height: 100%;
  }

  .project-transition-ghost--preview.is-settling .card-img img {
    border-radius: 0;
  }

  .project-transition-ghost--preview.is-settling .card-content,
  .project-transition-ghost--preview.is-settling .project-status-label {
    opacity: 0;
    transform: translateY(0.75rem);
  }

  .project-transition-ghost--index .card-img,
  .project-transition-ghost--index .project-status-label,
  .project-transition-ghost--index .card-content p {
    transition: opacity 420ms ease;
  }

  .project-transition-ghost--index.is-settling {
    padding: 0.35rem 0;
    border-radius: 0;
    box-shadow: none;
  }

  .project-transition-ghost--index.is-settling .card-img,
  .project-transition-ghost--index.is-settling .project-status-label,
  .project-transition-ghost--index.is-settling .card-content p {
    opacity: 0;
  }

  .project-transition-ghost--reroll-media {
    border-radius: 2px;
    box-shadow: 0 1.25rem 2.5rem rgb(0 0 0 / 28%);
  }

  .project-transition-ghost--reroll-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .project-archive-media {
    position: relative;
    display: block;
    height: clamp(18rem, 22vw, 23rem);
    overflow: hidden;
    border: 1px solid rgb(244 242 237 / 28%);
    border-radius: 8px;
    background: rgb(244 242 237 / 4%);
    box-shadow: 0 1.25rem 2.5rem rgb(0 0 0 / 28%);
  }

  .project-archive-media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgb(244 242 237 / 16%), transparent 34%, rgb(19 19 19 / 20%));
    content: "";
    pointer-events: none;
  }

  .project-archive-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .project-archive-copy {
    align-self: center;
    min-width: 0;
  }

  .project-archive-kicker {
    margin: 0 0 1rem;
    color: rgb(244 242 237 / 52%);
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
  }

  .project-archive-copy h4 {
    margin: 0;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 3.5vw, 4.2rem);
    font-style: normal;
    font-weight: 400;
    line-height: 0.9;
  }

  .project-archive-copy > p:not(.project-archive-kicker) {
    max-width: 34rem;
    margin: 1.5rem 0 0;
    color: rgb(244 242 237 / 76%);
    font-family: var(--font-sans);
    font-size: clamp(0.92rem, 1.05vw, 1.05rem);
    font-weight: 500;
    line-height: 1.6;
  }

  .project-archive-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.7rem;
  }

  .project-archive-link {
    display: inline-block;
    border: 0;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgb(244 242 237 / 60%);
    background: transparent;
    color: var(--paper);
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: border-color 180ms ease, color 180ms ease;
  }

  .project-archive-link:hover,
  .project-archive-link:focus-visible {
    border-color: var(--paper);
    color: var(--paper-bright);
  }

  .project-archive-link:focus-visible {
    outline: 2px solid var(--paper-bright);
    outline-offset: 4px;
  }

  .project-archive-github {
    display: grid;
    width: 1.85rem;
    height: 1.85rem;
    margin-left: auto;
    border: 1px solid transparent;
    border-radius: 50%;
    place-items: center;
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
  }

  .project-archive-github img {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    object-fit: contain;
    filter: grayscale(1) brightness(0) invert(1);
    opacity: 0.88;
  }

  .project-archive-github:hover,
  .project-archive-github:focus-visible {
    border-color: rgb(244 242 237 / 56%);
    background: rgb(244 242 237 / 8%);
    transform: translateY(-0.12rem);
  }

  .project-archive-github:focus-visible {
    outline: 2px solid var(--paper-bright);
    outline-offset: 4px;
  }

  .project-archive-preview.is-updating .project-archive-media,
  .project-archive-preview.is-updating .project-archive-copy {
    animation: project-archive-preview-swap 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  @keyframes project-archive-index-enter {
    from {
      opacity: 0;
      transform: translateX(-0.8rem);
    }

    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes project-archive-preview-enter {
    from {
      opacity: 0;
      transform: translateY(1rem);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes project-archive-preview-swap {
    from {
      opacity: 0.35;
      transform: translateY(0.55rem);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  #work > .work-flex-row:has(.work-cards) {
    display: block;
    width: min(100%, 90rem);
    margin: 2.5rem auto 0;
  }

  .work-description-glass.expanded {
    max-width: 50rem;
    margin: 0 0 2.5rem;
  }

  .work-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    width: 100%;
  }

  #work .work-cards .card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 27rem;
    padding: 1rem;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgb(244 242 237 / 32%);
    border-radius: 7px;
    background: linear-gradient(135deg, rgb(244 242 237 / 12%), rgb(244 242 237 / 3%) 48%, rgb(19 19 19 / 18%));
    box-shadow: inset 0 1px 0 rgb(244 242 237 / 40%), inset 0 -1px 0 rgb(244 242 237 / 8%), 0 1rem 2rem rgb(0 0 0 / 24%);
    backdrop-filter: blur(18px) saturate(0.75);
    -webkit-backdrop-filter: blur(18px) saturate(0.75);
    color: var(--paper);
    text-decoration: none;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
  }

  #work .work-cards .card:hover {
    border-color: rgb(244 242 237 / 50%);
    background: linear-gradient(135deg, rgb(244 242 237 / 17%), rgb(244 242 237 / 5%) 48%, rgb(19 19 19 / 12%));
    transform: translateY(-0.35rem);
  }

  #work .work-cards .card-img img {
    width: 100%;
    height: 8.5rem;
    object-fit: cover;
    border: 1px solid rgb(244 242 237 / 18%);
    border-radius: 6px;
  }

  #work .work-cards .card-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding-top: 1rem;
  }

  #work .work-cards .card-content h4 {
    margin: 0;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
  }

  #work .work-cards .card-content p {
    margin: 0.8rem 0 0;
    color: rgb(244 242 237 / 76%);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.5;
  }
}

/* Contact */

@media (min-width: 761px) {
  .contact-section {
    position: relative;
    isolation: isolate;
    min-height: 47rem;
    padding: clamp(5.25rem, 8vw, 8rem) clamp(2rem, 8vw, 10rem) 2rem;
    overflow: hidden;
    border-top: 1px solid rgb(244 242 237 / 12%);
    background:
      linear-gradient(112deg, rgb(244 242 237 / 3%), transparent 26%),
      var(--ink);
    color: var(--paper);
  }

  .contact-shell {
    display: flex;
    flex-direction: column;
    width: min(100%, 90rem);
    min-height: 40rem;
    margin: 0 auto;
  }

  .contact-heading {
    position: relative;
    isolation: isolate;
    width: fit-content;
    margin: 0;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: clamp(5.5rem, 9vw, 10rem);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 0.73;
  }

  .contact-heading::after {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    color: rgb(244 242 237 / 18%);
    content: attr(data-shadow);
    font: inherit;
    pointer-events: none;
    transform: skewX(-35deg) scaleY(0.72);
    transform-origin: left bottom;
    white-space: nowrap;
  }

  .contact-rule {
    width: 100%;
    height: 1px;
    margin-top: clamp(1.5rem, 2.1vw, 2.25rem);
    background: rgb(244 242 237 / 22%);
  }

  .contact-stage {
    display: grid;
    grid-template-columns: minmax(13rem, 0.66fr) minmax(34rem, 1.58fr) minmax(10rem, 0.4fr);
    gap: clamp(1.5rem, 3vw, 3.5rem);
    flex: 1 1 auto;
    align-items: end;
    padding: clamp(2.8rem, 5vw, 5rem) 0 3.25rem;
  }

  .contact-primary-action {
    grid-column: 2;
    align-self: center;
    transform: translateY(-2rem);
  }

  .contact-eyebrow,
  .contact-social-rail > p {
    margin: 0;
    color: rgb(244 242 237 / 62%);
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .contact-question {
    max-width: 43rem;
    margin: 1.35rem 0 1.95rem;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: clamp(2.7rem, 3.4vw, 4.15rem);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 0.97;
  }

  .contact-email-action {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-width: min(100%, 27rem);
    padding: 0 0 0.85rem;
    border: 0;
    border-bottom: 1px solid rgb(244 242 237 / 82%);
    background: transparent;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 2.45vw, 2.85rem);
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 180ms ease, color 180ms ease;
  }

  .contact-email-arrow {
    font-size: 1.25em;
    line-height: 0.7;
    transition: transform 180ms ease;
  }

  .contact-email-action:hover,
  .contact-email-action:focus-visible {
    border-color: var(--paper-bright);
    color: var(--paper-bright);
  }

  .contact-email-action:hover .contact-email-arrow,
  .contact-email-action:focus-visible .contact-email-arrow {
    transform: translate(0.18rem, -0.18rem);
  }

  .contact-email-action:focus-visible,
  .contact-social-rail a:focus-visible,
  .contact-dialog-close:focus-visible,
  .contact-form button:focus-visible {
    outline: 2px solid var(--paper-bright);
    outline-offset: 4px;
  }

  .contact-social-rail {
    display: grid;
    grid-column: 3;
    gap: 1.05rem;
    align-self: end;
    margin: 0 0 0.25rem;
    padding: 0.2rem 0 0.2rem clamp(1.25rem, 2vw, 2rem);
    border-left: 1px solid rgb(244 242 237 / 26%);
  }

  .contact-social-rail > p {
    margin-bottom: 0.3rem;
  }

  .contact-social-rail a {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    width: fit-content;
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
  }

  .contact-social-rail a:hover {
    color: var(--paper-bright);
    transform: translateX(0.2rem);
  }

  .contact-social-rail img {
    width: 1.45rem;
    height: 1.45rem;
    object-fit: contain;
    filter: grayscale(1) brightness(2.2) contrast(1.1);
  }

  .contact-social-rail a:first-of-type img {
    width: 1.55rem;
    height: 1.55rem;
    filter: none;
  }

  .contact-social-rail a:nth-of-type(2) img {
    width: 1.7rem;
    height: 1.7rem;
  }

  .contact-footer {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgb(244 242 237 / 18%);
    color: rgb(244 242 237 / 45%);
    font-family: var(--font-sans);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.25;
    text-transform: uppercase;
  }

  .contact-dialog {
    width: min(34rem, calc(100vw - 3rem));
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgb(244 242 237 / 34%);
    border-radius: 6px;
    background: var(--ink);
    box-shadow: 0 1.5rem 5rem rgb(0 0 0 / 45%);
    color: var(--paper);
  }

  .contact-dialog::backdrop {
    background: rgb(0 0 0 / 72%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }

  .contact-dialog-content {
    position: relative;
    padding: clamp(1.75rem, 3vw, 2.75rem);
  }

  .contact-dialog-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: grid;
    width: 2.15rem;
    height: 2.15rem;
    padding: 0;
    border: 1px solid rgb(244 242 237 / 34%);
    border-radius: 50%;
    background: transparent;
    color: var(--paper);
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    place-items: center;
    transition: background-color 180ms ease, color 180ms ease;
  }

  .contact-dialog-close:hover {
    background: var(--paper);
    color: var(--ink);
  }

  .contact-dialog-eyebrow {
    margin: 0;
    color: rgb(244 242 237 / 54%);
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1;
    text-transform: uppercase;
  }

  .contact-dialog h4 {
    margin: 1rem 0 0;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-style: italic;
    font-weight: 400;
    line-height: 0.9;
  }

  .contact-form {
    display: grid;
    gap: 0.8rem;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 0.9rem 0;
    border: 0;
    border-bottom: 1px solid rgb(244 242 237 / 28%);
    border-radius: 0;
    outline: 0;
    resize: vertical;
    background: transparent;
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
  }

  .contact-form input::placeholder,
  .contact-form textarea::placeholder {
    color: rgb(244 242 237 / 48%);
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
    border-color: var(--paper);
  }

  .contact-form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-top: 1rem;
  }

  .contact-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 0;
    border: 0;
    border-bottom: 1px solid var(--paper);
    background: transparent;
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
  }

  .contact-form button[type="submit"]:disabled {
    cursor: progress;
    opacity: 0.55;
  }

  .contact-form-status {
    min-height: 1.1rem;
    margin: 0;
    color: rgb(244 242 237 / 65%);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: right;
  }

}

@media (max-width: 760px) {
  section {
    scroll-margin-top: 80px;
  }

  .navbar {
    min-height: 66px;
    margin-top: 16px;
  }

  .nav-container {
    position: relative;
    min-height: 66px;
    gap: 0.75rem;
    padding: 0 1rem;
  }

  .logo {
    width: 36px;
    height: 36px;
  }

  .recruiter-toggle {
    min-height: 34px;
    padding: 0.45rem 0.7rem;
    font-size: 0.68rem;
  }

  .recruiter-toggle-dot {
    width: 0.38rem;
    height: 0.38rem;
  }

  .nav-links-header:not(.mobile-nav-dropdown) {
    display: none;
  }

  .mobile-nav-toggle {
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--paper);
    cursor: pointer;
    place-content: center;
    gap: 5px;
  }

  .mobile-nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  body.nav-open .mobile-nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .mobile-nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .mobile-nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-nav-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0.5rem 1rem 1rem;
    border-bottom: 1px solid rgb(244 242 237 / 10%);
    background: rgb(19 19 19 / 96%);
    box-shadow: 0 14px 26px rgb(19 19 19 / 16%);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    visibility: hidden;
  }

  .mobile-nav-dropdown a {
    display: block;
    padding: 0.85rem 0;
    font-size: 0.82rem;
  }

  body.nav-open .mobile-nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }
}

/* Public portfolio assistant: an anchored, viewport-fixed layer above the About rail. */
.about-chat-panel[hidden] {
  display: none !important;
}

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

.about-chat-backdrop:not([hidden]) {
  position: fixed;
  z-index: 1009;
  inset: 0;
  will-change: opacity;
  background: rgb(0 0 0 / 58%);
}

body.about-chat-window-maximized {
  overflow: hidden;
}

.about-chat-panel {
  display: grid;
  gap: 0.9rem;
  min-height: 0;
  padding: 1rem;
  border: 1px solid rgb(244 242 237 / 24%);
  border-radius: 4px;
  background: rgb(244 242 237 / 3%);
}

.about-chat-panel:not([hidden]) {
  position: fixed;
  top: auto;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1010;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(42rem, calc(100vw - 2.5rem));
  /* Keep the restored assistant distinctly smaller than the maximized view. */
  height: min(38rem, calc(100dvh - 11rem));
  min-height: 17.5rem;
  max-height: calc(100dvh - 11rem);
  padding: 1.35rem;
  overflow: hidden;
  will-change: opacity, transform;
  background: rgb(19 19 19 / 98%);
  box-shadow: 0 1.6rem 4.5rem rgb(0 0 0 / 52%);
}

.about-chat-panel.is-maximized:not([hidden]) {
  top: 1rem;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: clamp(1rem, 1.8vw, 1.75rem);
  border-color: rgb(244 242 237 / 36%);
  box-shadow: 0 1.6rem 4.5rem rgb(0 0 0 / 64%);
}

.about-chat-header {
  position: relative;
  display: grid;
  gap: 0.42rem;
  padding-right: 5.25rem;
}

.about-chat-window-controls {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  display: flex;
  gap: 0.4rem;
}

.about-chat-maximize,
.about-chat-close {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  padding: 0;
  border: 1px solid rgb(244 242 237 / 24%);
  border-radius: 4px;
  place-items: center;
  background: transparent;
  color: var(--paper);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.about-chat-close {
  font-size: 1.45rem;
}

.about-chat-maximize {
  font-size: 1rem;
}

.about-chat-maximize-icon {
  position: relative;
  display: block;
  width: 0.78rem;
  height: 0.78rem;
  border: 1px solid currentColor;
}

.about-chat-panel.is-maximized .about-chat-maximize-icon {
  border: 0;
}

.about-chat-panel.is-maximized .about-chat-maximize-icon::before,
.about-chat-panel.is-maximized .about-chat-maximize-icon::after {
  position: absolute;
  width: 0.58rem;
  height: 0.58rem;
  border: 1px solid currentColor;
  content: "";
}

.about-chat-panel.is-maximized .about-chat-maximize-icon::before {
  top: 0.12rem;
  left: -0.12rem;
}

.about-chat-panel.is-maximized .about-chat-maximize-icon::after {
  top: -0.12rem;
  left: 0.12rem;
}

.about-chat-maximize:hover,
.about-chat-maximize:focus-visible,
.about-chat-close:hover,
.about-chat-close:focus-visible {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.about-chat-maximize:focus-visible,
.about-chat-close:focus-visible {
  outline: 2px solid var(--paper-bright);
  outline-offset: 3px;
}

.about-chat-status {
  margin: 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2vw, 2.05rem);
  font-style: italic;
  font-weight: 400;
  line-height: 0.94;
}

.about-chat-detail {
  max-width: 28rem;
  margin: 0;
  color: rgb(244 242 237 / 68%);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.45;
}

.about-chat-transcript {
  display: grid;
  gap: 0.6rem;
  max-height: 20rem;
  padding: 0.15rem 0.15rem 0.15rem 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgb(244 242 237 / 46%) transparent;
}

.about-chat-panel:not([hidden]) .about-chat-transcript {
  min-height: 0;
  max-height: none;
  padding-right: 0.3rem;
}

.about-chat-empty {
  margin: 0;
  color: rgb(244 242 237 / 58%);
  font-family: var(--font-sans);
  font-size: 0.77rem;
  font-weight: 500;
  line-height: 1.45;
}

.about-chat-message {
  padding: 0.7rem 0.75rem;
  border: 1px solid rgb(244 242 237 / 14%);
  border-radius: 4px;
}

.about-chat-message-visitor {
  background: rgb(244 242 237 / 8%);
}

.about-chat-message-assistant {
  background: rgb(244 242 237 / 3%);
}

.about-chat-message-label,
.about-chat-message-text {
  margin: 0;
}

.about-chat-message-label,
.about-chat-sources-label {
  color: rgb(244 242 237 / 52%);
  font-family: var(--font-sans);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.about-chat-message-text {
  margin-top: 0.35rem;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.about-chat-panel:not([hidden]) .about-chat-message-text {
  font-size: 0.94rem;
  line-height: 1.55;
}

.about-chat-section-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.65rem;
}

.about-chat-section {
  display: grid;
  gap: 0.3rem;
}

.about-chat-section-title,
.about-chat-section-text {
  margin: 0;
  font-family: var(--font-sans);
  overflow-wrap: anywhere;
}

.about-chat-section-title {
  color: var(--paper-bright);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.3;
}

.about-chat-section-text {
  color: var(--paper);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.55;
}

.about-chat-sources {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  margin-top: 0.7rem;
}

.about-chat-diagram {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.8rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgb(244 242 237 / 14%);
}

.about-chat-diagram-title {
  margin: 0;
  color: rgb(244 242 237 / 66%);
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-chat-diagram-surface {
  min-height: 4rem;
  overflow-x: auto;
  color: var(--paper);
}

.about-chat-diagram-surface svg {
  display: block;
  min-width: 26rem;
  max-width: none;
  height: auto;
}

.about-chat-panel:not([hidden]) .about-chat-diagram-surface svg {
  min-width: 36rem;
}

.about-chat-visual-frame {
  position: relative;
  min-width: 0;
}

.about-chat-visual-frame > img {
  display: block;
  max-width: 100%;
  height: auto;
}

.about-chat-visual-expand,
.about-chat-visual-restore,
.about-chat-visual-close {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border: 1px solid rgb(244 242 237 / 24%);
  border-radius: 4px;
  place-items: center;
  background: rgb(19 19 19 / 92%);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.about-chat-visual-expand {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 1;
}

.about-chat-visual-expand:hover,
.about-chat-visual-expand:focus-visible,
.about-chat-visual-restore:hover,
.about-chat-visual-restore:focus-visible,
.about-chat-visual-close:hover,
.about-chat-visual-close:focus-visible {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.about-chat-visual-expand:focus-visible,
.about-chat-visual-restore:focus-visible,
.about-chat-visual-close:focus-visible {
  outline: 2px solid var(--paper-bright);
  outline-offset: 3px;
}

.about-chat-visual-focus[hidden] {
  display: none;
}

.about-chat-visual-focus {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.8rem;
  min-width: 0;
  min-height: 0;
  padding: 1.35rem;
  background: rgb(19 19 19 / 99%);
}

.about-chat-visual-focus-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.about-chat-visual-focus-title {
  margin: 0;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.about-chat-visual-focus-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 0.4rem;
}

.about-chat-visual-focus-stage {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgb(244 242 237 / 46%) transparent;
}

.about-chat-visual-focus .about-chat-visual-frame {
  display: grid;
  min-width: 100%;
  min-height: 100%;
}

.about-chat-visual-focus .about-chat-visual-expand {
  display: none;
}

.about-chat-visual-focus .about-chat-diagram-surface {
  display: grid;
  width: 100%;
  min-height: 100%;
  place-items: center;
  overflow: auto;
}

.about-chat-visual-focus .about-chat-diagram-surface svg {
  width: 100%;
  min-width: 0;
  max-width: none;
  height: auto;
}

.about-chat-visual-focus .about-chat-visual-frame > img {
  width: 100%;
  max-width: none;
  height: auto;
  margin: auto;
  object-fit: contain;
}

/* Mermaid sequence-message labels sit directly on the dark diagram surface. */
.about-chat-diagram-surface svg .messageText,
.about-chat-diagram-surface svg .messageText tspan,
.about-chat-diagram-surface svg .signalText,
.about-chat-diagram-surface svg .signalText tspan {
  color: var(--paper) !important;
  fill: var(--paper) !important;
}

/* Keep Mermaid message connectors legible without changing lifelines or nodes. */
.about-chat-diagram-surface svg .messageLine0,
.about-chat-diagram-surface svg .messageLine1,
.about-chat-diagram-surface svg .flowchart-link,
.about-chat-diagram-surface svg .edgePath path {
  stroke: var(--paper) !important;
}

.about-chat-diagram-surface svg .arrowheadPath,
.about-chat-diagram-surface svg marker path {
  fill: var(--paper) !important;
  stroke: var(--paper) !important;
}

.about-chat-source {
  color: rgb(244 242 237 / 82%);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-color: rgb(244 242 237 / 38%);
  text-underline-offset: 0.18em;
}

a.about-chat-source:hover,
a.about-chat-source:focus-visible {
  color: var(--paper-bright);
  text-decoration-color: currentColor;
}

.about-chat-form {
  display: grid;
  gap: 0.4rem;
}

.about-chat-form textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.35rem 0;
  border: 0;
  border-bottom: 1px solid rgb(244 242 237 / 28%);
  border-radius: 0;
  outline: 0;
  resize: none;
  background: transparent;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.45;
}

.about-chat-panel:not([hidden]) .about-chat-form textarea {
  font-size: 0.94rem;
}

.about-chat-form textarea::placeholder {
  color: rgb(244 242 237 / 46%);
}

.about-chat-form textarea:focus {
  border-color: var(--paper);
}

.about-chat-form-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1rem;
  min-height: 2rem;
}

.about-chat-form button {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0;
  border: 0;
  border-bottom: 1px solid var(--paper);
  background: transparent;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.about-chat-form button:hover,
.about-chat-form button:focus-visible {
  color: var(--paper-bright);
}

.about-chat-form button:disabled {
  cursor: progress;
  opacity: 0.55;
}

.about-chat-feedback {
  margin: 0;
  color: rgb(244 242 237 / 55%);
  font-family: var(--font-sans);
  font-size: 0.67rem;
  font-weight: 600;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .about-chat-panel:not([hidden]) {
    top: 5rem;
    right: 0.75rem;
    bottom: auto;
    left: 0.75rem;
    width: auto;
    height: calc(100dvh - 5.75rem);
    min-height: 0;
    max-height: none;
    padding: 0.9rem;
  }

  .about-chat-panel.is-maximized:not([hidden]) {
    top: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    height: auto;
  }

  .about-chat-visual-focus {
    padding: 0.9rem;
  }

  .about-chat-transcript {
    max-height: 16rem;
  }

  .about-chat-panel:not([hidden]) .about-chat-transcript {
    max-height: none;
  }

  .about-chat-panel:not([hidden]) .about-chat-diagram-surface svg {
    min-width: 28rem;
  }
}

/* Small-screen portfolio: preserve the content hierarchy while removing desktop-only spectacle. */
@media (max-width: 760px) {
  body {
    background: var(--ink);
  }

  .home-bg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100svh - 82px);
    padding: 2.25rem 1.25rem 3.5rem;
    background: linear-gradient(
      to bottom,
      var(--paper) 0,
      var(--paper) 42%,
      #d4d1ca 61%,
      #77746e 78%,
      var(--ink) 100%
    );
  }

  .social-dock {
    display: none;
  }

  .mobile-hero-social {
    display: grid;
    grid-auto-rows: 2.2rem;
    gap: 0.55rem;
    justify-items: end;
    justify-self: end;
    align-self: start;
    width: max-content;
  }

  .mobile-hero-social a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 2.2rem;
    gap: 0.42rem;
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-style: italic;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
  }

  .mobile-hero-social img {
    width: 1.3rem;
    height: 1.3rem;
    object-fit: contain;
    filter: grayscale(1) contrast(1.8);
    transform: skewX(-12deg);
  }

  .mobile-hero-social a:nth-child(2) img {
    width: 1.55rem;
    height: 1.55rem;
  }

  .hero-portrait-reveal {
    position: absolute;
    bottom: 0;
    left: 50%;
    z-index: 0;
    display: block;
    width: min(66vw, 16rem);
    max-width: 66vw;
    height: min(28svh, 14rem);
    overflow: hidden;
    opacity: 0.14;
    filter: grayscale(1) contrast(1.08);
    transform: translateX(-50%);
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-portrait-reveal img {
    position: absolute;
    top: 0;
    left: 50%;
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    transform: translateX(-50%);
  }

  .hero-actions {
    position: relative;
    top: auto;
    left: auto;
    order: -1;
    align-self: flex-start;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    column-gap: 1rem;
    width: 100%;
    margin: 0 0 2.75rem;
  }

  .hero-action-stack {
    gap: 0.55rem;
  }

  .hero-action {
    min-width: 8.25rem;
    min-height: 2.2rem;
    padding: 0.5rem 0.62rem;
    gap: 0.6rem;
    font-size: 0.6rem;
  }

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

  .hero-greeting {
    max-width: 100%;
    font-size: clamp(2.95rem, 16.8vw, 4.3rem);
    line-height: 0.8;
    overflow: visible;
  }

  .hero-name {
    display: block;
    max-width: 100%;
  }

  .hero-name-i {
    position: static;
  }

  .hero-name::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    color: #000;
    content: "LAKHANI";
    opacity: 0.42;
    transform: translateX(-50%) skewX(-35deg) scaleY(0.72);
    transform-origin: center calc(50% + 0.337em);
    white-space: nowrap;
  }

  .hero-name::before {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: -1;
    color: #000;
    content: "MIHIR";
    opacity: 0.42;
    pointer-events: none;
    transform: translateX(-50%) skewX(-35deg) scaleY(0.72);
    transform-origin: center calc(50% + 0.337em);
    white-space: nowrap;
  }

  .hero-prefix {
    top: -0.54em;
    left: 43%;
    font-size: 0.24em;
  }

  .tagline {
    max-width: 19.5rem;
    margin: 2.3rem auto 0;
    font-size: clamp(1.18rem, 7.2vw, 1.7rem);
    line-height: 0.98;
  }

  .about-section {
    padding: 3.75rem 1.25rem 4.5rem;
    background: var(--ink);
  }

  .about-section h3,
  #work > h3,
  .contact-heading {
    position: relative;
    isolation: isolate;
    margin: 0;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: clamp(3.05rem, 14vw, 4.2rem);
    font-style: italic;
    font-weight: 400;
    line-height: 0.78;
  }

  .about-section h3::after,
  #work > h3::after,
  .contact-heading::after {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    color: rgb(244 242 237 / 16%);
    content: attr(data-shadow);
    font: inherit;
    pointer-events: none;
    transform: skewX(-35deg) scaleY(0.72);
    transform-origin: left bottom;
    white-space: nowrap;
  }

  .about-section h3::after {
    content: '.About';
  }

  .about-container {
    display: grid;
    gap: 2.5rem;
    margin: 2.8rem 0 0;
  }

  .about-highlights-heading {
    margin: 0 0 1rem;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 400;
    line-height: 0.95;
  }

  .lux-list {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgb(244 242 237 / 22%);
    list-style: none;
    counter-reset: about-item;
  }

  .lux-list li {
    display: grid;
    grid-template-columns: 2.2rem minmax(0, 1fr);
    gap: 0.75rem;
    padding: 1rem 0;
    border-top: 1px solid rgb(244 242 237 / 22%);
    counter-increment: about-item;
  }

  .lux-list li::before {
    padding-top: 0.25rem;
    color: rgb(244 242 237 / 56%);
    content: '0' counter(about-item);
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
  }

  .lux-list strong {
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.42;
  }

  .about-background-row {
    margin-top: 1.5rem;
  }

  .about-actions-row {
    margin-top: 0 !important;
  }

  .expand-btn {
    min-height: 2.6rem;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgb(244 242 237 / 42%);
    border-radius: 4px;
    background: transparent;
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 0.74rem;
    font-weight: 800;
    cursor: pointer;
  }

  .about-side-rail {
    display: grid;
    gap: 0.75rem;
  }

  .skills-box {
    overflow: hidden;
    border: 1px solid rgb(244 242 237 / 24%);
    border-radius: 4px;
    background: rgb(244 242 237 / 4%);
  }

  .skills-head {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgb(244 242 237 / 20%);
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
  }

  .skills-window {
    position: relative;
    height: 11.8rem;
    overflow: hidden;
  }

  .skills-window::before,
  .skills-window::after {
    display: block;
    height: 1.5rem;
  }

  #skills-list {
    margin: 0;
    padding: 0;
    list-style: none;
    will-change: auto;
  }

  #skills-list li {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    min-height: 2.85rem;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgb(244 242 237 / 12%);
    color: rgb(244 242 237 / 88%);
    font-family: var(--font-sans);
    font-size: 0.86rem;
    font-weight: 600;
  }

  .skill-photo {
    flex: 0 0 auto;
    width: 1.3rem;
    height: 1.3rem;
    object-fit: contain;
  }

  .download-resume-btn,
  .about-chat-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 3rem;
    margin: 0 !important;
    padding: 0.75rem 1rem;
    border: 1px solid rgb(244 242 237 / 30%);
    border-radius: 4px;
    background: transparent;
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
  }

  .download-resume-btn {
    border-width: 1px 0 0;
    border-radius: 0;
  }

  .download-resume-btn::after {
    color: rgb(244 242 237 / 58%);
    content: 'PDF';
    font-weight: 600;
  }

  .about-chat-toggle-mark {
    font-size: 1.15rem;
    font-weight: 400;
  }

  #work {
    padding: 3.75rem 1.25rem 4.5rem;
    background: var(--ink);
    color: var(--paper);
  }

  #work > h3::after {
    content: '.Projects';
  }

  .projects-heading-note {
    margin: 1.25rem 0 0;
    color: rgb(244 242 237 / 70%);
    font-family: var(--font-sans);
    font-size: 0.92rem;
    line-height: 1.5;
  }

  #projectsHeadingNote,
  #projectsLiveDemoNote,
  .carousel-toggle-btn,
  .project-carousel-row,
  .projects-carousel,
  .work-cards {
    display: none !important;
  }

  #work.is-mobile-project-carousel .project-archive {
    display: none !important;
  }

  .mobile-project-carousel {
    display: none;
    margin-top: 1rem;
  }

  .mobile-project-carousel:not([hidden]) {
    display: block;
  }

  .mobile-project-counter {
    margin: 0 0 1.55rem;
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 0.98rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1;
    text-align: center;
  }

  .mobile-project-viewport {
    width: calc(100% + 2.5rem);
    margin-left: -1.25rem;
  }

  .mobile-project-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.15rem calc((100% - min(76vw, 18rem)) / 2) 0.8rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
  }

  .mobile-project-track::-webkit-scrollbar {
    display: none;
  }

  .mobile-project-track:focus-visible {
    outline: 2px solid var(--paper-bright);
    outline-offset: -3px;
  }

  .mobile-project-card {
    position: relative;
    display: flex;
    flex: 0 0 min(76vw, 18rem);
    flex-direction: column;
    min-height: 30rem;
    overflow: hidden;
    border: 1px solid rgb(244 242 237 / 58%);
    border-radius: 7px;
    background: #111;
    box-shadow: 0 1.2rem 2.7rem rgb(0 0 0 / 34%);
    color: var(--paper);
    scroll-snap-align: center;
    scroll-snap-stop: always;
    opacity: var(--mobile-project-opacity, 1);
    filter: brightness(var(--mobile-project-brightness, 1));
    transform: scale(var(--mobile-project-scale, 1));
    transform-origin: center;
    transition: transform 90ms linear, border-color 180ms ease, filter 90ms linear, opacity 90ms linear;
    will-change: transform, filter, opacity;
  }

  .mobile-project-card:not(.is-active) {
    border-color: rgb(244 242 237 / 28%);
  }

  .mobile-project-media {
    flex: 0 0 auto;
    aspect-ratio: 16 / 10;
    margin: 0.85rem;
    overflow: hidden;
    border: 1px solid rgb(244 242 237 / 22%);
    border-radius: 6px;
    background: #090909;
  }

  .mobile-project-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mobile-project-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 0.15rem 1.25rem 1.15rem;
  }

  .mobile-project-copy h4 {
    margin: 0;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-style: normal;
    font-weight: 400;
    line-height: 0.98;
  }

  .mobile-project-copy p {
    margin: 1rem 0 0;
    color: rgb(244 242 237 / 80%);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.45;
  }

  .mobile-project-more {
    width: fit-content;
    margin-top: auto;
    padding: 0 0 0.4rem;
    border: 0;
    border-bottom: 1px solid rgb(244 242 237 / 72%);
    background: transparent;
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
  }

  .mobile-project-more:focus-visible {
    outline: 2px solid var(--paper-bright);
    outline-offset: 4px;
  }

  .mobile-project-dots {
    display: flex;
    gap: 0.72rem;
    align-items: center;
    justify-content: center;
    margin-top: 0.65rem;
  }

  .mobile-project-dot {
    box-sizing: border-box;
    width: 0.7rem;
    height: 0.7rem;
    padding: 0;
    border: 1px solid rgb(244 242 237 / 54%);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
  }

  .mobile-project-dot.is-active {
    border-color: var(--paper);
    background: var(--paper);
    transform: scale(1.15);
  }

  .mobile-project-dot:focus-visible {
    outline: 2px solid var(--paper-bright);
    outline-offset: 4px;
  }

  .project-archive {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .project-archive-index {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .project-archive-index-button {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.45rem;
    align-items: start;
    width: 100%;
    min-height: 4.75rem;
    padding: 0.7rem;
    border: 1px solid rgb(244 242 237 / 22%);
    border-radius: 4px;
    background: transparent;
    color: var(--paper);
    font-family: var(--font-sans);
    text-align: left;
    cursor: pointer;
  }

  .project-archive-index-button.is-selected {
    border-color: var(--paper);
    background: rgb(244 242 237 / 10%);
  }

  .project-archive-number {
    color: rgb(244 242 237 / 52%);
    font-size: 0.6rem;
    font-weight: 800;
    line-height: 1.35;
  }

  .project-archive-title {
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.28;
  }

  .project-archive-preview {
    display: grid;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgb(244 242 237 / 22%);
  }

  .project-archive-media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid rgb(244 242 237 / 18%);
    border-radius: 4px;
  }

  .project-archive-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .project-archive-kicker {
    margin: 0;
    color: rgb(244 242 237 / 52%);
    font-family: var(--font-sans);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .project-archive-copy h4 {
    margin: 0.45rem 0 0;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: 2.15rem;
    font-weight: 400;
    line-height: 0.94;
  }

  .project-archive-copy > p:not(.project-archive-kicker) {
    margin: 0.9rem 0 0;
    color: rgb(244 242 237 / 76%);
    font-family: var(--font-sans);
    font-size: 0.91rem;
    line-height: 1.55;
  }

  .project-archive-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem 1.15rem;
    align-items: center;
    margin-top: 1.15rem;
  }

  .project-archive-link {
    display: inline-flex;
    gap: 0.55rem;
    align-items: center;
    padding: 0 0 0.45rem;
    border: 0;
    border-bottom: 1px solid var(--paper);
    background: transparent;
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
  }

  .project-archive-github {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
  }

  .project-archive-github img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(1) brightness(2);
  }

  .project-rag-feature {
    margin-top: 2rem;
    border-top: 0;
  }

  .project-rag-trigger {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    min-height: 16.75rem;
    aspect-ratio: 1 / 0.78;
    padding: 1.15rem;
    overflow: hidden;
    border: 1px solid rgb(244 242 237 / 32%);
    border-radius: 6px;
    background: linear-gradient(112deg, rgb(244 242 237 / 10%), rgb(244 242 237 / 4%) 48%, transparent);
    box-shadow: inset 0 1px 0 rgb(244 242 237 / 12%);
    color: var(--paper);
    text-align: left;
    cursor: pointer;
  }

  .project-rag-trigger > span {
    position: relative;
    z-index: 1;
  }

  .project-rag-trigger::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    border: 1px solid transparent;
    border-radius: inherit;
    background:
      linear-gradient(112deg, rgb(41 41 41), rgb(27 27 27) 48%, rgb(19 19 19)) padding-box,
      conic-gradient(
        from var(--rag-photon-angle),
        transparent 0deg 280deg,
        rgb(128 212 255 / 8%) 296deg,
        rgb(128 212 255 / 32%) 316deg,
        rgb(244 253 255 / 96%) 334deg,
        rgb(128 212 255 / 48%) 350deg,
        transparent 360deg
      ) border-box;
    content: "";
    animation: rag-photon-trail 4.8s linear infinite;
    pointer-events: none;
  }

  .project-rag-trigger::after {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 8%;
    width: 0.28rem;
    height: 0.28rem;
    border-radius: 50%;
    background: rgb(244 253 255);
    box-shadow: 0 0 0.25rem rgb(128 212 255 / 92%), 0 0 0.65rem rgb(128 212 255 / 64%);
    content: "";
    animation: rag-photon-orbit 4.8s linear infinite;
    pointer-events: none;
  }

  .project-rag-status,
  .project-rag-cta {
    color: rgb(244 242 237 / 58%);
    font-family: var(--font-sans);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.25;
    text-transform: uppercase;
  }

  .project-rag-content {
    display: block;
    width: 100%;
  }

  .project-rag-title {
    display: block;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 8.3vw, 2.4rem);
    font-weight: 400;
    line-height: 0.94;
  }

  .project-rag-copy {
    display: block;
    margin-top: 0.85rem;
    color: rgb(244 242 237 / 76%);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    line-height: 1.42;
  }

  .project-rag-cta {
    grid-column: auto;
    margin-top: 0.2rem;
    width: fit-content;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgb(244 242 237 / 62%);
    color: var(--paper);
  }

  @keyframes rag-photon-trail {
    from {
      --rag-photon-angle: -45deg;
    }

    to {
      --rag-photon-angle: 315deg;
    }
  }

  @keyframes rag-photon-orbit {
    0% {
      top: 0;
      left: 8%;
    }

    24% {
      top: 0;
      left: calc(100% - 0.28rem);
    }

    26% {
      top: 8%;
      left: calc(100% - 0.28rem);
    }

    49% {
      top: calc(100% - 0.28rem);
      left: calc(100% - 0.28rem);
    }

    51% {
      top: calc(100% - 0.28rem);
      left: calc(100% - 8% - 0.28rem);
    }

    74% {
      top: calc(100% - 0.28rem);
      left: 0;
    }

    76% {
      top: calc(100% - 8% - 0.28rem);
      left: 0;
    }

    99% {
      top: 0;
      left: 0;
    }

    100% {
      top: 0;
      left: 8%;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .project-rag-trigger::before,
    .project-rag-trigger::after {
      animation: none;
    }
  }

  .contact-section {
    padding: 3.75rem 1.25rem 1.5rem;
    border-top: 1px solid rgb(244 242 237 / 12%);
    background: var(--ink);
    color: var(--paper);
  }

  .contact-heading::after {
    content: '.Contact';
  }

  .contact-rule {
    height: 1px;
    margin-top: 0.85rem;
    background: rgb(244 242 237 / 22%);
  }

  .contact-stage {
    display: grid;
    gap: 1.35rem;
    padding: 0.9rem 0 1.35rem;
  }

  .contact-eyebrow,
  .contact-social-rail > p,
  .contact-dialog-eyebrow {
    margin: 0;
    color: rgb(244 242 237 / 58%);
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .contact-question {
    max-width: 19rem;
    margin: 0.75rem 0 1.2rem;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: 2.08rem;
    font-weight: 400;
    line-height: 0.98;
  }

  .contact-email-action {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    min-width: min(100%, 17rem);
    padding: 0 0 0.75rem;
    border: 0;
    border-bottom: 1px solid var(--paper);
    background: transparent;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: 1.45rem;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
  }

  .contact-email-arrow {
    font-size: 1.25em;
  }

  .contact-social-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgb(244 242 237 / 22%);
  }

  .contact-social-rail > p {
    grid-column: 1 / -1;
  }

  .contact-social-rail a {
    display: inline-flex;
    gap: 0.55rem;
    align-items: center;
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
  }

  .contact-social-rail img {
    width: 1.35rem;
    height: 1.35rem;
    object-fit: contain;
    filter: grayscale(1) brightness(2.2);
  }

  .contact-social-rail a:first-of-type img {
    filter: grayscale(1) brightness(2.2);
  }

  .contact-footer {
    display: grid;
    gap: 0.35rem;
    padding: 0.7rem 0 0;
    border-top: 1px solid rgb(244 242 237 / 18%);
    color: rgb(244 242 237 / 48%);
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
  }

  .contact-dialog {
    width: min(calc(100vw - 1.5rem), 34rem);
    max-height: calc(100dvh - 1.5rem);
    margin: auto;
    padding: 0;
    overflow: auto;
    border: 1px solid rgb(244 242 237 / 34%);
    border-radius: 5px;
    background: var(--ink);
    color: var(--paper);
  }

  .contact-dialog::backdrop {
    background: rgb(0 0 0 / 72%);
  }

  .contact-dialog-content {
    position: relative;
    padding: 1.4rem;
  }

  .contact-dialog-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    display: grid;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid rgb(244 242 237 / 34%);
    border-radius: 4px;
    place-items: center;
    background: transparent;
    color: var(--paper);
    font-size: 1.35rem;
    line-height: 1;
  }

  .contact-dialog h4 {
    margin: 1rem 2.5rem 0 0;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-style: italic;
    font-weight: 400;
    line-height: 0.9;
  }

  .contact-form {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.75rem;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 0.8rem 0;
    border: 0;
    border-bottom: 1px solid rgb(244 242 237 / 28%);
    border-radius: 0;
    outline: 0;
    resize: vertical;
    background: transparent;
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 0.9rem;
  }

  .contact-form-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-top: 0.5rem;
  }

  .contact-form button[type='submit'] {
    padding: 0.7rem 0;
    border: 0;
    border-bottom: 1px solid var(--paper);
    background: transparent;
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
  }

  .contact-form-status {
    margin: 0;
    color: rgb(244 242 237 / 65%);
    font-family: var(--font-sans);
    font-size: 0.68rem;
    line-height: 1.35;
    text-align: right;
  }
}

@media (max-width: 760px) and (max-height: 640px) {
  .home-bg {
    justify-content: flex-start;
    padding-top: 0.9rem;
    padding-bottom: 0.75rem;
  }

  .hero-actions {
    margin-bottom: 3.5rem;
  }

  .tagline {
    max-width: 18rem;
    margin-top: 0.9rem;
    font-size: clamp(1.05rem, 6vw, 1.25rem);
    line-height: 0.96;
  }

  .hero-portrait-reveal {
    width: min(53vw, 11.5rem);
    max-width: 53vw;
    height: min(21svh, 7.5rem);
    opacity: 0.12;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .social-dock {
    display: none;
  }

  .home-bg {
    padding-right: clamp(2rem, 5vw, 4rem);
    padding-left: clamp(2rem, 5vw, 4rem);
  }

  .hero-greeting {
    font-size: clamp(5.4rem, 8.35vw, 6.6rem);
  }

  .tagline {
    max-width: 42rem;
    font-size: clamp(1.9rem, 3.25vw, 2.35rem);
  }

  .about-section,
  #work,
  .contact-section {
    padding-right: clamp(2rem, 5vw, 4rem);
    padding-left: clamp(2rem, 5vw, 4rem);
  }

  .about-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.75rem;
  }

  .about-side-rail {
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.7fr);
    align-items: start;
  }

  .about-chat-toggle {
    align-self: start;
  }

  #work > .work-flex-row:has(.projects-carousel) {
    grid-template-columns: minmax(14rem, 0.7fr) minmax(25rem, 1.15fr);
    gap: clamp(1.75rem, 4vw, 3rem);
  }
}

@media (min-width: 1200px) {
  #work > .work-flex-row:has(.projects-carousel) {
    grid-template-columns: minmax(17rem, 0.78fr) minmax(0, 1.45fr);
  }

  .projects-carousel {
    width: 100%;
    max-width: none;
  }

  .carousel-toggle-btn {
    margin-left: max(0px, calc((100% - 90rem) / 2));
  }
}

@media (min-width: 761px) and (max-width: 960px) {
  #work {
    min-height: 0;
  }

  #projectsHeadingNote,
  #projectsLiveDemoNote,
  .carousel-toggle-btn,
  .project-carousel-row,
  .projects-carousel,
  .work-cards {
    display: none !important;
  }

  .project-archive {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    width: 100%;
    margin: 2.5rem auto 0;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .project-archive-index {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    border: 0;
  }

  .project-archive-index-item {
    opacity: 1;
    transform: none;
  }

  .project-archive-index-button,
  .project-archive-index-button:hover,
  .project-archive-index-button:focus-visible,
  .project-archive-index-button.is-selected {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.5rem;
    min-height: 4.85rem;
    padding: 0.75rem;
    border: 1px solid rgb(244 242 237 / 22%);
    border-radius: 4px;
    background: transparent;
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
  }

  .project-archive-index-button::after {
    display: none;
  }

  .project-archive-index-button.is-selected {
    border-color: var(--paper);
    background: rgb(244 242 237 / 10%);
  }

  .project-archive-number {
    font-size: 0.64rem;
  }

  .project-archive-preview {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1.75rem;
    min-height: 0;
    padding: 1.25rem 0;
  }

  .project-archive-media {
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 4px;
    box-shadow: none;
  }

  .project-archive-copy h4 {
    font-size: clamp(2rem, 5vw, 2.75rem);
  }

  .project-archive-copy > p:not(.project-archive-kicker) {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .project-archive-actions {
    gap: 0.85rem;
    margin-top: 1.15rem;
  }

  .project-rag-feature {
    margin-top: 2.5rem;
  }

  .project-rag-trigger {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    min-height: 0;
    padding: 1.4rem 0 0;
    border: 0;
    border-top: 1px solid rgb(244 242 237 / 22%);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .project-rag-title {
    font-size: 2.6rem;
  }

  .project-rag-copy {
    max-width: 38rem;
    font-size: 0.92rem;
  }

  .project-rag-cta {
    width: fit-content;
  }
}
