/* === Numerique Works — Brand tokens & base ============================ */
:root {
  --charcoal: #0F1115;
  --deep-blue: #0D2D5E;
  --slate: #5B6470;
  --slate-200: #C9CDD3;
  --slate-100: #E4E6EA;
  --bg: #F5F4F0;
  --bg-warm: #F7F6F3;
  --white: #FFFFFF;
  --rule: rgba(15, 17, 21, 0.10);
  --rule-strong: rgba(15, 17, 21, 0.18);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Sora", "Inter", -apple-system, sans-serif;
  --font-editorial: "Bodoni Moda", "Playfair Display", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* === Layout ============================================================ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

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

/* === Header ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 28px;
  height: 28px;
  display: inline-block;
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 14px;
  color: var(--charcoal);
}

.site-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0.005em;
  position: relative;
  padding: 6px 0;
  transition: color 0.18s ease;
}
.site-nav a:hover { color: var(--charcoal); }
.site-nav a.active { color: var(--charcoal); }
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--charcoal);
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--white) !important;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.18s ease, background 0.18s ease;
}
.cta-link:hover { transform: translateY(-1px); background: #1a1d24; }
.cta-link .arrow { transition: transform 0.2s ease; }
.cta-link:hover .arrow { transform: translateX(3px); }

.menu-btn { display: none; }

/* === Hero ============================================================== */
.hero {
  position: relative;
  padding: clamp(72px, 12vw, 160px) 0 clamp(72px, 10vw, 140px);
  overflow: hidden;
}
.hero-bg-N {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: min(72vw, 880px);
  height: auto;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 28px;
}
.eyebrow .dot {
  width: 6px; height: 6px; background: var(--deep-blue); border-radius: 50%;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 8.4vw, 132px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  color: var(--charcoal);
  max-width: 14ch;
}
.hero h1 .editorial {
  font-family: var(--font-editorial);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
}
.hero-sub {
  max-width: 52ch;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--slate);
  margin: 0 0 40px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn-primary { background: var(--charcoal); color: var(--white); }
.btn-primary:hover { background: #1a1d24; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--charcoal); border-color: var(--rule-strong); }
.btn-ghost:hover { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.hero-meta {
  position: relative;
  z-index: 1;
  margin-top: clamp(56px, 8vw, 96px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.hero-meta > div {
  background: var(--bg);
  padding: 28px 0;
  padding-right: 24px;
}
.hero-meta .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 10px;
}
.hero-meta .v {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}

/* === Section scaffolding ============================================== */
section { position: relative; }
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section-rule { border-top: 1px solid var(--rule); }

.section-label {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  margin-bottom: clamp(48px, 6vw, 80px);
  align-items: end;
}
.section-label .index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.section-label h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 22ch;
}
.section-label h2 .editorial {
  font-family: var(--font-editorial);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.015em;
}

/* === About ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
}
.about-grid .label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.about-grid .body {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.45;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  font-weight: 400;
  max-width: 38ch;
  text-wrap: pretty;
}
.about-grid .body em {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
}

/* === Services ========================================================= */
.services {
  border-top: 1px solid var(--rule);
}
.service-row {
  display: grid;
  grid-template-columns: 80px 1.1fr 1.6fr 0.6fr;
  align-items: center;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: background 0.25s ease, padding 0.25s ease;
  position: relative;
}
.service-row:hover {
  background: linear-gradient(90deg, transparent, rgba(13,45,94,0.02) 30%, transparent);
}
.service-row .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--slate);
}
.service-row .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.015em;
  color: var(--charcoal);
  transition: transform 0.3s ease;
}
.service-row:hover .name { transform: translateX(6px); }
.service-row .desc {
  font-size: 15px;
  color: var(--slate);
  max-width: 52ch;
  line-height: 1.55;
}
.service-row .more {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  transition: color 0.2s ease, transform 0.2s ease;
}
.service-row:hover .more { color: var(--charcoal); transform: translateX(-4px); }

.service-detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
  border-bottom: 1px solid transparent;
}
.service-detail.open {
  grid-template-rows: 1fr;
  border-bottom-color: var(--rule);
}
.service-detail > div {
  overflow: hidden;
}
.service-detail .inner {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 32px;
  padding: 0 0 40px;
}
.service-detail .inner .col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 14px;
  font-weight: 500;
}
.service-detail .inner .col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 10px;
}
.service-detail .inner .col li {
  font-size: 15px;
  color: var(--charcoal);
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.service-detail .inner .col li::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--deep-blue);
  display: inline-block;
  flex: none;
  transform: translateY(-2px);
}

/* === Benefits ========================================================= */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.benefit {
  background: var(--bg);
  padding: 40px 32px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 320px;
  position: relative;
  transition: background 0.3s ease;
}
.benefit:hover { background: var(--white); }
.benefit .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--slate);
}
.benefit .glyph {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  margin-top: auto;
}
.benefit h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--charcoal);
}
.benefit p {
  font-size: 14.5px;
  color: var(--slate);
  margin: 0;
  line-height: 1.55;
}

/* === Trust band ======================================================= */
.trust {
  background: var(--charcoal);
  color: var(--white);
}
.trust .container { padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); }
.trust .section-label .index { color: rgba(255,255,255,0.5); }
.trust .section-label h2 { color: var(--white); }
.trust h2 .editorial { color: rgba(255,255,255,0.85); }

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.trust-lead {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--white);
  max-width: 26ch;
}
.trust-lead em {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
}
.principles {
  display: grid;
  gap: 0;
}
.principle {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  align-items: baseline;
}
.principle:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.principle .n {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.14em;
}
.principle h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 6px;
  letter-spacing: -0.005em;
}
.principle p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.6);
  max-width: 48ch;
}

/* === CTA =============================================================== */
.cta-section {
  padding: clamp(100px, 12vw, 160px) 0;
  position: relative;
  overflow: hidden;
}
.cta-section .bg-N {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(80vw, 680px);
  opacity: 0.05;
  pointer-events: none;
}
.cta-content {
  position: relative;
  text-align: center;
  z-index: 1;
}
.cta-content .eyebrow { justify-content: center; }
.cta-content h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 auto 28px;
  max-width: 18ch;
  color: var(--charcoal);
}
.cta-content h2 .editorial {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
}
.cta-content p {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--slate);
  margin: 0 auto 40px;
  max-width: 52ch;
  line-height: 1.55;
}
.cta-content .actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* === Contact form (inline) ============================================ */
.contact-card {
  margin-top: 64px;
  background: var(--white);
  border: 1px solid var(--rule);
  padding: clamp(32px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 64px);
  text-align: left;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}
.contact-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.contact-card .lead {
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 28ch;
}
.contact-card .meta-list {
  display: grid;
  gap: 16px;
  font-size: 13.5px;
  color: var(--slate);
}
.contact-card .meta-list .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 4px;
  display: block;
}
.contact-card .meta-list .v {
  color: var(--charcoal);
  font-size: 14px;
}

.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.field input, .field select, .field textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--charcoal);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule-strong);
  padding: 10px 0;
  outline: none;
  transition: border-color 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-bottom-color: var(--charcoal);
}
.field textarea { resize: vertical; min-height: 90px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-success {
  margin-top: 16px;
  padding: 18px;
  background: rgba(13, 45, 94, 0.06);
  border-left: 2px solid var(--deep-blue);
  font-size: 14px;
  color: var(--charcoal);
  display: none;
}
.form-success.visible { display: block; }
.form-success strong { font-family: var(--font-display); font-weight: 600; }

/* === Footer =========================================================== */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: clamp(64px, 8vw, 96px) 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer-brand { color: var(--white); }
.footer-brand .word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.04em;
  margin: 16px 0 14px;
  color: var(--white);
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  max-width: 30ch;
  line-height: 1.55;
  margin: 0;
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-col li a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-col li a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.footer-bottom .legal { display: flex; gap: 24px; }
.footer-bottom .legal a:hover { color: var(--white); }

/* === Reveal animations ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.10s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.22s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.34s; }

/* === Responsive ======================================================= */
@media (max-width: 980px) {
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
  .section-label { grid-template-columns: 1fr; gap: 12px; }
  .about-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-row { grid-template-columns: 60px 1fr 0.4fr; }
  .service-row .desc { display: none; }
  .service-detail .inner { grid-template-columns: 60px 1fr; }
  .service-detail .inner .col:last-child { grid-column: 2; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-card { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 640px) {
  .site-nav { display: none; }
  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border: 1px solid var(--rule-strong);
    background: transparent;
    border-radius: 999px;
  }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; flex-direction: column; align-items: flex-start; }
}

/* Section accent variants for tweaks */
body.theme-blue .eyebrow .dot { background: var(--deep-blue); }
body.theme-warm { --bg: #F7F6F3; }
body.theme-cool { --bg: #F1F2F4; }
