:root {
  --bg: #151412;
  --fg: #CEC5B6;
  --muted: #908A80;
  --line: rgba(206, 197, 182, 0.18);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --jp: "A1 Gothic R", "A1ゴシック R", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans), var(--jp);
  font-weight: 700;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
a { color: inherit; text-decoration: none; }
video { display: block; background: #0c0c0b; }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 100;
  padding: 22px 20px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  text-transform: uppercase;
}
.header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.brand {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(26px, 2.4vw, 46px);
  line-height: .88;
  letter-spacing: -0.052em;
}
.category-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  font-size: 13px;
  line-height: 1;
}
.category-nav a,
.utility-nav a {
  color: var(--muted);
  transition: color .14s ease, opacity .14s ease;
}
.category-nav a:hover,
.category-nav a.active,
.utility-nav a:hover,
.utility-nav a.active { color: var(--fg); }
.utility-nav {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 18px;
  padding-top: 1px;
  font-size: 13px;
  line-height: 1;
}
.instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-top: -2px;
  color: var(--muted);
  opacity: 1;
  line-height: 0;
  flex: 0 0 auto;
}
.instagram-link svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.instagram-link svg circle:last-child {
  fill: currentColor;
  stroke: none;
}
.instagram-link:hover,
.instagram-link:focus-visible {
  color: var(--fg);
  opacity: 1;
}

/* ---------- Home: selected works ---------- */
.home-main { width: 100%; }
.selected-works {
  width: 100%;
}
.selected-work {
  width: 100%;
  min-height: 0;
  padding: 20px 20px 18px;
  display: block;
  border-top: 1px solid var(--line);
}
.selected-media-frame {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0c0c0b;
}
.selected-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.selected-meta {
  padding-top: 0;
}
.selected-work:hover .selected-media-frame { opacity: .93; }
.selected-works[hidden] { display: none; }

/* ---------- Home: works ---------- */
.works {
  width: 100%;
  padding: 38px 20px 90px;
  border-top: 1px solid var(--line);
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 46px 12px;
  align-items: start;
}
.work-card {
  min-width: 0;
  display: block;
}
.media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0c0c0b;
  isolation: isolate;
  contain: paint;
  clip-path: inset(0);
}
.work-poster,
.work-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border: 0;
  outline: 0;
}
.work-poster {
  display: block;
}
.work-hover-video {
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  object-fit: cover;
  opacity: 0;
  transition: opacity .14s ease;
  backface-visibility: hidden;
}
.work-hover-video.is-active {
  opacity: 1;
}
.work-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding-top: 8px;
  font-size: 13.5px;
  line-height: 1.16;
  text-transform: none;
}
.work-title {
  font-size: 90%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.work-index {
  color: var(--muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.work-card:hover .work-poster { opacity: .87; }
.empty-state[hidden] { display: none; }
.empty-state {
  min-height: 42vh;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 12px;
  font-size: 10px;
  text-transform: uppercase;
}

/* ---------- Project ---------- */
.project-page .site-header,
.info-page .site-header {
  min-height: 180px;
}
.project-hero {
  position: relative;
  min-height: 0;
  padding: 20px 20px 42px;
  display: block;
  overflow: hidden;
}
.project-video {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  background: transparent;
}
.project-video-meta {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 15.3px;
  text-transform: uppercase;
}
.project-video-meta-index-only {
  justify-content: flex-end;
}
.project-video-meta span:first-child {
  max-width: 72%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.project-info {
  min-height: 34vh;
  padding: 42px 20px 90px;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 24px;
  border-top: 1px solid var(--line);
}
.project-title-wrap h1 {
  margin: 0;
  max-width: 94%;
  font-size: clamp(35px, 3.47vw, 65px);
  line-height: .94;
  letter-spacing: -0.052em;
  text-transform: none;
  text-wrap: balance;
}
.project-subtitle {
  margin: 12px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(9px, .78vw, 12px);
  line-height: 1.4;
  letter-spacing: .01em;
  font-weight: 400;
}
.project-subtitle[hidden] { display: none; }
.project-tags {
  margin-top: 14px;
  display: flex;
  gap: 0 6px;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}
.project-tags a:hover { color: var(--fg); }
.project-data { align-self: start; }
.data-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 9px;
  line-height: 1.2;
  text-transform: uppercase;
}
.data-row span:first-child { color: var(--muted); }
.data-row span:last-child,
.data-row a { text-align: right; }
.disabled-link { color: var(--muted); cursor: default; }
.project-nav {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 14px 20px 62px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  line-height: 1.2;
  text-transform: none;
}
.project-nav a { max-width: 44%; }
.project-nav a:last-child { text-align: right; }

/* ---------- Profile / Contact ---------- */
.info-main {
  min-height: calc(100svh - 180px);
  padding: 24px 20px 96px;
}
.info-intro {
  min-height: 40vh;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.eyebrow {
  margin: 0 0 64px;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}
.info-intro h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 112px);
  line-height: .86;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}
.contact-main .info-intro h1 {
  font-size: clamp(36px, 5.6vw, 90px);
}
.info-columns {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.info-block { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; }
.info-label { color: var(--muted); font-size: 9px; }
.info-block p {
  margin: 0;
  max-width: 620px;
  font-size: clamp(18px, 2.2vw, 34px);
  line-height: 1.08;
  text-transform: uppercase;
}
.profile-copy { grid-template-columns: 1fr 5fr; display: grid; }
.profile-copy p + p { margin-top: 24px; }
.muted-copy { color: var(--muted); font-size: 10px !important; line-height: 1.3 !important; }
.contact-list { border-top: 1px solid var(--line); }
.contact-row {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  text-transform: uppercase;
}
.contact-row span:first-child { color: var(--muted); }


/* ---------- Footer ---------- */
.site-footer {
  width: 100%;
  padding: 46px 20px 34px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.veno-logo {
  display: block;
  width: 92px;
  height: auto;
}


/* ---------- Profile ---------- */
.profile-main {
  padding: 20px 20px 100px;
}
.profile-minimal {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(38px, 5vw, 96px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  align-items: start;
}
.profile-aside {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.profile-kicker {
  width: 160px;
  max-width: 100%;
  margin: 0 0 36px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
}
.profile-photo-wrap {
  margin: 0 auto;
  width: 132px;
  max-width: 100%;
  aspect-ratio: 0.76;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.profile-photo {
  display: block;
  width: 120%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.profile-content {
  min-width: 0;
}
.profile-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 28px;
  align-items: start;
  padding: 0 0 30px;
  border-bottom: 1px solid var(--line);
}
.profile-name-block h1 {
  margin: 0;
  font-size: clamp(38px, 4.3vw, 72px);
  line-height: .9;
  letter-spacing: -0.052em;
  text-transform: none;
}
.profile-name-row {
  display: flex;
  align-items: center;
}
.jp-name {
  margin: 9px 0 0;
  padding: 0;
  transform: none;
  font-family: var(--jp);
  font-weight: 400;
  color: var(--muted);
  font-size: clamp(9px, .72vw, 11px);
  line-height: 1.2;
  letter-spacing: .03em;
}
.profile-company-block {
  align-self: start;
  margin-top: 6px;
  display: flex;
  justify-content: flex-end;
  padding-right: 48px;
}
.profile-company-logo {
  display: block;
  width: 56px;
  height: auto;
  opacity: .94;
}
.profile-bio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, .76fr);
  gap: clamp(22px, 2.6vw, 40px);
  padding: 34px 0 42px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.profile-section {
  padding: 0;
  border: 0;
  max-width: 680px;
  font-weight: 400;
}
.profile-section p { margin: 0; }
.profile-section p + p { margin-top: 15px; }
.jp-copy-line { white-space: nowrap; }
.desktop-copy-break { display: block; }
.profile-japanese {
  font-family: var(--jp);
  font-size: clamp(10px, .76vw, 12px);
  line-height: 2.0;
  letter-spacing: .02em;
  font-weight: 400;
}
.profile-english {
  max-width: 500px;
  color: #ACA59B;
  font-size: clamp(10px, .74vw, 12px);
  line-height: 1.62;
  letter-spacing: .005em;
  font-weight: 400;
}
.profile-contact {
  width: min(640px, 100%);
  padding-top: 20px;
  border-bottom: 1px solid var(--line);
}
.profile-contact-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 18px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: clamp(10px, .78vw, 12px);
  line-height: 1.42;
  font-weight: 500;
}
.profile-contact-row:first-child { border-top: 0; }
.profile-contact-row > span:first-child {
  color: var(--muted);
  text-transform: uppercase;
}
.profile-contact-row > *:last-child { text-align: left; }
.profile-contact-row small { font: inherit; color: var(--muted); }


/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .profile-minimal { grid-template-columns: 150px minmax(0, 1fr); gap: 48px; }
  .profile-photo-wrap { width: 132px; }
  .brand { font-size: clamp(22px, 2.88vw, 34px); }
  .category-nav, .utility-nav { font-size: 11.2px; }
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 10px; }
  .project-info { grid-template-columns: 1fr; gap: 48px; }
  .info-columns { grid-template-columns: 1fr; gap: 60px; }
}

@media (max-width: 680px) {
  /* Mobile is intentionally re-composed, not a scaled-down desktop. */
  .site-header {
    padding: 16px 12px 20px;
    gap: 14px;
  }
  .header-left { gap: 14px; min-width: 0; }
  .brand {
    font-size: clamp(23px, 7.1vw, 30px);
    line-height: .9;
    white-space: normal;
    max-width: 270px;
  }
  .category-nav {
    gap: 5px;
    font-size: 10px;
    line-height: 1.02;
  }
  .utility-nav {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    padding-top: 1px;
    font-size: 10px;
    line-height: 1;
  }
  .instagram-link {
    width: 15px;
    height: 15px;
    margin-top: 1px;
  }

  /* SELECTED WORKS — one 16:9 work per row. */
  .selected-work {
    min-height: 0;
    padding: 12px 12px 22px;
    display: block;
  }
  .selected-media-frame {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .selected-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .selected-meta { padding-top: 0; }

  /* ALL WORKS — two columns. */
  .works { padding: 26px 12px 60px; }
  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 8px;
  }
  .media-frame { aspect-ratio: 16 / 9; }
  .work-meta {
    gap: 6px;
    padding-top: 6px;
    font-size: 10.5px;
    line-height: 1.18;
  }
  .work-title {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .work-index { font-size: 10px; }
  .empty-state { min-height: 28vh; font-size: 9px; }

  /* PROJECT DETAIL — one-column composition, 16:9 hero. */
  .project-page .site-header,
  .info-page .site-header { min-height: auto; }
  .project-hero {
    min-height: 0;
    padding: 12px 12px 30px;
  }
  .project-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
  }
  .project-video-meta {
    left: 12px;
    right: 12px;
    bottom: 10px;
    font-size: 10px;
  }
  .project-info {
    min-height: 0;
    padding: 30px 12px 58px;
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .project-title-wrap h1 {
    max-width: 100%;
    font-size: clamp(30px, 9.4vw, 46px);
    line-height: .95;
  }
  .project-subtitle {
    margin-top: 8px;
    max-width: 100%;
    font-size: 9.5px;
    line-height: 1.4;
  }
  .project-tags { margin-top: 10px; font-size: 8px; }
  .data-row {
    grid-template-columns: 110px minmax(0, 1fr);
    padding: 11px 0;
    font-size: 9px;
  }
  .project-nav {
    padding: 12px 12px 42px;
    gap: 20px;
    font-size: 9px;
  }
  .project-nav a { max-width: 47%; }

  /* PROFILE — compact editorial stack. */
  .profile-main { padding: 14px 12px 72px; }
  .profile-minimal {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 14px;
  }
  .profile-aside {
    display: flex;
    align-items: flex-start;
  }
  .profile-photo-wrap {
    width: 92px;
    margin: 0;
    aspect-ratio: .76;
  }
  .profile-heading {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    padding-bottom: 22px;
  }
  .profile-name-block h1 { font-size: clamp(36px, 11vw, 50px); }
  .jp-name { margin-top: 7px; font-size: 9px; }
  .profile-company-block { margin-top: 1px; padding-right: 4px; }
  .profile-company-logo { width: 40px; }
  .profile-bio-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 26px 0 32px;
  }
  .profile-japanese {
    max-width: 100%;
    font-size: 11px;
    line-height: 1.9;
  }
  .profile-english {
    max-width: 94%;
    font-size: 9px;
    line-height: 1.58;
  }
  .profile-contact { width: 100%; }
  .profile-contact-row {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
    padding: 9px 0;
    font-size: 9.5px;
  }

  /* CONTACT */
  .info-main { min-height: auto; padding: 18px 12px 72px; }
  .info-intro { min-height: 30vh; padding-top: 9px; }
  .eyebrow { margin-bottom: 42px; font-size: 8px; }
  .info-intro h1 { font-size: 13vw; }
  .contact-main .info-intro h1 { font-size: 10.5vw; }
  .contact-row {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    padding: 11px 0;
    font-size: 9.5px;
  }
}

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



.load-error { margin: 20px; color: var(--muted); font-size: 10px; text-transform: uppercase; }


/* ---------- Project detail media / stills / credits ---------- */
.project-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0c0c0b;
}
.project-media .project-video,
.project-player {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  object-position: center;
  background: #0c0c0b;
}
.project-stills {
  padding: 42px 20px 90px;
  border-top: 1px solid var(--line);
}
.project-stills[hidden],
.project-additional-videos[hidden],
.project-legal[hidden],
.project-credits[hidden] { display: none; }
.project-stills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.project-still {
  min-width: 0;
  margin: 0;
}
.project-still-wide { grid-column: 1 / -1; }
.project-still img,
.project-detail-loop {
  display: block;
  width: 100%;
  height: auto;
}
.project-detail-loop {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  background: #0c0c0b;
}
.project-additional-videos {
  padding: 12px 0 0;
  border-top: 0;
}
.project-additional-videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.project-additional-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #0c0c0b;
}
.project-legal {
  padding: 14px 20px 30px;
  border-top: 1px solid var(--line);
}
.project-legal p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.55;
  letter-spacing: .01em;
}
.project-credits {
  padding: 56px 20px 104px;
  display: grid;
  grid-template-columns: minmax(120px, 220px) minmax(0, 1fr);
  column-gap: clamp(48px, 8vw, 140px);
  border-top: 1px solid var(--line);
}
.project-credits-heading {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.project-credits-list {
  align-self: start;
  width: min(100%, 860px);
}
.credit-row {
  display: grid;
  grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
  gap: 28px;
  padding: 0 0 5px;
  margin: 0 0 5px;
  border: 0;
  line-height: 1.35;
}
.credit-row span:first-child {
  color: var(--muted);
  font-size: 7.2px;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.credit-row span:last-child {
  color: var(--fg);
  font-size: 11px;
  line-height: 1.45;
  text-align: left;
  text-transform: none;
}

@media (max-width: 680px) {
  .project-media { aspect-ratio: 16 / 9; }
  .project-stills { padding: 30px 12px 58px; }
  .project-stills-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .project-still-wide { grid-column: auto; }
  .project-additional-videos {
    padding: 8px 0 0;
  }
  .project-additional-videos-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .project-legal {
    padding: 12px 12px 26px;
  }
  .project-legal p {
    font-size: 7.5px;
    line-height: 1.55;
  }
  .project-credits {
    display: block;
    padding: 42px 16px 72px;
  }
  .project-credits-heading {
    margin-bottom: 34px;
    font-size: 8px;
  }
  .project-credits-list {
    width: 100%;
  }
  .credit-row {
    display: block;
    padding: 0;
    margin: 0 0 8px;
  }
  .credit-row span:first-child {
    display: block;
    margin-bottom: 1.25px;
    font-size: 7.2px;
    line-height: 1.2;
  }
  .credit-row span:last-child {
    display: block;
    font-size: 12px;
    line-height: 1.42;
    text-align: left;
  }
}

/* ---------- Production home header v06 ---------- */
.home-page .home-header {
  min-height: 0;
  padding: 28px 20px 24px;
  align-items: flex-start;
  gap: 24px;
  isolation: isolate;
}

.home-page .home-header .header-left {
  flex: 1 1 auto;
  min-width: 0;
  gap: 0;
  margin: 0;
  padding: 0;
}

.home-page .home-brand {
  display: grid;
  grid-template-columns: max-content;
  justify-items: start;
  align-items: start;
  gap: 4.5px;
  width: max-content;
  max-width: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  line-height: 1;
}

.home-page .brand-name,
.home-page .brand-role {
  display: block;
  width: max-content;
  margin: 0;
  padding: 0;
  text-indent: 0;
  transform: none;
}

.home-page .brand-name {
  font-size: clamp(34px, 2.6vw, 50px);
  font-weight: 700;
  line-height: .86;
  letter-spacing: -0.052em;
  white-space: nowrap;
}

.home-page .brand-role {
  color: var(--muted);
  font-size: clamp(11px, .82vw, 15px);
  font-weight: 400;
  margin-left: 2px;
  line-height: 1;
  letter-spacing: .095em;
  white-space: nowrap;
}

.home-page .header-actions {
  display: grid;
  grid-template-columns: auto auto 20px 18px;
  align-items: center;
  justify-content: end;
  column-gap: 18px;
  height: 32px;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}

.home-page .profile-link,
.home-page .contact-link {
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  color: var(--fg);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: color .14s ease, opacity .14s ease;
}

.home-page .profile-link:hover,
.home-page .profile-link:focus-visible,
.home-page .contact-link:hover,
.home-page .contact-link:focus-visible {
  color: var(--fg);
}

.home-page .header-actions .instagram-link {
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  align-self: center;
  justify-self: center;
  color: var(--fg);
}

.home-page .menu-toggle {
  width: 18px;
  height: 16px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  align-self: center;
  justify-self: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.home-page .menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  margin: 0;
  background: currentColor;
  border-radius: 999px;
  transform-origin: center;
}

.home-page .menu-toggle:focus-visible {
  outline: 1px solid var(--muted);
  outline-offset: 5px;
}

.home-page .home-menu {
  position: absolute;
  z-index: 20;
  top: 72px;
  right: 20px;
  width: max-content;
  min-width: 156px;
  max-width: calc(100vw - 40px);
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: rgba(21, 20, 18, .95);
  border: 1px solid var(--line);
  border-radius: 0 0 0 22px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .20);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.home-page .home-menu[hidden] {
  display: none;
}

.home-page .home-menu a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-size: clamp(10px, .82vw, 12px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color .14s ease;
}

.home-page .home-menu a:hover,
.home-page .home-menu a:focus-visible,
.home-page .home-menu a.active {
  color: var(--fg);
}

@media (max-width: 680px) {
  .home-page .home-header {
    padding: 20px 12px 18px;
    gap: 10px;
  }

  .home-page .home-brand {
    gap: 3.5px;
    max-width: none;
  }

  .home-page .brand-name {
    font-size: clamp(25px, 7vw, 29px);
    line-height: .88;
    white-space: nowrap;
  }

  .home-page .brand-role {
    font-size: 9px;
    font-weight: 400;
    letter-spacing: .095em;
    margin-left: 2px;
  }

  .home-page .header-actions {
    grid-template-columns: auto auto 19px 15px;
    column-gap: 10px;
    height: 28px;
    margin: 0;
  }

  .home-page .profile-link,
  .home-page .contact-link {
    height: 28px;
    font-size: 9px;
  }

  .home-page .header-actions .instagram-link {
    width: 19px;
    height: 19px;
    margin: 0;
  }

  .home-page .menu-toggle {
    width: 15px;
    height: 14px;
    padding: 0;
  }

  .home-page .home-menu {
    top: 58px;
    right: 12px;
    width: max-content;
    min-width: 148px;
    max-width: calc(100vw - 24px);
    padding: 14px 14px 16px;
    border-radius: 0 0 0 18px;
  }

  .home-page .home-menu a {
    padding: 7px 0;
    font-size: 10px;
  }
}

@media (max-width: 390px) {
  .home-page .brand-name {
    font-size: 25px;
  }

  .home-page .header-actions {
    grid-template-columns: auto auto 18px 14px;
    column-gap: 8px;
  }

  .home-page .profile-link,
  .home-page .contact-link {
    font-size: 8.5px;
  }

  .home-page .header-actions .instagram-link {
    width: 18px;
    height: 18px;
  }

  .home-page .menu-toggle {
    width: 14px;
    height: 13px;
  }
}


/* Keep editorial title phrases intact across responsive widths. */
.project-title-wrap h1 { line-break: strict; word-break: normal; overflow-wrap: normal; }
.project-title-wrap .title-chunk { white-space: nowrap; }


/* ---------- Responsive project title / narrow viewport fix 20261003 ---------- */
@media (min-width: 681px) and (max-width: 1100px) {
  .home-page .home-header {
    padding: 24px 16px 20px;
    gap: 16px;
  }

  .home-page .brand-name {
    font-size: clamp(31px, 4vw, 39px);
  }

  .home-page .brand-role {
    font-size: 11px;
  }

  .home-page .header-actions {
    grid-template-columns: auto auto 19px 17px;
    column-gap: 12px;
    height: 30px;
  }

  .home-page .profile-link,
  .home-page .contact-link {
    height: 30px;
    font-size: 11px;
  }

  .home-page .header-actions .instagram-link {
    width: 19px;
    height: 19px;
  }

  .home-page .menu-toggle {
    width: 17px;
    height: 15px;
  }

  .home-page .home-menu {
    top: 66px;
    right: 16px;
  }

  .project-hero {
    padding: 16px 16px 36px;
  }

  .project-video-meta {
    left: 16px;
    right: 16px;
    bottom: 12px;
    font-size: 12px;
  }

  .project-info {
    padding: 36px 16px 72px;
    gap: 32px;
  }

  .project-title-wrap h1 {
    max-width: 100%;
    font-size: clamp(34px, 5vw, 46px);
    line-height: .96;
  }
}

@media (max-width: 680px) {
  .project-title-wrap h1 {
    font-size: clamp(28px, 8.2vw, 38px);
    line-height: .97;
  }
}

@media (max-width: 430px) {
  .project-title-wrap h1 {
    font-size: clamp(27px, 8vw, 34px);
  }
}
