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

:root {
  --bg:        #0D0D0F;
  --bg-2:      #121218;
  --bg-3:      #1A1A24;
  --ink:       #08080A;

  --fg:        #F0EFE8;
  --fg-soft:   #C7C5BC;
  --muted:     #908F87;

  --gold:      #D4AF37;
  --gold-soft: #E8CE72;
  --gold-dim:  #9A7E28;
  --steel:     #6E8BC0;   /* discreet "builder" cool accent, used sparingly */

  --line:      rgba(240, 239, 232, 0.12);
  --line-gold: rgba(212, 175, 55, 0.22);

  --maxw:      1200px;
  --pad:       clamp(22px, 6vw, 96px);
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);

  --serif:     'Cormorant Garamond', Georgia, serif;
  --sans:      'DM Sans', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;            /* clip, not hidden — keeps sticky/parallax intact */
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }
::selection { background: rgba(212,175,55,0.25); color: var(--fg); }

a { color: inherit; }
img { display: block; }

/* ---------- shared fragments ---------- */
.eyebrow {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow--bare { display: block; margin-bottom: 14px; }
.eyebrow .rule { width: 40px; height: 1px; background: var(--gold); display: inline-block; }

.section-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(34px, 5vw, 62px); line-height: 1.08;
  letter-spacing: -0.01em; color: var(--fg);
}
.section-title em { color: var(--gold); font-style: italic; font-weight: 400; }

.lede {
  font-family: var(--sans); font-size: clamp(15px, 1.7vw, 18px);
  color: var(--fg-soft); line-height: 1.85; max-width: 56ch;
}

.btn {
  display: inline-block; text-decoration: none; cursor: pointer; border: none;
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 16px 34px; border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn--solid { background: var(--gold); color: var(--ink); }
.btn--solid:hover { opacity: 0.9; transform: translateY(-2px); }
.btn--ghost { border: 1px solid rgba(212,175,55,0.45); color: var(--gold); background: transparent; }
.btn--ghost:hover { border-color: var(--gold); background: rgba(212,175,55,0.07); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); transition-duration: 0.12s; }

/* ---------- reveal (fade-up) ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- masked title reveal ---------- */
.ml-reveal .ml-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.ml-reveal .ml-line__inner { display: block; transform: translateY(112%); transition: transform 0.95s var(--ease); transition-delay: var(--ml-delay, 0s); will-change: transform; }
.ml-reveal.is-shown .ml-line__inner { transform: translateY(0); }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 var(--pad);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
  opacity: 0; transform: translateY(-10px);
}
body.is-loaded .nav { opacity: 1; transform: none; transition: opacity 0.8s var(--ease) 0.15s, transform 0.8s var(--ease) 0.15s, background 0.4s var(--ease), border-color 0.4s var(--ease); }
.nav.is-scrolled { background: rgba(13,13,15,0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(212,175,55,0.12); }
.nav__inner { max-width: var(--maxw); margin: 0 auto; height: 74px; display: flex; align-items: center; justify-content: space-between; }
.nav__logo { font-family: var(--serif); font-size: 23px; font-weight: 600; letter-spacing: 0.02em; text-decoration: none; color: var(--fg); }
.nav__logo span { color: var(--gold); font-weight: 300; }
.nav__links { display: flex; gap: 30px; align-items: center; }
.nav__link { position: relative; text-decoration: none; font-size: 13px; font-weight: 400; letter-spacing: 0.06em; color: var(--muted); transition: color 0.2s; padding: 4px 0; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--gold); transition: width 0.3s var(--ease); }
.nav__link:hover { color: var(--fg); }
.nav__link:hover::after { width: 100%; }
.nav__link.is-active { color: var(--gold); }
.nav__link.is-active::after { width: 100%; }
.nav__cta { text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; color: var(--ink); background: var(--gold); padding: 9px 22px; border-radius: 2px; transition: opacity 0.2s; }
.nav__cta:hover { opacity: 0.88; }
.nav__burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { display: block; width: 24px; height: 1.5px; background: var(--fg); border-radius: 1px; transition: all 0.3s; }
.nav__mobile { display: none; }

/* ============ HERO ============ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; }
.hero__media { position: absolute; inset: 0; z-index: 0; will-change: transform; transform: translate3d(0, var(--py, 0px), 0); }
.hero__img {
  width: 100%; height: 116%; object-fit: cover; object-position: 50% 50%;
  transform: scale(1.04); animation: kenburns 26s var(--ease) infinite alternate;
}
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.13); } }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(8,8,10,0.92) 0%, rgba(8,8,10,0.55) 30%, rgba(8,8,10,0.12) 56%, rgba(8,8,10,0.30) 100%),
    linear-gradient(to right, rgba(8,8,10,0.78) 0%, rgba(8,8,10,0.32) 42%, rgba(8,8,10,0) 72%);
}
.hero__vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none; box-shadow: inset 0 0 240px 40px rgba(0,0,0,0.55); }
.hero__inner { position: relative; z-index: 3; max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 0 var(--pad); align-self: flex-end; padding-bottom: clamp(72px, 13vh, 150px); padding-top: 120px; }
.hero__eyebrow { margin-bottom: 30px; opacity: 0; transform: translateY(16px); animation: heroIn 0.9s var(--ease) 0.2s forwards; }
.hero__name {
  font-family: var(--serif); font-weight: 300; color: var(--fg);
  font-size: clamp(58px, 11vw, 138px); line-height: 0.9; letter-spacing: -0.02em;
  text-shadow: 0 2px 40px rgba(0,0,0,0.55);
}
.hero__name em { color: var(--gold); font-style: italic; font-weight: 400; }
.hero__tagline {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(18px, 2.4vw, 27px); color: var(--fg-soft); line-height: 1.5;
  max-width: 600px; margin-top: 30px; text-shadow: 0 1px 20px rgba(0,0,0,0.6);
  opacity: 0; transform: translateY(16px); animation: heroIn 0.9s var(--ease) 0.85s forwards;
}
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 44px; opacity: 0; transform: translateY(16px); animation: heroIn 0.9s var(--ease) 1.05s forwards; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.hero__avail { display: inline-flex; align-items: center; gap: 11px; margin-top: 30px; font-size: 12.5px; font-weight: 400; letter-spacing: 0.03em; color: var(--fg-soft); opacity: 0; transform: translateY(16px); animation: heroIn 0.9s var(--ease) 1.3s forwards; text-shadow: 0 1px 16px rgba(0,0,0,0.6); }
.hero__dot { width: 8px; height: 8px; border-radius: 50%; background: #57c98a; flex-shrink: 0; animation: availPulse 2.4s ease-out infinite; }
@keyframes availPulse { 0% { box-shadow: 0 0 0 0 rgba(87,201,138,0.55); } 70% { box-shadow: 0 0 0 9px rgba(87,201,138,0); } 100% { box-shadow: 0 0 0 0 rgba(87,201,138,0); } }
.hero__cue { position: absolute; z-index: 3; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0; animation: heroIn 1s var(--ease) 1.6s forwards; }
.hero__cue span { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.hero__cue-line { width: 1px; height: 46px; background: linear-gradient(to bottom, var(--gold), transparent); animation: cuePulse 2.2s var(--ease) infinite; }
@keyframes cuePulse { 0%,100% { opacity: 0.3; transform: scaleY(1); } 50% { opacity: 1; transform: scaleY(0.65); } }

/* ============ PAGE HEADER (secondary pages) ============ */
.pagehead { padding: clamp(128px, 20vh, 190px) var(--pad) clamp(48px, 8vh, 84px); background: var(--bg); border-bottom: 1px solid var(--line); }
.pagehead__inner { max-width: var(--maxw); margin: 0 auto; }
.pagehead .eyebrow { margin-bottom: 16px; }
.pagehead__back { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-size: 13px; letter-spacing: 0.04em; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.pagehead__back:hover { color: var(--gold); }

/* ============ generic section ============ */
.section { padding: clamp(84px, 12vh, 160px) var(--pad); }
.section__inner { max-width: var(--maxw); margin: 0 auto; }
.section--bg2 { background: var(--bg-2); }
.section--ink { background: var(--ink); }
.section__head { margin-bottom: 60px; }
.section__head .eyebrow { margin-bottom: 16px; }

/* ============ ABOUT (editorial) ============ */
.about__grid { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: clamp(38px, 6vw, 96px); align-items: start; }
.portrait { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; border: 1px solid var(--line-gold); box-shadow: 0 44px 100px -50px rgba(0,0,0,0.85); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform 1.6s var(--ease); transform: scale(1.01); }
.portrait:hover img { transform: scale(1.06); }
.portrait::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 -60px 80px -40px rgba(8,8,10,0.7); }
.portrait__tag { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 14px 18px; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg); }
.portrait__bar { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--gold); }
.about__body p { margin-bottom: 22px; }
.about__body strong { color: var(--fg); font-weight: 500; }
.about__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 44px; }
.stat { background: var(--bg-3); padding: 30px 24px; border-top: 2px solid var(--gold); border-radius: 0 0 3px 3px; }
.section--bg2 .stat { background: var(--bg); }
.stat__num { font-family: var(--serif); font-size: clamp(34px, 4.4vw, 54px); font-weight: 600; color: var(--gold); line-height: 1; display: block; margin-bottom: 10px; }
.stat__label { font-size: 11.5px; font-weight: 400; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }

/* ============ TABS (experience / projects) ============ */
.tabs__bar { display: flex; gap: 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs__bar::-webkit-scrollbar { display: none; }
.tab-btn { background: none; border: none; cursor: pointer; padding: 16px 22px; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color 0.2s, border-color 0.2s; }
.tab-btn:hover { color: var(--fg-soft); }
.tab-btn.is-active { color: var(--gold); border-bottom-color: var(--gold); }
.tab-panel { padding-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); animation: panelIn 0.45s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tab-panel__period { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); background: rgba(212,175,55,0.1); padding: 5px 13px; border-radius: 2px; margin-bottom: 14px; }
.tab-panel__title { font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); font-weight: 400; color: var(--fg); line-height: 1.18; margin-bottom: 8px; }
.tab-panel__role { font-size: 15px; color: var(--muted); margin-bottom: 34px; }
.highlights { display: flex; flex-direction: column; gap: 14px; margin-bottom: 34px; }
.highlight { display: flex; align-items: center; gap: 20px; padding: 18px 22px; background: var(--bg-2); border: 1px solid var(--line-gold); border-left: 3px solid var(--gold); border-radius: 0 3px 3px 0; }
.section--bg2 .highlight { background: var(--bg); }
.highlight__metric { font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--gold); line-height: 1; white-space: nowrap; }
.highlight__label { font-size: 13px; color: var(--muted); }
.stack { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 11px; font-weight: 500; letter-spacing: 0.04em; background: var(--bg-3); color: var(--fg-soft); border: 1px solid var(--line); padding: 5px 12px; border-radius: 2px; }
.section--bg2 .chip { background: var(--bg); }
.tab-detail { border-left: 1px solid var(--line); padding-left: clamp(24px, 4vw, 56px); }
.tab-detail__label { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.detail-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.detail-list li { display: flex; gap: 15px; align-items: flex-start; font-size: 14.5px; color: var(--fg-soft); line-height: 1.6; }
.detail-list .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 8px; }
.tab-panel__badge { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 13px; border-radius: 2px; margin-bottom: 14px; }

/* ============ SKILLS ============ */
.ai-block { background: linear-gradient(135deg, rgba(212,175,55,0.07) 0%, rgba(212,175,55,0.02) 100%); border: 1px solid var(--line-gold); border-radius: 6px; padding: clamp(26px, 4vw, 50px); margin-bottom: 48px; position: relative; overflow: hidden; }
.ai-block__tag { position: absolute; top: 0; left: 26px; background: var(--gold); color: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 14px; border-radius: 0 0 4px 4px; }
.ai-block__grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 36px; flex-wrap: wrap; margin-top: 22px; }
.ai-block__lead { font-family: var(--serif); font-style: italic; font-size: clamp(17px, 2vw, 23px); color: var(--fg-soft); max-width: 440px; line-height: 1.5; }
.ai-block__lead .eyebrow { font-style: normal; display: block; margin-bottom: 12px; }
.skill-rows { display: flex; flex-direction: column; gap: 14px; min-width: 260px; }
.skill-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.skill-row__name { font-size: 14px; color: var(--fg); }
.dots { display: flex; gap: 4px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.1); }
.dots i.on { background: var(--gold); }
.dots.steel i.on { background: var(--steel); }
.skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2px; }
.skill-cat { background: var(--bg-3); padding: 28px 28px 32px; border-top: 2px solid rgba(110,139,192,0.4); }
.section--bg2 .skill-cat { background: var(--bg); }
.skill-cat__name { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); margin-bottom: 20px; }
.skill-cat .skill-row { margin-bottom: 12px; }
.skill-cat .skill-row__name { color: var(--fg-soft); }

/* ============ MANIFESTO / HEADHUNTER ============ */
.manifesto { background: var(--ink); }
.manifesto__inner { max-width: 940px; margin: 0 auto; }
.manifesto__quote { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 0 6px 6px 0; padding: clamp(32px, 4.5vw, 64px); }
.manifesto__mark { position: absolute; top: 14px; left: 30px; font-family: var(--serif); font-size: clamp(56px, 7vw, 92px); color: rgba(212,175,55,0.16); line-height: 1; user-select: none; }
.manifesto__quote p { position: relative; z-index: 1; font-size: clamp(15px, 1.6vw, 17.5px); color: var(--fg-soft); line-height: 1.9; margin-bottom: 24px; }
.manifesto__quote p:last-child { margin-bottom: 0; }
.manifesto__quote strong { color: var(--fg); font-weight: 500; }
.manifesto__quote .accent { color: var(--gold); font-weight: 500; }
.manifesto__sign { margin-top: 30px; display: flex; align-items: center; gap: 16px; }
.manifesto__sign-line { width: 38px; height: 1px; background: var(--gold); }
.manifesto__sign span { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ============ CONTACT ============ */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-card { display: flex; align-items: center; gap: 20px; padding: 20px 24px; background: var(--bg-2); border: 1px solid rgba(255,255,255,0.05); border-radius: 4px; transition: border-color 0.25s; margin-bottom: 14px; }
.contact-card:hover { border-color: var(--line-gold); }
.contact-card__icon { width: 46px; height: 46px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(212,175,55,0.08); border-radius: 3px; color: var(--gold); }
.contact-card__k { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-card__v { font-size: 14.5px; color: var(--fg); text-decoration: none; transition: color 0.2s; }
.contact-card a.contact-card__v:hover { color: var(--gold); }
.form { display: flex; flex-direction: column; gap: 16px; }
.form input, .form textarea { width: 100%; background: var(--bg-3); border: 1px solid rgba(255,255,255,0.07); border-radius: 3px; padding: 15px 18px; font-family: var(--sans); font-size: 14px; color: var(--fg); outline: none; transition: border-color 0.2s; }
.form input:focus, .form textarea:focus { border-color: rgba(212,175,55,0.45); }
.form textarea { resize: vertical; min-height: 150px; }
.form__error { color: #ff6b6b; font-size: 11px; margin-top: 5px; }
.form__sent { padding: 56px 40px; text-align: center; background: var(--bg-2); border: 1px solid var(--line-gold); border-radius: 4px; }
.form__sent-check { width: 62px; height: 62px; border-radius: 50%; background: rgba(212,175,55,0.1); border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; color: var(--gold); font-size: 24px; }
.form__sent h3 { font-family: var(--serif); font-size: 27px; font-weight: 400; color: var(--fg); margin-bottom: 10px; }
.form__sent p { font-size: 14px; color: var(--muted); }

/* ============ FOOTER ============ */
.footer { background: var(--bg-2); border-top: 1px solid rgba(255,255,255,0.05); padding: 34px var(--pad); }
.footer__inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer__logo { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--fg); text-decoration: none; }
.footer__logo span { color: var(--gold); }
.footer p { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.footer a.footer__link { font-size: 12px; color: var(--muted); text-decoration: none; letter-spacing: 0.04em; transition: color 0.2s; }
.footer a.footer__link:hover { color: var(--gold); }

/* ============ FLOATING CTA ============ */
.fab { position: fixed; bottom: 30px; right: 30px; z-index: 90; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 14px 24px; border-radius: 3px; text-decoration: none; box-shadow: 0 10px 36px rgba(212,175,55,0.28); opacity: 0; transform: translateY(12px); pointer-events: none; transition: all 0.35s var(--ease); }
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ============ SERVICES ============ */
.services { background: var(--ink); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.service { background: var(--bg-2); padding: clamp(28px, 3vw, 40px) clamp(24px, 2.6vw, 34px); border-top: 2px solid var(--gold); display: flex; flex-direction: column; }
.service__idx { font-family: var(--serif); font-size: 16px; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 20px; }
.service__title { font-family: var(--serif); font-size: clamp(22px, 2.3vw, 29px); font-weight: 500; color: var(--fg); line-height: 1.14; margin-bottom: 12px; }
.service__out { font-size: 14.5px; color: var(--gold-soft); margin-bottom: 20px; line-height: 1.5; }
.service__ex { font-size: 14px; color: var(--fg-soft); line-height: 1.7; margin-bottom: 24px; padding-left: 18px; border-left: 2px solid var(--line-gold); }
.service__ex .label { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.service__format { margin-top: auto; }
.service__format span { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold); background: rgba(212,175,55,0.08); border: 1px solid var(--line-gold); padding: 6px 13px; border-radius: 2px; }
.services__foot { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.services__foot p { font-family: var(--serif); font-style: italic; font-size: clamp(16px, 1.9vw, 22px); color: var(--fg-soft); max-width: 620px; line-height: 1.5; margin: 0; }
.services__foot strong { color: var(--gold); font-weight: 500; font-style: normal; }
@media (max-width: 1080px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services__grid { grid-template-columns: 1fr; } }

/* ============ MISSIONS (exemples) ============ */
.missions { background: var(--bg-2); }
.missions__list { display: flex; flex-direction: column; }
.mission { display: grid; grid-template-columns: 150px 1fr; gap: clamp(20px, 4vw, 56px); padding: clamp(30px, 4vw, 48px) 0; border-top: 1px solid var(--line); }
.mission:last-child { border-bottom: 1px solid var(--line); }
.mission__idx { font-family: var(--serif); font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); padding-top: 6px; }
.mission__title { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 32px); font-weight: 400; color: var(--fg); line-height: 1.22; margin-bottom: 16px; }
.mission__text { font-size: clamp(14.5px, 1.5vw, 16px); color: var(--fg-soft); line-height: 1.8; margin-bottom: 22px; max-width: 64ch; }
.mission__text strong { color: var(--fg); font-weight: 500; }
.mission__steps { list-style: none; display: flex; flex-wrap: wrap; align-items: center; }
.mission__steps li { font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-soft); }
.mission__steps li:not(:first-child)::before { content: "→"; color: var(--gold); margin: 0 12px; font-weight: 400; }
@media (max-width: 700px) { .mission { grid-template-columns: 1fr; gap: 10px; } }

/* ============ GATE (porte d'accès) ============ */
/* Tant que <html> porte .is-locked, le contenu du site reste masqué.
   gate.js retire la classe une fois le bon code saisi. Sans JS, le contenu
   reste caché (défaut volontairement fermé). */
html.is-locked, html.is-locked body { overflow: hidden; height: 100%; }
html.is-locked body > *:not(#gate) { visibility: hidden; }
#gate { position: fixed; inset: 0; z-index: 9999; background: var(--bg); display: flex; align-items: center; justify-content: center; padding: var(--pad); }
.gate__box { width: 100%; max-width: 420px; text-align: center; }
.gate__logo { font-family: var(--serif); font-size: 34px; font-weight: 600; color: var(--fg); display: block; margin-bottom: 26px; }
.gate__logo span { color: var(--gold); font-weight: 300; }
.gate__title { font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); font-weight: 300; color: var(--fg); line-height: 1.1; }
.gate__sub { font-size: 14px; color: var(--muted); margin: 12px 0 30px; line-height: 1.6; }
.gate__form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.gate__form input { flex: 1 1 200px; min-width: 0; background: var(--bg-3); border: 1px solid var(--line); border-radius: 3px; padding: 15px 18px; font-family: var(--sans); font-size: 15px; color: var(--fg); outline: none; text-align: center; letter-spacing: 0.1em; transition: border-color 0.2s; }
.gate__form input:focus { border-color: var(--gold); }
.gate__err { color: #ff6b6b; font-size: 12.5px; margin-top: 16px; }

/* ============ CASE STUDY ============ */
.case-pains { list-style: none; display: grid; gap: 2px; margin-top: 8px; }
.case-pains li { background: var(--bg); border-left: 3px solid var(--gold); padding: 18px 22px; font-size: 15px; color: var(--fg-soft); line-height: 1.6; }
.section--bg2 .case-pains li { background: var(--bg-3); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.feat { background: var(--bg-2); padding: clamp(24px, 3vw, 36px); border-top: 2px solid var(--gold); }
.feat__idx { font-family: var(--serif); font-size: 15px; color: var(--gold); letter-spacing: 0.1em; }
.feat__title { font-family: var(--serif); font-size: clamp(19px, 2.1vw, 24px); font-weight: 500; color: var(--fg); margin: 12px 0 10px; line-height: 1.2; }
.feat__text { font-size: 14px; color: var(--fg-soft); line-height: 1.7; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2px; }
.kpi { background: var(--bg-3); padding: 26px 22px; border-top: 2px solid var(--gold); }
.kpi__num { font-family: var(--serif); font-size: clamp(30px, 4vw, 48px); font-weight: 600; color: var(--gold); line-height: 1; display: block; margin-bottom: 8px; }
.kpi__label { font-size: 11.5px; letter-spacing: 0.05em; color: var(--muted); text-transform: uppercase; }
.result-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.result-list li { display: flex; gap: 15px; align-items: flex-start; font-size: clamp(15px, 1.6vw, 17px); color: var(--fg-soft); line-height: 1.6; }
.result-list li::before { content: "✓"; color: var(--gold); font-weight: 700; flex-shrink: 0; }
@media (max-width: 1080px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } }

/* ============ RESPONSIVE ============ */
@media (max-width: 880px) {
  .about__grid { grid-template-columns: 1fr; }
  .portrait { max-width: 320px; }
  .about__stats { grid-template-columns: 1fr; }
  .tab-panel { grid-template-columns: 1fr; }
  .tab-detail { border-left: none; padding-left: 0; }
  .contact__grid { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  /* fermé par défaut : seul .is-open (posé par le burger dans main.js) l'ouvre */
  .nav__mobile { display: none; background: rgba(13,13,15,0.98); border-top: 1px solid var(--line); padding: 16px var(--pad) 26px; }
  .nav__mobile.is-open { display: block; }
  .nav__mobile a { display: block; text-decoration: none; font-size: 17px; color: var(--fg); padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
}
@media (max-width: 820px) {
  .hero__media { transform: none !important; }
}
@media (max-width: 540px) {
  .ai-block__grid { gap: 24px; }
  .skill-rows { min-width: 100%; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .hero__img { animation: none; transform: scale(1.02); }
  .hero__media { transform: none !important; }
  .ml-reveal .ml-line__inner { transform: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__eyebrow, .hero__tagline, .hero__ctas, .hero__avail, .hero__cue { opacity: 1 !important; transform: none !important; animation: none !important; }
}
