:root {
  --bg: #090b0f;
  --bg-alt: #10131a;
  --surface: #151923;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f5f7;
  --text-muted: #98a2b3;
  --accent: #f0a83c;
  --accent-dim: rgba(240, 168, 60, 0.12);
  --accent-border: rgba(240, 168, 60, 0.42);
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "Cascadia Code", ui-monospace, Consolas, monospace;
  --max-w: 1240px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

figure {
  margin: 0;
}

dl,
dd {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #090b0f;
  padding: 0.65rem 1rem;
  font-weight: 700;
  z-index: 200;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 11, 15, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
}

.brand-dot {
  width: 9px;
  height: 9px;
  background: var(--accent);
  display: inline-block;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.96rem;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  padding-left: 0.65rem;
  border-left: 1px solid var(--line-strong);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.18s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  padding: 2px;
}

.lang-btn {
  background: transparent;
  color: var(--text-muted);
  border: 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.34rem 0.65rem;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.lang-btn.is-active {
  background: var(--accent);
  color: #090b0f;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  padding: 0 8px;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--text);
}

.mobile-drawer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 1rem 2rem 1.35rem;
  display: grid;
  gap: 0.85rem;
}

.mobile-drawer[hidden] {
  display: none;
}

.mobile-drawer a {
  font-size: 0.96rem;
  color: var(--text-muted);
  padding: 0.25rem 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.92rem 1.55rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #090b0f;
}

.btn-primary:hover {
  background: #f5b95b;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-watch {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent-border);
  padding: 0.8rem 1.35rem;
  font-size: 0.8rem;
  align-self: flex-start;
}

.btn-watch:hover {
  background: var(--accent);
  color: #090b0f;
}

.btn-disabled-state {
  background: var(--surface);
  color: var(--text-muted);
  border-color: var(--line-strong);
  cursor: default;
}

.btn-disabled-state:hover {
  transform: none;
  background: var(--surface);
}

/* Section 1 — Hero */
.section-hero {
  padding: 4.5rem 0 6.5rem;
  border-bottom: 1px solid var(--line);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.geo-line {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.65rem;
}

.accent-bar {
  width: 28px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-editorial h1 {
  margin: 0 0 1.4rem;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.4vw, 4.1rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--text);
}

.hero-sub {
  margin: 0 0 2.25rem;
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 44ch;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.1rem;
}

.hero-footnote {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* Hero Visual Composition (4 Real Frames) */
.hero-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 0.85rem;
  height: 460px;
  align-items: stretch;
}

.hero-mosaic figure {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}

.hero-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-mosaic figure:hover img {
  transform: scale(1.03);
}

.hero-mosaic figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.35rem 0.6rem 0.5rem;
  background: linear-gradient(to top, rgba(9, 11, 15, 0.9) 0%, transparent 100%);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
}

.hero-mosaic figcaption span {
  color: var(--accent);
  margin-right: 0.35rem;
}

.mosaic-lead {
  height: 100%;
}

.mosaic-stack {
  display: grid;
  grid-template-rows: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 0.85rem;
  min-width: 0;
  min-height: 0;
  height: 100%;
}

.mosaic-wide {
  height: 100%;
}

.mosaic-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.85rem;
  min-width: 0;
  min-height: 0;
  height: 100%;
}

.mosaic-square {
  height: 100%;
}

/* General Sections */
.section {
  padding: 6.5rem 0;
}

.section-header {
  margin-bottom: 4rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.header-top-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem 2rem;
  margin-bottom: 0.9rem;
}

.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.demo-disclaimer {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.section-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

/* Section 2 — Selected Work (Varied Editorial Compositions) */
.work-section {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}

.project-row {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--line);
}

.project-row:first-of-type {
  padding-top: 1rem;
}

.project-row:last-of-type {
  border-bottom: 0;
  padding-bottom: 1rem;
}

.project-index-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.proj-num {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
}

.proj-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--line-strong);
  color: var(--text-muted);
}

.proj-badge-res {
  border-color: var(--accent-border);
  background: var(--accent-dim);
  color: var(--accent);
}

.project-row h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.proj-concept {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 48ch;
}

.proj-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  padding: 1.15rem 0;
  margin-bottom: 1.75rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proj-specs dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.proj-specs dd {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.spec-highlight {
  color: var(--accent) !important;
}

.video-frame-vertical {
  width: 100%;
  max-width: 310px;
  margin: 0 auto;
  background: #040507;
  border: 1px solid var(--line-strong);
  padding: 6px;
}

.portfolio-video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #000;
}

/* Composition 01: Wide Diptych + Copy Left, 9:16 Video Right */
.project-suptek {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3rem;
  align-items: center;
}

.project-visual-split {
  display: grid;
  gap: 2.25rem;
}

.still-cluster-suptek {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.still-cluster-suptek figure,
.qilive-stills-pair figure,
.akko-strip figure,
.project-caixa-media figure,
.services-photo,
.about-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.still-cluster-suptek img,
.qilive-stills-pair img,
.akko-strip img,
.project-caixa-media img,
.services-photo img,
.about-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.still-large,
.still-inset {
  aspect-ratio: 4 / 3;
}

#proj-suptek .still-large img {
  object-position: center 55%;
}

#proj-suptek .still-inset img {
  object-position: center 50%;
}

/* Composition 02: Editorial Copy + Stills Pair Left, Video Right */
.project-qilive {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.project-qilive-copy {
  display: flex;
  flex-direction: column;
}

.qilive-stills-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.25rem;
  align-items: stretch;
}

.qilive-stills-pair figure {
  aspect-ratio: 4 / 3;
}

#proj-qilive .qilive-stills-pair figure:first-child img {
  object-position: center 42%;
}

#proj-qilive .qilive-stills-pair figure:last-child img {
  object-position: center 35%;
}

/* Composition 03: Video Left, Details & Hands Triptych Right */
.project-akko {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.project-akko-copy {
  display: flex;
  flex-direction: column;
}

.akko-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.25rem;
  align-items: stretch;
}

.akko-strip figure {
  aspect-ratio: 4 / 3;
}

#proj-akko .akko-strip figure:first-child img {
  object-position: center 45%;
}

#proj-akko .akko-strip figure:last-child img {
  object-position: center 65%;
}

/* Composition 04: Asymmetric 3-Column Closing Showcase */
.project-caixa {
  display: grid;
  grid-template-columns: 0.95fr 1fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.project-caixa-media {
  display: grid;
  gap: 1rem;
}

.caixa-main-still,
.caixa-sub-still {
  aspect-ratio: 4 / 3;
  width: 100%;
}

#proj-caixa .caixa-main-still img {
  object-position: center 60%;
}

#proj-caixa .caixa-sub-still img {
  object-position: center 56%;
}

.project-caixa-copy {
  display: flex;
  flex-direction: column;
}

.project-caixa-copy .proj-specs {
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

/* Section 3 — What I Produce */
.services-section {
  border-bottom: 1px solid var(--line);
}

.services-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4.5rem;
  align-items: start;
}

.services-aside h2 {
  margin: 0.9rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.services-lead {
  margin: 0 0 2rem;
  color: var(--text-muted);
  max-width: 36ch;
}

.services-photo {
  aspect-ratio: 4 / 3;
}

.editorial-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.editorial-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1.25rem;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.list-idx {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
}

.editorial-list h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.editorial-list p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Section 4 — Collaboration Process */
.process-section {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}

.process-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.75rem;
}

.step-rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.step-rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line-strong);
}

.step-rule span {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
}

.process-step h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.32rem;
  letter-spacing: -0.02em;
}

.process-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Section 5 — About */
.about-section {
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4.5rem;
  align-items: center;
}

.about-frame {
  aspect-ratio: 4 / 5;
  max-height: 520px;
}

.about-copy h2 {
  margin: 0.9rem 0 1.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.about-copy p {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
  font-size: 1.04rem;
  max-width: 52ch;
}

.about-meta {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Section 6 — Contact */
.contact-section {
  padding: 7rem 0;
  background: var(--bg-alt);
}

.contact-wrap {
  max-width: 920px;
}

.contact-headline {
  margin: 1rem 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.contact-sub {
  margin: 0 0 2.5rem;
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 52ch;
}

.contact-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.contact-secondary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.contact-secondary a {
  color: var(--text);
  border-bottom: 1px solid var(--accent-border);
  padding-bottom: 2px;
}

.contact-secondary a:hover {
  color: var(--accent);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}

/* Subtle Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-mosaic img {
    transition: none;
  }
}

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .hero-layout {
    gap: 2.5rem;
  }
  .project-suptek,
  .project-qilive,
  .project-akko,
  .project-caixa,
  .services-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .project-akko .project-player-col {
    order: 2;
  }
  .caixa-sub-still {
    width: 100%;
  }
  .project-caixa-copy .proj-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .container {
    padding: 0 1.35rem;
  }
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .section {
    padding: 4.5rem 0;
  }
  .process-track {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

@media (max-width: 600px) {
  .brand-tag {
    display: none;
  }
  .section-hero {
    padding: 2.75rem 0 4rem;
  }
  .hero-actions .btn,
  .contact-controls .btn {
    width: 100%;
  }
  .hero-mosaic {
    grid-template-columns: 1fr;
    height: auto;
  }
  .mosaic-stack {
    grid-template-rows: auto auto;
    height: auto;
  }
  .mosaic-pair {
    height: auto;
  }
  .mosaic-lead,
  .mosaic-wide {
    aspect-ratio: 4 / 3;
    height: auto;
  }
  .mosaic-square {
    aspect-ratio: 1 / 1;
    height: auto;
  }
  .still-cluster-suptek,
  .qilive-stills-pair,
  .akko-strip,
  .proj-specs,
  .project-caixa-copy .proj-specs {
    grid-template-columns: 1fr;
  }
}

/* Remote YouTube Unlisted & Pending Clearance State */
.video-frame-vertical {
  position: relative;
}

.video-embed-frame {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 0;
  background: #000;
}

.video-pending-state {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #040507;
}

.video-pending-state img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72);
}

.video-pending-badge {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.5rem 0.65rem;
  background: rgba(9, 11, 15, 0.88);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.35;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
}

