@font-face {
  font-family: "Cormorant";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/cormorant-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin.woff2") format("woff2");
}

/* ============================================================
   Institut de chirurgie du pied — Design system
   Palette: warm white / near-black dominant.
   Gold (#BC801E) + Navy (#1F3A5E) in mini doses only.
   Type: Cormorant (display serif) + Hanken Grotesk (sans).
   ============================================================ */

:root {
  --ink:        #15120E;
  --ink-80:     #3a352e;
  --ink-60:     #6a635a;
  --ink-40:     #9c958a;
  --paper:      #FBFAF6;
  --paper-2:    #F4F0E8;
  --paper-3:    #EFEAE0;
  --gold:       #BC801E;
  --gold-deep:  #9c6914;
  --navy:       #1F3A5E;
  --cap-size:   0.74rem;
  --cap-track:  0.2em;
  --cap-weight: 600;
  --fs-note:    0.92rem;
  --fs-h3:      clamp(1.5rem, 2.1vw, 1.85rem);
  --fs-h3-sm:   1.5rem;
  --fs-body:    0.98rem;
  --line:       rgba(21,18,14,0.12);
  --line-soft:  rgba(21,18,14,0.07);
  --line-dark:  rgba(255,255,255,0.14);
  --serif: "Cormorant", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1240px;
  --pad: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }

section { position: relative; }
.section { padding-block: clamp(64px, 9vw, 130px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--cream { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--paper); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; margin: 0; line-height: 1.06; letter-spacing: -0.005em; }

.display {
  font-size: clamp(2.9rem, 6.4vw, 5.4rem);
  line-height: 1.0;
  letter-spacing: -0.015em;
}
.h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.05; }
.h3 { font-size: var(--fs-h3); }
.card-title { font-family: var(--serif); font-weight: 600; font-size: var(--fs-h3-sm); line-height: 1.1; }

p { margin: 0 0 1.1em; text-wrap: pretty; }
.lead { font-size: clamp(1.12rem, 1.5vw, 1.32rem); line-height: 1.62; color: var(--ink-80); }
.muted { color: var(--ink-60); font-size: var(--fs-note); }

/* Eyebrow label */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: var(--cap-weight);
  letter-spacing: var(--cap-track);
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: flex-start;
  line-height: 1.6;
  gap: 0.7em;
  margin: 0 0 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 1px;
  margin-top: calc(0.8em - 0.5px);
  background: var(--gold);
  display: inline-block;
  flex: none;
}
.eyebrow--center { justify-content: center; }
.section--dark .eyebrow { color: var(--gold); }

.section-head { max-width: 760px; }
.section-head--center { max-width: 720px; margin-inline: auto; text-align: center; }
.section-head .h2 { margin-bottom: 0; }
.section-head .lead { margin-top: 1.3rem; margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--sans); font-size: var(--cap-size); font-weight: var(--cap-weight);
  letter-spacing: var(--cap-track); text-transform: uppercase;
  padding: 1.05em 1.9em; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg); border-radius: 2px;
  cursor: pointer; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--on-dark { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); }
.btn--ghost-dark { --bg: transparent; --fg: var(--paper); --bd: var(--line-dark); }
.btn--ghost-dark:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

/* Text link with arrow */
.tlink {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--sans); font-size: var(--cap-size); font-weight: var(--cap-weight);
  letter-spacing: var(--cap-track); text-transform: uppercase; color: var(--ink);
}
.tlink .arr { transition: transform .4s var(--ease); color: var(--gold); }
.tlink:hover .arr { transform: translateX(5px); }
.tlink span.lbl { background-image: linear-gradient(var(--gold), var(--gold)); background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .4s var(--ease); padding-bottom: 2px; }
.tlink:hover span.lbl { background-size: 100% 1px; }

/* ---------- Top utility bar ---------- */
.utility {
  background: var(--ink); color: var(--paper);
  font-size: 0.78rem; letter-spacing: 0.02em;
}
.utility .container { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 0.6rem 1.4rem; flex-wrap: wrap; }
.utility a { color: rgba(255,255,255,0.82); transition: color .3s; display: inline-flex; align-items: center; gap: 0.5em; }
.utility a:hover { color: #fff; }
.utility .u-group { display: flex; align-items: center; gap: 1.6rem; }
.utility .u-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.utility .u-network { gap: 0.85rem; }
.utility .u-net-label { display: inline-flex; align-items: center; gap: 0.5em; color: rgba(255,255,255,0.5); text-transform: uppercase; font-size: var(--cap-size); letter-spacing: var(--cap-track); font-weight: var(--cap-weight); white-space: nowrap; }
.utility .u-network a { position: relative; white-space: nowrap; }
.utility .u-network a::after { content: "↗"; font-size: 0.72em; margin-left: 0.35em; color: var(--gold); opacity: 0.8; }
.utility .u-sep { width: 1px; height: 11px; background: rgba(255,255,255,0.22); }
@media (max-width: 760px) { .utility .u-hide { display: none; } .utility .u-net-label { display: none; } }
@media (max-width: 520px) { .utility .container { justify-content: center; } }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,250,246,0.86);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .4s var(--ease), background .4s;
}
.header.scrolled { box-shadow: 0 1px 24px rgba(21,18,14,0.07); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 1.5rem; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 30px); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: var(--fs-body); font-weight: 500; letter-spacing: 0.02em; color: var(--ink-80);
  position: relative; padding: 6px 0; transition: color .3s;
}
.nav-links a::after { content:""; position:absolute; left:0; bottom:0; height:1px; width:0; background: var(--gold); transition: width .35s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-links .menu-cta a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 11px 18px; background: var(--ink); border: 1px solid var(--ink);
  color: #fff; font-family: var(--sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.nav-links .menu-cta a::after { display: none; }
.nav-links .menu-cta a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; color: var(--ink-60);
  border: 1px solid var(--line); border-radius: 100px; padding: 5px 12px; cursor: pointer;
  background: transparent; transition: all .3s;
  display: inline-flex; align-items: center; text-decoration: none;
}
.lang:hover { border-color: var(--navy); color: var(--navy); }
.nav .btn { padding: 0.85em 1.4em; font-size: 0.78rem; }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 4px; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: .3s var(--ease); }
.burger span:nth-child(1){ top: 15px; } .burger span:nth-child(2){ top: 21px; } .burger span:nth-child(3){ top: 27px; }
body.menu-open .burger span:nth-child(1){ top:21px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2){ opacity: 0; }
body.menu-open .burger span:nth-child(3){ top:21px; transform: rotate(-45deg); }

/* ---------- Wordmark ---------- */
.wordmark { font-family: var(--serif); line-height: 0.86; text-transform: uppercase; color: var(--ink); display: block; letter-spacing: 0.01em; }
.wordmark b { display: block; font-weight: 600; }
.wordmark .l1 { font-size: 1.42rem; letter-spacing: 0.06em; }
.wordmark .l2 { font-size: 0.62rem; letter-spacing: 0.135em; font-weight: 600; margin: 1px 0; }
.wordmark .l3 { font-size: 1.42rem; letter-spacing: 0.06em; }
.wordmark.on-dark { color: var(--paper); }

/* mobile menu panel */
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 380px); background: var(--paper);
  transform: translateX(100%); transition: transform .45s var(--ease); z-index: 80;
  padding: 90px 32px 40px; box-shadow: -20px 0 60px rgba(0,0,0,0.12); overflow-y: auto;
}
.mobile-nav { list-style: none; margin: 0; padding: 0; }
.mobile-nav li { margin: 0; padding: 0; }
body.menu-open .mobile-menu { transform: translateX(0); }
.mobile-menu a { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.mobile-menu .btn,
.mobile-menu .menu-cta a { margin-top: 24px; width: 100%; }
.mobile-menu .menu-cta a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 20px; background: var(--ink); color: #fff; border: 1px solid var(--ink);
  font-family: var(--sans); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
}
.scrim { position: fixed; inset: 0; background: rgba(21,18,14,0.4); opacity: 0; pointer-events: none; transition: opacity .4s; z-index: 70; }
body.menu-open .scrim { opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 76px); padding-bottom: clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; align-items: center; }
.hero-stats { display: flex; gap: clamp(20px, 3vw, 46px); margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.stat .num { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; color: var(--ink); }
.stat .num .suffix { color: var(--gold); }
.stat .lbl { font-size: var(--cap-size); letter-spacing: var(--cap-track); font-weight: var(--cap-weight); color: var(--ink-60); margin-top: 0.5rem; text-transform: uppercase; }
@media (max-width: 900px) { .hero .lead { max-width: 46ch; } }

/* ---------- Image placeholder ---------- */
.ph {
  position: relative; background: var(--paper-3);
  background-image: repeating-linear-gradient(135deg, transparent, transparent 11px, rgba(21,18,14,0.035) 11px, rgba(21,18,14,0.035) 22px);
  border: 1px solid var(--line); overflow: hidden; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
}
.ph__tag {
  font-family: var(--sans); font-size: var(--cap-size); letter-spacing: var(--cap-track); font-weight: var(--cap-weight); text-transform: uppercase;
  color: var(--ink-40); background: var(--paper); padding: 7px 13px; border: 1px solid var(--line);
  border-radius: 100px; position: relative; z-index: 1;
}
.ph--dark { background: #211d17; background-image: repeating-linear-gradient(135deg, transparent, transparent 11px, rgba(255,255,255,0.04) 11px, rgba(255,255,255,0.04) 22px); border-color: rgba(255,255,255,0.1); }
.ph--dark .ph__tag { color: rgba(255,255,255,0.6); background: #2a251d; border-color: rgba(255,255,255,0.12); }
.hero-badge {
  position: absolute; left: -22px; bottom: 30px; background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 20px; box-shadow: 0 18px 40px rgba(21,18,14,0.10); max-width: 230px;
}
.hero-badge .hb-top { display:flex; align-items:center; gap:9px; font-size:var(--cap-size); letter-spacing:var(--cap-track); font-weight:var(--cap-weight); text-transform:uppercase; color: var(--ink-60); margin-bottom: 6px; }
.hero-badge .seal { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(188,128,30,0.16); }
.hero-badge .hb-main { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; line-height: 1.15; }
@media (max-width: 540px){ .hero-badge { left: 12px; bottom: 12px; padding: 12px 15px; } }

/* ---------- Generic two-col ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--media-left .split-media { order: -1; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; gap: 36px; } .split--media-left .split-media { order: 0; } }

/* ---------- Reasons (Pourquoi choisir) ---------- */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: clamp(36px, 5vw, 56px); }
.reason { background: var(--paper); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; transition: background .4s var(--ease); align-items: flex-start; }
.reason:hover { background: var(--paper-2); }
.reason .r-ico { width: 52px; height: 52px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold); border: 1px solid color-mix(in srgb, var(--gold) 38%, transparent);
  border-radius: 50%; background: color-mix(in srgb, var(--gold) 7%, transparent);
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease); }
.reason .r-ico svg { width: 23px; height: 23px; }
.reason:hover .r-ico { background: color-mix(in srgb, var(--gold) 13%, transparent); border-color: color-mix(in srgb, var(--gold) 60%, transparent); transform: translateY(-2px); }
.reason h3 { font-family: var(--sans); font-size: 1.08rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
@media (max-width: 860px){ .reasons { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px){ .reasons { grid-template-columns: 1fr; } }

/* ---------- Cards grid ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); margin-top: clamp(36px, 5vw, 56px); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(21,18,14,0.09); border-color: rgba(188,128,30,0.4); }
.card .card-title { margin-bottom: 12px; }
.card p { color: var(--ink-60); font-size: var(--fs-body); margin-bottom: 22px; }
.card .tlink { margin-top: auto; }
@media (max-width: 960px){ .cards, .cards--4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .cards, .cards--4 { grid-template-columns: 1fr; } }

/* ---------- Services list ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(36px,5vw,56px); }
.svc-grid--2 { grid-template-columns: 1fr 1fr; max-width: 960px; }
.svc-col h3 { font-family: var(--sans); font-size: var(--cap-size); font-weight: var(--cap-weight); letter-spacing: var(--cap-track); text-transform: uppercase; color: var(--ink); padding-bottom: 16px; border-bottom: 1px solid var(--ink); margin-bottom: 4px; }
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-list li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
.svc-list li .mk { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
.svc-note { margin-top: 18px; font-size: var(--fs-note); color: var(--ink-60); }
@media (max-width: 860px){ .svc-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Callout band ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); margin-top: clamp(36px,5vw,52px); }
.callout { border: 1px solid var(--line-dark); border-radius: 14px; padding: clamp(28px, 3vw, 42px); }
.callout .eyebrow { color: var(--gold); }
.callout h3 { font-size: var(--fs-h3); margin-bottom: 14px; }
.callout p { color: rgba(255,255,255,0.74); }
.callout ul { list-style: none; padding: 0; margin: 0 0 24px; }
.callout ul li { display:flex; gap:12px; align-items:flex-start; padding: 9px 0; color: rgba(255,255,255,0.85); font-size: 0.97rem; }
.callout ul li::before { content:""; margin-top: 8px; width:6px; height:6px; border-radius:50%; background: var(--gold); flex:none; }
@media (max-width: 760px){ .duo { grid-template-columns: 1fr; } }

/* ---------- Before / After slider ---------- */
.ba-wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px,5vw,64px); align-items: center; margin-top: clamp(36px,5vw,52px); }
.ba {
  position: relative; aspect-ratio: 16/11; border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  user-select: none; touch-action: none; cursor: ew-resize;
}
.ba__layer { position: absolute; inset: 0; }
.ba__after { z-index: 1; }
.ba__before { z-index: 2; clip-path: inset(0 50% 0 0); }
.ba .ph { width: 100%; height: 100%; border: none; border-radius: 0; }
.ba__lab { position: absolute; top: 14px; z-index: 3; font-size: var(--cap-size); letter-spacing: var(--cap-track); font-weight: var(--cap-weight); text-transform: uppercase; color: #fff; background: rgba(21,18,14,0.7); padding: 6px 12px; border-radius: 100px; backdrop-filter: blur(4px); }
.ba__lab--b { left: 14px; } .ba__lab--a { right: 14px; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--paper); z-index: 4; transform: translateX(-1px); }
.ba__grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(0,0,0,0.18); display:flex; align-items:center; justify-content:center; color: var(--gold); }
.ba__grip svg { width: 22px; height: 22px; }
.ba-list { list-style: none; padding: 0; margin: 0; }
.ba-list li { display:flex; gap: 14px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1.04rem; }
.ba-list li .ck { width: 22px; height: 22px; color: var(--gold); flex: none; }
@media (max-width: 860px){ .ba-wrap { grid-template-columns: 1fr; } }

/* ---------- Patient journey ---------- */
.journey { margin-top: clamp(40px,5vw,64px); counter-reset: step; }
.j-step { display: grid; grid-template-columns: 130px 1fr; gap: clamp(20px,3vw,48px); align-items: baseline; padding: clamp(26px,3vw,40px) 0; border-top: 1px solid var(--line); transition: padding-left .4s var(--ease); }
.j-step:last-child { border-bottom: 1px solid var(--line); }
.j-step:hover { padding-left: 10px; }
.j-num { font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem,4vw,3.4rem); line-height: 1; color: var(--ink); }
.j-num::before { counter-increment: step; content: "0" counter(step); }
.j-step:hover .j-num { color: var(--gold); }
.j-body h3 { font-family: var(--serif); font-size: var(--fs-h3); margin-bottom: 8px; }
.j-body p { color: var(--ink-60); margin: 0; max-width: 60ch; }
@media (max-width: 640px){ .j-step { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Clinic features ---------- */
.feat-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 26px; }
.feat-list li { display: flex; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.feat-list li .ck { width: 20px; height: 20px; color: var(--gold); flex: none; }
.clinic-gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 100%; }
.clinic-gallery .ph:first-child { grid-row: span 2; }
.split:not(.split--media-left) .split-media .clinic-gallery .ph.r-corner { border-radius: 72px 0 0 72px !important; }
.clinic-gallery .ph { min-height: 150px; }
@media (max-width: 560px){ .feat-list { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px,3vw,32px); margin-top: clamp(40px,5vw,60px); }
.doc { display: flex; flex-direction: column; }
.doc .ph { aspect-ratio: 3/3.4; margin-bottom: 22px; border-radius: 0 0 50% 50% / 0 0 42% 42%; overflow: hidden; }
.doc .ph .doc-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.doc .doc-role { font-size: var(--cap-size); letter-spacing: var(--cap-track); font-weight: var(--cap-weight); text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.doc h3 { font-size: var(--fs-h3-sm); margin-bottom: 10px; }
.doc p { color: var(--ink-60); font-size: var(--fs-body); margin-bottom: 18px; }
.doc .tlink { margin-top: auto; }
@media (max-width: 820px){ .team { grid-template-columns: 1fr; max-width: 440px; } }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 860px; margin: clamp(36px,5vw,52px) auto 0; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(22px,2.4vw,30px) 0; font-family: var(--serif); font-weight: 600; font-size: clamp(1.25rem,2vw,1.6rem); color: var(--ink); line-height: 1.2; }
.faq-q .pm { position: relative; width: 22px; height: 22px; flex: none; }
.faq-q .pm::before, .faq-q .pm::after { content:""; position:absolute; background: var(--gold); transition: transform .4s var(--ease), opacity .3s; }
.faq-q .pm::before { top: 10px; left: 0; width: 22px; height: 1.6px; }
.faq-q .pm::after { left: 10px; top: 0; width: 1.6px; height: 22px; }
.faq-item.open .pm::after { transform: rotate(90deg); opacity: 0; }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .5s var(--ease); }
.faq-a-inner { padding-bottom: clamp(22px,2.4vw,30px); color: var(--ink-60); font-size: 1.06rem; max-width: 70ch; }

/* ---------- Contact / location ---------- */
.loc-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px,4vw,56px); align-items: stretch; }
.loc-card .info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.loc-card .h2 { margin-bottom: 18px; }
.loc-card .info-row:first-of-type { border-top: 1px solid var(--line); }
.loc-card .ir-k { font-size: var(--cap-size); letter-spacing: var(--cap-track); font-weight: var(--cap-weight); text-transform: uppercase; color: var(--ink-40); margin-bottom: 3px; }
.loc-card .ir-v { font-size: 1.04rem; color: var(--ink); }
.loc-card .ir-v a:hover { color: var(--gold); }
.map .ph { height: 100%; min-height: 320px; }
@media (max-width: 820px){ .loc-grid { grid-template-columns: 1fr; } .map .ph { min-height: 260px; } }

/* ---------- Appointment form ---------- */
.form-band { background: var(--ink); color: var(--paper); }
.form-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px,5vw,72px); align-items: start; }
.form-grid .eyebrow { color: var(--gold); }
.form-grid .h2 { color: var(--paper); }
.form-grid .lead { color: rgba(255,255,255,0.74); }
.appt { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--cap-size); letter-spacing: var(--cap-track); font-weight: var(--cap-weight); text-transform: uppercase; color: rgba(255,255,255,0.6); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--paper); background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.16); border-radius: 10px; padding: 14px 16px; transition: border-color .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.4); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23BC801E' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select option,
.field select optgroup { color: #1a1713; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,0.08); }
.appt .btn--on-dark { grid-column: 1 / -1; }
.form-note { display:flex; align-items:center; gap:10px; font-size: var(--fs-note); color: rgba(255,255,255,0.6); margin-top: 4px; grid-column: 1/-1; }
.appt-confirm { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 14px; padding: clamp(28px,3vw,40px) 0; animation: ac-in .5s var(--ease) both; }
.appt-confirm[hidden] { display: none; }
.appt-confirm .ac-check { width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--gold); border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); background: color-mix(in srgb, var(--gold) 12%, transparent); }
.appt-confirm .ac-check svg { width: 26px; height: 26px; }
.appt-confirm .ac-title { color: var(--paper); }
.appt-confirm .ac-text { color: rgba(255,255,255,0.72); font-size: var(--fs-body); max-width: 42ch; margin: 0; }
.appt-confirm .ac-again { margin-top: 8px; }
@keyframes ac-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: #c0532f; }
@media (max-width: 820px){ .form-grid { grid-template-columns: 1fr; } .appt { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: #0f0d0a; color: rgba(255,255,255,0.7); padding-top: clamp(56px,7vw,90px); border-top: 2px solid var(--gold); }
.footer .wp-block-group__inner-container { display: contents; }
.footer .is-layout-flow > * { margin-block-start: 0; margin-block-end: 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(28px,4vw,56px); padding-bottom: clamp(40px,5vw,64px); }
.footer h4 { font-family: var(--sans); font-size: var(--cap-size); font-weight: var(--cap-weight); letter-spacing: var(--cap-track); text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { padding: 7px 0; }
.footer ul a, .footer .f-contact { font-size: 0.93rem; color: rgba(255,255,255,0.66); transition: color .3s; }
.footer-top > .wp-block-group:not(.footer-brand) > p { color: rgba(255,255,255,.66); font-size: .93rem; padding: 7px 0; }
.footer-top > .wp-block-group:not(.footer-brand) > p a { color: inherit; }
.footer ul a:hover { color: var(--gold); }
.footer .f-desc { font-size: var(--fs-note); color: rgba(255,255,255,0.6); max-width: 34ch; margin: 18px 0 0; }
.footer .wordmark { margin-bottom: 0; }
.footer .wordmark .l1, .footer .wordmark .l3 { font-size: 2.1rem; }
.footer .wordmark .l2 { font-size: 0.92rem; margin: 3px 0; }
.footer-wordmark { color: #fff; font-family: var(--serif); line-height: .9; text-transform: uppercase; }
.footer-wordmark p { margin: 0; }
.footer-wordmark .f-wordmark-l1, .footer-wordmark .f-wordmark-l3 { font-size: 2.1rem; }
.footer-wordmark .f-wordmark-l2 { font-size: .92rem; letter-spacing: .16em; margin: 5px 0; }
.footer .wp-block-buttons { margin: 0; }
.footer .wp-block-button__link { background: transparent; border: 1px solid rgba(255,255,255,.2); border-radius: 0; color: #fff; font-family: var(--sans); font-size: var(--fs-note); font-weight: 600; letter-spacing: .16em; padding: 14px 22px; text-transform: uppercase; }
.footer .wp-block-button__link:hover { border-color: var(--gold); color: var(--gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0 30px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--gold); }
.footer .f-cta { margin-top: 6px; }
@media (max-width: 880px){ .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-top { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; align-items: flex-start; } }

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-cta { margin-top: clamp(32px,4vw,48px); }
.nowrap { white-space: nowrap; }

/* ---------- Expertise cards with photo ---------- */
.card--photo .card-photo { display: block; width: 100%; margin-bottom: 24px; }
.card-photo--arch { width: 100%; aspect-ratio: 3 / 3.1; overflow: hidden; background: var(--paper-3);
  border-radius: 0 0 50% 50% / 0 0 44% 44%; display: flex; align-items: center; justify-content: center; }
.card-photo--arch .card-arch-photo { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Conditions icon badges ---------- */
.cond-badge { width: 84px; height: 84px; border-radius: 50%; margin-bottom: 24px;
  background: var(--paper-3); display: flex; align-items: center; justify-content: center;
  transition: background .4s var(--ease), transform .4s var(--ease); }
.cond-ic { width: 38px; height: 38px; color: var(--gold); }
.card:hover .cond-badge { transform: translateY(-2px); background: color-mix(in srgb, var(--paper-3) 82%, var(--gold) 12%); }

/* ---------- Corner radius variants ---------- */
.r-corner { border-radius: 0; }
.split--media-left .r-corner { border-radius: 72px 0 0 72px !important; }
.split:not(.split--media-left) .split-media .r-corner { border-radius: 0 72px 72px 0 !important; }
@media (max-width: 760px){
  .split--media-left .r-corner,
  .split:not(.split--media-left) .split-media .r-corner { border-radius: 48px 48px 0 0 !important; }
}

/* ---------- Hero benefit badge rotator ---------- */
.hero-badge .hb-main { transition: opacity .32s var(--ease), transform .32s var(--ease); }
.hero-badge .hb-main.hb-swap { opacity: 0; transform: translateY(6px); }

/* ---------- Cover hero ---------- */
.hero--cover { position: relative; padding: 0; min-height: min(74vh, 660px); display: flex; align-items: flex-end; overflow: hidden; background: radial-gradient(125% 105% at 72% 0%, #1c1812 0%, #100e0b 58%, #0b0908 100%); }
.hero--cover .hero-media { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero--cover .hero-video { object-fit: cover; }
.hero--cover .hero-veil { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(180deg, rgba(14,12,10,0.46) 0%, rgba(14,12,10,0.18) 34%, rgba(14,12,10,0.62) 78%, rgba(14,12,10,0.86) 100%),
  linear-gradient(90deg, rgba(14,12,10,0.62) 0%, rgba(14,12,10,0.10) 58%); }
.hero--cover::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background:
  linear-gradient(180deg, rgba(14,12,10,0.46) 0%, rgba(14,12,10,0.18) 34%, rgba(14,12,10,0.62) 78%, rgba(14,12,10,0.86) 100%),
  linear-gradient(90deg, rgba(14,12,10,0.62) 0%, rgba(14,12,10,0.10) 58%); }
.hero-cover { position: relative; z-index: 2; width: 100%; padding-top: clamp(80px, 11vh, 140px); padding-bottom: clamp(32px, 4vw, 52px); }
.hero-cover-copy { max-width: 33rem; }
.hero--cover .display { color: var(--paper); margin-bottom: 1.2rem; font-size: clamp(2.5rem, 4.6vw, 4rem); line-height: 1.02; }
.hero--cover .lead { color: rgba(255,255,255,0.82); max-width: 44ch; }
.eyebrow--light { color: rgba(255,255,255,0.62); }
.eyebrow--light::before { background: var(--gold); }
.tlink--light { color: var(--paper); }
.tlink--light:hover { color: var(--gold); }
.hero-cover-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-top: clamp(28px, 4vw, 52px); }
.hero-stats--light { border-top-color: rgba(255,255,255,0.22); }
.hero-stats--light .stat .num { color: var(--paper); }
.hero-stats--light .stat .lbl { color: rgba(255,255,255,0.66); }
.hero-badge--float { position: static; max-width: 250px; }
@media (max-width: 760px) {
  .hero-cover-copy { max-width: 100%; }
  .hero-cover-foot { flex-direction: column; align-items: stretch; }
  .hero-badge--float { align-self: flex-start; }
}

/* ---------- CTA dark with photo background ---------- */
.cta-photo { position: relative; overflow: hidden; }
.cta-photo .cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta-photo .cta-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(14,12,10,0.34) 0%, rgba(14,12,10,0.5) 60%, rgba(14,12,10,0.62) 100%); }
.cta-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(14,12,10,0.34) 0%, rgba(14,12,10,0.5) 60%, rgba(14,12,10,0.62) 100%); }

/* ---------- Splash intro ---------- */
.splash {
  position: fixed; inset: 0; z-index: 9999;
  background: #0b0a08;
  display: flex; align-items: center; justify-content: center;
  opacity: 1; transition: opacity .7s var(--ease);
}
.splash.is-hiding { opacity: 0; pointer-events: none; }
.splash.is-done { display: none; }
.splash-badge {
  width: min(78vw, 380px); aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.9);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff; position: relative; padding: 8%;
  font-family: var(--serif); text-transform: uppercase; line-height: 1.04;
  opacity: 0; transform: scale(0.94);
  animation: splash-in 1.5s var(--ease) .2s forwards;
}
.splash-badge::before {
  content: ""; position: absolute; inset: 7px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
}
.splash-badge .sb-l1, .splash-badge .sb-l3 { font-size: clamp(1.4rem, 5vw, 2.1rem); font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; line-height: 1.06; }
.splash-badge .sb-l2 { font-size: clamp(0.7rem, 2.3vw, 0.92rem); font-weight: 500; letter-spacing: 0.13em; margin: 0.55em 0; white-space: nowrap; }
.splash-badge .sb-url { font-family: var(--sans); font-size: clamp(0.4rem, 1.4vw, 0.52rem); font-weight: 500; letter-spacing: 0.2em; color: rgba(255,255,255,0.8); margin-top: 1.7em; white-space: nowrap; }
@keyframes splash-in { to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .splash-badge { animation: none; opacity: 1; transform: none; }
  .splash { transition: none; }
}

/* ---------- Responsive nav ---------- */
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .burger { display: flex; align-items: center; justify-content: center; }
}

/* ---------- Portable theme additions ---------- */
body.admin-bar .header { top: 32px; }
.media-cover { display: block; height: 100%; object-fit: cover; width: 100%; }
.media-expertise { aspect-ratio: 5 / 5.6; width: 100%; }
.rich-lead { margin-top: 1.4rem; }
.rich-lead p:last-child { margin-bottom: 0; }
.cta-copy { max-width: 780px; position: relative; z-index: 2; }
.cta-copy .h2 { color: var(--paper); }
.cta-copy .lead { color: rgba(255,255,255,.72); margin-top: 1.2rem; }
.card-photo--arch .ph { border: 0; border-radius: 0; height: 100%; width: 100%; }
.card-title em { color: var(--ink-60); font-style: italic; font-weight: 500; }
.ba__layer > img,
.ba__layer > .ph { height: 100%; object-fit: cover; width: 100%; }
.ba-wrap .muted { margin-bottom: 18px; }
.ba-wrap .svc-note { margin-top: 20px; }
.clinic-gallery > :first-child { border-radius: 72px 0 0 72px; grid-row: span 2; }
.clinic-gallery > img { height: 100%; object-fit: cover; width: 100%; }
.clinic-gallery > img:not(:first-child),
.clinic-gallery > .ph:not(:first-child) { border-radius: 20px; }
.doc-photo { height: 100%; object-fit: cover; width: 100%; }
.loc-card > .muted { margin-top: 22px; }
.loc-card > .btn { margin-top: 14px; }
.map iframe { border: 0; border-radius: 20px; height: 100%; min-height: 320px; width: 100%; }
.form-grid > div > .lead { margin-top: 1.4rem; }
.full { grid-column: 1 / -1; }
.form-error { background: rgba(192,83,47,.18); border: 1px solid rgba(255,255,255,.28); border-radius: 8px; color: #fff; padding: 12px 14px; }
.form-note .seal { background: var(--gold); border-radius: 50%; display: inline-block; height: 8px; width: 8px; }
.icp-honeypot { height: 1px; left: -10000px; overflow: hidden; position: absolute; top: auto; width: 1px; }
.appt-confirm { grid-column: 2; }
.appt-confirm .ck { height: 26px; width: 26px; }

/* Ordinary WordPress templates */
.inner-main { min-height: 54vh; padding-block: clamp(64px, 8vw, 112px); }
.inner-header { background: var(--paper-2); border-bottom: 1px solid var(--line); padding-block: clamp(46px, 6vw, 80px); }
.inner-header .eyebrow { margin-bottom: 1rem; }
.inner-header .h2 { max-width: 900px; }
.content-shell { max-width: 860px; }
.content-shell > *:first-child { margin-top: 0; }
.entry-content { color: var(--ink-80); }
.entry-content a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.entry-content h2,
.entry-content h3,
.entry-content h4 { margin: 1.6em 0 .6em; }
.entry-content img { border-radius: 18px; }

/* Native homepage blocks preserve the original class-based layout. */
#accueil .wp-block-image,
#accueil .wp-block-video,
#accueil .wp-block-buttons,
#accueil .wp-block-button {
    margin: 0;
}
#accueil .icp-inline { display: contents; }
#accueil .wp-block-image img { display: block; }
#accueil .wp-block-group__inner-container {
    display: contents;
}
#accueil .is-layout-flow > * {
    margin-block-start: 0;
    margin-block-end: 0;
}
#accueil .cta-bg img,
#accueil .media-cover img,
#accueil .card-arch-photo img,
#accueil .doc-photo img,
#accueil .ba__layer > .wp-block-image img,
#accueil .clinic-gallery > .wp-block-image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}
#accueil .clinic-gallery > .wp-block-image:first-child {
    border-radius: 72px 0 0 72px;
    grid-row: span 2;
    overflow: hidden;
}
#accueil .clinic-gallery > .wp-block-image:not(:first-child) {
    border-radius: 20px;
    overflow: hidden;
}
#accueil .wp-block-icp-image { margin: 0; }
#accueil .wp-block-icp-image > img { display: block; height: 100%; object-fit: cover; width: 100%; }
#accueil .card-photo--arch > .wp-block-icp-image { height: 100%; width: 100%; }
#accueil .clinic-gallery > .wp-block-icp-image:first-child { border-radius: 72px 0 0 72px; grid-row: span 2; }
#accueil .clinic-gallery > .wp-block-icp-image:not(:first-child) { border-radius: 20px; }
#accueil .doc > .wp-block-icp-image { aspect-ratio: 3/3.4; border-radius: 0 0 50% 50% / 0 0 42% 42%; margin-bottom: 22px; }

.wp-block-icp-icon { display: inline-flex; }
.wp-block-icp-icon svg { height: 100%; width: 100%; }
.cond-badge .wp-block-icp-icon { height: 38px; width: 38px; }
.tlink::after { color: var(--gold); content: "→"; font-size: 1.15em; line-height: 1; }
.ba-list li::before,
.feat-list li::before { color: var(--gold); content: "✓"; flex: none; font-size: 1.1em; font-weight: 700; }

.j-step::before { align-self: baseline; color: var(--ink); content: "0" counter(step); counter-increment: step; font-family: var(--serif); font-size: clamp(2.4rem,4vw,3.4rem); font-weight: 600; grid-column: 1; line-height: 1; }
.j-step .j-body { grid-column: 2; }
.j-step:hover::before { color: var(--gold); }
.post-grid { display: grid; gap: 26px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-card { border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; overflow: hidden; padding: 24px; }
.post-card .post-thumbnail { margin: -24px -24px 24px; }
.post-card .post-thumbnail img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-card .card-title { margin-bottom: 14px; }
.post-card .entry-summary { color: var(--ink-60); flex: 1; }
.post-card .tlink { margin-top: 14px; }
.entry-meta { color: var(--ink-60); font-size: var(--fs-note); margin: 12px 0 30px; }
.pagination { margin-top: 44px; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination .page-numbers { border: 1px solid var(--line); padding: 6px 12px; }
.pagination .current { background: var(--ink); color: var(--paper); }
.search-form { display: flex; gap: 10px; margin-top: 24px; max-width: 620px; }
.search-form label { flex: 1; }
.search-form .search-field { border: 1px solid var(--line); font: inherit; padding: 12px 14px; width: 100%; }
.service-hero { background: var(--ink); color: var(--paper); min-height: min(64vh, 640px); overflow: hidden; position: relative; }
.service-hero video { height: 100%; inset: 0; object-fit: cover; opacity: .5; position: absolute; width: 100%; }
.service-hero .container { align-items: flex-end; display: flex; min-height: inherit; padding-bottom: clamp(50px, 8vw, 90px); padding-top: clamp(80px, 10vw, 130px); position: relative; z-index: 1; }
.service-details { margin-top: 42px; }
.service-details details { border-top: 1px solid var(--line); padding: 20px 0; }
.service-details details:last-child { border-bottom: 1px solid var(--line); }
.service-details summary { cursor: pointer; font-family: var(--serif); font-size: var(--fs-h3-sm); font-weight: 600; }
.not-found-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

@media (max-width: 900px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 782px) {
  body.admin-bar .header { top: 46px; }
}
@media (max-width: 600px) {
  body.admin-bar .header { top: 0; }
  .post-grid { grid-template-columns: 1fr; }
  .appt-confirm { grid-column: auto; }
}
