/* ============================================================
   ZOOM EVENT & MEDIA - demo website (light theme)
   Layout modeled after vokdamschina.cn · content from Credential 2026
   ============================================================ */

:root {
  --bg: #0d0d0f;
  --bg-2: #141417;
  --bg-3: #1a1a1e;
  --line: rgba(255, 255, 255, 0.11);
  --text: #f2f1f3;
  --muted: #a3a1a8;
  --red: #da1f25;
  --red-deep: #a51418;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 38px rgba(0, 0, 0, 0.5);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Be Vietnam Pro", "Segoe UI", sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --header-h: 84px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--red); color: #fff; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2; /* room for stacked Vietnamese diacritics on caps */
  letter-spacing: 0.01em;
}

.container { padding-left: var(--pad); padding-right: var(--pad); max-width: 1560px; margin: 0 auto; }

/* ---------- header ---------- */
/* transparent state sits over the dark hero photo: light text.
   scrolled state: solid light bar, dark text. */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 var(--pad);
  transition: background 0.35s ease, height 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(12, 12, 15, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  height: 68px;
}

.logo { display: flex; align-items: center; }
.logo-img { height: 48px; width: auto; display: block; transition: height 0.35s ease; }
.site-header.scrolled .logo-img { height: 40px; }
.logo .logo-on-light { display: none; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: block;
  position: relative;
  padding: 30px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}
.main-nav > li > a::after {
  content: "";
  position: absolute; left: 16px; right: 16px; bottom: 24px;
  height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.main-nav > li > a:hover::after, .main-nav > li > a.active::after { transform: scaleX(1); }
.main-nav > li > a:hover { color: #fff; }
.main-nav > li > a.active { color: var(--red); }

/* dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 340px;
  background: var(--red);
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}
.main-nav > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 13px 24px; color: #fff; transition: background 0.2s; }
.dropdown a:hover { background: rgba(0, 0, 0, 0.16); }
.dropdown strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.dropdown small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, 0.78); line-height: 1.5; margin-top: 2px; }

.lang-switch { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.18em; }
.lang-switch a { color: rgba(255, 255, 255, 0.66); transition: color 0.2s; }
.lang-switch a.on { color: #fff; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.lang-switch a:hover { color: #fff; }

/* burger */
.burger {
  display: none;
  width: 40px; height: 40px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 6px;
}
.burger span { display: block; height: 2px; width: 26px; background: #fff; margin: 0 auto; transition: transform 0.3s, opacity 0.3s, background 0.3s; }
.site-header.scrolled .burger span { background: var(--text); }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(10, 10, 13, 0.97);
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad);
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(26px, 7vw, 40px);
  font-weight: 600;
  text-transform: uppercase;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--red); }

/* body needs dark burger when mobile nav is open over light panel */
.burger.open span { background: var(--text); }

/* ---------- hero carousel (photography: stays dark with light type) ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
}
.hero-slide.active img { animation: kenburns 7s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 10, 0.92) 0%, rgba(8, 8, 10, 0.28) 45%, rgba(8, 8, 10, 0.6) 100%);
}
.hero-copy {
  position: absolute;
  left: var(--pad); right: var(--pad); bottom: clamp(64px, 12vh, 130px);
  z-index: 2;
  max-width: 900px;
}
.hero-copy .eyebrow { margin-bottom: 14px; }
.hero-copy h2 {
  font-size: clamp(38px, 6.2vw, 84px);
  font-weight: 700;
  color: #fff;
}
.hero-copy p { margin-top: 14px; max-width: 560px; color: rgba(255, 255, 255, 0.78); font-size: 15px; }
.hero-copy .btn { margin-top: 26px; color: #fff; border-color: rgba(255, 255, 255, 0.45); }

.hero-slide .hero-copy > * { opacity: 0; transform: translateY(26px); }
.hero-slide.active .hero-copy > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.hero-slide.active .hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
.hero-slide.active .hero-copy > *:nth-child(3) { animation-delay: 0.24s; }
.hero-slide.active .hero-copy > *:nth-child(4) { animation-delay: 0.36s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.hero-ui {
  position: absolute;
  right: var(--pad); bottom: clamp(64px, 12vh, 130px);
  z-index: 3;
  display: flex; align-items: center; gap: 18px;
}
.hero-count { font-family: var(--font-display); font-size: 14px; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.7); }
.hero-count b { color: #fff; font-size: 20px; }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrows button {
  width: 46px; height: 46px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff; font-size: 17px; cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.hero-arrows button:hover { background: var(--red); border-color: var(--red); }

.hero-progress {
  position: absolute; left: 0; bottom: 0; z-index: 3;
  height: 3px; background: var(--red); width: 0%;
}
.hero-progress.run { animation: prog 7s linear forwards; }
@keyframes prog { from { width: 0; } to { width: 100%; } }

/* ---------- video hero ---------- */
.hero-video::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(8, 8, 10, 0.9) 0%, rgba(8, 8, 10, 0.25) 45%, rgba(8, 8, 10, 0.55) 100%);
}
.hero-video .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-copy h1 { font-size: clamp(44px, 6.6vw, 96px); font-weight: 700; color: #fff; line-height: 1.16; }
.hero-video .hero-copy > * { opacity: 0; transform: translateY(26px); animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.hero-video .hero-copy > *:nth-child(2) { animation-delay: 0.15s; }
.hero-video .hero-copy > *:nth-child(3) { animation-delay: 0.3s; }

/* ---------- shared section bits ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section.tight { padding-top: clamp(40px, 6vw, 80px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--red); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2, .section-head h1 { font-size: clamp(32px, 4.6vw, 62px); font-weight: 700; margin-top: 12px; }
.section-head .lead { max-width: 430px; color: var(--muted); font-size: 15px; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text);
  padding: 15px 30px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.btn::after { content: "→"; transition: transform 0.25s; }
.btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn:hover::after { transform: translateX(5px); }
.btn.solid { background: var(--red); border-color: var(--red); color: #fff; }
.btn.solid:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn.light { color: #fff; border-color: rgba(255, 255, 255, 0.55); }

/* red CTA block */
.cta-red { background: var(--red); }
.cta-red h2 { color: #fff; }
.cta-red .btn.light:hover { background: #fff; border-color: #fff; color: var(--red); }

/* ---------- project grid ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card { position: relative; overflow: hidden; }
.card .card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
a.card .card-img::after {
  content: "→";
  position: absolute; right: 14px; bottom: 14px;
  width: 44px; height: 44px;
  background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  opacity: 0; transform: translateY(120%);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.35s;
}
a.card:hover .card-img::after { opacity: 1; transform: none; }
.card .card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.7s;
  filter: saturate(0.96);
}
.card:hover .card-img img { transform: scale(1.06); filter: saturate(1.05); }
.card .card-body { padding: 20px 4px 6px; }
.card .card-cat { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); }
.card h6 { font-size: 19px; font-weight: 600; margin-top: 6px; transition: color 0.2s; }
.card:hover h6 { color: var(--red); }
.card .card-meta { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* ---------- sticky split showcase (featured projects) ---------- */
.show { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.show-left { position: relative; }
.show-left-inner { position: sticky; top: 0; height: 100svh; }
.show-count {
  position: absolute; top: 96px; left: var(--pad); z-index: 2;
  font-family: var(--font-display);
  font-size: 14px; letter-spacing: 0.2em;
  color: var(--muted);
}
.show-count b { color: var(--red); font-size: 20px; }
.show-info {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 9% 0 var(--pad);
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}
.show-info.on { opacity: 1; transform: none; pointer-events: auto; }
.show-info h2 { font-size: clamp(30px, 3.2vw, 52px); font-weight: 700; margin-top: 10px; }
.show-info p { color: var(--muted); margin-top: 14px; max-width: 46ch; font-size: 15px; }
.show-link {
  display: inline-block; width: fit-content;
  margin-top: 22px; padding-bottom: 3px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--red);
  transition: color 0.2s;
}
.show-link::after { content: " →"; color: var(--red); }
.show-link:hover { color: var(--red); }
.show-links { display: flex; gap: 26px; flex-wrap: wrap; }
.show-links .show-link { margin-top: 0; }
.show-right {
  padding: clamp(40px, 6vw, 70px) var(--pad) clamp(40px, 6vw, 70px) 22px;
  display: grid; gap: 22px;
}
.show-right figure { position: relative; overflow: hidden; }
.show-right figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.show-right figcaption { display: none; }
@media (max-width: 900px) {
  .show { grid-template-columns: 1fr; }
  .show-left { display: none; }
  .show-right { padding: 24px var(--pad) 40px; gap: 14px; }
  .show-right figure::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to top, rgba(8, 8, 10, 0.85), transparent 60%);
  }
  .show-right figcaption {
    display: block;
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: 16px;
  }
  .show-right figcaption h3 { color: #fff; font-size: 19px; margin-top: 4px; }
}

/* ---------- editorial mosaic project grid (captions on image) ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.proj-grid .card.w8 { grid-column: span 8; }
.proj-grid .card.w6 { grid-column: span 6; }
.proj-grid .card.w4 { grid-column: span 4; }
.proj-grid .card.w12 { grid-column: 1 / -1; }
.proj-grid .card .card-img { aspect-ratio: 16 / 9; }
.proj-grid .card.w4 .card-img { aspect-ratio: 8 / 9; }
.proj-grid .card.w6 .card-img { aspect-ratio: 3 / 2; }
.proj-grid .card.w12 .card-img { aspect-ratio: 12 / 5; }
.proj-grid .card .card-img::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(8, 8, 10, 0.88) 0%, rgba(8, 8, 10, 0.12) 45%, transparent 65%);
}
.proj-grid a.card .card-img::after { z-index: 2; }
.proj-grid .card .card-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: clamp(16px, 1.8vw, 26px);
}
.proj-grid .card h6 { color: #fff; font-size: clamp(18px, 1.6vw, 24px); }
.proj-grid .card.w4 h6 { font-size: clamp(17px, 1.3vw, 20px); }
.proj-grid .card.w12 h6 { font-size: clamp(22px, 2vw, 30px); }
.proj-grid .card .card-meta { color: rgba(255, 255, 255, 0.78); }
.proj-grid .card:hover h6 { color: #fff; }
@media (max-width: 900px) {
  .proj-grid { grid-template-columns: 1fr; }
  .proj-grid .card { grid-column: auto; }
  .proj-grid .card .card-img { aspect-ratio: 16 / 10; }
  .proj-grid .card.w4 .card-img, .proj-grid .card.w6 .card-img, .proj-grid .card.w12 .card-img { aspect-ratio: 16 / 10; }
}

/* ---------- big statement (the single white block, ~20% of the page) ---------- */
.statement { text-align: left; background: #f4f3f1; color: #131316; }
.statement h2 {
  font-size: clamp(52px, 10.5vw, 168px);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}
.statement h2 .line { display: block; }
.statement h2 .ghost {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(23, 23, 27, 0.32);
}
.statement h2 .accent { color: var(--red); }
.statement p { margin-top: 26px; max-width: 520px; color: #5b5a62; }

/* ---------- services checkerboard (red / photo cells) ---------- */
.checker { display: grid; grid-template-columns: repeat(3, 1fr); }
.checker .cell { position: relative; aspect-ratio: 1 / 1; overflow: hidden; display: block; }
.checker .cell.red {
  background: var(--red); color: #fff;
  padding: clamp(24px, 2.6vw, 44px);
  display: flex; flex-direction: column;
  transition: background 0.25s;
}
.checker .cell.red:hover { background: var(--red-deep); }
.checker .cell.red h3 { font-size: clamp(20px, 1.9vw, 30px); color: #fff; }
.checker .cell.red p { margin-top: 12px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.86); max-width: 36ch; }
.checker .cell.red .cell-arrow {
  margin-top: auto;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.checker .cell.red:hover .cell-arrow { background: #fff; color: var(--red); border-color: #fff; }
.checker .cell.img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.checker .cell.img:hover img { transform: scale(1.05); }
@media (max-width: 900px) {
  .checker { grid-template-columns: 1fr; }
  .checker .cell { aspect-ratio: auto; }
  .checker .cell.red { min-height: 220px; padding: 28px; }
  .checker .cell.img { aspect-ratio: 16 / 10; }
}

/* ---------- featured project carousel (fullscreen, Vokdam style) ---------- */
.pcar { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: #101013; }
.pcar-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; pointer-events: none; }
.pcar-slide.active { opacity: 1; pointer-events: auto; }
.pcar-slide img { width: 100%; height: 100%; object-fit: cover; }
.pcar-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 10, 0.9) 0%, rgba(8, 8, 10, 0.2) 50%, rgba(8, 8, 10, 0.45) 100%);
}
.pcar-copy {
  position: absolute; left: var(--pad); right: var(--pad);
  bottom: clamp(120px, 18vh, 170px);
  z-index: 2; max-width: 880px;
}
.pcar-cat { font-size: 12px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: #fff; }
.pcar-copy h2 { font-size: clamp(34px, 5.4vw, 76px); font-weight: 700; color: #fff; margin-top: 10px; }
.pcar-copy p { margin-top: 12px; max-width: 560px; color: rgba(255, 255, 255, 0.8); font-size: 15px; }
.pcar-slide .pcar-copy > * { opacity: 0; transform: translateY(24px); }
.pcar-slide.active .pcar-copy > * { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.pcar-slide.active .pcar-copy > *:nth-child(2) { animation-delay: 0.1s; }
.pcar-slide.active .pcar-copy > *:nth-child(3) { animation-delay: 0.2s; }

.pcar-top {
  position: absolute; top: 26px; left: var(--pad); right: var(--pad);
  z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.pcar-top .eyebrow { color: #fff; }

.pcar-tabs {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 8, 10, 0.38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.pcar-tabs button {
  position: relative;
  padding: 20px 18px 24px;
  text-align: left;
  background: none; border: 0; cursor: pointer;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-display);
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.25s, background 0.25s;
}
.pcar-tabs button:first-child { border-left: 0; }
.pcar-tabs button:hover { color: #fff; }
.pcar-tabs button.on { color: #fff; }
.pcar-tabs button i {
  position: absolute; top: -1px; left: 0;
  height: 2px; width: 0; background: var(--red);
}
.pcar-tabs button.on i { animation: prog 6.5s linear forwards; }
@media (max-width: 900px) {
  .pcar-tabs { grid-template-columns: repeat(2, 1fr); }
  .pcar-tabs button { padding: 14px 16px 16px; font-size: 11.5px; }
  .pcar-tabs button:nth-child(3) { border-left: 0; }
  .pcar-copy { bottom: 150px; }
}

/* ---------- pillars (image tiles: light type over photo) ---------- */
.pillars { border-top: 1px solid var(--line); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.pillar {
  position: relative; overflow: hidden;
  min-height: 460px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 30px;
  isolation: isolate;
  color: #fff;
}
.pillar img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.pillar::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(8, 8, 10, 0.95) 8%, rgba(8, 8, 10, 0.25) 60%);
  transition: background 0.4s;
}
.pillar:hover img { transform: scale(1.05); }
.pillar h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; margin: 0 0 10px; }
.pillar p { font-size: 14px; color: rgba(255, 255, 255, 0.76); max-width: 380px; }
.pillar .pill-link {
  margin-top: 18px;
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: #fff;
}
.pillar .pill-link::after { content: " →"; color: var(--red); }

/* ---------- stats band (red block) ---------- */
.stats-band { background: var(--red); color: #fff; }
.stats-flex { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.stats-big { font-family: var(--font-display); font-weight: 700; font-size: clamp(64px, 9vw, 140px); line-height: 1; color: #fff; }
.stats-big small { display: block; font-size: clamp(15px, 1.4vw, 20px); letter-spacing: 0.24em; color: rgba(255, 255, 255, 0.92); font-weight: 500; margin-top: 6px; }
.stats-list { display: grid; grid-template-columns: repeat(2, minmax(180px, 1fr)); gap: 28px 60px; }
.stat b { font-family: var(--font-display); font-size: clamp(30px, 3vw, 44px); font-weight: 700; color: #fff; line-height: 1; }
.stat span { display: block; font-size: 13px; color: rgba(255, 255, 255, 0.8); margin-top: 6px; letter-spacing: 0.06em; }

/* ---------- clients marquee ---------- */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: 26px 0; }
.marquee-track {
  display: flex; gap: 64px; width: max-content;
  animation: scroll 40s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 500; letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  white-space: nowrap;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- page hero (subpages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(60px, 9vw, 120px)) 0 clamp(48px, 7vw, 90px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(218, 31, 37, 0.18), transparent 60%),
    var(--bg);
}
.page-hero h1 { font-size: clamp(40px, 6.4vw, 92px); font-weight: 700; margin-top: 14px; }
.page-hero .lead { margin-top: 18px; max-width: 640px; color: var(--muted); }

/* ---------- project detail page ---------- */
.detail-hero { position: relative; height: 62svh; min-height: 420px; margin-top: var(--header-h); overflow: hidden; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 10, 0.92) 0%, rgba(8, 8, 10, 0.15) 55%, rgba(8, 8, 10, 0.4) 100%);
}
.detail-hero-copy { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(30px, 5vw, 56px); z-index: 2; max-width: 900px; }
.detail-hero-copy .card-cat { color: #fff; }
.detail-hero-copy h1 { font-size: clamp(32px, 5vw, 64px); font-weight: 700; color: #fff; margin-top: 10px; }
.detail-hero-copy .card-meta { color: rgba(255, 255, 255, 0.75); margin-top: 10px; font-size: 14.5px; }

.detail-body { max-width: 720px; }
.detail-body p { color: var(--muted); font-size: 16px; line-height: 1.8; }
.detail-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

.detail-related { border-top: 1px solid var(--line); }
.detail-notfound { text-align: center; padding: clamp(60px, 10vw, 100px) 0; }
.detail-notfound h1 { font-size: clamp(28px, 4vw, 44px); }
.detail-notfound p { color: var(--muted); margin: 14px 0 26px; }

/* ---------- filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(30px, 4vw, 50px); }
.filters button {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  padding: 11px 22px;
  cursor: pointer;
  transition: all 0.2s;
}
.filters button:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.4); }
.filters button.on { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- service detail rows ---------- */
.svc-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 70px);
  align-items: center;
  padding: clamp(44px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--line);
}
.svc-row:last-child { border-bottom: 0; }
.svc-row.flip .svc-media { order: 2; }
.svc-media { overflow: hidden; }
.svc-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.7s; }
.svc-row:hover .svc-media img { transform: scale(1.04); }
.svc-copy h3 { font-size: clamp(26px, 3vw, 40px); font-weight: 700; margin: 0 0 16px; }
.svc-copy p { color: var(--muted); font-size: 15px; }
.svc-copy ul { margin-top: 18px; display: grid; gap: 9px; }
.svc-copy ul li { position: relative; padding-left: 22px; font-size: 14.5px; color: rgba(255, 255, 255, 0.85); }
.svc-copy ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 2px; background: var(--red); }

/* ---------- about ---------- */
.about-intro { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.about-intro h2 { font-size: clamp(30px, 4vw, 54px); font-weight: 700; }
.about-intro .big-year {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(70px, 9vw, 130px); color: var(--red); line-height: 1;
}
.about-intro p { color: var(--muted); margin-top: 18px; }
.about-media img { width: 100%; object-fit: cover; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.value-card {
  border: 1px solid var(--line);
  padding: clamp(28px, 3vw, 44px);
  background: var(--bg-2);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.value-card:hover { border-color: rgba(218, 31, 37,0.55); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value-card h3 { font-size: 22px; margin: 0 0 10px; padding-top: 14px; border-top: 2px solid var(--red); }
.value-card p { font-size: 14px; color: var(--muted); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.team-card { background: var(--bg-2); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s; }
.team-card:hover { border-color: rgba(218, 31, 37,0.5); box-shadow: var(--shadow-lg); }
.team-card .team-img { aspect-ratio: 1 / 1; overflow: hidden; background: #1a1a1e; display: flex; align-items: flex-end; justify-content: center; }
.team-card .team-img img { width: 88%; height: 94%; object-fit: contain; object-position: bottom; transition: transform 0.5s; }
.team-card:hover .team-img img { transform: scale(1.04); }
.team-card .team-body { padding: 20px 22px 24px; border-top: 2px solid var(--red); }
.team-card h6 { font-size: 18px; }
.team-card .role { font-size: 12.5px; color: var(--red); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; font-weight: 600; }
.team-card p { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* studio spec table */
.spec-table { width: 100%; border-collapse: collapse; background: var(--bg-2); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.spec-table th, .spec-table td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec-table th { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px; color: var(--red); }
.spec-table td:first-child { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; }
.spec-table tr:hover td { background: rgba(255, 255, 255, 0.04); }

/* ---------- news ---------- */
.news-card { border: 1px solid var(--line); background: var(--bg-2); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; }
.news-card:hover { border-color: rgba(218, 31, 37,0.5); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card .card-img { aspect-ratio: 16 / 9; overflow: hidden; }
.news-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.news-card:hover .card-img img { transform: scale(1.05); }
.news-card .news-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card .date { font-size: 12px; letter-spacing: 0.2em; color: var(--red); text-transform: uppercase; font-weight: 600; }
.news-card h6 { font-size: 19px; }
.news-card p { font-size: 14px; color: var(--muted); flex: 1; }
.news-card .more { font-family: var(--font-display); font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); }
.news-card .more::after { content: " →"; color: var(--red); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); }
.office { padding: 26px 0; border-bottom: 1px solid var(--line); }
.office h5 { font-size: 17px; letter-spacing: 0.08em; color: var(--text); }
.office p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.office a { color: var(--text); border-bottom: 1px solid rgba(255, 255, 255, 0.3); transition: color .2s, border-color .2s; }
.office a:hover { color: var(--red); border-color: var(--red); }

.contact-form { display: grid; gap: 18px; }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form .field { display: grid; gap: 7px; }
.contact-form label {
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text);
}
.contact-form ::placeholder { color: rgba(255, 255, 255, 0.4); }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 16px 18px;
  transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--red); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-thanks { padding: clamp(30px, 5vw, 54px) 0; text-align: center; }
.form-thanks h3 { font-size: clamp(24px, 2.6vw, 32px); }
.form-thanks p { color: var(--muted); margin-top: 12px; }
.cmodal-panel .form-thanks { padding: clamp(20px, 4vw, 34px) 0; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #0a0a0c; padding: clamp(56px, 7vw, 90px) 0 0; }
.footer-logo { height: 58px; width: auto; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(30px, 4vw, 60px); }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 16px; max-width: 320px; }
.footer-col h5 { font-size: 14px; letter-spacing: 0.18em; color: var(--red); margin-bottom: 18px; }
.footer-col p, .footer-col a { display: block; font-size: 14px; color: var(--muted); margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  margin-top: clamp(40px, 5vw, 70px);
  padding: 24px var(--pad);
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--muted);
}
.footer-bottom a:hover { color: var(--text); }
.footer-links { display: inline-flex; gap: 22px; }

/* ---------- floating hotline + consult buttons ---------- */
.fab-stack {
  position: fixed; right: 26px; bottom: 26px; z-index: 150;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.fab {
  position: relative;
  width: 62px; height: 62px;
  border-radius: 50%; border: 0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), background 0.25s;
}
.fab::after {
  content: "";
  position: absolute; inset: -2px;
  border-radius: 50%;
  border: 2px solid rgba(218, 31, 37, 0.65);
  animation: fabRing 2.6s ease-out infinite;
  pointer-events: none;
}
.fab-form::after { animation-delay: 1.3s; }
@keyframes fabRing {
  0% { transform: scale(1); opacity: 0.9; }
  75% { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}
.fab:hover { transform: scale(1.09); }
.fab-call { background: #fff; color: var(--red); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45); }
.fab-call svg { width: 28px; height: 28px; animation: fabShake 3.2s ease-in-out infinite; }
@keyframes fabShake {
  0%, 86%, 100% { transform: none; }
  88% { transform: rotate(-14deg); }
  91% { transform: rotate(11deg); }
  94% { transform: rotate(-8deg); }
  97% { transform: rotate(5deg); }
}
.fab-form { background: var(--red); box-shadow: 0 10px 28px rgba(218, 31, 37, 0.45); }
.fab-form:hover { background: var(--red-deep); }
.fab-form img { width: 30px; height: auto; }

.cmodal {
  position: fixed; inset: 0; z-index: 160;
  background: rgba(5, 5, 7, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.cmodal.open { opacity: 1; visibility: visible; }
.cmodal-panel {
  position: relative;
  width: min(560px, 100%);
  max-height: 90svh; overflow: auto;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  padding: clamp(24px, 4vw, 40px);
  transform: translateY(24px);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cmodal.open .cmodal-panel { transform: none; }
.cmodal-panel h3 { font-size: 26px; }
.cmodal-panel > p { color: var(--muted); font-size: 14px; margin: 8px 0 22px; }
.cmodal-close {
  position: absolute; top: 12px; right: 12px;
  width: 40px; height: 40px;
  background: none; border: 0;
  color: var(--muted); font-size: 26px; line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}
.cmodal-close:hover { color: #fff; }
@media (max-width: 640px) {
  .fab-stack { right: 16px; bottom: 16px; gap: 12px; }
  .fab { width: 56px; height: 56px; }
  .fab-form img { width: 27px; }
  .fab-call svg { width: 25px; height: 25px; }
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }

/* ---------- title mask reveal ---------- */
/* padding + negative margin expands the clip box so diacritics never get cut */
.tr { overflow: hidden; padding: 0.16em 0 0.1em; margin: -0.16em 0 -0.1em; }
.tr .tr-in {
  display: block;
  transform: translateY(130%);
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tr.in .tr-in { transform: none; }

/* ---------- scroll parallax (modern browsers) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .svc-media img, .about-media img, .pillar img, .show-right figure img {
      animation: plx linear both;
      animation-timeline: view();
    }
    @keyframes plx {
      from { transform: translateY(4%) scale(1.14); }
      to { transform: translateY(-4%) scale(1.14); }
    }
  }
}

/* ---------- cross-page transition (Chromium) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation-duration: 0.22s; }
::view-transition-new(root) { animation-duration: 0.32s; }

/* ---------- intro loader (once per session, homepage) ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.7s cubic-bezier(0.7, 0, 0.2, 1);
}
.loader img {
  width: clamp(170px, 24vw, 300px);
  opacity: 0; transform: scale(0.9);
  animation: loaderIn 0.7s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
@keyframes loaderIn { to { opacity: 1; transform: none; } }
.loader.off { transform: translateY(-100%); }
html.no-intro .loader { display: none; }
html:not(.no-intro) .hero-video .hero-copy > *:nth-child(1) { animation-delay: 0.85s; }
html:not(.no-intro) .hero-video .hero-copy > *:nth-child(2) { animation-delay: 1s; }
html:not(.no-intro) .hero-video .hero-copy > *:nth-child(3) { animation-delay: 1.15s; }

/* ---------- horizontal projects pan ---------- */
.hpan { overflow: hidden; }
.hpan-inner {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(40px, 6vw, 70px) 0;
}
.hpan .section-head { margin-bottom: clamp(26px, 3.5vw, 44px); }
.hpan-viewport { padding-left: var(--pad); }
.hpan-track {
  display: flex; gap: clamp(16px, 2vw, 28px);
  width: max-content;
  padding-right: var(--pad);
  will-change: transform;
}
.hpan-track .card { width: clamp(300px, 34vw, 470px); flex: none; }
@media (max-width: 767px) {
  .hpan-inner { min-height: 0; }
  .hpan-viewport { padding: 0 var(--pad); }
  .hpan-track { display: grid; grid-template-columns: 1fr; width: auto; padding-right: 0; will-change: auto; }
  .hpan-track .card { width: auto; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loader { display: none; }
  .hero-slide.active img,
  .hero-slide.active .hero-copy > *,
  .hero-progress.run,
  .marquee-track { animation: none !important; }
  .hero-slide img { transform: none; }
  .hero-slide .hero-copy > *,
  .hero-video .hero-copy > * { opacity: 1; transform: none; animation: none; }
  .pcar-slide .pcar-copy > * { opacity: 1; transform: none; animation: none; }
  .pcar-tabs button.on i { animation: none; width: 100%; }
  .fab::after { animation: none; opacity: 0; }
  .fab-call svg { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tr .tr-in { transform: none; transition: none; }
  .card .card-img img, .pillar img, .svc-media img,
  .news-card .card-img img, .team-card .team-img img { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .main-nav, .site-header .lang-switch { display: none; }
  .burger { display: flex; }
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar { min-height: 340px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: 1fr; }
  .svc-row.flip .svc-media { order: 0; }
  .about-intro, .contact-grid { grid-template-columns: 1fr; }
  .stats-list { grid-template-columns: repeat(2, 1fr); gap: 24px 30px; }
}
@media (max-width: 640px) {
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .hero-ui { display: none; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-form .row2 { grid-template-columns: 1fr; }
}
