/* Base */
:root {
  --bg: #0b0f19;
  --bg-elev: #111625;
  --text: #e6e9ef;
  --muted: #a7afc0;
  --primary: #6c5ce7;
  --primary-2: #8a7ef6;
  --secondary: #00d1b2;
  --surface: #171c2b;
  --border: #2a3145;
  --white: #ffffff;
  --black: #000000;
  --h1: 72px;
  --h2: 36px;
  --section-pad: 104px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus { outline: none; }
.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { left: 12px; top: 12px; width: auto; height: auto; background: var(--primary); color: #fff; padding: 10px 12px; border-radius: 8px; z-index: 300; }

:focus-visible { outline: 2px solid var(--primary-2); outline-offset: 2px; }
::selection { background: rgba(108,92,231,.35); color: var(--white); }

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 24px;
  margin: 0 auto;
}
.narrow { max-width: 920px; }
.center { text-align: center; }

.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* Header */
.scrollbar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: linear-gradient(90deg, var(--secondary), var(--primary)); box-shadow: 0 6px 18px rgba(0,0,0,.35); transition: width .1s linear; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 0;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { font-weight: 800; letter-spacing: 0.2px; font-size: 18px; }

.main-nav { position: relative; }
.nav-toggle {
  display: none; border: 0; background: transparent; padding: 6px; cursor: pointer; color: var(--text);
}
.nav-toggle-bar { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; }

.nav-list { display: flex; align-items: center; gap: 20px; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--muted); font-weight: 600; letter-spacing: .2px; position: relative; }
.nav-list a:after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: linear-gradient(90deg, #a57f3e, transparent); transform: scaleX(0); transform-origin: left; transition: transform .26s ease; }
.nav-list a:hover:after { transform: scaleX(1); }
.nav-list a:hover { color: var(--text); }
.nav-list .divider { width: 1px; height: 20px; background: var(--border); }
.nav-list a.is-active { color: var(--white); position: relative; }
.nav-list a.is-active:after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: linear-gradient(90deg, #a57f3e, transparent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; padding: 14px 22px; font-weight: 700; border: 1px solid transparent; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.btn:active { transform: translateY(1px); }
.btn--small { padding: 10px 14px; font-size: 14px; }
.btn--primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: var(--white); box-shadow: 0 10px 24px rgba(108,92,231,.35); }
.btn--primary:hover { filter: brightness(1.07); box-shadow: 0 12px 28px rgba(108,92,231,.45); }
.btn--secondary { background: transparent; color: var(--white); border-color: var(--border); }
.btn--secondary:hover { border-color: var(--text); }
.btn--ghost { background: rgba(255,255,255,0.06); color: var(--white); border-color: rgba(255,255,255,0.1); }
.btn--ghost:hover { background: rgba(255,255,255,0.1); }
.btn { position: relative; overflow: hidden; }
.btn:before { content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(75deg, rgba(255,255,255,0), rgba(255,255,255,.25), rgba(255,255,255,0)); transform: skewX(-20deg); transition: left .5s ease; }
.btn:hover:before { left: 120%; }

/* Sections */
.section { padding: var(--section-pad) 0; }
.section-title { font-size: var(--h2); line-height: 1.12; margin: 0 0 18px; letter-spacing: -0.02em; font-weight: 800; }
.section-title { position: relative; padding-bottom: 8px; }
.section-title:after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 88px; background: linear-gradient(90deg, #a57f3e, transparent 70%); border-radius: 3px; transform-origin: left; transform: scaleX(.6); opacity: .85; transition: transform .6s cubic-bezier(.22,.72,.17,1); }
.section-title.is-visible:after { transform: scaleX(1); }
.lead { color: var(--muted); margin: 0 0 28px; }

/* Hero */
.hero { position: relative; padding: 160px 0 140px; overflow: visible; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    url('images/hero-bg.svg') center/cover no-repeat;
}
.hero-bg:after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="160" height="160" viewBox="0 0 160 160"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="2" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/><feComponentTransfer><feFuncA type="table" tableValues="0 0 0 0.08"/></feComponentTransfer></filter><rect width="100%" height="100%" filter="url(%23n)"/></svg>'); opacity: .4; mix-blend-mode: soft-light; }
.hero-inner { display: grid; align-items: center; }
.hero-inner { overflow: visible; }
.hero-title { font-size: calc(var(--h1) * 1.15); line-height: 1.02; margin: 0 0 22px; letter-spacing: -0.02em; font-weight: 900; color: transparent; margin-left: -16px; }
.hero-title .hero-item { background: linear-gradient(180deg, #fff, #bfc6dd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: var(--muted); margin-top: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.hero-actions .btn { transition-delay: 0ms; }
.hero-actions .btn + .btn { transition-delay: 60ms; }

/* Hero inline video */
.hero-content { position: relative; z-index: 2; }
.hero-video { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.hero-video__el { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-video__el::-webkit-media-controls { display: none !important; }
.hero-video__el::-moz-media-controls { display: none !important; }

/* Hero stagger items */
.hero-item { display: inline-block; will-change: transform, opacity; transition: none; }
.hero-title .hero-item { display: inline-block; }

/* Hero logo fixe en haut à droite */
.hero-logo {
  position: absolute;
  top: 40px;
  right: 40px;
  z-index: 10;
  pointer-events: none;
}
.hero-logo__img {
  width: 180px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}
@media (max-width: 768px) {
  .hero-logo {
    top: 20px;
    right: 20px;
  }
  .hero-logo__img {
    width: 120px;
  }
}

/* Intro Feature Grid */
.hover-list { list-style:none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.hover-item:nth-child(odd) { break-inside: avoid; }
@media (max-width: 768px) { .hover-list { grid-template-columns: 1fr; } }
.hover-item { position: relative; padding: 40px 18px; transition: border-color .2s ease, background .2s ease; z-index: 10; }
.hover-item h3 { margin: 0 0 6px; font-size: 20px; position: relative; z-index: 11; transition: color 0.3s ease; }
.hover-item p { margin: 0; color: var(--muted); position: relative; z-index: 11; transition: color 0.3s ease; }
.features-intro .container { position: relative; z-index: 2; }

/* Fond blanc pour features-intro */
.features-intro.bg-white .section-title {
  color: #111827;
}
.features-intro.bg-white .hover-item h3 {
  color: #111827;
}
.features-intro.bg-white .hover-item p {
  color: #4b5563;
}

/* Effet texte blanc quand l'image passe dessous */
.hover-item.has-image-under h3 {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hover-item.has-image-under p {
  color: #f3f4f6 !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.cursor-preview { position: fixed; left: 0; top: 0; width: 360px; height: 260px; transform: translate(-50%, -50%) scale(var(--preview-scale, .8)); opacity: var(--preview-opacity, 0); border-radius: 18px; overflow: hidden; pointer-events: none; z-index: 5; transition: opacity .3s ease, transform .7s cubic-bezier(.22,.72,.17,1); box-shadow: 0 18px 48px rgba(0,0,0,.45); background: transparent; }
.cursor-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* halo supprimé */

/* Feature cards: media rollover */
.feature-media { position: relative; padding: 0; overflow: hidden; border-radius: 16px; border: 1px solid var(--border); background: #0b1020; aspect-ratio: 4 / 3; }
.feature-media__img { position: absolute; inset: 0; background: var(--surface) center/cover no-repeat; background-image: var(--img); transform: scale(1.02); transition: transform .7s cubic-bezier(.22,.72,.17,1), filter .4s ease; will-change: transform; }
.feature-media__overlay { position: absolute; inset: 0; background: 
  linear-gradient(180deg, rgba(2,6,16,.10), rgba(2,6,16,.45) 55%, rgba(2,6,16,.8)),
  linear-gradient(90deg, rgba(66,153,255,.28), rgba(66,153,255,0) 55%);
  mix-blend-mode: normal; opacity: .0; transition: opacity .35s ease, backdrop-filter .35s ease; backdrop-filter: blur(0px); }
.feature-media::after { content: ""; position: absolute; left: -20%; top: -20%; width: 60%; height: 60%; pointer-events: none; background: radial-gradient(40% 40% at 40% 40%, rgba(102,178,255,.25), rgba(0,0,0,0)); opacity: 0; transition: opacity .35s ease; }
.feature-media__content { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 20px; z-index: 3; transform: translateY(8px); opacity: 0; transition: opacity .35s ease, transform .35s ease; }
.feature-media__link { position: absolute; inset: 0; z-index: 2; cursor: pointer; }
.feature-media__content h3 { margin: 0; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.1; background: linear-gradient(180deg, #a6d8ff, #5fc7ff); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 12px 34px rgba(0,0,0,.6); max-width: 85%; }
.feature-media__content p { display: none; }
.feature-media:hover .feature-media__img { transform: scale(1.1); filter: saturate(1.08) brightness(1.06); }
.feature-media:hover .feature-media__overlay { opacity: 1; backdrop-filter: blur(2px); }
.feature-media:hover .feature-media__content { opacity: 1; transform: translateY(0); }
.feature-media:hover::after { opacity: 1; }
.feature-media:hover { border-color: #3a5ea7; box-shadow: 0 20px 40px rgba(0,0,0,.45), inset 0 0 0 1px rgba(90,140,255,.18); }

/* Focus ring spécifique cartes */
.feature-media:focus-within { outline: 2px solid rgba(138,126,246,.75); outline-offset: 2px; }
.feature-media:focus-within .feature-media__img { transform: scale(1.08); }
.feature-media:focus-within .feature-media__overlay { opacity: 1; }
.feature-media:focus-within .feature-media__content { opacity: 1; transform: translateY(0); }

/* Band (image + content) */
.band { position: relative; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; }
.band--image-right .split { grid-template-columns: 1fr 1.1fr; }
.band .visual { height: 460px; border-radius: 18px; background-size: cover; background-position: center; background-repeat: no-repeat; border: 1px solid var(--border); background-color: #121724; filter: saturate(1.05) contrast(1.02); }
.band--image-left .visual { background-image: url('images/section-left.svg'); }
.band--image-right .visual { background-image: url('images/section-right.svg'); }
.band .content p { color: var(--muted); }
.band .actions { margin-top: 16px; }

/* Checklist */
.checklist-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 18px; }
.checklist-col { list-style: none; margin: 0; padding: 0; }
.checklist-col li { position: relative; padding-left: 28px; margin: 10px 0; color: var(--muted); }
.checklist-col li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--secondary); font-weight: 700; }

/* Testimonials */
.testimonials { background: linear-gradient(180deg, rgba(23,28,43,0.7), rgba(23,28,43,0.2)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.carousel { position: relative; overflow: hidden; }
.carousel-track { display: flex; transition: transform .7s cubic-bezier(.22,.72,.17,1); }
.testimonial-slide { min-width: 100%; padding: 10px; }
.carousel.dragging .carousel-track { transition: none; cursor: grabbing; }
.carousel { cursor: grab; }
.testimonial-slide blockquote { font-size: 22px; line-height: 1.5; margin: 0 0 12px; }
.testimonial-slide figcaption { color: var(--muted); }
.carousel-track { will-change: transform; }
.carousel-dots { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }
.carousel-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: #606b86; opacity: .6; cursor: pointer; }
.carousel-dots button[aria-current="true"] { background: var(--white); opacity: 1; }

/* Carousel fade overlay */
.carousel::before, .carousel::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; pointer-events: none; z-index: 1; }
.carousel::before { left: 0; background: linear-gradient(90deg, rgba(11,15,25,1), rgba(11,15,25,0)); }
.carousel::after { right: 0; background: linear-gradient(270deg, rgba(11,15,25,1), rgba(11,15,25,0)); }

/* Quote CTA */
.quote-cta .big-quote { font-size: 28px; line-height: 1.4; margin: 0 0 18px; text-align: center; }

/* News */
.news { padding-top: 64px; }
.news-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.news-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px 48px; align-items: start; }
.news-card { border-top: 1px solid var(--border); padding-top: 14px; }
.news-card--featured { grid-row: span 2; border-top: 0; padding-top: 0; }
.news-link { display: block; color: inherit; }
.news-media { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: #0a0f18; }
.news-media img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); transition: transform .6s cubic-bezier(.22,.72,.17,1), filter .4s ease; will-change: transform; }
.news-media:hover img { filter: saturate(1.05) brightness(1.03); }
.news-overlay { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(2,6,16,.08), rgba(2,6,16,.45) 50%, rgba(2,6,16,.75)),
  linear-gradient(90deg, rgba(66,153,255,.25), rgba(66,153,255,0) 50%);
  mix-blend-mode: normal; opacity: .0; transition: opacity .35s ease, backdrop-filter .35s ease; backdrop-filter: blur(0px); }
.news-card--featured .news-title { position: absolute; left: 20px; bottom: 18px; right: 20px; margin: 0; font-weight: 800; font-size: clamp(22px, 3.4vw, 34px); line-height: 1.12; background: linear-gradient(180deg, #bfe4ff, #78c9ff); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 14px 38px rgba(0,0,0,.55); transform: translateY(8px); opacity: 0; transition: opacity .35s ease, transform .35s ease; }
.news-card--featured:hover img { transform: scale(1.06); }
.news-card--featured:hover .news-overlay { opacity: 1; backdrop-filter: blur(2px); }
.news-card--featured:hover .news-title { opacity: 1; transform: translateY(0); }

.news-title { margin: 0 0 8px; font-size: 22px; line-height: 1.25; }
.news-date { display: inline-block; margin-top: 6px; color: var(--muted); font-size: 14px; letter-spacing: .2px; }
.news-card:hover .news-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }

/* Property hover cards with sliding text effect */
.property-hover-card { 
  position: relative; 
  border-radius: 16px; 
  overflow: hidden; 
  background: #f5f5f5; 
  cursor: pointer;
  height: 320px;
}

.property-hover-card__image-wrapper { 
  position: relative; 
  width: 100%; 
  height: 100%; 
  overflow: hidden;
}

.property-hover-card__image { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
  transition: transform 0.6s cubic-bezier(0.22, 0.72, 0.17, 1);
}

.property-hover-card:hover .property-hover-card__image {
  transform: scale(1.05);
}

.property-hover-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.property-hover-card__content {
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.22, 0.72, 0.17, 1);
  position: relative;
}

.property-hover-card__title {
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin: 0 0 12px 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  transform: translateY(-120%);
  transition: transform 0.5s cubic-bezier(0.22, 0.72, 0.17, 1);
}

.property-hover-card__description {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  opacity: 0;
  transition: opacity 0.4s ease 0.2s;
}

.property-hover-card:hover .property-hover-card__title {
  transform: translateY(0);
}

.property-hover-card:hover .property-hover-card__content {
  transform: translateY(0);
}

.property-hover-card:hover .property-hover-card__description {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .property-hover-card { height: 280px; }
  .property-hover-card__title { font-size: 24px; }
  .property-hover-card__description { font-size: 14px; }
}

@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .property-hover-card { height: 320px; }
}

/* Big visual */
.big-visual__wrap { position: relative; border-radius: 24px; overflow: hidden; background: transparent; border: 0; }
.big-visual__img { width: 100%; height: auto; display: block; object-fit: cover; will-change: clip-path, transform; clip-path: inset(var(--mask-inset, 30%) round var(--mask-radius, 24px)); transform: scale(.955); transition: clip-path 1.6s cubic-bezier(.22,.72,.17,1), transform 1.6s cubic-bezier(.22,.72,.17,1); }
.big-visual__video { width: 100%; height: auto; display: block; object-fit: cover; will-change: clip-path, transform; clip-path: inset(var(--mask-inset, 30%) round var(--mask-radius, 24px)); transform: scale(.955); transition: clip-path 1.6s cubic-bezier(.22,.72,.17,1), transform 1.6s cubic-bezier(.22,.72,.17,1); }
.big-visual__img.is-revealed, .big-visual__video.is-revealed { transform: scale(1); }

/* Étendre à 90% de la largeur viewport */
.big-visual .container { max-width: 100%; padding: 0; }
.big-visual__wrap { width: 90vw; margin-left: auto; margin-right: auto; }

@media (max-width: 1024px) {
  .news-head { gap: 12px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card--featured { grid-column: 1 / -1; grid-row: auto; }
}

@media (max-width: 640px) {
  .news-head { flex-direction: column; align-items: flex-start; }
  .news-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Footer */
.site-footer { padding: 36px 0; background: #0a0e17; border-top: 1px solid var(--border); color: var(--muted); }
.footer-inner { display: flex; align-items: center; justify-content: center; }

/* Back to top */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 60; border: 1px solid var(--border); background: rgba(17,23,38,.8); color: var(--white); border-radius: 10px; padding: 10px 12px; cursor: pointer; opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease, background .2s ease; }
.to-top:hover { background: rgba(17,23,38,1); }
.to-top.show { opacity: 1; transform: translateY(0); }
.to-top[hidden] { display: none; }

/* Modal */
.modal[hidden] { display: none !important; }
.modal { position: fixed; inset: 0; z-index: 100; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); opacity: 0; transition: opacity .25s ease; }
.modal-dialog { position: relative; max-width: 960px; margin: 60px auto; z-index: 1; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 14px; padding: 14px; transform: translateY(8px) scale(.98); opacity: 0; transition: transform .25s ease, opacity .25s ease; }
.modal.show .modal-backdrop { opacity: 1; }
.modal.show .modal-dialog { transform: translateY(0) scale(1); opacity: 1; }
.modal-close { position: absolute; right: 10px; top: 6px; border: 0; background: transparent; color: var(--text); font-size: 28px; line-height: 1; cursor: pointer; }
.modal-body { padding: 10px; }
.video-frame { position: relative; width: 100%; padding-top: 56.25%; background: #000; border-radius: 10px; overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; background: #000; }

/* Header on scroll */
.site-header.scrolled { background: rgba(10, 14, 23, 0.9); box-shadow: 0 8px 24px rgba(0,0,0,.35); border-bottom: 1px solid var(--border); }
.site-header .header-inner { transition: height .25s ease; }
.site-header.scrolled .header-inner { height: 58px; }

/* Mobile nav backdrop */
.nav-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.45); backdrop-filter: blur(2px); opacity: 0; transition: opacity .25s ease; }
.nav-backdrop[hidden] { display: none; }
.nav-backdrop.visible { opacity: 1; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.65,.2,1), transform .7s cubic-bezier(.2,.65,.2,1); transition-delay: var(--reveal-delay, 0ms); }
.is-visible { opacity: 1 !important; transform: translateY(0) !important; }

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Responsive */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  :root { --h1: 56px; --h2: 32px; --section-pad: 88px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-block; }
  .nav-list { position: absolute; right: 0; top: 56px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; padding: 12px; width: 220px; display: flex; flex-direction: column; align-items: stretch; gap: 10px; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
  .nav-list.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-list .divider { display: none; }

  .hero { padding: 120px 0 80px; }
  :root { --h1: 44px; --h2: 28px; --section-pad: 72px; }
}

@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; }
  .checklist-grid { grid-template-columns: 1fr; }
}

/* Anchor offset for sticky header */
section { scroll-margin-top: 84px; }
body.nav-open { overflow: hidden; }


