/* ============================================================
   JIA LATAM · Main Stylesheet
   Stack: vanilla HTML/CSS/JS
   Palette: #0a0a0a base, #c9a96e gold, Inter + Playfair Display
   ============================================================ */

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

:root {
  --black:        #0a0a0a;
  --dark:         #111111;
  --surface:      #1a1a1a;
  --surface2:     #222222;
  --border:       #2a2a2a;
  --border-light: #333333;
  --white:        #ffffff;
  --off-white:    #e8e4dc;
  --gold:         #c9a96e;
  --gold-light:   #e2c997;
  --gold-dim:     #8a7048;
  --terracotta:   #c07a5a;
  --muted:        #888888;
  --dim:          #555555;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-accent:  'DM Serif Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --nav-h: 72px;
  --section-px: clamp(24px, 5vw, 80px);
  --section-py: clamp(72px, 10vw, 140px);
  --max-w: 1280px;

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

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

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

/* ── SCROLLBAR ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 2px; }

/* ── ACCESSIBILITY ────────────────────────────────────────── */

/* Skip-to-content link — visible on focus for keyboard users */
.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 10000;
  padding: 10px 18px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transform: translateY(calc(-100% - 24px));
  transition: transform 0.2s var(--ease-out);
  text-decoration: none;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Focus-visible ring — keyboard navigation only */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
/* Suppress outline for mouse/touch users */
:focus:not(:focus-visible) {
  outline: none;
}

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

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
.t-display {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.t-display-italic {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.t-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.t-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

/* ── GRAIN OVERLAY (SVG filter, once) ────────────────────── */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  animation: grain-shift 0.5s steps(1) infinite;
}

@keyframes grain-shift {
  0%  { transform: translate(0, 0); }
  10% { transform: translate(-3%, -4%); }
  20% { transform: translate(3%, 4%); }
  30% { transform: translate(-5%, 1%); }
  40% { transform: translate(2%, -3%); }
  50% { transform: translate(-1%, 5%); }
  60% { transform: translate(4%, -1%); }
  70% { transform: translate(-4%, 3%); }
  80% { transform: translate(1%, -5%); }
  90% { transform: translate(-3%, 2%); }
}

/* ── UTILITY ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--section-px);
}

.divider {
  height: 1px;
  background: var(--border);
  border: none;
}

/* ── NAV ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 var(--section-px);
  transition: background 0.4s var(--ease-out),
              border-color 0.4s var(--ease-out),
              backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom-color: var(--border);
}

.nav__inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav__logo-mark {
  width: 34px;
  height: 34px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav__logo-mark span {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 9px;
  color: var(--black);
  letter-spacing: -0.5px;
}

.nav__logo-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--white);
}

.nav__logo-text em {
  font-style: normal;
  font-weight: 300;
  color: var(--muted);
}

/* Nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.nav__links a:hover {
  color: var(--white);
}

.nav__links a:hover::after {
  width: 100%;
}

/* Lang toggle */
.nav__lang {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 6px;
}

.nav__lang button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 14px;
  color: var(--muted);
  transition: all 0.2s;
}

.nav__lang button.active {
  background: var(--white);
  color: var(--black);
}

/* Hamburger (mobile) */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s var(--ease-out);
}

/* Mobile nav overlay */
.nav__mobile {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 850;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
}

.nav__mobile.open {
  transform: translateX(0);
}

.nav__mobile-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav__mobile-links a {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 10vw, 64px);
  color: var(--white);
  transition: color 0.2s;
  display: block;
  padding: 8px 0;
}

.nav__mobile-links a:hover {
  color: var(--gold);
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: var(--nav-h);
  padding-bottom: clamp(60px, 8vw, 100px);
  overflow: hidden;
}

/* Background layers */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Image placeholder — replace with real JIA photo */
.hero__bg-img {
  position: absolute;
  inset: 0;
  background: var(--dark);
  /* Swap this for: background-image: url('/assets/hero.jpg'); background-size: cover; background-position: center; */
  animation: hero-kenburns 24s ease-in-out infinite alternate;
}

/* Cinematic fallback gradient (for when no real photo is loaded) */
.hero__bg-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 60% 30%, rgba(201,169,110,0.05) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(192,122,90,0.04) 0%, transparent 45%),
    linear-gradient(160deg, #0e0c09 0%, #0a0a0a 35%, #0c0a0e 70%, #080a0a 100%);
}

/* Vignette */
.hero__bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 110% 90% at 50% 50%,
    transparent 30%,
    rgba(0,0,0,0.5) 70%,
    rgba(0,0,0,0.85) 100%);
}

/* Bottom gradient fade for content legibility */
.hero__bg-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 65%;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(10,10,10,0.4) 40%,
    rgba(10,10,10,0.9) 75%,
    #0a0a0a 100%);
}

@keyframes hero-kenburns {
  from { transform: scale(1.04) translate(0.5%, 0.3%); }
  to   { transform: scale(1.0) translate(-0.5%, -0.3%); }
}

/* Content */
.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--section-px);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fade-up 0.8s var(--ease-out) 0.3s forwards;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 8.5vw, 110px);
  line-height: 0.93;
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: 14ch;
  opacity: 0;
  animation: fade-up 0.9s var(--ease-out) 0.5s forwards;
}

.hero__headline em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 2.5vw, 28px);
  color: var(--off-white);
  margin-top: 16px;
  opacity: 0;
  animation: fade-up 0.9s var(--ease-out) 0.65s forwards;
}

.hero__body {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  max-width: 52ch;
  margin-top: 20px;
  opacity: 0;
  animation: fade-up 0.9s var(--ease-out) 0.8s forwards;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
  opacity: 0;
  animation: fade-up 0.9s var(--ease-out) 0.95s forwards;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  right: var(--section-px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  opacity: 0;
  animation: fade-up 0.8s var(--ease-out) 1.4s forwards;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
  animation: scroll-line 2s var(--ease-in-out) infinite;
}

@keyframes scroll-line {
  0%, 100% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  30%, 70% { transform: scaleY(1); opacity: 1; }
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  height: 48px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  text-decoration: none;
  border: none;
  white-space: nowrap;
}

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

.btn--primary {
  position: relative;
  overflow: hidden;
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-out);
}

.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -10px rgba(201, 169, 110, 0.45);
}

.btn--primary:hover::before {
  transform: translateX(100%);
}

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

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

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
  background: rgba(201, 169, 110, 0.04);
}

.btn svg {
  transition: transform 0.25s var(--ease-out);
}

.btn:hover svg {
  transform: translateX(4px);
}

/* ── STATS BAR ────────────────────────────────────────────── */
.stats {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px var(--section-px);
}

.stats__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stats__item {
  text-align: center;
  padding: 16px 20px;
  position: relative;
}

.stats__item + .stats__item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border);
}

.stats__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 4.5vw, 56px);
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
  display: block;
}

.stats__num span {
  color: var(--gold);
}

.stats__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 8px;
  display: block;
}

/* ── SECTION HEADER ───────────────────────────────────────── */
.section-header {
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-header__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-header__label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
}

.section-header__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--white);
}

.section-header__title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.section-header__desc {
  max-width: 54ch;
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 16px;
}

/* ── SERVICES ─────────────────────────────────────────────── */
.services {
  padding: var(--section-py) 0;
}

.services .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}

/* overriding container padding for full-bleed grid */
.services .container {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.services__wrapper {
  padding: var(--section-py) var(--section-px);
  max-width: var(--max-w);
  margin: 0 auto;
}

.services__header {
  margin-bottom: clamp(40px, 6vw, 64px);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 0;
}

.service-card {
  background: var(--dark);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s var(--ease-out);
  text-decoration: none;
  color: inherit;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__index {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 72px;
  line-height: 1;
  color: var(--border);
  letter-spacing: -0.04em;
  transition: color 0.3s;
  user-select: none;
}

.service-card:hover .service-card__index {
  color: var(--border-light);
}

.service-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.02em;
}

.service-card__desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
}

.service-card__arrow {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.6;
  transition: all 0.35s var(--ease-out);
}

.service-card__arrow svg {
  transition: transform 0.35s var(--ease-out);
}

.service-card:hover .service-card__arrow {
  opacity: 1;
}

.service-card:hover .service-card__arrow svg {
  transform: translateX(6px);
}

/* Service icon (top-right corner) */
.service-card__icon {
  position: absolute;
  top: clamp(28px, 4vw, 48px);
  right: clamp(28px, 4vw, 48px);
  width: 28px;
  height: 28px;
  color: var(--gold-dim);
  opacity: 0.6;
  transition: all 0.4s var(--ease-out);
}

.service-card:hover .service-card__icon {
  color: var(--gold);
  opacity: 1;
  transform: rotate(-8deg) scale(1.05);
}

.service-card--primary .service-card__icon {
  position: static;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.service-card--primary {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
}

.service-card--primary .service-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card--primary .service-card__title {
  font-size: clamp(22px, 3vw, 36px);
}

.service-card--primary .service-card__index {
  font-size: 100px;
  flex-shrink: 0;
}

/* ── WORK ─────────────────────────────────────────────────── */
.work {
  padding: var(--section-py) 0;
  background: var(--black);
}

.work__wrapper {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--section-px);
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 2px;
  background: var(--border);
  margin-top: clamp(40px, 6vw, 64px);
}

.work-tile {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 4/3;
  text-decoration: none;
  color: inherit;
  display: block;
}

.work-tile--large {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.work-tile__img {
  position: absolute;
  inset: 0;
  background: var(--surface);
  transition: transform 0.7s var(--ease-out);
  /* Replace with: background-image: url('/assets/project-x.jpg'); background-size: cover; background-position: center; */
}

/* Placeholder gradient per project */
.work-tile:nth-child(1) .work-tile__img {
  background: linear-gradient(135deg, #1a1008 0%, #0f0a04 50%, #1a1510 100%);
}
.work-tile:nth-child(2) .work-tile__img {
  background: linear-gradient(135deg, #100a14 0%, #0a080e 50%, #130e18 100%);
}
.work-tile:nth-child(3) .work-tile__img {
  background: linear-gradient(135deg, #0a1010 0%, #060c0c 50%, #0e1614 100%);
}
.work-tile:nth-child(4) .work-tile__img {
  background: linear-gradient(135deg, #140e08 0%, #0e0a04 50%, #181208 100%);
}

.work-tile:hover .work-tile__img {
  transform: scale(1.04);
}

.work-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.2) 50%,
    transparent 100%);
  opacity: 0.6;
  transition: opacity 0.4s;
}

.work-tile:hover .work-tile__overlay {
  opacity: 1;
}

.work-tile__content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: clamp(16px, 3vw, 28px);
  transform: translateY(8px);
  transition: transform 0.4s var(--ease-out);
}

.work-tile:hover .work-tile__content {
  transform: translateY(0);
}

.work-tile__tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  display: block;
}

.work-tile__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 2vw, 22px);
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.work-tile__sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  display: block;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.3s var(--ease-out) 0.05s;
}

.work-tile:hover .work-tile__sub {
  opacity: 1;
  transform: translateY(0);
}

.work__cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ── ABOUT TEASER ─────────────────────────────────────────── */
.about-teaser {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--border);
}

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

.about-teaser__left {}

.about-teaser__right {
  position: relative;
}

.about-teaser__img-wrap {
  aspect-ratio: 4/3;
  background: var(--surface);
  overflow: hidden;
  position: relative;
}

.about-teaser__img-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1408 0%, #0a0a0a 60%, #141008 100%);
}

.about-teaser__img-label {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(10,10,10,0.75);
  padding: 6px 12px;
}

.about-teaser__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.25;
  color: var(--off-white);
  letter-spacing: -0.01em;
  margin-top: 24px;
  margin-bottom: 20px;
}

.about-teaser__text {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
}

.about-teaser__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 32px;
}

.tag {
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: 2px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  transition: all 0.2s;
}

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

/* ── CONTACT CTA ──────────────────────────────────────────── */
.contact-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 12vw, 160px) 0;
  border-top: 1px solid var(--border);
}

.contact-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 70% at 50% 100%,
    rgba(201,169,110,0.06) 0%,
    transparent 65%);
}

.contact-cta__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--section-px);
  text-align: center;
  position: relative;
  z-index: 1;
}

.contact-cta__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.contact-cta__label::before,
.contact-cta__label::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.contact-cta__headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--white);
}

.contact-cta__headline em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
  display: block;
}

.contact-cta__body {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  max-width: 48ch;
  margin: 24px auto 0;
}

.contact-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 48px;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: clamp(36px, 5vw, 56px) 0;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--section-px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer__brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  letter-spacing: -0.01em;
}

.footer__brand-text em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.footer__links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer__links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--white);
}

.footer__right {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__copy {
  font-size: 11px;
  color: var(--dim);
}

.footer__flags {
  font-size: 14px;
  letter-spacing: 2px;
}

/* ── ANIMATIONS ───────────────────────────────────────────── */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── CLIENTS STRIP ────────────────────────────────────────── */
.clients {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.clients__track {
  display: flex;
  gap: 56px;
  align-items: center;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.clients__track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.client-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
  transition: color 0.2s;
}

.client-name:hover {
  color: var(--white);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
  .service-card--primary {
    flex-direction: column;
  }
  .service-card--primary .service-card__index {
    font-size: 72px;
  }
  .about-teaser__inner {
    grid-template-columns: 1fr;
  }
  .work__grid {
    grid-template-columns: 1fr 1fr;
  }
  .work-tile--large {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 60px;
  }

  .nav__links,
  .nav__lang {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .stats__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
  }

  .stats__item::before {
    display: none;
  }

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

  .work-tile--large {
    grid-column: span 1;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__right {
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

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

/* ============================================================
   POLISH ADDITIONS
   ============================================================ */

/* ── SCROLL PROGRESS BAR ──────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold), var(--gold-light));
  z-index: 1100;
  transition: width 0.05s linear;
  box-shadow: 0 0 14px rgba(201, 169, 110, 0.4);
}

/* ── HERO EYEBROW DOT ─────────────────────────────────────── */
.hero__eyebrow-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(201, 169, 110, 0.6);
  animation: pulse-dot 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}

/* ── HERO BG: ANIMATED GLOW LAYER ─────────────────────────── */
.hero__bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 600px at 20% 20%, rgba(201,169,110,0.10), transparent 60%),
    radial-gradient(circle 500px at 80% 70%, rgba(192,122,90,0.08), transparent 60%);
  mix-blend-mode: screen;
  animation: glow-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes glow-drift {
  from { transform: translate(0, 0) scale(1); opacity: 0.7; }
  to   { transform: translate(-3%, 2%) scale(1.05); opacity: 1; }
}

/* ── WORK TILE — ENHANCED PLACEHOLDER PATTERNS ───────────── */
.work-tile__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out);
}

.work-tile:hover .work-tile__pattern {
  opacity: 0.32;
}

.work-tile__meta {
  position: absolute;
  top: clamp(16px, 3vw, 24px);
  left: clamp(16px, 3vw, 24px);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--off-white);
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.08);
  z-index: 2;
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.4s var(--ease-out);
}

.work-tile:hover .work-tile__meta {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAV: ACTIVE LINK STATE FOR PAGES ─────────────────────── */
.nav__links a.is-active {
  color: var(--white);
}

.nav__links a.is-active::after {
  width: 100%;
  background: var(--gold);
}

/* ── FOOTER: ENHANCED LAYOUT ──────────────────────────────── */
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.footer__col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer__col p,
.footer__col a {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  display: block;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--white);
}

.footer__statement {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  color: var(--off-white);
  line-height: 1.4;
  max-width: 28ch;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* ── PAGE HERO (used for about, eventually services/contact) */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(80px, 12vw, 160px))
           var(--section-px)
           clamp(60px, 8vw, 120px);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 30% 10%, rgba(201,169,110,0.07), transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 90%, rgba(192,122,90,0.05), transparent 60%),
    linear-gradient(180deg, var(--dark) 0%, var(--black) 100%);
  z-index: -1;
}

.page-hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: end;
}

.page-hero__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.page-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--white);
}

.page-hero__title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.page-hero__intro {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--off-white);
  max-width: 42ch;
  margin-top: 20px;
}

.page-hero__meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.page-hero__meta-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.page-hero__meta-row:last-child { border-bottom: none; }

.page-hero__meta-key {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 2px;
}

.page-hero__meta-val {
  color: var(--off-white);
  font-weight: 300;
}

/* ── MANIFESTO ────────────────────────────────────────────── */
.manifesto {
  padding: var(--section-py) var(--section-px);
  border-bottom: 1px solid var(--border);
}

.manifesto__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.manifesto__quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
}

.manifesto__quote em {
  color: var(--gold);
}

.manifesto__attribution {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.manifesto__attribution::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
}

/* ── IDENTITY ROW (service tags inline) ───────────────────── */
.identity {
  padding: clamp(60px, 8vw, 100px) var(--section-px);
  border-bottom: 1px solid var(--border);
}

.identity__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.identity__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.identity__label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--gold);
}

.identity__row {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 32px);
  line-height: 1.4;
  color: var(--off-white);
  letter-spacing: -0.01em;
}

.identity__row span {
  color: var(--gold);
  margin: 0 12px;
  font-style: normal;
}

/* ── PRINCIPLES ───────────────────────────────────────────── */
.principles {
  padding: var(--section-py) var(--section-px);
  border-bottom: 1px solid var(--border);
}

.principles__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.principles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  margin-top: clamp(40px, 5vw, 64px);
  border: 1px solid var(--border);
}

.principle {
  background: var(--dark);
  padding: clamp(36px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: background 0.3s var(--ease-out);
}

.principle:hover {
  background: var(--surface);
}

.principle__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.principle__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.02em;
}

.principle__title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.principle__desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
}

/* ── COUNTRIES STRIP ──────────────────────────────────────── */
.countries {
  padding: var(--section-py) var(--section-px);
  background: var(--dark);
  border-bottom: 1px solid var(--border);
}

.countries__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.countries__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: clamp(32px, 4vw, 56px);
}

.country {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--off-white);
  transition: all 0.2s;
  flex: 1 1 200px;
  min-width: 200px;
}

.country:hover {
  background: var(--surface);
  color: var(--white);
}

.country__flag {
  font-size: 18px;
  flex-shrink: 0;
}

.country__name { flex: 1; }

.country__count {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ── CLIENTS BY INDUSTRY (Resn-style table) ───────────────── */
.industries {
  padding: var(--section-py) var(--section-px);
  border-bottom: 1px solid var(--border);
}

.industries__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.industries__list {
  margin-top: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--border);
}

.industry-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  transition: background 0.3s var(--ease-out);
}

.industry-row:hover {
  background: linear-gradient(90deg, transparent, rgba(201,169,110,0.025), transparent);
}

.industry-row__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--gold);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.industry-row__clients {
  font-size: 14px;
  font-weight: 300;
  color: var(--off-white);
  line-height: 1.9;
  letter-spacing: 0.01em;
}

.industry-row__clients .sep {
  color: var(--gold-dim);
  margin: 0 10px;
}

/* ── RECOGNITION ──────────────────────────────────────────── */
.recognition {
  padding: var(--section-py) var(--section-px);
  background: var(--dark);
  border-bottom: 1px solid var(--border);
}

.recognition__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.recognition__note {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  max-width: 56ch;
  margin-top: 16px;
}

.recognition__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  margin-top: clamp(40px, 5vw, 64px);
  border: 1px solid var(--border);
}

.recognition__cell {
  background: var(--black);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  gap: 8px;
  position: relative;
}

.recognition__cell--placeholder {
  color: var(--dim);
}

.recognition__year {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32px;
  color: var(--gold);
  line-height: 1;
}

.recognition__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--off-white);
  line-height: 1.4;
}

.recognition__cell--placeholder .recognition__year {
  color: var(--dim);
}

.recognition__cell--placeholder .recognition__label {
  color: var(--dim);
}

/* ── TEAM PHILOSOPHY ──────────────────────────────────────── */
.team-philosophy {
  padding: var(--section-py) var(--section-px);
  border-bottom: 1px solid var(--border);
}

.team-philosophy__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.team-philosophy__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--white);
}

.team-philosophy__title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.team-philosophy__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.team-philosophy__body p {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.85;
}

.team-philosophy__body p strong {
  color: var(--off-white);
  font-weight: 400;
}

.team-philosophy__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

/* ── ABOUT-PAGE RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1024px) {
  .page-hero__inner,
  .identity__inner,
  .team-philosophy__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .industry-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .recognition__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__top {
    grid-template-columns: 1fr;
  }
  .country {
    flex: 1 1 100%;
  }
}
