/* ============================================
   NEXT CONTENT AI — STYLESHEET
   ============================================ */

:root {
  /* Warm near-black → gives film quality instead of digital black */
  --color-black: #0A0908;
  --color-white: #F5F1E8;
  --color-cream: #EDE5D0;
  --color-accent: #C8B89A;
  --color-accent-dark: #9C8960;
  --color-accent-bright: #D9C8A3;
  --color-surface: #111010;
  --color-surface-2: #1A1816;
  --color-text-muted: #8B8578;
  --color-border: rgba(245,241,232,0.08);
  --color-border-strong: rgba(245,241,232,0.18);

  --font-serif: "Cormorant Garamond", "Bodoni 72", Georgia, serif;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 48px;
  --s-6: 64px;
  --s-7: 80px;
  --s-8: 120px;

  --nav-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-editorial: cubic-bezier(0.65, 0, 0.35, 1);
}

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

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

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }

/* Focus ring for keyboard users only */
:focus { outline: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.card:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* Visually hidden but accessible to screen readers and SEO crawlers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--s-3);
  z-index: 2000;
  background: var(--color-accent);
  color: var(--color-black);
  padding: 12px 18px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--s-3);
}

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--s-5);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

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

.btn--solid {
  background: var(--color-accent);
  color: var(--color-black);
  border: 1px solid var(--color-accent);
  height: 52px;
  width: 100%;
}
.btn--solid:hover { background: var(--color-accent-dark); border-color: var(--color-accent-dark); }

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

.btn--text {
  padding: 16px 4px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--color-white);
  border-bottom: 1px solid transparent;
}
.btn--text:hover { color: var(--color-accent); }

.btn--text-black {
  padding: 16px 4px;
  color: var(--color-black);
  border-bottom: 1px solid rgba(0,0,0,0.3);
}
.btn--text-black:hover { border-bottom-color: var(--color-black); }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10, 10, 10, 0);
  backdrop-filter: blur(0px);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.nav__inner {
  max-width: 1360px;
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--s-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}
.nav__logo {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--color-white);
  text-transform: none;
}
.nav__links {
  display: none;
  gap: var(--s-5);
  margin-left: auto;
  margin-right: var(--s-4);
}
.nav__links a {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--color-accent); }

.nav__lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.lang-btn {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  padding: 4px 2px;
  position: relative;
  transition: color 0.2s var(--ease);
}
.lang-btn.is-active {
  color: var(--color-white);
}
.lang-btn.is-active::after {
  content: "";
  position: absolute;
  left: 2px; right: 2px;
  bottom: 0;
  height: 1px;
  background: var(--color-accent);
}
.lang-sep { color: var(--color-text-muted); }

.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  margin-left: var(--s-3);
}
.nav__burger span {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--color-white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-black);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  text-align: center;
}
.mobile-menu__links a {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 48px;
  line-height: 1;
  color: var(--color-white);
  transition: color 0.2s var(--ease);
}
.mobile-menu__links a:hover { color: var(--color-accent); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--nav-h) var(--s-3) var(--s-7);
  background: var(--color-black);
  overflow: hidden;
  isolation: isolate;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: saturate(1.05) contrast(1.02);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.35) 40%, rgba(10,10,10,0.75) 100%),
    radial-gradient(ellipse at 50% 50%, rgba(10,10,10,0.25), rgba(10,10,10,0.7) 80%);
  pointer-events: none;
}
.hero__overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--color-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  opacity: 0.25;
  pointer-events: none;
}
.hero__content {
  position: relative;
  text-align: center;
  max-width: 1100px;
  z-index: 1;
}
.hero__headline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(48px, 9vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: var(--s-4);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s var(--ease) 0.2s forwards;
}
.hero__sub {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto var(--s-5);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s var(--ease) 0.5s forwards;
}
.hero__ctas {
  display: flex;
  gap: var(--s-2);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s var(--ease) 0.8s forwards;
}
.hero__scroll {
  position: absolute;
  bottom: var(--s-4);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-1);
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 1.2s forwards;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: var(--color-accent);
  animation: scrollPulse 2.4s var(--ease) infinite;
  transform-origin: top;
}
.hero__scroll-label {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.3); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ============================================
   REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   STATEMENT
   ============================================ */
.statement {
  background: var(--color-surface);
  padding: var(--s-8) var(--s-3);
}
.statement__inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  align-items: start;
}
.statement__quote {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-white);
}
.statement__right p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
  border-left: 2px solid var(--color-accent);
  padding-left: var(--s-3);
  max-width: 480px;
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio {
  background: var(--color-black);
  padding: var(--s-8) 0;
}
.portfolio__filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
}
.filter {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 4px 0;
  position: relative;
  transition: color 0.2s var(--ease);
}
.filter:hover { color: var(--color-white); }
.filter.is-active { color: var(--color-white); }
.filter.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--color-accent);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2);
}

.card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-surface-2);
  cursor: pointer;
}
.card.is-hidden { display: none; }
.portfolio__empty {
  grid-column: 1 / -1;
  padding: var(--s-7) var(--s-3);
  text-align: center;
  display: none;
}
.portfolio__empty.is-visible { display: block; }
.portfolio__empty-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--color-accent);
  margin-bottom: var(--s-3);
}
.portfolio__empty-text {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 28px;
  line-height: 1.3;
  color: var(--color-white);
  max-width: 520px;
  margin: 0 auto;
}
.card__inner {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(200,184,154,0.10), transparent 60%),
    linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
}
.card__img,
.card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
  filter: saturate(1.02);
}
.card:hover .card__img,
.card:hover .card__video {
  transform: scale(1.04);
  filter: saturate(1.1);
}
.card__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.35) 100%);
  transition: background 0.3s var(--ease);
  z-index: 1;
}
.card:hover .card__inner::before {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.65) 100%);
}
.card__label {
  position: absolute;
  left: var(--s-3);
  right: var(--s-3);
  bottom: var(--s-3);
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.2;
  color: var(--color-white);
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  z-index: 2;
  letter-spacing: 0.01em;
}
.card:hover .card__label {
  opacity: 1;
  transform: translateY(0);
}
.card__label::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-accent);
  margin-bottom: 10px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease) 0.05s;
}
.card:hover .card__label::before { transform: scaleX(1); }

/* Touch devices have no hover — reveal labels and gradient permanently */
@media (hover: none) {
  .card__inner::before {
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.65) 100%);
  }
  .card__label {
    opacity: 1;
    transform: translateY(0);
  }
  .card__label::before {
    transform: scaleX(1);
  }
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  background: var(--color-surface);
  padding: var(--s-8) 0;
}
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 0.5px solid var(--color-border);
  border-left: 0.5px solid var(--color-border);
}
.service {
  padding: var(--s-4);
  border-right: 0.5px solid var(--color-border);
  border-bottom: 0.5px solid var(--color-border);
  position: relative;
  transition: background 0.3s var(--ease);
  min-height: 240px;
  display: flex;
  flex-direction: column;
}
.service::after {
  content: "";
  position: absolute;
  left: var(--s-4); right: var(--s-4);
  bottom: var(--s-4);
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service:hover::after { transform: scaleX(1); }
.service:hover { background: rgba(200,184,154,0.02); }
.service__num {
  display: block;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: var(--s-3);
}
.service__name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: var(--s-2);
}
.service__desc {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 40ch;
}

/* ============================================
   PROCESS
   ============================================ */
.process {
  background: var(--color-black);
  padding: var(--s-8) 0;
}
.process__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  position: relative;
}
.step {
  position: relative;
  padding-left: var(--s-5);
}
.step::before {
  content: "";
  position: absolute;
  left: 8px; top: 6px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}
.step__num {
  display: block;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: var(--s-1);
}
.step__name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: var(--s-2);
}
.step__desc {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 36ch;
}

/* ============================================
   LEAD
   ============================================ */
.lead {
  background: var(--color-surface-2);
  padding: var(--s-8) var(--s-3);
}
.lead__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.lead__headline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--color-white);
  margin-bottom: var(--s-3);
}
.lead__copy {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto var(--s-6);
}
.form { text-align: left; }
.form__row { margin-bottom: var(--s-4); }
.form input,
.form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  padding: 16px 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  color: var(--color-white);
  outline: none;
  transition: border-color 0.2s var(--ease);
  resize: none;
}
.form input::placeholder,
.form textarea::placeholder {
  color: var(--color-text-muted);
  font-weight: 300;
}
.form input:focus,
.form textarea:focus {
  border-bottom-color: var(--color-accent);
}
.form__status {
  margin-top: var(--s-3);
  min-height: 20px;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  text-align: center;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.form__status.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.form__status.is-success { color: var(--color-accent); }
.form__status.is-error { color: #e8a5a5; }
.btn--solid[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  background: var(--color-black);
  padding: var(--s-8) var(--s-3);
}
.about__inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  align-items: center;
}
.about__image {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
}
.about__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.03);
}
.about__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0) 60%, rgba(10,10,10,0.4) 100%);
  pointer-events: none;
}
.about__headline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-white);
  margin-bottom: var(--s-4);
}
.about__list {
  list-style: none;
  margin-bottom: var(--s-5);
}
.about__list li {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-white);
  padding: var(--s-2) 0;
  border-bottom: 1px solid var(--color-border);
}
.about__list li:last-child { border-bottom: none; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--color-accent);
  padding: var(--s-7) var(--s-3);
  text-align: center;
}
.cta-banner__inner {
  max-width: 960px;
  margin: 0 auto;
}
.cta-banner__headline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--color-black);
  margin-bottom: var(--s-5);
}
.cta-banner__ctas {
  display: flex;
  gap: var(--s-3);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-black);
  border-top: 1px solid var(--color-border);
  padding: var(--s-6) var(--s-3) var(--s-4);
}
.footer__inner {
  max-width: 1360px;
  margin: 0 auto;
}
.footer__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-4);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}
.footer__logo {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--color-white);
}
.footer__nav {
  display: flex;
  gap: var(--s-4);
  flex-wrap: wrap;
  justify-content: center;
}
.footer__nav a,
.footer__social a {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  transition: color 0.2s var(--ease);
}
.footer__nav a:hover,
.footer__social a:hover { color: var(--color-white); }
.footer__social {
  display: flex;
  gap: var(--s-3);
}
.footer__copy {
  padding-top: var(--s-3);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  text-align: center;
}

/* ============================================
   WHATSAPP FLOATING
   ============================================ */
.wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
  transition: background 0.25s var(--ease);
  animation: waPulse 2.4s ease-in-out infinite;
}
.wa:hover { background: var(--color-accent-dark); }
.wa__icon {
  width: 24px; height: 24px;
}
.wa__tooltip {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.wa:hover .wa__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@keyframes waPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}
.lightbox__stage img,
.lightbox__stage video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  box-shadow: 0 40px 120px rgba(0,0,0,0.5);
}
.lightbox__stage img.is-active,
.lightbox__stage video.is-active {
  opacity: 1;
  transform: scale(1);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  background: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-border);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 300;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  backdrop-filter: blur(8px);
}
.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--color-accent);
  color: var(--color-black);
  border-color: var(--color-accent);
}
.lightbox__close {
  top: 24px;
  right: 24px;
  font-size: 28px;
  line-height: 1;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  line-height: 1;
}
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

.lightbox__meta {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  z-index: 2;
  pointer-events: none;
}
.lightbox__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 18px;
  color: var(--color-white);
  letter-spacing: 0.01em;
}
.lightbox__counter {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding-left: var(--s-3);
  border-left: 1px solid var(--color-border);
}

body.lb-open { overflow: hidden; }

@media (max-width: 767px) {
  .lightbox__stage { padding: 64px 12px; }
  .lightbox__close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 24px; }
  .lightbox__nav { width: 40px; height: 40px; font-size: 28px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__meta { bottom: 12px; gap: var(--s-2); }
  .lightbox__title { font-size: 14px; }
  .lightbox__counter { font-size: 10px; padding-left: var(--s-2); }
}

/* ============================================
   EDITORIAL LAYER — grain, mono, marquee, indices
   ============================================ */

/* Film-grain overlay — fixed, site-wide, high z-index, pointer none */
.grain {
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
  opacity: 0.42;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' seed='7'/><feColorMatrix values='0 0 0 0 0.05  0 0 0 0 0.05  0 0 0 0 0.04  0 0 0 1.2 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
  animation: grainShift 8s steps(8) infinite;
}
@keyframes grainShift {
  0%, 100% { transform: translate(0, 0); }
  12% { transform: translate(-3%, 2%); }
  25% { transform: translate(2%, -1%); }
  37% { transform: translate(-1%, 3%); }
  50% { transform: translate(3%, 1%); }
  62% { transform: translate(-2%, -2%); }
  75% { transform: translate(1%, -3%); }
  87% { transform: translate(-3%, 1%); }
}
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
}

/* Monospace metadata utility — the "tech underlayer" of the AI brand */
.mono {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  line-height: 1.4;
}
.mono--accent { color: var(--color-accent); }
.mono--line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.mono--line::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* Section index — numbered label "N° 01 / 08" positioned top-left of sections */
.section-index {
  position: absolute;
  top: var(--s-5);
  left: var(--s-3);
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  z-index: 2;
}
.section-index__num {
  color: var(--color-accent);
}
.section-index__rule {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-border-strong);
}

/* Marquee band — horizontal scrolling ticker between sections */
.marquee {
  position: relative;
  overflow: hidden;
  background: var(--color-black);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--s-4) 0;
}
.marquee__track {
  display: flex;
  gap: var(--s-6);
  width: max-content;
  animation: marqueeSlide 42s linear infinite;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--color-white);
  white-space: nowrap;
}
.marquee__item::after {
  content: "✦";
  font-style: normal;
  color: var(--color-accent);
  font-size: 0.5em;
  margin-left: var(--s-3);
  opacity: 0.8;
}
@keyframes marqueeSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* Hero metadata — editorial tracery around the headline */
.hero__meta {
  position: absolute;
  top: calc(var(--nav-h) + var(--s-4));
  left: 0;
  right: 0;
  padding: 0 var(--s-3);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  animation: fadeIn 1.2s var(--ease) 1.4s forwards;
}
.hero__meta-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero__meta-col--right { text-align: right; align-items: flex-end; }
.hero__meta strong {
  font-weight: 400;
  color: var(--color-accent);
}
@keyframes fadeIn {
  to { opacity: 1; }
}

/* Hero edition mark — bottom corners */
.hero__edition {
  position: absolute;
  bottom: var(--s-5);
  left: var(--s-3);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  animation: fadeIn 1.2s var(--ease) 1.6s forwards;
}
.hero__edition span { display: block; }
.hero__edition strong {
  font-weight: 400;
  color: var(--color-accent);
}

/* Clip-path text reveal — used on hero headline for monumental entrance */
.reveal-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.reveal-mask > span {
  display: inline-block;
  transform: translateY(110%);
  animation: maskRise 1.1s var(--ease-editorial) 0.3s forwards;
}
.hero__headline .reveal-mask:nth-child(2) > span { animation-delay: 0.45s; }
@keyframes maskRise {
  to { transform: translateY(0); }
}

/* Portfolio card number — "001", "002"... */
.card__num {
  position: absolute;
  top: var(--s-3);
  left: var(--s-3);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--color-white);
  z-index: 2;
  mix-blend-mode: difference;
  opacity: 0.9;
  pointer-events: none;
}

/* Monumental statement refinement */
.statement__quote {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.statement__quote em {
  font-style: italic;
  color: var(--color-accent);
  font-weight: 400;
}

/* Custom cursor follower — desktop only, hover devices */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), opacity 0.2s var(--ease);
  opacity: 0;
}
.cursor.is-active { opacity: 1; }
.cursor.is-hover {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--color-accent);
}
@media (hover: none) {
  .cursor { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor { display: none; }
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (min-width: 768px) {
  .container { padding: 0 var(--s-5); }

  .nav__inner { padding: 0 var(--s-5); }

  .statement__inner {
    grid-template-columns: 3fr 2fr;
    gap: var(--s-7);
  }

  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-3);
  }

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

  .process__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-6);
  }

  .about__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-7);
  }

  .footer__row {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .lead { padding: var(--s-8) var(--s-5); }
  .about { padding: var(--s-8) var(--s-5); }
  .cta-banner { padding: var(--s-7) var(--s-5); }
  .statement { padding: var(--s-8) var(--s-5); }

  .section-index { left: var(--s-5); top: var(--s-6); }
  .hero__meta { padding: 0 var(--s-5); font-size: 11px; }
  .hero__edition { left: var(--s-5); bottom: var(--s-6); font-size: 11px; }
  .card__num { top: var(--s-4); left: var(--s-4); font-size: 11px; }
  .marquee { padding: var(--s-5) 0; }
}

/* ============================================
   RESPONSIVE — DESKTOP
   ============================================ */
@media (min-width: 1024px) {
  :root { --nav-h: 84px; }

  .nav__links { display: flex; }
  .nav__burger { display: none; }

  .portfolio__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process__steps {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-5);
    position: relative;
  }
  .process__steps::before {
    content: "";
    position: absolute;
    left: 0; right: 0;
    top: 14px;
    height: 1px;
    background: var(--color-border);
    z-index: 0;
  }
  .step {
    padding-left: 0;
    padding-top: var(--s-5);
  }
  .step::before {
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
  }

  .wa { right: 32px; bottom: 32px; width: 56px; height: 56px; }
}

@media (min-width: 1280px) {
  .portfolio__grid { gap: var(--s-4); }
}
