:root {
  --blue: #3182f6;
  --blue-deep: #1b64da;
  --ink: #191f28;
  --muted: #6b7684;
  --soft: #8b95a1;
  --paper: #ffffff;
  --surface: #f5f6f8;
  --line: #e5e8eb;
  --content: min(1180px, calc(100vw - 48px));
  --display: clamp(2.8rem, 5.2vw, 5.4rem);
  --title: clamp(2.1rem, 3.6vw, 3.4rem);
  --body: clamp(1.02rem, 1.15vw, 1.15rem);
  --section-y: clamp(88px, 10vw, 140px);
  --rail: 140px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  word-break: keep-all;
  overflow-x: hidden;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

a {
  text-decoration: none;
}

::selection {
  color: white;
  background: var(--blue);
}

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

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 26px 34px;
  color: var(--ink);
  transition:
    opacity 240ms ease,
    color 240ms ease,
    background-color 240ms ease,
    padding 240ms var(--ease);
}

.site-header.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.site-header.is-profile {
  color: white;
}

.site-header.is-profile .brand {
  color: white;
}

.site-header.is-scrolled {
  padding-top: 18px;
  padding-bottom: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 0 rgba(25, 31, 40, 0.07);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled .brand {
  color: var(--ink);
}

.brand {
  color: white;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.site-nav {
  display: flex;
  gap: 24px;
  font-size: 0.8rem;
  font-weight: 650;
}

.site-nav a,
.brand {
  position: relative;
}

.site-nav a::after,
.brand::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.brand:hover::after,
.brand:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.intro {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: white;
}

.intro__blue {
  position: absolute;
  z-index: -2;
  inset: 0 auto 0 0;
  width: 76%;
  background: var(--blue);
  transform-origin: left;
  animation: blue-enter 950ms var(--ease) both;
  transition: width 900ms var(--ease), background-color 900ms var(--ease);
}

.intro__grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 8vw 8vw;
  mask-image: linear-gradient(to right, black 0 76%, transparent 76%);
  transition: mask-image 900ms var(--ease), opacity 700ms ease;
}

.intro__hero {
  position: absolute;
  top: 50%;
  left: max(48px, 6vw);
  width: min(1240px, 70vw);
  color: white;
  transform: translateY(-46%);
  transition: opacity 420ms ease, transform 650ms var(--ease);
}

.eyebrow {
  margin: 0 0 26px;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.16em;
}

.intro__eyebrow {
  opacity: 0;
  animation: text-enter 650ms 640ms var(--ease) forwards;
}

.intro h1 {
  margin: 0;
  font-size: var(--display);
  font-weight: 760;
  letter-spacing: -0.058em;
  line-height: 1.01;
}

.intro h1 span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(0.8em);
  animation: text-enter 760ms var(--ease) forwards;
}

.intro h1 span:nth-child(1) {
  animation-delay: 260ms;
}

.intro h1 span:nth-child(2) {
  animation-delay: 390ms;
}

.intro__summary {
  margin: 38px 0 0;
  font-size: var(--body);
  line-height: 1.65;
  opacity: 0;
  animation: text-enter 680ms 700ms var(--ease) forwards;
}

.intro__open {
  position: absolute;
  right: 4.7vw;
  bottom: 6.2vh;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 0;
  cursor: pointer;
  background: transparent;
  font-weight: 700;
  opacity: 0;
  animation: fade-in 600ms 920ms ease forwards;
  transition: opacity 280ms ease, transform 280ms var(--ease);
}

.intro__open::before {
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 320ms var(--ease);
}

.intro__open:hover::before,
.intro__open:focus-visible::before {
  transform: scaleX(1);
  transform-origin: left;
}

.arrow {
  display: inline-block;
  font-size: 2.3rem;
  font-weight: 350;
  transition: transform 320ms var(--ease);
}

.intro__open:hover .arrow,
.intro__open:focus-visible .arrow {
  transform: translate(5px, 5px);
}

.intro__profile {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 10vw;
  align-items: center;
  width: var(--content);
  margin: 0 auto;
  color: white;
  visibility: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 620ms 420ms ease,
    transform 720ms 420ms var(--ease),
    visibility 0s 1.05s;
}

.profile__heading h2 {
  margin: 0;
  font-size: var(--title);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.profile__details {
  align-self: center;
  padding-top: 42px;
}

.profile-list {
  margin: 0;
}

.profile-list > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.profile-list > div:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.profile-list dt {
  font-size: 0.76rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
}

.profile-list dd {
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  font-weight: 560;
  line-height: 1.55;
}

.profile__statement {
  display: grid;
  gap: 30px;
  max-width: 720px;
}

.profile__statement p {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.95rem);
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 1.55;
}

.profile__statement p + p {
  color: rgba(255, 255, 255, 0.78);
}

.profile__statement strong {
  color: white;
  font-weight: 760;
}

.profile-links {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}

.profile-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 170px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  font-weight: 650;
  transition: color 220ms ease, background 220ms ease;
}

.profile-links a:hover,
.profile-links a:focus-visible {
  color: var(--blue);
  background: white;
}

.profile__continue {
  position: absolute;
  right: 0;
  bottom: 5.6vh;
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 14px 0;
  color: white;
  cursor: pointer;
  background: transparent;
  font-weight: 700;
}

.profile__continue::after {
  position: absolute;
  bottom: 7px;
  left: 0;
  width: 100%;
  height: 1px;
  background: white;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms var(--ease);
}

.profile__continue:hover::after,
.profile__continue:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.intro.is-profile .intro__blue {
  width: 100%;
  background: var(--blue-deep);
}

.intro.is-profile .intro__grid {
  opacity: 0.08;
  mask-image: linear-gradient(to right, black, black);
}

.intro.is-profile .intro__hero {
  opacity: 0;
  transform: translate(-80px, -46%);
  pointer-events: none;
}

.intro.is-profile .intro__open {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  animation: none;
}

.intro.is-profile .intro__profile {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 620ms 420ms ease,
    transform 720ms 420ms var(--ease),
    visibility 0s 0s;
}

.section-pad {
  width: var(--content);
  margin: 0 auto;
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.section-kicker {
  padding-top: 8px;
  border-top: 1px solid var(--ink);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-block {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  column-gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.story-block--surface {
  width: 100%;
  max-width: none;
  padding-left: max(24px, calc((100vw - 1180px) / 2));
  padding-right: max(24px, calc((100vw - 1180px) / 2));
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.story-block--surface.section-pad {
  width: 100%;
}

.story-block--ink {
  width: 100%;
  max-width: none;
  padding-left: max(24px, calc((100vw - 1180px) / 2));
  padding-right: max(24px, calc((100vw - 1180px) / 2));
  color: white;
  background: var(--ink);
}

.story-block--ink.section-pad {
  width: 100%;
}

.story-block--ink .section-kicker {
  border-color: rgba(255, 255, 255, 0.55);
  color: rgba(255, 255, 255, 0.92);
}

.story-block--ink .story-title {
  color: white;
}

.story-block--ink .story-body p {
  color: rgba(255, 255, 255, 0.94);
  font-weight: 500;
}

.story-block--ink .story-body strong {
  color: white;
  font-weight: 700;
}

.story-bridge--on-ink {
  border-top-color: rgba(255, 255, 255, 0.22);
}

.story-bridge--on-ink p {
  color: rgba(255, 255, 255, 0.88);
}

.story-block__main {
  display: grid;
  gap: 40px;
}

.story-block__main--split {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: end;
}

.story-title {
  margin: 0;
  max-width: 18ch;
  font-size: var(--title);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.story-title strong {
  color: var(--blue);
  font-weight: 760;
}

.story-body {
  display: grid;
  gap: 22px;
  max-width: 62ch;
}

.story-body--wide {
  max-width: 68ch;
}

.story-body p,
.story-body__muted {
  margin: 0;
  color: var(--ink);
  font-size: var(--body);
  line-height: 1.75;
}

.story-body__muted {
  color: var(--muted);
}

.story-bridge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.story-bridge p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 650;
}

.story-block--on-dark .section-kicker {
  border-color: rgba(255, 255, 255, 0.8);
  color: white;
}

.story-block--on-dark .story-title {
  color: white;
  max-width: 16ch;
}

.story-block--on-dark .story-body p {
  color: rgba(255, 255, 255, 0.86);
}

.led-work__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.led-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
  padding: 28px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  transition:
    border-color 240ms ease,
    transform 320ms var(--ease);
}

.led-card:hover,
.led-card:focus-visible {
  border-color: var(--blue);
  transform: translateY(-4px);
}

.led-card__tag {
  color: var(--soft);
  font-size: 0.7rem;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.led-card strong {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 740;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.led-card p {
  margin: 0;
  flex: 1;
  color: var(--muted);
  font-size: var(--body);
  line-height: 1.65;
}

.led-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: auto;
  padding-top: 20px;
}

.led-card__actions a {
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 700;
}

.detail-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  cursor: pointer;
  color: var(--ink);
  background: transparent;
  border-bottom: 1px solid currentColor;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.6;
  transition: color 200ms ease;
}

.detail-toggle span {
  font-size: 1.05rem;
  font-weight: 500;
}

.detail-toggle:hover,
.detail-toggle:focus-visible {
  color: var(--blue);
}

.detail-toggle--light {
  color: white;
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

.detail-toggle--light:hover,
.detail-toggle--light:focus-visible {
  color: #cfe0ff;
}

.detail-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 8px;
}

.story-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.story-steps > div {
  display: grid;
  gap: 10px;
  padding: 18px 14px 20px;
  border-top: 2px solid var(--ink);
}

.story-steps span {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.14em;
}

.story-steps strong {
  font-size: 1.05rem;
  font-weight: 740;
  letter-spacing: -0.03em;
}

.story-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.selected-work {
  color: white;
  background: var(--ink);
}

.selected-work__intro {
  padding-bottom: calc(var(--section-y) * 0.65);
}

.selected-work .section-kicker {
  border-color: rgba(255, 255, 255, 0.8);
}

.work-index {
  margin: 0 0 28px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.selected-work__intro .story-title {
  max-width: 14ch;
}

.work-subtitle {
  max-width: 36ch;
  margin: 18px 0 0;
  color: #cdd3dc;
  font-size: var(--body);
  line-height: 1.65;
}

.system-map {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(68svh, 720px);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at center, rgba(49, 130, 246, 0.22), transparent 35%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 70px 70px, 70px 70px;
}

.system-map::before,
.system-map::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(58vw, 760px);
  height: min(58vw, 760px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  transition: transform 1.4s var(--ease), opacity 1s ease;
}

.system-map::after {
  width: min(39vw, 510px);
  height: min(39vw, 510px);
}

.system-map.is-visible::before,
.system-map.is-visible::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.system-map__label {
  position: absolute;
  top: 38px;
  left: max(24px, 5vw);
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.05em;
}

.system-map__core {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: clamp(210px, 24vw, 330px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  text-align: center;
  transform: scale(0.84);
  opacity: 0;
  transition: transform 900ms 250ms var(--ease), opacity 600ms 250ms ease;
}

.system-map.is-visible .system-map__core {
  transform: scale(1);
  opacity: 1;
}

.system-map__core span {
  align-self: end;
  padding-bottom: 8px;
  font-size: clamp(1.35rem, 2.5vw, 2.1rem);
  font-weight: 720;
  letter-spacing: -0.04em;
}

.system-map__core small {
  align-self: start;
  color: var(--soft);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-list {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 100px;
  height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #dce1e8;
  background: rgba(25, 31, 40, 0.75);
  backdrop-filter: blur(8px);
  font-size: 0.7rem;
  font-weight: 720;
  letter-spacing: 0.12em;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 480ms calc(450ms + var(--i) * 90ms) ease,
    transform 700ms calc(450ms + var(--i) * 90ms) var(--ease),
    border-color 220ms ease;
}

.system-map.is-visible .signal-list li {
  opacity: 1;
  transform: translateY(0);
}

.signal-list li:nth-child(1) { top: 22%; left: 13%; }
.signal-list li:nth-child(2) { top: 18%; right: 16%; }
.signal-list li:nth-child(3) { top: 47%; left: 7%; }
.signal-list li:nth-child(4) { top: 52%; right: 8%; }
.signal-list li:nth-child(5) { bottom: 18%; left: 18%; }
.signal-list li:nth-child(6) { right: 21%; bottom: 16%; }

.reflection {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 88px);
}

.reflection__lead h3 {
  max-width: 18ch;
  margin: 0;
  font-size: var(--title);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.reflection__body {
  align-self: end;
}

.reflection__body p {
  margin: 0 0 22px;
  color: #c2c8d1;
  font-size: var(--body);
  line-height: 1.75;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  margin-top: 18px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font-size: 0.9rem;
  font-weight: 700;
}

.next-work {
  display: grid;
  grid-template-columns: var(--rail) 1fr;
  column-gap: clamp(32px, 6vw, 88px);
}

.next-work__heading {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: end;
}

.next-work__heading h2 {
  margin: 0;
  font-size: var(--title);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.next-work__heading p {
  margin: 0;
  color: var(--muted);
  font-size: var(--body);
  line-height: 1.75;
}

.next-work__cards {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 90px;
}

.next-work__cards--single {
  grid-template-columns: 1fr;
}

.next-work__cards--single a {
  max-width: 640px;
}

.next-work__cards a {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 32px;
  border: 1px solid var(--line);
  background: white;
  transition: color 300ms ease, background 300ms ease, transform 320ms var(--ease);
}

.next-work__cards a:hover,
.next-work__cards a:focus-visible {
  color: white;
  background: var(--blue);
  transform: translateY(-8px);
}

.card-number {
  margin-bottom: auto;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  transition: color 300ms ease;
}

.next-work__cards a:hover .card-number,
.next-work__cards a:focus-visible .card-number {
  color: white;
}

.next-work__cards strong {
  margin-bottom: 15px;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  letter-spacing: -0.035em;
}

.next-work__cards a > span:nth-of-type(2) {
  max-width: 360px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
  transition: color 300ms ease;
}

.next-work__cards a:hover > span:nth-of-type(2),
.next-work__cards a:focus-visible > span:nth-of-type(2) {
  color: rgba(255, 255, 255, 0.82);
}

.next-work__cards i {
  position: absolute;
  top: 27px;
  right: 28px;
  font-size: 1.4rem;
  font-style: normal;
}

.contact {
  color: white;
  background: var(--blue);
  width: 100%;
  padding-right: max(24px, calc((100vw - 1180px) / 2));
  padding-left: max(24px, calc((100vw - 1180px) / 2));
}

.contact .story-title {
  max-width: 14ch;
  margin: 18px 0 0;
  color: white;
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 70px;
}

.contact__links a {
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  font-weight: 680;
  transition: color 220ms ease, background 220ms ease;
}

.contact__links a:hover,
.contact__links a:focus-visible {
  color: var(--blue);
  background: white;
}

.contact__note {
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 30px max(24px, calc((100vw - 1180px) / 2));
  color: var(--muted);
  background: var(--ink);
  font-size: 0.75rem;
}

body.is-detail-open {
  overflow: hidden;
}

.detail-layer {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.detail-layer[hidden] {
  display: none;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 31, 40, 0.55);
  opacity: 0;
  transition: opacity 220ms ease;
}

.detail-layer.is-open .detail-backdrop {
  opacity: 1;
}

.detail-panel {
  position: relative;
  z-index: 1;
  display: none;
  width: min(860px, 100%);
  max-height: min(86vh, 900px);
  margin: 0;
  padding: 42px 40px 36px;
  overflow: auto;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  transform: translateY(18px);
  opacity: 0;
  transition:
    opacity 240ms ease,
    transform 280ms var(--ease);
}

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

.detail-layer.is-open .detail-panel.is-active {
  opacity: 1;
  transform: translateY(0);
}

.detail-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: var(--ink);
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
}

.detail-panel .eyebrow {
  margin-bottom: 14px;
}

.detail-panel .story-title {
  max-width: none;
}

.detail-lead {
  max-width: 52ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: var(--body);
  line-height: 1.65;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.detail-grid h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-grid p {
  margin: 0;
  font-size: var(--body);
  line-height: 1.7;
}

.detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.detail-links a {
  padding: 12px 16px;
  border: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 700;
  transition: color 200ms ease, background 200ms ease, border-color 200ms ease;
}

.detail-links a:hover,
.detail-links a:focus-visible {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}

.detail-claim {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.detail-claim h3 {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-claim ul {
  margin: 0;
  padding-left: 1.15em;
}

.detail-claim li {
  margin: 0 0 10px;
  font-size: var(--body);
  line-height: 1.7;
}

.detail-claim li:last-child {
  margin-bottom: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 800ms ease, transform 900ms var(--ease);
}

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

:focus-visible {
  outline: 3px solid #ffdd6e;
  outline-offset: 5px;
}

@keyframes blue-enter {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes text-enter {
  from { opacity: 0; transform: translateY(0.8em); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (min-width: 901px) and (max-width: 1220px) {
  .intro__blue {
    width: 80%;
  }

  .intro__grid {
    mask-image: linear-gradient(to right, black 0 80%, transparent 80%);
  }

  .intro__hero {
    left: max(42px, 6.5vw);
    width: min(900px, 70vw);
  }
}

@media (max-width: 900px) {
  :root {
    --content: min(100% - 36px, 720px);
  }

  .site-header {
    padding: 22px 18px;
  }

  .site-nav {
    display: none;
  }

  .intro__blue {
    width: 100%;
    height: 72%;
  }

  .intro__grid {
    mask-image: linear-gradient(to bottom, black 0 72%, transparent 72%);
  }

  .intro__hero {
    top: 38%;
    left: 24px;
    width: calc(100% - 48px);
    transform: translateY(-50%);
  }

  .intro h1 {
    font-size: clamp(3rem, 12vw, 5rem);
  }

  .intro h1 span {
    white-space: normal;
  }

  .intro__summary {
    font-size: 0.96rem;
  }

  .intro__open {
    right: 24px;
    bottom: 6vh;
  }

  .intro.is-profile .intro__blue {
    height: 100%;
  }

  .intro__profile {
    grid-template-columns: 1fr;
    gap: 38px;
    align-content: center;
    padding-bottom: 70px;
  }

  .profile__heading h2 {
    font-size: clamp(2.8rem, 11vw, 4.4rem);
  }

  .profile__details {
    padding-top: 0;
  }

  .profile__statement {
    gap: 22px;
  }

  .profile__statement p {
    font-size: clamp(1.08rem, 3.4vw, 1.35rem);
    line-height: 1.58;
  }

  .profile-list > div {
    grid-template-columns: 90px 1fr;
    padding: 16px 0;
  }

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

  .profile-links a {
    min-width: 0;
  }

  .story-block,
  .selected-work__intro,
  .next-work {
    grid-template-columns: 1fr;
  }

  .section-kicker {
    margin-bottom: 28px;
  }

  .story-block__main,
  .story-block__main--split {
    gap: 28px;
    grid-template-columns: 1fr;
  }

  .led-work__cards,
  .story-steps {
    grid-template-columns: 1fr;
  }

  .next-work__heading,
  .reflection {
    grid-template-columns: 1fr;
  }

  .story-title {
    max-width: none;
  }

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

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

  .detail-panel {
    padding: 34px 22px 28px;
  }

  .signal-list li:nth-child(1) { top: 19%; left: 4%; }
  .signal-list li:nth-child(2) { top: 16%; right: 4%; }
  .signal-list li:nth-child(3) { top: 45%; left: 2%; }
  .signal-list li:nth-child(4) { top: 49%; right: 2%; }
  .signal-list li:nth-child(5) { bottom: 16%; left: 5%; }
  .signal-list li:nth-child(6) { right: 6%; bottom: 14%; }

  .reflection {
    gap: 65px;
  }

  .next-work__heading {
    gap: 35px;
  }

  .next-work__cards {
    margin-top: 60px;
  }
}

@media (max-width: 620px) {
  .eyebrow {
    margin-bottom: 18px;
  }

  .intro__eyebrow {
    font-size: 0.62rem;
  }

  .intro__profile {
    gap: 28px;
    padding-top: 42px;
  }

  .profile__heading h2 {
    font-size: clamp(2.55rem, 10.5vw, 3.7rem);
  }

  .profile__statement p {
    font-size: 1rem;
  }

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

  .profile__continue {
    right: 0;
    bottom: 24px;
  }

  .system-map {
    min-height: 520px;
  }

  .system-map__core {
    width: 210px;
  }

  .signal-list li {
    min-width: 78px;
    height: 39px;
    padding: 0 13px;
    font-size: 0.6rem;
  }

  .next-work__cards,
  .story-steps {
    grid-template-columns: 1fr;
  }

  .next-work__cards a {
    min-height: 270px;
  }

  .site-footer {
    gap: 30px;
    align-items: flex-end;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
}

