/* ═══════════════════════════════════════════════════
   WeeSec — Landing V1
   Editorial moderne sobre · cream + rouille
   Display: Fraunces · Body: Inter · Accents: JetBrains Mono
   ═══════════════════════════════════════════════════ */

:root {
  /* Palette */
  --bg:           #FAF7F1;
  --bg-soft:      #F1ECDD;
  --bg-warm:      #ECE5D2;
  --ink:          #19160F;
  --ink-soft:     #4A453B;
  --ink-mid:      #75716A;
  --ink-faded:    #A39C8E;
  --hair:         #E5DFCD;
  --hair-soft:    #EFEADB;
  --rust:         #B05030;
  --rust-deep:    #7E351A;
  --rust-wash:    rgba(176, 80, 48, 0.06);

  /* Type */
  --serif: "Fraunces", "Source Serif Pro", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Layout */
  --wrap-max: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(72px, 11vw, 140px);
}

/* ═══ RESET ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "kern", "liga", "cv11", "tnum";
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
  letter-spacing: -0.005em;
  position: relative;
}

/* faint blueprint dot grid — tech atmosphere */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(15, 13, 8, 0.10) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 0 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}
.nav, main, footer { position: relative; z-index: 1; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--rust); color: var(--bg); }

/* ═══ LAYOUT WRAP ═══ */
.wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

/* ═══ BUTTONS — brutalist rectangular ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  transition: all 0.25s cubic-bezier(.2,.7,.2,1);
  white-space: nowrap;
  cursor: pointer;
}
.btn__arrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  transition: transform 0.25s cubic-bezier(.2,.7,.2,1);
  display: inline-block;
}
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  position: relative;
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--bg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}
.btn--primary:hover {
  background: var(--rust);
  border-color: var(--rust);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn--primary:active {
  transform: translate(0, 0);
  box-shadow: 0 0 0 var(--ink);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 14px 22px;
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--bg);
}

.btn--link {
  padding: 0;
  background: transparent;
  color: var(--rust);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0;
  border-bottom: 1px solid transparent;
}
.btn--link:hover { border-bottom-color: var(--rust); }

.btn--lg { padding: 18px 30px; font-size: 13px; }
.btn--xl { padding: 22px 36px; font-size: 14px; }

/* ═══ NAV ═══ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 241, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  transition: border-color 0.4s, box-shadow 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  border-bottom-color: var(--hair);
  box-shadow: 0 4px 24px -16px rgba(25, 22, 15, 0.18);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}
.nav__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 144;
  flex-shrink: 0;
}
.nav__brand-mark {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rust);
  display: inline-block;
  align-self: center;
  margin-right: 2px;
  box-shadow: 0 0 0 3px rgba(176, 80, 48, 0.12);
}
.nav__brand-name { color: var(--ink); }
.nav__brand-tag {
  font-family: var(--sans);
  font-style: normal;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ink-mid);
  margin-left: 6px;
  letter-spacing: 0;
}

.nav__links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 450;
}
.nav__links a {
  position: relative;
  transition: color 0.2s;
  padding: 4px 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--rust);
  transition: width 0.25s;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.nav__cta { flex-shrink: 0; }

/* Language switcher */
.nav__lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-right: 4px;
  padding: 6px 12px;
  border: 1px solid var(--hair);
  flex-shrink: 0;
}
.nav__lang--active {
  color: var(--ink);
  font-weight: 600;
}
.nav__lang-link {
  color: var(--ink-mid);
  transition: color 0.2s;
  font-weight: 500;
}
.nav__lang-link:hover {
  color: var(--rust);
}
.nav__lang-sep {
  color: var(--ink-faded);
  font-weight: 300;
}

/* ═══ HERO ═══ */
.hero {
  padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -300px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--rust-wash) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: clamp(32px, 4.5vw, 52px);
  padding: 8px 14px;
  background: transparent;
  border-radius: 0;
  border: 1px solid var(--ink);
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  animation: rise 0.7s cubic-bezier(.2,.7,.2,1) 0.05s forwards;
}
.hero__eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rust);
  display: inline-block;
  box-shadow: 0 0 0 3px var(--rust-wash);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.65; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 6.4vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.028em;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 20;
  max-width: 18ch;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.95s cubic-bezier(.2,.7,.2,1) 0.15s forwards;
}
.hero__title em {
  font-style: italic;
  font-weight: 350;
  color: var(--rust);
  font-variation-settings: "opsz" 144;
}

.hero__sub {
  margin-top: clamp(28px, 3.5vw, 40px);
  max-width: 56ch;
  font-size: clamp(16.5px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  opacity: 0;
  animation: fade-in 1s ease 0.55s forwards;
}

.hero__cta {
  margin-top: clamp(32px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero__signals {
  margin-top: clamp(64px, 8vw, 104px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  position: relative;
  opacity: 0;
  animation: fade-in 1s ease 1s forwards;
}
/* spec sheet header */
.hero__signals::before {
  content: "// ÉCHÉANCES RÉGLEMENTAIRES · UE";
  position: absolute;
  top: -28px;
  left: 0;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--ink-mid);
  font-weight: 500;
}
.hero__signals::after {
  content: "REF / 042 · Q.II 2026";
  position: absolute;
  top: -28px;
  right: 0;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--ink-faded);
  font-weight: 500;
}
.signal {
  padding: 28px 28px 28px 0;
  border-right: 1px solid var(--hair);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.signal:last-child { border-right: none; padding-right: 0; }
.signal:not(:first-child) { padding-left: 28px; }
.signal__date {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--rust);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}
.signal__label {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  line-height: 1.55;
}
.signal__label strong {
  color: var(--ink);
  font-weight: 600;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.signal__label em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--rust);
  font-size: 14px;
  font-weight: 400;
  font-variation-settings: "opsz" 14;
  display: block;
  margin-top: 8px;
  letter-spacing: -0.005em;
}
.signal__label sup {
  font-size: 0.7em;
  line-height: 0;
  vertical-align: 0.4em;
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  to { opacity: 1; }
}

/* ═══ CLIENTS STRIP — brutalist tech ═══ */
.clients {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--bg);
  padding: clamp(32px, 4vw, 44px) 0;
}
.clients__inner {
  display: grid;
  grid-template-columns: minmax(160px, 200px) 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}
.clients__label {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  border-right: 1px solid var(--ink);
  padding-right: clamp(20px, 3vw, 32px);
  align-self: stretch;
  display: flex;
  align-items: center;
  line-height: 1.1;
}
.clients__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  flex-grow: 1;
}
.client {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  color: var(--ink-mid);
  opacity: 0.78;
  transition: color 0.3s, opacity 0.3s, transform 0.3s;
}
.client:hover {
  color: var(--rust);
  opacity: 1;
  transform: translateY(-1px);
}
.client__svg {
  height: 100%;
  width: auto;
  max-width: 100%;
  display: block;
}

/* ═══ SECTION SHELL ═══ */
.section {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--hair);
}
.section__head {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: clamp(24px, 5vw, 60px);
  margin-bottom: clamp(48px, 7vw, 80px);
  align-items: start;
}
.section__kicker {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  padding-top: 12px;
  border-top: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: start;
  font-family: var(--mono);
  position: relative;
}
.section__kicker::before {
  content: "//";
  color: var(--rust);
  font-weight: 700;
  letter-spacing: 0;
}
.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--ink);
  max-width: 22ch;
  font-variation-settings: "opsz" 100;
}
.section__title em {
  font-style: italic;
  color: var(--rust);
  font-weight: 400;
}

/* ═══ PROBLEM ═══ */
.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--hair);
}
.problem__card {
  padding: 36px 32px 36px 0;
  border-right: 1px solid var(--hair);
  position: relative;
}
.problem__card:nth-child(2) { padding-left: 32px; }
.problem__card:nth-child(3) { padding-left: 32px; padding-right: 0; border-right: none; }

.problem__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--rust);
  margin-bottom: 28px;
  font-variation-settings: "opsz" 36;
}
.problem__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
  font-variation-settings: "opsz" 60;
  color: var(--ink);
}
.problem__name em {
  font-style: italic;
  color: var(--rust);
}
.problem__card p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.problem__card p strong {
  color: var(--ink);
  font-weight: 600;
}

/* ═══ SERVICES ═══ */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 48px 40px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.4s cubic-bezier(.2,.7,.2,1);
}
/* corner crop marks — tech precision */
.service-card::before,
.service-card::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  transition: width 0.4s, height 0.4s;
}
.service-card::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--rust);
  border-left: 2px solid var(--rust);
}
.service-card::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--rust);
  border-right: 2px solid var(--rust);
}
.service-card:hover::before,
.service-card:hover::after {
  width: 22px;
  height: 22px;
}
.service-card:hover {
  background: var(--bg-warm);
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--ink);
}
.service-card:hover::before {
  width: 100%;
}

.service-card__head {
  margin-bottom: 32px;
}
.service-card__tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 500;
  margin-bottom: 20px;
  padding: 4px 10px;
  background: transparent;
  border: 1px solid var(--rust);
  border-radius: 0;
}
.service-card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.018em;
  margin-bottom: 18px;
  color: var(--ink);
  font-variation-settings: "opsz" 80;
}
.service-card__title em {
  font-style: italic;
  color: var(--rust);
}
.service-card__lede {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.service-card__lede em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
  font-size: 16px;
}

.service-card__list {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}
.service-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--hair);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.service-card__list li:last-child { border-bottom: 1px solid var(--hair); }

.check {
  display: inline-block;
  width: 14px; height: 14px;
  flex-shrink: 0;
  margin-top: 4px;
  background: transparent;
  border: 1.2px solid var(--rust);
  border-radius: 0;
  position: relative;
}
.check::after {
  content: "";
  position: absolute;
  left: 3px; top: 0;
  width: 4px; height: 8px;
  border-right: 1.5px solid var(--rust);
  border-bottom: 1.5px solid var(--rust);
  transform: rotate(45deg);
}

.service-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding-top: 8px;
}
.service-card__format {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mid);
  font-variation-settings: "opsz" 14;
}

/* ═══ MÉTHODE ═══ */
.method {
  list-style: none;
  border-top: 1px solid var(--hair);
}
.method__step {
  display: grid;
  grid-template-columns: 100px 1fr 1.2fr;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--hair);
  align-items: start;
  transition: padding-left 0.35s ease, background 0.35s ease;
  position: relative;
}
.method__step:hover {
  padding-left: 16px;
  background: var(--rust-wash);
}
.method__step:hover .method__num {
  color: var(--rust);
}

.method__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  line-height: 0.85;
  color: var(--ink);
  font-variation-settings: "opsz" 60;
  transition: color 0.3s;
  letter-spacing: -0.02em;
}
.method__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  font-variation-settings: "opsz" 48;
  padding-top: 6px;
  color: var(--ink);
}
.method__desc {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  padding-top: 10px;
  max-width: 56ch;
}

/* ═══ ABOUT (Mot de la fondatrice) ═══ */
.founder {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.founder__word {
  max-width: 60ch;
  position: relative;
  padding-top: 24px;
}
.founder__word::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background: var(--rust);
}
.founder__line {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variation-settings: "opsz" 60;
}
.founder__line + .founder__line {
  margin-top: 20px;
}
.founder__line em {
  font-style: normal;
  color: var(--rust);
  font-weight: 500;
}

.founder__id {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 200px;
}

.portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: visible;
  border-radius: 0;
  background: var(--bg-warm);
  margin: 0;
  border: 1px solid var(--ink);
}
.portrait img {
  position: relative;
  z-index: 1;
}
/* crop marks at corners */
.portrait::before,
.portrait::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
  z-index: 2;
}
.portrait::before {
  top: -7px;
  left: -7px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.portrait::after {
  bottom: -7px;
  right: -7px;
  border-bottom: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.portrait:hover img {
  transform: scale(1.04);
}

.portrait__caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 2px solid var(--rust);
  padding: 4px 0 4px 12px;
}
.portrait__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variation-settings: "opsz" 36;
}
.portrait__role {
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink-mid);
}

.about {
  border-top: 1px solid var(--hair);
  padding-top: clamp(32px, 4vw, 48px);
}
.about__creds {
  /* full width below founder */
}
.about__cta-row {
  margin-top: clamp(36px, 4vw, 48px);
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  display: flex;
  justify-content: flex-start;
}
.cred {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hair);
  align-items: baseline;
}
.cred dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 500;
}
.cred dd {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}
.cred dd em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
  font-weight: 400;
  font-size: 16.5px;
  font-variation-settings: "opsz" 14;
}

/* ═══ FAQ ═══ */
.faq {
  border-top: 1px solid var(--hair);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.faq__item {
  border-bottom: 1px solid var(--hair);
  transition: background 0.3s;
}
.faq__item[open] {
  background: var(--rust-wash);
}
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  transition: padding 0.3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item[open] summary { padding-left: 12px; }

.faq__q {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--ink);
  font-variation-settings: "opsz" 36;
}
.faq__icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  position: relative;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: var(--rust);
  border-radius: 0;
}
.faq__icon::before {
  left: 0; right: 0;
  top: 50%;
  height: 1.5px;
  transform: translateY(-50%);
}
.faq__icon::after {
  top: 0; bottom: 0;
  left: 50%;
  width: 1.5px;
  transform: translateX(-50%);
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1);
}
.faq__item[open] .faq__icon { transform: rotate(180deg); }
.faq__item[open] .faq__icon::after { transform: translateX(-50%) scaleY(0); }

.faq__a {
  padding: 0 80px 26px 12px;
  animation: fade-in 0.4s ease;
}
.faq__a p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.faq__a .link {
  color: var(--rust);
  border-bottom: 1px solid var(--rust);
  transition: color 0.2s;
}
.faq__a .link:hover { color: var(--rust-deep); }

/* ═══ CTA FINAL ═══ */
.cta-final {
  padding: clamp(80px, 12vw, 160px) 0;
  background:
    radial-gradient(ellipse at 30% 50%, var(--rust-wash) 0%, transparent 60%),
    var(--bg-soft);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  text-align: center;
}
.cta-final__inner {
  max-width: 760px;
}
.cta-final__symbol {
  font-family: var(--serif);
  font-style: italic;
  font-size: 44px;
  color: var(--rust);
  line-height: 1;
  margin-bottom: 24px;
}
.cta-final__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin-bottom: 22px;
  font-variation-settings: "opsz" 100;
}
.cta-final__title em {
  font-style: italic;
  color: var(--rust);
}
.cta-final__sub {
  font-size: clamp(16px, 1.6vw, 18.5px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 auto 38px;
}

/* ═══ LEGAL PAGES ═══ */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) var(--gutter) clamp(72px, 9vw, 120px);
}
.legal__head {
  border-bottom: 1px solid var(--ink);
  padding-bottom: clamp(28px, 4vw, 40px);
  margin-bottom: clamp(48px, 6vw, 72px);
}
.legal__back {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mid);
  display: inline-block;
  margin-bottom: clamp(28px, 4vw, 40px);
  transition: color 0.2s, transform 0.2s;
}
.legal__back:hover { color: var(--rust); transform: translateX(-3px); }

.legal__title {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.028em;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 20;
  margin-bottom: 18px;
}
.legal__title em {
  font-style: italic;
  color: var(--rust);
}
.legal__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

.legal__body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.legal__body section {
  margin-bottom: clamp(40px, 5vw, 60px);
  padding-top: 8px;
}
.legal__body section.legal__intro {
  padding: clamp(24px, 3vw, 32px) clamp(20px, 3vw, 32px);
  border-left: 2px solid var(--rust);
  background: var(--rust-wash);
  margin-bottom: clamp(48px, 6vw, 72px);
}
.legal__body section.legal__intro p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--ink);
  font-variation-settings: "opsz" 36;
  margin: 0;
  max-width: none;
}

.legal__h {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--hair);
}

.legal__body p {
  margin-bottom: 14px;
  max-width: 64ch;
}
.legal__body p:last-child { margin-bottom: 0; }
.legal__body strong {
  color: var(--ink);
  font-weight: 600;
}
.legal__body em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
  font-weight: 400;
  font-size: 17px;
}
.legal__body a {
  color: var(--rust);
  border-bottom: 1px solid currentColor;
  transition: color 0.2s;
  word-break: break-word;
}
.legal__body a:hover { color: var(--rust-deep); }
.legal__body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}
.legal__body ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  max-width: 64ch;
}
.legal__body ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--rust);
  font-family: var(--mono);
}

@media (max-width: 600px) {
  .legal__body { font-size: 15.5px; line-height: 1.65; }
  .legal__body section.legal__intro p { font-size: 17px; }
}

/* ═══ FOOTER ═══ */
.footer {
  background: var(--bg);
  padding: clamp(48px, 6vw, 72px) 0 28px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr auto;
  gap: 40px;
  align-items: start;
  padding-bottom: clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--hair);
}
.footer__brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.footer__name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
}
.footer__tag {
  flex-basis: 100%;
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-mid);
  max-width: 32ch;
  line-height: 1.5;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  color: var(--ink-soft);
  align-self: center;
}
.footer__links a {
  transition: color 0.2s;
  border-bottom: 1px solid transparent;
}
.footer__links a:hover {
  color: var(--rust);
  border-bottom-color: var(--rust);
}
.footer__cta { align-self: center; }

.footer__legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  font-size: 12.5px;
  color: var(--ink-faded);
}
.footer__motto {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mid);
  font-variation-settings: "opsz" 14;
}
.footer__legal a {
  color: var(--ink-mid);
  border-bottom: 1px solid transparent;
  transition: all 0.2s;
}
.footer__legal a:hover { color: var(--rust); border-bottom-color: var(--rust); }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */

@media (max-width: 980px) {
  .nav__inner { padding: 14px 0; gap: 12px; }
  .nav__brand-tag { display: none; }
  .nav__links { display: none; }
  .nav__cta { padding: 10px 18px; font-size: 11.5px; }
  .nav__lang { padding: 5px 8px; font-size: 11px; gap: 6px; margin-right: 0; }

  .hero { padding: 50px 0 60px; }
  .hero__title { line-height: 1; }
  .hero__title br { display: none; }
  .hero__sub { font-size: 17px; }
  .hero__signals { display: flex; flex-direction: column; gap: 0; }
  .signal {
    border-right: none;
    border-bottom: 1px solid var(--hair);
    padding: 18px 0;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
  }
  .signal:not(:first-child) { padding-left: 0; }
  .signal:last-child { border-bottom: none; }
  .signal__date { font-size: 18px; }

  .section__head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }

  .problem__grid { grid-template-columns: 1fr; }
  .problem__card {
    padding: 32px 0;
    border-right: none;
    border-bottom: 1px solid var(--hair);
  }
  .problem__card:nth-child(2),
  .problem__card:nth-child(3) { padding-left: 0; padding-right: 0; }
  .problem__card:last-child { border-bottom: none; }

  .services { grid-template-columns: 1fr; gap: 18px; }
  .service-card { padding: 32px 24px 28px; }
  .service-card__foot { flex-direction: column; align-items: flex-start; gap: 14px; }

  .method__step {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0;
  }
  .method__step:hover { padding-left: 8px; }
  .method__num { font-size: 36px; }
  .method__name { padding-top: 0; }
  .method__desc { padding-top: 4px; }

  .founder { grid-template-columns: 1fr; gap: 28px; }
  .founder__id { flex-direction: row; align-items: center; gap: 14px; max-width: 100%; }
  .founder__id .portrait { width: 88px; flex-shrink: 0; }
  .portrait__name { font-size: 17px; }
  .portrait__role { font-size: 12px; }
  .about { padding-top: 28px; }
  .about__cta-row { margin-top: 28px; padding-top: 20px; }

  .clients__inner { grid-template-columns: 1fr; gap: 18px; }
  .clients__label { border-right: none; border-bottom: 1px solid var(--hair); padding-right: 0; padding-bottom: 14px; align-self: start; }
  .clients__row { grid-template-columns: repeat(2, 1fr); gap: 28px 32px; }
  .client { height: 30px; }

  .cred { grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; }
  .cred dt { font-size: 10.5px; }
  .cred dd { font-size: 14.5px; }
  .cred dd em { font-size: 15.5px; }

  .faq__a { padding: 0 0 20px 12px; }

  .cta-final { padding: 70px 0 80px; }

  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__cta { justify-self: start; }
  .footer__legal { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 520px) {
  body { font-size: 15.5px; }
  .hero__eyebrow { font-size: 12px; padding: 7px 14px; }
  .hero__title { font-size: 11vw; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .btn--lg { padding: 14px 22px; font-size: 14.5px; }
  .btn--xl { padding: 16px 26px; font-size: 15.5px; }

  .service-card__title { font-size: 24px; }
  .cred { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 4px;
  border-radius: 3px;
}

/* ═══ REVEAL ON SCROLL (added by JS) ═══ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
