:root {
  --v2-gold: #d7a65a;
  --v2-ivory: #f2eee5;
  --v2-ink: #080808;
  --v2-line: rgba(242, 238, 229, .16);
}

html { scroll-padding-top: 76px; overflow-x: clip; }

body {
  background: var(--v2-ink);
  text-rendering: geometricPrecision;
  overflow-x: clip;
}

[hidden] { display: none !important; }

.site-nav {
  height: 72px;
  padding-inline: clamp(18px, 2.8vw, 44px);
  background: linear-gradient(180deg, rgba(7,7,7,.86), rgba(7,7,7,.42) 72%, transparent);
  border-bottom-color: transparent;
  backdrop-filter: blur(12px) saturate(110%);
}

.site-nav.is-scrolled {
  background: rgba(7,7,7,.86);
  border-bottom-color: var(--v2-line);
}

.brand { font-weight: 520; }
.brand span { opacity: .5; }

.landing-shell,
.landing { min-height: 100svh; }

.landing::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.12), transparent 32%, rgba(0,0,0,.52)),
    radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 48%), transparent 0 12%, rgba(0,0,0,.2) 38%, rgba(0,0,0,.68) 82%);
  z-index: 6;
}

.landing-video-shell {
  width: min(82vw, 1040px);
  height: min(74vh, 720px);
  filter: contrast(1.08) saturate(.78);
  opacity: .96;
}

.landing-video-shell::after {
  content: "";
  position: absolute;
  inset: -2px;
  border: 1px solid rgba(242,238,229,.12);
  box-shadow: 0 42px 120px rgba(0,0,0,.58);
  pointer-events: none;
}

.landing-bottom { z-index: 8; }
.scroll-cue { width: 48px; height: 48px; }
.scroll-cue::before { height: 30px; }

.hero {
  min-height: min(900px, 100svh);
  margin-top: 0;
  padding: clamp(120px, 15vh, 180px) clamp(22px, 4vw, 64px) clamp(52px, 8vh, 90px);
  grid-template-columns: minmax(0, 1.16fr) minmax(380px, .84fr);
  align-items: center;
  gap: clamp(42px, 6vw, 96px);
  box-shadow: none;
}

.hero-copy { padding-bottom: 0; }

.hero h1 {
  max-width: 1050px;
  font-size: clamp(64px, 9.2vw, 156px);
  line-height: .9;
  letter-spacing: 0;
}

.hero-sub {
  margin-top: clamp(38px, 6vh, 72px);
  grid-template-columns: minmax(150px, .32fr) minmax(300px, .68fr);
}

.identity { letter-spacing: 0; }
.intro { line-height: 1.8; }

.hero-visual {
  min-height: 610px;
  transform: none;
}

.hero-visual .feature-frame:first-child {
  transform: none;
}

.feature-frame {
  border-color: rgba(242,238,229,.18);
  box-shadow: 0 34px 90px rgba(0,0,0,.45);
}

.feature-frame img { transform: scale(1); }

#featured { padding-block: clamp(84px, 12vh, 144px); }

.section-head {
  max-width: 1480px;
  margin-inline: auto;
  margin-bottom: clamp(64px, 10vh, 112px);
}

.section-head h2 {
  margin-top: 18px;
  font-size: clamp(46px, 6.6vw, 104px);
  line-height: .94;
  letter-spacing: 0;
}

.section-note { line-height: 1.75; }

.featured-list {
  max-width: 1540px;
  margin-inline: auto;
  gap: 0;
}

.project-row {
  min-height: 110svh;
  grid-template-columns: minmax(0, 1.28fr) minmax(360px, .72fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
  padding-block: clamp(48px, 8vh, 96px);
  border-top-color: var(--v2-line);
}

.project-row:nth-child(even) {
  grid-template-columns: minmax(360px, .72fr) minmax(0, 1.28fr);
}

.project-row:nth-child(even) .project-media { order: 2; }
.project-row:nth-child(even) .project-info { order: 1; }

.project-media {
  top: clamp(92px, 12vh, 132px);
  aspect-ratio: 16 / 10;
  padding: clamp(10px, 1.4vw, 22px);
  border-radius: 8px;
  background: #101010;
  transform-style: preserve-3d;
}

.project-media > img,
.project-teaser {
  grid-area: 1 / 1;
}

.project-teaser {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 1px solid rgba(242,238,229,.16);
  border-radius: 6px;
  background: #050505;
}

.project-media.has-video .project-teaser { display: block; }
.project-media.has-video > img { display: none; }

.media-status {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(242,238,229,.18);
  border-radius: 4px;
  background: rgba(7,7,7,.76);
  backdrop-filter: blur(8px);
  color: var(--v2-ivory);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.media-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--v2-gold);
  box-shadow: 0 0 0 5px rgba(215,166,90,.13);
}

.sound-toggle {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 7;
  min-width: 104px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid rgba(242,238,229,.2);
  border-radius: 4px;
  background: rgba(7,7,7,.78);
  backdrop-filter: blur(10px);
  color: var(--v2-ivory);
  font: inherit;
  font-size: 11px;
  letter-spacing: 0;
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease;
}

.sound-toggle:hover,
.sound-toggle:focus-visible {
  color: var(--v2-gold);
  border-color: rgba(215,166,90,.72);
  background: rgba(14,12,9,.92);
  transform: translateY(-2px);
}

.sound-toggle.is-audible {
  color: #080808;
  border-color: var(--v2-gold);
  background: var(--v2-gold);
}

.project-info {
  min-height: 82svh;
  padding: clamp(24px, 3vw, 46px) 0;
  background: transparent;
}

.project-topline { border-bottom-color: var(--v2-line); }

.project-title {
  margin-top: clamp(48px, 8vh, 88px);
  font-size: clamp(52px, 6.4vw, 102px);
  line-height: .92;
  letter-spacing: 0;
}

.project-desc {
  max-width: 580px;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.7;
}

.project-metrics {
  margin-top: clamp(34px, 6vh, 62px);
  border-block: 1px solid var(--v2-line);
}

.metric { min-height: 82px; }
.metric strong { color: var(--v2-ivory); }
.tags { display: none; }

.highlights {
  margin-top: auto;
  padding-top: clamp(48px, 8vh, 90px);
}

.highlights > div {
  padding-block: 22px;
  border-top-color: var(--v2-line);
}

.highlights > div p { line-height: 1.65; }

.open-case {
  margin-top: 34px;
  padding: 12px 0;
}

#systems .systems-grid {
  max-width: 1480px;
  margin-inline: auto;
}

.system-item { border-top-color: var(--v2-line); }

.system-shot {
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  padding: clamp(10px, 1.2vw, 18px);
  background: #111;
}

.system-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 1px solid rgba(242,238,229,.14);
  border-radius: 4px;
  background: #070707;
}

.system-shot .project-teaser {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 1px solid rgba(242,238,229,.14);
  border-radius: 4px;
  background: #070707;
}

.system-shot.has-video .project-teaser { display: block; }
.system-shot.has-video > img { display: none; }

.system-shot.issue-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, .72fr);
  gap: 10px;
}

.issue-proof-side {
  min-width: 0;
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.system-shot.issue-proof img {
  min-width: 0;
  object-fit: cover;
  object-position: left top;
}

.system-item:hover .system-shot.issue-proof img {
  transform: none;
}

.system-copy .need { display: none; }

#index .index-list { max-width: 1480px; margin-inline: auto; display: flex; flex-direction: column; }
#index { padding-top: clamp(54px, 8vh, 90px); }
#index .index-row[data-case="preview-video-studio"] { order: 1; }
#index .index-row[data-case="lp-1v1-agent"] { order: 2; }
#index .index-row[data-case="ace-brain"] { order: 3; }
#index .index-row[data-case="lp-realtime-agent"] { order: 4; }
#index .index-row[data-case="product-knowledge-base"] { order: 5; }
#index .index-row[data-case="review-book-workflow"] { order: 6; }
#index .index-row { min-height: 132px; }
#index .index-title { font-size: clamp(25px, 3vw, 44px); }
.reveal.is-visible {
  transition-duration: .9s;
  transition-timing-function: cubic-bezier(.22, 1, .36, 1);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 120px;
  }

  .hero-visual { min-height: 520px; }

  .project-row,
  .project-row:nth-child(even) {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 68px;
  }

  .project-row:nth-child(even) .project-media,
  .project-row:nth-child(even) .project-info { order: initial; }

  .project-media { position: relative; top: auto; }
  .project-info { min-height: auto; }
}

@media (max-width: 640px) {
  .site-nav { height: 62px; }
  .nav-center, .nav-right { display: none; }
  .brand span { display: none; }

  .landing-video-shell {
    width: 94vw;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .landing-video-shell video {
    object-fit: contain;
    object-position: center;
    transform: none;
  }

  .landing-marquee { opacity: .3; }

  .hero { padding: 100px 18px 64px; }
  .hero h1 { font-size: clamp(52px, 16vw, 76px); }
  .hero-sub { grid-template-columns: 1fr; gap: 22px; }
  .identity { font-size: 38px; }
  .hero-visual { min-height: 400px; grid-template-rows: 1fr 120px; }

  section { padding-inline: 18px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .section-head h2 { font-size: clamp(42px, 13vw, 62px); }

  .project-row { padding-block: 54px; }
  .project-title { font-size: clamp(46px, 14vw, 68px); margin-top: 44px; }
  .project-info { padding-bottom: 0; }
  .project-metrics { grid-template-columns: 1fr; }
  .metric { border-left: 0 !important; border-top: 1px solid var(--v2-line); }
  .metric:first-child { border-top: 0; }
  .media-status { left: 16px; bottom: 16px; }
  .sound-toggle { right: 16px; bottom: 16px; min-width: 92px; }
  .system-shot.issue-proof { grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); gap: 7px; }
  .issue-proof-side { gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .project-teaser { display: none !important; }
  .project-media > img { display: block !important; }
  .system-shot > img { display: block !important; }
  .sound-toggle { display: none; }
}
