/* Chez Khalid Coiffeur pour Homme, 67 rue Tansift, Agdal, Rabat.
   Design system fidele au kit: noir #0D0D0F / anthracite #1C1C1E / gris #6B6B6B /
   creme #E8E4DA / or #C8A25A. Montserrat seul, dans trois roles distincts
   (700 titres, 600 espace pour la nav, 400 corps), comme la page typo du kit.
   L'or reste une feuille: logo, ornement ciseaux, filets, survols. Les boutons
   sont monochromes au repos. Rythme deux tons noir / creme.
   CSS statique ecrit a la main, partagee par toutes les pages. */

:root {
  --noir: #0D0D0F;
  --noir-2: #08080A;
  --anthracite: #1C1C1E;
  --anthracite-2: #161618;
  --creme: #E8E4DA;         /* texte clair sur fond sombre, et fond des sections claires */
  --creme-2: #CFC9BC;
  --blanc: #FFFFFF;
  --or: #C8A25A;            /* accent, une feuille d'or */
  --or-2: #DCBA76;
  --or-fonce: #8A6B2E;      /* accent lisible sur fond creme */
  --gris: #6B6B6B;
  --gris-clair: #8E8A83;
  --encre: #2A2723;         /* texte sur fond creme */
  --encre-2: #5B564E;
  --line: rgba(232, 228, 218, 0.13);
  --line-or: rgba(200, 162, 90, 0.34);
  --line-dark: rgba(20, 18, 16, 0.14);
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--noir); color: var(--creme);
  font-family: var(--sans); font-weight: 400; line-height: 1.75;
  overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 26px; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 300; background: var(--creme); color: var(--noir); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { left: 12px; top: 12px; }

/* ============ TYPOGRAPHIE (Montserrat seul, trois roles) ============ */
h1, h2, h3, h4 {
  font-family: var(--sans); font-weight: 700; line-height: 1.16;
  color: var(--creme); letter-spacing: -.012em;
}
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--creme-2); }
.eyebrow-line { display: inline-flex; align-items: center; gap: 13px; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--creme-2); margin-bottom: 18px; }
.eyebrow-line::before { content: ""; width: 34px; height: 1px; background: var(--or); display: inline-block; }
.lead { font-size: clamp(14px, 1.5vw, 16px); color: var(--gris-clair); }

/* Ornement du kit: filet, ciseaux, filet (le motif sous le logo) */
.orn { display: flex; align-items: center; justify-content: center; gap: 15px; margin: 0 auto 20px; max-width: 230px; }
.orn::before, .orn::after { content: ""; height: 1px; flex: 1; background: var(--line-or); }
.orn svg { display: block; width: 22px; height: 22px; flex: 0 0 22px; fill: none; stroke: var(--or); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.orn.dark::before, .orn.dark::after { background: rgba(138, 107, 46, .34); }
.orn.dark svg { stroke: var(--or-fonce); }

/* ============ BOUTONS (creme au repos, or au survol) ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; padding: 16px 30px; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .35s var(--ease), background .35s, color .35s, border-color .35s, box-shadow .35s;
}
.btn-primary { background: var(--creme); color: var(--noir); border-color: var(--creme); }
.btn-primary:hover { background: var(--or); border-color: var(--or); color: #17120A; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(200,162,90,.22); }
.btn-ghost { background: transparent; color: var(--creme); border-color: rgba(232,228,218,.34); }
.btn-ghost:hover { border-color: var(--or); color: var(--or); transform: translateY(-2px); }
.section.light .btn-primary { background: var(--noir); color: var(--creme); border-color: var(--noir); }
.section.light .btn-primary:hover { background: var(--or-fonce); border-color: var(--or-fonce); color: #FFF; }
.section.light .btn-ghost { color: var(--encre); border-color: rgba(20,18,16,.26); }
.section.light .btn-ghost:hover { border-color: var(--or-fonce); color: var(--or-fonce); }
.btn-underline { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--creme); padding-bottom: 8px; position: relative; border: 0; background: none; }
.btn-underline::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 56px; background: var(--creme-2); transition: width .4s ease, background .4s; }
.btn-underline:hover { color: var(--or); }
.btn-underline:hover::after { width: 100%; background: var(--or); }
.arrow { width: 20px; height: 9px; }
.arrow path { stroke: currentColor; stroke-width: 1.5; fill: none; }

/* ============ EN-TETE / NAV ============ */
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 200; transition: background .4s ease, box-shadow .4s ease, border-color .4s; background: linear-gradient(180deg, rgba(6,6,8,.72), rgba(6,6,8,0)); border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(10,10,12,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 88px; }

/* Lockup horizontal: la marque K du kit + le nom en toutes lettres.
   Le logo empile du kit serait ecrase dans une barre de 88px. */
.brand { justify-self: start; display: flex; align-items: center; gap: 13px; }
.brand-mark { height: 40px; width: auto; transition: height .35s ease; }
.site-header.scrolled .brand-mark { height: 35px; }
.brand-words { display: block; line-height: 1; }
.bw-name { display: block; font-size: 15px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--creme); }
.bw-sub { display: block; margin-top: 6px; font-size: 8.5px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--or); }

.nav-center { justify-self: center; display: flex; align-items: center; gap: 34px; }
.nav-link { position: relative; font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--creme); padding: 7px 0; transition: color .3s; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--or); transition: width .35s ease; }
.nav-link:hover, .nav-link.active { color: var(--or); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta { justify-self: end; padding: 12px 24px; }
.nav-toggle { display: none; width: 46px; height: 46px; background: transparent; border: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px; justify-self: end; z-index: 260; }
.nav-toggle span { display: block; width: 26px; height: 1.5px; background: var(--creme); transition: transform .3s, opacity .3s, width .3s; }
.nav-toggle span:nth-child(2) { width: 19px; }

/* Menu mobile: frere de l'en-tete, jamais enfant, pour que le backdrop-filter
   de l'en-tete ne devienne pas son bloc conteneur et ne l'ecrase pas. */
.mobile-menu { display: none; }

/* ============ HERO (titre + sous-titre + boutons, rien d'autre) ============ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: 132px 0 98px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: url(assets/hero.webp) center/cover no-repeat; animation: kenburns 30s ease-in-out infinite alternate; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,10,.78) 0%, rgba(8,8,10,.52) 44%, rgba(8,8,10,.92) 100%); }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.13) translateY(-1.4%); } }
.hero-inner { position: relative; z-index: 2; max-width: 800px; padding: 0 24px; }
.hero h1 { font-size: clamp(38px, 6.4vw, 74px); line-height: 1.06; letter-spacing: -.02em; margin-bottom: 22px; color: var(--blanc); text-shadow: 0 2px 30px rgba(0,0,0,.5); }
.hero-sub { font-size: clamp(14px, 1.6vw, 17px); color: #E4E0D6; max-width: 580px; margin: 0 auto 36px; }
.hero-cta { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }

/* Bandeau de mots-cles sous le hero, separateur = filet vertical or */
.keystrip { background: var(--noir-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.keystrip ul { list-style: none; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 46px; padding: 24px 26px; }
.keystrip li { position: relative; font-size: 12px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--creme-2); }
.keystrip li + li::before { content: ""; position: absolute; left: -24px; top: 50%; width: 1px; height: 13px; background: var(--or); opacity: .6; transform: translateY(-50%); }

/* ============ SECTIONS ============ */
.section { padding: 104px 0; }
.section.alt { background: var(--anthracite-2); }
.section.light { background: var(--creme); color: var(--encre); }
.section.light h1, .section.light h2, .section.light h3, .section.light h4 { color: #17150F; }
.section.light .eyebrow, .section.light .eyebrow-line { color: var(--encre-2); }
.section.light .eyebrow-line::before { background: var(--or-fonce); }
.section.light p, .section.light .lead { color: var(--encre-2); }
.section.light .btn-underline { color: var(--encre); }
.section.light .btn-underline::after { background: var(--or-fonce); }
.section.light .btn-underline:hover { color: var(--or-fonce); }

.sec-head { text-align: center; padding: 0 26px; margin-bottom: 56px; }
.sec-head .eyebrow { display: block; margin-bottom: 13px; }
.sec-head h2 { font-size: clamp(25px, 3.9vw, 40px); }
.sec-head .lead { max-width: 620px; margin: 16px auto 0; }

/* ============ RECIT (photo cadree + texte) ============ */
.story-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 62px; }
.story-visual { position: relative; max-width: 430px; width: 100%; height: 520px; overflow: hidden; justify-self: center; }
.story-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.story-visual:hover img { transform: scale(1.05); }
.story-visual .frame { position: absolute; inset: 14px; border: 1px solid var(--line-or); z-index: 2; pointer-events: none; }
/* La photo du salon vient d'une vignette Google: cadre au ratio de la source et
   affichage a sa taille native, sinon elle est recadree en bande et parait molle. */
.story-visual--photo { max-width: 460px; height: 370px; }
.story-text h2 { font-size: clamp(25px, 3.8vw, 38px); margin-bottom: 20px; }
.story-text > p { font-size: clamp(14px, 1.5vw, 16px); margin-bottom: 17px; }
.story-text .btn-underline { margin-top: 12px; }

/* ============ CARTES SERVICES (photo en haut) ============ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scard { position: relative; height: 460px; overflow: hidden; border: 1px solid var(--line); }
.scard-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); z-index: 0; }
.scard::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,8,10,.08) 0%, rgba(8,8,10,.3) 46%, rgba(8,8,10,.92) 100%); transition: background .4s; }
.scard:hover .scard-img { transform: scale(1.06); }
.scard-body { position: absolute; left: 0; bottom: 0; z-index: 3; padding: 26px 24px; width: 100%; }
.scard-num { font-size: 11px; font-weight: 600; letter-spacing: .24em; color: var(--or); display: block; margin-bottom: 9px; }
.scard-body h3 { font-size: 19px; color: var(--blanc); margin-bottom: 8px; }
.scard-body p { font-size: 13px; color: #D6D1C6; line-height: 1.62; opacity: 0; max-height: 0; transform: translateY(8px); transition: opacity .45s, max-height .45s, transform .45s; overflow: hidden; }
.scard:hover .scard-body p { opacity: 1; max-height: 130px; transform: none; }
.scard-line { display: block; width: 40px; height: 1px; background: var(--or); margin-top: 14px; }

/* ============ EN BREF (jeu d'icones du kit) ============ */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.value { text-align: center; padding: 0 8px; }
.value .vico { display: block; width: 38px; height: 38px; margin: 0 auto 15px; }
.value .vico svg { display: block; width: 38px; height: 38px; fill: none; stroke: var(--or); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.value h3 { font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--creme); margin-bottom: 9px; }
.value p { font-size: 13.5px; color: var(--gris-clair); line-height: 1.62; }
.section.light .value p { color: var(--encre-2); }
.section.light .value h3 { color: #17150F; }
.section.light .value .vico svg { stroke: var(--or-fonce); }

/* ============ BANDEAU HORAIRES ET RENDEZ-VOUS ============ */
.hours-band { background: var(--anthracite-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hb-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding: 88px 0; }
.hb-text h2 { font-size: clamp(25px, 3.8vw, 38px); margin-bottom: 18px; }
.hb-text p { color: var(--gris-clair); margin-bottom: 14px; font-size: 15px; }
.hb-text .btn { margin-top: 14px; }
.hb-card { border: 1px solid var(--line-or); padding: 34px 34px 30px; }
.hb-card .orn { margin-bottom: 22px; max-width: 170px; }
.hb-card .hb-days { display: block; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--creme-2); }
.hb-card .hb-time { display: block; text-align: center; font-size: clamp(34px, 5vw, 50px); font-weight: 700; letter-spacing: -.01em; color: var(--or); margin: 12px 0 10px; font-variant-numeric: tabular-nums; }
.hb-card .hb-closed { display: block; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gris-clair); }

/* ============ BANNIERE DE PAGE ============ */
.page-banner { position: relative; padding: 172px 0 74px; text-align: center; overflow: hidden; }
.page-banner .pb-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,8,10,.82), rgba(8,8,10,.93)); }
.page-banner .wrap { position: relative; z-index: 2; }
.page-banner h1 { font-size: clamp(31px, 5vw, 54px); }
.breadcrumb { display: inline-flex; gap: 10px; align-items: center; margin-top: 16px; font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gris-clair); }
.breadcrumb a { color: var(--gris-clair); transition: color .3s; }
.breadcrumb a:hover { color: var(--or); }
.breadcrumb .sep, .breadcrumb .cur { color: var(--or); }

/* ============ LISTE DES PRESTATIONS ============ */
.svc-list { display: grid; gap: 16px; }
.svc-row { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 22px; padding: 26px 30px; background: var(--anthracite-2); border: 1px solid var(--line); transition: border-color .35s, transform .35s; }
.svc-row:hover { border-color: var(--line-or); transform: translateX(4px); }
.svc-ico { display: block; width: 42px; height: 42px; }
.svc-ico svg { display: block; width: 42px; height: 42px; fill: none; stroke: var(--or); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.svc-main h3 { font-size: 18px; margin-bottom: 6px; }
.svc-main p { font-size: 14px; color: var(--gris-clair); line-height: 1.62; }
.svc-tag { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--creme-2); white-space: nowrap; }

/* ============ TARIFS ============ */
.pricing { display: grid; gap: 50px; max-width: 820px; margin: 0 auto; }
.price-group h2 { font-size: clamp(20px, 3vw, 26px); margin-bottom: 4px; }
.price-group .grp-sub { font-size: 13px; color: var(--gris-clair); margin-bottom: 22px; }
.price-list { display: grid; gap: 1px; }
.price-item { display: flex; align-items: baseline; gap: 14px; padding: 15px 4px; border-bottom: 1px solid var(--line); }
.price-item:last-child { border-bottom: 0; }
.price-item .pname { font-size: 15px; color: var(--creme); flex: 0 1 auto; }
.price-item .pname small { display: block; font-size: 12px; color: var(--gris-clair); margin-top: 3px; }
/* Vrais pointilles: un border-bottom dotted de 1px rend quasi plein a l'ecran. */
.price-item .pdot { flex: 1 1 auto; min-width: 18px; align-self: flex-start; height: 4px; transform: translateY(12px); background-image: radial-gradient(circle, rgba(232,228,218,.34) 1px, transparent 1.2px); background-size: 7px 4px; background-repeat: repeat-x; background-position: left bottom; }
.price-item .pprice { font-size: 17px; font-weight: 600; color: var(--creme); letter-spacing: .02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-note { margin-top: 32px; font-size: 12.5px; color: var(--gris-clair); text-align: center; }

/* ============ AVIS ============ */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { position: relative; padding: 32px 28px 28px; background: var(--anthracite-2); border: 1px solid var(--line); }
.section.light .review { background: #FFFDF9; border-color: var(--line-dark); }
.review .rq { display: block; width: 20px; height: 20px; margin-bottom: 14px; }
.review .rq svg { display: block; width: 20px; height: 20px; fill: var(--or); opacity: .8; }
.section.light .review .rq svg { fill: var(--or-fonce); }
.review p { font-size: 14.5px; color: var(--creme-2); line-height: 1.72; margin-bottom: 18px; }
.section.light .review p { color: #4A453D; }
.review .rname { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--creme); }
.section.light .review .rname { color: #1D1A15; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 54px; align-items: stretch; }
.contact-lead h2 { font-size: clamp(24px, 3.6vw, 36px); margin-bottom: 18px; }
.contact-lead > p { color: var(--gris-clair); margin-bottom: 30px; max-width: 440px; }
.ci-list { display: grid; gap: 20px; margin-bottom: 32px; }
.ci-item { display: flex; gap: 18px; align-items: flex-start; }
.ci-item .ci-ico { flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid var(--line); display: grid; place-items: center; }
.ci-item .ci-ico svg { display: block; width: 20px; height: 20px; fill: none; stroke: var(--or); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.ci-item h3 { font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--creme-2); margin-bottom: 6px; }
.ci-item p { font-size: 15px; color: var(--creme); }
.ci-item p a { color: var(--creme); transition: color .3s; }
.ci-item p a:hover { color: var(--or); }
.contact-map { position: relative; min-height: 470px; }
.map-frame { position: absolute; inset: -1px; border: 1px solid var(--line); pointer-events: none; z-index: 2; }
.contact-map iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; filter: grayscale(.45) contrast(1.05) brightness(.82); border: 0; }

/* Horaires */
.hours-row { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; font-size: 13px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours-row:last-child { border-bottom: 0; }
.hours-row .d { color: var(--creme); letter-spacing: .08em; text-transform: uppercase; font-size: 11.5px; font-weight: 500; }
.hours-row .t { color: var(--gris-clair); font-variant-numeric: tabular-nums; }
.hours-row.closed .t { color: var(--gris); }

/* ============ BANDE D'APPEL ============ */
.cta-band { position: relative; text-align: center; padding: 102px 0; overflow: hidden; }
.cta-band .cta-bg { position: absolute; inset: 0; z-index: 0; background: url(assets/apropos-salle.webp) center/cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,8,10,.92), rgba(8,8,10,.86)); }
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(25px, 3.9vw, 40px); margin-bottom: 14px; }
.cta-band p { color: var(--gris-clair); margin-bottom: 28px; }

/* ============ PIED DE PAGE ============ */
.site-footer { background: var(--noir-2); border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 46px; padding: 70px 0 46px; }
.footer-logo { width: 196px; height: auto; margin-bottom: 20px; }
.footer-blurb { font-size: 13.5px; color: var(--gris-clair); max-width: 330px; margin-bottom: 20px; }
.footer-phone { font-size: 20px; font-weight: 600; color: var(--creme); letter-spacing: .03em; transition: color .3s; }
.footer-phone:hover { color: var(--or); }
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--creme); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col ul a { font-size: 13.5px; color: var(--gris-clair); transition: color .3s; }
.footer-col ul a:hover { color: var(--or); }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-bottom span { font-size: 11.5px; color: #605D58; letter-spacing: .03em; }
.credit { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--or-fonce); transition: color .3s; }
.credit:hover { color: var(--or); }

/* ============ APPARITIONS ============ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s ease, transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s var(--ease); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(2) { transition-delay: .08s; }
.stagger.in > *:nth-child(3) { transition-delay: .16s; }
.stagger.in > *:nth-child(4) { transition-delay: .24s; }
.stagger.in > *:nth-child(5) { transition-delay: .32s; }
.stagger.in > *:nth-child(6) { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .stagger > * { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .story-inner { grid-template-columns: 1fr; gap: 42px; }
  .story-visual { max-width: 430px; height: 460px; }
  .values { grid-template-columns: repeat(2, 1fr); gap: 40px 26px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-map { min-height: 400px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .hb-inner { grid-template-columns: 1fr; gap: 40px; padding: 72px 0; }
  .scard { height: 420px; }
}
@media (max-width: 760px) {
  .nav-center, .nav-cta { display: none; }
  .header-inner { grid-template-columns: 1fr auto; height: 74px; }
  .brand-mark { height: 34px; }
  .site-header.scrolled .brand-mark { height: 32px; }
  .bw-name { font-size: 13px; letter-spacing: .16em; }
  .bw-sub { font-size: 7.5px; letter-spacing: .22em; }
  .nav-toggle { display: flex; }
  .mobile-menu {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; height: 100dvh;
    background: var(--noir); z-index: 250; padding: 40px 24px;
    transform: translateY(-100%); transition: transform .45s var(--ease);
  }
  body.nav-open .mobile-menu { transform: translateY(0); }
  body.nav-open { overflow: hidden; }
  /* Lift the header above the overlay so the burger stays tappable as the
     close button, and drop its blur so it never sits over the menu. */
  body.nav-open .site-header { z-index: 260; background: transparent; border-bottom-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .mobile-menu .m-logo { width: 168px; height: auto; margin-bottom: 8px; }
  .mobile-menu .nav-link { font-size: 15px; letter-spacing: .24em; }
  .mobile-menu .btn { margin-top: 10px; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { width: 26px; transform: translateY(-7.5px) rotate(-45deg); }
  .section { padding: 76px 0; }
  .page-banner { padding: 124px 0 56px; }
  .sec-head { margin-bottom: 40px; }
  .cards { grid-template-columns: 1fr; }
  .scard { height: 320px; }
  .scard-body p { opacity: 1; max-height: 140px; transform: none; }
  .svc-row { grid-template-columns: 42px 1fr; gap: 16px; padding: 22px; }
  .svc-tag { grid-column: 2; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 13px; max-width: 320px; margin: 0 auto; }
  .hero-cta .btn { width: 100%; }
  .hb-card { padding: 28px 24px 26px; }
  .story-visual { height: 380px; }
}
@media (max-width: 480px) {
  .values { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .keystrip ul { gap: 12px 32px; }
  .keystrip li { font-size: 11px; letter-spacing: .2em; }
  .keystrip li + li::before { left: -17px; }
  .brand-words { display: none; }
  .brand-mark { height: 38px; }
}
