/* ═══════════════════════════════════════════════════════════
   LUCAS VIDAL — FILM MAKER
   Premium Cinematic Portfolio CSS
   ═══════════════════════════════════════════════════════════ */

/* ─── RESET & BASE ───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors */
  --black: #080808;
  --dark: #0f0f0f;
  --dark-2: #161616;
  --dark-3: #1e1e1e;
  --dark-4: #2a2a2a;
  --mid: #3a3a3a;
  --muted: #888;
  --light: #b8b8b8;
  --white: #f0ece6;
  --accent: #c8a96e;
  /* warm gold */
  --accent-2: #9b7e4f;

  /* Typography */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --display: 'Cardo', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  --mono: 'Space Grotesk', monospace;

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 140px);
  --container: 1280px;
  --gutter: clamp(24px, 5vw, 60px);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ─── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
}

/* ─── SELECTION ──────────────────────────────────────────── */
::selection {
  background: var(--accent);
  color: var(--black);
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

em {
  font-style: italic;
  color: var(--accent);
}

/* ─── UTILITIES ──────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-pad) 0;
}

.section-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.section-header {
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1.1;
  color: var(--white);
}

.dot {
  color: var(--accent);
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(240, 236, 230, 0.3);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--mid);
}

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

/* ─── REVEAL ANIMATIONS ──────────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

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

.reveal-up:nth-child(1) {
  transition-delay: 0.1s;
}

.reveal-up:nth-child(2) {
  transition-delay: 0.2s;
}

.reveal-up:nth-child(3) {
  transition-delay: 0.3s;
}

.reveal-up:nth-child(4) {
  transition-delay: 0.4s;
}

/* ─── LOADER ─────────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease-out), visibility 0.8s;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.loader-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.5em;
  color: var(--white);
  opacity: 0;
  animation: loaderFadeIn 0.5s 0.3s forwards;
}

.loader-bar {
  width: 160px;
  height: 1px;
  background: var(--dark-4);
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  animation: loaderProgress 1.8s var(--ease-out) forwards;
}

@keyframes loaderFadeIn {
  to {
    opacity: 1;
  }
}

@keyframes loaderProgress {
  to {
    width: 100%;
  }
}

/* ─── NAV ────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--gutter);
  transition: background 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease;
}

#nav.scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(20px);
  padding: 18px var(--gutter);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--white);
  transition: color 0.3s;
}

.nav-logo:hover {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links li a {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light);
  transition: color 0.3s;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}

.nav-links li a:hover {
  color: var(--white);
}

.nav-links li a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--black) !important;
  padding: 10px 20px;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--white) !important;
  opacity: 1;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
}

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

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mobile-menu ul li a {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--white);
  transition: color 0.3s;
}

.mobile-menu ul li a:hover {
  color: var(--accent);
}

.mobile-close {
  position: absolute;
  top: 28px;
  right: var(--gutter);
  color: var(--light);
  font-size: 1.2rem;
  transition: color 0.3s;
}

.mobile-close:hover {
  color: var(--white);
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--gutter) clamp(60px, 8vw, 100px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-single {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── LANGUAGE SWITCHER ──────────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
}

.lang-btn {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 5px 7px;
  border: 1px solid transparent;
  transition: all 0.25s;
  line-height: 1;
}

.lang-btn:hover {
  color: var(--white);
}

.lang-btn.active {
  color: var(--accent);
  border-color: rgba(200, 169, 110, 0.3);
}

.mobile-lang {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.mobile-lang .lang-btn {
  font-size: 0.75rem;
  padding: 8px 12px;
}

/* ─── NOME FICTÍCIO ──────────────────────────────────────── */
.ficticio {
  font-family: var(--mono);
  font-size: 0.6em;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-style: normal;
  font-weight: 400;
  vertical-align: middle;
  margin-left: 4px;
  opacity: 0.7;
}

.loader-ficticio {
  font-family: var(--mono);
  font-size: 0.45em;
  letter-spacing: 0.1em;
  color: var(--muted);
  vertical-align: middle;
  opacity: 0.5;
}

/* ─── PLACEHOLDER (VIDEO & IMAGE) ────────────────────────── */
.video-placeholder,
.image-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-placeholder-label,
.placeholder-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240, 236, 230, 0.5);
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
  padding: 10px 18px;
  border: 1px dashed rgba(240, 236, 230, 0.2);
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(2px);
}

/* ─── PROCESSO — NUMBERED LIST ────────────────────────────── */
.process-section {
  background: var(--dark-2);
}

.process-list {
  max-width: 960px;
  margin: 0 auto;
}

.process-item {
  display: grid;
  grid-template-columns: clamp(64px, 8vw, 120px) 1px 1fr;
  gap: 0 clamp(28px, 4vw, 56px);
  padding: clamp(36px, 5vw, 56px) 0;
  border-top: 1px solid var(--dark-4);
  align-items: center;
  transition: border-color 0.3s;
  cursor: default;
}

.process-item:last-child {
  border-bottom: 1px solid var(--dark-4);
}

.process-item:hover {
  border-color: rgba(200, 169, 110, 0.35);
}

.process-num {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: opacity 0.3s;
}

.process-item:hover .process-num {
  opacity: 0.65;
}

.process-bar {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(to bottom, transparent, var(--accent) 15%, var(--accent) 85%, transparent);
  opacity: 0.25;
  transition: opacity 0.3s;
}

.process-item:hover .process-bar {
  opacity: 0.6;
}

.process-body {
  display: flex;
  flex-direction: column;
}

.step-icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
  overflow: hidden;
}

.step-icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.step-title {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--accent);
  margin-bottom: 10px;
  line-height: 1.2;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--light);
  line-height: 1.75;
  max-width: 560px;
}

@media (max-width: 600px) {
  .process-item {
    grid-template-columns: 52px 1px 1fr;
    gap: 0 16px;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(8, 8, 8, 0.2) 0%,
      rgba(8, 8, 8, 0.3) 40%,
      rgba(8, 8, 8, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-tagline {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  transition-delay: 0.2s !important;
}

.hero-headline {
  font-size: clamp(2.2rem, 3.5vw, 4rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  transition-delay: 0.3s !important;
}

.hero-sub {
  max-width: 520px;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: var(--light);
  line-height: 1.7;
  margin-bottom: 40px;
  transition-delay: 0.4s !important;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  transition-delay: 0.5s !important;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  right: var(--gutter);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: var(--mid);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollAnim 1.5s ease-in-out infinite;
}

@keyframes scrollAnim {
  to {
    top: 200%;
  }
}

/* ─── NUMBERS BAR ────────────────────────────────────────── */
.numbers-bar {
  border-top: 1px solid var(--dark-4);
  border-bottom: 1px solid var(--dark-4);
  padding: 40px var(--gutter);
  background: var(--dark);
}

.numbers-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.number-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 20px 24px;
}

.number-val {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.number-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.number-divider {
  width: 1px;
  height: 50px;
  background: var(--dark-4);
  flex-shrink: 0;
}

/* ─── PORTFOLIO ──────────────────────────────────────────── */
.portfolio-section {
  background: var(--black);
}

.portfolio-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 18px;
  border: 1px solid var(--dark-4);
  transition: all 0.3s;
}

.filter-btn:hover {
  color: var(--white);
  border-color: var(--mid);
}

.filter-btn.active {
  color: var(--black);
  background: var(--accent);
  border-color: var(--accent);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 12px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--dark-3);
  transition: transform 0.4s var(--ease-out);
}

.portfolio-item.large {
  grid-column: span 2;
}

.portfolio-item:hover {
  transform: scale(1.01);
}

.portfolio-thumb {
  position: absolute;
  inset: 0;
}

.thumb-bg {
  width: 100%;
  height: 100%;
  transition: transform 0.6s var(--ease-out);
}

.portfolio-item:hover .thumb-bg {
  transform: scale(1.05);
}

.portfolio-hover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(8, 8, 8, 0.5);
  opacity: 0;
  transition: opacity 0.3s;
  backdrop-filter: blur(4px);
}

.portfolio-item:hover .portfolio-hover {
  opacity: 1;
}

.play-btn {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(240, 236, 230, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s;
}

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

.portfolio-item:hover .play-btn {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
  transform: scale(1.1);
}

.hover-cat {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(transparent, rgba(8, 8, 8, 0.9));
}

.portfolio-info h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 4px;
}

.portfolio-info p {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.portfolio-item.hidden {
  display: none;
}

.portfolio-cta {
  margin-top: 48px;
  text-align: center;
}

/* ─── CASE STUDIES ───────────────────────────────────────── */
.case-section {
  background: var(--dark);
}

.case-section .container {
  margin-bottom: 60px;
}

.cases-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.case-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.case-item.reverse {
  direction: rtl;
}

.case-item.reverse>* {
  direction: ltr;
}

.case-visual {
  position: relative;
  overflow: hidden;
}

.case-video-wrap {
  height: 100%;
  min-height: 400px;
  position: relative;
}

.case-video-bg {
  width: 100%;
  height: 100%;
  transition: transform 0.6s var(--ease-out);
}

.case-item:hover .case-video-bg {
  transform: scale(1.03);
}

.case-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-play-btn {
  width: 72px;
  height: 72px;
  transition: transform 0.3s;
}

.case-play-btn svg {
  width: 72px;
  height: 72px;
}

.case-play-btn:hover {
  transform: scale(1.15);
}

.case-label-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 12px;
  border: 1px solid var(--accent);
}

.case-content {
  padding: clamp(40px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--dark-2);
}

.case-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.case-meta span {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.case-meta span:not(:last-child)::after {
  content: '·';
  margin-left: 16px;
  color: var(--dark-4);
}

.case-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--white);
  margin-bottom: 32px;
}

.case-sections {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.case-block h4 {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 500;
}

.case-block p {
  font-size: 0.9rem;
  color: var(--light);
  line-height: 1.7;
}

.case-result {
  padding: 20px;
  border-left: 2px solid var(--accent);
  background: rgba(200, 169, 110, 0.05);
  margin-top: 8px;
}

.result-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.case-result p {
  font-style: italic;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.5;
}

/* ─── ABOUT ──────────────────────────────────────────────── */
.about-section {
  background: var(--black);
}

.about-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-photo-frame {
  position: relative;
  aspect-ratio: 3/4;
  max-width: 420px;
}

.about-photo-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 40%, #0f0f0f 100%);
  position: relative;
}

.about-photo-bg::after {
  content: 'LUCAS VIDAL';
  position: absolute;
  bottom: 32px;
  left: 32px;
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  color: rgba(240, 236, 230, 0.3);
}

.about-photo-accent {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 60%;
  height: 60%;
  border: 1px solid var(--accent);
  z-index: -1;
  opacity: 0.4;
}

.about-quote {
  margin-top: 32px;
  padding-left: 20px;
  border-left: 2px solid var(--dark-4);
}

.about-quote blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.about-quote cite {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--dark-4);
  text-transform: uppercase;
}

.about-content {
  padding: clamp(20px, 3vw, 40px) 0;
}

.about-lead {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 20px;
  font-weight: 400;
}

.about-body p {
  font-size: 0.95rem;
  color: var(--light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-body em {
  font-style: italic;
}

.about-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0;
}

.skill-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light);
  padding: 7px 14px;
  border: 1px solid var(--dark-4);
  transition: all 0.3s;
}

.skill-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ─── SERVICES ───────────────────────────────────────────── */
.services-section {
  background: var(--dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, auto);
  gap: 2px;
}

.service-card {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  background: var(--dark-2);
  position: relative;
  transition: background 0.4s;
  cursor: default;
}

.service-upper {
  padding: clamp(36px, 4vw, 60px);
  padding-bottom: 20px;
}

.service-card:hover {
  background: var(--dark-3);
}

.service-card.featured {
  background: var(--dark-3);
}

.service-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--accent);
  padding: 5px 10px;
}

.service-number {
  font-family: var(--serif);
  font-size: 0.8rem;
  color: var(--dark-4);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 20px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 16px;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--light);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.service-list li {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}

.service-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.7rem;
}

.service-bottom {
  padding: 0 clamp(36px, 4vw, 60px) clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
}

.service-ideal {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 25px;
  padding: 12px;
  background: rgba(200, 169, 110, 0.04);
  border-left: 2px solid var(--dark-4);
}

.service-ideal span {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}

.service-cta {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-cta:hover {
  gap: 12px;
  color: var(--white);
}

/* ─── SOCIAL PROOF ───────────────────────────────────────── */
.social-proof-section {
  background: var(--black);
}

.testimonials-slider {
  position: relative;
}

.testimonial {
  display: none;
  flex-direction: column;
  gap: 32px;
  max-width: 720px;
  margin: 0 auto;
}

.testimonial.active {
  display: flex;
}

.testimonial-content {
  position: relative;
  padding-top: 20px;
}

.quote-icon {
  width: 32px;
  height: 26px;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 20px;
}

.testimonial-content p {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 4px;
}

.testimonial-author span {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
}

.t-prev,
.t-next {
  font-size: 1.2rem;
  color: var(--muted);
  transition: color 0.3s;
  padding: 8px;
}

.t-prev:hover,
.t-next:hover {
  color: var(--accent);
}

.t-dots {
  display: flex;
  gap: 8px;
}

.t-dot {
  width: 6px;
  height: 6px;
  background: var(--dark-4);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.t-dot.active {
  background: var(--accent);
  width: 20px;
  border-radius: 3px;
}

/* Clients */
.clients-section {
  margin-top: 80px;
  border-top: 1px solid var(--dark-4);
  padding-top: 48px;
}

.clients-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 32px;
}

.clients-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px 60px;
}

.client-logo {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  color: var(--dark-4);
  text-transform: uppercase;
  transition: color 0.3s;
  cursor: default;
}

.client-logo:hover {
  color: var(--muted);
}

/* ─── BLOG ───────────────────────────────────────────────── */
.blog-section {
  background: var(--dark);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
}

.blog-card {
  background: var(--dark-2);
  overflow: hidden;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  background: var(--dark-3);
}

.blog-img {
  height: 200px;
  transition: transform 0.5s var(--ease-out);
}

.blog-card:hover .blog-img {
  transform: scale(1.03);
}

.blog-card.featured-card .blog-img {
  height: 260px;
}

.blog-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-cat {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.blog-content h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 12px;
}

.blog-content p {
  font-size: 0.85rem;
  color: var(--light);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.blog-link {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.blog-link:hover {
  gap: 12px;
}

/* ─── CONTACT ────────────────────────────────────────────── */
.contact-section {
  background: var(--black);
  padding: var(--section-pad) 0 0;
}

.contact-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
}

.contact-title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}

.contact-sub {
  font-size: 0.95rem;
  color: var(--light);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-info-item a {
  font-size: 0.95rem;
  color: var(--white);
  transition: color 0.3s;
}

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

.contact-availability {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.availability-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.3);
    opacity: 0.6;
  }
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-group label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--dark-2);
  border: 1px solid var(--dark-4);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 14px 16px;
  transition: border-color 0.3s;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--mid);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e05555;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--dark-2);
  color: var(--white);
}

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

.field-error {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: #e05555;
  letter-spacing: 0.05em;
  min-height: 16px;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form-privacy {
  font-size: 0.75rem;
  color: var(--muted);
  max-width: 260px;
  line-height: 1.5;
}

.btn-submit {
  position: relative;
  min-width: 180px;
  justify-content: center;
}

.btn-loading,
.btn-success {
  display: none;
}

.btn-submit.loading .btn-text {
  display: none;
}

.btn-submit.loading .btn-loading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-submit.success .btn-text {
  display: none;
}

.btn-submit.success .btn-success {
  display: block;
}

.spinner {
  width: 16px;
  height: 16px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-feedback {
  margin-top: 16px;
  padding: 12px 16px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border-radius: 0;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(74, 222, 128, 0.08);
  border-left: 2px solid #4ade80;
  color: #4ade80;
}

.form-feedback.error {
  display: block;
  background: rgba(224, 85, 85, 0.08);
  border-left: 2px solid #e05555;
  color: #e05555;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--dark-4);
  margin-top: var(--section-pad);
}

.footer-top {
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px var(--gutter) 48px;
  display: flex;
  gap: clamp(40px, 6vw, 100px);
  flex-wrap: wrap;
}

.footer-brand {
  flex: 0 0 200px;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--white);
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  line-height: 1.8;
  text-transform: uppercase;
}

.footer-links {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 500;
}

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

.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--light);
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--dark-4);
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom span {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ─── VIDEO MODAL ────────────────────────────────────────── */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.video-modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.modal-inner {
  position: relative;
  z-index: 1;
  width: 90vw;
  max-width: 960px;
}

.modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  color: var(--muted);
  font-size: 1.2rem;
  transition: color 0.3s;
}

.modal-close:hover {
  color: var(--white);
}

.modal-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  background: var(--dark);
}

.modal-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-item.large {
    grid-column: span 2;
  }

  .case-item {
    grid-template-columns: 1fr;
  }

  .case-item.reverse {
    direction: ltr;
  }

  .case-video-wrap {
    min-height: 300px;
  }

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

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

  .blog-card.featured-card {
    grid-column: span 2;
  }

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

  .about-visual {
    max-width: 400px;
  }
}

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

  .hamburger {
    display: flex;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .portfolio-item.large {
    grid-column: span 1;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .numbers-inner {
    flex-direction: column;
    gap: 0;
  }

  .number-divider {
    display: none;
  }

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

  .blog-card.featured-card {
    grid-column: span 1;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .hero-headline {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .form-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ─── SCROLL REVEAL (JS-controlled) ─────────────────────── */
.js-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.js-reveal-delay-1 {
  transition-delay: 0.1s;
}

.js-reveal-delay-2 {
  transition-delay: 0.2s;
}

.js-reveal-delay-3 {
  transition-delay: 0.3s;
}

.js-reveal-delay-4 {
  transition-delay: 0.4s;
}