/* ═══════════════════════════════════════════════════════════
   ATTORNEY SUPPORT SOLUTIONS BY PIERCE — Luxury legal dossier
   Navy ink + gold foil + paper. Cormorant Garamond / Inter / IBM Plex Mono
   ═══════════════════════════════════════════════════════════ */

:root {
  --navy-950: #060d1d;
  --navy-900: #0a1428;
  --navy-800: #10203f;
  --navy-700: #1b2b4b;
  --navy-600: #24365c;
  --gold-300: #e8cf9a;
  --gold-400: #d9b878;
  --gold-500: #c6a45c;
  --gold-600: #a8863f;
  --paper-50: #faf7f0;
  --paper-100: #f4efe3;
  --paper-200: #e9e1cd;
  --ink: #101826;
  --ink-soft: #3d4759;
  --white: #ffffff;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 84px;
}

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

html { scroll-behavior: smooth; }

section[id], [id="top"] { scroll-margin-top: 92px; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--navy-900);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.mono { font-family: var(--mono); letter-spacing: 0.14em; }

::selection { background: var(--gold-500); color: var(--navy-900); }

/* ── Film grain ─────────────────────────────── */
.grain {
  position: fixed; inset: -100%;
  pointer-events: none; z-index: 9000;
  opacity: 0.05;
  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='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 0.9s steps(4) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
  100% { transform: translate(2%, 2%); }
}

/* ── Preloader ─────────────────────────────── */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--navy-950);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s var(--ease-lux), visibility 0.7s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-seal { position: relative; width: 130px; height: 130px; margin: 0 auto 28px; }
.preloader-logo {
  position: absolute; inset: 14px;
  width: calc(100% - 28px); height: calc(100% - 28px);
  border-radius: 50%;
  animation: sealPulse 2s var(--ease-lux) infinite;
}
@keyframes sealPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
.seal-ring { width: 130px; height: 130px; transform: rotate(-90deg); }
.seal-track { fill: none; stroke: rgba(198, 164, 92, 0.18); stroke-width: 2; }
.seal-progress {
  fill: none; stroke: var(--gold-500); stroke-width: 2;
  stroke-dasharray: 339.3; stroke-dashoffset: 339.3;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.25s linear;
}
.preloader-word {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.4em;
  color: var(--gold-400);
  margin-bottom: 10px;
}
.preloader-count {
  font-family: var(--serif);
  font-size: 42px; font-weight: 500;
  color: var(--paper-50);
  font-variant-numeric: tabular-nums;
}

/* ── Custom cursor ─────────────────────────── */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9500;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 7px; height: 7px;
  background: var(--gold-400);
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1px solid rgba(198, 164, 92, 0.55);
  transition: width 0.3s var(--ease-lux), height 0.3s var(--ease-lux),
              border-color 0.3s, background 0.3s;
}
.cursor-ring.hovering {
  width: 64px; height: 64px;
  background: rgba(198, 164, 92, 0.1);
  border-color: var(--gold-400);
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ── Scroll progress ───────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 8000;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300));
}

/* ── Buttons ───────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600;
  font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 15px 30px;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative; overflow: hidden;
  transition: color 0.35s var(--ease-lux), border-color 0.35s, background 0.35s,
              box-shadow 0.35s, transform 0.2s;
  will-change: transform;
}
.btn::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.35) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-lux);
}
.btn:hover::after { transform: translateX(120%); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-900);
  box-shadow: 0 8px 28px rgba(198, 164, 92, 0.35);
}
.btn-gold:hover { box-shadow: 0 12px 36px rgba(198, 164, 92, 0.5); }
.btn-ghost {
  border-color: rgba(232, 207, 154, 0.4);
  color: var(--paper-50);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--gold-400); background: rgba(198, 164, 92, 0.08); }
.btn-navy {
  background: var(--navy-800);
  color: var(--paper-50);
  box-shadow: 0 8px 28px rgba(10, 20, 40, 0.3);
}
.btn-navy:hover { background: var(--navy-700); }
.btn-lg { padding: 18px 38px; font-size: 15px; }
.btn-xl { padding: 22px 52px; font-size: 16px; }
.btn-nav { padding: 12px 22px; font-size: 12px; }
.btn:focus-visible, a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}

/* ── Nav ───────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 7000;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 56px);
  transition: background 0.45s var(--ease-lux), box-shadow 0.45s, height 0.45s;
}
.nav.scrolled {
  height: 68px;
  background: rgba(6, 13, 29, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(198, 164, 92, 0.22), 0 12px 40px rgba(0, 0, 0, 0.35);
}
.nav-brand { display: flex; align-items: center; gap: 14px; }
.nav-logo {
  width: 46px; height: 46px; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(198, 164, 92, 0.5), 0 4px 14px rgba(0,0,0,0.4);
  transition: transform 0.4s var(--ease-lux);
}
.nav-brand:hover .nav-logo { transform: rotate(8deg) scale(1.05); }
.nav-name { display: flex; flex-direction: column; line-height: 1.15; }
.nav-name-top {
  font-family: var(--serif); font-weight: 600;
  font-size: 19px; color: var(--paper-50); letter-spacing: 0.02em;
}
.nav-name-top em { color: var(--gold-400); font-style: italic; }
.nav-name-sub {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(232, 207, 154, 0.75);
}
.nav-links { display: flex; gap: clamp(16px, 2.4vw, 34px); }
.nav-links a {
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.04em;
  color: rgba(250, 247, 240, 0.85);
  position: relative; padding: 6px 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold-400);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-lux);
}
.nav-links a:hover { color: var(--gold-300); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.lang-toggle {
  display: flex; border: 1px solid rgba(198, 164, 92, 0.4);
  border-radius: 100px; padding: 3px;
}
.lang-btn {
  border: none; background: transparent;
  color: rgba(250, 247, 240, 0.7);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  padding: 6px 12px; border-radius: 100px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.lang-btn.active { background: var(--gold-500); color: var(--navy-900); font-weight: 600; }
.nav-burger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px;
}
.nav-burger span {
  width: 26px; height: 2px; background: var(--gold-400);
  transition: transform 0.35s var(--ease-lux), opacity 0.35s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 6500;
  background: rgba(6, 13, 29, 0.97);
  backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.45s var(--ease-lux), visibility 0.45s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 26px; text-align: center; }
.mobile-menu nav > a {
  font-family: var(--serif); font-size: 30px; font-weight: 500;
  color: var(--paper-50);
}
.mobile-menu nav > a:hover { color: var(--gold-300); }

/* ── Hero ──────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(1200px 700px at 75% 20%, rgba(27, 43, 75, 0.9), transparent 60%),
    radial-gradient(900px 600px at 10% 90%, rgba(16, 32, 63, 0.8), transparent 55%),
    var(--navy-950);
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) clamp(20px, 5vw, 72px) 90px;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(198, 164, 92, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 164, 92, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(340px 340px at var(--mx, 50%) var(--my, 40%), rgba(0,0,0,0.9), rgba(0,0,0,0.12) 70%);
  -webkit-mask-image: radial-gradient(340px 340px at var(--mx, 50%) var(--my, 40%), rgba(0,0,0,0.9), rgba(0,0,0,0.12) 70%);
}
.hero-watermark {
  position: absolute;
  right: -3vw; bottom: -12vh;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(300px, 42vw, 640px);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(198, 164, 92, 0.1);
  pointer-events: none;
  user-select: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 26px;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 44px; height: 1px;
  background: var(--gold-500);
  flex-shrink: 0;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(44px, 6.2vw, 92px);
  line-height: 1.02;
  color: var(--paper-50);
  letter-spacing: -0.01em;
  margin-bottom: 30px;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.word-mask {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1.1s var(--ease-lux);
}
.loaded .word-mask { transform: translateY(0); }
.loaded .word-mask.delay-1 { transition-delay: 0.12s; }
.loaded .word-mask.delay-2 { transition-delay: 0.24s; }

.gold-foil {
  font-style: italic;
  background: linear-gradient(100deg, var(--gold-600) 0%, var(--gold-300) 25%, #f4e3bc 50%, var(--gold-300) 75%, var(--gold-600) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: foilSheen 5s linear infinite;
}
@keyframes foilSheen {
  to { background-position: 200% center; }
}
.gold-italic {
  font-style: italic;
  color: var(--gold-500);
}

.hero-sub {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.7;
  color: rgba(250, 247, 240, 0.78);
  max-width: 560px;
  margin-bottom: 40px;
}
.redacted {
  position: relative;
  display: inline;
  color: transparent;
  background: repeating-linear-gradient(0deg, var(--navy-600), var(--navy-600));
  border-radius: 2px;
  transition: color 0.8s ease 1.6s, background 0.8s ease 1.6s;
  padding: 0 4px;
}
.loaded .redacted {
  color: var(--gold-300);
  background: rgba(198, 164, 92, 0.1);
}
.hero-ctas { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 46px; }
.hero-trust {
  list-style: none;
  display: flex; flex-wrap: wrap;
  gap: 12px 28px;
}
.hero-trust li {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(232, 207, 154, 0.85);
  display: flex; align-items: center; gap: 9px;
}
.hero-trust li::before {
  content: "✦";
  color: var(--gold-500);
  font-size: 9px;
}

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-photo-frame {
  position: relative;
  width: min(400px, 82%);
  transform-style: preserve-3d;
}
.hero-photo-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
  transform: translateZ(30px);
}
.hero-photo {
  width: 100%;
  aspect-ratio: 682 / 1024;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.03);
  transform: scale(1.12);
  transition: transform 1.6s var(--ease-lux) 0.5s;
}
.loaded .hero-photo { transform: scale(1); }
.tilt-glare {
  position: absolute; inset: 0;
  background: radial-gradient(420px 420px at var(--gx, 50%) var(--gy, 50%), rgba(255, 245, 220, 0.16), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.tilt:hover .tilt-glare { opacity: 1; }
.frame-line {
  position: absolute;
  border: 1px solid rgba(198, 164, 92, 0.5);
  border-radius: 4px;
  pointer-events: none;
}
.frame-line-1 { inset: -16px 16px 16px -16px; transform: translateZ(12px); }
.frame-line-2 { inset: 16px -16px -16px 16px; border-color: rgba(198, 164, 92, 0.25); }
.hero-chip {
  position: absolute;
  left: -24px; bottom: 36px;
  transform: translateZ(60px);
  display: flex; align-items: center; gap: 10px;
  background: rgba(6, 13, 29, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(198, 164, 92, 0.45);
  border-radius: 100px;
  padding: 11px 20px;
  font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--paper-50);
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}
.chip-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #58d68d;
  box-shadow: 0 0 0 0 rgba(88, 214, 141, 0.6);
  animation: chipPulse 2.2s infinite;
}
@keyframes chipPulse {
  0% { box-shadow: 0 0 0 0 rgba(88, 214, 141, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(88, 214, 141, 0); }
  100% { box-shadow: 0 0 0 0 rgba(88, 214, 141, 0); }
}
.hero-stamp-rotator {
  position: absolute;
  top: -34px; right: max(-10px, 1vw);
  width: 132px; height: 132px;
}
.hero-stamp-rotator svg {
  position: absolute; inset: 0;
  animation: spinSlow 22s linear infinite;
}
.hero-stamp-rotator text {
  font-family: var(--mono);
  font-size: 14.5px; letter-spacing: 0.28em;
  fill: var(--gold-400);
}
.rotator-logo {
  position: absolute; inset: 33px;
  width: 66px; height: 66px;
  border-radius: 50%;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }

.hero-scroll-hint {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(232, 207, 154, 0.65);
}
.scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(var(--gold-500), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute; top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--gold-300);
  animation: scrollDrop 2s var(--ease-lux) infinite;
}
@keyframes scrollDrop {
  to { top: 110%; }
}

/* ── Marquee ───────────────────────────────── */
.marquee {
  background: var(--navy-950);
  border-top: 1px solid rgba(198, 164, 92, 0.25);
  border-bottom: 1px solid rgba(198, 164, 92, 0.25);
  overflow: hidden;
  padding: 22px 0;
  position: relative; z-index: 2;
}
.marquee-track {
  display: flex; align-items: center; gap: 38px;
  width: max-content;
  animation: marqueeMove 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--serif);
  font-size: 24px; font-weight: 500; font-style: italic;
  color: var(--gold-400);
  white-space: nowrap;
}
.marquee-track i {
  font-style: normal;
  color: rgba(198, 164, 92, 0.5);
  font-size: 13px;
}
@keyframes marqueeMove {
  to { transform: translateX(-50%); }
}

/* ── Sections / exhibits ───────────────────── */
.section {
  position: relative;
  padding: clamp(80px, 10vw, 150px) clamp(20px, 5vw, 72px);
}
.section-paper {
  background:
    radial-gradient(1100px 500px at 90% 0%, rgba(198, 164, 92, 0.09), transparent 55%),
    var(--paper-50);
  color: var(--ink);
}
.section-paper::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)' opacity='0.35'/%3E%3C/svg%3E");
  opacity: 0.05;
}
.section-navy {
  background:
    radial-gradient(1000px 600px at 15% 15%, rgba(27, 43, 75, 0.85), transparent 60%),
    var(--navy-900);
  color: var(--paper-50);
}
.exhibit-tab {
  display: flex; align-items: center; gap: 20px;
  max-width: 1240px;
  margin: 0 auto clamp(40px, 5vw, 70px);
}
.exhibit-label {
  font-size: 12px; font-weight: 600;
  color: var(--navy-900);
  background: var(--gold-500);
  padding: 8px 16px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
}
.exhibit-tab-dark .exhibit-label { color: var(--navy-950); }
.exhibit-rule { flex: 1; height: 1px; background: currentColor; opacity: 0.18; }
.exhibit-file { font-size: 11px; opacity: 0.6; }

.section-head {
  max-width: 1240px;
  margin: 0 auto clamp(50px, 6vw, 80px);
}
.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(36px, 4.6vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.section-lede {
  font-size: clamp(16px, 1.3vw, 19px);
  max-width: 620px;
  opacity: 0.75;
}

/* ── Services grid ─────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 1240px;
  margin: 0 auto;
}
.svc-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--paper-200);
  border-radius: 6px;
  padding: 38px 32px 42px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: box-shadow 0.45s var(--ease-lux), border-color 0.45s;
  cursor: default;
}
.svc-card:hover {
  box-shadow: 0 30px 70px rgba(16, 24, 38, 0.14);
  border-color: var(--gold-400);
}
.svc-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.55s var(--ease-lux);
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-num {
  position: absolute; top: 26px; right: 28px;
  font-size: 13px;
  color: var(--gold-600);
  opacity: 0.85;
}
.svc-icon {
  width: 54px; height: 54px;
  border: 1px solid var(--gold-500);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-600);
  margin-bottom: 26px;
  transition: background 0.4s var(--ease-lux), color 0.4s, transform 0.4s;
}
.svc-card:hover .svc-icon {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--gold-300);
  transform: translateZ(24px) rotate(-6deg);
}
.svc-icon svg { width: 26px; height: 26px; }
.svc-card h3 {
  font-family: var(--serif);
  font-size: 25px; font-weight: 600;
  margin-bottom: 12px;
  color: var(--navy-800);
}
.svc-card p { font-size: 15px; color: var(--ink-soft); }

/* ── Timeline ──────────────────────────────── */
.timeline {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  padding-top: 40px;
}
.timeline-line {
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(198, 164, 92, 0.2);
}
.timeline-fill {
  display: block;
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300));
  box-shadow: 0 0 14px rgba(198, 164, 92, 0.7);
  transition: width 0.2s linear;
}
.tl-step { position: relative; padding-top: 26px; }
.tl-dot {
  position: absolute; top: -6px; left: 0;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 2px solid var(--gold-500);
  box-shadow: 0 0 0 5px var(--navy-900);
}
.tl-num {
  font-size: 11px;
  color: var(--gold-400);
  margin-bottom: 14px;
}
.tl-step h3 {
  font-family: var(--serif);
  font-size: 24px; font-weight: 600;
  margin-bottom: 12px;
  color: var(--paper-50);
}
.tl-step p { font-size: 14.5px; color: rgba(250, 247, 240, 0.68); }

/* ── Stamp ─────────────────────────────────── */
.stamp-zone {
  display: flex; justify-content: center;
  padding: clamp(60px, 7vw, 100px) 20px 10px;
  overflow: hidden; /* el sello arranca escalado 3.2x; sin esto estira el documento */
}
.stamp {
  font-family: var(--mono);
  font-size: clamp(22px, 3.4vw, 42px);
  font-weight: 600; letter-spacing: 0.22em;
  color: #b93b3b;
  border: 4px double #b93b3b;
  border-radius: 10px;
  padding: 18px 46px;
  transform: rotate(-7deg) scale(3.2);
  opacity: 0;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 24px rgba(185, 59, 59, 0.35));
  position: relative;
}
.stamp::after {
  content: "";
  position: absolute; inset: 6px;
  border: 1px solid rgba(185, 59, 59, 0.5);
  border-radius: 6px;
}
.stamp.stamped {
  animation: stampSlam 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes stampSlam {
  0% { opacity: 0; transform: rotate(-7deg) scale(3.2); }
  55% { opacity: 1; transform: rotate(-7deg) scale(0.92); }
  75% { transform: rotate(-7deg) scale(1.06); }
  100% { opacity: 1; transform: rotate(-7deg) scale(1); }
}

/* ── Founder ───────────────────────────────── */
.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 90px);
  max-width: 1240px;
  margin: 0 auto;
  align-items: center;
}
.founder-photos { position: relative; }
.founder-photo-main {
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 34px 80px rgba(16, 24, 38, 0.22);
}
.founder-photo-main img {
  width: 100%;
  aspect-ratio: 1024 / 683;
  object-fit: cover;
}
.founder-photo-small {
  position: absolute;
  right: -18px; bottom: -58px;
  width: 38%;
  overflow: hidden;
  border-radius: 6px;
  border: 6px solid var(--paper-50);
  box-shadow: 0 26px 60px rgba(16, 24, 38, 0.3);
}
.founder-photo-small img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.reveal-clip {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s var(--ease-lux);
}
/* el observador vigila al contenedor .clip-group (sin recorte);
   recortar la figura misma la deja con área 0 y el observador jamás dispara */
.clip-group.visible .reveal-clip { clip-path: inset(0 0 0 0); }
.clip-group.visible .founder-photo-small { transition-delay: 0.22s; }
.founder-quote {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500; font-style: italic;
  line-height: 1.25;
  color: var(--navy-800);
  margin-bottom: 30px;
  position: relative;
  padding-left: 28px;
}
.founder-quote::before {
  content: "";
  position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 3px;
  background: linear-gradient(var(--gold-400), var(--gold-600));
}
.founder-name { margin-bottom: 26px; display: flex; flex-direction: column; gap: 4px; }
.founder-name strong {
  font-family: var(--serif);
  font-size: 24px; font-weight: 700;
  color: var(--navy-800);
}
.founder-title { font-size: 11px; color: var(--gold-600); }
.founder-copy > p.reveal { color: var(--ink-soft); margin-bottom: 18px; max-width: 540px; }
.founder-points {
  list-style: none;
  margin-top: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.founder-points li {
  display: flex; align-items: center; gap: 12px;
  font-weight: 500; font-size: 15px;
  color: var(--navy-800);
}
.founder-points li::before {
  content: "✦";
  color: var(--gold-500);
  font-size: 11px;
}

/* ── Pillars / why ─────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  max-width: 1240px;
  margin: 0 auto clamp(60px, 7vw, 90px);
}
.pillar {
  border: 1px solid rgba(198, 164, 92, 0.22);
  border-radius: 6px;
  padding: 34px 28px;
  background: rgba(16, 32, 63, 0.35);
  backdrop-filter: blur(6px);
  transition: border-color 0.4s, background 0.4s, transform 0.4s var(--ease-lux);
}
.pillar:hover {
  border-color: var(--gold-500);
  background: rgba(16, 32, 63, 0.65);
  transform: translateY(-6px);
}
.pillar svg {
  width: 34px; height: 34px;
  color: var(--gold-400);
  margin-bottom: 22px;
}
.pillar h3 {
  font-family: var(--serif);
  font-size: 22px; font-weight: 600;
  margin-bottom: 12px;
  color: var(--paper-50);
}
.pillar p { font-size: 14px; color: rgba(250, 247, 240, 0.65); }

.group-strip {
  max-width: 1240px;
  margin: 0 auto;
  border-top: 1px solid rgba(198, 164, 92, 0.25);
  padding-top: 40px;
  text-align: center;
}
.group-title {
  font-size: 11px;
  color: var(--gold-400);
  margin-bottom: 22px;
}
.group-brands {
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  gap: 14px 22px;
}
.group-brands span {
  font-family: var(--serif);
  font-size: 20px; font-weight: 500; font-style: italic;
  color: rgba(250, 247, 240, 0.85);
}
.group-brands i {
  font-style: normal; font-size: 10px;
  color: rgba(198, 164, 92, 0.6);
}

/* ── CTA band ──────────────────────────────── */
.cta-band {
  position: relative;
  background: var(--navy-950);
  text-align: center;
  padding: clamp(90px, 12vw, 170px) 24px;
  overflow: hidden;
}
.cta-band-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 380px at 50% 120%, rgba(198, 164, 92, 0.16), transparent 65%),
    radial-gradient(500px 300px at 12% -10%, rgba(27, 43, 75, 0.9), transparent 60%);
}
.cta-title {
  position: relative;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.06;
  color: var(--paper-50);
  margin-bottom: 44px;
}
.cta-band .btn { position: relative; }

/* ── Contact ───────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 5vw, 90px);
  max-width: 1240px;
  margin: 0 auto;
  align-items: start;
}
.contact-lines { display: flex; flex-direction: column; gap: 8px; margin-top: 40px; }
.contact-line {
  display: flex; align-items: center; gap: 20px;
  padding: 18px 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: border-color 0.35s, background 0.35s, transform 0.35s var(--ease-lux);
}
a.contact-line:hover {
  border-color: var(--gold-400);
  background: var(--white);
  transform: translateX(6px);
}
.contact-line svg {
  width: 26px; height: 26px;
  color: var(--gold-600);
  flex-shrink: 0;
}
.contact-line span {
  display: flex; flex-direction: column;
  font-size: 17px; font-weight: 500;
  color: var(--navy-800);
  min-width: 0;
  overflow-wrap: anywhere; /* correos largos en pantallas angostas */
}
.contact-line em {
  font-style: normal;
  font-size: 10px;
  color: var(--gold-600);
  margin-bottom: 3px;
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--paper-200);
  border-radius: 8px;
  padding: clamp(28px, 3vw, 46px);
  box-shadow: 0 30px 80px rgba(16, 24, 38, 0.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 20px; display: flex; flex-direction: column; }
.form-field label {
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 9px;
}
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--sans);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--paper-50);
  border: 1px solid var(--paper-200);
  border-radius: 4px;
  padding: 14px 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(198, 164, 92, 0.18);
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-note {
  margin-top: 18px;
  font-size: 9.5px;
  color: var(--ink-soft);
  opacity: 0.7;
}

/* ── Footer ────────────────────────────────── */
.footer {
  background: var(--navy-950);
  color: rgba(250, 247, 240, 0.75);
  padding: clamp(60px, 7vw, 100px) clamp(20px, 5vw, 72px) 40px;
  border-top: 1px solid rgba(198, 164, 92, 0.2);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 40px;
  max-width: 1240px;
  margin: 0 auto 60px;
}
.footer-brand img {
  width: 74px; height: 74px; border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 0 0 1px rgba(198, 164, 92, 0.4);
}
.footer-name {
  font-family: var(--serif);
  font-size: 24px; font-weight: 600;
  color: var(--paper-50);
  margin-bottom: 8px;
}
.footer-name em { color: var(--gold-400); }
.footer-tag { font-size: 9.5px; color: rgba(232, 207, 154, 0.7); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-h {
  font-size: 11px; font-weight: 600;
  color: var(--gold-400);
  margin-bottom: 8px;
}
.footer-col a, .footer-col span {
  font-size: 14.5px;
  color: rgba(250, 247, 240, 0.7);
  overflow-wrap: anywhere;
}
.footer-col a { transition: color 0.3s; }
.footer-col a:hover { color: var(--gold-300); }
.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  border-top: 1px solid rgba(198, 164, 92, 0.15);
  padding-top: 30px;
  display: flex; flex-direction: column; gap: 12px;
  font-size: 12.5px;
  color: rgba(250, 247, 240, 0.45);
}

/* ── Reveal on scroll ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease-lux), transform 0.9s var(--ease-lux);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ────────────────────────────── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 48px 34px; }
  .timeline-line { display: none; }
  .tl-dot { display: none; }
  .tl-step { padding-top: 0; border-top: 1px solid rgba(198, 164, 92, 0.3); padding-top: 22px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .btn-nav { display: none; }
  .nav-burger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero { padding-bottom: 120px; }
  .hero-visual { order: -1; margin-top: 10px; }
  .hero-photo-frame { width: min(320px, 78%); }
  .hero-stamp-rotator { top: -22px; right: 2vw; width: 104px; height: 104px; }
  .hero-stamp-rotator .rotator-logo { inset: 26px; width: 52px; height: 52px; }
  .hero-scroll-hint { display: none; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo-small { bottom: -34px; }
  .founder-copy { margin-top: 50px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .exhibit-file { display: none; }
  .hero-chip { left: 50%; transform: translateX(-50%) translateZ(60px); bottom: -24px; }
  .nav-name-sub { display: none; }
}

/* ── Reduced motion ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .word-mask, .redacted, .reveal, .reveal-clip, .hero-photo { transform: none; opacity: 1; clip-path: none; }
  .redacted { color: var(--gold-300); background: rgba(198, 164, 92, 0.1); }
  .marquee-track { animation: none; }
  .grain { display: none; }
}
