/* ============================================================
   TAKEOFF XP v3 — styles.css
   We Make It Happen.
============================================================ */

:root {
  --black:       #000000;
  --near-black:  #0a0909;
  --dark:        #141212;
  --charcoal:    #282525;
  --gray-mid:    #7f7f7f;
  --white:       #ffffff;
  --off-white:   #f4f3f1;
  --gold:        #c3a77b;
  --gold-light:  #d4bc97;
  --gold-dim:    #9a8260;

  --font-serif:  'Mohave', 'Helvetica Neue', sans-serif;
  --font-sans:   'Source Sans 3', 'Helvetica Neue', sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-luxury: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --container:   1360px;
  --pad-x:       clamp(1.5rem, 5vw, 5rem);
  --section-pad: clamp(5rem, 10vw, 9rem);
  --radius:      2px;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--near-black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: none; font-family: var(--font-sans); }
address { font-style: normal; }
fieldset { border: none; }
ul { list-style: none; }
h2 { text-transform: uppercase; }
h3 { text-transform: uppercase; }

.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;
}
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

/* ── Cursor ─────────────────────────────────────────────── */
.cursor-dot {
  position: fixed; width: 8px; height: 8px;
  background: var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .25s, height .25s, opacity .3s;
  top: 0; left: 0;
}
.cursor-dot.large { width: 20px; height: 20px; opacity: .45; }

/* ── Layout helpers ─────────────────────────────────────── */
.container { max-width: 1440px; margin: 0 auto; padding: 0 var(--pad-x); }
.section-pad { padding: var(--section-pad) 0; }

.section-label { display: flex; align-items: center; gap: .75rem; margin-bottom: 2rem; }
.label-line { display: block; width: 2.5rem; height: 1px; background: var(--gold); flex-shrink: 0; }
.label-text {
  font-size: .65rem; font-weight: 500; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold);
}
.label-text-sm {
  font-size: .58rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.2);
}
.section-header { margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 400; line-height: 1.1; color: var(--white);
}
.section-title em { font-style: italic; color: var(--gold); }

/* ── Reveal ─────────────────────────────────────────────── */
/* ══════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }

/* Directional variants */
.reveal-left  { opacity: 0; transform: translateX(-44px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal-right { opacity: 0; transform: translateX(44px);  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal-scale { opacity: 0; transform: scale(.93) translateY(20px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal-left.visible, .reveal-right.visible, .reveal-scale.visible { opacity: 1; transform: none; }

/* Section-specific cascades */
.about-right .reveal:nth-child(2) { transition-delay: .08s; }
.about-right .reveal:nth-child(3) { transition-delay: .16s; }
.about-right .reveal:nth-child(4) { transition-delay: .24s; }

/* Pillars stagger */
.services-pillars .pillar:nth-child(1) { transition-delay: 0s; }
.services-pillars .pillar:nth-child(3) { transition-delay: .14s; }
.services-pillars .pillar:nth-child(5) { transition-delay: .28s; }

/* Stats stagger */
.about-stats .stat:nth-child(2) { transition-delay: .12s; }
.about-stats .stat:nth-child(3) { transition-delay: .24s; }

/* AI caps stagger */
.ai-caps .ai-cap:nth-child(2) { transition-delay: .1s; }
.ai-caps .ai-cap:nth-child(3) { transition-delay: .2s; }
.ai-caps .ai-cap:nth-child(4) { transition-delay: .3s; }
.services-pillars .pillar:nth-child(3) { transition-delay: .1s; }
.services-pillars .pillar:nth-child(5) { transition-delay: .2s; }
.ai-caps > div:nth-child(2) { transition-delay: .08s; }
.ai-caps > div:nth-child(3) { transition-delay: .16s; }
.ai-caps > div:nth-child(4) { transition-delay: .24s; }


/* ══════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.75rem var(--pad-x);
  transition: background .5s var(--ease-luxury), padding .4s var(--ease-luxury), backdrop-filter .5s;
}
/* When mobile menu is open, keep header dark so hamburger → X is visible */
.site-header.menu-open {
  background: rgba(8,7,7,.97) !important;
  backdrop-filter: none !important;
}
.site-header.scrolled {
  background: rgba(10,9,9,.94);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  padding: 1rem var(--pad-x);
  box-shadow: 0 1px 0 rgba(255,255,255,.05);
}

.nav-inner {
  display: flex; align-items: center; gap: 2rem;
  max-width: var(--container); margin: 0 auto;
}

/* Logo SVG */
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-svg { height: 35px; width: auto; display: block; overflow: visible; }
.footer-logo .logo-svg { height: 35px; opacity: 0.65; }

.nav-links { display: flex; align-items: center; gap: 2.5rem; margin-left: auto; }
.nav-links a {
  font-size: .68rem; font-weight: 500; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(255,255,255,.6);
  transition: color .3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width .35s var(--ease-out);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: .68rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--black);
  background: var(--gold); padding: .65rem 1.5rem;
  border-radius: var(--radius); white-space: nowrap;
  transition: background .3s, transform .3s;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* Hamburger — 3 bars, pushed right, no outline */
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; padding: .4rem;
  margin-left: auto;
  cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent;
}
.hamburger:focus, .hamburger:focus-visible { outline: none; box-shadow: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); transition: transform .35s, opacity .2s; border-radius: 1px; }
/* Active state: 3 bars → clean X using middle bar hidden */
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Force cross above overlay */
.hamburger.active { position: relative; z-index: 1001; }

/* Mobile menu — fullscreen overlay BELOW the header */
.mobile-menu {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 998;
  background: rgba(8,7,7,.97); backdrop-filter: blur(24px);
  padding: 0;
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease-luxury);
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--font-serif); font-size: clamp(2rem, 8vw, 3.2rem);
  font-weight: 300; letter-spacing: .05em;
  padding: .6rem 0; color: rgba(255,255,255,.55);
  transition: color .3s; border: none; text-align: center; width: 100%;
}
.mobile-menu a:hover { color: var(--white); }
.mobile-cta { color: var(--gold) !important; margin-top: 1.5rem; font-family: var(--font-sans) !important; font-size: .8rem !important; letter-spacing: .22em !important; text-transform: uppercase; }


/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  position: relative; width: 100%; height: 100svh; min-height: 720px;
  display: flex; align-items: flex-start; justify-content: center; overflow: hidden;
}
.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 40% 50%, #201a14 0%, #080707 70%);
}
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.4) 50%, rgba(0,0,0,.7) 100%);
}
.hero-noise {
  position: absolute; inset: 0; opacity: .04; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

.hero-content {
  position: relative; z-index: 1; text-align: center;
  padding: 40vh 0 0; max-width: 1200px; width: 100%;
}
.hero-eyebrow {
  font-size: .62rem; font-weight: 500; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 2rem;
  transition-delay: .1s;
}
/* H1 replaced by SVG handwriting */
.hero-title {
  margin-bottom: 1.75rem; transition-delay: .2s;
  display: flex; justify-content: center;
}
.hero-title-svg {
  width: clamp(280px, 65vw, 780px);
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 40px rgba(0,0,0,.7)) drop-shadow(0 1px 8px rgba(0,0,0,.9));
}
.hero-subtitle {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 300;
  line-height: 1.75; color: rgba(255,255,255,.6); margin-bottom: 3rem;
  transition-delay: .3s;
  text-shadow: 0 1px 20px rgba(0,0,0,.8);
}
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 1.25rem; flex-wrap: wrap; transition-delay: .4s; }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--black); background: var(--gold);
  padding: 1.05rem 2.5rem; border-radius: var(--radius);
  transition: background .35s, transform .3s, box-shadow .3s;
  box-shadow: 0 4px 28px rgba(195,167,123,.3);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 40px rgba(195,167,123,.4); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.22);
  padding: 1.05rem 2.5rem; border-radius: var(--radius);
  transition: color .3s, border-color .3s, transform .3s;
}
.btn-ghost:hover { color: var(--white); border-color: rgba(255,255,255,.55); transform: translateY(-2px); }

.scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
}
.scroll-line {
  display: block; width: 1px; height: 3.5rem;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: .35; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(.55); }
}
.scroll-text { font-size: .56rem; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.3); }


/* ══════════════════════════════════════════════════════════
   TRUST BAR
══════════════════════════════════════════════════════════ */
.trust-bar {
  background: var(--charcoal); overflow: hidden; padding: 0;
  border-top: 1px solid rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.05);
}
.trust-inner { display: flex; align-items: center; overflow: hidden; }
.trust-label { display: none; }
.trust-logos-track {
  display: flex; align-items: center; gap: 4rem;
  animation: marquee 32s linear infinite; white-space: nowrap; min-width: max-content;
}
.trust-logo-item { flex-shrink: 0; display: flex; align-items: center; }
.trust-logo-item img { height: auto; width: 150px; filter: brightness(0) invert(1); opacity: .4; transition: opacity .3s; object-fit: contain; }
.trust-logo-item img:hover { opacity: .8; }
.trust-logo-text { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.35); transition: color .3s; }
.trust-logo-text:hover { color: rgba(255,255,255,.7); }
.trust-bar:hover .trust-logos-track { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }


/* ══════════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════════ */
.about { background: var(--off-white); color: var(--near-black); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.about .section-label .label-line { background: var(--charcoal); }
.about .section-label .label-text { color: var(--charcoal); }

.about-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  font-weight: 400; line-height: 1.2; color: var(--near-black);
  position: sticky; top: 6rem;
}
.about-headline em { font-style: italic; color: var(--gold-dim); }
.about-copy { font-size: 1rem; line-height: 1.85; color: #3a3838; margin-bottom: 1.5rem; font-weight: 300; }
.about-stats { display: flex; gap: 2.5rem; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid rgba(0,0,0,.1); flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: .4rem; }
.stat-number { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500; color: var(--near-black); }
.stat-label { font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-mid); }


/* ══════════════════════════════════════════════════════════
   SERVICES — 3 Pillars
══════════════════════════════════════════════════════════ */
.services { background: var(--near-black); }

.services-pillars {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 0; align-items: start;
}
.pillar-divider { background: rgba(255,255,255,.07); }
.pillar { padding: 4rem 3.5rem; }

.pillar-header {
  display: flex; align-items: normal; gap: 1.5rem;
  margin-bottom: 2.5rem; padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.pillar-index {
  font-family: var(--font-serif); font-size: 3.2rem; font-weight: 300;
  color: rgba(255,255,255,.05); line-height: 1; user-select: none;
}
.pillar-name { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 400; color: var(--white); line-height: 1.2; }
.pillar-intro {
  font-family: var(--font-serif); font-size: 1.1rem; font-style: italic;
  color: var(--gold-light); line-height: 1.5; margin-bottom: 1.5rem;
}
.pillar-text { font-size: .9rem; line-height: 1.85; color: rgba(255,255,255,.5); margin-bottom: 1.25rem; font-weight: 300; }
.pillar-tags { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.06); }
.pillar-tags li {
  font-size: .6rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(195,167,123,.22);
  padding: .38rem .85rem; border-radius: var(--radius);
  transition: background .3s, border-color .3s;
  /* Force 2 per row: each tag takes ~half width minus gap */
  flex: 0 0 calc(50% - .275rem);
  text-align: center;
  box-sizing: border-box;
}
.pillar-tags li:hover { background: rgba(195,167,123,.08); border-color: var(--gold); }


/* ══════════════════════════════════════════════════════════
   WORK — projects grid (JS-rendered)
══════════════════════════════════════════════════════════ */
.work { background: var(--dark); }

/* Grid layout — 12-col base */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 520px;  /* tall rows for big visuals */
  gap: 3px;
}

/* Size variants for cards */
.work-card         { grid-column: span 4; }
.work-card--large  { grid-column: span 8; }
.work-card--wide   { grid-column: span 8; }
.work-card--tall   { grid-row: span 2;    grid-column: span 4; }

/* Card base */
.work-card {
  position: relative; overflow: hidden;
  background: var(--charcoal); display: block;
  cursor: default;
}
.work-img-wrap { width: 100%; height: 100%; position: relative; overflow: hidden; }

/* Image — par défaut visible */
.work-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: opacity .6s var(--ease-luxury), transform .9s var(--ease-luxury), filter .5s;
  filter: brightness(.88) saturate(.88);
  position: relative; z-index: 1;
}
.work-card.is-playing .work-img {
  opacity: 0;
}

/* Vidéo — cachée par défaut, apparaît au hover */
.work-video {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .6s var(--ease-luxury);
  pointer-events: none;
}
.work-card.is-playing .work-video {
  opacity: 1;
}

/* Overlay info — toujours au dessus */
.work-overlay {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.15) 50%, transparent 100%);
  padding: 2.5rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  opacity: 0; transition: opacity .4s;
}
.work-card:hover .work-overlay { opacity: 1; }

.work-client { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: .4rem; }
.work-title { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 400; color: var(--white); line-height: 1.2; }
.work-type { font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); display: block; margin-top: .4rem; }
.work-year { font-size: .6rem; color: rgba(255,255,255,.3); display: block; margin-top: .35rem; }

.work-arrow {
  position: absolute; top: 1.75rem; right: 2rem; z-index: 4;
  font-size: 1.2rem; color: var(--gold);
  transform: translate(-4px, 4px); transition: transform .3s;
  opacity: 0;
}
.work-card:hover .work-arrow { transform: translate(0,0); opacity: 1; }

/* Empty state placeholder */
.work-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.1);
}


/* ══════════════════════════════════════════════════════════
   AI STUDIO (JS-rendered gallery)
══════════════════════════════════════════════════════════ */
.ai-section { background: var(--near-black); }

.ai-header { margin-bottom: 4rem; }
.ai-header-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-top: 1rem; }
.ai-intro { font-size: 1rem; line-height: 1.85; color: rgba(255,255,255,.5); font-weight: 300; }

/* Caps row */
.ai-caps {
  display: grid; grid-template-columns: repeat(4,1fr);
  border: 1px solid rgba(255,255,255,.07); margin-bottom: 5rem;
}
.ai-cap { padding: 2.5rem 2rem; border-right: 1px solid rgba(255,255,255,.07); transition: background .4s; }
.ai-cap:last-child { border-right: none; }
.ai-cap:hover { background: rgba(255,255,255,.02); }
.ai-cap-icon { display: block; color: var(--gold); font-size: 1.1rem; margin-bottom: 1.25rem; }
.ai-cap-title { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 400; color: var(--white); margin-bottom: .8rem; }
.ai-cap-desc { font-size: .82rem; line-height: 1.7; color: rgba(255,255,255,.4); font-weight: 300; }

/* Gallery label */
.ai-gallery-label { margin-bottom: 1.5rem; }

/* Gallery grid — 3 rows via flex columns */
.ai-gallery { display: flex; flex-direction: column; gap: 3px; }
.ai-gallery-row { display: flex; gap: 3px; }

/* Row 1 — 3 portraits equal */
.ai-gallery-row--3 .ai-gallery-item { flex: 1; height: 520px; }

/* Row 2 — wide landscape + square */
.ai-gallery-row--asymmetric .ai-gallery-item--landscape { flex: 2; height: 400px; }
.ai-gallery-row--asymmetric .ai-gallery-item--square { flex: 1; height: 400px; }

/* Row 3 — 2 squares + portrait */
.ai-gallery-row--mixed .ai-gallery-item--square { flex: 1; height: 460px; }
.ai-gallery-row--mixed .ai-gallery-item--portrait { flex: 1; height: 460px; }

/* Gallery item */
.ai-gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--charcoal); cursor: default;
}

/* Image par défaut */
.ai-gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: opacity .6s var(--ease-luxury), filter .4s;
  filter: brightness(.85) saturate(.85);
  position: relative; z-index: 1;
}
.ai-gallery-item.is-playing img { opacity: 0; }

/* Vidéo cachée par défaut */
.ai-gallery-item .ai-video {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .6s var(--ease-luxury);
  pointer-events: none; border-radius: var(--radius);
}
.ai-gallery-item.is-playing .ai-video { opacity: 1; }

.ai-gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 4;
  background: linear-gradient(to top, rgba(0,0,0,.8), transparent);
  padding: 1.5rem 1.25rem 1rem;
  font-size: .58rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
  opacity: 0; transition: opacity .3s;
}
.ai-gallery-item:hover .ai-gallery-caption { opacity: 1; }

/* CTA strip */
.ai-cta-strip {
  margin-top: 5rem; padding: 3.5rem 4rem;
  border: 1px solid rgba(195,167,123,.18);
  display: flex; align-items: center; justify-content: space-between; gap: 3rem;
  background: rgba(195,167,123,.025);
}
.ai-cta-text {
  font-family: var(--font-serif); font-size: 1.5rem; font-style: italic;
  color: var(--white); max-width: 520px; line-height: 1.4; font-weight: 400;
}


/* ══════════════════════════════════════════════════════════
   CONTACT — Centred
══════════════════════════════════════════════════════════ */
.contact { background: var(--dark); }
.contact-header { text-align: center; margin-bottom: 4rem; }

.contact-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 300; line-height: 1.05; color: var(--white);
  margin: 1.5rem 0 1.25rem;
  white-space: nowrap;
}
.contact-headline em { font-style: italic; color: var(--gold); }

.contact-subhead {
  font-size: .95rem; line-height: 1.8; color: rgba(255,255,255,.45);
  font-weight: 300; max-width: 480px; margin: 0 auto;
}

.contact-form { max-width: 720px; margin: 0 auto; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; }
.form-group.full { margin-bottom: 1rem; }

input, textarea, select {
  width: 100%; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1); color: var(--white);
  font-family: var(--font-sans); font-size: .9rem; font-weight: 300;
  padding: 1.1rem 1.25rem; border-radius: var(--radius);
  transition: border-color .3s, background .3s;
  -webkit-appearance: none; appearance: none;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,.28); }

/* Select: placeholder option shown in same muted tone as input placeholders */
select { color: rgba(255,255,255,.28); cursor: pointer; }
select:valid, select.has-value { color: var(--white); }
select option { background: #1c1a1a; color: var(--white); }
select option:first-child { color: rgba(255,255,255,.4); }
select option:disabled { color: rgba(255,255,255,.25); }

input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--gold); background: rgba(255,255,255,.06);
}
textarea { resize: vertical; min-height: 150px; }
.select-wrap { position: relative; }
/* Replace arrow with gold-tinted chevron matching palette */
.select-arrow {
  position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
  color: rgba(195,167,123,.45); font-size: .75rem; pointer-events: none;
  line-height: 1;
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  margin-top: 1.75rem;
}
.recaptcha-notice {
  font-family: var(--font-sans);
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  text-align: center;
  margin: 0;
}
.recaptcha-notice a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
}
.recaptcha-notice a:hover { color: rgba(255,255,255,0.6); }

.btn-submit {
  display: flex; align-items: center; gap: .75rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--black); background: var(--gold); border: none;
  padding: 1.35rem 4rem; border-radius: var(--radius); cursor: none;
  transition: background .35s, transform .3s, box-shadow .3s;
  box-shadow: 0 4px 28px rgba(195,167,123,.2);
}
.btn-submit:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 40px rgba(195,167,123,.35); }
.btn-arrow { font-size: 1.1rem; }

.form-success {
  background: rgba(195,167,123,.08); border: 1px solid rgba(195,167,123,.25);
  padding: 1.5rem; border-radius: var(--radius); margin-top: 1.5rem;
  font-size: .88rem; color: var(--gold-light); text-align: center;
}


/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--black); border-top: 1px solid rgba(255,255,255,.05);
  padding: 5rem 0 2.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr 2fr; gap: 4rem;
  padding-bottom: 4rem; border-bottom: 1px solid rgba(255,255,255,.05);
  margin-bottom: 2rem;
}
.footer-logo { margin-bottom: .75rem; }
.footer-tagline { font-family: var(--font-serif); font-size: 1rem; font-style: italic; color: rgba(255,255,255,.45); margin-bottom: .3rem; }
.footer-since { font-size: .62rem; letter-spacing: .12em; color: rgba(255,255,255,.2); }

.footer-nav { display: grid; grid-template-columns: repeat(3,1fr); gap: 3rem; }
.footer-nav-col { display: flex; flex-direction: column; gap: .75rem; }
.footer-nav-head { font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }

/* Offices stacked */
.footer-offices { display: flex; flex-direction: column; gap: .9rem; }
.footer-office { display: flex; flex-direction: column; gap: .15rem; }
.office-city { font-size: .72rem; font-weight: 500; color: rgba(255,255,255,.55); letter-spacing: .08em; }
.office-addr { font-size: .72rem; color: rgba(255,255,255,.3); line-height: 1.5; }

.footer-nav-col a { font-size: .78rem; color: rgba(255,255,255,.35); transition: color .3s; }
.footer-nav-col a:hover { color: rgba(255,255,255,.75); }
.social-links { display: flex; flex-direction: column; gap: .5rem; }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-copy { font-size: .68rem; color: rgba(255,255,255,.18); }
.footer-legal { display: flex; gap: 2rem; }
.footer-legal a { font-size: .68rem; color: rgba(255,255,255,.18); transition: color .3s; }
.footer-legal a:hover { color: rgba(255,255,255,.45); }


/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .services-pillars { grid-template-columns: 1fr; }
  .pillar-divider { height: 1px; }
  .pillar { padding: 3rem 2rem; }

  .work-grid { grid-template-columns: repeat(6,1fr); grid-auto-rows: 420px; }
  .work-card { grid-column: span 3; }
  .work-card--large { grid-column: span 6; }
  .work-card--wide  { grid-column: span 6; }
  .work-card--tall  { grid-column: span 3; }

  .ai-caps { grid-template-columns: repeat(2,1fr); }
  .ai-cap:nth-child(2) { border-right: none; }
  .ai-cap:nth-child(1), .ai-cap:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.07); }
  .ai-cap:nth-child(3), .ai-cap:nth-child(4) { border-bottom: none; }
  .ai-header-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-headline { position: static; font-size: clamp(1.7rem, 4vw, 2.5rem); }

  .work-grid { grid-template-columns: 1fr; grid-auto-rows: 380px; }
  .work-card, .work-card--large, .work-card--wide, .work-card--tall { grid-column: span 1; grid-row: span 1; }

  /* Nav: hide desktop links, show hamburger pushed right */
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  /* nav-inner: logo left, hamburger auto right */
  .nav-inner { justify-content: space-between; }

  .ai-cta-strip { flex-direction: column; text-align: center; padding: 2.5rem 2rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-nav { grid-template-columns: repeat(2,1fr); }

  /* Hero responsive */
  .hero-content { padding: 28vh 2rem 0; }
  .hero-title-svg { width: clamp(220px, 80vw, 500px); }
  .hero-subtitle { font-size: clamp(1rem, 2.5vw, 1.2rem); }

  /* Pillars: remove horizontal padding on mobile */
  .pillar { padding: 2.5rem 0; }

  /* Footer: center all content */
  .footer-brand { text-align: center; align-items: center; display: flex; flex-direction: column; }
  .footer-nav-col { align-items: center; text-align: center; }
  .footer-offices { align-items: center; }
  .footer-office { align-items: center; }
  .social-links { align-items: center; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer-legal { justify-content: center; }
}

@media (max-width: 640px) {
  :root { --section-pad: 4rem; }

  .trust-logo-item img { width: 80px; }

  .ai-caps { grid-template-columns: 1fr; }
  .ai-cap { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.07) !important; }
  .ai-cap:last-child { border-bottom: none !important; }

  .ai-gallery-row { flex-direction: column; }
  .ai-gallery-item { height: 300px !important; flex: unset !important; width: 100% !important; }

  .footer-nav { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }

  .form-row { grid-template-columns: 1fr; }
  .contact-headline { font-size: clamp(2rem, 8vw, 3rem); white-space: normal; }

  /* Hero mobile */
  .hero-content { padding: 20vh 1.5rem 0; }
  .hero-title-svg { width: clamp(200px, 88vw, 340px); }
  .hero-subtitle { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: center; gap: 1rem; }
  .btn-primary, .btn-ghost { width: 100%; max-width: 320px; justify-content: center; }

  .cursor-dot { display: none; }
}

