:root {
  --bg: #070a12;
  --bg-deep: #04060b;
  --surface: #0d1322;
  --surface-raised: #121b2e;
  --surface-soft: rgba(18, 27, 46, 0.66);
  --text: #eef4ff;
  --muted: #96a4bc;
  --line: #26324a;
  --cyan: #32e6e2;
  --cyan-soft: rgba(50, 230, 226, 0.15);
  --violet: #9b7bff;
  --violet-soft: rgba(155, 123, 255, 0.14);
  --signal: #75ff8a;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --display: "Arial Narrow", "Bahnschrift Condensed", "Segoe UI", sans-serif;
  --body: "Noto Sans JP", "Yu Gothic UI", "Hiragino Kaku Gothic ProN", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --shell: min(1200px, calc(100% - 48px));
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 82% 10%, rgba(155, 123, 255, 0.11), transparent 30%),
    radial-gradient(circle at 15% 40%, rgba(50, 230, 226, 0.06), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
  content: "";
  pointer-events: none;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

::selection {
  background: var(--cyan);
  color: var(--bg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

.site-frame {
  overflow-x: clip;
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: var(--shell);
  min-height: 88px;
  margin-inline: auto;
  background: rgba(7, 10, 18, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.brand small {
  padding-left: 10px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--display);
  place-items: center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -34px;
  left: 0;
  height: 2px;
  background: var(--cyan);
  content: "";
}

.language-switch {
  display: flex;
  justify-self: end;
  gap: 7px;
  align-items: center;
  color: var(--line);
  font-family: var(--mono);
  font-size: 11px;
}

.language-switch button {
  padding: 4px;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  color: var(--cyan);
}

.menu-toggle {
  display: none;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.02;
}

h1 {
  font-size: clamp(64px, 13vw, 184px);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 26px;
  font-size: clamp(38px, 5.5vw, 76px);
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 16px;
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: -0.025em;
}

p {
  color: var(--muted);
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  white-space: nowrap;
  border: 1px solid transparent;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--cyan);
  color: var(--bg);
}

.button--primary:hover {
  background: #83fffc;
}

.button--outline {
  border-color: var(--line);
  color: var(--text);
}

.button--outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.button--text {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.text-link:hover {
  color: var(--cyan);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  min-height: calc(100vh - 88px);
  padding-block: 84px 76px;
  gap: 70px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 4px;
  font-size: clamp(72px, 7.4vw, 94px);
  line-height: 0.94;
  white-space: nowrap;
}

.hero__copy {
  min-width: 0;
}

.hero__statement {
  margin-bottom: 22px;
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(22px, 2.8vw, 40px);
  line-height: 1.15;
}

.hero__intro {
  max-width: 620px;
  margin-bottom: 34px;
  font-size: 16px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__status {
  display: flex;
  margin-top: 50px;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 16px var(--signal);
}

.hero__media {
  position: relative;
}

.hero__media::before {
  position: absolute;
  z-index: -1;
  inset: -34px 28px 28px -34px;
  border: 1px solid rgba(50, 230, 226, 0.32);
  content: "";
}

.hero__meter {
  position: absolute;
  right: -28px;
  bottom: 28px;
  display: flex;
  gap: 5px;
}

.hero__meter span {
  width: 3px;
  height: 32px;
  background: var(--cyan);
}

.hero__meter span:nth-child(2) {
  height: 20px;
  background: var(--violet);
}

.hero__meter span:nth-child(3) {
  height: 12px;
}

.hero__rail {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  writing-mode: initial;
}

.hero__rail i {
  height: 1px;
  flex: 1;
  background: var(--line);
}

.video-poster {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.video-poster > img,
.video-poster > iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-poster::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(3, 5, 10, 0.9), transparent 48%),
    linear-gradient(110deg, rgba(50, 230, 226, 0.12), transparent 44%, rgba(155, 123, 255, 0.1));
  content: "";
  pointer-events: none;
}

.video-poster.is-playing::after,
.video-poster.is-playing .video-poster__meta,
.video-poster.is-playing .video-play {
  display: none;
}

.video-play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: rgba(5, 8, 15, 0.7);
  color: white;
  cursor: pointer;
  transform: translate(-50%, -50%);
  place-items: center;
  backdrop-filter: blur(12px);
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.video-play:hover {
  background: var(--cyan);
  color: var(--bg);
  transform: translate(-50%, -50%) scale(1.05);
}

.video-poster__meta {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 18px;
  left: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  font-family: var(--mono);
}

.video-poster__meta span {
  color: var(--cyan);
  font-size: 10px;
}

.video-poster__meta strong {
  font-size: 13px;
}

.about-strip {
  display: grid;
  grid-template-columns: 1.25fr 1fr auto;
  padding-block: 112px;
  gap: 60px;
  align-items: end;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-strip h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(36px, 4vw, 62px);
}

.about-strip > p {
  max-width: 520px;
  margin: 0;
}

.featured,
.selected,
.philosophy,
.career,
.release-feature,
.production-loop,
.project-index,
.career-story,
.skills-map {
  padding-block: 140px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: 70px;
  gap: 40px;
  align-items: flex-start;
}

.section-heading > :first-child {
  min-width: 0;
}

.section-heading h2 {
  margin: 0;
}

.section-heading--row {
  align-items: end;
}

.section-index {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.featured__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(340px, 0.7fr);
  gap: 72px;
  align-items: center;
}

.featured__visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.featured__visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  transition: transform 300ms ease;
}

.featured__visual:hover img {
  transform: scale(1.02);
}

.featured__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 10px;
  background: var(--cyan);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
}

.featured__story > p {
  margin-bottom: 34px;
}

.metric-list {
  margin: 0 0 36px;
  border-top: 1px solid var(--line);
}

.metric-list div {
  display: grid;
  grid-template-columns: 110px 1fr;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.metric-list dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.metric-list dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
}

.metric-list--large {
  margin-top: 44px;
}

.metric-list--large dd {
  font-size: 16px;
}

.selected {
  border-top: 1px solid var(--line);
}

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

.project-card > a {
  display: block;
  height: 100%;
  border: 1px solid var(--line);
  background: rgba(13, 19, 34, 0.56);
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.project-card > a:hover {
  border-color: var(--cyan);
  background: var(--surface);
  transform: translateY(-5px);
}

.project-card[data-tone="violet"] > a:hover {
  border-color: var(--violet);
}

.project-card__image {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  aspect-ratio: 16 / 9;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: saturate(0.78) contrast(1.06);
  transition: transform 280ms ease;
}

.project-card > a:hover .project-card__image img {
  transform: scale(1.025);
}

.project-card__signal {
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.project-card__body {
  padding: 30px;
}

.project-card__meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 38px;
  gap: 20px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.project-card__meta > span:first-child {
  color: var(--cyan);
}

.project-card[data-tone="violet"] .project-card__meta > span:first-child {
  color: var(--violet);
}

.project-card h3 {
  margin-bottom: 18px;
}

.project-card p {
  min-height: 56px;
  margin-bottom: 28px;
}

.signal-card {
  padding: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(255, 255, 255, 0.04) 50%, transparent 50.2%),
    var(--bg-deep);
}

.signal-card__top,
.signal-card__axis {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.signal-card__top span:first-child {
  color: var(--cyan);
}

.signal-bars {
  display: flex;
  height: 132px;
  margin-block: 20px;
  align-items: center;
  gap: 4px;
}

.signal-bars i {
  width: 100%;
  height: var(--h);
  background: linear-gradient(to top, var(--violet), var(--cyan));
  opacity: 0.82;
}

.music-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  padding-block: 130px;
  gap: 80px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.music-feature h2 {
  max-width: 650px;
}

.music-feature__copy > p {
  max-width: 580px;
  margin-bottom: 34px;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow li {
  min-height: 270px;
  padding: 26px 22px;
  border-right: 1px solid var(--line);
}

.workflow li:last-child {
  border-right: 0;
}

.workflow li > span {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 70px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.workflow strong {
  display: block;
  margin-bottom: 16px;
  font-family: var(--display);
  font-size: 24px;
}

.workflow p {
  margin: 0;
  font-size: 13px;
}

.career {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 80px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.capability-grid article {
  min-height: 230px;
  padding: 12px 28px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-grid article > span,
.decision-grid article > span,
.skills-map article > span,
.loop-diagram div > span {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 70px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.capability-grid h3 {
  margin-top: 8px;
  font-size: 26px;
}

.page-hero {
  min-height: 560px;
  padding-block: 118px 100px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 1150px;
  margin-bottom: 36px;
  font-size: clamp(58px, 8.7vw, 126px);
}

.page-hero > p:last-child {
  max-width: 650px;
  margin-left: auto;
  font-size: 18px;
}

.page-hero--music h1 {
  color: transparent;
  -webkit-text-stroke: 1px var(--text);
}

.filter-row {
  display: flex;
  margin-bottom: 60px;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-row button {
  padding: 10px 13px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  cursor: pointer;
}

.filter-row button:hover,
.filter-row button[aria-pressed="true"] {
  border-color: var(--cyan);
  background: var(--cyan-soft);
  color: var(--cyan);
}

[data-project-filter][hidden] {
  display: none;
}

.music-manifesto,
.profile-grid,
.case-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  padding-block: 120px;
  gap: 90px;
  border-bottom: 1px solid var(--line);
}

.music-manifesto h2,
.profile-copy h2,
.career-story h2,
.case-section h2 {
  font-size: clamp(36px, 4.6vw, 64px);
}

.music-manifesto > p {
  max-width: 680px;
  align-self: end;
  font-size: 18px;
}

.release-feature .video-poster {
  min-height: 520px;
}

.release-copy {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  gap: 50px;
}

.release-copy p {
  max-width: 760px;
}

.loop-diagram {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 70px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.loop-diagram div {
  position: relative;
  min-height: 170px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.loop-diagram div:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -12px;
  z-index: 2;
  display: grid;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  color: var(--cyan);
  content: "→";
  font-size: 11px;
  transform: translateY(-50%);
  place-items: center;
}

.loop-diagram strong {
  display: block;
  margin-top: 74px;
  font-size: 14px;
}

.tool-relations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.tool-relations article {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.tool-relations h3 {
  font-size: 24px;
}

.channel-links {
  padding-bottom: 130px;
}

.channel-links > a {
  display: flex;
  justify-content: space-between;
  padding: 23px 0;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(26px, 4vw, 54px);
  transition:
    padding 160ms ease,
    color 160ms ease;
}

.channel-links > a:last-child {
  border-bottom: 1px solid var(--line);
}

.channel-links > a:hover {
  padding-inline: 16px;
  color: var(--cyan);
}

.profile-mark {
  position: relative;
  display: grid;
  min-height: 420px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 70% 28%, var(--violet-soft), transparent 34%),
    linear-gradient(140deg, var(--surface), var(--bg-deep));
  place-items: center;
}

.profile-mark > span {
  color: transparent;
  font-family: var(--display);
  font-size: 210px;
  font-weight: 900;
  line-height: 1;
  -webkit-text-stroke: 1px var(--cyan);
}

.profile-mark i {
  position: absolute;
  top: 20%;
  right: 18%;
  width: 72px;
  height: 72px;
  border: 1px solid var(--violet);
  border-radius: 50%;
}

.profile-mark small {
  position: absolute;
  right: 20px;
  bottom: 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.profile-copy {
  align-self: center;
}

.profile-copy > p:last-child {
  max-width: 700px;
  font-size: 18px;
}

.career-story {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 90px;
  border-bottom: 1px solid var(--line);
}

.career-story__body p {
  margin-bottom: 30px;
  font-size: 18px;
}

.skills-map__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.skills-map article {
  min-height: 240px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.skills-map h3 {
  margin-top: 58px;
}

.case-hero {
  padding-block: 112px 96px;
  border-bottom: 1px solid var(--line);
}

.case-hero__meta {
  display: flex;
  margin-bottom: 50px;
  gap: 28px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.case-hero__meta span:first-child {
  color: var(--cyan);
}

.case-hero h1 {
  max-width: 1100px;
  margin-bottom: 50px;
  font-size: clamp(58px, 9.8vw, 140px);
}

.case-hero__intro {
  max-width: 820px;
  margin-left: auto;
  color: var(--text);
  font-size: clamp(19px, 2.4vw, 30px);
  line-height: 1.5;
}

.case-hero__links {
  display: flex;
  justify-content: flex-end;
  margin-top: 48px;
  gap: 12px;
}

.case-media {
  padding-block: 72px;
  border-bottom: 1px solid var(--line);
}

.case-media > img {
  width: 100%;
  max-height: 760px;
  border: 1px solid var(--line);
  object-fit: cover;
  object-position: top;
  box-shadow: var(--shadow);
}

.case-media--signal .signal-card {
  padding: 38px;
}

.case-media--signal .signal-bars {
  height: 330px;
}

.case-section__body {
  max-width: 760px;
}

.case-section__body > p {
  font-size: 18px;
}

.credit-note {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
}

.credit-note span {
  color: var(--muted);
}

.credit-note a:hover {
  color: var(--cyan);
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.decision-grid article {
  min-height: 210px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.decision-grid h3 {
  margin-top: 40px;
  font-size: 23px;
}

.before-after {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
}

.before-after article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.before-after > div {
  display: grid;
  width: 54px;
  color: var(--cyan);
  place-items: center;
}

.before-after article > span {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 10px;
}

.before-after h3 {
  margin-top: 64px;
  font-size: 25px;
}

.privacy-badge {
  display: inline-flex;
  margin-top: 30px;
  padding: 12px 14px;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(117, 255, 138, 0.35);
  color: var(--signal);
  font-family: var(--mono);
  font-size: 10px;
}

.sdlc-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.sdlc-flow div {
  min-height: 150px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sdlc-flow span {
  display: block;
  margin-bottom: 8px;
  color: var(--violet);
  font-family: var(--mono);
  font-size: 70px;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 9px;
}

.sdlc-flow strong {
  font-size: 13px;
}

.site-footer {
  width: var(--shell);
  margin-inline: auto;
  padding-block: 110px 32px;
  border-top: 1px solid var(--line);
}

.site-footer h2 {
  max-width: 860px;
  margin-bottom: 70px;
}

.contact-link {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 26px 0;
  align-items: center;
  gap: 24px;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--cyan);
  font-family: var(--display);
  font-size: clamp(28px, 5.5vw, 78px);
  letter-spacing: -0.035em;
  text-align: left;
  cursor: pointer;
  transition:
    color 160ms ease,
    border-color 160ms ease;
}

.contact-link:hover {
  border-color: var(--cyan);
  color: #83fffc;
}

.mail-icon {
  position: relative;
  width: clamp(42px, 5vw, 68px);
  height: clamp(30px, 3.5vw, 48px);
  flex: 0 0 auto;
  border: 2px solid currentColor;
}

.mail-icon::before {
  position: absolute;
  top: -2px;
  left: 50%;
  width: 62%;
  height: 62%;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateX(-50%) rotate(45deg);
  transform-origin: center;
}

body.contact-modal-open {
  overflow: hidden;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  padding: 24px;
  background: rgba(2, 4, 9, 0.82);
  backdrop-filter: blur(14px);
  place-items: center;
}

.contact-modal__panel {
  position: relative;
  width: min(680px, 100%);
  overflow: hidden;
  padding: clamp(30px, 6vw, 64px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 90% 10%, rgba(155, 123, 255, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(18, 27, 46, 0.98), rgba(7, 10, 18, 0.99));
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.62);
}

.contact-modal__panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--violet), transparent);
  content: "";
}

.contact-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(7, 10, 18, 0.72);
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  place-items: center;
}

.contact-modal__close:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.contact-modal h2 {
  max-width: 540px;
  margin-bottom: 20px;
  font-size: clamp(36px, 6vw, 64px);
}

.contact-modal__note {
  max-width: 560px;
  margin-bottom: 38px;
}

.contact-address {
  display: block;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: clamp(18px, 3.5vw, 30px);
  overflow-wrap: anywhere;
}

.contact-modal__actions {
  display: flex;
  margin-top: 32px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 48px;
  gap: 30px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.footer-bottom div {
  display: flex;
  gap: 22px;
}

.footer-bottom a:hover {
  color: var(--cyan);
}

@media (max-width: 980px) {
  :root {
    --shell: min(100% - 36px, 820px);
  }

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

  .site-nav {
    position: absolute;
    top: 88px;
    right: 0;
    left: 0;
    display: none;
    padding: 24px;
    align-items: flex-start;
    background: rgba(7, 10, 18, 0.97);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    backdrop-filter: blur(18px);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 10px 0;
  }

  .site-nav a[aria-current="page"]::after {
    display: none;
  }

  .menu-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 0;
    background: none;
    gap: 4px;
    cursor: pointer;
    place-content: center;
  }

  .menu-toggle > span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 1px;
    background: var(--text);
  }

  .language-switch {
    margin-left: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 80px;
    gap: 90px;
  }

  .hero__copy {
    max-width: 760px;
  }

  .hero h1 {
    font-size: clamp(72px, 15vw, 128px);
  }

  .hero__media {
    width: min(820px, calc(100% - 34px));
    margin-left: 34px;
  }

  .about-strip,
  .featured__grid,
  .music-feature,
  .career,
  .music-manifesto,
  .profile-grid,
  .career-story,
  .case-section {
    grid-template-columns: 1fr;
  }

  .about-strip {
    gap: 32px;
  }

  .about-strip > p {
    max-width: 760px;
  }

  .featured__grid,
  .music-feature,
  .career,
  .profile-grid,
  .case-section {
    gap: 50px;
  }

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

  .workflow li {
    min-height: 220px;
    border-bottom: 1px solid var(--line);
  }

  .workflow li > span {
    margin-bottom: 46px;
  }

  .workflow li:nth-child(2n) {
    border-right: 0;
  }

  .workflow li:last-child {
    border-bottom: 0;
  }

  .release-feature .video-poster {
    min-height: 360px;
  }

  .loop-diagram {
    grid-template-columns: 1fr;
  }

  .loop-diagram div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .loop-diagram div:not(:last-child)::after {
    top: auto;
    right: 28px;
    bottom: -12px;
    transform: rotate(90deg);
  }

  .loop-diagram strong {
    margin-top: 26px;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: calc(100% - 28px);
  }

  body {
    font-size: 15px;
  }

  body::before {
    background-size: 42px 42px;
  }

  .site-header {
    min-height: 72px;
  }

  .site-nav {
    top: 72px;
  }

  .brand {
    font-size: 15px;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
  }

  .language-switch {
    gap: 3px;
  }

  .language-switch button {
    font-size: 10px;
  }

  h2 {
    font-size: clamp(34px, 12vw, 52px);
  }

  .hero {
    min-height: auto;
    padding-block: 68px 74px;
    gap: 78px;
  }

  .hero h1 {
    font-size: clamp(58px, 21vw, 104px);
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__status {
    margin-top: 32px;
  }

  .hero__media {
    width: calc(100% - 18px);
    margin-left: 18px;
  }

  .hero__media::before {
    inset: -18px 18px 18px -18px;
  }

  .hero__rail {
    display: none;
  }

  .video-poster {
    min-height: 190px;
  }

  .video-play {
    width: 58px;
    height: 58px;
  }

  .video-poster__meta {
    right: 14px;
    bottom: 12px;
    left: 14px;
  }

  .about-strip {
    padding-block: 82px;
  }

  .featured,
  .selected,
  .philosophy,
  .career,
  .release-feature,
  .production-loop,
  .project-index,
  .career-story,
  .skills-map {
    padding-block: 96px;
  }

  .section-heading {
    margin-bottom: 46px;
    flex-direction: column;
  }

  .section-heading--row {
    align-items: flex-start;
  }

  .featured__story {
    padding-top: 10px;
  }

  .project-grid,
  .capability-grid,
  .tool-relations,
  .skills-map__grid,
  .decision-grid,
  .sdlc-flow {
    grid-template-columns: 1fr;
  }

  .project-card__body {
    padding: 24px;
  }

  .project-card__meta {
    margin-bottom: 26px;
    align-items: flex-start;
    flex-direction: column;
  }

  .project-card p {
    min-height: auto;
  }

  .signal-bars {
    height: 96px;
    gap: 3px;
  }

  .music-feature {
    grid-template-columns: 1fr;
    padding-block: 96px;
    gap: 54px;
  }

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

  .workflow li,
  .workflow li:nth-child(2n) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow li > span {
    margin-bottom: 28px;
  }

  .capability-grid article,
  .skills-map article {
    min-height: 200px;
  }

  .page-hero {
    min-height: auto;
    padding-block: 78px;
  }

  .page-hero h1,
  .case-hero h1 {
    font-size: clamp(48px, 15vw, 74px);
  }

  .page-hero > p:last-child {
    margin-left: 0;
  }

  .filter-row {
    flex-wrap: nowrap;
    margin-right: -14px;
    padding-right: 14px;
    overflow-x: auto;
  }

  .filter-row button {
    white-space: nowrap;
  }

  .music-manifesto,
  .profile-grid,
  .case-section {
    padding-block: 88px;
    gap: 44px;
  }

  .release-feature .video-poster {
    min-height: 200px;
  }

  .release-copy,
  .case-hero__links,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-hero__links .button {
    width: 100%;
  }

  .profile-mark {
    min-height: 320px;
  }

  .profile-mark > span {
    font-size: 150px;
  }

  .before-after {
    grid-template-columns: 1fr;
  }

  .before-after > div {
    width: auto;
    height: 54px;
    transform: rotate(90deg);
  }

  .case-media {
    padding-block: 44px;
  }

  .case-media--signal .signal-card {
    padding: 20px;
  }

  .case-media--signal .signal-bars {
    height: 180px;
  }

  .site-footer {
    padding-top: 84px;
  }

  .contact-link {
    font-size: clamp(24px, 8vw, 42px);
  }

  .contact-modal {
    padding: 14px;
  }

  .contact-modal__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-modal__actions .button {
    width: 100%;
  }

  .footer-bottom div {
    flex-wrap: wrap;
  }
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: rgba(7, 10, 18, 0.82);
  backdrop-filter: blur(12px);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease, border-color 160ms ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

@media (max-width: 680px) {
  .scroll-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
