/* ===================================================================
   Thanaël Fontaine — Notion.com-DA portfolio
   Pas un page document. Un site marketing personnel, avec du caractère.
   =================================================================== */

:root {
  /* Type — Newsreader (editorial serif w/ expressive italics) + Inter (UI sans) */
  --font-serif: "Newsreader", "Iowan Old Style", "Lyon Display",
                Baskerville, Georgia, serif;
  --font-sans:  "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
                "Helvetica Neue", Helvetica, "Apple Color Emoji", Arial, sans-serif;
  --font-mono:  "SFMono-Regular", Menlo, Consolas, "PT Mono", monospace;

  /* Ink — Notion's warm-dark */
  --ink: #191918;
  --ink-80: rgba(25,25,24,0.82);
  --ink-65: rgba(25,25,24,0.66);
  --ink-50: rgba(25,25,24,0.5);
  --ink-35: rgba(25,25,24,0.34);
  --ink-15: rgba(25,25,24,0.13);
  --ink-08: rgba(25,25,24,0.07);
  --ink-04: rgba(25,25,24,0.035);

  /* Surfaces — Notion marketing's warm cream */
  --paper:    #FBFAF7;       /* base page */
  --cream:    #F4EFE4;       /* hero / section accents */
  --cream-2:  #EDE6D5;       /* deeper cream */
  --bone:     #F7F2E6;
  --white:    #FFFFFF;

  /* Accent — peach, used VERY sparingly */
  --peach:    #E8A87C;
  --peach-2:  #D88F62;
  --terracotta: #C4633C;

  /* Notion sticker / chip palette */
  --tag-gray:   #EFEDE7;
  --tag-blue:   #DCE7F0;
  --tag-green:  #DBE8DE;
  --tag-orange: #F5D9BC;
  --tag-yellow: #F2E9C4;
  --tag-purple: #E6DEED;
  --tag-pink:   #F2DDE5;

  --hairline: rgba(25,25,24,0.09);

  /* Type scale — desktop. Mobile in media query. */
  --display: clamp(56px, 9vw, 120px);
  --h1:      clamp(40px, 6vw, 72px);
  --h2:      clamp(32px, 4.6vw, 56px);
  --h3:      clamp(22px, 2.4vw, 30px);
  --lead:    clamp(20px, 2vw, 26px);
  --body:    17px;
  --small:   14px;

  --col: min(1180px, 92vw);
  --col-tight: min(880px, 92vw);
  --col-prose: min(680px, 92vw);

  --shadow-card: 0 1px 0 rgba(0,0,0,0.02), 0 6px 24px rgba(20,20,18,0.06);
  --shadow-card-hover: 0 1px 0 rgba(0,0,0,0.04), 0 16px 40px rgba(20,20,18,0.12);

  --ease: cubic-bezier(.22,.61,.36,1);

  /* Density */
  --section-py: 120px;
  --block-gap: 28px;
}
html[data-density="compact"] {
  --section-py: 72px;
  --block-gap: 18px;
  --display: clamp(44px, 7vw, 88px);
  --h1: clamp(34px, 4.8vw, 56px);
  --h2: clamp(26px, 3.6vw, 42px);
  --h3: clamp(19px, 2vw, 24px);
  --lead: clamp(17px, 1.6vw, 21px);
  --body: 15px;
}
html[data-density="airy"] {
  --section-py: 180px;
  --block-gap: 40px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv01", "cv11";
  overflow-x: hidden;
}
::selection { background: var(--peach); color: var(--ink); }

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

/* ===========================================
   Typography helpers
   =========================================== */
.serif { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.015em; }
.serif-i { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--display);
  line-height: 0.95;
  letter-spacing: -0.025em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-65);
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--ink-35);
}

.lead {
  font-size: var(--lead);
  line-height: 1.4;
  color: var(--ink-80);
  font-weight: 400;
  max-width: 28ch;
}

/* In-prose links: subtle dotted underline */
.prose a, a.tlink {
  color: var(--ink);
  background-image: linear-gradient(to right, var(--ink-35) 50%, transparent 50%);
  background-position: 0 1.05em;
  background-size: 6px 1px;
  background-repeat: repeat-x;
  transition: background-color .15s, color .15s;
  padding-bottom: 0.06em;
}
.prose a:hover, a.tlink:hover {
  background-image: none;
  background-color: var(--peach);
}

/* ===========================================
   Top nav
   =========================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 4vw, 48px);
  background: rgba(251,250,247,0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.nav.scrolled { border-bottom-color: var(--hairline); background: rgba(251,250,247,0.92); }
.nav .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 15px;
}
.nav .brand .mark {
  width: 26px; height: 26px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: -0.04em;
}
.nav .links {
  display: flex;
  gap: clamp(8px, 2vw, 28px);
  font-size: 14px;
  color: var(--ink-65);
}
.nav .links a {
  padding: 6px 0;
  position: relative;
  transition: color .15s;
}
.nav .links a:hover { color: var(--ink); }
.nav .links a.active { color: var(--ink); }
.nav .links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.nav .right {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--ink-04);
  border-radius: 999px;
  padding: 3px;
  font-size: 12px;
  font-weight: 500;
}
.lang-switch button {
  background: none;
  border: 0;
  color: var(--ink-50);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  transition: all .15s;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
.btn-contact {
  background: var(--ink);
  color: var(--paper);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  border: 0;
  transition: transform .15s, background .15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-contact:hover { background: var(--terracotta); transform: translateY(-1px); }

@media (max-width: 760px) {
  .nav .links { display: none; }
}

/* ===========================================
   Layout containers
   =========================================== */
.section {
  padding: var(--section-py) 0;
  position: relative;
}
.section.tight { padding-block: calc(var(--section-py) * 0.55); }
.container {
  width: var(--col);
  margin: 0 auto;
}
.container.tight { width: var(--col-tight); }
.container.prose { width: var(--col-prose); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-head h2 {
  margin: 8px 0 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--h2);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.section-head .aside {
  font-size: 14px;
  color: var(--ink-50);
  max-width: 32ch;
  line-height: 1.5;
  text-align: right;
}

/* ===========================================
   HERO
   =========================================== */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 120px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 12% 10%, #F8E9CB 0%, transparent 55%),
    radial-gradient(70% 70% at 95% 0%, #F2DCC2 0%, transparent 55%),
    radial-gradient(50% 60% at 50% 100%, #EDE2C9 0%, transparent 60%),
    var(--cream);
}
.hero .container { position: relative; }
.hero .available {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(25,25,24,0.08);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-80);
  margin-bottom: 32px;
}
.hero .available .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #4ea861;
  box-shadow: 0 0 0 3px rgba(78,168,97,0.22);
}
.hero h1.display {
  margin: 0;
  max-width: 18ch;
}
.hero h1.display .accent {
  font-style: italic;
  color: var(--terracotta);
}
.hero .sublead {
  margin-top: 28px;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink-80);
  max-width: 56ch;
}
.hero .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero .hero-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 14.5px;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .15s, background .15s, border-color .15s, color .15s;
}
.hero .hero-cta .btn.primary {
  background: var(--ink); color: var(--paper);
}
.hero .hero-cta .btn.primary:hover { background: var(--terracotta); transform: translateY(-1px); }
.hero .hero-cta .btn.ghost {
  background: rgba(255,255,255,0.5);
  border-color: rgba(25,25,24,0.12);
  color: var(--ink);
}
.hero .hero-cta .btn.ghost:hover { background: rgba(255,255,255,0.9); }

/* Hero two-column layout */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr clamp(180px, 20vw, 280px);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.hero-text { min-width: 0; }

/* Hero "peek" avatar card */
.hero .peek {
  position: relative;
  width: 100%;
  pointer-events: auto;
  z-index: 1;
}
.hero .peek .card {
  background: var(--white);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-card);
  transform: rotate(4deg);
  position: relative;
}
.hero .peek .photo-slot {
  aspect-ratio: 4/5;
  background:
    repeating-linear-gradient(45deg, var(--ink-04) 0 6px, transparent 6px 12px),
    var(--tag-gray);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.hero .peek .card-label {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  text-align: center;
  color: var(--ink-80);
}
.hero .peek .pin {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 22px;
  background: var(--terracotta);
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(196,99,60,0.4);
}

/* Static brand strip — replaces marquee */
.hero-logos {
  margin-top: clamp(48px, 7vw, 80px);
  padding: 22px 0;
  border-top: 1px dashed var(--hairline);
  border-bottom: 1px dashed var(--hairline);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px 28px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  letter-spacing: 0.14em;
  font-weight: 500;
  color: var(--ink-65);
  text-transform: uppercase;
}
.hero-logos .logo-wm.serif-i {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: 19px;
  color: var(--ink-80);
}
.hero-logos .logo-dot {
  color: var(--ink-35);
  font-size: 12px;
}
@media (max-width: 720px) {
  .hero-logos { justify-content: center; gap: 10px 18px; }
  .hero-logos .logo-dot { display: none; }
}

/* Hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}
.hero-stats .stat {
  padding: 0 24px;
  border-left: 1px solid var(--hairline);
}
.hero-stats .stat:first-child { border-left: 0; padding-left: 0; }
.hero-stats .stat .n {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.hero-stats .stat .n .sm {
  font-size: 0.45em;
  color: var(--ink-50);
}
.hero-stats .stat .l {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--ink-65);
  line-height: 1.4;
  max-width: 24ch;
}
@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .hero-stats .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero .peek { display: none; }
}

/* ===========================================
   ABOUT / MANIFESTO
   =========================================== */
.about {
  background: var(--paper);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.about-grid .lead-quote {
  font-family: var(--font-serif);
  font-size: var(--h2);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.about-grid .lead-quote .em {
  font-style: italic;
  color: var(--terracotta);
}
.about-grid .body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-80);
}
.about-grid .body p { margin: 0 0 18px; }
.about-grid .body p:last-child { margin-bottom: 0; }

.signature {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 8px 14px 8px 8px;
  background: var(--cream);
  border-radius: 999px;
  font-size: 14px;
}
.signature .avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 15px;
}
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ===========================================
   CURRENTLY (Now)
   =========================================== */
.now {
  background: var(--cream);
  padding: clamp(60px, 9vw, 120px) 0;
}
.now-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.now-card {
  background: var(--white);
  border-radius: 14px;
  padding: 24px;
  border: 1px solid rgba(25,25,24,0.06);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.now-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.now-card .head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-50);
}
.now-card .head .dot { width: 6px; height: 6px; border-radius: 50%; background: #4ea861; }
.now-card .head .org { font-weight: 500; color: var(--ink-80); }
.now-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.now-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-65);
  flex: 1;
}
.now-card .tags-mini {
  display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px;
}
.now-card .tags-mini span {
  font-size: 11.5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--ink-04);
  color: var(--ink-65);
}
@media (max-width: 880px) { .now-cards { grid-template-columns: 1fr; } }

/* ===========================================
   TIMELINE (Experience)
   =========================================== */
.timeline {
  background: var(--paper);
}
.tl-list {
  position: relative;
  margin-top: 24px;
}
.tl-list::before {
  content: "";
  position: absolute;
  left: 110px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: var(--hairline);
}
.tl-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 32px;
  padding: 22px 0;
  position: relative;
  border-bottom: 1px solid var(--hairline);
  transition: background .2s;
}
.tl-row:hover { background: var(--ink-04); border-radius: 8px; }
.tl-row:last-child { border-bottom: 0; }
.tl-row::before {
  content: "";
  position: absolute;
  left: 105px;
  top: 30px;
  width: 11px; height: 11px;
  background: var(--paper);
  border: 2px solid var(--ink-35);
  border-radius: 50%;
  box-sizing: border-box;
  z-index: 1;
}
.tl-row.current::before {
  background: var(--terracotta);
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(196,99,60,0.18);
}
.tl-when {
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  color: var(--ink-65);
  line-height: 1.2;
}
.tl-when .yrs {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 12px;
  color: var(--ink-35);
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.tl-body { padding-left: 24px; }
.tl-body .role {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
}
.tl-body .role .at {
  color: var(--ink-50);
  font-weight: 400;
  margin-left: 6px;
}
.tl-body .place {
  font-size: 13px;
  color: var(--ink-50);
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tl-body .blurb {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-80);
  max-width: 65ch;
}
.tl-body .tl-chips {
  display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px;
}
.tl-body .tl-chips span {
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--ink-04);
  color: var(--ink-65);
}
@media (max-width: 720px) {
  .tl-list::before { left: 6px; }
  .tl-row { grid-template-columns: 1fr; gap: 8px; padding-left: 28px; }
  .tl-row::before { left: 1px; top: 28px; }
  .tl-body { padding-left: 0; }
  .tl-when { font-size: 17px; }
}

/* ===========================================
   PROJECTS / GALLERY
   =========================================== */
.projects {
  background: var(--bone);
  padding: clamp(80px, 10vw, 140px) 0;
}
.proj-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.proj-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(25,25,24,0.06);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.proj-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.proj-card.span-3 { grid-column: span 3; }
.proj-card.span-2 { grid-column: span 2; }
.proj-card.span-6 { grid-column: span 6; }
.proj-card .visual {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(50px, 7vw, 100px);
  position: relative;
  overflow: hidden;
  transition: background .25s;
}
.proj-card.span-6 .visual { aspect-ratio: 21/7; }
.proj-card .visual[data-tone="peach"]  { background: linear-gradient(135deg, #F5D6B5 0%, #E8A87C 100%); }
.proj-card .visual[data-tone="cream"]  { background: linear-gradient(135deg, #F2E6CC 0%, #D8C496 100%); }
.proj-card .visual[data-tone="green"]  { background: linear-gradient(135deg, #D1E0CC 0%, #95B493 100%); }
.proj-card .visual[data-tone="blue"]   { background: linear-gradient(135deg, #C9D6E2 0%, #8FA9C0 100%); }
.proj-card .visual[data-tone="ink"]    { background: linear-gradient(135deg, #2a2a28 0%, #15140f 100%); color: white; }
.proj-card .visual[data-tone="terra"]  { background: linear-gradient(135deg, #E8A87C 0%, #C4633C 100%); }
.proj-card .visual[data-tone="lilac"]  { background: linear-gradient(135deg, #DDD2E3 0%, #B0A2C2 100%); }
.proj-card .visual .glyph { filter: drop-shadow(0 4px 8px rgba(0,0,0,0.12)); transition: transform .35s var(--ease); }
.proj-card .visual .icon-svg { width: 56px; height: 56px; color: rgba(20,18,15,0.85); }
.proj-card .visual[data-tone="terra"] .icon-svg,
.proj-card .visual[data-tone="ink"] .icon-svg { color: rgba(255,250,243,0.92); }
.proj-card:hover .visual .glyph { transform: scale(1.05) rotate(-3deg); }
.proj-card .visual .badge {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.proj-card .visual .badge.dark {
  background: rgba(0,0,0,0.4); color: white;
}
.proj-card .info {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.proj-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.proj-card.span-6 h3 { font-size: 36px; }
.proj-card h3 .sub-mark {
  font-family: var(--font-sans);
  font-size: 0.55em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-muted, #6b6660);
  margin-left: 6px;
  vertical-align: 0.18em;
}
.proj-card .desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-65);
  flex: 1;
}
.proj-card .proj-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-50);
  margin-top: 6px;
}
.proj-card .proj-meta .arrow {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--ink-04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, transform .2s;
}
.proj-card:hover .proj-meta .arrow {
  background: var(--ink);
  color: var(--paper);
  transform: translateX(2px);
}
@media (max-width: 980px) {
  .proj-grid { grid-template-columns: 1fr 1fr; }
  .proj-card.span-3, .proj-card.span-2, .proj-card.span-6 { grid-column: span 1; }
  .proj-card.span-6 .visual { aspect-ratio: 16/9; }
  .proj-card.span-6 h3 { font-size: 24px; }
}
@media (max-width: 600px) {
  .proj-grid { grid-template-columns: 1fr; }
}

/* ===========================================
   EVENTS / TALKS
   =========================================== */
.events {
  background: var(--paper);
}
.featured-event {
  background: var(--ink);
  color: var(--paper);
  border-radius: 20px;
  padding: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.featured-event::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(232,168,124,0.4) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.featured-event .eyebrow { color: rgba(255,255,255,0.65); }
.featured-event .eyebrow::before { background: rgba(255,255,255,0.4); }
.featured-event h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--h2);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 14px 0 16px;
}
.featured-event .who {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  max-width: 56ch;
}
.featured-event .stats-mini {
  display: flex;
  gap: 28px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.featured-event .stats-mini .s .n {
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.featured-event .stats-mini .s .l {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.featured-event .poster {
  aspect-ratio: 4/5;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.featured-event .poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(232,168,124,0.25) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.featured-event .poster .top {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 24px;
}
.featured-event .poster .big {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-top: auto;
  word-break: keep-all;
  hyphens: none;
  max-width: 100%;
}
.featured-event .poster .meta {
  position: relative;
  z-index: 1;
  font-size: 10.5px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Poster logo row — side by side on dark bg, both rendered as white */
.featured-event .poster-logos {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  align-self: flex-start;
}
.featured-event .poster-logo {
  display: block;
  height: 26px;
  width: auto;
  object-fit: contain;
}
/* START Paris is already white-on-transparent — no filter needed */
.featured-event .poster-logo--start { height: 24px; }
/* VivaTech is colorful with dark "TECHNOLOGY" — invert to all-white for contrast on dark bg */
.featured-event .poster-logo--vivatech { filter: brightness(0) invert(1); height: 26px; }
.featured-event .poster-times {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1;
  color: rgba(255,255,255,0.35);
  font-weight: 300;
}

@media (max-width: 880px) {
  .featured-event { grid-template-columns: 1fr; }
  .featured-event .poster { aspect-ratio: 5/4; max-height: 320px; }
}

/* Event-list logo badges */
.event-item .ev-logo {
  display: inline-block;
  height: 22px;
  width: auto;
  vertical-align: middle;
  margin-right: 6px;
  object-fit: contain;
  position: relative;
  top: -1px;
}
/* For the logos-only title row (START × VivaTech) */
.event-item .ev-title--logos {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.event-item .ev-title-x {
  font-size: 13px;
  color: var(--ink-50);
  line-height: 1;
}

.event-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.event-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  transition: border-color .2s, transform .2s;
}
.event-item:hover { border-color: var(--ink-35); transform: translateY(-2px); }
.event-item .yr {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--ink-50);
  line-height: 1;
  letter-spacing: -0.02em;
}
.event-item .ev-title {
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.35;
  margin: 0;
}
.event-item .ev-sub {
  font-size: 13px;
  color: var(--ink-50);
  margin-top: 3px;
}
.event-item .ev-kind {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--tag-gray);
  color: var(--ink-65);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.event-item .ev-kind.organizer { background: var(--tag-orange); }
.event-item .ev-kind.speaker { background: var(--tag-blue); }
@media (max-width: 700px) {
  .event-list { grid-template-columns: 1fr; }
  .event-item { grid-template-columns: 50px 1fr; }
  .event-item .ev-kind { grid-column: 2; justify-self: start; }
}

/* ===========================================
   PODCAST
   =========================================== */
.podcast {
  background: linear-gradient(135deg, #1ed760 0%, #1db954 50%, #169c46 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.podcast::before {
  content: "";
  position: absolute;
  top: -20%; left: -10%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 60%);
}
.podcast::after {
  content: "🎙";
  position: absolute;
  bottom: -40px; right: -20px;
  font-size: 400px;
  opacity: 0.08;
  filter: blur(2px);
  transform: rotate(-15deg);
  pointer-events: none;
}
.podcast .container {
  position: relative;
  z-index: 1;
}
.podcast .pod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.podcast .eyebrow { color: rgba(255,255,255,0.7); }
.podcast .eyebrow::before { background: rgba(255,255,255,0.4); }
.podcast h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--h1);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 14px 0 20px;
  max-width: 18ch;
}
.podcast h2 .em { font-style: italic; }
.podcast .show-meta {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  max-width: 50ch;
}
.podcast .pod-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 13px 22px;
  background: white;
  color: #1db954;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  transition: transform .2s, box-shadow .2s;
}
.podcast .pod-cta:hover { transform: scale(1.04); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.podcast .pod-cta .triangle {
  width: 0; height: 0;
  border-left: 8px solid #1db954;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-left: 2px;
}
.podcast .ep-card {
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.podcast .ep-card .spotify-embed {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: transparent;
}
.podcast .ep-card .ep-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 2px 4px 4px;
}
.podcast .ep-card .art {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f5d6b5 0%, #c4633c 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--ink);
  font-style: italic;
  letter-spacing: -0.04em;
  position: relative;
  overflow: hidden;
}
.podcast .ep-card .art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.3) 0%, transparent 50%);
}
.podcast .ep-card .art > * { position: relative; z-index: 1; }
.podcast .ep-card .ep-num {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.podcast .ep-card .ep-title {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.25;
  margin: 4px 0 8px;
}
.podcast .ep-card .host {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  display: flex; align-items: center; gap: 6px;
}
@media (max-width: 880px) {
  .podcast .pod-grid { grid-template-columns: 1fr; }
}

/* ===========================================
   TESTIMONIALS
   =========================================== */
.testimonials { background: var(--cream); }
.test-card {
  background: var(--white);
  border-radius: 20px;
  padding: clamp(32px, 4.5vw, 56px);
  margin-bottom: 16px;
  border: 1px solid rgba(25,25,24,0.05);
  position: relative;
}
.test-card .open-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 80px;
  line-height: 0.5;
  color: var(--peach);
  position: absolute;
  top: 36px; left: 30px;
  user-select: none;
}
.test-card .quote-text {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: var(--ink);
  padding-left: 40px;
}
.test-card .quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-left: 40px;
}
/* Testimonial avatars — <img> + initials fallback */
.test-card .quote-author .av {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  background: var(--cream-2);
}
.test-card .quote-author img.av { display: block; }
.test-card .quote-author .av-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--ink);
}
.test-card.feature .quote-author .av {
  width: 56px;
  height: 56px;
}
.test-card.feature .quote-author .av-fallback { font-size: 20px; }
.test-card .quote-author .name {
  font-weight: 500;
  font-size: 14px;
}
.test-card .quote-author .name .role {
  font-size: 12.5px;
  color: var(--ink-50);
  font-weight: 400;
  margin-top: 2px;
}
/* Lang-switching for nested .role spans — override default .role display */
.test-card .quote-author .name .role[data-lang] { display: none !important; }
html[lang="fr"] .test-card .quote-author .name .role[data-lang="fr"] { display: block !important; }
html[lang="en"] .test-card .quote-author .name .role[data-lang="en"] { display: block !important; }
.test-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.test-card.feature { grid-column: span 1; }
.test-card.feature .quote-text { font-size: clamp(20px, 2vw, 24px); }
.test-card:not(.feature) .quote-text { font-size: 17px; line-height: 1.5; }
.test-card:not(.feature) { padding: clamp(24px, 3vw, 36px); }
.test-card:not(.feature) .open-quote { font-size: 56px; top: 24px; left: 22px; }
.test-card:not(.feature) .quote-text { padding-left: 28px; }
.test-card:not(.feature) .quote-author { padding-left: 28px; margin-top: 20px; }
@media (max-width: 720px) { .test-grid { grid-template-columns: 1fr; } }

/* ===========================================
   STACK
   =========================================== */
.stack {
  background: var(--paper);
}
.stack-groups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.stack-groups .g h4 {
  margin: 0 0 14px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-50);
  font-weight: 500;
}
.stack-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.stack-chips .chip {
  font-size: 13px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--hairline);
  color: var(--ink);
  transition: transform .15s, border-color .15s;
}
.stack-chips .chip:nth-child(3n) { transform: rotate(-0.6deg); }
.stack-chips .chip:nth-child(4n) { transform: rotate(0.8deg); }
.stack-chips .chip:hover { border-color: var(--peach-2); transform: rotate(0); background: var(--cream); }
@media (max-width: 880px) { .stack-groups { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .stack-groups { grid-template-columns: 1fr; } }

/* ===========================================
   NOTES (articles placeholder)
   =========================================== */
.notes { background: var(--paper); }
.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.note {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 200px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  cursor: pointer;
}
.note:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.note--upcoming { cursor: default; opacity: 0.72; }
.note--upcoming:hover { transform: none; box-shadow: none; opacity: 1; }

/* ===========================================
   Article page (blog/<slug>/index.html)
   =========================================== */
.article-page { background: var(--paper); color: var(--ink); }

.article-back {
  position: fixed; top: 22px; left: 22px; z-index: 30;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(251,250,247,0.78); border: 1px solid var(--hairline);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-family: var(--font-sans); font-size: 13px; font-weight: 500;
  color: var(--ink); transition: all .25s var(--ease);
}
.article-back:hover { background: var(--white); transform: translateX(-2px); }

.article-hero {
  padding: clamp(120px, 14vw, 180px) 0 clamp(40px, 6vw, 60px);
  background:
    radial-gradient(60% 60% at 10% 20%, var(--cream-2) 0%, transparent 55%),
    var(--cream);
  border-bottom: 1px solid var(--hairline);
}
.article-hero .container { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.article-hero .article-kind {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-65);
  margin-bottom: 24px;
}
.article-hero .article-kind .badge {
  padding: 4px 10px; border-radius: 999px;
  background: var(--terracotta); color: var(--paper);
  letter-spacing: 0.12em;
}
.article-hero .article-kind .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-35); }

.article-hero h1 {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(36px, 5vw, 64px); line-height: 1.04;
  letter-spacing: -0.02em; margin: 0;
}
.article-hero h1 .italic { font-style: italic; color: var(--terracotta); }
.article-hero .lede {
  margin: clamp(24px, 3vw, 36px) 0 0;
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5; color: var(--ink-80); max-width: 60ch;
}
.article-hero .author-row {
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
}
.article-hero .author-row .av {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 18px;
}
.article-hero .author-row .author-name { font-weight: 500; font-size: 14px; }
.article-hero .author-row time { font-size: 13px; color: var(--ink-50); }
.article-hero .author-row .sep { color: var(--ink-35); }

.article-body {
  max-width: 680px; margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) 24px clamp(60px, 8vw, 100px);
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.75;
  color: var(--ink-80);
}
.article-body p { margin: 0 0 22px; }
.article-body p:first-of-type::first-letter {
  font-size: 3.2em; line-height: 0.9;
  float: left; margin: 0.05em 0.08em 0 -0.04em;
  font-weight: 500; color: var(--terracotta);
}
.article-body h2 {
  margin: clamp(40px, 5vw, 64px) 0 18px;
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15;
  letter-spacing: -0.015em; color: var(--ink);
}
.article-body h2 .italic { font-style: italic; color: var(--terracotta); }
.article-body h3 {
  margin: 32px 0 12px;
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(19px, 1.8vw, 22px); line-height: 1.25;
  color: var(--ink);
}
.article-body ul, .article-body ol {
  margin: 0 0 22px; padding-left: 22px;
}
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body em { font-style: italic; }
.article-body blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--terracotta);
  font-style: italic;
  color: var(--ink);
}
.article-body a {
  color: var(--ink);
  background-image: linear-gradient(to right, var(--terracotta) 50%, transparent 50%);
  background-position: 0 1.05em;
  background-size: 6px 1px;
  background-repeat: repeat-x;
  transition: background-color .15s, color .15s;
  padding-bottom: 0.06em;
}
.article-body a:hover { background-image: none; background-color: var(--peach); }
.article-body hr {
  margin: 40px 0;
  border: 0; border-top: 1px solid var(--hairline);
}
.article-body code {
  font-family: var(--font-mono); font-size: 0.92em;
  padding: 2px 6px; border-radius: 4px;
  background: var(--ink-04); color: var(--ink);
}

.article-foot {
  max-width: 680px; margin: 0 auto;
  padding: 0 24px clamp(60px, 8vw, 100px);
  border-top: 1px solid var(--hairline);
  padding-top: 32px;
}
.article-foot .foot-eyebrow {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-50); font-weight: 500;
}
.article-foot h3 {
  margin: 10px 0 24px;
  font-family: var(--font-serif); font-weight: 400;
  font-size: 26px; letter-spacing: -0.015em;
}
.article-foot .related {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
@media (max-width: 640px) { .article-foot .related { grid-template-columns: 1fr; } }
.article-foot .rel-card {
  padding: 18px 20px; border: 1px solid var(--hairline);
  border-radius: 12px; background: var(--white);
  display: flex; flex-direction: column; gap: 6px;
  transition: transform .2s var(--ease), border-color .2s;
}
.article-foot .rel-card:hover { transform: translateY(-2px); border-color: var(--ink-35); }
.article-foot .rel-card .r-kind {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-50);
}
.article-foot .rel-card .r-title {
  font-family: var(--font-serif); font-size: 18px;
  line-height: 1.25; letter-spacing: -0.01em; color: var(--ink);
}
.article-foot .back-to-blog {
  margin-top: 32px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--ink-65);
}
.article-foot .back-to-blog:hover { color: var(--ink); }
.note .n-kind {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--ink-04);
  color: var(--ink-65);
  width: fit-content;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.note .n-title {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  flex: 1;
}
.note .n-foot {
  font-size: 12.5px;
  color: var(--ink-50);
  display: flex;
  justify-content: space-between;
}
@media (max-width: 880px) { .notes-grid { grid-template-columns: 1fr; } }

/* ===========================================
   CONTACT — closing
   =========================================== */
.contact {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(80px, 12vw, 180px) 0;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  top: -10%; left: 50%;
  transform: translateX(-50%);
  width: 80%; aspect-ratio: 1.4;
  background: radial-gradient(ellipse at center, rgba(232,168,124,0.18) 0%, transparent 60%);
  filter: blur(40px);
}
.contact .container { position: relative; }
.contact .big {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  max-width: 14ch;
}
.contact .big .em { font-style: italic; color: var(--peach); }
.contact .sub {
  margin-top: 28px;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.5;
  color: rgba(251,250,247,0.65);
  max-width: 50ch;
}
.contact .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.contact .actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  transition: transform .15s, background .15s, color .15s;
}
.contact .actions .btn.primary {
  background: var(--peach);
  color: var(--ink);
}
.contact .actions .btn.primary:hover { background: white; transform: translateY(-2px); }
.contact .actions .btn.ghost {
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--paper);
}
.contact .actions .btn.ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }

.contact .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13.5px;
  color: rgba(251,250,247,0.55);
}
.contact .meta a:hover { color: var(--peach); }

/* ===========================================
   Booking modal — bottom-anchored popup
   =========================================== */
.book-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.book-modal[hidden] { display: none; }
.book-modal.open { pointer-events: auto; }

.book-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20,18,15,0.45);
  opacity: 0;
  transition: opacity .3s var(--ease);
  cursor: pointer;
}
.book-modal.open .book-backdrop { opacity: 1; }

.book-panel {
  position: relative;
  background: var(--paper);
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -24px 60px rgba(0,0,0,0.35), 0 -1px 0 rgba(255,255,255,0.04) inset;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform .35s var(--ease);
  overflow: hidden;
}
.book-modal.open .book-panel { transform: translateY(0); }

.book-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--hairline);
  flex-shrink: 0;
}
.book-head h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.015em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.book-close {
  width: 32px;
  height: 32px;
  border: 0;
  background: var(--ink-04);
  border-radius: 50%;
  color: var(--ink-65);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s, color .15s;
  padding: 0;
  flex-shrink: 0;
}
.book-close:hover { background: var(--ink-15); color: var(--ink); }

.book-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: var(--paper);
}
.book-iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

/* Desktop: anchor in bottom-right corner like a side-popup */
@media (min-width: 760px) {
  .book-modal {
    padding: 24px;
    align-items: flex-end;
    justify-content: flex-end;
  }
  .book-panel {
    max-width: 440px;
    max-height: 80vh;
    border-radius: 18px;
    transform: translateY(calc(100% + 24px));
  }
  .book-iframe { min-height: 560px; }
}

/* Calendar embed — framed card on dark contact section */
.calendar-embed {
  margin-top: 72px;
  position: relative;
}
.calendar-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.calendar-eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(251,250,247,0.55);
}
.calendar-sub {
  font-size: 15px;
  color: rgba(251,250,247,0.5);
  line-height: 1.5;
}
.calendar-frame {
  background: var(--paper);
  border-radius: 18px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.35),
    0 2px 0 rgba(255,255,255,0.04) inset;
  overflow: hidden;
}
.calendar-iframe {
  display: block;
  width: 100%;
  height: 600px;
  border: 0;
  border-radius: 10px;
  background: var(--paper);
}
@media (max-width: 640px) {
  .calendar-frame { padding: 8px; }
  .calendar-iframe { height: 720px; }
}

/* ===========================================
   FOOTER
   =========================================== */
.footer {
  background: var(--ink);
  color: rgba(251,250,247,0.4);
  padding: 28px 0;
  font-size: 12.5px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===========================================
   Language visibility helpers
   =========================================== */
[data-lang] { display: none; }
html[lang="fr"] [data-lang="fr"] { display: revert; }
html[lang="en"] [data-lang="en"] { display: revert; }
.lang-block[data-lang] { display: none; }
html[lang="fr"] .lang-block[data-lang="fr"] { display: block; }
html[lang="en"] .lang-block[data-lang="en"] { display: block; }
.lang-flex[data-lang] { display: none; }
html[lang="fr"] .lang-flex[data-lang="fr"] { display: flex; }
html[lang="en"] .lang-flex[data-lang="en"] { display: flex; }

/* ===========================================
   Reveal on scroll
   =========================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================================
   Mobile tweaks
   =========================================== */
@media (max-width: 540px) {
  :root { --body: 15.5px; }
  .nav { padding-inline: 16px; }
}
