:root {
  --background: #ffffff;
  --foreground: #1a1a1a;
  --muted: #8e8e8e;
  --border-line: #e0e0e0;
  --panel: #fafafb;
  --soft: #f5f5f7;
  --deep: #181818;
  --accent: #87998b;
  --font-heading: "Space Grotesk", "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-sans: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  --cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='31' height='31' viewBox='0 0 31 31'%3E%3Ccircle cx='15.5' cy='15.5' r='14.5' fill='%231a1a1a' stroke='white' stroke-width='1.5'/%3E%3Ctext x='15.5' y='19' text-anchor='middle' font-family='Arial' font-size='8' font-weight='700' fill='white'%3ELJ%3C/text%3E%3C/svg%3E") 15 15, auto;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--foreground);
  background: var(--background);
  font-family: var(--font-sans);
  line-height: 1.5;
  cursor: var(--cursor);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body::selection,
body *::selection {
  color: var(--background);
  background: var(--foreground);
}

button,
a {
  color: inherit;
  cursor: var(--cursor);
}

button {
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
}

a {
  text-decoration: none;
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-heading);
  letter-spacing: 0;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.05;
  filter: contrast(150%);
  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
}

.page-field {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background: var(--panel);
}

.gradient-blob {
  position: fixed;
  z-index: -2;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  opacity: 0.11;
  pointer-events: none;
  filter: blur(120px);
  animation: float 25s ease-in-out infinite;
}

.blob-a {
  top: -22%;
  right: -12%;
  background: #d7d7d7;
}

.blob-b {
  bottom: -14%;
  left: -12%;
  background: #ececec;
  animation-delay: 3s;
}

@keyframes float {
  0% {
    transform: translate(0) rotate(0);
  }

  33% {
    transform: translate(5%, 5%) rotate(5deg);
  }

  66% {
    transform: translate(-5%, 8%) rotate(-2deg);
  }

  100% {
    transform: translate(0) rotate(0);
  }
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-block: 32px;
  transition: padding 300ms ease, background 300ms ease, border-color 300ms ease, backdrop-filter 300ms ease;
}

.site-header.is-scrolled {
  padding-block: 16px;
  border-bottom: 1px solid var(--border-line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.site-header,
.site-header nav,
.logo,
.mobile-lines {
  display: flex;
  align-items: center;
}

.site-header {
  justify-content: space-between;
  padding-inline: max(24px, calc((100vw - 1280px) / 2 + 40px));
}

.logo {
  color: var(--foreground);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  text-transform: uppercase;
}

.site-header nav {
  gap: 48px;
}

.site-header nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: color 180ms ease;
}

.site-header nav a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  content: "";
  background: var(--foreground);
  transition: width 220ms ease;
}

.site-header nav a:hover {
  color: var(--foreground);
}

.site-header nav a:hover::after {
  width: 100%;
}

.mobile-lines {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}

.mobile-lines span {
  width: 24px;
  height: 1px;
  background: var(--foreground);
}

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: center;
  padding-top: 88px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-line);
  background: var(--background);
}

.hero-grid {
  width: min(100%, 1280px);
  margin-inline: auto;
}

.hero-main {
  display: flex;
  gap: clamp(48px, 8vw, 140px);
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-line);
}

.hero-title-wrap h1 {
  margin: 0 0 16px;
  font-size: clamp(4.8rem, 13vw, 11rem);
  font-weight: 300;
  line-height: 0.86;
}

.hero-title-wrap p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 2.4rem);
  line-height: 1.16;
  font-weight: 300;
}

.hero-statement {
  display: flex;
  max-width: 580px;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-statement .hero-proof {
  margin-bottom: 12px;
  color: var(--foreground);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.7;
}

.hero-statement p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.cta-button-solid,
.cta-button-stroke {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid var(--foreground);
  font-size: 0.86rem;
  font-weight: 500;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.cta-button-solid {
  color: var(--background);
  background: var(--foreground);
}

.cta-button-stroke {
  border-color: var(--border-line);
  color: var(--foreground);
  background: transparent;
}

.cta-button-solid:hover {
  background: #000000;
}

.cta-button-stroke:hover {
  border-color: var(--foreground);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.hero-meta span {
  display: block;
  margin-bottom: 4px;
  color: var(--foreground);
}

.section-line {
  border-bottom: 1px solid var(--border-line);
  background: var(--background);
}

.about {
  position: relative;
  padding-block: 128px;
  overflow: hidden;
}

.about-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portrait-stage {
  position: relative;
  width: min(100%, 900px);
  height: 420px;
  margin-bottom: 56px;
}

.portrait-frame {
  position: absolute;
  left: 50%;
  top: -80px;
  width: min(720px, 92vw);
  height: 440px;
  transform: translateX(-50%);
  overflow: hidden;
  border: 1px solid var(--border-line);
  background: var(--soft);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.09);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.portrait-frame::before,
.portrait-frame::after {
  position: absolute;
  width: 52px;
  height: 52px;
  content: "";
  border-color: var(--foreground);
  pointer-events: none;
}

.portrait-frame::before {
  top: 20px;
  left: 20px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.portrait-frame::after {
  right: 20px;
  bottom: 20px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.portrait-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  border-top: 1px solid var(--border-line);
  background: rgba(255, 255, 255, 0.84);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.about-copy {
  max-width: 820px;
  margin-bottom: 72px;
  text-align: center;
}

.section-index {
  margin: 0 0 24px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
}

.about-copy h2 {
  margin-bottom: 32px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
}

.heading-line {
  display: block;
}

.thin-rule {
  width: 48px;
  height: 1px;
  margin: 0 auto 32px;
  background: var(--border-line);
}

.about-copy p:not(.section-index) {
  max-width: 720px;
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 300;
}

.skill-columns {
  display: grid;
  width: min(100%, 900px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
}

.skill-columns h3 {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: uppercase;
}

.skill-columns h3::before {
  width: 18px;
  height: 1px;
  content: "";
  background: var(--border-line);
}

.skill-columns ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.skill-columns li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-line);
  color: var(--foreground);
  font-size: 0.92rem;
}

.skill-columns li::after {
  content: "●";
  color: var(--muted);
  font-size: 0.52rem;
}

.portfolio {
  padding-block: 128px;
}

.section-head {
  margin-bottom: 96px;
}

.section-head h2 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 7vw, 5.4rem);
  font-weight: 400;
  line-height: 0.98;
}

.head-line {
  width: 80px;
  height: 1px;
  background: var(--foreground);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.work-card {
  position: relative;
  display: grid;
  gap: 24px;
}

.work-card.featured {
  grid-column: 1 / -1;
}

.work-hit {
  position: absolute;
  inset: 0;
  z-index: 8;
}

.work-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-line);
  aspect-ratio: 16 / 10;
  background: var(--soft);
}

.featured .work-visual {
  aspect-ratio: 21 / 9;
}

.work-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 600ms ease, transform 600ms ease;
}

.work-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  background: #111111;
  transition: transform 600ms ease;
}

.work-visual.file-visual {
  display: grid;
  place-items: center;
  padding: 38px;
  background:
    linear-gradient(var(--border-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-line) 1px, transparent 1px),
    var(--soft);
  background-size: 34px 34px;
  text-align: center;
}

.file-visual strong {
  display: block;
  max-width: 100%;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 400;
}

.file-visual small {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.work-card:hover img {
  transform: scale(1.04);
  filter: grayscale(0.1);
}

.work-card:hover .work-visual video {
  filter: none;
}

.drama-library {
  padding-block: 128px;
  background: rgba(246, 245, 241, 0.52);
}

.drama-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 48px;
  align-items: end;
}

.drama-head > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 300;
  line-height: 1.8;
}

.confidential-strip {
  max-width: 640px;
  margin: -56px 0 76px auto;
  padding: 13px 16px;
  border: 1px solid var(--border-line);
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.7;
}

.drama-sections {
  display: grid;
  gap: 88px;
}

.drama-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.76fr) minmax(0, 2fr);
  gap: 40px;
  padding-top: 34px;
  border-top: 1px solid var(--border-line);
}

.drama-section-copy {
  align-self: start;
}

.drama-section-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.drama-section-copy h3 {
  max-width: 360px;
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 0.96;
}

.drama-section-copy span {
  display: block;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.drama-section-note {
  display: block;
  max-width: 380px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.75;
}

.drama-file-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

.drama-card {
  gap: 18px;
}

.drama-card .work-visual {
  aspect-ratio: 16 / 9;
  background: #111111;
}

.drama-card:hover .work-visual video {
  transform: scale(1.035);
}

.video-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  place-items: center;
  padding: 28px;
  color: var(--background);
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    #111111;
  background-size: 32px 32px;
  text-align: center;
}

.video-fallback strong,
.video-fallback small {
  display: block;
}

.video-fallback strong {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3vw, 2.4rem);
  font-weight: 400;
}

.video-fallback small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.66rem;
  text-transform: uppercase;
}

.video-visual.is-unavailable video {
  opacity: 0;
}

.video-visual.is-unavailable .video-fallback {
  display: grid;
}

.confidential-placeholder {
  display: grid;
  place-items: center;
  padding: 34px;
  color: var(--background);
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    #111111;
  background-size: 32px 32px;
  text-align: center;
}

.confidential-placeholder div {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.confidential-placeholder span,
.confidential-placeholder small {
  color: rgba(255, 255, 255, 0.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.confidential-placeholder strong {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1;
}

.drama-card .work-info h3 {
  font-size: 1.18rem;
}

.drama-card .work-info p {
  max-width: 720px;
  font-size: 0.88rem;
  line-height: 1.7;
  text-transform: none;
}

.drama-card .work-info .drama-proof {
  margin-top: 8px;
  color: var(--foreground);
  font-size: 0.92rem;
}

.confidential-note {
  display: block;
  max-width: 520px;
  margin-top: 10px;
  color: #6f6f6f;
  font-size: 0.72rem;
  font-weight: 300;
  line-height: 1.6;
}

.drama-file-visual {
  color: var(--foreground);
}

.uploaded-work-grid:not(:empty) {
  margin-top: 88px;
}

.capability-section {
  background: var(--background);
}

.capability-head,
.resume-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 470px);
  gap: 48px;
  align-items: end;
}

.capability-head > p,
.resume-head > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 300;
  line-height: 1.8;
}

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

.signal-card {
  position: relative;
  display: flex;
  min-height: 310px;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  background: var(--background);
  transition: background 220ms ease, color 220ms ease;
}

.signal-card-hero {
  grid-column: span 2;
  color: var(--background);
  background: var(--foreground);
}

.signal-image-panel {
  position: relative;
  grid-column: span 2;
  min-height: 310px;
  margin: 0;
  overflow: hidden;
  background: #dddddd;
}

.signal-image-panel img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  transform: scale(1.01);
}

.signal-image-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(26, 26, 26, 0.02);
}

.signal-hit {
  position: absolute;
  inset: 0;
  z-index: 6;
}

.signal-hit:focus-visible {
  outline: 2px solid var(--foreground);
  outline-offset: -6px;
}

.signal-card-hero .signal-hit:focus-visible {
  outline-color: var(--background);
}

.signal-card:hover:not(.signal-card-hero) {
  background: #fbfbfb;
}

.signal-card > p:first-child {
  margin: 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.signal-card-hero > p:first-child {
  color: rgba(255, 255, 255, 0.58);
}

.signal-card h3 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 3.4rem);
  font-weight: 400;
  line-height: 1;
}

.signal-card:not(.signal-card-hero) h3 {
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  line-height: 1.12;
}

.signal-card p:not(:first-child) {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.72;
}

.signal-card-hero p:not(:first-child) {
  color: rgba(255, 255, 255, 0.68);
}

.signal-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.58;
  list-style: none;
}

.signal-card li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
}

.signal-card li::before {
  margin-top: 0.65em;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: var(--foreground);
}

.signal-action {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  color: var(--foreground);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
  line-height: 1.6;
  text-transform: uppercase;
}

.signal-action::after {
  width: 26px;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0.55);
  transform-origin: left;
  transition: transform 220ms ease;
}

.signal-card:hover .signal-action::after {
  transform: scaleX(1);
}

.signal-card-hero .signal-action {
  color: var(--background);
}

.signal-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.18);
}

.signal-metrics span {
  display: grid;
  min-height: 108px;
  align-content: center;
  gap: 6px;
  padding: 18px;
  background: var(--foreground);
  color: rgba(255, 255, 255, 0.62);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.66rem;
  text-transform: uppercase;
}

.signal-metrics strong {
  color: var(--background);
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  font-weight: 400;
  line-height: 0.9;
}

.capability-modal-visual {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(34px, 5vw, 64px);
  color: var(--background);
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    #111111;
  background-size: 42px 42px;
}

.capability-modal-visual p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.capability-modal-visual h3 {
  max-width: 720px;
  margin: 0;
  white-space: pre-line;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 0.9;
}

.capability-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.capability-modal-tags span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.72);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.resume-proof {
  padding-block: 128px;
  background: rgba(250, 250, 251, 0.5);
}

.resume-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 64px;
}

.resume-card {
  min-height: 255px;
  padding: 36px;
  border: 1px solid var(--border-line);
  background: rgba(255, 255, 255, 0.38);
}

.resume-card.wide {
  grid-column: 1 / -1;
}

.resume-card span {
  display: block;
  margin-bottom: 22px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.66rem;
  text-transform: uppercase;
}

.resume-card h3 {
  max-width: 780px;
  margin: 0 0 20px;
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 400;
}

.resume-card p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.78;
}

.resume-card ul {
  display: grid;
  gap: 14px;
  max-width: 880px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.68;
  list-style: none;
}

.resume-card li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
}

.resume-card li::before {
  margin-top: 0.72em;
  width: 4px;
  height: 4px;
  content: "";
  border-radius: 50%;
  background: var(--muted);
}

.work-visual > span,
.type-cover > span,
.black-visual > span {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  padding: 6px 10px;
  border: 1px solid var(--border-line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.64rem;
  text-transform: uppercase;
}

.type-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: var(--foreground);
  text-align: center;
  transition: background 420ms ease;
}

.work-card:hover .type-cover {
  background: #111111;
}

.type-cover h3 {
  margin: 0;
  color: var(--background);
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.08;
}

.type-cover > span {
  color: rgba(255, 255, 255, 0.58);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.black-visual {
  display: grid;
  place-items: center;
  background: #1d1d1d;
}

.target-lines {
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(255, 255, 255, 0.45) 50%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, rgba(255, 255, 255, 0.45) 50%, transparent 50.5%),
    repeating-radial-gradient(circle, transparent 0 17%, rgba(255, 255, 255, 0.35) 17.4% 17.9%);
}

.black-visual > span {
  color: rgba(255, 255, 255, 0.58);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.prompt-visual {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 10px;
  padding: 42px;
  background:
    linear-gradient(var(--border-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-line) 1px, transparent 1px),
    var(--soft);
  background-size: 36px 36px;
}

.prompt-visual span {
  position: static;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--foreground);
  background: var(--background);
  color: var(--foreground);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.work-info {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.work-info h3 {
  margin-bottom: 4px;
  font-size: 1.56rem;
  font-weight: 400;
  line-height: 1.18;
  transition: font-style 220ms ease;
}

.work-card:hover .work-info h3 {
  font-style: italic;
}

.work-info p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 300;
}

.dot-mark {
  display: grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--border-line);
  border-radius: 50%;
  transition: border-color 220ms ease;
}

.dot-mark::before {
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--foreground);
  opacity: 0;
  transition: opacity 220ms ease;
}

.work-card:hover .dot-mark {
  border-color: var(--foreground);
}

.work-card:hover .dot-mark::before {
  opacity: 1;
}

.workflow,
.resume-proof {
  padding-block: 128px;
}

.section-head.compact {
  margin-bottom: 80px;
}

.section-head.compact h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
}

.section-head h2 span {
  color: var(--muted);
  font-size: 0.82em;
  font-style: italic;
  font-weight: 300;
}

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

.workflow-grid article {
  min-height: 285px;
  padding: 32px;
  background: var(--background);
  transition: background 220ms ease;
}

.workflow-grid article:hover {
  background: #fbfbfb;
}

.workflow-grid i {
  display: block;
  margin-bottom: 52px;
  color: var(--foreground);
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 600;
}

.workflow-grid h3 {
  margin-bottom: 8px;
  font-size: 0.94rem;
  font-weight: 700;
  text-transform: uppercase;
}

.workflow-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 300;
}

.exploration {
  background: rgba(250, 250, 251, 0.5);
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 72px;
}

.explore-grid article > div {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.explore-grid article > div::before {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--border-line);
  content: "LJ";
  font-family: var(--font-heading);
  font-size: 0.7rem;
  transition: background 280ms ease, color 280ms ease;
}

.explore-grid article > div span {
  display: block;
  flex: 1;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--foreground);
  transition: transform 420ms ease;
}

.explore-grid article:hover > div::before {
  color: var(--background);
  background: var(--foreground);
}

.explore-grid article:hover > div span {
  transform: scaleX(1);
}

.explore-grid h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.explore-grid p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 300;
}

.contact {
  padding-block: 128px;
  background: var(--background);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 80px;
  align-items: start;
}

.contact h2 {
  margin-bottom: 28px;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 1.02;
}

.contact p:not(.section-index) {
  max-width: 520px;
  margin-bottom: 48px;
  color: var(--muted);
  font-weight: 300;
}

.contact-links {
  display: grid;
  gap: 18px;
  align-items: start;
}

.contact-links a {
  display: grid;
  gap: 6px;
  width: fit-content;
}

.contact-links .contact-cta {
  min-width: min(100%, 360px);
  padding: 16px 18px;
  border: 1px solid var(--foreground);
  background: var(--foreground);
  color: var(--background);
}

.contact-links .contact-cta + .contact-cta {
  margin-bottom: 14px;
  border-color: var(--border-line);
  background: transparent;
  color: var(--foreground);
}

.contact-links span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.contact-links a {
  font-family: var(--font-heading);
  font-size: 1.6rem;
}

.contact-links .contact-cta span {
  color: rgba(255, 255, 255, 0.58);
}

.contact-links .contact-cta + .contact-cta span {
  color: var(--muted);
}

.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.qr-card div {
  display: grid;
  width: 224px;
  height: 224px;
  place-items: center;
  border: 1px solid var(--border-line);
  background:
    linear-gradient(var(--border-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-line) 1px, transparent 1px),
    var(--background);
  background-size: 20px 20px;
  color: var(--foreground);
  font-family: var(--font-heading);
  font-size: 4rem;
}

.qr-card p {
  margin: 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
}

.project-modal.is-open {
  pointer-events: auto;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(22px);
}

.modal-panel {
  position: relative;
  display: grid;
  width: min(1120px, 100%);
  max-height: 90vh;
  grid-template-columns: 58% 42%;
  overflow: hidden;
  border: 1px solid var(--border-line);
  background: var(--background);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18);
}

.modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 5;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--border-line);
  border-radius: 50%;
  background: var(--background);
  font-size: 1.4rem;
  transition: background 180ms ease, color 180ms ease;
}

.modal-close:hover {
  color: var(--background);
  background: var(--foreground);
}

.modal-media {
  position: relative;
  min-height: 560px;
  border-right: 1px solid var(--border-line);
  background: #191919;
  overflow: hidden;
}

.modal-media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  filter: grayscale(1) blur(1px);
  opacity: 0.44;
}

.modal-media video {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: contain;
  background: #111111;
  filter: none;
}

.modal-video-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #111111;
}

.modal-video-wrap video {
  position: relative;
  z-index: 2;
}

.modal-video-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  place-items: center;
  padding: 48px;
  color: var(--background);
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    #111111;
  background-size: 42px 42px;
  text-align: center;
}

.modal-video-wrap.is-unavailable video {
  opacity: 0;
  pointer-events: none;
}

.modal-video-wrap.is-unavailable .modal-video-fallback {
  display: grid;
}

.modal-video-fallback strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 0.95;
}

.modal-video-fallback span {
  display: block;
  max-width: 420px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.7;
}

.modal-confidential-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 54px;
  color: var(--background);
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    #111111;
  background-size: 42px 42px;
  text-align: center;
}

.modal-confidential-placeholder strong,
.modal-confidential-placeholder span {
  display: block;
}

.modal-confidential-placeholder strong {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 0.96;
}

.modal-confidential-placeholder span {
  max-width: 460px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  line-height: 1.75;
}

.modal-file-download {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 48px;
  color: var(--background);
  text-align: center;
}

.modal-file-download a {
  display: inline-flex;
  max-width: 100%;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  padding: 18px 28px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  overflow-wrap: anywhere;
  background: rgba(255, 255, 255, 0.06);
}

.modal-file-download strong {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 4vw, 3rem);
  font-weight: 400;
}

.modal-file-download span {
  color: rgba(255, 255, 255, 0.55);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.modal-media .cover-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px;
  color: var(--background);
  text-align: center;
}

.modal-media .cover-text h3 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  white-space: pre-line;
}

.modal-copy {
  padding: 52px;
  overflow-y: auto;
}

.modal-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.05;
}

.modal-copy > p:not(.section-index) {
  margin-bottom: 42px;
  color: var(--foreground);
  font-size: 1.05rem;
  font-weight: 300;
  white-space: pre-line;
}

.modal-copy dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 0;
}

.modal-copy dt {
  margin-bottom: 10px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.modal-copy dd {
  margin: 0;
  color: var(--foreground);
  font-size: 0.9rem;
}

.footer {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: max(24px, calc((100vw - 1280px) / 2 + 40px));
  border-top: 1px solid var(--border-line);
  color: var(--muted);
  font-size: 0.82rem;
}

.editor-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: none;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid var(--foreground);
  border-radius: 50%;
  background: var(--foreground);
  color: var(--background);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.editor-toggle.is-enabled {
  display: grid;
}

.editor-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 120;
  width: min(430px, 100vw);
  height: 100vh;
  padding: 28px;
  border-left: 1px solid var(--border-line);
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 260ms ease;
}

.editor-panel.is-open {
  transform: translateX(0);
}

.editor-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-line);
}

.editor-panel-head p {
  margin-bottom: 6px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.editor-panel-head h2 {
  margin: 0;
  font-size: 1.85rem;
  font-weight: 400;
}

.editor-close {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--border-line);
  border-radius: 50%;
  font-size: 1.35rem;
}

.editor-note {
  margin-bottom: 24px;
  padding: 14px;
  border: 1px solid var(--border-line);
  color: var(--muted);
  background: var(--soft);
  font-size: 0.82rem;
}

.editor-section {
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
}

.editor-section h3 {
  margin: 0;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.editor-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.editor-actions button,
.work-upload-form button {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--foreground);
  background: var(--foreground);
  color: var(--background);
  font-size: 0.82rem;
}

.editor-actions button:first-child {
  grid-column: 1 / -1;
}

.editor-actions button:nth-child(3) {
  color: var(--foreground);
  background: transparent;
}

.work-upload-form {
  display: grid;
  gap: 12px;
}

.work-upload-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
}

.work-upload-form input,
.work-upload-form textarea {
  width: 100%;
  border: 1px solid var(--border-line);
  padding: 10px 12px;
  color: var(--foreground);
  background: var(--background);
  font: inherit;
  font-size: 0.88rem;
}

.work-upload-form textarea {
  resize: vertical;
}

.uploaded-work-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.uploaded-work-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--border-line);
}

.uploaded-work-item strong {
  display: block;
  overflow: hidden;
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uploaded-work-item span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.uploaded-work-item button {
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--border-line);
  color: var(--foreground);
}

body.is-editing [data-edit-key] {
  outline: 1px dashed rgba(26, 26, 26, 0.42);
  outline-offset: 3px;
}

body.is-editing .work-hit,
body.is-editing .signal-hit {
  pointer-events: none;
}

body.is-editing [data-edit-key]:focus {
  outline: 2px solid var(--foreground);
  background: rgba(245, 245, 247, 0.8);
}

.editor-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 980px) {
  .container {
    padding-inline: 28px;
  }

  .site-header {
    padding-inline: 28px;
  }

  .site-header nav {
    display: none;
  }

  .mobile-lines {
    display: none !important;
  }

  .hero-main {
    display: grid;
    align-items: start;
  }

  .hero-statement {
    align-items: flex-start;
    text-align: left;
  }

  .hero-meta,
  .skill-columns,
  .work-grid,
  .drama-head,
  .capability-head,
  .resume-head,
  .drama-section,
  .drama-file-grid,
  .signal-grid,
  .resume-grid,
  .explore-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .drama-head,
  .capability-head,
  .resume-head {
    align-items: start;
  }

  .confidential-strip {
    margin: -58px 0 72px;
  }

  .signal-card-hero,
  .signal-image-panel,
  .resume-card.wide {
    grid-column: auto;
  }

  .signal-image-panel,
  .signal-image-panel img {
    min-height: 260px;
  }

  .work-card.featured {
    grid-column: auto;
  }

  .featured .work-visual {
    aspect-ratio: 16 / 10;
  }

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

  .modal-panel {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .modal-media {
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px solid var(--border-line);
  }

  .modal-media img {
    min-height: 300px;
  }

  .modal-media video {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 22px;
  }

  .site-header {
    padding-block: 22px;
    padding-inline: 22px;
  }

  .site-header.is-scrolled {
    padding-block: 14px;
  }

  .logo {
    font-size: 1rem;
  }

  .hero {
    min-height: 92vh;
    padding-top: 90px;
  }

  .hero-title-wrap h1 {
    font-size: clamp(4.1rem, 22vw, 5.6rem);
  }

  .hero-title-wrap p {
    font-size: 1.82rem;
  }

  .hero-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-actions {
    width: 100%;
    gap: 10px;
  }

  .cta-button-solid,
  .cta-button-stroke {
    width: 100%;
  }

  .about,
  .portfolio,
  .drama-library,
  .workflow,
  .resume-proof,
  .contact {
    padding-block: 86px;
  }

  .portrait-stage {
    height: 280px;
    margin-bottom: 36px;
  }

  .portrait-frame {
    top: -30px;
    height: 300px;
  }

  .portrait-label {
    display: grid;
    gap: 4px;
  }

  .skill-columns {
    gap: 36px;
  }

  .section-head {
    margin-bottom: 56px;
  }

  .work-grid {
    gap: 52px;
  }

  .drama-sections {
    gap: 64px;
  }

  .drama-section {
    gap: 28px;
  }

  .signal-card,
  .resume-card {
    min-height: auto;
    padding: 28px;
  }

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

  .type-cover,
  .prompt-visual {
    padding: 28px;
  }

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

  .workflow-grid article {
    min-height: 230px;
  }

  .workflow-grid i {
    margin-bottom: 34px;
  }

  .project-modal {
    padding: 16px;
  }

  .modal-copy {
    padding: 32px 24px;
  }

  .modal-copy dl {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact-links a {
    font-size: 1.1rem;
    overflow-wrap: anywhere;
  }

  .contact-links .contact-cta {
    width: 100%;
  }

  .qr-card {
    align-items: flex-start;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 24px;
    padding-inline: 22px;
  }

  .editor-panel {
    padding: 22px;
  }

  .editor-toggle {
    right: 16px;
    bottom: 16px;
  }
}

@media (pointer: coarse) {
  body,
  button,
  a {
    cursor: auto;
  }
}

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

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