@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500&family=IBM+Plex+Mono:wght@400;500&display=swap");

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

:root {
  --ink: #1a1208;
  --paper: #f5f0e8;
  --rust: #c94a1a;
  --rust2: #a83a12;
  --gold: #d4a017;
  --sun: #ffd43b;
  --sky: #6ec6ff;
  --cyan: #9de8ff;
  --cream: #fff7df;
  --mint: #b7f3cf;
  --gray-mid: #7a7060;
  --gray-light: #e2ddd4;
  --press: #2c2418;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 212, 59, 0.14), transparent 28rem),
    radial-gradient(circle at 92% 18%, rgba(110, 198, 255, 0.15), transparent 24rem),
    var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.25s;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

/* NOISE */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}

/* ══════════════════════════════
   SCROLL PROGRESS
══════════════════════════════ */
#prog {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--rust);
  z-index: 1000;
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
}

/* ══════════════════════════════
   NAV
══════════════════════════════ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, var(--paper) 0%, var(--cream) 58%, #e6f7ff 100%);
  border-bottom: 1.5px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2.5rem;
  transition:
    padding 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s;
}

nav.compact {
  padding: 0.75rem 2.5rem;
  box-shadow: 0 1px 24px rgba(26, 18, 8, 0.07);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.35s;
}

nav.compact .logo {
  transform: scale(0.92);
}

.logo:hover {
  filter: drop-shadow(0 8px 18px rgba(201, 74, 26, 0.18));
}

.logo img {
  display: block;
  width: clamp(92px, 9vw, 132px);
  height: auto;
  max-height: 54px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-mid);
  text-decoration: none;
  position: relative;
  transition: color 0.25s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--rust);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover {
  color: var(--rust);
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-quote {
  background: linear-gradient(135deg, var(--ink), var(--rust2)) !important;
  color: var(--paper) !important;
  padding: 0.45rem 1.2rem !important;
  transition:
    background 0.3s,
    transform 0.2s !important;
}

.nav-quote:hover {
  background: linear-gradient(135deg, var(--rust), var(--gold)) !important;
  transform: translateY(-2px) !important;
}
.nav-quote::after {
  display: none !important;
}

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
  border-bottom: 1.5px solid var(--ink);
  overflow: hidden;
}

.hero-l {
  padding: 5rem 3rem 5rem 2.5rem;
  border-right: 1.5px solid var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-r {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}

.hero-r::before,
.hero-r::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-r::before {
  background:
    radial-gradient(circle at 58% 42%, rgba(255, 212, 59, 0.18), transparent 18rem),
    radial-gradient(circle at 82% 18%, rgba(110, 198, 255, 0.16), transparent 22rem),
    linear-gradient(90deg, rgba(26, 18, 8, 0.78), transparent 34%, rgba(26, 18, 8, 0.56));
  mix-blend-mode: screen;
  opacity: 0.6;
}

.hero-r::after {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.34), transparent 18%, transparent 78%, rgba(0, 0, 0, 0.55)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 4px);
  opacity: 0.35;
}

/* tag line */
.tag-line {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rust);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
  clip-path: inset(0 100% 0 0);
  animation: revealTag 0.9s 0.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tag-line::before {
  content: "";
  width: 1.8rem;
  height: 1px;
  background: var(--rust);
  flex-shrink: 0;
}

/* headline */
.h-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.9;
  overflow: hidden;
}

.h-line {
  display: block;
  opacity: 0;
  transform: translateY(110%);
  animation: lineUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.h-line:nth-child(1) {
  animation-delay: 0.28s;
}
.h-line:nth-child(2) {
  animation-delay: 0.42s;
  color: var(--rust);
}
.h-line:nth-child(3) {
  animation-delay: 0.56s;
}

.h-sub {
  font-size: 0.97rem;
  color: var(--gray-mid);
  line-height: 1.75;
  max-width: 360px;
  margin: 2rem 0 2.8rem;
  opacity: 0;
  filter: blur(8px);
  animation: blurIn 0.9s 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.h-btns {
  display: flex;
  gap: 1rem;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeRise 0.8s 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* buttons */
.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--rust), #f06f22);
  color: var(--paper);
  padding: 0.85rem 2rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.73rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border: 1.5px solid var(--rust);
  transition: transform 0.25s;
}

.btn-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ink), #12394a);
  transform: translateX(-105%) skewX(-8deg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cta:hover::before {
  transform: translateX(0) skewX(0);
}
.btn-cta:hover {
  transform: translateY(-2px);
}
.btn-cta span {
  position: relative;
  z-index: 1;
}

.btn-ghost {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.73rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.25s;
}

.btn-ghost:hover {
  color: var(--rust);
}
.arr {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-ghost:hover .arr {
  transform: translateX(7px);
}

/* stats */
.h-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-light);
  opacity: 0;
  transform: translateY(16px);
  animation: fadeRise 0.8s 1.05s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.sn {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.2rem;
  line-height: 1;
}
.sl {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  color: var(--gray-mid);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
}

/* hero right */
.hero-gallery {
  position: absolute;
  inset: 0;
  background: var(--ink);
}

.hero-gallery .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transform-origin: center center;
  filter: saturate(1.08) contrast(1.08);
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 6s ease;
}

.hero-gallery .slide.active {
  opacity: 1;
  transform: scale(1.015);
  animation: heroDrift 8s ease-in-out infinite alternate;
}

.gallery-nav {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.nav-btn {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 1.5px solid rgba(245, 240, 232, 0.42);
  background: rgba(26, 18, 8, 0.52);
  color: var(--paper);
  cursor: pointer;
  font-size: 1.8rem;
  transform: translateY(-50%);
  pointer-events: auto;
  backdrop-filter: blur(12px);
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.25s;
}

.nav-btn:hover {
  background: linear-gradient(135deg, var(--rust), var(--gold));
  border-color: rgba(255, 255, 255, 0.62);
}

.nav-btn.prev {
  left: 1.2rem;
}

.nav-btn.next {
  right: 1.2rem;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-slide video,
.hero-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.88;
  filter: saturate(0.95) contrast(1.08);
}

.hero-slide::before,
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-slide::before {
  background:
    radial-gradient(
      circle at 52% 46%,
      rgba(201, 74, 26, 0.08),
      transparent 32%
    ),
    linear-gradient(
      90deg,
      rgba(26, 18, 8, 0.48),
      rgba(26, 18, 8, 0.1) 42%,
      rgba(26, 18, 8, 0.58)
    );
  z-index: 1;
}

.hero-slide::after {
  background: linear-gradient(to top, rgba(26, 18, 8, 0.84), transparent 48%);
  z-index: 2;
}

.hero-slide-copy {
  position: absolute;
  left: clamp(1.3rem, 4vw, 3rem);
  right: clamp(1.3rem, 4vw, 3rem);
  bottom: 5.2rem;
  z-index: 3;
  color: var(--paper);
}

.hero-slide-copy span {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.hero-slide-copy span::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--gold);
}

.hero-slide-copy strong {
  display: block;
  max-width: 520px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  font-weight: 400;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 52px;
  height: 52px;
  border: 1.5px solid rgba(245, 240, 232, 0.42);
  background: rgba(26, 18, 8, 0.34);
  color: var(--paper);
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
  transition:
    background 0.25s,
    border-color 0.25s,
    color 0.25s,
    transform 0.25s;
}

.gallery-arrow:hover {
  background: var(--rust);
  border-color: var(--rust);
  color: #fff;
}

.gallery-prev {
  left: 1.5rem;
}
.gallery-next {
  right: 1.5rem;
}
.gallery-prev:hover {
  transform: translate(-4px, -50%);
}
.gallery-next:hover {
  transform: translate(4px, -50%);
}

.gallery-dots {
  position: absolute;
  right: 1.5rem;
  bottom: 4.95rem;
  z-index: 4;
  display: flex;
  gap: 0.5rem;
}

.gallery-dots button {
  width: 2rem;
  height: 3px;
  border: none;
  background: rgba(245, 240, 232, 0.28);
  cursor: pointer;
  transition:
    width 0.25s,
    background 0.25s;
}

.gallery-dots button.is-active {
  width: 3.6rem;
  background: var(--rust);
}

.rings-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring {
  border-radius: 50%;
  position: absolute;
  border: 1px solid rgba(245, 240, 232, 0.08);
}
.r1 {
  width: 420px;
  height: 420px;
  animation: spin 32s linear infinite;
}
.r2 {
  width: 300px;
  height: 300px;
  border-color: rgba(201, 74, 26, 0.25);
  animation: spin 22s linear infinite reverse;
}
.r3 {
  width: 170px;
  height: 170px;
  border-color: rgba(212, 160, 23, 0.35);
  animation: spin 16s linear infinite;
}

.press {
  width: 88px;
  height: 88px;
  background: var(--rust);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  animation: breathe 4s ease-in-out infinite;
  cursor: pointer;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s;
}

.press:hover {
  transform: scale(1.15);
  box-shadow: 0 0 40px rgba(201, 74, 26, 0.5);
}

.grid-svg {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  pointer-events: none;
}

/* ticker */
.ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  background: var(--rust);
  padding: 0.6rem 0;
  overflow: hidden;
}
.tick-t {
  display: flex;
  gap: 3rem;
  animation: ticker 22s linear infinite;
  white-space: nowrap;
}
.tick-t:hover {
  animation-play-state: paused;
}
.tick-i {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--paper);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.tick-d {
  width: 4px;
  height: 4px;
  background: rgba(245, 240, 232, 0.4);
  border-radius: 50%;
}

/* ══════════════════════════════
   MARQUEE
══════════════════════════════ */
.mq-strip {
  background: var(--press);
  padding: 0.85rem 0;
  overflow: hidden;
  border-top: 1.5px solid var(--rust);
  border-bottom: 1.5px solid var(--rust);
}
.mq-t {
  display: flex;
  animation: mq 20s linear infinite;
  white-space: nowrap;
}
.mq-i {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: rgba(245, 240, 232, 0.1);
  padding: 0 2rem;
  flex-shrink: 0;
}
.mq-i.on {
  color: var(--rust);
}
.mq-s {
  color: rgba(201, 74, 26, 0.35);
  padding: 0 0.3rem;
  font-size: 1.35rem;
  flex-shrink: 0;
}

/* ══════════════════════════════
   SERVICES
══════════════════════════════ */
.services {
  padding: 5rem 2.5rem;
  border-bottom: 1.5px solid var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 212, 59, 0.2), transparent 42%),
    linear-gradient(315deg, rgba(110, 198, 255, 0.18), transparent 36%),
    var(--cream);
}

.svc-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 4rem;
}

.sec-lbl {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rust);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.sec-lbl::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gray-light);
}

.sec-ttl {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 0.95;
  color: var(--ink);
}
.svc-desc {
  font-size: 0.93rem;
  color: var(--gray-mid);
  line-height: 1.72;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1.5px solid var(--ink);
}

.services .sec-lbl {
  color: var(--rust);
}

.services .sec-lbl::after {
  background: var(--gray-light);
}

.services .sec-ttl {
  color: var(--ink);
}

.svc-card {
  padding: 2.2rem 2rem;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.22);
}

.svc-card:nth-child(1) { --card-accent: var(--rust); }
.svc-card:nth-child(2) { --card-accent: var(--gold); }
.svc-card:nth-child(3) { --card-accent: var(--sky); }
.svc-card:nth-child(4) { --card-accent: var(--mint); }
.svc-card:nth-child(5) { --card-accent: #ff8c42; }
.svc-card:nth-child(6) { --card-accent: var(--cyan); }

.svc-card:nth-child(3n) {
  border-right: none;
}
.svc-card:nth-last-child(-n + 3) {
  border-bottom: none;
}

.svc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 212, 59, 0.16), transparent 18rem),
    radial-gradient(circle at 90% 0%, rgba(110, 198, 255, 0.18), transparent 16rem),
    var(--ink);
  pointer-events: none;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-card:hover::before {
  transform: scaleY(1);
}

.sn2 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.63rem;
  letter-spacing: 0.15em;
  color: var(--gray-mid);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  transition: color 0.35s;
}
.si {
  width: 38px;
  height: 38px;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-card:hover .si {
  transform: scale(1.12) rotate(-8deg);
}
.sn3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 0.7rem;
  line-height: 1;
  position: relative;
  z-index: 1;
  transition: color 0.35s;
}
.sd {
  font-size: 0.83rem;
  color: var(--gray-mid);
  line-height: 1.65;
  position: relative;
  z-index: 1;
  transition: color 0.35s;
}
.sa {
  position: absolute;
  bottom: 1.4rem;
  right: 1.4rem;
  font-size: 1rem;
  color: var(--gray-light);
  z-index: 1;
  transition:
    transform 0.35s,
    color 0.35s;
}

.svc-card:hover .sn2 {
  color: var(--card-accent);
}
.svc-card:hover .sn3 {
  color: var(--paper);
}
.svc-card:hover .sd {
  color: rgba(245, 240, 232, 0.5);
}
.svc-card:hover .sa {
  color: var(--card-accent);
  transform: translate(4px, -4px);
}

/* Service card icons */
.si::before {
  content: "";
  display: block;
  width: 34px;
  height: 34px;
  background: var(--card-accent, var(--rust));
  clip-path: polygon(50% 0, 92% 25%, 92% 75%, 50% 100%, 8% 75%, 8% 25%);
}

.icon-banner::before {
  width: 36px;
  height: 24px;
  background: transparent;
  border: 3px solid var(--card-accent, var(--rust));
  clip-path: none;
}

.icon-fleet::before {
  height: 24px;
  border-radius: 999px;
  clip-path: none;
}

.icon-store::before {
  background:
    linear-gradient(var(--card-accent, var(--rust)) 0 0) 50% 0 / 100% 8px no-repeat,
    linear-gradient(var(--card-accent, var(--rust)) 0 0) 50% 100% / 72% 22px no-repeat;
  clip-path: none;
}

.icon-event::before {
  clip-path: polygon(50% 0, 60% 34%, 96% 18%, 72% 50%, 96% 82%, 60% 66%, 50% 100%, 40% 66%, 4% 82%, 28% 50%, 4% 18%, 40% 34%);
}

.icon-design::before {
  transform: rotate(45deg);
  clip-path: none;
}

/* ══════════════════════════════
   PORTFOLIO / VIDEOS
══════════════════════════════ */
.portfolio {
  padding: 5rem 2.5rem;
  border-bottom: 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(201, 74, 26, 0.24), transparent 24rem),
    radial-gradient(circle at 82% 20%, rgba(110, 198, 255, 0.13), transparent 26rem),
    linear-gradient(135deg, #17110a 0%, var(--press) 58%, #102734 100%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.portfolio > * {
  position: relative;
  z-index: 1;
}

.portfolio::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  background:
    conic-gradient(from 180deg at 50% 45%, transparent, rgba(255, 212, 59, 0.08), transparent 32%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 34rem);
  transform: translateY(var(--cinema-shift, 0));
  transition: transform 0.2s linear;
}

.portfolio::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 0;
  height: clamp(110px, 14vw, 220px);
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 100%, rgba(255, 212, 59, 0.16), transparent 42%),
    radial-gradient(ellipse at 82% 100%, rgba(110, 198, 255, 0.12), transparent 44%),
    linear-gradient(to bottom, rgba(16, 39, 52, 0), rgba(245, 240, 232, 0.88) 88%, var(--paper));
}

.p-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.port-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.sec-lbl {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.sec-lbl::after {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.sec-ttl {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 0.95;
  color: var(--paper);
}

.port-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.port-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.port-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(255, 127, 0, 0.3);
}

.port-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.port-item:hover img {
  transform: scale(1.08);
}

.port-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  color: var(--paper);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.port-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════
   CTA SECTION
══════════════════════════════ */
.cta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.p-lbl {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.p-lbl::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(212, 160, 23, 0.2);
}
.p-ttl {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 0.95;
  color: var(--paper);
}

.p-link {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
}

.p-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.p-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* portfolio carousel */
.old-portfolio-grid {
  display: none !important;
}

.portfolio-carousel {
  position: relative;
  overflow: visible;
  padding: 0 4rem 3.2rem;
}

.portfolio-viewport {
  overflow: hidden;
  border: 1.5px solid rgba(245, 240, 232, 0.16);
  background: var(--ink);
}

.portfolio-track {
  display: flex;
  gap: 3px;
  transform: translateX(0);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.portfolio-card {
  flex: 0 0 calc((100% - 6px) / 3);
  aspect-ratio: 4 / 5;
}

.portfolio-arrow {
  position: absolute;
  top: calc(50% - 1.6rem);
  z-index: 5;
  width: 54px;
  height: 54px;
  border: 1.5px solid rgba(245, 240, 232, 0.35);
  background: rgba(26, 18, 8, 0.72);
  color: var(--paper);
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.25s;
}

.portfolio-arrow:hover {
  background: linear-gradient(135deg, var(--rust), var(--gold));
  border-color: var(--gold);
}

.portfolio-prev {
  left: 0;
  transform: translateY(-50%);
}
.portfolio-next {
  right: 0;
  transform: translateY(-50%);
}
.portfolio-prev:hover {
  transform: translate(-4px, -50%);
}
.portfolio-next:hover {
  transform: translate(4px, -50%);
}

.portfolio-dots {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: flex;
  gap: 0.45rem;
  transform: translateX(-50%);
}

.portfolio-dots button {
  width: 1.7rem;
  height: 3px;
  border: 0;
  background: rgba(245, 240, 232, 0.25);
  cursor: pointer;
  transition:
    width 0.25s,
    background 0.25s;
}

.portfolio-dots button.is-active {
  width: 3.2rem;
  background: linear-gradient(90deg, var(--rust), var(--gold));
}

/* video grid rows */
.p-grid {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.portfolio-gallery {
  position: relative;
  padding: 0 4rem 3.2rem;
}

.portfolio-window {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 212, 59, 0.08), rgba(110, 198, 255, 0.08)),
    var(--ink);
  border: 1.5px solid rgba(255, 212, 59, 0.34);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  position: relative;
  transform: translateY(var(--cinema-shift, 0));
  transition:
    transform 0.2s linear,
    box-shadow 0.35s;
}

.portfolio-window::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 10%, rgba(255,255,255,0.12) 38%, transparent 62%);
  transform: translateX(-120%);
  animation: lightSweep 6.5s ease-in-out infinite;
}

.portfolio-window:hover {
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 212, 59, 0.24);
}

.portfolio-gallery .portfolio-track {
  flex-direction: row;
  gap: 3px;
  transform: translateX(0);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.portfolio-item {
  flex: 0 0 calc((100% - 3px) / 2);
  aspect-ratio: 16 / 10;
}

.portfolio-gallery .portfolio-arrow {
  top: 50%;
}

.p-row-large {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}
.p-row-mixed {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.48fr);
  align-items: start;
}
.p-row-small {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
.p-row-graphics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 3px;
}

/* ── VIDEO CARD ── */
.vid-card {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  cursor: pointer;
  transform-style: preserve-3d;
  transition:
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.vid-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 10%, rgba(255, 255, 255, 0.18) 45%, transparent 62%),
    radial-gradient(circle at 80% 20%, rgba(255, 212, 59, 0.14), transparent 12rem);
  opacity: 0;
  transform: translateX(-28%) skewX(-10deg);
  transition:
    opacity 0.35s,
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.vid-card:hover,
.vid-card:focus-visible {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.vid-card:hover::after,
.vid-card:focus-visible::after {
  opacity: 1;
  transform: translateX(18%) skewX(-10deg);
}

.vid-card.landscape {
  aspect-ratio: 16 / 9;
}
.vid-card.portrait {
  aspect-ratio: 9 / 16;
}
.vid-card.square {
  aspect-ratio: 1 / 1;
}
.vid-card.graphic.landscape {
  grid-column: span 2;
}
.vid-card.graphic.portrait,
.vid-card.graphic.square {
  grid-column: span 1;
}
.p-row-graphics .vid-card.graphic {
  aspect-ratio: 1 / 1;
  grid-column: auto;
}

.vid-card video,
.vid-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition:
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s,
    filter 0.35s;
}

.vid-card:hover video,
.vid-card:hover img {
  transform: scale(1.09);
  opacity: 1;
  filter: saturate(1.12) contrast(1.06);
}

.vid-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 18, 8, 0.9) 0%, transparent 55%);
  transition: opacity 0.3s;
  z-index: 1;
}

.vid-card:hover .vid-overlay {
  opacity: 0.6;
}

/* play button */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  background: rgba(201, 74, 26, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.25s,
    box-shadow 0.35s;
}

.portfolio .play-btn {
  display: none;
}

.vid-card:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.18);
  background: var(--rust);
  box-shadow: 0 0 36px rgba(201, 74, 26, 0.6);
}

.play-btn svg {
  width: 20px;
  height: 20px;
  color: #fff;
  margin-left: 3px;
}

.vid-card.portrait .play-btn {
  width: 40px;
  height: 40px;
}
.vid-card.portrait .play-btn svg {
  width: 16px;
  height: 16px;
}

/* label */
.vid-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.2rem;
  z-index: 4;
  transform: translateY(6px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.vid-card:hover .vid-label {
  transform: translateY(0);
}
.vid-card:focus-visible .vid-label {
  transform: translateY(0);
}
.vid-card:focus-visible video,
.vid-card:focus-visible img {
  opacity: 1;
}

.vid-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}
.vid-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.1rem;
  color: var(--paper);
  line-height: 1;
}

.vid-card.portrait .vid-label {
  padding: 0.8rem;
}
.vid-card.portrait .vid-name {
  font-size: 0.95rem;
}

/* ══════════════════════════════
   LIGHTBOX
══════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  width: 100%;
  max-width: 960px;
}

.lightbox-video,
.lightbox-image {
  width: 100%;
  display: block;
  background: #000;
  max-height: 80vh;
  border-radius: 2px;
  object-fit: contain;
}

.lightbox-image {
  display: none;
}
.lightbox.show-image .lightbox-video {
  display: none;
}
.lightbox.show-image .lightbox-image {
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-label {
  margin-top: 1rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: 0.04em;
  text-align: center;
  opacity: 0.7;
}

/* ══════════════════════════════
   CONTACT
══════════════════════════════ */
.contact {
  padding: 7rem 2.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  border-bottom: 0;
  background:
    radial-gradient(circle at 14% 16%, rgba(255, 212, 59, 0.24), transparent 22rem),
    radial-gradient(circle at 88% 24%, rgba(110, 198, 255, 0.22), transparent 24rem),
    linear-gradient(135deg, var(--paper), #fff7df 52%, #e7f8ff);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
  height: clamp(130px, 16vw, 260px);
  pointer-events: none;
  background:
    radial-gradient(ellipse at 16% 0%, rgba(255, 212, 59, 0.24), transparent 46%),
    radial-gradient(ellipse at 82% 0%, rgba(110, 198, 255, 0.22), transparent 48%),
    linear-gradient(to bottom, rgba(16, 39, 52, 0.92), rgba(41, 35, 21, 0.26) 46%, rgba(245, 240, 232, 0));
}

.contact > * {
  position: relative;
  z-index: 1;
}

.contact .sec-lbl {
  color: var(--rust);
}

.contact .sec-lbl::after {
  background: var(--gray-light);
}

.contact .sec-ttl {
  color: var(--ink);
}
.c-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.c-det {
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-light);
}
.c-lbl {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.63rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.5rem;
}
.c-val {
  font-size: 1.02rem;
  color: var(--ink);
  font-weight: 500;
}
.c-sub {
  font-size: 0.83rem;
  color: var(--gray-mid);
  margin-top: 0.2rem;
}

.c-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.f-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.f-lbl {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

.f-field input,
.f-field textarea,
.f-field select {
  background: rgba(255, 255, 255, 0.48);
  border: 1.5px solid var(--gray-light);
  padding: 0.72rem 1rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  color: var(--ink);
  outline: none;
  border-radius: 0;
  appearance: none;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.f-field input:focus,
.f-field textarea:focus,
.f-field select:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(110, 198, 255, 0.2);
}

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

.f-btn {
  background: linear-gradient(135deg, var(--rust), #f06f22);
  color: var(--paper);
  border: 1.5px solid var(--rust);
  padding: 0.88rem 2rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.73rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  align-self: flex-start;
  border-radius: 0;
  transition: transform 0.25s;
}

.f-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateX(-105%) skewX(-8deg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.f-btn:hover::before {
  transform: translateX(0) skewX(0);
}
.f-btn:hover {
  transform: translateY(-2px);
}
.f-btn span {
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer {
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background:
    linear-gradient(90deg, var(--ink), #102734 58%, #2c1a0d);
  border-top: 3px solid var(--rust);
}

.f-logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
  color: var(--paper);
  letter-spacing: 0.08em;
  cursor: default;
  transition: letter-spacing 0.4s;
}
.f-logo:hover {
  letter-spacing: 0.15em;
}
.f-logo em {
  color: var(--rust);
  font-style: normal;
}
.f-copy {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  color: rgba(245, 240, 232, 0.3);
  letter-spacing: 0.1em;
}
.f-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.f-links a {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.35);
  text-decoration: none;
  transition: color 0.25s;
}
.f-links a:hover {
  color: var(--rust);
}

/* ══════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════ */
.fl {
  opacity: 0;
  will-change: opacity, transform, filter;
}

.fl-blur {
  filter: blur(12px);
  transform: translateY(24px);
}
.fl-left {
  transform: translateX(-48px);
  filter: blur(6px);
}
.fl-right {
  transform: translateX(48px);
  filter: blur(6px);
}
.fl-scale {
  transform: scale(0.92) translateY(28px);
  filter: blur(4px);
}
.fl-up {
  transform: translateY(32px);
  filter: blur(8px);
}

.fl.in {
  opacity: 1;
  filter: blur(0);
  transform: none;
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.d1 {
  transition-delay: 0.08s !important;
}
.d2 {
  transition-delay: 0.16s !important;
}
.d3 {
  transition-delay: 0.24s !important;
}
.d4 {
  transition-delay: 0.32s !important;
}
.d5 {
  transition-delay: 0.4s !important;
}

/* ══════════════════════════════
   KEYFRAMES
══════════════════════════════ */
@keyframes revealTag {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0% 0 0);
  }
}
@keyframes lineUp {
  from {
    opacity: 0;
    transform: translateY(110%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes blurIn {
  from {
    opacity: 0;
    filter: blur(12px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}
@keyframes fadeRise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.07);
  }
}
@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes mq {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes heroDrift {
  from {
    object-position: 46% 50%;
  }
  to {
    object-position: 56% 50%;
  }
}

@keyframes lightSweep {
  0%,
  42% {
    transform: translateX(-120%);
  }
  70%,
  100% {
    transform: translateX(120%);
  }
}

@media (max-width: 900px) {
  nav {
    padding: 1rem 1.2rem;
  }
  .hero-gallery .slide,
  .hero-gallery .slide.active {
    transform: scale(1) !important;
  }
  .fl,
  .fl-left,
  .fl-right,
  .fl-up,
  .fl-scale,
  .fl-blur {
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
  .exp-text,
  .exp-media {
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
  .exp-media video,
  .exp-media img {
    max-width: 100%;
    height: auto;
  }
  nav.compact {
    padding: 0.7rem 1.2rem;
  }
  .nav-links {
    gap: 0.6rem;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.35rem 0.25rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-l {
    border-right: none;
    border-bottom: 1.5px solid var(--ink);
    padding: 4rem 1.2rem 3.4rem;
  }

  .hero-r {
    min-height: min(72vh, 640px);
  }

  .hero-slide-copy {
    bottom: 4.7rem;
  }

  .gallery-prev {
    left: 0.9rem;
  }
  .gallery-next {
    right: 0.9rem;
  }

  .portfolio,
  .services,
  .contact {
    padding-inline: 1.2rem;
  }

  .portfolio-gallery {
    padding-inline: 3.2rem;
  }

  .p-row-graphics {
    grid-template-columns: repeat(4, 1fr);
  }

  .portfolio-carousel {
    padding-inline: 3.2rem;
  }

  .portfolio-card {
    flex-basis: calc((100% - 3px) / 2);
  }
}

@media (max-width: 620px) {
  nav {
    position: relative;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    overflow: hidden;
  }

  nav.compact {
    padding: 0.75rem 1rem;
  }

  .logo {
    flex-shrink: 0;
  }

  .logo img {
    width: 96px;
    max-height: 44px;
  }

  .nav-links {
    flex: 1;
    justify-content: flex-end;
    gap: 0.35rem 0.6rem;
  }

  .nav-links a {
    min-height: 40px;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    background: rgba(255, 255, 255, 0.28);
    padding-inline: 0.55rem;
  }

  .nav-quote {
    padding: 0.5rem 0.7rem !important;
  }

  .h-btns,
  .h-stats,
  footer,
  .p-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .h-title {
    font-size: clamp(3.8rem, 18vw, 5.3rem);
  }

  .h-sub {
    max-width: none;
    margin: 1.4rem 0 2rem;
  }

  .h-btns {
    width: 100%;
  }

  .btn-cta,
  .btn-ghost,
  .f-btn,
  .p-link {
    min-height: 48px;
  }

  .btn-cta,
  .f-btn {
    width: 100%;
    text-align: center;
  }

  .btn-ghost {
    justify-content: center;
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--ink);
  }

  .h-stats {
    width: 100%;
    gap: 1.3rem;
    margin-top: 2.5rem;
  }

  .hero-r {
    min-height: min(68vh, 560px);
  }

  .gallery-arrow,
  .nav-btn {
    width: 48px;
    height: 48px;
    font-size: 2rem;
  }

  .gallery-dots {
    left: 1.2rem;
    right: auto;
  }

  .svc-head,
  .svc-grid,
  .contact,
  .f-row,
  .p-row-large,
  .p-row-small,
  .p-row-graphics {
    grid-template-columns: 1fr;
  }

  .svc-head {
    gap: 1.1rem;
    margin-bottom: 2.2rem;
  }

  .svc-card {
    min-height: 190px;
    padding: 1.75rem 1.35rem 3.2rem;
  }

  .p-grid {
    gap: 0.75rem;
  }

  .portfolio-gallery {
    padding: 0 0 3rem;
  }

  .portfolio-gallery .portfolio-arrow {
    top: auto;
    bottom: -2px;
  }

  .portfolio-window {
    border-left: 0;
    border-right: 0;
    border-radius: 14px;
  }

  .portfolio-item {
    flex-basis: 100%;
    aspect-ratio: 4 / 5;
  }

  .portfolio-carousel {
    padding: 0 0 3rem;
  }

  .portfolio-viewport {
    border-left: 0;
    border-right: 0;
  }

  .portfolio-card {
    flex-basis: 100%;
  }

  .portfolio-arrow {
    top: auto;
    bottom: -2px;
    width: 48px;
    height: 48px;
    font-size: 2rem;
  }

  .portfolio-prev {
    left: 0;
  }
  .portfolio-next {
    right: 0;
  }

  .portfolio-dots {
    bottom: 0.75rem;
    max-width: calc(100% - 7rem);
    overflow: hidden;
  }

  .p-row-large,
  .p-row-small,
  .p-row-graphics {
    gap: 0.75rem;
  }

  .vid-card.landscape,
  .vid-card.portrait,
  .vid-card.square {
    aspect-ratio: 4 / 5;
  }

  .vid-card.graphic.landscape,
  .vid-card.graphic.portrait,
  .vid-card.graphic.square {
    grid-column: auto;
  }

  .vid-card video,
  .vid-card img {
    opacity: 0.9;
  }

  .vid-label {
    transform: none;
    padding: 1rem;
  }

  .svc-card,
  .svc-card:nth-child(3n),
  .svc-card:nth-last-child(-n + 3) {
    border-right: none;
    border-bottom: 1.5px solid var(--ink);
  }

  .contact {
    gap: 3rem;
  }

  .c-info {
    gap: 1.8rem;
  }

  .f-field input,
  .f-field textarea,
  .f-field select {
    min-height: 48px;
    font-size: 1rem;
  }

  footer {
    gap: 1rem;
  }

  .f-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 420px) {
  nav {
    display: block;
  }

  .nav-links {
    justify-content: flex-start;
    margin-top: 0.65rem;
  }

  .hero-l {
    padding-top: 3rem;
  }

  .hero-r {
    min-height: 52vh;
  }

  .hero-slide-copy strong {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .exp-text,
  .exp-media,
  .portfolio-window,
  .portfolio::before {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}

/* ══════════════════════════════
   SEÇÕES EXPLICATIVAS
══════════════════════════════ */
.explicativa {
  width: 100%;
  padding: 6rem 2rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  max-width: 100%;
}

.explicativa::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.14), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.16)),
    radial-gradient(circle at var(--scene-x, 78%) 42%, rgba(255, 255, 255, 0.16), transparent 22rem);
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.explicativa.scene-in::after {
  opacity: 1;
  transform: scale(1);
}

.banner-section {
  background:
    radial-gradient(circle at 92% 12%, rgba(110, 198, 255, 0.22), transparent 23rem),
    linear-gradient(135deg, #ffffff 0%, var(--cream) 100%);
  color: var(--ink);
}

.car-section {
  background:
    linear-gradient(to bottom, rgba(245, 240, 232, 0.2), rgba(7, 7, 7, 0) 18%),
    radial-gradient(circle at 82% 42%, rgba(255, 127, 0, 0.18), transparent 22rem),
    radial-gradient(circle at 18% 12%, rgba(110, 198, 255, 0.1), transparent 18rem),
    #070707;
  color: #f5f0e8;
}

.placas-section {
  background:
    linear-gradient(to bottom, rgba(255, 165, 0, 0.28), rgba(217, 238, 255, 0) 20%),
    linear-gradient(135deg, #d9eeff 0%, #effbff 52%, #fff6d8 100%);
  color: var(--ink);
}

.yellow-section {
  background:
    linear-gradient(to bottom, rgba(7, 7, 7, 0.24), rgba(255, 215, 0, 0) 18%),
    linear-gradient(135deg, #FFD700 0%, #FFA500 56%, #ff6b2a 100%);
  color: #000;
  position: relative;
  overflow: hidden;
}

.yellow-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.yellow-section .exp-text h2 {
  color: #000;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.yellow-section .exp-text p {
  color: rgba(0, 0, 0, 0.85);
}

.yellow-section .exp-text li {
  color: rgba(0, 0, 0, 0.85);
}

.yellow-section .exp-text li::before {
  border-color: #000;
}

.yellow-section .exp-media img {
  border: 3px solid #FFF;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.exp-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  perspective: 1200px;
}

.exp-media {
  min-height: 0;
  align-self: center;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translate3d(44px, 32px, 0) rotateY(-7deg) scale(0.96);
  filter: blur(12px);
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.exp-text {
  max-width: 560px;
  opacity: 0;
  transform: translate3d(-44px, 28px, 0);
  filter: blur(10px);
  transition:
    opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

.scene-in .exp-text {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.scene-in .exp-media {
  opacity: 1;
  transform: translate3d(0, var(--cinema-shift, 0), 0) rotateY(0) scale(1);
  filter: blur(0);
}

.exp-text h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3.5rem;
  color: inherit;
  margin-bottom: 1.3rem;
  letter-spacing: 0.05em;
}

.banner-section .exp-text h2 {
  color: var(--ink);
}

.car-section .exp-text h2 {
  color: #ff8a1f;
}

.placas-section .exp-text h2 {
  color: #126484;
}

.exp-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: inherit;
  opacity: 0.95;
}

.section-highlight {
  margin-bottom: 1.5rem;
  color: #ffb700;
  font-weight: 600;
}

.banner-section .exp-text p,
.placas-section .exp-text p {
  color: var(--gray-mid);
}

.exp-text ul {
  list-style: none;
  padding: 0;
}

.exp-text li {
  padding: 0.6rem 0;
  position: relative;
  padding-left: 2rem;
  font-size: 1rem;
}

.exp-text li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.78rem;
  width: 0.7rem;
  height: 0.38rem;
  border-left: 2px solid #ff7f00;
  border-bottom: 2px solid #ff7f00;
  transform: rotate(-45deg);
}

.exp-media {
  min-height: 0;
  display: flex;
  align-items: center;
}

.exp-media video,
.exp-media img {
  width: 100%;
  height: clamp(320px, 42vw, 520px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: scale(1.01);
  transition:
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.5s;
}

.exp-media:hover video,
.exp-media:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.04);
}

.car-section .exp-media img,
.car-section .exp-media video {
  object-position: center;
}

.car-section .exp-media video {
  border: 2px solid #ff7f00;
}

.placas-section .exp-media img {
  border: 2px solid #19495d;
}

@media (max-width: 900px) {
  .explicativa {
    padding: 4rem 1.2rem;
    min-height: auto;
  }

  .exp-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .exp-media video,
  .exp-media img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .exp-text h2 {
    font-size: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .explicativa::after,
  .exp-text,
  .exp-media,
  .portfolio-window,
  .portfolio::before {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366, #128c4a);
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 16px 40px rgba(18, 140, 74, 0.35);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(18, 140, 74, 0.46);
}

.conversion-section {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 2.5rem;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 212, 59, 0.18), transparent 24rem),
    radial-gradient(circle at 92% 18%, rgba(110, 198, 255, 0.16), transparent 24rem),
    linear-gradient(135deg, var(--paper), #fff7df 58%, #eaf8ff);
}

.conversion-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.24), transparent 22%, transparent 78%, rgba(26, 18, 8, 0.05)),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.35), transparent 28rem);
}

.conversion-section > * {
  position: relative;
  z-index: 1;
}

.conversion-head {
  max-width: 980px;
  margin: 0 auto 3rem;
  text-align: center;
}

.conversion-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin-bottom: 1.2rem;
}

.conversion-head p,
.split-copy p {
  color: var(--gray-mid);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

.benefit-grid,
.testimonial-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
}

.benefit-card,
.testimonial-card,
.faq-item,
.comparison-grid > div {
  border: 1.5px solid rgba(26, 18, 8, 0.16);
  background: rgba(255, 255, 255, 0.46);
  padding: 2rem;
  box-shadow: 0 18px 55px rgba(26, 18, 8, 0.08);
  backdrop-filter: blur(12px);
}

.benefit-card span {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--rust);
  margin-bottom: 1.4rem;
}

.benefit-card h3,
.testimonial-card strong,
.faq-item h3,
.comparison-grid h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.75rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

.benefit-card p,
.testimonial-card p,
.faq-item p,
.comparison-grid p {
  color: var(--gray-mid);
  line-height: 1.65;
}

.transform-section {
  background:
    radial-gradient(circle at 80% 40%, rgba(255, 127, 0, 0.18), transparent 22rem),
    linear-gradient(135deg, #110d08, #102734 72%);
  color: var(--paper);
}

.transform-section .sec-lbl,
.transform-section .conversion-title {
  color: var(--paper);
}

.transform-section .split-copy p,
.transform-section .comparison-grid p {
  color: rgba(245, 240, 232, 0.72);
}

.split-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.comparison-grid {
  display: grid;
  gap: 1rem;
}

.comparison-grid > div {
  background: rgba(245, 240, 232, 0.08);
  border-color: rgba(245, 240, 232, 0.18);
}

.comparison-grid > div:last-child {
  border-color: rgba(255, 212, 59, 0.44);
  box-shadow: 0 18px 65px rgba(255, 127, 0, 0.18);
}

.comparison-card img {
  width: 100%;
  height: clamp(120px, 16vw, 190px);
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  filter: saturate(0.92) contrast(1.02);
}

.comparison-card:last-child img {
  filter: saturate(1.08) contrast(1.05);
}

.fleet-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(110, 198, 255, 0.24), transparent 24rem),
    linear-gradient(135deg, #eaf8ff, #fff6d8 64%, #fff);
}

.section-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 0.95rem 1.4rem;
  background: linear-gradient(135deg, var(--rust), #f06f22);
  color: var(--paper);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.testimonials-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 212, 59, 0.34), transparent 25rem),
    radial-gradient(circle at 86% 22%, rgba(110, 198, 255, 0.24), transparent 26rem),
    linear-gradient(135deg, #fff8dc 0%, #fff1d1 46%, #e8f8ff 100%);
}

.testimonials-section .testimonial-card {
  position: relative;
  border-color: rgba(201, 74, 26, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 248, 220, 0.58)),
    radial-gradient(circle at 100% 0%, rgba(255, 127, 0, 0.12), transparent 12rem);
  overflow: hidden;
}

.testimonials-section .testimonial-card::before {
  content: "";
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rust), var(--gold));
  opacity: 0.18;
}

.testimonials-section .testimonial-card:nth-child(2) {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(232, 248, 255, 0.7)),
    radial-gradient(circle at 100% 0%, rgba(110, 198, 255, 0.18), transparent 12rem);
}

.testimonials-section .testimonial-card:nth-child(3) {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 240, 214, 0.7)),
    radial-gradient(circle at 100% 0%, rgba(255, 107, 42, 0.16), transparent 12rem);
}

.testimonial-card p {
  font-size: 1.05rem;
  margin-bottom: 1.3rem;
}

.faq-grid {
  grid-template-columns: repeat(2, 1fr);
}

.faq-section {
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 127, 0, 0.18), transparent 25rem),
    radial-gradient(circle at 88% 8%, rgba(110, 198, 255, 0.22), transparent 24rem),
    linear-gradient(135deg, #fffdf8 0%, #fff7df 52%, #e9f8ff 100%);
}

.faq-section .faq-item {
  position: relative;
  overflow: hidden;
  border-color: rgba(18, 100, 132, 0.16);
  background: rgba(255, 255, 255, 0.66);
}

.faq-section .faq-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(to bottom, var(--rust), var(--gold));
}

.faq-section .faq-item:nth-child(2)::before {
  background: linear-gradient(to bottom, var(--sky), var(--cyan));
}

.faq-section .faq-item:nth-child(3)::before {
  background: linear-gradient(to bottom, var(--gold), #ff6b2a);
}

.faq-section .faq-item:nth-child(4)::before {
  background: linear-gradient(to bottom, #126484, var(--mint));
}

.faq-section .faq-item h3 {
  color: var(--ink);
}

@media (max-width: 620px) {
  .whatsapp-float {
    right: 0.9rem;
    bottom: 0.9rem;
    padding: 0.8rem 1rem;
    font-size: 0.68rem;
  }

  .conversion-section {
    padding: 4rem 1.2rem;
  }

  .benefit-grid,
  .testimonial-grid,
  .faq-grid,
  .split-copy {
    grid-template-columns: 1fr;
  }

  .conversion-head {
    text-align: left;
  }

  .benefit-card,
  .testimonial-card,
  .faq-item,
  .comparison-grid > div {
    padding: 1.55rem;
  }
}
