:root {
  /* Ink scale */
  --ink: #0F0E0C;
  --ink-700: #2C2A28;
  --stone: #5A554F;
  --stone-400: #8A8378;
  --stone-300: #B8B0A2;
  /* Bone scale */
  --bone-50: #FFFEFC;
  --bone-100: #FAF7F0;
  --bone: #F5F1E8;
  --bone-300: #EDE8DA;
  --bone-500: #E5DFD2;
  /* Gold scale */
  --gold-50: #F5EDD9;
  --gold-300: #E0C896;
  --gold: #B8935A;
  --gold-700: #8A6E3F;
  --gold-900: #5A4828;
  /* Blood */
  --blood: #7A1F1F;
  /* Type stack */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  /* Easings */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bone-100);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

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


/* === FADE-IN ON SCROLL === */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }
.fade-in.delay-4 { transition-delay: 0.4s; }


/* === BUTCHER CUT PATTERN — Pattern A (subtle dashes) === */
.cut-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
}
.cut-pattern::before,
.cut-pattern::after {
  content: '';
  position: absolute;
  background-image: 
    linear-gradient(to right, var(--gold) 50%, transparent 50%);
  background-size: 12px 1px;
  background-repeat: repeat-x;
  height: 1px;
  width: 100%;
}
.cut-pattern::before { top: 28%; }
.cut-pattern::after { top: 72%; }
.cut-pattern.with-vertical {
  background-image: 
    linear-gradient(to bottom, var(--gold) 50%, transparent 50%);
  background-size: 1px 10px;
  background-repeat: repeat-y;
  background-position: 22% 0;
}

/* Variation for dark sections */
.section-sectors .cut-pattern,
.manifesto .cut-pattern {
  opacity: 0.18;
}

/* === CORNER MARKERS — Pattern B === */
.corner-mark {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  width: 60px;
  height: 60px;
}
.corner-mark::before,
.corner-mark::after {
  content: '';
  position: absolute;
  background-image: linear-gradient(to right, var(--gold) 50%, transparent 50%);
  background-size: 8px 1px;
  background-repeat: repeat-x;
  height: 1px;
}
.corner-mark::after {
  background-image: linear-gradient(to bottom, var(--gold) 50%, transparent 50%);
  background-size: 1px 8px;
  background-repeat: repeat-y;
  width: 1px;
  height: 100%;
}
.corner-mark.top-right {
  top: 24px;
  right: 24px;
}
.corner-mark.top-right::before { top: 0; right: 0; width: 60px; }
.corner-mark.top-right::after { top: 0; right: 0; }
.corner-mark.bottom-left {
  bottom: 24px;
  left: 24px;
}
.corner-mark.bottom-left::before { bottom: 0; left: 0; width: 60px; }
.corner-mark.bottom-left::after { bottom: 0; left: 0; }

/* small dot in the corner */
.corner-mark .dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.corner-mark.top-right .dot { top: -2px; right: -2px; }
.corner-mark.bottom-left .dot { bottom: -2px; left: -2px; }

/* For dark sections */
.manifesto .corner-mark::before,
.manifesto .corner-mark::after { 
  background-image: linear-gradient(to right, var(--gold-700) 50%, transparent 50%);
}
.manifesto .corner-mark::after {
  background-image: linear-gradient(to bottom, var(--gold-700) 50%, transparent 50%);
}

/* === BURGUNDY ACCENTS === */
.burgundy { color: var(--blood); }
.burgundy-em {
  font-style: italic;
  color: var(--blood);
}
.work-card .work-status::before {
  background: var(--blood);
}
.work-card:hover .work-status::before { background: var(--gold); }

/* === TOP BAR === */
.top-bar {
  background: var(--ink);
  color: var(--bone);
  padding: 10px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar .gold { color: var(--gold); }
.lang-switcher a {
  background: transparent;
  border: none;
  color: var(--stone-300);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  padding: 0 8px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
.lang-switcher a.active { color: var(--bone); font-weight: 600; }
.lang-switcher a:hover { color: var(--gold); }

/* === NAV === */
.nav {
  background: rgba(250, 247, 240, 0.85);
  border-bottom: 1px solid var(--bone-500);
  padding: 22px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: padding 0.3s var(--ease-out);
}
.nav.scrolled { padding: 14px 0; }
.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.8; }
.logo-mark {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-out);
}
.logo:hover .logo-mark { transform: rotate(-4deg); }
.logo-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}
/* The bg color is on the rect itself, controlled by --logo-bg + --logo-fg vars */
.logo-mark .logo-bg { fill: var(--ink); }
.logo-mark .logo-fg { fill: var(--bone); }
/* Footer variant — invert colors (light logo on dark bg) */
.footer-logo .logo-mark .logo-bg { fill: var(--bone); }
.footer-logo .logo-mark .logo-fg { fill: var(--ink); }
.logo-text {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.18em;
}
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: var(--ink);
  color: var(--bone) !important;
  padding: 14px 32px !important;
  border-radius: 2px;
  font-size: 14px !important;
  font-weight: 600;
  transition: all 0.3s var(--ease-out);
  letter-spacing: 0.04em;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.nav-cta::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--gold);
  transition: left 0.4s var(--ease-out);
  z-index: -1;
}
.nav-cta:hover::before { left: 0; }
.nav-cta:hover { color: var(--ink) !important; }

/* === HERO === */
.hero {
  padding: 140px 0 120px;
  background: var(--bone-100);
  position: relative;
  overflow: hidden;
}

.hero .container,
.section-services .container,
.section-work .container {
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 128px);
  line-height: 1.0;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 56px;
  max-width: 1100px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
  position: relative;
  display: inline-block;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  bottom: 0.05em;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  animation: drawLine 1.2s var(--ease-out) 1.2s forwards;
}
@keyframes drawLine {
  to { transform: scaleX(1); }
}
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: rise 1s var(--ease-out) forwards;
}
.hero h1 .word:nth-child(1) { animation-delay: 0.1s; }
.hero h1 .word:nth-child(2) { animation-delay: 0.2s; }
.hero h1 .word:nth-child(3) { animation-delay: 0.3s; }
.hero h1 .word:nth-child(4) { animation-delay: 0.4s; }
.hero h1 .word:nth-child(5) { animation-delay: 0.5s; }
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
.hero-lead {
  font-size: 22px;
  line-height: 1.55;
  color: var(--stone);
  max-width: 680px;
  margin-bottom: 56px;
  font-weight: 400;
  opacity: 0;
  animation: rise 1s var(--ease-out) 0.8s forwards;
}
.hero-lead strong { color: var(--ink); font-weight: 500; }
.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  opacity: 0;
  animation: rise 1s var(--ease-out) 1s forwards;
}

.btn {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 0 32px;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}
.btn .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--ink);
  color: var(--bone);
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--gold);
  transition: left 0.4s var(--ease-out);
}
.btn-primary:hover::before { left: 0; }
.btn-primary span { position: relative; z-index: 1; transition: color 0.3s; }
.btn-primary:hover span { color: var(--ink); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--bone);
}

/* === MARQUEE === */
.marquee {
  background: var(--ink);
  color: var(--bone);
  padding: 28px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  position: relative;
}
.marquee-content {
  display: inline-block;
  animation: scroll 40s linear infinite;
  font-weight: 500;
}
.marquee:hover .marquee-content {
  animation-play-state: paused;
}
.marquee .dot { color: var(--gold); margin: 0 28px; }
.marquee .accent {
  color: var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0.05em;
  text-transform: none;
  font-weight: 500;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === SERVICES === */
.section-services {
  padding: 140px 0;
  background: var(--bone-100);
  position: relative;
  overflow: hidden;
}
.section-header {
  margin-bottom: 80px;
  max-width: 900px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-intro {
  font-size: 19px;
  line-height: 1.65;
  color: var(--stone);
  max-width: 680px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--bone-500);
  border: 1px solid var(--bone-500);
}
.service-card {
  background: var(--bone-100);
  padding: 64px 56px;
  transition: all 0.5s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 0;
  background: var(--bone);
  transition: height 0.5s var(--ease-out);
  z-index: 0;
}
.service-card:hover::before { height: 100%; }
.service-card > * { position: relative; z-index: 1; }

.service-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 28px;
  display: block;
}
.service-name {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
  display: inline-block;
  position: relative;
}
.service-name em { font-style: italic; color: var(--gold); }
.service-name::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.5s var(--ease-out);
}
.service-card:hover .service-name::after { width: 100%; }

.service-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
  margin-bottom: 36px;
  display: block;
}
.service-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 32px;
}
.service-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: gap 0.3s var(--ease-out);
}
.service-link:hover { gap: 14px; color: var(--gold); }

/* === SECTORS === */
.section-sectors {
  background: var(--ink);
  color: var(--bone);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}
.section-sectors .section-title { color: var(--bone); }
.section-sectors .section-title em { color: var(--gold); }
.section-sectors .section-intro { color: var(--stone-300); }

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ink-700);
  margin-top: 60px;
}
.sector-card {
  background: var(--ink);
  padding: 48px 36px;
  transition: background 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.sector-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bone);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out);
}
.sector-card:hover::before { transform: translateY(0); }
.sector-card > * {
  position: relative;
  z-index: 1;
  transition: color 0.4s var(--ease-out);
}
.sector-card:hover .sector-num { color: var(--gold); }
.sector-card:hover .sector-name { color: var(--ink); }
.sector-card:hover .sector-tag { color: var(--stone); }
.sector-card:hover .sector-desc { color: var(--stone); }
.sector-card:hover .sector-arrow { color: var(--ink); transform: translateX(4px); }

.sector-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 32px;
  display: block;
}
.sector-name {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 500;
  color: var(--bone);
  margin-bottom: 16px;
  line-height: 1;
}
.sector-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone-300);
  margin-bottom: 20px;
  display: block;
}
.sector-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--stone-300);
  margin-bottom: 24px;
}
.sector-arrow {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold);
  display: inline-block;
  transition: all 0.3s var(--ease-out);
}

/* === STATS === */
.stats {
  padding: 100px 0;
  background: var(--bone);
  position: relative;
  overflow: hidden;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  text-align: center;
  padding: 40px 24px;
  border-right: 1px solid var(--bone-500);
  transition: background 0.3s;
}
.stat:hover { background: var(--bone-100); }
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 88px;
  line-height: 1;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 16px;
  display: block;
}
.stat-num em { font-style: italic; color: var(--gold); }
.stat-divider {
  width: 32px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 16px;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
  display: block;
  margin-bottom: 12px;
}
.stat-meta {
  font-size: 13px;
  color: var(--stone-400);
  font-style: italic;
}

/* === WORK / PARTNERSHIPS === */
.section-work {
  padding: 140px 0;
  background: var(--bone-100);
  position: relative;
  overflow: hidden;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}
.work-card {
  background: var(--bone);
  padding: 56px 44px;
  border: 1px solid var(--bone-500);
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s var(--ease-out);
  overflow: hidden;
}
.work-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: var(--gold);
  transition: height 0.5s var(--ease-out);
}
.work-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(15, 14, 12, 0.06);
}
.work-card:hover::before { height: 100%; }
.work-status {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.work-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.work-card-title {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 20px;
  flex-grow: 1;
}
.work-card-title em { font-style: italic; color: var(--gold); }
.work-card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--stone);
  margin-bottom: 32px;
}
.work-card-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone-400);
  padding-top: 24px;
  border-top: 1px solid var(--bone-500);
}

/* === MANIFESTO === */
.manifesto {
  background: var(--ink);
  color: var(--bone);
  padding: 160px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}
.manifesto::before {
  content: '"';
  position: absolute;
  left: 50%;
  top: 60px;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 200px;
  font-style: italic;
  color: var(--gold-900);
  line-height: 1;
  pointer-events: none;
}
.manifesto .container { position: relative; z-index: 1; }
.manifesto-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.manifesto-eyebrow::before,
.manifesto-eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.manifesto blockquote {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.2;
  font-weight: 500;
  color: var(--bone);
  max-width: 1100px;
  margin: 0 auto;
  letter-spacing: -0.01em;
}
.manifesto blockquote em { font-style: italic; color: var(--gold); }
.manifesto-attribution {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone-400);
  margin-top: 64px;
  display: block;
}

/* === FINAL CTA === */
.cta-section {
  padding: 160px 0;
  background: var(--bone);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '★';
  position: absolute;
  left: 10%;
  top: 60px;
  font-size: 24px;
  color: var(--gold);
  opacity: 0.5;
}
.cta-section::after {
  content: '★';
  position: absolute;
  right: 10%;
  bottom: 60px;
  font-size: 24px;
  color: var(--gold);
  opacity: 0.5;
}
.cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 32px;
  display: block;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.05;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}
.cta-title em { font-style: italic; color: var(--gold); }
.cta-text {
  font-size: 19px;
  line-height: 1.65;
  color: var(--stone);
  max-width: 600px;
  margin: 0 auto 56px;
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; }

/* === FOOTER === */
.footer {
  background: var(--ink);
  color: var(--bone);
  padding: 100px 0 40px;
  border-top: 1px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}
.footer-brand {
  font-size: 14px;
  line-height: 1.6;
  color: var(--stone-300);
  margin-top: 32px;
  max-width: 340px;
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 24px;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 14px; }
.footer a {
  color: var(--bone);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s, padding-left 0.3s var(--ease-out);
  display: inline-block;
}
.footer a:hover { color: var(--gold); padding-left: 6px; }
.footer-bottom {
  border-top: 1px solid var(--ink-700);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone-400);
}
.admin-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  color: var(--stone-400);
  text-decoration: none;
  opacity: 0.4;
  transition: opacity 0.25s, color 0.25s;
}
.admin-link:hover {
  opacity: 1;
  color: var(--gold);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-logo .logo-text { color: var(--bone); font-size: 18px; }


.hero h1 .line {
  display: block;
  overflow: hidden;
}
.hero h1 .line .word {
  display: inline-block;
}

/* === MOBILE BURGER MENU === */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  position: relative;
  z-index: 1001;
  transition: border-color 0.3s, background 0.3s;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}
.menu-toggle.is-open {
  border-color: var(--bone);
  background: transparent;
}
.menu-toggle.is-open span {
  background: var(--bone);
}
.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
  padding: 80px 24px 60px;
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu .menu-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, var(--gold-700) 50%, transparent 50%);
  background-size: 12px 1px;
  background-repeat: repeat-x;
  background-position: 0 80%;
  opacity: 0.3;
}
.mobile-menu .menu-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, var(--gold-700) 50%, transparent 50%);
  background-size: 12px 1px;
  background-repeat: repeat-x;
  background-position: 0 20%;
}
.mobile-menu-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s var(--ease-out) 0.2s;
}
.mobile-menu.is-open .mobile-menu-eyebrow {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  font-style: italic;
  font-weight: 500;
  color: var(--bone);
  text-decoration: none;
  transition: color 0.25s var(--ease-out);
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.25s var(--ease-out);
}
.mobile-menu.is-open nav a {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.is-open nav a:nth-child(1) { transition-delay: 0.25s; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: 0.30s; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: 0.35s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: 0.40s; }
.mobile-menu nav a:hover { color: var(--gold); }
.mobile-menu nav a.active { color: var(--gold); }
.mobile-menu .nav-cta-mobile {
  background: var(--blood);
  color: var(--bone);
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  padding: 16px 36px;
  border-radius: 2px;
  margin-top: 24px;
  border: none;
  text-transform: none;
  height: 56px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.25s;
}
.mobile-menu .nav-cta-mobile:hover {
  background: var(--gold);
  color: var(--ink);
}
.mobile-menu-langs {
  display: flex;
  gap: 8px;
  margin-top: 48px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s var(--ease-out) 0.5s;
}
.mobile-menu.is-open .mobile-menu-langs {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu-langs a {
  background: transparent;
  border: 1px solid var(--stone-400);
  color: var(--stone-300);
  padding: 10px 16px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 500;
  border-radius: 2px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s;
}
.mobile-menu-langs a.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.mobile-menu-langs a:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.mobile-menu-langs a.active:hover {
  color: var(--ink);
}
.mobile-menu-foot {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--stone-400);
  text-transform: uppercase;
  margin-top: 32px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out) 0.6s;
}
.mobile-menu-foot .gold { color: var(--gold); }
.mobile-menu.is-open .mobile-menu-foot {
  opacity: 1;
}
body.menu-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-cta { display: none; }
}

/* === MAGIC: TEXT REVEAL === */
.text-reveal {
  display: inline-block;
  overflow: hidden;
}
.text-reveal .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  transition: transform 0.8s var(--ease-out), opacity 0.8s var(--ease-out);
}
.text-reveal.in-view .char {
  opacity: 1;
  transform: translateY(0);
}

/* === MAGIC: MAGNETIC BUTTON === */
.magnetic {
  display: inline-flex;
  position: relative;
  will-change: transform;
}

/* === Reduced motion preferences === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .text-reveal .char { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .hero { padding: 80px 0 60px; }
  .hero h1 { font-size: 56px; }
  .hero-lead { font-size: 18px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .section-services, .section-sectors, .section-work, .manifesto, .cta-section { padding: 80px 0; }
  .section-title { font-size: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 48px 32px; }
  .service-name { font-size: 40px; }
  .sectors-grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--bone-500); }
  .stat:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .nav-links a:not(.nav-cta) { display: none; }
  body { cursor: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero h1 .word, .hero-lead, .hero-cta { opacity: 1; transform: none; }
}