/* ============================================================
   VESPER — original studio demo (aesthetic study)
   Type: Bricolage Grotesque (display) + Schibsted Grotesk (text)
   Palette: warm monochrome, paper → ink
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,300..800&family=Schibsted+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --ink: #0a0a0b;
  --ink-2: #121214;
  --ink-3: #1a1a1d;
  --ink-card: #161618;

  --paper: #f1f0ea;
  --paper-2: #e6e4dc;
  --paper-3: #d8d6cc;
  --paper-card: #e9e7df;

  --text-dark: rgba(244, 243, 239, 0.92);
  --muted-dark: rgba(244, 243, 239, 0.50);
  --faint-dark: rgba(244, 243, 239, 0.30);
  --line-dark: rgba(244, 243, 239, 0.12);
  --line-dark-2: rgba(244, 243, 239, 0.07);

  --text-light: #15151a;
  --muted-light: rgba(20, 20, 26, 0.55);
  --faint-light: rgba(20, 20, 26, 0.32);
  --line-light: rgba(20, 20, 26, 0.14);

  --live: #7ee0a0;

  --maxw: 85%;
  --pad: clamp(20px, 5vw, 64px);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;

  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-text: 'Schibsted Grotesk', sans-serif;

  --ease: cubic-bezier(0.4, 0.05, 0.1, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-text);
  background: var(--ink);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

::selection {
  background: var(--paper);
  color: var(--ink);
}

/* ---------- layout helpers ---------- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.section {
  padding-block: clamp(72px, 11vh, 150px);
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform .4s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
}

.btn .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  transition: transform .4s var(--ease);
}

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

.btn-solid {
  background: var(--paper);
  color: var(--ink);
}

.btn-solid:hover {
  background: #fff;
}

.btn-ghost-light {
  border-color: var(--line-light);
  color: var(--text-light);
}

.btn-ghost-light:hover {
  background: var(--text-light);
  color: var(--paper);
}

.btn-ghost-dark {
  border-color: var(--line-dark);
  color: var(--text-dark);
}

.btn-ghost-dark:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.btn .arrow {
  transition: transform .4s var(--ease);
}

.btn:hover .arrow {
  transform: translate(3px, -3px);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px var(--pad);
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease), color .3s var(--ease);
  border-bottom: 1px solid transparent;
  color: var(--text-dark);
}

.nav.on-light:not(.scrolled) {
  color: var(--text-light);
}

.nav.scrolled {
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line-dark);
  color: var(--text-dark);
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  height: 85px;
  width: auto;
  display: block;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 5px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
}

.nav.on-light:not(.scrolled) .nav-links {
  background: rgba(20, 20, 26, 0.05);
  border-color: rgba(20, 20, 26, 0.10);
}

.nav.on-light:not(.scrolled) .nav-links a:hover {
  background: rgba(20, 20, 26, 0.08);
}

.nav.on-light:not(.scrolled) .btn-solid {
  background: var(--ink);
  color: var(--paper);
}

.nav.on-light:not(.scrolled) .btn-solid:hover {
  background: #000;
}

.nav.scrolled .nav-links {
  background: var(--ink-3);
  border-color: var(--line-dark);
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
  transition: background .25s var(--ease), color .25s var(--ease);
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav.scrolled .nav-links a:hover {
  background: var(--paper);
  color: var(--ink);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-burger {
  display: none;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-cta .btn {
    display: none;
  }

  .nav-burger {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    padding: 6px;
    color: inherit;
    cursor: pointer;
  }

  .nav-burger span {
    width: 24px;
    height: 2px;
    background: currentColor;
    display: block;
    transition: transform .35s, opacity .25s;
  }
}

/* ============================================================
   MOBILE OFF-CANVAS MENU
   ============================================================ */

/* Overlay backdrop */
.mob-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

body.mob-open .mob-overlay {
  opacity: 1;
  visibility: visible;
}

/* Prevent body scroll when menu is open */
body.mob-open {
  overflow: hidden;
}

/* Panel */
.mob-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 90vw);
  background: #000;
  color: #fff;
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.46s cubic-bezier(0.4, 0.05, 0.1, 1);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

body.mob-open .mob-menu {
  transform: translateX(0);
}

/* Header row inside the menu */
.mob-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex: none;
}

.mob-brand img {
  height: 36px;
  width: auto;
  border-radius: 6px;
}

/* Close button */
.mob-close {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex: none;
}

.mob-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Nav list */
.mob-nav {
  flex: 1;
  padding: 8px 0;
}

.mob-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mob-item:last-child {
  border-bottom: none;
}

/* Each top-level link / button */
.mob-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 22px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: rgba(255, 255, 255, 0.92);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  transition: color 0.2s, padding-left 0.2s;
  line-height: 1;
}

a.mob-link {
  text-decoration: none;
}

.mob-link:hover {
  color: #fff;
  padding-left: 28px;
}

.mob-has-sub.open>.mob-link {
  color: #fff;
}

/* Dropdown arrow */
.mob-arrow {
  flex: none;
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.38s cubic-bezier(0.4, 0.05, 0.1, 1),
    color 0.2s;
}

.mob-toggle[aria-expanded="true"] .mob-arrow {
  transform: rotate(180deg);
  color: rgba(255, 255, 255, 0.85);
}

/* Accordion sub-panel */
.mob-sub {
  max-height: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.035);
  border-top: 1px solid transparent;
  transition: max-height 0.42s cubic-bezier(0.4, 0.05, 0.1, 1),
    border-color 0.25s;
}

.mob-has-sub.open .mob-sub {
  max-height: 600px;
  border-top-color: rgba(255, 255, 255, 0.06);
}

/* Sub-links */
.mob-sub-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 38px;
  font-size: 14.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: color 0.2s, padding-left 0.2s, background 0.2s;
}

.mob-sub-link:last-child {
  border-bottom: none;
}

.mob-sub-link::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  flex: none;
  transition: background 0.2s;
}

.mob-sub-link:hover {
  color: #fff;
  padding-left: 44px;
  background: rgba(255, 255, 255, 0.04);
}

.mob-sub-link:hover::before {
  background: rgba(255, 255, 255, 0.7);
}

/* Footer CTA */
.mob-footer {
  padding: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex: none;
}

.mob-cta {
  width: 100%;
  justify-content: center;
  background: #fff;
  color: #000;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 22px;
  border-radius: 100px;
  transition: background 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mob-cta:hover {
  background: #f1f0ea;
  transform: translateY(-2px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--paper);
  color: var(--text-light);
  padding-top: clamp(120px, 16vh, 180px);
  padding-bottom: clamp(40px, 6vh, 70px);
  position: relative;
  overflow: hidden;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: stretch;
}

.hero-left {
  display: flex;
  flex-direction: column;
}

.hero-sliders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  height: clamp(460px, 64vh, 640px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 11%, #000 89%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 11%, #000 89%, transparent 100%);
}

.hero-col {
  position: relative;
  overflow: hidden;
}

.hero-col-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
  will-change: transform;
}

.hero-up {
  animation: hero-scroll-up var(--hero-dur, 34s) linear infinite;
}

.hero-down {
  animation: hero-scroll-down var(--hero-dur, 34s) linear infinite;
}

.hero-sliders:hover .hero-col-track {
  animation-play-state: paused;
}

@keyframes hero-scroll-up {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

@keyframes hero-scroll-down {
  from {
    transform: translateY(-50%);
  }

  to {
    transform: translateY(0);
  }
}

.hero-tile {
  flex: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(20, 20, 26, 0.10);
  border: 1px solid rgba(20, 20, 26, 0.06);
}

.hero-tile .ph {
  width: 100%;
  height: 100%;
}

/* .hero-tile .ph-label { background: rgba(241,240,234,0.7); border-color: rgba(20,20,26,0.12); color: rgba(20,20,26,0.6); } */
.hero-tile {
  overflow: hidden;
  border-radius: 18px;
}

.hero-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 15ch;
  margin-top: clamp(28px, 5vh, 56px);
  text-wrap: balance;
}

.hero-headline .dim {
  color: var(--faint-light);
}

.hero-foot {
  margin-top: auto;
  padding-top: clamp(36px, 5vh, 56px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.hero-foot p {
  max-width: 42ch;
  color: var(--muted-light);
  font-size: 16px;
  line-height: 1.55;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted-light);
}

.live .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(126, 224, 160, .6);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(126, 224, 160, .5)
  }

  70% {
    box-shadow: 0 0 0 8px rgba(126, 224, 160, 0)
  }

  100% {
    box-shadow: 0 0 0 0 rgba(126, 224, 160, 0)
  }
}

@media (max-width: 900px) {
  .hero-wrap {
    grid-template-columns: 1fr;
    gap: clamp(34px, 5vh, 56px);
  }

  .hero-sliders {
    height: clamp(360px, 52vh, 460px);
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero-up,
  .hero-down {
    animation: none;
  }

  .hero-sliders {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-col {
    overflow: auto;
  }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--paper);
  color: var(--text-light);
  padding-top: clamp(30px, 5vh, 50px);
}

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.sec-head .eyebrow {
  color: var(--muted-light);
}

.sec-head.dark .eyebrow {
  color: var(--muted-dark);
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.svc-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 5.4;
  border: 1px solid var(--line-light);
  cursor: pointer;
  transition: transform .5s var(--ease);
  outline: none;
}

.svc-card:hover {
  transform: translateY(-5px);
}

.svc-card .svc-bg {
  position: absolute;
  inset: 0;
  transition: filter .55s var(--ease), transform .9s var(--ease);
}

.svc-card .svc-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.svc-card:hover .svc-bg,
.svc-card:focus-visible .svc-bg {
  filter: blur(12px) brightness(.94);
  transform: scale(1.06);
}

.svc-card .svc-bg .ph-label {
  transition: opacity .4s var(--ease);
}

.svc-card:hover .svc-bg .ph-label,
.svc-card:focus-visible .svc-bg .ph-label {
  opacity: 0;
}

.svc-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 18px 0;
}

.svc-top h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--text-light);
  max-width: 11ch;
}

.svc-n {
  font-size: 11.5px;
  color: var(--muted-light);
  white-space: nowrap;
  padding-top: 5px;
}

.svc-feats {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
  pointer-events: none;
}

.svc-feats_2 {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: -20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
  pointer-events: none;
  width: 95%;
}

.svc-card:hover .svc-feats,
.svc-card:focus-visible .svc-feats {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.svc-feat {
  background: rgba(241, 240, 234, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(20, 20, 26, 0.12);
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}

.svc-card:hover .svc-feat,
.svc-card:focus-visible .svc-feat {
  opacity: 1;
  transform: translateY(0);
}

.svc-card:hover .svc-feat:nth-child(1) {
  transition-delay: .04s;
}

.svc-card:hover .svc-feat:nth-child(2) {
  transition-delay: .09s;
}

.svc-card:hover .svc-feat:nth-child(3) {
  transition-delay: .14s;
}

.svc-card:hover .svc-feat:nth-child(4) {
  transition-delay: .19s;
}

.svc-card:hover .svc-feat:nth-child(5) {
  transition-delay: .24s;
}

.svc-more {
  align-self: flex-end;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 4px;
  opacity: 0;
  transition: opacity .35s var(--ease) .28s;
}

.svc-card:hover .svc-more,
.svc-card:focus-visible .svc-more {
  opacity: 1;
}

@media (max-width: 1000px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-card {
    aspect-ratio: 4/4.6;
  }
}

@media (max-width: 540px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }

  .svc-card {
    aspect-ratio: 4/4;
  }
}

@media (hover: none) {
  .svc-feats {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .svc-feat {
    opacity: 1;
    transform: none;
  }

  .svc-more {
    opacity: 1;
  }
}

/* last 2 grid start */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

/* Last 2 cards */
.svc-grid .svc-card:nth-last-child(2),
.svc-grid .svc-card:last-child {
  grid-column: span 2;
  width: 100%;
}

/* Keep them horizontal and shorter */
.svc-grid .svc-card:nth-last-child(-n + 2) {
  min-height: 280px;
  height: 280px;
  position: relative;
  overflow: hidden;
}

/* Background fills whole card */
.svc-grid .svc-card:nth-last-child(-n + 2) .svc-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Content above background */
.svc-grid .svc-card:nth-last-child(-n + 2) .svc-top,
.svc-grid .svc-card:nth-last-child(-n + 2) .svc-feats {
  position: relative;
  z-index: 2;
}

/* Tablet */
@media (max-width: 991px) {
  .svc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .svc-grid .svc-card:nth-last-child(2),
  .svc-grid .svc-card:last-child {
    grid-column: span 1;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }

  .svc-grid .svc-card:nth-last-child(2),
  .svc-grid .svc-card:last-child {
    grid-column: 1;
  }

  .svc-grid .svc-card:nth-last-child(-n + 2) {
    height: 360px;
    min-height: 360px;
  }
}

/* last 2 grid end */
/* ============================================================
   PLACEHOLDER (decorative imagery substitute)
   ============================================================ */
.ph {
  width: 100%;
  height: 100%;
  position: relative;
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(255, 255, 255, .7), transparent 55%),
    linear-gradient(135deg, var(--ph-a, #cfcdc4), var(--ph-b, #b6b4aa));
  display: grid;
  place-items: center;
  overflow: hidden;
}

.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, .06) 1px, transparent 1px);
  background-size: 5px 5px;
  mix-blend-mode: multiply;
  opacity: .5;
}

.ph.dark {
  --ph-a: #26262a;
  --ph-b: #161618;
}

.ph.dark::after {
  background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px);
  mix-blend-mode: screen;
}

.ph-label {
  position: relative;
  z-index: 1;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(20, 20, 26, .45);
  padding: 5px 11px;
  border: 1px solid rgba(20, 20, 26, .18);
  border-radius: 100px;
}

.ph.dark .ph-label {
  color: rgba(244, 243, 239, .45);
  border-color: rgba(244, 243, 239, .2);
}

/* ============================================================
   APPROACH / VALUES
   ============================================================ */
.approach {
  background: var(--paper);
  color: var(--text-light);
}

.approach-statement {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.8vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 22ch;
  margin-left: auto;
  text-wrap: balance;
}

.approach-statement .dim {
  color: var(--faint-light);
}

.approach-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 48px;
  align-items: start;
}

.glyph-row {
  display: flex;
  gap: clamp(20px, 5vw, 60px);
  flex-wrap: wrap;
  margin-top: 60px;
  opacity: .5;
}

.glyph {
  width: 38px;
  height: 38px;
}

.device-stage {
  margin-top: 80px;
  background: var(--ink);
  border-radius: var(--r-lg);
  aspect-ratio: 16 / 8.2;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.phones {
  display: flex;
  gap: 24px;
  align-items: center;
}

.phone {
  width: clamp(120px, 16vw, 190px);
  aspect-ratio: 9 / 19;
  border-radius: 26px;
  background: #0e0e10;
  border: 6px solid #1f1f22;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
}

.phone:first-child {
  transform: rotate(-6deg) translateY(14px);
}

.phone:last-child {
  transform: rotate(6deg);
}

.phone .notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 6px;
  border-radius: 10px;
  background: #000;
  z-index: 2;
}

@media (max-width: 820px) {
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .approach-statement {
    margin-left: 0;
  }
}

/* ============================================================
   SELECTED WORK (dark)
   ============================================================ */
.work {
  background: var(--ink);
  color: var(--text-dark);
}

.work-list {
  display: flex;
  flex-direction: column;
}

.work-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding-block: clamp(40px, 6vh, 70px);
  border-top: 1px solid var(--line-dark);
}

.work-row:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.work-visual {
  aspect-ratio: 5 / 3.4;
  border-radius: var(--r-md);
  overflow: hidden;
}

.work-row:nth-child(even) .work-visual {
  order: 2;
}

.work-num {
  font-size: 12px;
  color: var(--faint-dark);
  letter-spacing: 0.1em;
}

.work-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 14px 0 20px;
}

.work-desc {
  color: var(--muted-dark);
  font-size: 16px;
  line-height: 1.6;
  max-width: 46ch;
}

.work-meta {
  display: flex;
  gap: 40px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.work-meta .k {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint-dark);
  margin-bottom: 7px;
}

.work-meta .v {
  font-size: 14px;
  color: var(--text-dark);
}

.work-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.tag {
  font-size: 12px;
  padding: 6px 13px;
  border: 1px solid var(--line-dark);
  border-radius: 100px;
  color: var(--muted-dark);
}

@media (max-width: 820px) {
  .work-row {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .work-row:nth-child(even) .work-visual {
    order: 0;
  }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi {
  background: var(--ink);
  color: var(--text-dark);
}

.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.testi-left {
  background: var(--ink-card);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  padding: clamp(30px, 4vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.testi-left h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.testi-left h2 .dim {
  color: var(--faint-dark);
}

/* vertical auto-scroll marquee */
.testi-marquee {
  position: relative;
  height: clamp(420px, 52vh, 560px);
  overflow: hidden;
  border-radius: var(--r-lg);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}

.testi-track {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: testi-scroll var(--testi-dur, 36s) linear infinite;
  will-change: transform;
}

.testi-marquee:hover .testi-track {
  animation-play-state: paused;
}

@keyframes testi-scroll {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

.testi-card {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 28px;
  flex: none;
}

.quote {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.65;
  color: var(--text-dark);
}

.quote .dim {
  color: var(--muted-dark);
}

.attrib {
  display: flex;
  align-items: center;
  gap: 14px;
}

.attrib .av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
}

.attrib .nm {
  font-weight: 600;
  font-size: 14px;
}

.attrib .rl {
  font-size: 13px;
  color: var(--muted-dark);
}

@media (max-width: 820px) {
  .testi-grid {
    grid-template-columns: 1fr;
  }

  .testi-marquee {
    height: clamp(380px, 70vh, 480px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .testi-track {
    animation: none;
  }

  .testi-marquee {
    -webkit-mask-image: none;
    mask-image: none;
    overflow: auto;
  }
}

/* ============================================================
   JOURNAL
   ============================================================ */
.journal {
  background: var(--ink);
  color: var(--text-dark);
}

.journal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.post {
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), border-color .4s;
}

.post:hover {
  transform: translateY(-5px);
  border-color: var(--line-dark);
}

.post-visual {
  aspect-ratio: 16 / 8;
  overflow: hidden;
}

.post-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.post-cat {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint-dark);
}

.post h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.post .read {
  margin-top: auto;
  font-size: 13px;
  color: var(--muted-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.post:hover .read {
  color: var(--text-dark);
}

@media (max-width: 700px) {
  .journal-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--ink);
  color: var(--text-dark);
}

.contact-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.contact-head h2 .dim {
  color: var(--faint-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(30px, 5vw, 70px);
  margin-top: 50px;
}

.contact-aside p {
  color: var(--muted-dark);
  font-size: 16px;
  line-height: 1.6;
  max-width: 36ch;
}

.contact-aside .info {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-aside .info .k {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint-dark);
  margin-bottom: 5px;
}

.contact-aside .info a,
.contact-aside .info span {
  font-size: 15px;
}

.form {
  display: grid;
  gap: 18px;
}

.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.field input,
.field textarea {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text-dark);
  font-family: inherit;
  font-size: 15px;
  transition: border-color .3s, background .3s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--paper);
  background: var(--ink-3);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.svc-pick {
  margin-top: 6px;
}

.svc-pick .lbl {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin-bottom: 14px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  position: relative;
}

.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.chip span {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 100px;
  border: 1px solid var(--line-dark);
  font-size: 13px;
  color: var(--muted-dark);
  transition: all .25s var(--ease);
}

.chip input:checked+span {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.chip:hover span {
  border-color: var(--paper);
  color: var(--text-dark);
}

.chip input:checked+span {
  color: var(--ink);
}

@media (max-width: 820px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--text-dark);
  padding-top: clamp(60px, 8vh, 100px);
  overflow: hidden;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 30px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line-dark);
}

.fcol h4 {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint-dark);
  margin-bottom: 18px;
}

.fcol ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.fcol a {
  font-size: 14px;
  color: var(--muted-dark);
  transition: color .25s;
}

.fcol a:hover {
  color: var(--text-dark);
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-block: 30px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--faint-dark);
  text-transform: uppercase;
}

.footer-meta a {
  color: var(--muted-dark);
}

.footer-meta a:hover {
  color: var(--text-dark);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(5rem, 27vw, 28rem);
  line-height: 0.72;
  letter-spacing: -0.04em;
  text-align: center;
  color: var(--ink-3);
  -webkit-text-stroke: 1px var(--line-dark);
  margin-bottom: -0.12em;
  user-select: none;
  white-space: nowrap;
}

@media (max-width: 800px) {
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   PORTFOLIO PAGE
   ============================================================ */
.pf-hero {
  background: var(--ink);
  color: var(--text-dark);
  padding-top: clamp(130px, 17vh, 200px);
  padding-bottom: clamp(40px, 6vh, 70px);
}

.pf-hero .eyebrow {
  color: var(--muted-dark);
}

.pf-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 8vw, 7rem);
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin: 22px 0 0;
}

.pf-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.pf-intro p {
  max-width: 48ch;
  color: var(--muted-dark);
  font-size: 17px;
  line-height: 1.6;
}

.pf-count {
  font-size: 13px;
  color: var(--faint-dark);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.pf-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid var(--line-dark);
  margin-top: 40px;
  padding-top: 28px;
}

.pf-filter {
  background: none;
  border: 1px solid var(--line-dark);
  color: var(--muted-dark);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  transition: all .25s var(--ease);
}

.pf-filter:hover {
  color: var(--text-dark);
  border-color: var(--paper);
}

.pf-filter.active {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.pf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-bottom: clamp(60px, 10vh, 130px);
}

.pf-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: opacity .4s var(--ease);
}

.pf-card.hide {
  display: none;
}

.pf-card.tall {
  grid-row: span 1;
}

.pf-card-visual {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  position: relative;
}

.pf-card.tall .pf-card-visual {
  aspect-ratio: 16 / 11;
}

.pf-card-visual .ph {
  transition: transform 1.1s var(--ease);
}

.pf-card:hover .pf-card-visual .ph {
  transform: scale(1.05);
}

.pf-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 4px 4px;
}

.pf-card-foot h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  letter-spacing: -0.02em;
}

.pf-card-foot .cat {
  font-size: 12px;
  color: var(--muted-dark);
  margin-top: 6px;
  display: block;
}

.pf-card-foot .yr {
  font-size: 12px;
  color: var(--faint-dark);
  letter-spacing: 0.08em;
  white-space: nowrap;
  padding-top: 8px;
}

.pf-tag-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(10, 10, 11, .55);
  color: var(--text-dark);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-dark);
}

@media (max-width: 720px) {
  .pf-grid {
    grid-template-columns: 1fr;
  }
}

.pf-cta {
  background: var(--paper);
  color: var(--text-light);
  text-align: center;
  padding-block: clamp(70px, 12vh, 150px);
}

.pf-cta h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 5rem);
  letter-spacing: -0.035em;
  line-height: 1;
}

.pf-cta p {
  color: var(--muted-light);
  font-size: 17px;
  margin: 20px auto 34px;
  max-width: 44ch;
}

/* ============================================================
   SERVICES MEGA MENU
   ============================================================ */
.svc-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.svc-trigger .caret {
  transition: transform .3s var(--ease);
  font-size: 9px;
  opacity: .7;
}

body.mega-open .svc-trigger .caret {
  transform: rotate(180deg);
}

.mega {
  position: fixed;
  top: 86px;
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  width: min(1080px, calc(100vw - 32px));
  z-index: 99;
  background: rgba(18, 18, 20, 0.86);
  backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .55);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform .4s var(--ease);
}

body.mega-open #mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* portfolio dropdown (same visual language, narrower) */
.pf-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pf-trigger .caret {
  transition: transform .3s var(--ease);
  font-size: 9px;
  opacity: .7;
}

body.megapf-open .pf-trigger .caret {
  transform: rotate(180deg);
}

.mega--pf {
  width: min(680px, calc(100vw - 32px));
}

body.megapf-open #megapf {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-pf-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mega-pf-inner .mega-card.wide {
  grid-column: 1 / -1;
}

.mega-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 0.74fr;
  gap: 12px;
}

.mega-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mega-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  padding: 16px 18px;
  min-height: 78px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
  isolation: isolate;
}

.mega-card .mega-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .5s var(--ease), transform .9s var(--ease);
}

.mega-card .mega-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 11, .35), rgba(10, 10, 11, .78));
}

.mega-card:hover {
  border-color: rgba(244, 243, 239, .28);
}

.mega-card:hover .mega-bg {
  opacity: .9;
  transform: scale(1);
}

.mega-card-l {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.mega-card .ic {
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  display: grid;
  place-items: center;
  transition: background .3s, border-color .3s;
}

.mega-card:hover .ic {
  background: rgba(244, 243, 239, .12);
  border-color: transparent;
}

.mega-card .ic svg {
  width: 15px;
  height: 15px;
}

.mega-card h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.mega-card .sub {
  font-size: 12px;
  color: var(--muted-dark);
  margin-top: 4px;
}

.mega-card .cnt {
  font-size: 11px;
  color: var(--faint-dark);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.mega-card:hover .cnt {
  color: var(--muted-dark);
}

.mega-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 6px 6px 4px;
}

.mega-info p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted-dark);
}

.mega-info .btn {
  justify-content: center;
}

@media (max-width: 900px) {
  .mega {
    display: none;
  }
}

/* ============================================================
   SERVICE PAGE
   ============================================================ */
.svc-hero {
  background: var(--ink);
  color: var(--text-dark);
  padding-top: clamp(130px, 17vh, 200px);
  padding-bottom: clamp(40px, 6vh, 64px);
}

.svc-crumb {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--faint-dark);
  margin-bottom: 26px;
}

.svc-crumb a {
  color: var(--muted-dark);
}

.svc-crumb a:hover {
  color: var(--text-dark);
}

.svc-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 6rem);
  letter-spacing: -0.04em;
  line-height: 0.94;
  max-width: 14ch;
  text-wrap: balance;
}

.svc-hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.svc-hero-foot p {
  max-width: 50ch;
  color: var(--muted-dark);
  font-size: 17px;
  line-height: 1.6;
}

.svc-hero-foot .count {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.svc-hero-foot .count span {
  display: block;
  font-family: var(--font-text);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint-dark);
  font-weight: 500;
  margin-top: 6px;
}

.svc-banner {
  aspect-ratio: 16 / 6.4;
  border-radius: var(--r-lg);
  overflow: hidden;
}

/* capabilities */
.cap {
  background: var(--ink);
  color: var(--text-dark);
}

.cap-head {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 50px;
}

.cap-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

.cap-head p {
  color: var(--muted-dark);
  font-size: 16px;
  line-height: 1.6;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.cap-card {
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--ink-card);
  transition: transform .5s var(--ease), border-color .4s;
  min-height: 220px;
}

.cap-card:hover {
  transform: translateY(-5px);
  border-color: rgba(244, 243, 239, .24);
}

.cap-card .n {
  font-size: 12px;
  color: var(--faint-dark);
  letter-spacing: 0.1em;
}

.cap-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-top: auto;
}

.cap-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted-dark);
}

@media (max-width: 900px) {
  .cap-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

/* process */
.proc {
  background: var(--paper);
  color: var(--text-light);
}

.proc .eyebrow {
  color: var(--muted-light);
}

.proc-list {
  margin-top: 40px;
  border-top: 1px solid var(--line-light);
}

.proc-row {
  display: grid;
  grid-template-columns: 80px 0.6fr 1fr;
  gap: 30px;
  align-items: baseline;
  padding-block: 30px;
  border-bottom: 1px solid var(--line-light);
  transition: padding-left .4s var(--ease);
}

.proc-row:hover {
  padding-left: 12px;
}

.proc-row .step {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--faint-light);
}

.proc-row h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
}

.proc-row p {
  color: var(--muted-light);
  font-size: 15.5px;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .proc-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* stack */
.stack {
  background: var(--paper);
  color: var(--text-light);
  padding-top: 0;
}

.stack-inner {
  border-top: 1px solid var(--line-light);
  padding-top: clamp(50px, 7vh, 90px);
}

.stack-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 36px;
}

.stack-col h4 {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint-light);
  margin-bottom: 16px;
}

.stack-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.stack-col li {
  font-size: 15px;
  color: var(--text-light);
}

@media (max-width: 760px) {
  .stack-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
  }
}

/* full-width cta band */
.svc-cta {
  background: var(--ink);
  color: var(--text-dark);
  text-align: center;
}

.svc-cta h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  letter-spacing: -0.035em;
  line-height: 1;
}

.svc-cta p {
  color: var(--muted-dark);
  font-size: 17px;
  margin: 20px auto 34px;
  max-width: 46ch;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.ct-hero {
  background: var(--ink);
  color: var(--text-dark);
  padding-top: clamp(130px, 17vh, 200px);
  padding-bottom: clamp(30px, 5vh, 56px);
}

.ct-hero .eyebrow {
  color: var(--muted-dark);
}

.ct-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  letter-spacing: -0.04em;
  line-height: 0.94;
  margin-top: 20px;
  max-width: 16ch;
  text-wrap: balance;
}

.ct-hero h1 .dim {
  color: var(--faint-dark);
}

.ct-body {
  background: var(--ink);
  color: var(--text-dark);
  padding-top: clamp(20px, 4vh, 40px);
}

.ct-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}

.ct-form {
  display: grid;
  gap: 20px;
}

.ct-form-head {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.ct-aside {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.ct-block .k {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint-dark);
  margin-bottom: 12px;
}

.ct-block a,
.ct-block p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-dark);
}

.ct-block a:hover {
  color: var(--muted-dark);
}

.ct-block p {
  color: var(--muted-dark);
}

.ct-block .big {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  letter-spacing: -0.02em;
}

.ct-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ct-socials a {
  font-size: 13px;
  padding: 9px 16px;
  border: 1px solid var(--line-dark);
  border-radius: 100px;
  color: var(--muted-dark);
  transition: all .25s var(--ease);
}

.ct-socials a:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.ct-map {
  margin-top: 4px;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 5 / 3;
}

.ct-success {
  display: none;
  border: 1px solid var(--live);
  border-radius: var(--r-md);
  padding: 18px 20px;
  color: var(--text-dark);
  font-size: 15px;
  background: rgba(126, 224, 160, .08);
}

.ct-success.show {
  display: block;
}

@media (max-width: 880px) {
  .ct-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* faq band */
.ct-faq {
  background: var(--paper);
  color: var(--text-light);
}

.ct-faq .eyebrow {
  color: var(--muted-light);
}

.ct-faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 40px;
  align-items: start;
  margin-top: 36px;
}

.ct-faq h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.ct-acc {
  border-top: 1px solid var(--line-light);
}

.ct-acc details {
  border-bottom: 1px solid var(--line-light);
}

.ct-acc summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  letter-spacing: -0.01em;
}

.ct-acc summary::-webkit-details-marker {
  display: none;
}

.ct-acc summary .mk {
  width: 24px;
  height: 24px;
  flex: none;
  position: relative;
}

.ct-acc summary .mk::before,
.ct-acc summary .mk::after {
  content: "";
  position: absolute;
  background: var(--text-light);
  transition: transform .3s var(--ease);
}

.ct-acc summary .mk::before {
  top: 11px;
  left: 4px;
  width: 16px;
  height: 2px;
}

.ct-acc summary .mk::after {
  top: 4px;
  left: 11px;
  width: 2px;
  height: 16px;
}

.ct-acc details[open] summary .mk::after {
  transform: scaleY(0);
}

.ct-acc .ans {
  padding: 0 0 24px;
  max-width: 60ch;
  color: var(--muted-light);
  font-size: 15.5px;
  line-height: 1.65;
}

@media (max-width: 760px) {
  .ct-faq-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ============================================================
   STUDIO (ABOUT) PAGE
   ============================================================ */
.lead {
  background: var(--paper);
  color: var(--text-light);
}

.lead .eyebrow {
  color: var(--muted-light);
}

.lead-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
  margin-top: 28px;
}

.lead-statement {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.8vw, 3.1rem);
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}

.lead-statement .dim {
  color: var(--faint-light);
}

.lead-side p {
  color: var(--muted-light);
  font-size: 16px;
  line-height: 1.65;
}

.lead-side p+p {
  margin-top: 18px;
}

.studio-photo {
  margin-top: clamp(40px, 6vh, 72px);
  aspect-ratio: 16/7;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.stats {
  background: var(--paper);
  color: var(--text-light);
  padding-top: 0;
}

.stats-inner {
  border-top: 1px solid var(--line-light);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: clamp(40px, 6vh, 64px);
}

.stat .num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat .lbl {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-top: 12px;
}

@media (max-width: 720px) {
  .stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
}

.values {
  background: var(--ink);
  color: var(--text-dark);
}

.values .eyebrow {
  color: var(--muted-dark);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.value-card {
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  padding: 30px;
  background: var(--ink-card);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .5s var(--ease), border-color .4s;
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: rgba(244, 243, 239, .24);
}

.value-card .vn {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--faint-dark);
}

.value-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  letter-spacing: -0.02em;
  margin-top: auto;
}

.value-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-dark);
}

@media (max-width: 860px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

.team {
  background: var(--ink);
  color: var(--text-dark);
}

.team .eyebrow {
  color: var(--muted-dark);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.member-photo {
  aspect-ratio: 4/5;
  border-radius: var(--r-md);
  overflow: hidden;
}

.member-photo .ph {
  transition: transform 1.1s var(--ease);
}

.member:hover .member-photo .ph {
  transform: scale(1.05);
}

.member .nm {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-top: 16px;
}

.member .rl {
  font-size: 13px;
  color: var(--muted-dark);
  margin-top: 4px;
}

@media (max-width: 880px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.recog {
  background: var(--ink);
  color: var(--text-dark);
}

.recog-inner {
  border-top: 1px solid var(--line-dark);
  padding-top: clamp(40px, 6vh, 64px);
}

.recog .eyebrow {
  color: var(--muted-dark);
}

.recog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  margin-top: 30px;
}

.recog-list span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  letter-spacing: -0.02em;
  color: var(--muted-dark);
  transition: color .3s;
}

.recog-list span:hover {
  color: var(--text-dark);
}

/* ============================================================
   JOURNAL PAGE
   ============================================================ */
.jr-hero {
  background: var(--ink);
  color: var(--text-dark);
  padding-top: clamp(130px, 17vh, 200px);
  padding-bottom: clamp(30px, 5vh, 50px);
}

.jr-hero .eyebrow {
  color: var(--muted-dark);
}

.jr-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  letter-spacing: -0.04em;
  line-height: 0.94;
  margin-top: 20px;
}

.jr-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.jr-intro p {
  max-width: 46ch;
  color: var(--muted-dark);
  font-size: 17px;
  line-height: 1.6;
}

.feat {
  background: var(--ink);
  color: var(--text-dark);
  padding-top: clamp(20px, 4vh, 40px);
}

.feat-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .4s var(--ease);
}

.feat-card:hover {
  border-color: rgba(244, 243, 239, .24);
}

.feat-visual {
  aspect-ratio: 16/11;
  overflow: hidden;
  height: 100%;
}

.feat-visual .ph {
  transition: transform 1.1s var(--ease);
}

.feat-card:hover .feat-visual .ph {
  transform: scale(1.04);
}

.feat-body {
  padding: clamp(28px, 3vw, 48px) clamp(28px, 3vw, 48px) clamp(28px, 3vw, 48px) 0;
}

.feat-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--live);
}

.feat-tag::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--live);
}

.feat-body h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 18px 0 16px;
  text-wrap: balance;
}

.feat-body p {
  color: var(--muted-dark);
  font-size: 16px;
  line-height: 1.6;
  max-width: 48ch;
}

.feat-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  font-size: 13px;
  color: var(--muted-dark);
}

.feat-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--faint-dark);
}

@media (max-width: 820px) {
  .feat-card {
    grid-template-columns: 1fr;
  }

  .feat-body {
    padding: 0 28px 32px;
  }

  .feat-visual {
    aspect-ratio: 16/9;
  }
}

.jr-list {
  background: var(--ink);
  color: var(--text-dark);
}

.jr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.jr-grid .post .post-visual {
  aspect-ratio: 16/11;
}

@media (max-width: 860px) {
  .jr-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .jr-grid {
    grid-template-columns: 1fr;
  }
}

.news {
  background: var(--paper);
  color: var(--text-light);
}

.news-card {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 40px;
  align-items: center;
  background: var(--paper-card);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  padding: clamp(34px, 4vw, 60px);
}

.news-card h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.news-card p {
  color: var(--muted-light);
  font-size: 16px;
  line-height: 1.6;
  margin-top: 14px;
  max-width: 40ch;
}

.news-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.news-form input {
  flex: 1;
  min-width: 200px;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: 100px;
  padding: 15px 20px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-light);
  transition: border-color .3s;
}

.news-form input:focus {
  outline: none;
  border-color: var(--text-light);
}

.news-note {
  font-size: 12px;
  color: var(--faint-light);
  margin-top: 14px;
}

@media (max-width: 760px) {
  .news-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

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

  .live .pulse {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}



/* scroll effect style start */
.cp-wrapper {
  background: var(--bg-light);
  width: 100%;
}

/* --- Hero Text Section --- */
.cp-header-section {
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px;
  background-color: #fff;
  position: relative;
  z-index: 20;
}

.cp-header-content {
  max-width: 1100px;
  text-align: center;
}

.cp-heading {
  color: var(--text-dark);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 0 0 32px;
  line-height: 1.1;
}

.cp-subtext {
  color: var(--text-gray);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 300;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}

/* --- Purple Parallax Section --- */
.cp-scroll-section {
  position: relative;
  width: 100%;
  height: 400vh;
  /* This controls how long the animation lasts */
  cursor: none;
}

.cp-sticky-container {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
  overflow: hidden;
}

/* Pink Progress Bar */
.cp-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: #e968c1;
  z-index: 9999;
  transform-origin: left;
  transform: scaleX(0);
}

/* Continuous Floating Animations */
@keyframes ccW {

  0%,
  100% {
    transform: translate(0, 0) rotate(0);
  }

  25% {
    transform: translate(3px, -5px) rotate(0.5deg);
  }

  50% {
    transform: translate(-2px, 3px) rotate(-0.3deg);
  }

  75% {
    transform: translate(4px, 2px) rotate(0.4deg);
  }
}

@keyframes ccF {

  0%,
  100% {
    transform: rotate(6.91deg) translate(0, 0);
  }

  25% {
    transform: rotate(7.6deg) translate(-4px, 3px);
  }

  50% {
    transform: rotate(6.2deg) translate(3px, -4px);
  }

  75% {
    transform: rotate(7.3deg) translate(-2px, -3px);
  }
}

.float-animation-1 {
  animation: ccW 8s ease-in-out infinite;
}

.float-animation-2 {
  animation: ccW 12s ease-in-out infinite reverse;
}

.cp-background-text {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%) scale(0.8);
  font-family: var(--font-display);
  text-align: center;
  font-size: clamp(3rem, 10vw, 8rem);
  color: #fff;
  font-weight: 300;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}

#services-section {
  font-family: var(--font-display);
}

/* Wavy Background Line */
.cp-bg-line {
  position: absolute;
  top: 45%;
  left: -5%;
  width: 110%;
  height: auto;
  pointer-events: none;
  opacity: 0.3;
  z-index: 2;
}

/* Custom Cursor */
.cp-custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.cp-scroll-bubble {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Floating Cards */
.parallax-card-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 10;
}

.parallax-card-wrapper {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.parallax-card-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center center;
}

.parallax-card-3d {
  width: 100%;
  height: 100%;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.parallax-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Phase 2: Services List */
.ccs-svc-section {
  position: absolute;
  inset: 0;
  opacity: 0;
  /* Hidden initially */
  pointer-events: none;
  /* Make click-through when hidden */
}

.ccs-svc-list {
  position: absolute;
  left: 5vw;
  top: 4vh;
  bottom: 6vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: min(48px, 4.5vh);
  z-index: 5;
  width: 50vw;
}

.pf-card-visual {
  overflow: hidden;
}

.pf-card-visual .work-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pf-card-visual {
  overflow: hidden;
}

.pf-card-visual .work-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.pf-card:hover .work-image {
  transform: scale(1.08);
}

.ccs-svc-item {
  position: relative;
  opacity: 0.2;
  /* Default dimmed */
}

.ccs-svc-title {
  font-weight: 300;
  font-size: clamp(42px, 8vw, 120px);
  line-height: 0.75;
  text-transform: uppercase;
  text-align: left;
  letter-spacing: -0.02em;
  color: #fff;
}

.ccs-svc-subtext {
  font-weight: 300;
  font-size: clamp(14px, 1.6vw, 26px);
  line-height: 1.3;
  text-align: left;
  color: #fff;
  margin-top: 1.2vh;
  opacity: 0;
  transform: translateY(12px);
}

.ccs-svc-media {
  position: absolute;
  right: 3vw;
  top: 50%;
  transform: translateY(-50%);
  width: min(42vw, 610px);
  height: min(60vh, 622px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.ccs-svc-media-inner {
  width: 90%;
  height: 92%;
  border-radius: min(15px, 1vw);
  overflow: hidden;
  transform: rotate(6.91deg);
  box-shadow: 0 .5vw 1vw rgba(0, 25, 70, .12), 0 1.3vw 2.7vw rgba(5, 16, 36, .18);
  position: relative;
}

.ccs-svc-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

/* Phase 3/4: Skull / Momentum / CTA */
.ccs-skull-layer {
  position: absolute;
  inset: 0px;
  z-index: 20;
  background: #0a0a0b;
  opacity: 0;
  pointer-events: none;
  /* enable auto when visible via JS */
}

.ccs-skull-vid-wrap {
  position: absolute;
  inset: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: perspective(800px) scale(2.5);
}

.ccs-skull-momentum {
  position: absolute;
  top: 69%;
  left: 5vw;
  right: 5vw;
  transform: translateY(-50%);
  text-align: center;
  z-index: 10;
  opacity: 0;
}

.ccs-momentum-text {
  font-weight: 400;
  font-size: clamp(32px, 4.86vw, 70px);
  font-family: var(--font-display);
  letter-spacing: 1.4px;
  line-height: 1.1;
  margin: 0;
  color: #fff;
}

.ccs-final-cta {
  position: absolute;
  top: 50%;
  left: 5vw;
  right: 5vw;
  text-align: center;
  z-index: 12;
  transform: translateY(-50%);
  font-family: var(--font-display);
  opacity: 0;
}

.ccs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 5.5vh;
  height: 64px;
  padding: 12px 24px 13px;
  box-sizing: border-box;
  border-radius: 32px;
  border: 2px solid white;
  background: transparent;
  color: #fff;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.ccs-btn:hover {
  background: #fff;
  color: var(--primary-purple);
}

.ccs-btn:hover svg path {
  fill: var(--primary-purple);
}

/* W. Nominee Badge */
.cp-nominee-badge {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-color: #fff;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  padding: 24px 12px;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  z-index: 50;
}

/* scroll effect style end */


.work-visual {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 1.47 / 1;
  background: #151515;
}

.work-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.work-row:hover .work-image {
  transform: scale(1.03);
}


.pf-card-visual {
  overflow: hidden;
}

.pf-card-visual .work-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.pf-card:hover .work-image {
  transform: scale(1.1);
}

.work-visual {
  overflow: hidden;
}

.work-visual .work-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tech-logo-section {
  width: 100%;
  padding: 40px 0;
  background: transparent !important;
  border-radius: 0;
  overflow: visible;
}

.tech-title {
  margin: 0 0 28px;
  font-size: clamp(26px, 4vw, 46px);
  line-height: 1.1;
  font-weight: 600;
  color: inherit;
  letter-spacing: -0.04em;
}

.tech-logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.tech-logo-card {
  width: 116px;
  height: 132px;
  border-radius: 20px;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.tech-logo-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 0, 0, 0.28);
}

.tech-logo-card img {
  max-width: 115px;
  max-height: 75px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}


.tech-logo-wrap h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  letter-spacing: -0.035em;
  line-height: 1;
  text-align: center;
  padding-bottom: 4rem;
}


@media (max-width: 768px) {
  .tech-logo-section {
    padding: 32px 0;
  }

  .tech-logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .tech-logo-card {
    min-height: 110px;
    padding: 22px;
    border-radius: 16px;
  }

  .tech-logo-card img {
    max-width: 95px;
  }
}

@media (max-width: 480px) {
  .tech-logo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .tech-logo-grid {
    justify-content: center;
    gap: 14px;
  }

  .tech-logo-card {
    width: 125px;
    height: 115px;
    padding: 22px;
    border-radius: 16px;
  }

  .tech-logo-card img {
    max-width: 80px;
  }
}


/* Video Portfolio Grid */
.video-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

.video-grid .pf-card {
  width: 100%;
}

.video-grid .pf-card-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 18px;
  background: #111;
}

.video-grid .pf-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  cursor: pointer;
}

.video-grid .pf-tag-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  pointer-events: none;
}

/* Tablet */
@media (max-width: 1100px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}