/* =============================================================
   UAS SERVICES — Design system
   Concept: "viseur / télémétrie" · palette étalonnage teal & orange
   Display: Space Grotesk · Body: Instrument Sans · Mono: Space Mono
   ============================================================= */

:root {
  /* Palette — encre profonde + duo cyan/ambre (étalonnage cinéma) */
  --ink:        #070A11;
  --ink-2:      #0C111C;
  --ink-3:      #121A28;
  --ink-4:      #1A2436;
  --cyan:       #3CD6E6;
  --cyan-deep:  #1596AC;
  --amber:      #F7A23B;
  --amber-deep: #E17A34;
  --text:       #EAF1FA;
  --muted:      #93A2B8;
  --muted-2:    #64738C;
  --line:       rgba(255,255,255,.09);
  --line-strong:rgba(255,255,255,.16);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body:    "Instrument Sans", system-ui, sans-serif;
  --font-mono:    "Space Mono", ui-monospace, monospace;

  --container: 1200px;
  --radius: 14px;
  --radius-sm: 9px;
  --header-h: 74px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset & base ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
::selection { background: var(--cyan); color: var(--ink); }

/* ambient grain / vignette on body */
body::before {
  content:""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(60,214,230,.10), transparent 60%),
    radial-gradient(90% 60% at 100% 110%, rgba(247,162,59,.07), transparent 60%);
}

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { color: var(--muted); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--cyan); display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before {
  content:""; width: 26px; height: 1px; background: var(--cyan); opacity: .7;
}
.eyebrow.amber { color: var(--amber); }
.eyebrow.amber::before { background: var(--amber); }

/* ---------- Layout ---------- */
.container { width: min(100% - 44px, var(--container)); margin-inline: auto; }
.section { position: relative; z-index: 1; padding: clamp(72px, 10vw, 130px) 0; }
.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head h2 { margin: 16px 0 14px; }
.section-head p { font-size: 1.05rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ---------- Signature: viewfinder frame ---------- */
.viewfinder { position: relative; }
.viewfinder::before, .viewfinder::after,
.vf-tl, .vf-tr, .vf-bl, .vf-br { position: absolute; width: 20px; height: 20px; pointer-events: none; z-index: 3; }
.vf-tl,.vf-tr,.vf-bl,.vf-br {
  content:""; border: 2px solid var(--cyan);
  transition: all .4s var(--ease);
}
.vf-tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.vf-tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.vf-bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.vf-br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 15px 26px; border-radius: var(--radius-sm);
  font-family: var(--font-mono); font-size: .82rem; letter-spacing: .08em;
  text-transform: uppercase; font-weight: 700;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  border: 1px solid transparent; white-space: nowrap;
}
.btn .arw { transition: transform .25s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn-primary {
  background: linear-gradient(120deg, var(--cyan), var(--cyan-deep));
  color: var(--ink); box-shadow: 0 8px 30px -8px rgba(60,214,230,.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(60,214,230,.65); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn-amber { background: linear-gradient(120deg, var(--amber), var(--amber-deep)); color: #1a1206; box-shadow: 0 8px 30px -8px rgba(247,162,59,.5); }
.btn-amber:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(247,162,59,.6); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100;
  display: flex; align-items: center;
  transition: background .35s, backdrop-filter .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(7,10,17,.82); backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; }
.brand .tag { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .18em; color: var(--muted-2); text-transform: uppercase; border-left: 1px solid var(--line); padding-left: 12px; }
.navmenu ul { display: flex; align-items: center; gap: 6px; }
.navmenu a {
  padding: 10px 15px; font-size: .93rem; color: var(--muted); font-weight: 500;
  border-radius: 8px; transition: color .2s; position: relative;
}
.navmenu a:hover, .navmenu a.active { color: var(--text); }
.navmenu a.active::after {
  content:""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px;
  background: var(--cyan); border-radius: 2px;
}
.nav-cta { margin-left: 8px; }
.dropdown { position: relative; }
.dropdown > a::after { content:"⌄"; margin-left: 6px; font-size: .8em; opacity: .6; }
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 268px;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .25s var(--ease); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8);
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 11px 14px; border-radius: 8px; color: var(--muted); font-size: .9rem; }
.dropdown-menu a:hover { background: var(--ink-3); color: var(--cyan); }
.dropdown-menu a::after { display: none; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.6rem; line-height: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; will-change: transform; }
.hero-bg::after {
  content:""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,10,17,.55) 0%, rgba(7,10,17,.35) 40%, var(--ink) 100%),
    linear-gradient(90deg, var(--ink) 0%, rgba(7,10,17,.2) 55%, transparent 100%);
}
/* telemetry grid overlay */
.hero-grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 70% at 30% 40%, #000 30%, transparent 75%);
}
.hero .container { position: relative; z-index: 4; padding-top: var(--header-h); }
.hero-inner { max-width: 760px; }
.hero h1 { margin: 22px 0; }
.hero h1 .grad { background: linear-gradient(105deg, var(--cyan), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.2rem; max-width: 560px; color: #c3cede; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-coords {
  position: absolute; bottom: 30px; right: 24px; z-index: 4;
  font-family: var(--font-mono); font-size: .68rem; color: var(--muted-2);
  letter-spacing: .1em; text-align: right; line-height: 1.9;
}
.hero-coords span { color: var(--cyan); }
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 4;
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .2em; color: var(--muted);
  text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-cue .line { width: 1px; height: 40px; background: linear-gradient(var(--cyan), transparent); animation: cue 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0%,100%{ transform: scaleY(.4); opacity:.4 } 50%{ transform: scaleY(1); opacity:1 } }

/* play / showreel button */
.reel-btn { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.reel-btn .disc {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.04); position: relative;
  transition: all .3s var(--ease);
}
.reel-btn .disc::after { content:""; width: 0; height: 0; border-left: 11px solid var(--cyan); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.reel-btn:hover .disc { border-color: var(--cyan); transform: scale(1.06); box-shadow: 0 0 0 6px rgba(60,214,230,.12); }
.reel-btn small { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Stats / counters ---------- */
.stats { position: relative; z-index: 1; border-block: 1px solid var(--line); background: var(--ink-2); }
.stats .container { display: grid; grid-template-columns: repeat(4,1fr); }
.stat { padding: 40px 26px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.2rem,4vw,3.2rem); font-weight: 700; color: var(--text); line-height: 1; }
.stat .num .u { color: var(--amber); }
.stat .lbl { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.svc {
  position: relative; padding: 34px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s;
}
.svc::after { content:""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, var(--cyan), transparent 45%); opacity: 0; transition: opacity .4s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.svc:hover { transform: translateY(-6px); border-color: transparent; }
.svc:hover::after { opacity: 1; }
.svc:hover .vf-tl,.svc:hover .vf-tr,.svc:hover .vf-bl,.svc:hover .vf-br { opacity: 1; }
.svc .vf-tl,.svc .vf-tr,.svc .vf-bl,.svc .vf-br { width: 14px; height: 14px; opacity: 0; }
.svc-num { font-family: var(--font-mono); font-size: .75rem; color: var(--muted-2); letter-spacing: .1em; }
.svc-ico { width: 52px; height: 52px; margin: 18px 0 20px; color: var(--cyan); }
.svc-ico svg { width: 100%; height: 100%; }
.svc h3 { margin-bottom: 12px; }
.svc p { font-size: .96rem; }
.svc .more { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); transition: gap .25s; }
.svc:hover .more { gap: 13px; }

/* ---------- Réalisations gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter {
  padding: 9px 18px; border-radius: 40px; border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); background: transparent; transition: all .25s;
}
.filter:hover { color: var(--text); border-color: var(--line-strong); }
.filter.active { background: var(--cyan); color: var(--ink); border-color: var(--cyan); }
.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.shot {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  cursor: pointer; transition: transform .5s var(--ease), opacity .4s;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.shot::after { content:""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,10,17,.9)); opacity: .7; transition: opacity .4s; }
.shot:hover img { transform: scale(1.08); }
.shot:hover::after { opacity: .9; }
.shot:hover .vf-tl,.shot:hover .vf-tr,.shot:hover .vf-bl,.shot:hover .vf-br { opacity: 1; }
.shot .vf-tl,.shot .vf-tr,.shot .vf-bl,.shot .vf-br { opacity: 0; width: 15px; height: 15px; }
.shot-meta { position: absolute; left: 18px; bottom: 16px; z-index: 4; }
.shot-meta .t { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.shot-meta .c { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.shot .play { position: absolute; top: 14px; right: 14px; z-index: 4; width: 38px; height: 38px; border-radius: 50%; background: rgba(7,10,17,.6); backdrop-filter: blur(6px); border: 1px solid var(--line-strong); display: grid; place-items: center; }
.shot .play::after { content:""; border-left: 9px solid var(--amber); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 2px; }
.shot.hide { display: none; }

/* ---------- Process timeline (aerial page) ---------- */
.timeline { position: relative; display: grid; gap: 4px; }
.tl-line { position: absolute; left: 27px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(var(--cyan), var(--amber)); opacity: .3; }
.tl-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 20px 0; align-items: start; }
.tl-dot {
  width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 1rem; color: var(--cyan);
  background: var(--ink-3); border: 1px solid var(--line-strong); position: relative; z-index: 2;
}
.tl-step:nth-child(n+4) .tl-dot { color: var(--amber); }
.tl-step h4 { font-size: 1.25rem; margin-bottom: 8px; }
.tl-step p { font-size: .97rem; margin: 0; }
.tl-step .tl-tag { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- Feature list ---------- */
.checks { display: grid; gap: 14px; margin: 26px 0; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--text); font-size: 1rem; }
.checks li svg { flex: none; width: 22px; height: 22px; color: var(--cyan); margin-top: 2px; }

/* ---------- Detail layout ---------- */
.detail { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; }
.svc-list { position: sticky; top: 100px; display: grid; gap: 4px; }
.svc-list a { padding: 15px 18px; border-radius: 10px; border: 1px solid var(--line); color: var(--muted); font-weight: 500; transition: all .25s; display: flex; align-items: center; justify-content: space-between; }
.svc-list a:hover { border-color: var(--line-strong); color: var(--text); }
.svc-list a.active { background: linear-gradient(120deg, rgba(60,214,230,.14), transparent); border-color: var(--cyan); color: var(--text); }
.svc-list a.active::after { content:"→"; color: var(--cyan); }
.detail-body img.lead-img { width: 100%; border-radius: var(--radius); margin-bottom: 28px; }
.detail-body h2 { margin: 8px 0 18px; }
.detail-body h3 { margin: 34px 0 14px; color: var(--text); }
.detail-body p { margin-bottom: 16px; }

/* ---------- Page title ---------- */
.page-title { position: relative; padding: calc(var(--header-h) + 70px) 0 60px; border-bottom: 1px solid var(--line); overflow: hidden; }
.page-title::before { content:""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(70% 100% at 80% 0%, #000, transparent 70%); opacity: .6; }
.page-title .container { position: relative; z-index: 2; }
.page-title h1 { font-size: clamp(2.1rem,5vw,3.6rem); margin: 16px 0 14px; }
.crumbs { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; color: var(--muted-2); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--cyan); }
.crumbs span { color: var(--cyan); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 420px 1fr; gap: 54px; align-items: center; }
.about-photo { position: relative; border-radius: var(--radius); overflow: hidden; }
.about-photo img { width: 100%; }
.about-photo .badge { position: absolute; left: 18px; bottom: 18px; z-index: 4; background: rgba(7,10,17,.7); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; }
.about-photo .badge .n { font-family: var(--font-display); font-weight: 600; }
.about-photo .badge .r { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.about h2 { margin: 16px 0 20px; }
.about .creds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.about .creds span { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; color: var(--muted); border: 1px solid var(--line); padding: 8px 14px; border-radius: 40px; }
.social { display: flex; gap: 12px; margin-top: 26px; }
.social a { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: all .25s; }
.social a:hover { color: var(--cyan); border-color: var(--cyan); transform: translateY(-2px); }
.social svg { width: 19px; height: 19px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; }
.contact-info { display: grid; gap: 18px; align-content: start; }
.ci-item { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); }
.ci-item svg { flex: none; width: 24px; height: 24px; color: var(--cyan); }
.ci-item .k { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.ci-item .v { color: var(--text); font-size: 1.02rem; }
form.contact-form { display: grid; gap: 16px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px; color: var(--text); font: inherit; font-size: .96rem; transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(60,214,230,.14); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .82rem; color: var(--muted-2); }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); background: var(--ink-2); padding: 60px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-brand img { height: 36px; margin-bottom: 16px; }
.footer-brand p { max-width: 320px; font-size: .95rem; }
.footer-col h5 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; color: var(--muted); font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-family: var(--font-mono); font-size: .74rem; color: var(--muted-2); }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--cyan); }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.post { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--ink-2); transition: transform .4s var(--ease), border-color .4s; display: flex; flex-direction: column; }
.post:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.post-img { aspect-ratio: 16/10; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post-img img { transform: scale(1.06); }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post .cat { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.post h3 { margin: 12px 0 10px; font-size: 1.18rem; }
.post p { font-size: .93rem; flex: 1; }
.post .read { margin-top: 16px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.article { max-width: 760px; margin-inline: auto; }
.article p { font-size: 1.08rem; color: #c7d2e0; margin-bottom: 20px; }
.article h2 { margin: 40px 0 16px; }
.article h3 { margin: 30px 0 12px; color: var(--text); }
.article ul.bullets { margin: 0 0 20px; display: grid; gap: 10px; }
.article ul.bullets li { padding-left: 26px; position: relative; color: #c7d2e0; }
.article ul.bullets li::before { content:""; position: absolute; left: 0; top: 11px; width: 10px; height: 2px; background: var(--cyan); }
.article .meta { font-family: var(--font-mono); font-size: .74rem; color: var(--muted-2); letter-spacing: .06em; margin-bottom: 30px; }
.article .lead-img { border-radius: var(--radius); margin: 10px 0 30px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; z-index: 1; }
.cta-inner { position: relative; border-radius: 20px; overflow: hidden; padding: clamp(40px,6vw,72px); text-align: center; border: 1px solid var(--line); background: linear-gradient(140deg, var(--ink-3), var(--ink-2)); }
.cta-inner::before { content:""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% 0%, rgba(60,214,230,.16), transparent 60%); }
.cta-inner > * { position: relative; z-index: 2; }
.cta-inner h2 { margin: 14px auto 16px; max-width: 640px; }
.cta-inner p { max-width: 520px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 1000; background: rgba(4,6,11,.92); backdrop-filter: blur(8px); display: none; place-items: center; padding: 24px; }
.lb.open { display: grid; }
.lb-content { position: relative; max-width: 1000px; width: 100%; }
.lb-content img, .lb-content iframe { width: 100%; border-radius: var(--radius); display: block; }
.lb-content iframe { aspect-ratio: 16/9; border: 0; }
.lb-close { position: absolute; top: -46px; right: 0; background: none; border: 0; color: var(--text); font-size: 2rem; line-height: 1; }
.lb-cap { position: absolute; bottom: -34px; left: 0; font-family: var(--font-mono); font-size: .76rem; color: var(--muted); letter-spacing: .06em; }
.lb-reel-note { text-align: center; color: var(--muted); font-family: var(--font-mono); font-size: .8rem; padding: 60px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius); }

/* ---------- About modal ---------- */
.modal { position: fixed; inset: 0; z-index: 1000; background: rgba(4,6,11,.9); backdrop-filter: blur(8px); display: none; place-items: center; padding: 24px; }
.modal.open { display: grid; }
.modal-box { background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; max-width: 640px; width: 100%; padding: 34px; position: relative; }
.modal-box .lb-close { position: absolute; top: 16px; right: 20px; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .svc-grid, .contact-grid, .about, .detail, .footer-top, .post-grid, .gallery { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about { gap: 34px; }
  .svc-list { position: static; grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .navmenu {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--ink-2);
    border-bottom: 1px solid var(--line); padding: 14px 22px 24px;
    transform: translateY(-120%); transition: transform .35s var(--ease); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .navmenu.open { transform: none; }
  .navmenu ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .navmenu a { padding: 14px; }
  .navmenu a.active::after { display: none; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .brand .tag { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .post-grid, .gallery { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .hero-coords { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-bg img { transform: none !important; }
}

/* keyboard focus */
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
