:root {
  --ink: #151515;
  --muted: #151515;
  --line: #dedbd2;
  --paper: #fbfaf7;
  --soft: #f0eee8;
  --accent: #506c5d;
  --white: #ffffff;
  --header-bg: rgba(251, 250, 247, 0.92);
  --header-line: rgba(21, 21, 21, 0.08);
  --nav: #151515;
  --body-copy: #151515;
  --hero-copy: #151515;
  --card-bg: #f4f2ed;
  --card-hover: #ece9e1;
  --contact-bg: #f2f4ef;
  --edit-bg: rgba(21, 21, 21, 0.88);
  --outside: #f1f0ec;
  --max: 1180px;
  --page: 1280px;
}

:root[data-theme="dark"] {
  --ink: #ffffff;
  --muted: #ffffff;
  --line: #3d3b35;
  --paper: #151514;
  --soft: #22211e;
  --accent: #a8bea9;
  --white: #ffffff;
  --header-bg: rgba(21, 21, 20, 0.9);
  --header-line: rgba(243, 240, 232, 0.1);
  --nav: #ffffff;
  --body-copy: #ffffff;
  --hero-copy: #ffffff;
  --card-bg: #201f1c;
  --card-hover: #292722;
  --contact-bg: #1c211d;
  --edit-bg: rgba(243, 240, 232, 0.88);
  --outside: #0f0f0e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  margin: 0;
  background: var(--outside);
  color: var(--ink);
  font-family: "Inter", "Noto Sans KR", system-ui, sans-serif;
  letter-spacing: 0;
  transition:
    background 220ms ease,
    color 220ms ease;
}

body::after {
  background: var(--paper);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  bottom: 0;
  content: "";
  left: max(0px, calc((100vw - var(--page)) / 2));
  pointer-events: none;
  position: fixed;
  top: 0;
  width: min(100vw, var(--page));
  z-index: -1;
}

body::before {
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--paper) 34%, transparent) 0%,
    color-mix(in srgb, var(--paper) 14%, transparent) 52%,
    transparent 100%
  );
  content: "";
  height: 58px;
  left: 0;
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 8;
}

:root.preview-mobile {
  background: #d8d8d8;
}

:root.preview-mobile body,
:root.preview-tablet body {
  box-shadow: 0 0 0 1px var(--line), 0 20px 80px rgba(0, 0, 0, 0.16);
  margin: 0 auto;
  min-height: 100svh;
  overflow-x: hidden;
}

:root.preview-mobile body {
  max-width: 430px;
}

:root.preview-tablet {
  background: #d8d8d8;
}

:root.preview-tablet body {
  max-width: 820px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  background: transparent;
  border-bottom: 0;
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
  justify-content: space-between;
  left: 50%;
  max-width: 1180px;
  padding: 18px 20px;
  position: fixed;
  right: auto;
  top: 0;
  transform: translateX(-50%);
  width: min(100%, 1180px);
  z-index: 10;
  backdrop-filter: none;
}

:root.preview-tablet .site-header {
  left: 50%;
  max-width: 820px;
  right: auto;
  transform: translateX(-50%);
  width: 100%;
}

.brand,
.brand-block {
  font-size: 32px;
  font-weight: 700;
  flex: 0 0 auto;
  text-transform: uppercase;
}

.brand-block {
  background: color-mix(in srgb, var(--paper) 58%, transparent);
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: none;
  display: block;
  margin-right: auto;
  padding: 8px 12px;
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.brand-block strong {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

nav {
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow:
    0 9px 24px rgba(0, 0, 0, 0.075),
    0 0 16px 6px color-mix(in srgb, var(--paper) 38%, transparent);
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  gap: clamp(10px, 1vw, 14px);
  justify-content: flex-end;
  margin-left: auto;
  margin-right: 58px;
  font-size: 18px;
  font-weight: 600;
  padding: 13px 20px;
  color: var(--nav);
  text-transform: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

nav a[aria-current="page"] {
  color: var(--ink);
}

nav a:hover,
footer a:hover {
  color: var(--accent);
}

.theme-toggle {
  align-items: center;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow:
    0 9px 24px rgba(0, 0, 0, 0.075),
    0 0 14px 5px color-mix(in srgb, var(--paper) 34%, transparent);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  height: 50px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 20px;
  top: 18px;
  transition: opacity 180ms ease;
  width: 50px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.theme-toggle:hover {
  opacity: 0.78;
}

.theme-toggle img {
  height: 26px;
  object-fit: contain;
  position: absolute;
  width: 26px;
}

.preview-switch {
  align-items: center;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
  bottom: 22px;
  display: inline-flex;
  gap: 2px;
  left: 50%;
  padding: 5px;
  position: fixed;
  transform: translateX(-50%);
  z-index: 30;
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.preview-switch.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.preview-switch button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
}

.preview-switch button:hover,
.preview-switch button.is-active {
  background: var(--soft);
  color: var(--ink);
}

.theme-icon-light {
  opacity: 0;
}

:root[data-theme="dark"] .theme-icon-light {
  opacity: 1;
}

:root[data-theme="dark"] .theme-icon-dark {
  opacity: 0;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(34px, 3.5vw, 50px);
  grid-template-columns: minmax(500px, 1fr) minmax(430px, 0.82fr);
  margin: 0 auto;
  max-width: var(--max);
  min-height: auto;
  position: relative;
  overflow: visible;
  background: transparent;
  padding: clamp(108px, 10vh, 126px) clamp(20px, 4vw, 42px)
    clamp(18px, 3vh, 34px);
  width: 100%;
}

.hero-media {
  justify-self: end;
  position: relative;
  width: min(100%, 620px);
}

.hero-carousel {
  aspect-ratio: 4 / 3;
  height: auto;
  max-width: none;
  position: relative;
  width: 100%;
}

.hero-slide {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  position: absolute;
  transition: opacity 420ms ease;
  width: 100%;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide:nth-child(1) {
  object-fit: cover;
  object-position: 50% 50%;
}

.hero-slide:nth-child(2) {
  object-fit: contain;
  object-position: center center;
}

.hero-slide:nth-child(3),
.hero-slide:nth-child(4) {
  object-fit: contain;
  object-position: center center;
}

.hero::after {
  content: none;
}

.hero-arrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  display: flex;
  height: 38px;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 52%;
  transform: translateY(-50%);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  width: 38px;
  z-index: 2;
}

.hero-media:hover .hero-arrow,
.hero.show-controls .hero-arrow {
  opacity: 1;
  pointer-events: auto;
}

.hero-arrow:hover {
  opacity: 0.9;
}

.hero-arrow span {
  border-top: 2px solid #151515;
  border-left: 2px solid #151515;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.55));
  height: 13px;
  width: 13px;
}

.hero-arrow-prev {
  left: 18px;
}

.hero-arrow-prev span {
  transform: rotate(-45deg) translate(1px, 1px);
}

.hero-arrow-next {
  right: 18px;
}

.hero-arrow-next span {
  transform: rotate(135deg) translate(1px, 1px);
}

.hero-dots {
  align-items: center;
  background: rgba(21, 21, 21, 0.36);
  border-radius: 999px;
  bottom: 22px;
  display: flex;
  gap: 8px;
  left: 50%;
  opacity: 0;
  padding: 8px 10px;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%);
  transition: opacity 180ms ease;
  z-index: 3;
}

.hero-media:hover .hero-dots,
.hero.show-controls .hero-dots {
  opacity: 1;
  pointer-events: auto;
}

.hero-dots button {
  background: rgba(255, 255, 255, 0.54);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 9px;
  padding: 0;
  width: 9px;
}

.hero-dots button.is-active {
  background: #ffffff;
  width: 22px;
}

.hero-intro {
  align-items: start;
  align-self: center;
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  grid-template-columns: 1fr;
  margin: 0;
  justify-self: end;
  max-width: 560px;
  padding: 0;
  text-align: right;
}

.hero-title {
  min-width: 0;
  text-align: right;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: clamp(13px, 1vw, 15px);
  justify-content: flex-end;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}

.hero-meta span {
  color: inherit;
}

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

h1 {
  font-size: clamp(44px, 4.1vw, 58px);
  line-height: 1;
  margin-bottom: 12px;
  overflow-wrap: normal;
  white-space: nowrap;
}

.hero-korean-name {
  color: var(--ink);
  font-size: clamp(21px, 1.65vw, 25px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 8px;
}

.hero-role {
  color: var(--accent);
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(34px, 5vw, 76px);
  line-height: 1;
  margin-bottom: 0;
}

h3 {
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.08;
  margin-bottom: 8px;
}

.hero-copy {
  color: var(--hero-copy);
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.7;
  margin-top: 0;
  max-width: 520px;
  text-align: right;
  word-break: keep-all;
}

.hero-summary {
  justify-self: end;
  max-width: 520px;
  padding-top: 2px;
}

.hero-notes {
  border-top: 1px solid var(--line);
  color: var(--accent);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-end;
  font-size: 12px;
  font-weight: 700;
  margin-top: 18px;
  padding-top: 15px;
  text-transform: uppercase;
}

.intro-social {
  align-items: center;
  gap: 22px;
  justify-content: flex-end;
  margin-top: 14px;
}

.intro-social a {
  height: 38px;
  opacity: 0.76;
  width: 38px;
}

.intro-social img {
  height: 32px;
  width: 32px;
}

.reveal {
  clip-path: inset(0 0 18% 0);
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition:
    clip-path 720ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 560ms ease,
    transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: clip-path, opacity, transform;
}

.reveal.is-visible {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.work-item.reveal,
.timeline article.reveal {
  transition-delay: 80ms;
}

.section {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(38px, 5vw, 68px) clamp(20px, 4vw, 42px);
  scroll-margin-top: clamp(96px, 13vh, 140px);
}

.bio {
  align-items: start;
  display: grid;
  gap: clamp(26px, 4.4vw, 58px) clamp(44px, 6vw, 86px);
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  padding-top: clamp(34px, 4.4vw, 56px);
}

.bio .eyebrow {
  font-size: clamp(16px, 1.4vw, 20px);
  letter-spacing: 0;
  margin-bottom: 0;
}

.language-toggle {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  gap: 2px;
  padding: 4px;
}

.language-toggle button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 11px;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.language-toggle button.is-active {
  background: var(--ink);
  color: var(--paper);
}

.works {
  padding-top: clamp(52px, 6.5vw, 86px);
}

#works,
#videos,
#performances {
  --section-offset: clamp(22px, 3.8vh, 40px);
}

.section-heading {
  margin-bottom: clamp(24px, 3.4vw, 44px);
  max-width: 860px;
}

.bio-heading {
  align-items: center;
  display: grid;
  grid-column: 2;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  margin-bottom: 0;
  max-width: none;
}

.bio-heading .language-toggle {
  justify-self: end;
}

.bio-image {
  align-self: start;
  grid-column: 1;
  grid-row: 1 / span 2;
  margin: 0;
  padding-top: 6px;
}

.bio-image img {
  aspect-ratio: 4 / 5;
  filter: saturate(0.78) contrast(0.98);
  height: auto;
  object-fit: cover;
  object-position: 50% 50%;
  width: 100%;
}

.section-heading.split {
  align-items: end;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  max-width: none;
}

.section-heading.split > div:only-child {
  grid-column: 1 / -1;
}

.section-heading.split p:last-child {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 8px;
}

.bio-grid {
  grid-column: 2;
  max-width: 760px;
}

.bio-text {
  color: var(--body-copy);
  font-size: clamp(15px, 1.12vw, 17px);
  line-height: 1.68;
  word-break: keep-all;
}

.bio-panel {
  display: none;
}

.bio-panel.is-active {
  display: block;
}

.bio-text p {
  margin-bottom: 18px;
}

.bio-text p:last-child {
  margin-bottom: 0;
}

.work-list {
  border-top: 1px solid var(--ink);
}

.score-feature {
  margin: 0 0 clamp(92px, 11vw, 140px);
}

.score-feature img {
  aspect-ratio: 16 / 7;
  height: auto;
  object-fit: cover;
  object-position: 50% 52%;
  width: 100%;
}

.score-feature figcaption {
  color: var(--muted);
  font-size: 13px;
  margin-top: 14px;
  text-align: right;
}

.work-item {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 120px minmax(220px, 1fr) minmax(220px, 320px);
  padding: 24px 0;
}

.work-item span {
  color: var(--accent);
  font-weight: 700;
}

.work-item h3,
.work-item p {
  margin: 0;
}

.work-item h3 {
  font-size: clamp(22px, 1.8vw, 30px);
  line-height: 1.08;
}

.work-item p {
  color: var(--muted);
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.35;
}

.section-link {
  border-bottom: 1px solid currentColor;
  color: var(--accent);
  display: block;
  font-weight: 700;
  margin-left: auto;
  margin-top: 32px;
  padding-bottom: 8px;
  width: max-content;
}

.media-grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.media-card {
  background: var(--card-bg);
  border-top: 1px solid var(--ink);
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  transition:
    background 220ms ease,
    transform 220ms ease,
    opacity 780ms ease;
}

.media-card:first-child {
  grid-column: 1 / -1;
}

.media-card:hover {
  background: var(--card-hover);
  transform: translateY(-4px);
}

.media-card span {
  color: var(--accent);
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 70px;
  text-transform: uppercase;
}

.media-card p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.media-card iframe {
  border: 0;
  height: 100%;
  width: 100%;
}

.timeline {
  border-top: 1px solid var(--ink);
}

.timeline article {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 150px minmax(0, 1fr);
  padding: 26px 0;
}

.timeline time {
  color: var(--accent);
  font-weight: 700;
}

.timeline h3,
.timeline p {
  margin: 0;
}

.timeline h3 {
  font-size: clamp(22px, 1.9vw, 32px);
  line-height: 1.08;
}

.timeline p {
  color: var(--muted);
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.35;
  margin-top: 8px;
}

.contact {
  background: var(--contact-bg);
  border-top: 1px solid var(--line);
  color: var(--ink);
  display: grid;
  gap: clamp(48px, 6vw, 86px);
  grid-template-columns: minmax(190px, 0.52fr) minmax(0, 1.48fr);
  margin: clamp(28px, 4vw, 48px) auto 0;
  max-width: var(--max);
  padding: clamp(24px, 3vw, 34px) clamp(24px, 3.2vw, 38px);
  width: min(calc(100vw - 48px), var(--max));
}

.contact-heading h2 {
  font-size: clamp(26px, 2.3vw, 32px);
  line-height: 1;
}

.contact .eyebrow {
  color: var(--accent);
}

.contact-grid {
  display: grid;
  gap: clamp(54px, 7vw, 118px);
  grid-template-columns: minmax(360px, 1fr) minmax(190px, 0.48fr);
  width: 100%;
}

.contact-card {
  padding-top: 0;
}

.contact-card h3 {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.contact-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.contact-card > a {
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  padding-bottom: 5px;
}

footer {
  align-items: center;
  color: #777;
  display: flex;
  font-size: 13px;
  gap: 24px;
  justify-content: flex-end;
  line-height: 1;
  margin: 0 auto;
  max-width: var(--max);
  min-height: 68px;
  padding: 22px 0;
  width: min(calc(100vw - 48px), var(--max));
}

footer p {
  margin: 0;
  text-align: right;
}

:root.preview-tablet .site-header {
  gap: 14px;
  padding: 16px 22px;
}

:root.preview-tablet .brand-block strong {
  font-size: 24px;
}

:root.preview-tablet nav {
  flex-wrap: wrap;
  font-size: 14px;
  gap: 8px 12px;
  justify-content: center;
  padding: 9px 13px;
}

:root.preview-tablet .theme-toggle {
  height: 38px;
  position: relative;
  right: auto;
  top: auto;
  width: 38px;
}

:root.preview-tablet .hero {
  grid-template-columns: 1fr;
  min-height: auto;
  max-width: 720px;
  padding-left: 38px;
  padding-right: 38px;
  padding-top: 108px;
}

:root.preview-tablet .hero-carousel {
  aspect-ratio: 4 / 3;
  height: auto;
  width: 100%;
}

:root.preview-tablet .hero-arrow-prev {
  left: 54px;
}

:root.preview-tablet .hero-arrow-next {
  right: 54px;
}

:root.preview-tablet .hero-intro,
:root.preview-tablet .section,
:root.preview-tablet .contact {
  padding-left: 52px;
  padding-right: 52px;
}

:root.preview-tablet .bio {
  display: grid;
  gap: 34px;
  grid-template-columns: 1fr;
}

:root.preview-tablet .bio-image {
  grid-column: 1;
  grid-row: auto;
  max-width: 420px;
  padding-top: 0;
}

:root.preview-tablet .bio-grid {
  grid-column: 1;
  max-width: 760px;
}

:root.preview-tablet .bio-heading {
  grid-column: 1;
  grid-template-columns: 1fr auto;
}

:root.preview-tablet .hero-intro,
:root.preview-tablet .contact {
  grid-template-columns: 1fr;
}

:root.preview-tablet .hero-intro {
  padding-left: 0;
  padding-right: 0;
}

:root.preview-tablet h1 {
  font-size: clamp(46px, 7vw, 58px);
}

:root.preview-tablet h2 {
  font-size: clamp(44px, 7vw, 58px);
}

:root.preview-tablet .contact {
  gap: 32px;
  max-width: 100%;
}

:root.preview-tablet .contact-grid {
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
}

:root.preview-tablet .contact-card h3 {
  font-size: 13px;
  margin-bottom: 12px;
}

:root.preview-tablet .page-hero {
  padding: 128px 52px 48px;
}

:root.preview-tablet .back-link {
  margin-bottom: 30px;
}

:root.preview-tablet .page-hero h1 {
  font-size: clamp(48px, 8vw, 70px);
}

:root.preview-tablet .page-hero p:last-child {
  font-size: 18px;
  line-height: 1.58;
  max-width: 620px;
}

:root.preview-tablet .detail-row {
  gap: 18px;
  grid-template-columns: 110px minmax(0, 1fr) 128px;
  padding: 24px 0;
}

:root.preview-tablet .detail-row h2 {
  font-size: clamp(23px, 3.2vw, 32px);
}

:root.preview-tablet footer {
  padding-bottom: 84px;
}

:root.preview-tablet .top-button {
  right: calc((100vw - min(100vw, 820px)) / 2 + 24px);
}

.page-hero {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(104px, 12vw, 148px) clamp(20px, 4vw, 42px)
    clamp(44px, 6vw, 72px);
}

.back-link {
  border-bottom: 1px solid currentColor;
  color: var(--accent);
  display: inline-block;
  font-weight: 700;
  margin-bottom: clamp(26px, 3.4vw, 42px);
  padding-bottom: 8px;
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(52px, 7vw, 104px);
  margin-bottom: clamp(20px, 2.6vw, 30px);
  white-space: normal;
}

.page-hero p:last-child {
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.58;
  max-width: 640px;
}

.page-list {
  border-top: 1px solid var(--ink);
  padding-top: 0;
}

.detail-row {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 150px minmax(260px, 1fr) minmax(120px, 160px);
  padding: 26px 0;
}

.detail-row time {
  color: var(--accent);
  font-weight: 700;
}

.detail-row h2 {
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.08;
  margin-bottom: 8px;
}

.detail-row p {
  color: var(--muted);
  font-size: clamp(15px, 1.08vw, 18px);
  line-height: 1.36;
  margin-bottom: 0;
}

.detail-row a,
.detail-row .score-preview {
  border-bottom: 1px solid currentColor;
  color: var(--accent);
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  justify-self: end;
  line-height: 1.1;
  padding-bottom: 8px;
}

.detail-row .score-preview {
  cursor: default;
}

.icon-links {
  align-items: center;
  display: flex;
  gap: 22px;
}

.icon-links a {
  align-items: center;
  color: inherit;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  opacity: 0.86;
  transition: opacity 180ms ease;
  width: 42px;
}

.icon-links a:hover {
  opacity: 1;
}

.icon-links img {
  height: 36px;
  object-fit: contain;
  width: 36px;
}

.contact .icon-links {
  color: var(--ink);
  gap: 16px;
  justify-content: flex-start;
  margin-top: 0;
}

.contact .icon-links a {
  height: 32px;
  width: 32px;
}

.contact .icon-links img {
  height: 28px;
  width: 28px;
}

.top-button {
  align-items: center;
  bottom: 28px;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  opacity: 0.72;
  position: fixed;
  right: max(18px, calc((100vw - var(--max)) / 2 - 52px));
  transition: opacity 180ms ease;
  width: 34px;
  z-index: 18;
}

.top-button:hover {
  opacity: 1;
}

.top-button img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

:root[data-theme="dark"] .top-button img {
  filter: invert(1);
}

.edit-toolbar {
  bottom: 20px;
  display: flex;
  gap: 8px;
  left: 20px;
  position: fixed;
  z-index: 20;
}

.edit-toolbar button {
  background: var(--edit-bg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
}

.edit-toolbar button:hover {
  background: var(--ink);
}

:root[data-theme="dark"] .edit-toolbar button {
  color: #151515;
}

:root[data-theme="dark"] .edit-toolbar button:hover {
  background: var(--white);
}

body.editing [data-editable-id] {
  outline: 1px dashed rgba(80, 108, 93, 0.72);
  outline-offset: 4px;
  cursor: text;
}

body.editing [data-editable-id]:focus {
  background: rgba(80, 108, 93, 0.08);
  outline: 2px solid rgba(80, 108, 93, 0.9);
}

:root.preview-mobile .site-header {
  align-items: center;
  display: grid;
  gap: 10px 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  left: 50%;
  max-width: 430px;
  padding: 16px 16px 14px;
  position: absolute;
  right: auto;
  transform: translateX(-50%);
  width: 100%;
}

:root.preview-mobile .brand-block strong {
  font-size: 20px;
}

:root.preview-mobile nav {
  grid-column: 1 / -1;
  font-size: 11px;
  gap: 8px;
  flex-wrap: nowrap;
  justify-content: flex-start;
  max-width: none;
  min-width: 0;
  overflow-x: auto;
  padding: 8px 11px;
  scrollbar-width: none;
  width: 100%;
}

:root.preview-mobile nav::-webkit-scrollbar {
  display: none;
}

:root.preview-mobile .theme-toggle {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  height: 24px;
  position: relative;
  right: auto;
  top: auto;
  width: 24px;
}

:root.preview-mobile .theme-toggle img {
  height: 19px;
  width: 19px;
}

:root.preview-mobile .hero {
  grid-template-columns: 1fr;
  min-height: auto;
  padding: 128px 16px 34px;
}

:root.preview-mobile .hero-slide {
  object-fit: cover;
}

:root.preview-mobile .hero-carousel {
  aspect-ratio: 4 / 5;
  height: auto;
  width: 100%;
}

:root.preview-mobile .hero-arrow {
  height: 44px;
  top: 55%;
  width: 44px;
}

:root.preview-mobile .hero-arrow span {
  height: 18px;
  width: 18px;
}

:root.preview-mobile .hero-arrow-prev {
  left: 26px;
}

:root.preview-mobile .hero-arrow-next {
  right: 26px;
}

:root.preview-mobile h1 {
  font-size: clamp(34px, 10vw, 46px);
  white-space: normal;
}

:root.preview-mobile h2 {
  font-size: clamp(30px, 8.5vw, 38px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

:root.preview-mobile h3 {
  font-size: 20px;
}

:root.preview-mobile .hero-intro,
:root.preview-mobile .section {
  padding-left: 28px;
  padding-right: 28px;
}

:root.preview-mobile .hero-intro {
  gap: 18px;
  padding-left: 12px;
  padding-right: 12px;
  text-align: left;
}

:root.preview-mobile .hero-meta,
:root.preview-mobile .hero-notes,
:root.preview-mobile .intro-social {
  justify-content: flex-start;
}

:root.preview-mobile .hero-notes {
  margin-top: 18px;
}

:root.preview-mobile .hero-copy,
:root.preview-mobile .bio-text,
:root.preview-mobile .contact-card > a {
  font-size: 16px;
}

:root.preview-mobile .bio-text,
:root.preview-mobile .hero-copy {
  line-height: 1.75;
}

:root.preview-mobile .section-heading {
  margin-bottom: 34px;
}

:root.preview-mobile .bio-heading {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr auto;
}

:root.preview-mobile .contact-heading h2 {
  font-size: clamp(30px, 8.2vw, 36px);
  max-width: 310px;
}

:root.preview-mobile .page-hero {
  padding: 148px 28px 34px;
}

:root.preview-mobile .back-link {
  font-size: 15px;
  margin-bottom: 30px;
  padding-bottom: 7px;
}

:root.preview-mobile .page-hero .eyebrow {
  margin-bottom: 12px;
}

:root.preview-mobile .page-hero h1 {
  font-size: clamp(42px, 13vw, 56px);
  margin-bottom: 18px;
}

:root.preview-mobile .page-hero p:last-child {
  font-size: 18px;
  line-height: 1.55;
  max-width: none;
}

:root.preview-mobile .section-heading.split,
:root.preview-mobile .bio-grid,
:root.preview-mobile .hero-intro,
:root.preview-mobile .media-grid,
:root.preview-mobile .contact,
:root.preview-mobile .contact-grid {
  grid-template-columns: 1fr;
}

:root.preview-mobile .bio {
  display: block;
}

:root.preview-mobile .bio-image {
  margin: 0 0 28px;
  padding-top: 0;
}

:root.preview-mobile .bio-image img {
  aspect-ratio: 16 / 10;
}

:root.preview-mobile .bio-grid {
  max-width: none;
}

:root.preview-mobile .work-item,
:root.preview-mobile .timeline article,
:root.preview-mobile .detail-row {
  grid-template-columns: 1fr;
  gap: 7px;
  padding: 24px 0;
}

:root.preview-mobile .detail-row h2 {
  font-size: clamp(24px, 7.5vw, 32px);
  line-height: 1.08;
  overflow-wrap: break-word;
}

:root.preview-mobile .detail-row p {
  font-size: 16px;
  line-height: 1.45;
}

:root.preview-mobile .score-feature img {
  aspect-ratio: 4 / 3;
}

:root.preview-mobile .contact {
  align-items: start;
  margin-left: 0;
  margin-right: 0;
  padding-left: 28px;
  padding-right: 28px;
  max-width: 100%;
  width: 100%;
}

:root.preview-mobile .contact {
  gap: 22px;
  margin-top: 28px;
  padding-bottom: 28px;
  padding-top: 28px;
}

:root.preview-mobile .contact-grid {
  gap: 20px;
}

:root.preview-mobile .contact-card {
  padding-top: 0;
}

:root.preview-mobile .contact-card h3 {
  font-size: 13px;
  margin-bottom: 12px;
}

:root.preview-mobile .contact-card p {
  font-size: 15px;
}

:root.preview-mobile footer {
  align-items: center;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  min-height: 64px;
  padding-right: 56px;
}

:root.preview-mobile .top-button {
  bottom: 24px;
  height: 32px;
  right: calc((100vw - min(100vw, 430px)) / 2 + 18px);
  width: 32px;
}

@media (max-width: 760px) {
  .site-header {
    align-items: center;
    display: grid;
    gap: 10px 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 16px 16px 14px;
    position: absolute;
  }

  .brand-block strong {
    font-size: 20px;
  }

  nav {
    grid-column: 1 / -1;
    font-size: 11px;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    max-width: none;
    min-width: 0;
    overflow-x: auto;
    padding: 8px 11px;
    scrollbar-width: none;
    width: 100%;
  }

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

  .theme-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    height: 24px;
    position: relative;
    right: auto;
    top: auto;
    width: 24px;
  }

  .theme-toggle img {
    height: 19px;
    width: 19px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 128px 16px 34px;
  }

  .hero-slide {
    object-fit: cover;
  }

  .hero-carousel {
    aspect-ratio: 4 / 5;
    height: auto;
    width: 100%;
  }

  .hero-arrow {
    height: 34px;
    top: 55%;
    width: 34px;
  }

  .hero-arrow span {
    height: 12px;
    width: 12px;
  }

  .hero-arrow-prev {
    left: 26px;
  }

  .hero-arrow-next {
    right: 26px;
  }

  h1 {
    font-size: clamp(34px, 10vw, 46px);
    white-space: normal;
  }

  h2 {
    font-size: clamp(30px, 8.5vw, 38px);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  h3 {
    font-size: 20px;
  }

  .hero-intro,
  .section {
    padding-left: 28px;
    padding-right: 28px;
  }

  .hero-intro {
    gap: 18px;
    padding-left: 12px;
    padding-right: 12px;
    text-align: left;
  }

  .hero-meta,
  .hero-notes,
  .intro-social {
    justify-content: flex-start;
  }

  .hero-notes {
    margin-top: 18px;
  }

  .hero-copy,
  .bio-text,
  .contact-card > a {
    font-size: 16px;
  }

  .bio-text,
  .hero-copy {
    line-height: 1.75;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .bio-heading {
    align-items: center;
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr auto;
  }

  .contact-heading h2 {
    font-size: clamp(30px, 8.2vw, 36px);
    max-width: 310px;
  }

  .page-hero {
    padding: 148px 28px 34px;
  }

  .back-link {
    font-size: 15px;
    margin-bottom: 30px;
    padding-bottom: 7px;
  }

  .page-hero .eyebrow {
    margin-bottom: 12px;
  }

  .page-hero h1 {
    font-size: clamp(42px, 13vw, 56px);
    margin-bottom: 18px;
  }

  .page-hero p:last-child {
    font-size: 18px;
    line-height: 1.55;
    max-width: none;
  }

  .section-heading.split,
  .bio-grid,
  .hero-intro,
  .media-grid,
  .contact,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .bio {
    display: block;
  }

  .bio-image {
    margin: 0 0 28px;
    padding-top: 0;
  }

  .bio-image img {
    aspect-ratio: 16 / 10;
  }

  .bio-grid {
    max-width: none;
  }

  .work-item,
  .timeline article,
  .detail-row {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 24px 0;
  }

  .detail-row h2 {
    font-size: clamp(24px, 7.5vw, 32px);
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  .detail-row p {
    font-size: 16px;
    line-height: 1.45;
  }

  .score-feature img {
    aspect-ratio: 4 / 3;
  }

  .contact {
    align-items: start;
    margin-left: 0;
    margin-right: 0;
    padding-left: 28px;
    padding-right: 28px;
    max-width: 100%;
    width: 100%;
  }

  .contact {
    gap: 22px;
    margin-top: 28px;
    padding-bottom: 28px;
    padding-top: 28px;
  }

  .contact-grid {
    gap: 20px;
  }

  .contact-card {
    padding-top: 0;
  }

  .contact-card h3 {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .contact-card p {
    font-size: 15px;
  }

  footer {
    gap: 14px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    min-height: 64px;
    padding-right: 56px;
  }

  .top-button {
    bottom: 24px;
    height: 32px;
    right: 18px;
    width: 32px;
  }
}

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

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