/*
Theme Name: Monte-Escalier.pro
Theme URI: https://www.monte-escalier.pro/
Author: Monte-escalier.pro
Author URI: https://www.monte-escalier.pro/
Description: Thème léger, moderne et responsive pour Monte-escalier.pro. Comparateur de devis et annuaire d'installateurs de monte-escaliers. Vanilla JS, aucune dépendance, menu déroulant CSS, optimisé pour la lecture.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: monte-escalier
Tags: blog, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   1. TOKENS
   ============================================================ */
:root {
  --bg:        #F4F1EA;
  --bg-2:      #ECE7DC;
  --paper:     #FBF9F4;
  --white:     #FFFFFF;
  --ink:       #14110E;
  --ink-2:     #2F2A24;
  --muted:     #6B6359;
  --line:      #DDD5C5;
  --line-soft: #E8E1D0;
  --accent:    #E25B2A;
  --accent-d:  #B7421A;
  --highlight: #FFE9C9;

  --radius-sm: 10px;
  --radius:    14px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 0 rgba(20,17,14,.04), 0 1px 3px rgba(20,17,14,.06);
  --shadow-md: 0 2px 4px rgba(20,17,14,.04), 0 14px 32px -12px rgba(20,17,14,.12);

  --topbar-h: 72px;
}

/* ============================================================
   2. RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, picture, video, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

/* ============================================================
   3. LAYOUT
   ============================================================ */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   4. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: "Geist", sans-serif;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.035em;
  font-weight: 500;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 5.4vw, 76px); line-height: 0.98; letter-spacing: -0.045em; }
h2 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.04; letter-spacing: -0.035em; }
h3 { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; font-weight: 500; letter-spacing: -0.025em; }
h4 { font-size: 18px; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; }

p { margin: 0 0 16px; text-wrap: pretty; color: var(--ink-2); font-size: 17px; }
p:last-child { margin-bottom: 0; }

.ital {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic; font-weight: 400;
  letter-spacing: -0.015em;
}

.eyebrow {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 999px;
  background: var(--accent); display: inline-block;
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 22px; font-size: 15px; font-weight: 500;
  text-decoration: none; border-radius: 12px;
  border: 1px solid transparent;
  transition: all .18s ease; line-height: 1;
  letter-spacing: -0.005em; background: none;
}
.btn .arr { transition: transform .18s ease; display: inline-block; }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #000; }
.btn-accent { background: var(--accent); color: #FFF; }
.btn-accent:hover { background: var(--accent-d); }
.btn-ghost { color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--white); border-color: var(--ink); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--line-soft); }
.btn-light:hover { background: var(--bg); border-color: var(--ink); }
.btn-lg { padding: 18px 26px; font-size: 16px; }

/* Pills */
.pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line-soft);
  font-size: 13px; color: var(--ink-2); font-weight: 500;
}
.pill .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }

/* ============================================================
   6. TOPBAR / NAV
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 241, 234, 0.85);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px; max-width: 1280px; margin: 0 auto;
  min-height: var(--topbar-h);
}
.logo,
.custom-logo-link {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.logo img,
.custom-logo {
  height: 36px; width: auto;
  background: #1F1A14; /* dark warm chip — not pure black */
  padding: 7px 14px;
  border-radius: 10px;
  object-fit: contain;
}
.logo--text .name { font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -0.025em; }
.logo .lockup { display: flex; flex-direction: column; line-height: 1.05; }
.logo .lockup .name { font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -0.025em; }
.logo .lockup .tld { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav-menu {
  list-style: none; padding: 0; margin: 0;
  display: flex; align-items: center; gap: 2px;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  text-decoration: none; padding: 10px 14px; font-size: 14px; color: var(--ink-2); font-weight: 500;
  border-radius: 999px; transition: background .15s, color .15s;
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-parent > a {
  background: var(--bg-2); color: var(--ink);
}
.nav-menu .menu-item-has-children > a::after {
  content: ""; width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .6; margin-left: 2px;
}

/* Dropdown */
.nav-menu .sub-menu {
  position: absolute; top: 100%; left: 0;
  list-style: none; padding: 8px; margin: 8px 0 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 60;
}
.nav-menu .sub-menu li { list-style: none; }
.nav-menu .sub-menu a {
  display: block;
  padding: 10px 14px; border-radius: 8px;
  font-size: 14px; color: var(--ink-2);
  text-decoration: none;
  transition: background .12s, color .12s;
}
.nav-menu .sub-menu a:hover,
.nav-menu .sub-menu li.current-menu-item > a {
  background: var(--bg); color: var(--ink);
}
.nav-menu > li:hover > .sub-menu,
.nav-menu > li:focus-within > .sub-menu,
.nav-menu > li.is-open > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}

/* Hamburger */
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  padding: 0;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
  transition: background .15s;
}
.menu-toggle:hover { background: var(--bg-2); }
.menu-toggle .bar {
  width: 18px; height: 1.5px; background: var(--ink); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.menu-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(2.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-2.75px) rotate(-45deg); }

/* Reading progress */
.progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: var(--accent); width: 0%;
  z-index: 100; transition: width .1s ease-out;
  pointer-events: none;
}

/* ============================================================
   7. RIBBON
   ============================================================ */
.ribbon {
  background: var(--ink); color: rgba(255,255,255,.85);
  padding: 12px 0; font-size: 13px;
}
.ribbon-inner {
  display: flex; justify-content: center; gap: 12px; align-items: center;
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  flex-wrap: wrap; text-align: center;
}
.ribbon strong { color: #FFF; font-weight: 600; letter-spacing: 0.04em; }
.ribbon .sep { opacity: .35; }

/* ============================================================
   8. HERO (front-page)
   ============================================================ */
.hero {
  padding: 80px 0 100px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("https://images.unsplash.com/photo-1748228876112-c5f37b99f77e?fm=jpg&q=70&w=2400&auto=format&fit=crop");
  background-size: cover;
  background-position: center right;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg,
      rgba(244,241,234,0.96) 0%,
      rgba(244,241,234,0.86) 38%,
      rgba(244,241,234,0.40) 62%,
      rgba(244,241,234,0.20) 100%),
    radial-gradient(900px 600px at 80% 20%, rgba(226,91,42,0.10), transparent 70%);
  z-index: -1;
}
.hero-grid {
  display: grid; grid-template-columns: 1.35fr .85fr; gap: 56px; align-items: start;
}
.hero h1 {
  line-height: 1.0;
  letter-spacing: -0.045em;
}
.hero h1 .hl {
  display: inline-block;
  background: var(--accent);
  color: #FFF;
  padding: 0.06em 0.18em 0.1em;
  border-radius: 6px;
  font-weight: 500;
  line-height: 0.85;
  vertical-align: baseline;
  margin-block: -0.05em;
}
.hero h1 .serif {
  color: var(--accent);
  font-weight: 500;
}
.hero h1 .end {
  color: var(--muted);
  font-weight: 400;
}
.hero .lead {
  font-size: 19px; color: var(--ink-2); max-width: 560px; margin-top: 32px;
  line-height: 1.5;
}
.hero .pills { margin-top: 36px; }

/* Quote starter form */
.quote-starter {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 1px 0 rgba(20,17,14,.03), 0 24px 60px -20px rgba(20,17,14,.18);
  margin-top: 90px;
}
@media (max-width: 1000px) {
  .quote-starter { margin-top: 0; }
}
.qs-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 22px;
}
.qs-title { font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.015em; }
.qs-step { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.qs-label { font-size: 13px; color: var(--muted); margin-bottom: 10px; font-weight: 500; }
.qs-opts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 20px; }
.qs-opt {
  border: 1px solid var(--line-soft); background: var(--paper);
  border-radius: 12px; padding: 14px 10px; text-align: center;
  cursor: pointer; transition: all .15s ease;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--ink);
}
.qs-opt:hover { border-color: var(--ink); background: var(--white); }
.qs-opt.active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.qs-opt.active svg path { stroke: var(--accent); }
.qs-opt.active svg circle { fill: var(--white); }
.qs-opt svg { width: 56px; height: 32px; }
.qs-opt .name { font-size: 13px; font-weight: 500; letter-spacing: -0.005em; }
.qs-input {
  width: 100%; border: 1px solid var(--line-soft); background: var(--paper);
  border-radius: 12px; padding: 14px 16px; font-size: 16px;
  font-family: inherit; color: var(--ink); transition: border-color .15s;
}
.qs-input:focus { outline: none; border-color: var(--ink); background: var(--white); }
.qs-input::placeholder { color: var(--muted); }
.qs-submit {
  width: 100%; margin-top: 16px; background: var(--accent); color: #FFF;
  border: none; border-radius: 12px; padding: 16px;
  font-size: 16px; font-weight: 500; font-family: inherit;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background .15s; letter-spacing: -0.005em;
}
.qs-submit:hover { background: var(--accent-d); }
.qs-foot {
  margin-top: 16px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--muted);
}
.qs-foot .lock { display: inline-flex; align-items: center; gap: 6px; }

/* ============================================================
   9. STRIP / FEATURES / SECTIONS
   ============================================================ */
.strip {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 36px 0; background: var(--paper);
}
.strip-inner {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
}
.strip-item {
  padding: 0 32px; border-right: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 6px;
}
.strip-item:first-child { padding-left: 0; }
.strip-item:last-child { border-right: none; padding-right: 0; }
.strip-item .key { font-size: 22px; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); }
.strip-item .val { font-size: 14px; color: var(--muted); }

.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end;
  margin-bottom: 60px;
}
.section-head h2 { max-width: 600px; }
.section-head p { max-width: 420px; color: var(--muted); font-size: 16px; }

.features { padding: 110px 0 90px; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat {
  background: var(--white); border: 1px solid var(--line-soft);
  border-radius: 18px; padding: 28px 26px 26px;
  text-decoration: none; transition: all .2s ease;
  display: flex; flex-direction: column;
  min-height: 280px; color: var(--ink);
}
.feat:hover { border-color: var(--ink); transform: translateY(-2px); }
.feat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.feat-icon img { width: 30px; height: 30px; object-fit: contain; }
.feat h3 { margin-bottom: 12px; font-size: 18px; line-height: 1.25; }
.feat p { font-size: 14px; color: var(--muted); flex: 1; line-height: 1.5; margin: 0; }
.feat .more {
  margin-top: 18px; font-size: 13px; color: var(--ink); font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  border-top: 1px solid var(--line-soft); padding-top: 14px;
}

/* Editorial */
.article-section { padding: 110px 0 90px; background: var(--paper); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.article-grid {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start;
}
.article-media { position: sticky; top: calc(var(--topbar-h) + 32px); }
.article-media .img-1 {
  width: 100%; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--bg-2);
}
.article-media .img-1 img { width: 100%; height: 100%; object-fit: cover; }
.article-media .img-2 {
  width: 52%; aspect-ratio: 1.2;
  border-radius: 12px; overflow: hidden;
  background: var(--white); border: 4px solid var(--paper);
  margin-top: -42px; margin-left: 56%;
}
.article-media .img-2 img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.article-body { padding-top: 8px; }
.article-body p { font-size: 18px; line-height: 1.55; }

/* Latest articles list */
.latest { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.latest h3 { font-size: 22px; max-width: 520px; margin-bottom: 24px; }
.latest ul { list-style: none; padding: 0; margin: 0; }
.latest li { border-bottom: 1px solid var(--line-soft); }
.latest li:last-child { border-bottom: none; }
.latest a {
  display: flex; align-items: center; gap: 20px;
  padding: 18px 4px; text-decoration: none; color: var(--ink-2);
  font-size: 16px; line-height: 1.4;
  transition: padding .2s, color .2s;
}
.latest a:hover { color: var(--accent); padding-left: 8px; }
.latest a .num { font-size: 13px; color: var(--muted); flex-shrink: 0; min-width: 28px; font-variant-numeric: tabular-nums; }
.latest a:hover .num { color: var(--accent); }
.latest a .label { flex: 1; }
.latest a .arr { color: var(--muted); }
.latest a:hover .arr { color: var(--accent); }

/* Dark sections */
.section-dark { background: var(--ink); color: #DEDAD0; padding: 120px 0; }
.section-dark h2 { color: #FBF9F4; }
.section-dark .eyebrow { color: rgba(255,255,255,.6); }
.section-dark .eyebrow::before { background: var(--accent); }
.section-dark p { color: #B7B0A3; font-size: 17px; }
.section-dark .ital { color: var(--accent); }

.utility-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center;
}
.utility-media { aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--bg-2); }
.utility-media img { width: 100%; height: 100%; object-fit: cover; }

/* Types */
.types { padding: 120px 0; }
.types-intro { max-width: 800px; margin-bottom: 60px; }
.types-intro h2 { margin-top: 18px; }
.types-intro p { margin-top: 26px; color: var(--ink-2); font-size: 17px; }
.types-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
}
.types .type-card,
.type-card {
  background: var(--white); border: 1px solid var(--line-soft);
  border-radius: 18px; padding: 32px 30px;
  display: flex; flex-direction: column;
  min-height: 420px;
  min-width: 0 !important;
  max-width: 100% !important;
  width: auto !important;
  box-sizing: border-box !important;
  position: relative;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.type-card.featured { background: var(--ink); color: #DEDAD0; border-color: var(--ink); }
.type-card.featured h3, .type-card.featured .price { color: #FBF9F4; }
.type-card.featured p { color: #B7B0A3; }
.type-card.featured .more { color: #FBF9F4; border-top-color: rgba(255,255,255,.15); }
.type-card.featured .badge { color: #DEDAD0; background: rgba(255,255,255,.06); }
.type-card.featured .shape svg path { stroke: var(--accent); }
.type-card.featured .shape svg circle { fill: #FBF9F4; }
.type-card .badge {
  align-self: flex-start;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
  padding: 6px 10px; border-radius: 999px;
  background: var(--bg-2); margin-bottom: 24px;
}
.type-card .shape { width: 120px; height: 70px; margin-bottom: 24px; }
.type-card .shape svg { width: 100%; height: 100%; }
.type-card h3 { font-size: 26px; margin-bottom: 10px; letter-spacing: -0.035em; }
.type-card .price {
  font-size: 18px; color: var(--ink); font-weight: 500;
  margin: 8px 0 18px; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.type-card p { font-size: 14px; flex: 1; line-height: 1.5; color: var(--muted); margin: 0; }
.type-card .more {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px; color: var(--ink); font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
}

/* Finitions */
.finitions { padding: 120px 0; background: var(--paper); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.finitions-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.finitions h2 { margin-top: 18px; max-width: 380px; }

/* Manufacturers */
.manufact { padding: 120px 0; }
.manufact-head { margin-bottom: 50px; max-width: 720px; }
.manufact-head h2 { margin-top: 18px; }
.manufact-list {
  display: grid; grid-template-columns: 1fr; gap: 0;
  background: var(--white); border: 1px solid var(--line-soft);
  border-radius: 18px; overflow: hidden;
}
.manufact-row {
  display: grid; grid-template-columns: 280px 1fr;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line-soft);
  gap: 32px; align-items: start;
  transition: background .15s;
}
.manufact-row:hover { background: var(--paper); }
.manufact-row:last-child { border-bottom: none; }
.manufact-row .name { font-size: 18px; font-weight: 500; color: var(--ink); letter-spacing: -0.02em; }
.manufact-row .desc { font-size: 15px; color: var(--ink-2); line-height: 1.5; }

/* Process */
.process { padding: 120px 0; background: var(--ink); color: #DEDAD0; }
.process h2 { color: #FBF9F4; }
.process .eyebrow { color: rgba(255,255,255,.6); }
.process p { color: #B7B0A3; }
.process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.process-head { position: sticky; top: calc(var(--topbar-h) + 32px); }
.steps { display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 60px 1fr;
  gap: 24px; padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.step:first-child { padding-top: 0; }
.step:last-child { border-bottom: none; padding-bottom: 0; }
.step .n {
  font-size: 14px; color: var(--accent); font-weight: 500;
  letter-spacing: 0.06em; font-variant-numeric: tabular-nums;
  padding-top: 4px;
}
.step h4 { color: #FBF9F4; margin-bottom: 8px; font-size: 20px; letter-spacing: -0.02em; }
.step p { font-size: 15px; line-height: 1.55; }

/* Pricing */
.pricing { padding: 120px 0; }
.pricing-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: start; }
.price-card {
  background: var(--accent); color: #FFF;
  border-radius: 18px; padding: 44px;
  position: relative; overflow: hidden;
}
.price-card .label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,.8); margin-bottom: 18px; }
.price-card .big {
  font-size: 80px; font-weight: 500; line-height: 0.95;
  letter-spacing: -0.05em; color: #FFF;
  font-variant-numeric: tabular-nums;
}
.price-card .big small { font-size: 32px; opacity: .75; font-weight: 400; }
.price-card .sub { margin-top: 18px; font-size: 16px; color: rgba(255,255,255,.85); }
.price-card .divider { height: 1px; background: rgba(255,255,255,.18); margin: 32px 0; }
.price-card .rows { display: grid; gap: 12px; font-size: 15px; }
.price-card .row { display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,.85); }
.price-card .row span:last-child { color: #FFF; font-weight: 500; font-variant-numeric: tabular-nums; }
.pricing-body p { font-size: 16px; line-height: 1.6; }

/* Final CTA */
.final-cta { padding: 110px 0; }
.final-cta-inner {
  background: var(--ink); color: #DEDAD0;
  border-radius: 24px; padding: 70px 60px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: start;
  position: relative; overflow: hidden;
}
.final-cta h2 { color: #FBF9F4; font-size: clamp(30px, 3.4vw, 48px); }
.final-cta .ital { color: var(--accent); }
.final-cta p { color: #B7B0A3; font-size: 16px; max-width: 520px; margin-top: 18px; line-height: 1.55; }
.final-cta .cta-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.final-cta .btn-on-dark-primary { background: var(--accent); color: #FFF; }
.final-cta .btn-on-dark-primary:hover { background: var(--accent-d); }
.final-cta .btn-on-dark-ghost { background: transparent; border-color: rgba(255,255,255,.2); color: #FBF9F4; }
.final-cta .btn-on-dark-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.final-cta .eyebrow { color: rgba(255,255,255,.6); }
.cities { display: grid; gap: 0; }
.cities h4 {
  grid-column: 1 / -1; margin-bottom: 12px; color: #FBF9F4;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500;
}
.cities a {
  text-decoration: none; color: rgba(255,255,255,.7);
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 15px; transition: color .15s, padding .15s;
}
.cities a:last-child { border-bottom: none; }
.cities a:hover { color: var(--accent); padding-left: 4px; }
.cities a::after { content: "→"; opacity: .5; }

/* ============================================================
   10. ARTICLE (single.php) — content typography
   ============================================================ */
.crumb { padding: 28px 0 0; }
.crumb-list {
  display: flex; gap: 8px; align-items: center;
  font-size: 13px; color: var(--muted); flex-wrap: wrap;
}
.crumb-list a { color: var(--muted); text-decoration: none; transition: color .15s; }
.crumb-list a:hover { color: var(--accent); }
.crumb-list .sep { opacity: .5; }
.crumb-list .current { color: var(--ink); font-weight: 500; }

.article-header { padding: 28px 0 40px; }
.article-header .meta-top { display: flex; gap: 18px; align-items: center; margin-bottom: 28px; flex-wrap: wrap; }
.cat-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-size: 12px; letter-spacing: 0.06em; font-weight: 500;
  text-decoration: none; transition: background .15s;
}
.cat-pill:hover { background: var(--accent); }
.read-time {
  font-size: 13px; color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px;
}
.read-time::before { content: ""; width: 4px; height: 4px; border-radius: 999px; background: var(--muted); display: inline-block; }
.article-header h1 { max-width: 1000px; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -0.04em; }
.article-header h1.page-title-wide { max-width: none; }
.article-header .lede {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5; color: var(--ink-2);
  margin-top: 28px; max-width: 820px; font-weight: 400;
}
.article-meta-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 40px; padding: 18px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  gap: 24px; flex-wrap: wrap;
}
.author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--accent); color: #FFF;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
}
.author .stack { display: flex; flex-direction: column; line-height: 1.3; }
.author .name { font-size: 14px; font-weight: 500; color: var(--ink); }
.author .sub { font-size: 12px; color: var(--muted); }
.meta-right { display: flex; gap: 22px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.meta-right span strong { color: var(--ink); font-weight: 500; }

.featured {
  background: var(--bg-2); border-radius: 18px;
  aspect-ratio: 16/9; overflow: hidden;
  position: relative;
  max-height: 500px;
}
.featured img { width: 100%; height: 100%; object-fit: cover; }
.featured .caption {
  position: absolute; bottom: 16px; left: 18px;
  background: rgba(20,17,14,.8); color: #FBF9F4;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 8px 14px; border-radius: 999px; font-size: 12px;
}

.body-section { padding: 60px 0 80px; }
.body-grid {
  display: grid; grid-template-columns: 240px 1fr 280px;
  gap: 60px; align-items: start;
}
.body-grid-no-toc { grid-template-columns: 1fr 280px; }

/* TOC */
.toc { position: sticky; top: calc(var(--topbar-h) + 32px); font-size: 13px; }
.toc .label {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
  padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc a {
  display: block; padding: 8px 0 8px 14px;
  color: var(--muted); text-decoration: none;
  border-left: 2px solid var(--line-soft);
  transition: all .15s; line-height: 1.4;
}
.toc a:hover { color: var(--ink); border-left-color: var(--ink); }
.toc a.active { color: var(--ink); border-left-color: var(--accent); font-weight: 500; }

/* Side CTA */
.side-cta {
  position: sticky; top: calc(var(--topbar-h) + 32px);
  background: var(--ink); color: var(--paper);
  border-radius: 18px; padding: 28px;
}
.side-cta h4 { color: #FBF9F4; font-size: 22px; letter-spacing: -0.03em; font-weight: 500; line-height: 1.15; margin-bottom: 12px; }
.side-cta p { font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.5; margin-bottom: 22px; }
.side-cta .btn-accent { width: 100%; justify-content: center; padding: 14px; font-size: 15px; }
.side-cta .small { margin-top: 14px; font-size: 12px; color: rgba(255,255,255,.5); text-align: center; }
.side-cta .eyebrow { color: rgba(255,255,255,.55); margin-bottom: 16px; display: flex; }

/* Article content */
.post-content { max-width: 720px; }
.post-content > p:first-of-type { font-size: 19px; line-height: 1.55; color: var(--ink); }
.post-content p { font-size: 17px; line-height: 1.65; color: var(--ink-2); margin: 0 0 22px; }
.post-content h2 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; margin-top: 56px; margin-bottom: 18px; }
.post-content h3 { font-size: clamp(20px, 1.6vw, 24px); margin-top: 36px; margin-bottom: 12px; }
.post-content h2:first-child, .post-content h3:first-child { margin-top: 0; }
.post-content a {
  color: var(--ink); text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat;
  padding-bottom: 1px;
}
.post-content a:hover { color: var(--accent); }
.post-content ul, .post-content ol { margin: 0 0 24px; padding-left: 0; list-style: none; }
.post-content ul li, .post-content ol li {
  position: relative; padding-left: 28px; margin-bottom: 10px;
  font-size: 17px; line-height: 1.55; color: var(--ink-2);
}
.post-content ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 14px; height: 1px; background: var(--accent); }
.post-content ol { counter-reset: li; }
.post-content ol li { counter-increment: li; }
.post-content ol li::before {
  content: counter(li, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-size: 12px; color: var(--accent); font-weight: 600;
  letter-spacing: 0.06em; font-variant-numeric: tabular-nums;
}
.post-content blockquote, .pullquote {
  margin: 50px 0; padding: 32px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.post-content blockquote p, .pullquote p {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(24px, 2.4vw, 32px); line-height: 1.25;
  color: var(--ink); margin: 0;
  letter-spacing: -0.01em; font-style: italic;
}
.post-content blockquote cite, .pullquote cite {
  display: block; font-style: normal;
  font-family: "Geist", sans-serif;
  font-size: 13px; color: var(--muted);
  margin-top: 20px; letter-spacing: 0.06em;
}
.post-content img, .post-content figure { margin: 32px 0; border-radius: 14px; overflow: hidden; }
.post-content figcaption { font-size: 13px; color: var(--muted); margin-top: 14px; line-height: 1.4; font-family: "Instrument Serif", serif; font-style: italic; }
.post-content table {
  width: 100%; border-collapse: collapse; margin: 32px 0;
  background: var(--white); border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden;
}
.post-content th, .post-content td {
  text-align: left; padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft); font-size: 15px;
}
.post-content th { background: var(--paper); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.post-content tr:last-child td { border-bottom: none; }

.callout {
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: 16px; padding: 28px; margin: 40px 0;
  display: grid; grid-template-columns: 40px 1fr; gap: 18px; align-items: start;
}
.callout.accent { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.callout.accent h4 { color: #FBF9F4; }
.callout.accent p { color: rgba(255,255,255,.75); }
.callout .icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--accent); color: #FFF;
  display: flex; align-items: center; justify-content: center;
  font-family: "Instrument Serif", serif; font-size: 24px; font-style: italic;
}
.callout h4 { margin-bottom: 6px; font-size: 17px; }
.callout p { font-size: 15px; margin: 0; color: var(--ink-2); }

/* Post footer */
.post-footer {
  margin-top: 64px; padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  padding: 7px 12px; border-radius: 999px;
  background: var(--bg-2); color: var(--ink-2);
  font-size: 12px; font-weight: 500; text-decoration: none;
}
.tag:hover { background: var(--ink); color: var(--paper); }
.share { display: flex; gap: 8px; align-items: center; }
.share .lbl { font-size: 12px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-right: 6px; }
.share .icon-btn {
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line-soft);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2); text-decoration: none; transition: all .15s;
}
.share .icon-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.author-bio {
  margin-top: 50px; background: var(--paper);
  border: 1px solid var(--line-soft); border-radius: 18px;
  padding: 28px; display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start;
}
.author-bio .avatar {
  width: 64px; height: 64px; border-radius: 999px;
  background: var(--accent); color: #FFF;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 600;
}
.author-bio .name { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.author-bio .role { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.author-bio p { font-size: 14px; color: var(--ink-2); margin: 0; }

/* Related */
.related { padding: 100px 0; background: var(--paper); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.related .head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 40px; gap: 30px; flex-wrap: wrap; }
.related h2 { margin-top: 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card {
  background: var(--white); border: 1px solid var(--line-soft);
  border-radius: 18px; overflow: hidden;
  text-decoration: none; transition: all .2s;
  display: flex; flex-direction: column; color: var(--ink);
}
.related-card:hover { transform: translateY(-2px); border-color: var(--ink); }
.related-card .thumb { aspect-ratio: 16/9; background: var(--bg-2); position: relative; overflow: hidden; }
.related-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-card .thumb-cat {
  position: absolute; top: 14px; left: 14px;
  background: rgba(20,17,14,.85); color: #FBF9F4;
  padding: 6px 10px; border-radius: 999px;
  font-size: 11px; letter-spacing: 0.06em; font-weight: 500;
}
.related-card .body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.related-card h3 { font-size: 18px; line-height: 1.3; margin-bottom: 10px; }
.related-card .excerpt { font-size: 14px; color: var(--muted); line-height: 1.5; flex: 1; }
.related-card .meta {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; font-size: 12px; color: var(--muted);
}

/* ============================================================
   11. PAGE / ARCHIVE / 404 / SEARCH
   ============================================================ */
.page-section { padding: 60px 0 100px; }
.page-header { padding-bottom: 40px; max-width: 920px; }
.page-header .lede { font-size: 19px; line-height: 1.5; color: var(--ink-2); margin-top: 22px; }
.page-content-grid {
  display: grid; grid-template-columns: 1fr 280px; gap: 60px; align-items: start; max-width: 1280px; margin: 0 auto;
}

.page-body { padding: 0 0 100px; }

/* Template "Page épurée" (template-clean.php) */
.clean-page { padding: 70px 0 100px; }
.clean-page-header { margin-bottom: 50px; }
.clean-page-header h1 {
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.clean-page-body.post-content { max-width: none; }
@media (max-width: 720px) {
  .clean-page { padding: 50px 0 70px; }
  .clean-page-header { margin-bottom: 36px; }
}

/* Template "Liste de toutes les pages" (template-all-pages.php) */
.pages-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pages-index-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.pages-index-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.pages-index-thumb {
  aspect-ratio: 16/9;
  background: var(--bg-2);
  overflow: hidden;
  pointer-events: none; /* image non-cliquable */
}
.pages-index-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pages-index-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.pages-index-title {
  font-size: 20px; line-height: 1.25;
  font-weight: 500; letter-spacing: -0.025em;
  margin: 0;
}
.pages-index-title a {
  color: var(--ink); text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .25s ease, color .15s;
  padding-bottom: 1px;
}
.pages-index-title a:hover { background-size: 100% 1px; color: var(--accent); }
.pages-index-excerpt {
  font-size: 14px; color: var(--muted); line-height: 1.5;
  margin: 0;
}
@media (max-width: 980px) {
  .pages-index-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .pages-index-grid { grid-template-columns: 1fr; }
}
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.archive-empty { padding: 80px 0; text-align: center; color: var(--muted); }
.pagination {
  margin-top: 50px;
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
}
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 10px;
  border-radius: 999px; background: var(--white); border: 1px solid var(--line-soft);
  color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: all .15s;
}
.pagination .page-numbers:hover { border-color: var(--ink); }
.pagination .page-numbers.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.notfound {
  padding: 140px 0 120px; text-align: center;
}
.notfound .big { font-size: clamp(80px, 14vw, 200px); font-weight: 500; line-height: 0.9; letter-spacing: -0.06em; color: var(--accent); margin-bottom: 24px; }
.notfound p { max-width: 480px; margin: 0 auto 28px; }

.searchform-wrap {
  display: flex; gap: 8px; align-items: stretch;
  background: var(--white); border: 1px solid var(--line-soft);
  border-radius: 999px; padding: 6px; max-width: 520px;
}
.searchform-wrap input[type="search"] {
  flex: 1; border: none; background: transparent;
  padding: 12px 16px; font-size: 15px; color: var(--ink); outline: none;
  font-family: inherit;
}
.searchform-wrap button {
  border: none; background: var(--ink); color: var(--paper);
  padding: 0 20px; border-radius: 999px; font-size: 14px; font-weight: 500;
}
.searchform-wrap button:hover { background: var(--accent); }

/* ============================================================
   12. FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  padding: 70px 0 28px;
}
.site-footer .top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 50px;
  padding-bottom: 50px; border-bottom: 1px solid var(--line-soft);
}
.site-footer .blurb { font-size: 14px; color: var(--muted); margin-top: 18px; max-width: 320px; }
.site-footer h5 {
  font-weight: 600; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink); margin: 6px 0 18px;
}
.site-footer ul, .site-footer .menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a.foot-link, .site-footer .menu a {
  text-decoration: none; color: var(--ink-2); font-size: 14px;
  transition: color .15s;
}
.site-footer a.foot-link:hover, .site-footer .menu a:hover { color: var(--accent); }
.site-footer .bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  font-size: 13px; color: var(--muted);
}
.site-footer .bottom a { color: inherit; text-decoration: none; }
.site-footer .bottom a:hover { color: var(--accent); }

/* WP alignment & captions */
.alignleft  { float: left; margin: 0 24px 16px 0; max-width: 50%; }
.alignright { float: right; margin: 0 0 16px 24px; max-width: 50%; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption, figure.wp-caption, figure { max-width: 100%; }
.wp-caption-text, figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; font-style: italic; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }

/* ============================================================
   13. RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .body-grid { grid-template-columns: 1fr; gap: 40px; }
  .body-grid-no-toc { grid-template-columns: 1fr; }
  .toc, .side-cta { position: static; }
  .post-content { max-width: none; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) {
  .hero::after {
    background:
      linear-gradient(180deg,
        rgba(244,241,234,0.92) 0%,
        rgba(244,241,234,0.85) 100%);
  }
  .hero-grid,
  .article-grid,
  .utility-grid,
  .finitions-grid,
  .process-grid,
  .pricing-grid,
  .final-cta-inner,
  .section-head,
  .page-content-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .types-grid { grid-template-columns: 1fr; }
  .strip-inner { grid-template-columns: 1fr; gap: 16px; }
  .strip-item { padding: 0; border-right: none; border-bottom: 1px solid var(--line-soft); padding-bottom: 16px; }
  .strip-item:last-child { border-bottom: none; padding-bottom: 0; }
  .manufact-row { grid-template-columns: 1fr; gap: 8px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .article-media { position: static; }
  .process-head { position: static; }
  .final-cta-inner { padding: 44px 28px; }

  /* Mobile menu */
  .menu-toggle { display: inline-flex; }
  .nav .nav-menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line-soft);
    padding: 12px 24px 24px;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - var(--topbar-h)); overflow-y: auto;
  }
  .nav.is-open .nav-menu { display: flex; }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a {
    padding: 14px 4px; font-size: 17px;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
    justify-content: space-between;
  }
  .nav-menu .menu-item-has-children > a::after { transform: rotate(45deg); }
  .nav-menu > li.is-open > a::after { transform: rotate(-135deg) translateY(2px); }
  .nav-menu .sub-menu {
    position: static;
    box-shadow: none; border: none; background: transparent;
    padding: 0 0 0 12px; margin: 0;
    opacity: 1; visibility: hidden; transform: none;
    max-height: 0; overflow: hidden;
    transition: max-height .25s ease, visibility .25s;
  }
  .nav-menu > li.is-open > .sub-menu {
    visibility: visible; max-height: 600px;
  }
  .nav-menu .sub-menu a { padding: 12px 4px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav-menu .sub-menu li:last-child a { border-bottom: none; }
  .nav .btn { width: 100%; justify-content: center; margin: 12px 0 0; padding: 14px; }
}
@media (max-width: 620px) {
  .features-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; }
  .site-footer .top { grid-template-columns: 1fr; gap: 30px; }
  .wrap, .wrap-narrow { padding: 0 20px; }
  .post-footer { flex-direction: column; align-items: flex-start; }
  .topbar-inner { padding: 14px 20px; }
}
