.project-hero {
  padding: 42px var(--pad) 30px;
}
.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 52px;
}
.project-title {
  font-size: clamp(62px, 12vw, 200px);
  font-weight: 900;
  letter-spacing: -0.078em;
  line-height: 0.88;
  max-width: 1450px;
  overflow-wrap: anywhere;
}
.project-subtitle {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 36px;
  margin-bottom: 30px;
}
.project-subtitle p {
  max-width: 650px;
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: -0.025em;
  line-height: 1.35;
}


.project-cover {
  margin: 0 var(--pad);
  height: 35vw;
  max-height: 450px;
  overflow: hidden;
  position: relative;
}

.project-cover img {
  display: block;
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.project-cover.contain img {
  background: transparent;
}


.project-section {
  padding: 100px var(--pad);
}
.project-story {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 8vw;
}
.project-story h2 {
  font-size: clamp(30px, 4vw, 65px);
  line-height: 1;
  letter-spacing: -0.055em;
  margin-bottom: 30px;
}
.story-copy p {
  max-width: 750px;
  font-size: clamp(18px, 1.65vw, 25px);
  letter-spacing: -0.02em;
  line-height: 1.55;
  margin-bottom: 24px;
}
.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 45px;
}
.details dt {
  font-size: 12px;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 7px;
}
.details dd {
  margin: 0;
  font-size: 15px;
}
.project-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.project-gallery figure:nth-child(even) {
  margin-top: 100px;
}
.project-gallery figcaption {
  font-size: 13px;
  padding-top: 12px;
  color: #666;
}
.project-gallery img {
  max-height: 800px;
  object-fit: contain;
  width: 100%;
  background: #e8e8e8;
}
.cinema {
  background: #101010;
  color: #f4f4f4;
  padding: 80px var(--pad);
}
.cinema .section-head {
  border-color: #555;
}
.cinema h2 {
  font-size: clamp(30px, 5vw, 76px);
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 10px 0 30px;
}
.video-shell {
  position: relative;
  aspect-ratio: 16/9;
  background: #171717;
  overflow: hidden;
}
.video-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition:
    transform 0.8s,
    opacity 0.8s;
}
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  width: 100%;
  color: white;
}
.play-circle {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  border: 1px solid white;
  display: grid;
  place-items: center;
  background: #10101066;
  backdrop-filter: blur(6px);
  transition:
    transform 0.4s,
    background 0.4s;
  font-size: 14px;
}
.video-shell:hover .play-circle {
  transform: scale(1.12);
  background: var(--accent);
}
.video-shell:hover img {
  transform: scale(1.035);
  opacity: 1;
}
.video-shell iframe,
.video-shell video {
  width: 100%;
  height: 100%;
  border: 0;
  position: absolute;
  inset: 0;
}
.video-meta {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-top: 15px;
  font-size: 13px;
  color: #aaa;
}
.video-meta a {
  text-decoration: underline;
}
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  margin-top: 50px;
}
.video-grid h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin-bottom: 15px;
}
.next-project {
  padding: 90px var(--pad);
  background: var(--accent);
  color: #101010;
}
.next-project a {
  display: block;
}
.next-project h2 {
  font-size: clamp(40px, 8vw, 125px);
  line-height: 0.95;
  letter-spacing: -0.07em;
  margin-top: 25px;
  transition: transform 0.4s var(--ease);
}
.next-project a:hover h2 {
  transform: translateX(15px);
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  background: #beddff;
  padding: 65px var(--pad);
}
.metric-grid strong {
  display: block;
  font-size: clamp(60px, 8vw, 140px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.08em;
}
.metric-grid span {
  font-size: 14px;
  display: block;
  margin-top: 18px;
}
.ai-project {
  --accent: #3679de;
}
.ai-project .project-cover {
  background: #beddff;
}
.research-cover {
  min-height: 450px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  align-items: center;
}
.research-cover h2 {
  font-size: clamp(48px, 7vw, 100px);
  letter-spacing: -0.075em;
  line-height: 0.95;
}
.research-orbit {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.research-orbit span {
  padding: 15px 20px;
  border: 1px solid #101010;
  border-radius: 60px;
  font-size: 18px;
  transform: rotate(-3deg);
}
.research-orbit span:nth-child(even) {
  transform: rotate(3deg);
  background: #f4f4f4;
}
.workflow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 45px 0;
}
.workflow article {
  padding-top: 22px;
  border-top: 1px solid #999;
}
.workflow strong {
  font-size: 45px;
  letter-spacing: -0.05em;
}
.workflow h3 {
  font-size: 25px;
  letter-spacing: -0.04em;
  margin: 15px 0;
}
.workflow p {
  font-size: 16px;
  max-width: 400px;
}
.interface-study {
  background: #e8edf4;
  border: 1px solid #b6c1d1;
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 500px;
}
.study-sidebar {
  padding: 25px;
  background: #172a42;
  color: white;
}
.study-sidebar h3 {
  font-size: 23px;
  line-height: 1.1;
  margin-bottom: 35px;
}
.study-sidebar button {
  display: block;
  background: transparent;
  color: #c2cad5;
  padding: 12px 0;
  text-align: left;
  font-size: 14px;
  width: 100%;
}
.study-sidebar button[aria-selected="true"] {
  color: white;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.study-main {
  padding: 35px;
}
.study-main h3 {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.study-label {
  font-size: 12px;
  color: #546278;
  margin-bottom: 30px;
}
.study-chart {
  display: flex;
  align-items: end;
  height: 180px;
  gap: 12px;
  border-bottom: 1px solid #aab4c3;
  margin: 28px 0 15px;
}
.study-chart span {
  flex: 1;
  background: #4b83c1;
  min-height: 15px;
  position: relative;
  transition: height 0.6s var(--ease);
}
.study-chart span small {
  position: absolute;
  bottom: -25px;
  font-size: 12px;
  left: 50%;
  transform: translateX(-50%);
}
.study-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 35px;
}
.study-main textarea {
  width: 100%;
  min-height: 185px;
  background: white;
  border: 1px solid #b6c1d1;
  padding: 20px;
  resize: vertical;
  font-size: 16px;
  line-height: 1.6;
}
.study-status {
  font-size: 14px;
  color: #40556e;
  margin-top: 15px;
}
.demo-frame {
  width: 100%;
  height: 700px;
  border: 1px solid #b3b3b3;
  background: white;
  margin-top: 30px;
}
.green-project {
  --accent: #00ad78;
}
.green-project .project-cover img {
  height: 65vh;
}
.tech-note {
  padding: 22px 0;
  border-top: 1px solid #aaa;
  margin-top: 30px;
  max-width: 800px;
  font-size: 16px;
}
.terminal {
  padding: 35px;
  background: #0e1110;
  color: #c8ffa0;
  font-family: monospace;
  font-size: 16px;
  line-height: 1.8;
}
.terminal header {
  display: flex;
  justify-content: space-between;
  color: #8f9b8b;
  font-size: 13px;
  border-bottom: 1px solid #465041;
  padding-bottom: 15px;
  margin-bottom: 25px;
}
.terminal pre {
  white-space: pre-wrap;
  font-size: 16px;
  min-height: 200px;
}
.terminal-controls {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.terminal button,
.terminal input {
  background: #1b2419;
  color: #c8ffa0;
  border: 1px solid #59774d;
  padding: 10px 15px;
}
.terminal input {
  min-width: 0;
  width: 180px;
}
.terminal label {
  font-size: 14px;
  display: block;
  margin-top: 25px;
}
.code-block {
  font-size: 16px;
  background: #151515;
  color: #eee;
  padding: 30px;
  overflow: auto;
  line-height: 1.6;
  margin-top: 30px;
}
.about-section {
  padding: 80px var(--pad);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 7vw;
}
.about-section h1 {
  font-size: clamp(64px, 10vw, 170px);
  line-height: 0.88;
  letter-spacing: -0.075em;
  margin-bottom: 45px;
}
.about-section p {
  font-size: 22px;
  letter-spacing: -0.025em;
  max-width: 620px;
  margin-bottom: 25px;
}
.about-section img {
  width: 100%;
  margin-top: 80px;
}
.credentials {
  padding: 80px var(--pad);
  background: var(--accent);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 8vw;
}
.credentials h2 {
  font-size: 48px;
  letter-spacing: -0.05em;
  line-height: 1;
}
.credentials article {
  border-top: 1px solid #111;
  padding: 25px 0;
}
.credentials h3 {
  font-size: 30px;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.credentials p {
  font-size: 16px;
  margin-top: 10px;
}
.film-intro {
  padding: 65px var(--pad);
  background: #101010;
  color: white;
}
.film-intro h1 {
  font-size: clamp(70px, 12vw, 180px);
  letter-spacing: -0.075em;
  line-height: 0.9;
}
.film-intro p {
  margin-top: 30px;
  font-size: 22px;
  max-width: 650px;
}
.film-library {
  padding: 0 var(--pad) 90px;
  background: #101010;
  color: white;
}
.film-library .video-grid {
  margin: 0;
}
.film-library article {
  margin-top: 40px;
}
.film-library h2 {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.05em;
  margin-bottom: 16px;
}
