/* SCPA Kebet & Méité — site styles
   Design tokens mirror the original Claude Design source (Cormorant Garamond /
   Jost / Parisienne, navy + gold palette, light/dark theme via [data-theme]). */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

:root {
  --bg: #FBF9F5;
  --surface: #ffffff;
  --ink: #16283F;
  --ink2: #4A5464;
  --ink3: #6A7280;
  --line: #EEE7D8;
  --input-bg: #FCFBF8;
  --hdr-bg: 251, 249, 245;
  --gold: #B9975B;
  --gold-2: #C9A96A;
  --gold-3: #D8C79E;
  --gold-dark: #B08A4A;
  --navy-1: #0B1626;
  --navy-2: #0F1F35;
  --navy-3: #16283F;
  --cream: #F7F3EC;
  --cream-2: #EBD9B4;
}

html[data-theme="dark"] {
  --bg: #0B1626;
  --surface: #132741;
  --ink: #F4EFE6;
  --ink2: #C3CBD7;
  --ink3: #9AA6B6;
  --line: rgba(201, 169, 106, 0.18);
  --input-bg: #0F2036;
  --hdr-bg: 11, 22, 38;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s ease, color .3s ease;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
input, textarea, select, button { font-family: 'Jost', sans-serif; }
::selection { background: var(--gold); color: var(--navy-3); }

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  margin: 0;
}

p { margin: 0; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
html[data-theme="dark"] .eyebrow.on-dark,
.eyebrow.on-dark { color: var(--gold-2); }

.container {
  max-width: 1260px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}
.container-narrow { max-width: 1120px; }
.container-tight { max-width: 1000px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 16px 34px;
  border-radius: 100px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .2s ease;
  cursor: pointer;
  line-height: 1;
}
.btn-sm { padding: 13px 26px; font-size: 12.5px; }
.btn-gold { background: var(--gold); color: var(--navy-3); border-color: var(--gold); }
.btn-gold:hover { background: var(--cream); border-color: var(--cream); }
.btn-navy { background: var(--navy-3); color: var(--cream-2); border-color: var(--navy-3); }
.btn-navy:hover { background: var(--gold); color: var(--navy-3); border-color: var(--gold); }
.btn-outline-light { background: transparent; color: var(--cream-2); border-color: rgba(201, 169, 106, .55); }
.btn-outline-light:hover { background: rgba(201, 169, 106, .14); border-color: var(--gold-2); }
.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--navy-3); }
html[data-theme="dark"] .btn-outline-dark { border-color: var(--gold-2); }
.btn-outline-dark:hover { background: var(--navy-3); color: var(--cream-2); }
.btn-block { display: flex; width: 100%; justify-content: center; }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 5px;
  transition: gap .25s ease, opacity .2s ease;
}
.text-link:hover { gap: 16px; }
.text-link.on-dark { color: var(--cream-2); }

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.site-header.is-scrolled {
  background: rgba(var(--hdr-bg), .93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(3, 10, 20, .18);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 22px;
  padding-bottom: 22px;
  transition: padding .4s ease;
}
.site-header.is-scrolled .container { padding-top: 9px; padding-bottom: 9px; }

.logo-link { display: block; text-decoration: none; flex: none; }
.logo-mark { position: relative; display: block; height: 60px; transition: height .4s ease; }
.site-header.is-scrolled .logo-mark { height: 56px; }
.logo-mark img {
  height: 100%; width: auto; max-width: none; display: block; transition: opacity .4s ease;
}
/* logo-color stays in normal flow so it defines the box's intrinsic size;
   logo-white overlays it absolutely at the same computed size (same aspect ratio). */
.logo-mark .logo-color { position: static; opacity: 0; }
.logo-mark .logo-white { position: absolute; top: 0; left: 0; opacity: 1; }
/* Scrolled header: show the navy wordmark only in light theme — in dark
   theme the scrolled header stays dark, so the white wordmark keeps contrast. */
html[data-theme="light"] .site-header.is-scrolled .logo-mark .logo-color { opacity: 1; }
html[data-theme="light"] .site-header.is-scrolled .logo-mark .logo-white { opacity: 0; }

.main-nav { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; justify-content: center; color: var(--nav-color, #F4EFE6); transition: color .4s ease; }
.site-header.is-scrolled .main-nav,
.site-header.is-scrolled .theme-toggle { color: var(--ink); }
.main-nav a {
  position: relative;
  font-size: 13.5px;
  letter-spacing: .03em;
  color: inherit;
  text-decoration: none;
  padding: 6px 0;
}
.main-nav a:hover { color: var(--gold); }
.main-nav a.is-active::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold);
}

.theme-toggle {
  background: none; cursor: pointer; width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex: none;
  color: #F4EFE6; border: 1px solid currentColor;
  transition: color .4s ease, background-color .25s ease, transform .25s ease;
}
.theme-toggle:hover { background: rgba(201, 169, 106, .16); transform: rotate(18deg); }
.theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.menu-toggle {
  background: none; border: none; cursor: pointer; padding: 8px;
  display: none; flex-direction: column; gap: 5px; flex: none;
}
.menu-toggle span { display: block; width: 26px; height: 2px; border-radius: 2px; background: #F4EFE6; transition: background .4s ease; }
.menu-toggle span:last-child { width: 18px; }
.site-header.is-scrolled .menu-toggle span { background: var(--ink); }

.header-cta { flex: none; }
.header-mobile-toggle { display: none; flex: none; }

/* Mobile full-screen menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 80; background: var(--navy-1);
  display: none; flex-direction: column; padding: 26px 30px 40px;
  overflow-y: auto;
}
.mobile-menu.is-open { display: flex; animation: fadeIn .3s ease; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu-top img { height: 44px; width: auto; }
.mobile-menu-close { background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-nav { margin-top: 44px; display: flex; flex-direction: column; }
.mobile-nav a {
  font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 30px;
  color: var(--cream); text-decoration: none; padding: 18px 0;
  border-bottom: 1px solid rgba(201, 169, 106, .18);
}
.mobile-nav a:hover { color: var(--gold-2); }
.mobile-menu .btn { margin-top: 32px; align-self: flex-start; }
.mobile-menu-footer {
  margin-top: auto; padding-top: 34px; font-weight: 300; font-size: 13px;
  line-height: 1.8; color: #9AA6B6;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============ Hero ============ */
.hero {
  position: relative; background: var(--navy-1); overflow: hidden;
  padding-top: 172px; padding-bottom: 124px;
}
.hero-page { padding-top: 132px; padding-bottom: 82px; }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: 62% 30%;
  opacity: .92; transform: scale(1.1); will-change: transform;
}
.hero-page .hero-bg { background-position: 70% 22%; opacity: .4; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, #0B1626 0%, rgba(11,22,38,.97) 32%, rgba(11,22,38,.6) 62%, rgba(11,22,38,.12) 100%);
}
.hero-page .hero-scrim { background: linear-gradient(90deg, #0B1626 20%, rgba(11,22,38,.55) 100%); }
.hero-inner { position: relative; }
.hero-eyebrow { display: flex; align-items: center; gap: 14px; }
.hero-eyebrow .rule { width: 34px; height: 1px; background: var(--gold); }
.hero-eyebrow span:last-child { font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-2); }
.hero h1 {
  color: var(--cream); font-size: clamp(40px, 5.2vw, 70px); line-height: 1.05;
  margin: 22px 0 0; letter-spacing: -.01em;
}
.hero-page h1 { font-size: clamp(38px, 5vw, 60px); margin-top: 14px; }
.hero h1 em { font-style: italic; color: var(--gold-2); }
.hero-text {
  font-weight: 300; font-size: 17.5px; line-height: 1.8; color: #C7CEDA;
  margin: 26px 0 0; max-width: 560px;
}
.hero-page .hero-text { font-size: 16.5px; margin-top: 18px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 38px; }
.hero-scroll-cue {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 3; pointer-events: none;
}
.hero-scroll-cue span:first-child { font-size: 9.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: rgba(247,243,236,.65); }
.hero-scroll-cue .line {
  width: 1px; height: 46px; background: linear-gradient(var(--gold-2), rgba(201,169,106,0));
  transform-origin: top; animation: pulse 1.9s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: .25; transform: scaleY(.55); } 50% { opacity: 1; transform: scaleY(1); } }

.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: 12px; letter-spacing: .04em; color: #9AA6B6; flex-wrap: wrap; }
.breadcrumb a { color: #9AA6B6; text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb .sep { color: #5F6B7C; }
.breadcrumb .current { color: var(--gold-2); }

/* ============ Sections ============ */
.section { background: var(--bg); padding: 104px 0; }
.section-surface { background: var(--surface); }
.section-navy { background: var(--navy-1); color: var(--cream); }
.section-navy-2 { background: var(--navy-2); }
.section-tight { padding: 82px 0; }
.section-loose { padding: 96px 0; }

.section-head { text-align: center; max-width: 660px; margin: 0 auto; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; color: var(--ink); margin-top: 16px; }
.section-navy .section-head h2, .section-navy-2 .section-head h2 { color: var(--cream); }
.section-head p { font-weight: 300; font-size: 16px; line-height: 1.8; color: var(--ink2); margin-top: 18px; }
.section-navy .section-head p, .section-navy-2 .section-head p { color: #C7CEDA; }
.section-head.align-left { text-align: left; margin: 0; }

/* two-column intro blocks */
.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 64px; align-items: center;
}
.split-tight { gap: 56px; }
.split h2 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.13; margin-top: 16px; }
.split p { font-weight: 300; font-size: 16px; line-height: 1.9; color: var(--ink2); margin-top: 16px; }
.split p:first-of-type { margin-top: 24px; }
.split .text-link { margin-top: 30px; }

.framed-photo { position: relative; }
.framed-photo::before {
  content: ''; position: absolute; inset: 0; transform: translate(18px, 18px);
  border: 1px solid var(--gold-3); border-radius: 4px;
}
.framed-photo.frame-left::before { transform: translate(-18px, 18px); }
.framed-photo img {
  position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 4px;
  box-shadow: 0 24px 60px rgba(15,31,53,.18);
}

/* stats */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 24px; }
.stat-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 12px; }
.stat-circle {
  width: 96px; height: 96px; border-radius: 50%; border: 1px solid rgba(201,169,106,.4);
  display: flex; align-items: center; justify-content: center; background: rgba(201,169,106,.06);
}
.stat-circle span { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 38px; color: var(--gold-2); line-height: 1; }
.stat-item .stat-label { font-size: 13px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: #AEB8C6; }

/* domain / practice-area cards */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 20px; }
.cards-grid-wide { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.domain-card {
  text-decoration: none; display: flex; flex-direction: column; gap: 18px; padding: 30px 26px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px;
  transition: border-color .3s ease, background-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.section-surface .domain-card { background: var(--surface); }
.domain-card:hover { border-color: var(--gold-2); transform: translateY(-5px); box-shadow: 0 18px 40px rgba(15,31,53,.1); }
.domain-card .dicon { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; flex: none; transition: transform .4s cubic-bezier(.22,.61,.36,1); }
.domain-card:hover .dicon { transform: translateY(-4px) rotate(-6deg) scale(1.1); }
.domain-card .dname { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 20px; line-height: 1.25; color: var(--ink); }
.domain-card .dnum { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 20px; color: var(--gold-3); }
.domain-card .dtop { display: flex; align-items: center; justify-content: space-between; }
.domain-card .ddesc { font-weight: 300; font-size: 13.5px; line-height: 1.7; color: var(--ink3); }
.domain-card .dmore { margin-top: 2px; color: var(--gold-dark); font-weight: 600; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }

/* team / avocats preview cards */
.people-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 28px; }
.people-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 44px 32px;
  display: flex; flex-direction: column; align-items: center; text-align: center; transition: all .3s;
}
.people-card:hover { box-shadow: 0 22px 50px rgba(15,31,53,.12); transform: translateY(-4px); }
.people-avatar {
  width: 108px; height: 108px; border-radius: 50%; background: linear-gradient(135deg, var(--navy-3), var(--navy-1));
  border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center;
}
.people-avatar span { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 36px; color: var(--gold-2); }
.people-card h3 { font-size: 24px; color: var(--ink); margin-top: 22px; }
.people-role { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); margin-top: 7px; }
.people-meta { font-weight: 300; font-size: 14px; line-height: 1.7; color: var(--ink3); margin-top: 16px; }
.people-card .text-link { margin-top: 22px; border-bottom: 1px solid var(--gold-2); font-size: 12px; }

/* member cards (photo) */
.member-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px; }
.member-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s ease, border-color .4s ease;
}
.member-card:hover { transform: translateY(-6px); box-shadow: 0 26px 54px rgba(15,31,53,.15); border-color: var(--gold-2); }
.member-photo { position: relative; height: 236px; overflow: hidden; background: linear-gradient(150deg, var(--navy-3), var(--navy-1)); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.member-card:hover .member-photo img { transform: scale(1.06); }
.member-photo .duo { position: absolute; inset: 0; background: linear-gradient(155deg, rgba(16,40,63,.55), rgba(185,151,91,.4)); mix-blend-mode: soft-light; pointer-events: none; transition: opacity .45s ease; }
.member-card:hover .duo { opacity: 0; }
.member-photo .initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 54px; color: var(--gold-2); letter-spacing: .02em; }
.member-body { padding: 22px 22px 26px; text-align: center; }
.member-body .mname { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 21px; color: var(--ink); line-height: 1.15; }
.member-sep { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 9px 0 0; }
.member-sep .rule { width: 16px; height: 1px; background: var(--gold-3); }
.member-sep img { height: 13px; opacity: .65; }
.member-role { font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); margin-top: 8px; }
.member-body .text-link { display: inline-block; margin-top: 14px; border-bottom: 1px solid var(--gold-2); font-size: 11px; }

.team-photo-frame { margin-top: 48px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(201,169,106,.28); box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.team-photo-frame img { width: 100%; height: auto; display: block; }

.pull-quote { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.45; color: var(--ink); text-align: center; max-width: 620px; margin: 0 auto; }
.script-quote { font-family: 'Parisienne', cursive; font-size: clamp(28px, 3.4vw, 40px); color: var(--gold); line-height: 1.35; text-align: center; }

/* clients mosaic */
.client-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 22px; }
.client-card { position: relative; border-radius: 4px; overflow: hidden; box-shadow: 0 10px 28px rgba(15,31,53,.12); }
.client-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform .6s; }
.client-card:hover img { transform: scale(1.06); }
.client-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,22,38,.9) 0%, rgba(11,22,38,.15) 55%, rgba(11,22,38,0) 100%); pointer-events: none; }
.client-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; pointer-events: none; }
.client-caption .cname { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 22px; color: var(--cream); line-height: 1.15; }
.client-caption .cdesc { font-weight: 300; font-size: 12.5px; color: var(--gold-2); margin-top: 4px; }

/* roles */
.roles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 18px; }
.role-card { border: 1px solid var(--line); border-radius: 4px; padding: 34px 24px; text-align: center; background: var(--bg); transition: all .3s; }
.section-surface .role-card { background: var(--bg); }
.role-card:hover { border-color: var(--gold-2); transform: translateY(-4px); }
.role-card .rnum { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 20px; color: var(--gold-dark); }
.role-card .rule { width: 28px; height: 1px; background: var(--gold-3); margin: 12px auto; }
.role-card .rname { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 22px; color: var(--ink); }

/* zones */
.zones-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.zone-card { display: flex; gap: 18px; align-items: flex-start; padding: 28px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; transition: all .3s; }
.zone-card:hover { border-color: var(--gold-2); transform: translateY(-3px); box-shadow: 0 16px 38px rgba(15,31,53,.08); }
.zone-card svg { flex: none; margin-top: 2px; }
.zone-card .zname { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 22px; color: var(--ink); line-height: 1.15; }
.zone-card .zplace { font-weight: 300; font-size: 13.5px; line-height: 1.6; color: var(--ink3); margin-top: 6px; }
.zone-pair { border: 1px solid rgba(201,169,106,.28); border-radius: 4px; padding: 20px 18px; background: rgba(201,169,106,.05); }
.zone-pair .zname { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 19px; color: var(--gold-2); }
.zone-pair .zplace { font-weight: 300; font-size: 12px; line-height: 1.5; color: #9AA6B6; margin-top: 5px; }
.zones-teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.reach-strip { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.reach-strip span { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: clamp(18px, 2vw, 24px); color: var(--gold-2); padding: 0 20px; }

/* avocat fiches */
.avocat-fiche {
  display: grid; grid-template-columns: 280px 1fr; gap: 44px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 40px;
  box-shadow: 0 14px 40px rgba(15,31,53,.07);
}
.avocat-photo-col { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.avocat-photo { width: 210px; height: 262px; border-radius: 6px; overflow: hidden; border: 2px solid var(--gold-3); box-shadow: 0 12px 34px rgba(15,31,53,.14); }
.avocat-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s ease; }
.avocat-photo:hover img { transform: scale(1.05); }
.avocat-photo.no-photo { background: linear-gradient(150deg, var(--navy-3), var(--navy-1)); display: flex; align-items: center; justify-content: center; }
.avocat-photo.no-photo span { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 64px; color: var(--gold-2); }
.avocat-name { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 26px; color: var(--ink); text-align: center; }
.avocat-role { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); margin-top: 6px; text-align: center; }
.avocat-bio p { font-weight: 300; font-size: 15.5px; line-height: 1.9; color: var(--ink2); }
.avocat-bio p + p { margin-top: 14px; }
.avocat-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.avocat-tags span { font-size: 12px; letter-spacing: .05em; color: var(--ink); border: 1px solid var(--gold-3); border-radius: 100px; padding: 7px 16px; }

/* domain detail page */
.domain-hero-icon {
  width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(201,169,106,.3), rgba(201,169,106,.04));
  border: 1px solid rgba(201,169,106,.5); display: flex; align-items: center; justify-content: center;
  flex: none; box-shadow: 0 0 0 9px rgba(201,169,106,.05);
}
.domain-detail-head { display: flex; align-items: center; gap: 26px; margin-top: 26px; flex-wrap: wrap; }
.domain-detail-head h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; color: var(--cream); margin: 0; max-width: 640px; }
.detail-layout { display: flex; gap: 56px; flex-wrap: wrap; align-items: flex-start; }
.detail-main { flex: 1 1 460px; min-width: 0; }
.detail-main h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; margin-top: 14px; }
.detail-main p { font-weight: 300; font-size: 16px; line-height: 1.9; color: var(--ink2); margin-top: 20px; }
.detail-main h3 { font-size: 24px; color: var(--ink); margin-top: 40px; }
.acts-list { margin-top: 22px; display: flex; flex-direction: column; gap: 15px; }
.acts-list div { display: flex; gap: 14px; align-items: flex-start; }
.acts-list img { height: 20px; margin-top: 1px; flex: none; }
.acts-list span { font-weight: 300; font-size: 15.5px; line-height: 1.6; color: var(--ink2); }
.detail-side { flex: 1 1 300px; }
.ref-card { position: sticky; top: 104px; background: var(--navy-2); border-radius: 8px; padding: 34px; box-shadow: 0 20px 50px rgba(15,31,53,.16); }
.ref-card .eyebrow { font-size: 11px; color: var(--gold-2); }
.ref-head { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.ref-head img, .ref-head .ref-initials { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; object-position: top center; border: 2px solid var(--gold); flex: none; }
.ref-head .ref-initials { background: linear-gradient(150deg, var(--navy-3), var(--navy-1)); display: flex; align-items: center; justify-content: center; }
.ref-head .ref-initials span { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 24px; color: var(--gold-2); }
.ref-head .rname { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 20px; color: var(--cream); line-height: 1.15; }
.ref-head .rrole { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); margin-top: 5px; }
.ref-card .rnote { font-weight: 300; font-size: 13.5px; line-height: 1.75; color: #AEB8C6; margin-top: 20px; }
.ref-card .btn { display: flex; text-align: center; margin-top: 24px; width: 100%; justify-content: center; }
.others-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.others-head h3 { font-size: 28px; color: var(--ink); }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 56px; align-items: start; }
.contact-form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 44px; box-shadow: 0 16px 44px rgba(15,31,53,.07); }
.contact-form-card h3 { font-size: 26px; color: var(--ink); margin-bottom: 24px; }
.field-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8A93A0; margin-bottom: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 4px;
  font-size: 14.5px; color: var(--ink); background: var(--input-bg); outline: none; margin-bottom: 18px;
  transition: border-color .2s ease;
}
.contact-form-card textarea { resize: vertical; margin-bottom: 24px; }
.contact-form-card input:focus, .contact-form-card select:focus, .contact-form-card textarea:focus { border-color: var(--gold); }
.form-success { text-align: center; padding: 36px 0; }
.form-success h3 { font-size: 26px; color: var(--ink); margin-top: 18px; }
.form-success p { font-weight: 300; font-size: 15px; color: var(--ink3); margin-top: 10px; }
.contact-coords h2 { font-size: 32px; line-height: 1.15; margin: 14px 0 26px; }
.coord-list { display: flex; flex-direction: column; gap: 20px; }
.coord-row { display: flex; gap: 16px; align-items: flex-start; }
.coord-row svg { flex: none; margin-top: 2px; }
.coord-row div { font-weight: 300; font-size: 15px; line-height: 1.7; color: var(--ink2); }
.qr-card { display: flex; gap: 22px; align-items: center; margin-top: 32px; padding: 24px; background: var(--navy-2); border-radius: 6px; }
.qr-card img { width: 104px; height: 104px; border-radius: 6px; background: #fff; padding: 6px; flex: none; }
.qr-card .qtitle { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 20px; color: var(--cream); }
.qr-card .qtext { font-weight: 300; font-size: 13.5px; line-height: 1.6; color: #AEB8C6; margin-top: 6px; }
.map-frame { margin-top: 24px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: 240px; border: 0; display: block; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; color: var(--cream); }
.cta-band p { font-weight: 300; font-size: 16px; line-height: 1.8; color: #AEB8C6; margin: 18px auto 0; max-width: 560px; }
.cta-band .btn { margin-top: 34px; }

/* feather watermark */
.feather-watermark { position: absolute; height: 300px; opacity: .05; pointer-events: none; }

/* ============ Footer ============ */
.site-footer { background: var(--navy-1); color: #AEB8C6; }
.footer-grid { max-width: 1240px; margin: 0 auto; padding: 72px 40px 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 44px; }
.footer-about img { height: 60px; width: auto; }
.footer-about p { font-weight: 300; font-size: 13.5px; line-height: 1.8; color: #8A93A0; margin-top: 22px; max-width: 260px; }
.footer-heading { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 18px; }
.footer-nav { display: flex; flex-direction: column; gap: 11px; }
.footer-nav a { font-size: 14px; color: #AEB8C6; text-decoration: none; }
.footer-nav a:hover { color: var(--cream); }
.footer-contact { font-weight: 300; font-size: 13.5px; line-height: 1.9; color: #9AA6B6; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; border: 1px solid rgba(174,184,198,.28); border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all .25s; }
.footer-social a:hover { border-color: var(--gold-2); background: rgba(201,169,106,.1); }
.footer-qr { width: 88px; height: 88px; border-radius: 6px; background: #fff; padding: 5px; margin-top: 22px; }
.footer-bottom { border-top: 1px solid rgba(174,184,198,.14); }
.footer-bottom-inner { max-width: 1240px; margin: 0 auto; padding: 22px 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #7A8494; }

/* ============ Reveal-on-scroll ============ */
/* Hidden-until-revealed only applies once JS confirms it will reveal it
   (html.js, set by an inline head script) — with JS off, or before that
   script runs, content is visible by default. Never gate real content on
   scripting for crawlers/no-JS users. */
/* :where() keeps this selector's specificity at zero so it never outranks
   the .is-visible rules below regardless of the html.js prefix. */
:where(html.js) .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }
:where(html.js) .reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .02s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .14s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .2s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .26s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .32s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: .38s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: .44s; }
.reveal-stagger.is-visible > *:nth-child(n+9) { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* skip link */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy-3); color: var(--cream);
  padding: 10px 18px; border-radius: 4px; text-decoration: none; font-size: 13px; transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ============================= RESPONSIVE ============================= */
@media (max-width: 1024px) {
  .container, .site-header .container, .footer-grid, .footer-bottom-inner { padding-left: 22px; padding-right: 22px; }
  .main-nav, .header-cta { display: none; }
  /* the standalone desktop theme toggle is replaced by the one inside .header-mobile-toggle */
  .site-header > .container > .theme-toggle { display: none; }
  .header-mobile-toggle { display: flex; align-items: center; gap: 10px; }
  .menu-toggle { display: flex; }
  .hero-scroll-cue { display: none; }
  .avocat-fiche { grid-template-columns: 220px 1fr; gap: 32px; padding: 32px; }
}

@media (max-width: 760px) {
  .avocat-fiche { grid-template-columns: 1fr; gap: 26px; padding: 28px; justify-items: center; }
  .avocat-fiche > .avocat-bio { text-align: center; }
  .avocat-fiche .avocat-tags { justify-content: center; }
  h1 { font-size: clamp(28px, 7.6vw, 44px) !important; }
  h2 { font-size: clamp(24px, 6vw, 36px) !important; }
  h3 { font-size: clamp(20px, 5vw, 26px) !important; }
  .domain-card { align-items: center; text-align: center; }
  .domain-card .dtop { justify-content: center; width: 100%; }
  .domain-card .dicon { margin: 0 auto; }
  .section, .section-tight, .section-loose { padding-top: 60px; padding-bottom: 60px; }
  .split, .zones-teaser-grid { gap: 40px; }
  .zones-teaser-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .detail-layout { gap: 36px; }
  .ref-card { position: static; }
}

@media (max-width: 560px) {
  .container, .site-header .container, .footer-grid, .footer-bottom-inner { padding-left: 16px; padding-right: 16px; }
  body, p { font-size: 15px; }
  h1 { font-size: clamp(26px, 8.4vw, 38px) !important; }
  .people-card, .member-card { max-width: 360px; margin: 0 auto; width: 100%; }
  .avocat-photo { width: 170px; height: 212px; }
  .zones-teaser-grid { grid-template-columns: 1fr; }
  .footer-grid { padding-top: 56px; }
}
