:root {
  --bg: #050505;
  --bg-soft: #0b0b0c;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.16);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f4f1eb;
  --text-muted: rgba(244, 241, 235, 0.66);
  --text-faint: rgba(244, 241, 235, 0.42);
  --accent: #f4f1eb;
  --focus: #ffffff;
  --header-height: 64px;
  --page-gutter: 32px;
  --max-width: 1360px;
  --font-display: Inter, Outfit, "Helvetica Neue", Arial, sans-serif;
  --font-body: Inter, "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-mono: "JetBrains Mono", Inconsolata, "SFMono-Regular", Consolas, monospace;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--text);
  background:
    linear-gradient(180deg, #050505 0%, #080808 45%, #050505 100%);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: geometricPrecision;
}

body.is-menu-open,
body.is-lightbox-open {
  overflow: hidden;
}

img,
video,
svg {
  display: block;
}

video,
img {
  max-width: 100%;
}

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

button {
  color: inherit;
  font: inherit;
}

[hidden] {
  display: none !important;
}

::selection {
  color: #050505;
  background: var(--text);
}

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

.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: #020202;
  color: var(--text);
  transition: opacity 180ms ease, visibility 180ms ease;
}

.preloader.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.preloader__content {
  width: min(72vw, 360px);
}

.preloader__name {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
}

.preloader__bar {
  height: 1px;
  overflow: hidden;
  background: var(--line-soft);
}

.preloader__bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--text);
  transform-origin: left;
  animation: load-line 180ms cubic-bezier(0.72, 0, 0.18, 1) both;
}

@keyframes load-line {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  min-height: var(--header-height);
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid transparent;
  background: transparent;
  backdrop-filter: none;
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.72);
  border-color: var(--line-soft);
  backdrop-filter: blur(14px);
}

.brand {
  justify-self: start;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.desktop-nav a {
  position: relative;
  padding: 20px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 15px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--text);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle,
.menu-button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.lang-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  width: 74px;
  padding: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  cursor: pointer;
}

.lang-toggle span {
  display: grid;
  place-items: center;
  border-radius: 5px;
}

.lang-toggle span.is-active {
  color: #050505;
  background: var(--text);
}

.menu-button {
  display: none;
  position: relative;
  width: 44px;
  padding: 0;
  cursor: pointer;
}

.menu-button span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--text);
  transition: transform 180ms ease, top 180ms ease;
}

.menu-button span:first-child {
  top: 17px;
}

.menu-button span:last-child {
  top: 26px;
}

.menu-button[aria-expanded="true"] span:first-child {
  top: 22px;
  transform: rotate(42deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  top: 22px;
  transform: rotate(-42deg);
}

.mobile-menu {
  position: fixed;
  z-index: 90;
  top: calc(var(--header-height) + 10px);
  right: 14px;
  width: min(260px, calc(100vw - 28px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.mobile-menu nav {
  display: grid;
}

.mobile-menu a {
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}

.mobile-menu a:last-child {
  border-bottom: 0;
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  background: #030303;
}

.hero__media,
.hero__scene,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__scene {
  overflow: hidden;
  opacity: 0;
  transform: scale(1.012);
  transition: opacity 900ms ease;
}

.hero__scene.is-active {
  opacity: 1;
}

.hero__scene-video,
.hero__triptych,
.hero__triptych-panel,
.hero__triptych-panel video {
  width: 100%;
  height: 100%;
}

.hero__scene-video,
.hero__triptych-panel video {
  display: block;
  object-fit: cover;
  filter: brightness(1.16) contrast(1.04) saturate(1.04);
}

.hero__triptych {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr 0.9fr;
  gap: 3px;
  background: #020202;
}

.hero__triptych-panel {
  position: relative;
  overflow: hidden;
}

.hero__triptych-panel--1 video {
  object-position: 48% center;
  transform: scale(1.04) translateY(-1.5%);
}

.hero__triptych-panel--2 video {
  object-position: 52% center;
  transform: scale(1.06) translateY(1.5%);
}

.hero__triptych-panel--3 video {
  object-position: 50% center;
  transform: scale(1.03) translateY(-0.5%);
}

.hero__shade {
  background:
    radial-gradient(circle at 52% 44%, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2) 76%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.1) 78%, rgba(5, 5, 5, 0.48) 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  min-height: 88svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(100% - calc(var(--page-gutter) * 2), var(--max-width));
  margin: 0 auto;
  padding: 128px 0 84px;
}

.hero__label,
.section-kicker,
.project-index {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__label {
  margin: 0 0 18px;
  color: var(--text-muted);
}

.hero__title {
  display: flex;
  align-items: center;
  max-width: 11ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: 104px;
  line-height: 0.94;
  font-weight: 800;
  letter-spacing: 0;
}

.hero__title-mark {
  flex: 0 0 auto;
  width: 0.76em;
  height: 0.76em;
  margin: 0 0.035em;
  border: 1px solid rgba(244, 241, 235, 0.56);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 36%;
  background: #f7f3ed;
  box-shadow: 0 0 0 3px rgba(5, 5, 5, 0.22);
}

.hero__subline {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 28px 0 0;
  max-width: 760px;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.45;
  color: var(--text);
}

.cpp-highlight {
  color: var(--text);
  background: none;
  -webkit-text-fill-color: currentColor;
  font-weight: 750;
  white-space: nowrap;
  filter: none;
}

.award-title {
  color: #ffd166;
}

.work-card .award-source,
.profile-achievement .award-source {
  color: #6ee7f9;
}

.hero__body {
  max-width: 600px;
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 15px;
}

.hero__scroll {
  position: absolute;
  z-index: 3;
  right: var(--page-gutter);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__scroll::after {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
}

.section {
  width: min(100% - calc(var(--page-gutter) * 2), var(--max-width));
  margin: 0 auto;
  padding: 128px 0;
}

.section--first {
  padding-top: 64px;
}

.section--first.reveal {
  opacity: 1;
  transform: none;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
}

.section-grid--top {
  align-items: start;
  margin-bottom: 52px;
}

.section-heading {
  grid-column: span 3;
}

.section-heading h2 {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

.section-heading p {
  margin: 0;
  color: var(--text-muted);
}

html[lang="ja"] .section-subtitle {
  display: none;
}

.section-kicker {
  color: var(--text-faint) !important;
}

.section-intro {
  grid-column: 5 / -1;
}

.about-section {
  padding-top: 96px;
  padding-bottom: 56px;
}

.about-editorial__eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-editorial__eyebrow span {
  color: var(--text-faint);
}

.about-editorial__header h2 {
  margin: 34px 0 0;
  font-family: var(--font-display);
  font-size: 118px;
  line-height: 0.86;
  font-weight: 800;
  letter-spacing: 0;
}

.about-editorial__header h2 span {
  display: block;
}

@media (min-width: 821px) {
  .about-editorial__header h2 span {
    white-space: nowrap;
  }
}

.about-editorial__copy {
  margin-top: 74px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}

.about-editorial__statement {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(12px, 1.32vw, 19px);
  line-height: 1.6;
  font-weight: 450;
  color: rgba(244, 241, 235, 0.8);
  white-space: nowrap;
}

.section-intro p,
.project-copy p,
.profile-copy p {
  color: var(--text-muted);
}

.works-section {
  padding-top: 72px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 8px;
  grid-auto-flow: dense;
  gap: 26px;
  align-items: stretch;
}

.work-card {
  --card-span: 4;
  --card-ratio: 4 / 5;
  --card-rows: 12;
  position: relative;
  grid-column: var(--card-start, auto) / span var(--card-span);
  grid-row: span var(--card-rows);
  order: var(--card-order, 0);
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--bg-soft);
  cursor: pointer;
  isolation: isolate;
  margin-top: 0;
}

article.work-card {
  cursor: default;
}

.work-card[data-title="ITTAN"] {
  --card-rows: 19;
}

.work-card[data-title="Desert Megastructure"],
.work-card[data-title="Industrial Rail"],
.work-card[data-title="Aurora Transit"],
.work-card[data-title="Submerged City"] {
  --card-rows: 18;
}

.work-card[data-title="Light Cube Study"],
.work-card[data-title="Face Close-up Study"],
.work-card[data-title="松岡修子は滅しない"],
.work-card[data-title="あの頃の夏"],
.work-card[data-title="AI Fashion Film"] {
  --card-rows: 10;
}

.work-card[data-title="DUSK STRATA"],
.work-card[data-title="影葬"],
.work-card[data-title="存在しない記憶"] {
  --card-rows: 14;
}

.work-card[data-title="Vertical City Transit"] {
  --card-rows: 20;
}

.work-card--large {
  --card-span: 7;
  --card-ratio: 16 / 10;
}

.work-card--wide {
  --card-span: 5;
  --card-ratio: 16 / 9;
}

.work-card--medium {
  --card-span: 4;
  --card-ratio: 4 / 5;
}

.work-card--tall {
  --card-span: 4;
  --card-ratio: 9 / 14;
}

.work-card--offset {
  --card-span: 5;
  --card-ratio: 4 / 3;
}

.work-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.05);
  transition: transform 420ms ease, filter 420ms ease;
}

.work-card--award {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: #080808;
}

.work-card--award::after {
  display: none;
}

.work-card__media {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.work-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1));
  pointer-events: none;
}

.work-card__details {
  padding: 16px 20px 18px;
  border-top: 1px solid rgba(244, 241, 235, 0.16);
  text-align: left;
}

.work-card__details > small {
  display: block;
  margin-bottom: 5px;
}

.work-card__details > strong {
  display: block;
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1.05;
  font-weight: 700;
}

.work-card__details > p {
  max-width: 680px;
  margin: 9px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.55;
}

.work-card__award-line {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid rgba(244, 241, 235, 0.38);
  font-style: normal;
}

.work-card__award-line b {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  font-weight: 750;
}

.work-card .work-card__award-line small {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: right;
  text-transform: none;
  line-height: 1.25;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.64) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0));
  opacity: 0.58;
  transition: opacity 220ms ease;
}

.work-card span {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 5px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.18;
  font-weight: 650;
  letter-spacing: 0;
}

.work-card small {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.work-card__external {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.8);
  color: var(--text);
  font-size: 20px;
  font-style: normal;
  line-height: 1;
  pointer-events: none;
}

.work-card__title {
  font-weight: inherit;
}

.work-card small.work-card__translation {
  display: block;
  margin: 7px 0 0;
  color: #e0e0e0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-transform: none;
}

.works-playback {
  display: flex;
  justify-content: flex-end;
  margin: -24px 0 20px;
}

.motion-toggle {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.motion-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.work-card:hover video,
.work-card:focus-visible video {
  transform: scale(1.025);
  filter: saturate(1.08) contrast(1.1);
}

.work-card:hover::after,
.work-card:focus-visible::after {
  opacity: 1;
}

.works-showcase {
  margin-top: 142px;
}

.works-showcase--motion {
  margin-top: 126px;
}

.works-showcase__header {
  margin-bottom: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.works-showcase__header h3 {
  margin: 7px 0 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 0.98;
  font-weight: 720;
  letter-spacing: 0;
}

.works-showcase__index {
  margin: 0;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-accordion {
  display: flex;
  height: min(680px, 70svh);
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #020202;
}

.media-accordion__item {
  position: relative;
  min-width: 0;
  width: 0;
  flex: 1 1 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-right: 1px solid rgba(244, 241, 235, 0.16);
  border-radius: 0;
  background: #050505;
  color: var(--text);
  cursor: pointer;
  isolation: isolate;
  transition:
    flex-grow 720ms cubic-bezier(0.2, 0.78, 0.2, 1),
    width 720ms cubic-bezier(0.2, 0.78, 0.2, 1),
    filter 420ms ease;
}

.media-accordion__item:last-child {
  border-right: 0;
}

.media-accordion__item.is-active {
  width: min(42%, 420px);
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
}

.media-accordion__item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.58) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.08), transparent 34%, transparent 72%, rgba(0, 0, 0, 0.06));
  opacity: 0.42;
  transition: opacity 420ms ease;
  pointer-events: none;
}

.media-accordion__item img,
.media-accordion__item video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.96) brightness(0.92) contrast(1.04);
  transform: scale(1.06);
  transition:
    transform 720ms cubic-bezier(0.2, 0.78, 0.2, 1),
    filter 520ms ease;
}

.media-accordion__item.is-active img,
.media-accordion__item.is-active video {
  object-fit: contain;
  filter: saturate(1.02) brightness(1) contrast(1.03);
  transform: scale(1);
}

.media-accordion__item.is-active::after {
  opacity: 0.35;
}

.media-accordion__item span {
  position: absolute;
  z-index: 2;
  left: 26px;
  right: 26px;
  bottom: 24px;
  display: grid;
  gap: 7px;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.1vw, 34px);
  line-height: 1.02;
  font-weight: 680;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 260ms ease 80ms,
    transform 420ms ease 80ms;
}

.media-accordion__item.is-active span {
  opacity: 1;
  transform: translateY(0);
}

.media-accordion__item small {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 241, 235, 0.7);
}

.media-accordion__item:focus-visible {
  z-index: 3;
  outline: 2px solid var(--text);
  outline-offset: -3px;
}
.works-showcase--shorts {
  margin-top: 126px;
}

.shorts-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.shorts-card {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #050505;
  color: var(--text);
  text-decoration: none;
  isolation: isolate;
  transition:
    transform 620ms cubic-bezier(0.2, 0.78, 0.2, 1),
    border-color 420ms ease;
}

.shorts-card:hover,
.shorts-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(244, 241, 235, 0.28);
}

.shorts-card:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.shorts-card video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.96) brightness(0.9) contrast(1.04);
  transform: scale(1.05);
  transition:
    transform 720ms cubic-bezier(0.2, 0.78, 0.2, 1),
    filter 520ms ease;
}

.shorts-card:hover video,
.shorts-card:focus-visible video {
  filter: saturate(1.02) brightness(1) contrast(1.03);
  transform: scale(1);
}

.shorts-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, 0.62) 100%);
  opacity: 0.72;
  transition: opacity 420ms ease;
  pointer-events: none;
}

.shorts-card:hover::after,
.shorts-card:focus-visible::after {
  opacity: 0.9;
}

.shorts-card__index,
.shorts-card__cue {
  position: absolute;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.shorts-card__index {
  top: 14px;
  left: 14px;
  color: rgba(244, 241, 235, 0.7);
}

.shorts-card__cue {
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: rgba(244, 241, 235, 0.86);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 260ms ease 60ms,
    transform 420ms ease 60ms;
}

.shorts-card__cue em {
  font-style: normal;
}

.shorts-card:hover .shorts-card__cue,
.shorts-card:focus-visible .shorts-card__cue {
  opacity: 1;
  transform: translateY(0);
}


.project-list {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: 28px;
}

.project-panel {
  --project-accent-a: rgba(244, 241, 235, 0.1);
  --project-accent-b: rgba(255, 255, 255, 0.055);
  --project-accent-c: rgba(244, 241, 235, 0.035);
  --project-glint: rgba(255, 255, 255, 0.09);
  --project-border: rgba(255, 255, 255, 0.18);
  --project-border-hover: rgba(255, 255, 255, 0.32);
  --project-inner-border: rgba(255, 255, 255, 0.12);
  --project-accent-shadow: rgba(0, 0, 0, 0.18);
  --project-vivid-a: rgba(244, 241, 235, 0.52);
  --project-vivid-b: rgba(255, 255, 255, 0.2);
  --project-vivid-soft: rgba(255, 255, 255, 0.07);
  --project-vivid-text: rgba(244, 241, 235, 0.72);
  grid-column: span 6;
  min-height: 330px;
  display: flex;
  align-items: flex-end;
  padding: 34px;
  border: 1px solid var(--project-border);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 16% 16%, var(--project-accent-a), transparent 36%),
    radial-gradient(ellipse at 82% 18%, var(--project-accent-b), transparent 42%),
    radial-gradient(ellipse at 22% 86%, var(--project-accent-c), transparent 46%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.026)),
    var(--bg-soft);
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.42),
    0 0 108px var(--project-accent-shadow),
    0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.project-panel--creative {
  --project-vivid-a: rgba(64, 204, 255, 0.95);
  --project-vivid-b: rgba(255, 82, 188, 0.82);
  --project-vivid-soft: rgba(64, 204, 255, 0.16);
  --project-vivid-text: rgba(160, 232, 255, 0.86);
  grid-column: 1 / span 6;
}

.project-panel--advisory {
  --project-vivid-a: rgba(245, 183, 46, 0.95);
  --project-vivid-b: rgba(22, 214, 197, 0.76);
  --project-vivid-soft: rgba(245, 183, 46, 0.15);
  --project-vivid-text: rgba(244, 201, 111, 0.84);
  grid-column: 7 / -1;
  justify-self: stretch;
  margin-top: 44px;
}

.project-panel::before {
  content: "";
  position: absolute;
  inset: 22px;
  z-index: 1;
  border: 1px solid var(--project-inner-border);
  opacity: 1;
  pointer-events: none;
}

.project-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, var(--project-vivid-a), var(--project-vivid-b)) 22px 22px / 128px 2px no-repeat,
    radial-gradient(circle at calc(100% - 46px) 46px, var(--project-vivid-soft), transparent 76px),
    radial-gradient(ellipse at 76% 12%, var(--project-glint), transparent 24%),
    linear-gradient(110deg, var(--project-accent-b), transparent 34%),
    linear-gradient(180deg, transparent 42%, var(--project-accent-c) 100%);
  opacity: 0.98;
  pointer-events: none;
}

.project-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 0;
}

.project-index {
  margin: 0 0 12px;
  color: var(--project-vivid-text) !important;
}

.project-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1.04;
  letter-spacing: 0;
}

.project-copy p:not(.project-index) {
  max-width: 420px;
  margin: 18px 0 26px;
  color: rgba(244, 241, 235, 0.72);
}

.project-panel:hover,
.project-panel:focus-within {
  transform: translateY(-4px);
  border-color: var(--project-border-hover);
  box-shadow:
    0 36px 130px rgba(0, 0, 0, 0.52),
    0 0 110px var(--project-accent-shadow),
    0 0 0 1px rgba(255, 255, 255, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.project-panel:hover::after,
.project-panel:focus-within::after {
  opacity: 1;
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 252, 246, 0.96);
  text-shadow: 0 0 18px rgba(244, 241, 235, 0.16);
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 1px;
  background: linear-gradient(90deg, currentColor 0 55%, var(--project-vivid-a) 55% 100%);
  opacity: 0.5;
  transform: scaleX(0.72);
  transform-origin: left;
  transition: opacity 180ms ease, transform 180ms ease;
}

.text-link span {
  color: var(--project-vivid-text);
  transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translate(2px, -2px);
}

.text-link:hover::after,
.text-link:focus-visible::after {
  opacity: 0.92;
  transform: scaleX(1);
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(280px, 380px);
  align-items: center;
  justify-content: space-between;
  gap: clamp(48px, 8vw, 120px);
}

.profile-copy h3 {
  margin: 28px 0 0;
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  letter-spacing: 0;
}

.profile-alias {
  color: var(--text-muted);
  font-weight: 450;
}

.profile-copy .role {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 28px 0 0;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text);
}

.profile-copy [data-i18n="profile.body"] {
  max-width: 560px;
}

.profile-achievement {
  max-width: 680px;
  margin-top: 36px;
  padding: 20px 0 22px;
  border-top: 1px solid rgba(244, 241, 235, 0.48);
  border-bottom: 1px solid rgba(244, 241, 235, 0.22);
}

.profile-achievement > span {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.profile-achievement p {
  display: grid;
  gap: 8px;
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.35;
}

.profile-achievement p strong {
  font-size: clamp(25px, 2.5vw, 34px);
  font-weight: 780;
  line-height: 1.05;
}

.profile-achievement p small {
  width: fit-content;
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 700;
  line-height: 1.25;
}

.profile-creator-mark {
  width: min(100%, 380px);
  margin: 54px 0 0;
  justify-self: end;
}

.profile-creator-mark img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(244, 241, 235, 0.32);
  border-radius: 8px;
  background: #f7f3ed;
}

.profile-creator-mark figcaption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.profile-creator-mark figcaption span {
  text-transform: none;
}

.social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  padding-top: 6px;
}

.social-links--hero {
  gap: 12px;
  margin-top: 22px;
  padding-top: 0;
}

.social-link {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(244, 241, 235, 0.24);
  border-radius: 50%;
  background: #09090b;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.social-links--hero .social-link {
  width: 48px;
  height: 48px;
  border-color: rgba(244, 241, 235, 0.32);
  backdrop-filter: blur(10px);
}

.social-links--hero .social-link--instagram {
  border-color: transparent;
}

.social-links--hero .social-link svg {
  width: 21px;
  height: 21px;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(244, 241, 235, 0.68);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.38);
}

.social-link svg {
  width: 31px;
  height: 31px;
}

.social-link--mail svg,
.social-link--instagram svg {
  fill: none;
  stroke: #fff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-link--instagram {
  border-color: transparent;
  background:
    linear-gradient(#09090b, #09090b) padding-box,
    linear-gradient(135deg, #feda75 0%, #fa7e1e 22%, #d62976 52%, #962fbf 76%, #4f5bd5 100%) border-box;
  border-width: 2px;
}

.social-link--instagram:hover,
.social-link--instagram:focus-visible {
  box-shadow: 0 16px 42px rgba(214, 41, 118, 0.28);
}

.social-link--x svg {
  fill: #fff;
}

.social-link--tiktok svg {
  fill: #fff;
  filter:
    drop-shadow(-2px 0 #25f4ee)
    drop-shadow(2px 0 #fe2c55);
}

.social-link--tiktok:hover,
.social-link--tiktok:focus-visible {
  box-shadow:
    -8px 10px 26px rgba(37, 244, 238, 0.12),
    8px 12px 30px rgba(254, 44, 85, 0.16);
}

.site-footer {
  width: min(100% - calc(var(--page-gutter) * 2), var(--max-width));
  margin: 0 auto;
  padding: 30px 0 48px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 26px;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(12px);
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  max-height: calc(100svh - 52px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #030303;
  overflow: hidden;
  box-shadow: 0 28px 120px rgba(0, 0, 0, 0.6);
}

.lightbox__media {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  background: #000;
}

.lightbox__media video,
.lightbox__media img {
  width: 100%;
  max-height: calc(100svh - 220px);
  object-fit: contain;
  background: #000;
}

.lightbox__meta {
  padding: 20px 24px 22px;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 7px;
}

.lightbox__meta p,
.lightbox__meta h2 {
  margin: 0;
}

.lightbox__meta p:first-child {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.lightbox__meta h2 {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: 0;
}

.lightbox__meta p:not(:first-child) {
  color: var(--text-muted);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.76);
  cursor: pointer;
}

.lightbox__close {
  top: 14px;
  right: 14px;
  font-size: 24px;
  line-height: 1;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
}

.lightbox__nav--prev {
  left: 14px;
}

.lightbox__nav--next {
  right: 14px;
}

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

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

@media (max-width: 1100px) {
  :root {
    --page-gutter: 24px;
  }

  .hero h1 {
    font-size: 82px;
  }

  .section-intro {
    grid-column: 4 / -1;
  }

  .about-editorial__header h2 {
    font-size: 88px;
  }

  .work-card--large {
    --card-span: 6;
  }

  .work-card--wide,
  .work-card--offset {
    --card-span: 6;
  }

  .project-panel,
  .project-panel--creative,
  .project-panel--advisory {
    grid-column: span 12;
    justify-self: stretch;
    margin-top: 0;
  }

}

@media (max-width: 820px) {
  :root {
    --header-height: 60px;
    --page-gutter: 18px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    min-height: 80svh;
  }

  .hero__content {
    min-height: 80svh;
    padding: 104px 0 58px;
  }

  .hero h1 {
    max-width: 8.5ch;
    font-size: 56px;
  }

  .hero__subline {
    font-size: 17px;
  }

  .hero__scroll {
    left: var(--page-gutter);
    right: auto;
    bottom: 22px;
  }

  .section {
    padding: 86px 0;
  }

  .section--first {
    padding-top: 48px;
  }

  .about-section {
    padding-top: 58px;
    padding-bottom: 56px;
  }

  .works-section {
    padding-top: 70px;
  }

  .section-grid {
    display: block;
  }

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

  .section-heading h2 {
    font-size: 34px;
  }

  .section-intro {
    margin-bottom: 0;
  }

  .about-editorial__header h2 {
    margin-top: 28px;
    font-size: 56px;
    line-height: 0.9;
  }

  .about-editorial__copy {
    display: block;
    margin-top: 44px;
    padding-top: 22px;
  }

  .about-editorial__statement {
    font-size: 16px;
    white-space: normal;
  }

  .works-grid,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .works-grid {
    grid-auto-rows: auto;
    gap: 18px;
  }

  .works-showcase,
  .works-showcase--motion,
  .works-showcase--shorts {
    margin-top: 90px;
  }

  .shorts-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .shorts-strip::-webkit-scrollbar {
    display: none;
  }

  .shorts-card {
    flex: 0 0 64%;
    scroll-snap-align: center;
  }

  .shorts-card__cue {
    opacity: 1;
    transform: none;
  }

  .works-showcase__header {
    display: block;
    margin-bottom: 22px;
  }

  .works-showcase__header > p {
    margin-top: 18px;
  }

  .media-accordion {
    flex-direction: column;
    height: 680px;
    min-height: 680px;
  }

  .media-accordion__item {
    width: 100%;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(244, 241, 235, 0.16);
  }

  .media-accordion__item:last-child {
    border-bottom: 0;
  }

  .media-accordion__item.is-active {
    width: 100%;
    flex-basis: 0;
    flex-grow: 5.8;
    flex-shrink: 1;
  }

  .media-accordion__item span {
    left: 18px;
    right: 18px;
    bottom: 16px;
    font-size: 24px;
  }

  .work-card,
  .work-card--large,
  .work-card--wide,
  .work-card--medium,
  .work-card--tall,
  .work-card--offset {
    --card-span: 1;
    grid-column: 1;
    grid-row: auto;
    height: auto;
    aspect-ratio: var(--card-ratio);
    margin-top: 0;
  }

  .work-card--award {
    min-height: 540px;
    aspect-ratio: auto;
    grid-template-rows: minmax(280px, 1fr) auto;
  }

  .work-card__details {
    padding: 16px 17px 18px;
  }

  .work-card__award-line {
    display: grid;
    gap: 9px;
  }

  .work-card__award-line small {
    text-align: left;
  }

  .project-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-panel,
  .project-panel--advisory {
    grid-column: 1;
    min-height: 280px;
    margin-top: 0;
    padding: 26px;
  }

  .project-copy h3 {
    font-size: 30px;
  }

  .profile-copy h3 {
    font-size: 40px;
  }

  .social-links {
    gap: 16px;
  }

  .social-links--hero {
    gap: 10px;
    margin-top: 18px;
  }

  .social-links--hero .social-link {
    width: 44px;
    height: 44px;
  }

  .social-links--hero .social-link svg {
    width: 19px;
    height: 19px;
  }

  .social-link {
    width: 68px;
    height: 68px;
  }

  .profile-alias {
    display: block;
    margin-top: 8px;
  }

  .profile-creator-mark {
    width: min(100%, 340px);
    margin: 38px 0 0;
    justify-self: start;
  }

  .site-footer {
    display: grid;
  }

  .lightbox {
    padding: 12px;
  }

  .lightbox__dialog {
    max-height: calc(100svh - 24px);
  }

  .lightbox__media video,
  .lightbox__media img {
    max-height: calc(100svh - 250px);
  }

}

@media (max-width: 440px) {
  .brand {
    font-size: 14px;
  }

  .lang-toggle {
    width: 68px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero__subline {
    font-size: 16px;
  }

  .hero__body {
    font-size: 14px;
  }

  .about-editorial__header h2 {
    font-size: 46px;
  }

  .about-editorial__lead {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

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

  .hero__scene {
    transform: none;
  }
}
