
/* ALAIN PALUKU | UI guided by Brand Design System V29 · Monochrome */
:root {
  color-scheme: light;
  --bg:#FFFFFF; --card:#F5F5F5; --soft:#E8E8E8;
  --text:#111113; --text-muted:#59595E;
  --border:#D5D5D5; --border-strong:#858585;
  --accent:#111113; --accent-hover:#333336; --on-accent:#FFFFFF;
  --ok:#5A7A2E; --warn:#B25A1E; --err:#BF4B49; --info:#2F6F78;
  --ok-soft:#E8EEE1; --warn-soft:#F3E7DD; --err-soft:#F5E5E5; --info-soft:#E3EFF0;
  --shadow:0 1px 2px rgb(0 0 0/.06),0 20px 40px -24px rgb(0 0 0/.25);
  --border-width:1px; --opacity-disabled:.4;
  --font-title:var(--font-body); --font-body:"Quicksand Variable",ui-rounded,"Trebuchet MS",system-ui,sans-serif;
  --fw-body:500; --fw-ui:600; --fw-title:700; --fw-strong:700;
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px;
  --s6:32px; --s7:48px; --s8:64px; --s9:96px;
  --r-sm:14px; --r-md:18px; --r-lg:24px; --r-pill:18px;
  --r-outer-lg:calc(var(--r-lg) + var(--s4));
  --fs-xs:14px; --fs-sm:16px; --fs-md:17px; --fs-lg:22px;
  --fs-h3:28px; --fs-h2:clamp(32px,5.5vw,52px); --fs-display:clamp(58px,8vw,112px);
  --dur-fast:150ms; --dur:250ms; --ease:cubic-bezier(.22,1,.36,1);
  --line:1px solid var(--border); --line-strong:1px solid var(--border-strong);
  --container:1200px;
}
* {box-sizing:border-box}
@supports(corner-shape:superellipse(1.5)){:where(*){corner-shape:superellipse(1.5)}}
html {scroll-behavior:smooth;scroll-padding-top:110px;scrollbar-color:var(--border-strong) transparent}
body {margin:0;background:var(--bg);color:var(--text);font:var(--fw-body) var(--fs-md)/1.6 var(--font-body);-webkit-font-smoothing:antialiased;overflow-x:hidden}
body,button,input,textarea {font-family:var(--font-body)}
h1,h2,h3,p {margin:0}
h1,h2,h3 {font-weight:var(--fw-title);line-height:1.1;letter-spacing:-.042em;text-wrap:balance}
p {text-wrap:pretty}
a {color:inherit;text-decoration:none}
button {color:inherit;cursor:pointer}
button,input,textarea {font:inherit}
button:disabled {cursor:not-allowed;opacity:.45}
::selection {background:var(--accent);color:var(--on-accent)}
:where(a,button,input,textarea):focus-visible {outline:2px solid var(--accent);outline-offset:4px}
.sr-only {position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%);border:0;padding:0;margin:-1px}
.skip-link {position:fixed;top:-80px;left:24px;z-index:100;background:var(--accent);color:var(--on-accent);padding:10px 18px;border-radius:var(--r-sm)}
.skip-link:focus {top:16px}
.container {width:min(100% - 64px,var(--container));margin-inline:auto}
.heading-dot,.hero-period {color:var(--text-muted)}
/* Header */
.site-header {height:82px;position:sticky;top:0;z-index:30;background:color-mix(in srgb,var(--bg) 85%,transparent);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);border-bottom:var(--line)}
.header-inner {height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand {display:inline-flex;align-items:center;gap:13px;font-weight:700;letter-spacing:-.04em;font-size:19px;white-space:nowrap}
.brand-mark {width:41px;height:41px;border-radius:var(--r-sm);display:grid;place-items:center;background:var(--accent);color:var(--on-accent);font-size:15px;letter-spacing:-.09em;position:relative;padding-right:2px}
.brand-dot {position:absolute;right:7px;bottom:7px;font-size:14px;line-height:1}
.site-logo {display:block;width:38px;height:38px;object-fit:contain;fill:currentColor}
.header-actions {display:flex;align-items:center;gap:22px}
.site-nav {display:flex;align-items:center;gap:2px}
.site-nav a {position:relative;font-size:14px;font-weight:700;color:var(--text-muted);padding:12px 17px;border-radius:var(--r-sm);transition:color var(--dur),background var(--dur)}
.site-nav a:hover {color:var(--text);background:var(--card)}
.site-nav a[aria-current="page"] {color:var(--text)}
.site-nav a[aria-current="page"]::after {content:"";position:absolute;width:5px;height:5px;border-radius:50%;background:var(--accent);left:50%;bottom:4px;transform:translateX(-50%)}
.theme-button,.menu-button {border:var(--line);background:var(--bg);border-radius:var(--r-sm);width:43px;height:43px;display:grid;place-items:center;transition:background var(--dur),transform var(--dur)}
.theme-button:hover,.menu-button:hover {background:var(--card);transform:translateY(-1px)}
.theme-button svg {display:block}
.menu-button {display:none;position:relative}
/* Common buttons and motion */
.button {display:inline-flex;align-items:center;justify-content:center;gap:15px;border-radius:var(--r-sm);border:1px solid transparent;min-height:52px;padding:0 22px;font-size:14px;font-weight:700;white-space:nowrap;transition:background var(--dur),border-color var(--dur),transform var(--dur),box-shadow var(--dur)}
.button svg {flex:none;transition:transform .45s var(--ease)}
.button:hover svg,.text-link:hover svg {transform:translateX(5px)}
.button:hover {transform:translateY(-2px)}
.button-primary {background:var(--accent);color:var(--on-accent)}
.button-primary:hover {background:var(--accent-hover);box-shadow:0 10px 22px -16px var(--text)}
.button-secondary {background:transparent;border-color:var(--border-strong);color:var(--text)}
.button-secondary:hover {background:var(--card);border-color:var(--text)}
.text-link {font-weight:700;font-size:14px;display:inline-flex;align-items:center;gap:12px;white-space:nowrap}
.text-link svg {transition:transform .4s var(--ease)}
.reveal {opacity:1;transform:none}
.js-enabled .reveal {opacity:0;transform:translateY(20px);transition:opacity .85s var(--ease),transform .95s var(--ease)}
.js-enabled .reveal.in-view {opacity:1;transform:translateY(0)}
@media(prefers-reduced-motion:reduce){.reveal {opacity:1;transform:none}}
/* Home hero */
.home-hero {min-height:680px;display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);align-items:center;gap:30px;padding-top:66px;padding-bottom:72px}
.hero-copy {position:relative;z-index:2;padding-left:28px}
.hero-role {display:inline-flex;align-items:center;gap:10px;font-size:14px;letter-spacing:.06em;font-weight:700;color:var(--text-muted);margin-bottom:26px}
.hero-role::before {content:"";height:6px;width:6px;border-radius:50%;background:var(--text)}
.home-hero h1 {font-size:var(--fs-display);letter-spacing:-.08em;line-height:.96}
.hero-tagline {font-size:clamp(20px,2.2vw,27px);line-height:1.42;letter-spacing:-.02em;font-weight:600;color:var(--text-muted);margin-top:32px}
.hero-actions {display:flex;gap:12px;flex-wrap:wrap;margin-top:40px}
.hero-visual {height:558px;position:relative;display:grid;place-items:center;perspective:1100px;isolation:isolate;overflow:hidden;border:1px solid var(--border);border-radius:var(--r-outer-lg);background:linear-gradient(145deg,var(--card),color-mix(in srgb,var(--card) 47%,var(--bg)))}
.hero-visual::before {content:"";inset:0;position:absolute;z-index:-1;background-image:linear-gradient(var(--border) 1px,transparent 1px),linear-gradient(90deg,var(--border) 1px,transparent 1px);background-size:36px 36px;opacity:.46;mask-image:radial-gradient(ellipse 70% 70% at 50% 50%,#000,transparent)}
.hero-visual::after {content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 70% 15%,rgb(255 255 255/.36),transparent 43%)}
.hero-3d {width:122%;max-width:790px;aspect-ratio:900/780;transform-style:preserve-3d;will-change:transform;transition:transform .8s var(--ease);animation:float-hero 9s ease-in-out infinite alternate}
.hero-3d img {width:100%;height:100%;display:block;object-fit:contain;filter:drop-shadow(0 32px 23px rgb(0 0 0/.07))}
.hero-orbit {position:absolute;border:1px solid var(--border);border-radius:50%;pointer-events:none}
.orbit-one {width:90%;aspect-ratio:1;opacity:.58}
.orbit-two {width:66%;aspect-ratio:1;opacity:.42}
.hero-corner {position:absolute;width:20px;height:20px;opacity:.65}
.corner-a {top:25px;left:25px;border-left:1px solid var(--text-muted);border-top:1px solid var(--text-muted)}
.corner-b {bottom:25px;right:25px;border-right:1px solid var(--text-muted);border-bottom:1px solid var(--text-muted)}
@keyframes float-hero {from{translate:0 9px}to{translate:0 -10px}}
/* Sections */
.section {margin-top:132px}
.section-top {display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:35px}
.section h2,.section-heading {font-size:clamp(30px,4.6vw,46px);letter-spacing:-.055em}
.article-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.article-card {min-width:0;overflow:hidden;position:relative}
.article-media,.work-media {aspect-ratio:1.57;overflow:hidden;border-radius:var(--r-lg);background:var(--card);border:var(--line);isolation:isolate}
.article-media img,.work-media img {width:100%;height:100%;object-fit:cover;display:block;transition:transform 1.1s var(--ease),filter .6s ease}
.article-card:hover .article-media img,.work-card:hover .work-media img {transform:scale(1.055)}
.article-card:hover .article-media,.work-card:hover .work-media {border-color:var(--border-strong)}
.article-info {padding:20px 2px 0}
.article-info time {display:block;color:var(--text-muted);font-size:13px;font-weight:700;letter-spacing:.015em;margin-bottom:11px}
.article-info h3 {font-size:clamp(20px,2.05vw,24px);letter-spacing:-.048em;line-height:1.25}
.article-info p {font-size:15px;line-height:1.75;color:var(--text-muted);margin-top:12px;max-width:38ch}
/* Newsletter */
.newsletter-section {margin-top:132px;margin-bottom:132px;scroll-margin-top:110px}
.newsletter-box {display:flex;align-items:center;justify-content:space-between;gap:40px;min-height:242px;padding:46px 60px;border:var(--line);border-radius:var(--r-outer-lg);background:var(--card)}
.newsletter-box h2 {font-size:clamp(32px,4.5vw,49px)}
.newsletter-form {display:flex;align-items:stretch;gap:10px;flex:0 1 475px}
.newsletter-form input {flex:1;min-width:0;height:53px;border:1px solid var(--border-strong);border-radius:var(--r-sm);background:var(--bg);padding:0 19px;font-size:14px;color:var(--text);font-weight:600}
.newsletter-form input::placeholder {color:var(--text-muted);opacity:1}
.newsletter-form .button {height:53px}
.newsletter-box {position:relative}
.newsletter-box .form-feedback {position:absolute;right:60px;bottom:23px;max-width:500px}
/* Inner pages */
.page-shell {padding-top:96px;padding-bottom:140px}
.page-intro {margin-bottom:62px}
.page-intro h1 {font-size:clamp(62px,8vw,96px);letter-spacing:-.075em;line-height:1.04}
.page-intro p {font-size:clamp(17px,1.7vw,21px);margin-top:22px;color:var(--text-muted);line-height:1.6}
/* About */
.about-profile {display:grid;grid-template-columns:.87fr 1.13fr;align-items:center;gap:clamp(45px,8vw,120px)}
.about-photo {height:550px;border-radius:var(--r-outer-lg);overflow:hidden;border:var(--line);background:var(--card)}
.about-photo img {width:100%;height:100%;display:block;object-fit:cover}
.about-copy h2 {font-size:clamp(37px,5vw,66px)}
.profession {font-weight:700;font-size:18px;color:var(--text-muted);margin-top:14px}
.about-description {font-size:clamp(22px,2.4vw,29px);font-weight:600;line-height:1.55;max-width:22ch;margin-top:36px;letter-spacing:-.023em}
.expertise-section,.works-section,.education-section {margin-top:132px}
.section-heading {margin-bottom:42px}
.expertise-list {border-top:var(--line)}
.expertise-item {display:grid;grid-template-columns:85px 1fr;gap:15px;padding:28px 0;border-bottom:var(--line)}
.expertise-number {font-size:13px;font-weight:700;color:var(--text-muted);padding-top:4px;font-variant-numeric:tabular-nums}
.expertise-item h3 {font-size:24px;letter-spacing:-.035em}
.expertise-item p {font-size:16px;color:var(--text-muted);margin-top:7px}
.work-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 22px}
.work-info {padding:18px 2px 0}
.work-info h3 {font-size:24px}
.work-info p {font-size:15px;color:var(--text-muted);margin-top:11px;max-width:55ch;line-height:1.7}
.education-list {border-top:var(--line)}
.education-item {display:flex;justify-content:space-between;align-items:start;gap:24px;padding:30px 0;border-bottom:var(--line)}
.education-item h3 {font-size:23px;letter-spacing:-.04em}
.education-item p {font-size:16px;color:var(--text-muted);margin-top:10px}
.education-date {font-size:14px;font-weight:700;color:var(--text-muted);white-space:nowrap;padding-top:5px}
/* Articles */
.filters {display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:42px}
.filter-chip {border:1px solid var(--border);background:var(--bg);border-radius:var(--r-sm);padding:12px 19px;font-size:13px;font-weight:700;transition:background var(--dur),color var(--dur),border-color var(--dur)}
.filter-chip:hover {background:var(--card);border-color:var(--border-strong)}
.filter-chip[aria-pressed="true"] {background:var(--accent);color:var(--on-accent);border-color:var(--accent)}
.article-list {row-gap:58px}
.article-card[hidden] {display:none!important}
.pagination {min-height:50px;display:flex;justify-content:center;align-items:center;gap:10px;margin-top:80px}
.pagination button {border:1px solid var(--border);border-radius:var(--r-sm);background:var(--bg);min-width:42px;height:42px;padding:0 12px;font-size:14px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;transition:background var(--dur),color var(--dur)}
.pagination button[aria-current="page"] {background:var(--accent);color:var(--on-accent);border-color:var(--accent)}
.pagination button:hover:not(:disabled):not([aria-current="page"]) {background:var(--card)}
.pagination button:disabled {opacity:.33}
/* Contact */
.contact-shell {max-width:940px;min-height:calc(100svh - 380px)}
.contact-shell .page-intro {margin-bottom:56px}
.contact-form {display:grid;gap:29px}
.field-row {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.field label {display:block;font-size:14px;font-weight:700;margin-bottom:11px}
.field input,.field textarea {display:block;width:100%;background:var(--card);color:var(--text);font-size:16px;font-weight:500;border:1px solid var(--border);border-radius:var(--r-sm);padding:15px 18px;transition:border-color var(--dur),background var(--dur)}
.field input {min-height:53px}
.field textarea {min-height:190px;resize:vertical}
.field input:hover,.field textarea:hover {border-color:var(--border-strong)}
.field input:focus,.field textarea:focus {border-color:var(--text);outline:none;box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 13%,transparent)}
.field :is(input,textarea)[aria-invalid="true"] {border-color:var(--err);box-shadow:0 0 0 1px var(--err)}
.form-submit {justify-self:start;min-width:204px}
.form-feedback {font-size:13px;font-weight:700;line-height:1.5;color:var(--text-muted);min-height:0}
.form-feedback:empty {display:none}
.form-feedback[data-state="error"] {color:var(--err)}
.form-feedback[data-state="success"] {color:var(--ok)}
/* Footer */
.site-footer {border-top:1px solid #39393c;padding:46px 0 38px;background:#111113;color:#f5f5f5;--text:#f5f5f5;--text-muted:#b1b1b5;--border:#39393c;--border-strong:#929296;--accent:#fff;--on-accent:#111113}
.footer-inner {display:grid;gap:36px}
.footer-primary,.footer-bottom {display:flex;align-items:center;justify-content:space-between;gap:25px}
.footer-brand {display:inline-flex;align-items:center}
.footer-brand img {display:block;width:42px;height:42px;object-fit:contain}
.footer-nav,.social-nav {display:flex;align-items:center;gap:13px;flex-wrap:wrap}
.footer-nav a,.social-nav a {font-size:14px;font-weight:700;transition:color var(--dur)}
.footer-nav a:hover,.social-nav a:hover {color:var(--text-muted)}
.footer-nav span,.social-nav span {font-size:15px;color:var(--border-strong)}
.footer-bottom {padding-top:28px;border-top:var(--line);color:var(--text-muted)}
.footer-bottom small {font-size:13px;font-weight:600}
/* Motion accessibility + touch targets */
@media(pointer:coarse){.filter-chip,.pagination button,.button{min-height:44px}}
@media(max-width:1050px){
  .container{width:min(100% - 48px,var(--container))}
  .home-hero{min-height:580px;padding-top:50px;gap:14px}
  .hero-copy{padding-left:0}
  .hero-visual{height:480px}
  .home-hero h1{font-size:clamp(62px,7.5vw,92px)}
  .hero-actions{gap:9px}
  .hero-actions .button{min-height:49px;padding:0 15px;font-size:13px}
  .newsletter-box{padding:45px 36px}
  .newsletter-box .form-feedback{right:36px;bottom:20px}
}
@media(max-width:760px){
  .container{width:min(100% - 40px,var(--container))}
  .site-header{height:72px}
  .header-actions{gap:9px}
  .brand{gap:9px;font-size:17px}
  .brand-mark{width:37px;height:37px;font-size:14px}
  .menu-button{display:grid}
  .site-nav{position:absolute;top:calc(100% + 9px);left:20px;right:20px;display:flex;flex-direction:column;gap:2px;align-items:stretch;background:var(--bg);border:var(--line);border-radius:calc(var(--r-lg) + 8px);padding:10px;box-shadow:var(--shadow);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-9px);transition:opacity var(--dur),transform var(--dur),visibility var(--dur);z-index:20}
  .site-nav.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
  .site-nav a{font-size:16px;padding:12px 16px}
  .site-nav a[aria-current="page"]{background:var(--card)}
  .site-nav a[aria-current="page"]::after{left:auto;right:18px;top:50%;bottom:auto;transform:translateY(-50%)}
  .home-hero{grid-template-columns:1fr;gap:35px;padding-top:70px;padding-bottom:60px;min-height:auto}
  .hero-role{margin-bottom:20px}
  .home-hero h1{font-size:clamp(68px,12vw,100px)}
  .hero-tagline{margin-top:25px;font-size:22px}
  .hero-actions{margin-top:33px}
  .hero-actions .button{padding:0 18px}
  .hero-visual{height:410px}
  .hero-3d{width:min(120%,620px)}
  .section{margin-top:92px}
  .section-top{margin-bottom:29px}
  .article-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:38px 18px}
  .compact-grid .article-card:last-child{display:block}
  .newsletter-section{margin-bottom:90px}
  .newsletter-box{min-height:auto;padding:36px 28px 57px;flex-direction:column;align-items:stretch;gap:24px}
  .newsletter-form{flex:initial}
  .newsletter-box .form-feedback{left:28px;right:28px;bottom:17px}
  .page-shell{padding-top:65px;padding-bottom:96px}
  .page-intro{margin-bottom:45px}
  .page-intro h1{font-size:clamp(55px,11vw,78px)}
  .about-profile{grid-template-columns:1fr;gap:35px}
  .about-photo{max-width:540px;height:460px}
  .about-description{margin-top:24px;max-width:35ch}
  .expertise-section,.works-section,.education-section{margin-top:95px}
  .section-heading{margin-bottom:30px}
  .work-grid{gap:40px 18px}
  .filters{gap:8px;margin-bottom:34px}
  .filter-chip{padding:9px 13px;font-size:12px}
  .article-list{row-gap:40px}
  .pagination{margin-top:60px}
  .contact-shell{max-width:940px}
}
@media(max-width:540px){
  .brand-name{font-size:16px}
  .hero-actions{align-items:stretch}
  .hero-actions .button{width:100%;justify-content:center}
  .home-hero{padding-top:57px}
  .home-hero h1{font-size:clamp(65px,15vw,86px)}
  .hero-visual{height:340px;border-radius:var(--r-lg)}
  .section-top{align-items:start;gap:12px;flex-direction:column}
  .article-grid{grid-template-columns:1fr;gap:39px}
  .compact-grid .article-card:last-child{display:block}
  .article-info{padding-top:17px}
  .article-info h3{font-size:24px}
  .newsletter-form{flex-direction:column}
  .newsletter-form .button{width:100%}
  .newsletter-box{padding:33px 23px 72px;border-radius:var(--r-lg)}
  .newsletter-box .form-feedback{left:23px;right:23px;bottom:23px}
  .about-photo{height:410px}
  .about-copy h2{font-size:40px}
  .about-description{font-size:23px}
  .expertise-item{grid-template-columns:40px 1fr;gap:12px;padding:24px 0}
  .expertise-item h3{font-size:21px}
  .work-grid{grid-template-columns:1fr}
  .education-item{flex-direction:column;gap:12px}
  .field-row{grid-template-columns:1fr;gap:26px}
  .form-submit{width:100%}
  .footer-primary,.footer-bottom{flex-direction:column;align-items:flex-start;gap:23px}
  .footer-bottom{gap:19px}
  .site-footer{padding:39px 0 31px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}
  .reveal{opacity:1!important;transform:none!important}
  .hero-3d{transform:none!important;translate:none!important}
}
@media print{
  :root{--bg:#fff;--card:#fff;--text:#111113;--text-muted:#59595E;--border:#929292}
  .site-header,.hero-visual,.menu-button,.theme-button,.hero-actions,.pagination,.filters,.site-footer{display:none!important}
  body{color:#111;background:white}
  .reveal{opacity:1;transform:none}
  .container{width:100%}
  .page-shell{padding:20px 0}
  .article-grid{grid-template-columns:repeat(2,1fr)}
}


/* Navigation virtuelle : quatre pages dans un seul document HTML. */
.site-page[hidden] { display:none!important; }
.site-page:not([hidden]) { animation:page-reveal .55s cubic-bezier(.22,1,.36,1) both; }
@keyframes page-reveal { from {opacity:.65;transform:translateY(9px)} to {opacity:1;transform:translateY(0)} }
@media (prefers-reduced-motion:reduce) { .site-page:not([hidden]) { animation:none!important } }

/* Revision: Heroicons Solid + component accessibility and responsive fixes. */
.icon-sprite{position:absolute!important;width:0;height:0;overflow:hidden;pointer-events:none}
.hi-icon{width:20px;height:20px;display:inline-block;flex:none;color:inherit;vertical-align:middle;fill:currentColor}
.button .hi-icon,.text-link .hi-icon{width:18px;height:18px}
.theme-button .hi-icon{width:20px;height:20px}
.menu-button .hi-icon{width:22px;height:22px}
.menu-button .icon-menu-close{display:none}
.menu-button[aria-expanded="true"] .icon-menu-open{display:none}
.menu-button[aria-expanded="true"] .icon-menu-close{display:block}
.filter-icon{width:14px;height:14px;margin-right:4px}
.filter-chip{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:44px}
.pagination .hi-icon{width:16px;height:16px}
.newsletter-form-group{flex:0 1 475px;min-width:0;display:grid;gap:12px}
.newsletter-form{flex:initial;width:100%}
.newsletter-box .form-feedback{position:static;max-width:none;overflow-wrap:anywhere}
.field input:focus-visible,.field textarea:focus-visible,.newsletter-form input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.newsletter-form input[aria-invalid="true"]{border-color:var(--err);box-shadow:0 0 0 1px var(--err)}
.form-feedback[data-state="info"]{color:var(--text-muted)}
.social-pending{font-size:14px;font-weight:700;color:var(--text-muted);cursor:default}
/* Preserve three recent article cards at all viewport widths. */
.compact-grid .article-card:last-child{display:block}
:where(.site-page,.newsletter-section,.filters){scroll-margin-top:110px}
@media(max-width:760px){
  .newsletter-box{padding-bottom:36px}
  .newsletter-form-group{width:100%;flex:initial}
  .site-nav{max-height:calc(100dvh - 96px);overflow-y:auto}
}
@media(max-width:540px){
  .newsletter-box{padding-bottom:33px}
  .newsletter-form-group{width:100%}
  .pagination{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){.site-page:not([hidden]){animation:none!important}}



/* Refinement | typographic texture and removing square visual motifs. */
:root {
  --title-ink:var(--text);
  --title-ink-soft:color-mix(in srgb,var(--text) 85%,var(--bg));
}
/* A directional micro-grain and neutral ink variation, clipped INSIDE letterforms.
   The contrast stays high and the accent color never changes. */
:is(h1,h2,h3) {
  text-transform:uppercase;
  font-weight:700;
  letter-spacing:.004em;
  line-height:1.17;
  color:var(--text);
  background-image:
    repeating-linear-gradient(112deg,transparent 0px,transparent 2.5px,color-mix(in srgb,var(--bg) 12%,transparent) 2.75px,transparent 3.25px),
    linear-gradient(135deg,var(--title-ink) 0%,var(--title-ink-soft) 33%,var(--title-ink) 60%,var(--title-ink-soft) 85%,var(--title-ink) 100%);
  background-clip:text;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
/* Dot is part of the title but receives no independent decorative color. */
:is(h1,h2,h3) .heading-dot,
:is(h1,h2,h3) .hero-period {color:inherit;-webkit-text-fill-color:inherit}
.home-hero h1 {font-size:clamp(55px,7.2vw,99px);letter-spacing:-.035em;line-height:1.02;overflow-wrap:normal}
.page-intro h1 {font-size:clamp(49px,7vw,84px);letter-spacing:.015em;line-height:1.08}
.section h2,.section-heading {font-size:clamp(29px,4vw,43px);letter-spacing:.02em}
.article-info h3 {font-size:clamp(18px,1.75vw,22px);letter-spacing:.006em;line-height:1.34}
.work-info h3,.expertise-item h3,.education-item h3 {font-size:clamp(19px,2vw,22px);letter-spacing:.008em;line-height:1.35}
.about-copy h2 {font-size:clamp(35px,4.8vw,61px);letter-spacing:0;line-height:1.08}
/* Remove all decor-only square grids and corner marks, retain 3D engineering art. */
.hero-visual {background:radial-gradient(ellipse at 54% 45%,var(--soft),var(--card) 70%,var(--bg));border-color:transparent}
.hero-visual::before {content:none!important;background-image:none!important}
.hero-corner {display:none!important}
/* Newsletter: no absolute feedback, no input/button collision at any breakpoint. */
.newsletter-section {margin-top:clamp(85px,10vw,132px);margin-bottom:clamp(86px,10vw,132px)}
.newsletter-box {
  display:grid;
  grid-template-columns:minmax(0,.76fr) minmax(0,1fr);
  align-items:center;
  gap:clamp(30px,5vw,78px);
  min-height:236px;
  padding:clamp(34px,5vw,60px);
  border:1px solid var(--border);
  border-radius:32px;
  background:var(--card);
  position:relative;
}
.newsletter-box h2 {font-size:clamp(29px,3.1vw,41px);letter-spacing:.02em;overflow-wrap:anywhere}
.newsletter-form-group {min-width:0;width:100%;max-width:none;flex:none;display:grid;gap:12px}
.newsletter-form {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:10px;width:100%;min-width:0}
.newsletter-form input {width:100%;min-width:0;min-height:54px;height:54px;padding:0 18px;border-radius:14px;background:var(--bg);border:1px solid var(--border-strong);font-size:15px}
.newsletter-form .button {width:auto;min-height:54px;height:54px;padding:0 21px;white-space:nowrap;flex-shrink:0}
.newsletter-box .form-feedback {position:static!important;inset:auto!important;max-width:none;width:100%;margin:0;line-height:1.5;overflow-wrap:anywhere}
.newsletter-box .form-feedback:empty {display:none}
.newsletter-form :is(input,button):focus-visible {outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:900px) {
  .newsletter-box{grid-template-columns:1fr;gap:26px;padding:36px;border-radius:28px;min-height:0}
  .newsletter-form-group{width:100%}
}
@media(max-width:540px) {
  .newsletter-box{padding:28px 22px;gap:25px;border-radius:24px}
  .newsletter-box h2{font-size:30px}
  .newsletter-form{grid-template-columns:1fr;gap:10px}
  .newsletter-form input,.newsletter-form .button{width:100%;min-height:52px;height:52px}
  .home-hero h1{font-size:clamp(53px,13.6vw,73px)}
  .article-info h3{font-size:21px}
  .page-intro h1{font-size:clamp(44px,11vw,62px)}
}
@media(prefers-reduced-motion:reduce) {
  :is(h1,h2,h3){background-attachment:initial}
}
@media print {
  :is(h1,h2,h3){color:#111113;-webkit-text-fill-color:#111113;background-image:none}
}

  

/* ─── Motion design & marque | theSVG, édition unique ─────────────────── */
.brand-sprite{position:absolute!important;width:0;height:0;overflow:hidden;pointer-events:none}
.brand-icon{display:block;flex:none;width:22px;height:22px;fill:currentColor;color:inherit}
/* Réseaux sociaux : aucun faux lien tant que les profils ne sont pas renseignés. */
.social-nav{gap:21px}
.social-profile{display:inline-flex;align-items:center;gap:9px;position:relative;font-size:14px!important;font-weight:700;color:var(--text-muted)!important;white-space:nowrap;cursor:default;transition:color .35s ease,transform .45s var(--ease)}
.social-profile .brand-icon{width:18px;height:18px;color:var(--text)}
.social-profile .social-name{font-size:inherit;color:inherit;font-weight:inherit}
.social-profile::after{content:"";position:absolute;height:1px;width:100%;bottom:-5px;left:0;transform:scaleX(0);transform-origin:left;background:var(--text-muted);transition:transform .45s var(--ease)}
.social-profile:hover{color:var(--text)!important;transform:translateY(-2px)}
.social-profile:hover::after{transform:scaleX(1)}
/* Domaines d’expertise : logos techniques discrets, aucune carte décorative. */
.expertise-item{grid-template-columns:68px minmax(0,1fr) auto;align-items:center;gap:20px;transition:padding .55s var(--ease),border-color .4s}
.expertise-item:hover{padding-left:8px;border-bottom-color:var(--border-strong)}
.expertise-item > div:nth-child(2){min-width:0}
.expertise-number{align-self:center;padding:0}
.expertise-logos{display:flex;align-items:center;justify-content:flex-end;gap:9px;min-width:0}
.expertise-logo{width:50px;height:50px;display:grid;place-items:center;flex:none;border:1px solid var(--border);border-radius:16px;background:var(--bg);color:var(--text);transition:transform .65s cubic-bezier(.2,.9,.18,1.2),border-color .35s ease,background .4s ease,box-shadow .4s ease}
.expertise-logo .brand-icon{width:25px;height:25px;transition:transform .65s var(--ease)}
.expertise-item:hover .expertise-logo{transform:translateY(calc(-3px - var(--logo-order,0)*1px)) rotate(calc((var(--logo-order,0) - 1)*-3deg));border-color:var(--border-strong);background:var(--card);box-shadow:0 12px 20px -17px var(--text)}
.expertise-item:hover .brand-icon{transform:scale(1.08)}
@media(max-width:760px){
  .expertise-item{grid-template-columns:44px minmax(0,1fr) auto;gap:12px}
  .expertise-logo{width:43px;height:43px;border-radius:14px}
  .expertise-logo .brand-icon{width:22px;height:22px}
  .expertise-logos{gap:5px}
}
@media(max-width:540px){
  .expertise-item{grid-template-columns:38px minmax(0,1fr);align-items:start;gap:7px 14px}
  .expertise-number{padding-top:6px;align-self:start}
  .expertise-logos{grid-column:2;grid-row:2;justify-content:flex-start;margin-top:12px;gap:8px}
  .expertise-logo{width:40px;height:40px}
  .expertise-logo .brand-icon{width:22px;height:22px}
  .social-nav{gap:18px}
  .social-profile{font-size:13px!important}
  .social-profile .brand-icon{width:18px;height:18px}
}
/* An editorial entrance system: staggered, minimal distances, spring-like settling. */
@media(prefers-reduced-motion:no-preference){
  .js-enabled .reveal:not(.in-view){opacity:0;transform:translate3d(0,29px,0) scale(.988);filter:blur(3px)}
  .js-enabled .reveal{transition:opacity .9s cubic-bezier(.18,1,.32,1),transform 1.05s cubic-bezier(.18,1,.32,1),filter .95s ease;transition-delay:calc(var(--reveal-order,0) * 90ms)}
  .js-enabled .reveal.in-view{opacity:1;transform:translate3d(0,0,0) scale(1);filter:blur(0)}
  .js-enabled .hero-copy .hero-role,.js-enabled .hero-copy h1,.js-enabled .hero-copy .hero-tagline,.js-enabled .hero-copy .hero-actions{
    opacity:0;transform:translate3d(0,17px,0);
    transition:opacity .9s ease,transform 1s cubic-bezier(.18,1,.32,1)
  }
  .js-enabled .hero-copy.in-view .hero-role,.js-enabled .hero-copy.in-view h1,.js-enabled .hero-copy.in-view .hero-tagline,.js-enabled .hero-copy.in-view .hero-actions{opacity:1;transform:none}
  .hero-copy .hero-role{transition-delay:80ms!important}
  .hero-copy h1{transition-delay:175ms!important}
  .hero-copy .hero-tagline{transition-delay:310ms!important}
  .hero-copy .hero-actions{transition-delay:445ms!important}
  .hero-visual{--spot-x:62%;--spot-y:32%}
  .hero-visual::after{background:radial-gradient(ellipse 62% 60% at var(--spot-x) var(--spot-y),color-mix(in srgb,var(--bg) 85%,transparent),transparent 78%);opacity:.45;transition:opacity 1s ease}
  .hero-3d{transform:rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) translate3d(var(--shift-x,0px),var(--shift-y,0px),0);transition:transform .9s var(--ease);animation:float-hero 9s ease-in-out infinite alternate}
  .hero-orbit{animation:orbit-breathe 12s ease-in-out infinite alternate;will-change:opacity}
  .orbit-two{animation-delay:-5s;animation-duration:15s}
  @keyframes orbit-breathe{0%{opacity:.24;scale:.965}100%{opacity:.61;scale:1.025}}
  /* Hover comes from imagery, not from added square decoration. */
  .article-media,.work-media{transition:border-color .4s ease,transform .8s var(--ease),box-shadow .8s var(--ease)}
  .article-card:hover .article-media,.work-card:hover .work-media{transform:translateY(-4px);box-shadow:0 18px 35px -31px var(--text)}
  .article-card:hover h3,.work-card:hover h3{transition:opacity .3s ease;opacity:.72}
  .button{position:relative;isolation:isolate;overflow:hidden}
  .button::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 32%,color-mix(in srgb,var(--on-accent) 12%,transparent) 51%,transparent 69%);transform:translateX(-130%);pointer-events:none;transition:transform .85s var(--ease)}
  .button-primary:hover::after{transform:translateX(130%)}
  .theme-button .hi-icon{transition:transform .7s var(--ease)}
  .theme-button:hover .hi-icon{transform:rotate(-18deg)}
  .filter-chip{transition:transform .35s var(--ease),background .35s ease,color .35s ease,border-color .35s ease}
  .filter-chip:hover{transform:translateY(-2px)}
  .page-intro h1{animation:ink-appearance .75s var(--ease) both}
  @keyframes ink-appearance{from{background-position:15% 0,10% 0}to{background-position:0 0,0 0}}
  .site-page:not([hidden]){animation:page-reveal .7s var(--ease) both}
}
/* Avoid pointer-driven effects on coarse devices and all forced-reduced-motion settings. */
@media(hover:none){.expertise-item:hover{padding-left:0}.expertise-item:hover .expertise-logo{transform:none}}
@media(prefers-reduced-motion:reduce){
 .hero-orbit,.hero-3d,.page-intro h1{animation:none!important}
 .hero-3d{transform:none!important}
 .js-enabled .hero-copy :is(.hero-role,h1,.hero-tagline,.hero-actions){opacity:1!important;transform:none!important;transition:none!important}
 .js-enabled .reveal{opacity:1!important;transform:none!important;filter:none!important;transition:none!important}
 .button::after{display:none!important}
}

/* ─── Responsive and component audit · bilingual edition ─── */
:root { --container:1160px; --card-radius:26px; }
.container {width:min(calc(100% - 64px),var(--container));}
.site-header {height:76px;}
.header-inner{min-width:0;}
.header-actions{gap:10px;min-width:0;}
.site-nav{gap:2px;}
.site-nav a{padding:11px 12px;white-space:nowrap;}
/* Only the icon controls are circular; textual navigation remains legible. */
.theme-button,.menu-button,.language-button {flex:none;box-sizing:border-box;width:46px;height:46px;min-width:46px;min-height:46px;border-radius:50%;border:1px solid var(--border);background:var(--bg);display:grid;place-items:center;transition:background .3s ease,border-color .3s ease,transform .45s var(--ease)}
.language-button{font-size:12px;font-weight:700;letter-spacing:.035em;line-height:1;}
.theme-button:hover,.menu-button:hover,.language-button:hover{background:var(--card);border-color:var(--border-strong);transform:translateY(-2px)}
.language-button:focus-visible{outline-offset:4px}
.menu-button{display:none}
/* Cohesive card system: shared structure, image frame, padding and baseline. */
.article-grid,.work-grid{align-items:stretch}
.article-card,.work-card{display:flex;flex-direction:column;min-width:0;height:100%;overflow:hidden;border:1px solid var(--border);border-radius:var(--card-radius);background:var(--card);isolation:isolate;transition:border-color .35s ease,box-shadow .55s var(--ease),transform .55s var(--ease)}
.article-media,.work-media{position:relative;width:100%;aspect-ratio:16 / 10;flex:none;overflow:hidden;background:var(--soft);border:0!important;border-bottom:1px solid var(--border)!important;border-radius:0!important;transform:none!important;box-shadow:none!important}
.article-media img,.work-media img{width:100%;height:100%;object-fit:cover;display:block;transform:scale(1);transition:transform .9s var(--ease)}
.article-info,.work-info{display:flex;flex-direction:column;flex:1;min-width:0;padding:23px 24px 28px;overflow-wrap:break-word}
.article-info time{margin:0 0 13px;font-size:12px;line-height:1.4;letter-spacing:.045em;color:var(--text-muted)}
.article-info h3,.work-info h3{font-size:clamp(17px,1.6vw,21px);line-height:1.35;letter-spacing:.004em;hyphens:auto;overflow-wrap:break-word}
.article-info p,.work-info p{font-size:14px;line-height:1.75;margin-top:12px;max-width:none;color:var(--text-muted)}
.work-info h3{min-height:0}
.article-card:hover,.work-card:hover{transform:translateY(-4px);border-color:var(--border-strong);box-shadow:0 22px 42px -35px var(--text)}
.article-card:hover .article-media img,.work-card:hover .work-media img{transform:scale(1.045)}
.article-list{row-gap:24px}
.work-grid{gap:24px;grid-template-columns:repeat(2,minmax(0,1fr))}
.article-grid{gap:24px;grid-template-columns:repeat(3,minmax(0,1fr))}
.article-card[hidden]{display:none!important}
/* Editorial hero: readable at widescreen, tablet, and small phones. */
.home-hero{grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);min-height:0;gap:clamp(26px,5vw,78px);padding-top:clamp(54px,6vw,88px);padding-bottom:clamp(54px,6vw,92px)}
.hero-copy{min-width:0;padding-left:0}
.home-hero h1{font-size:clamp(55px,6.7vw,93px);line-height:1.02;letter-spacing:-.03em}
.hero-tagline{max-width:27ch;line-height:1.48;font-size:clamp(19px,2vw,25px);margin-top:26px}
.hero-actions{gap:12px;margin-top:32px}
.hero-actions .button{white-space:normal;text-align:center;min-height:50px;padding:11px 17px;line-height:1.4}
.hero-visual{height:clamp(390px,43vw,540px);min-width:0;border-radius:32px}
.hero-3d{max-width:100%;width:115%;}
.hero-orbit{max-width:90%}
/* Confident, breathable sections without oversized blank space. */
.section,.expertise-section,.works-section,.education-section{margin-top:clamp(76px,9vw,116px)}
.section-top{align-items:flex-end;gap:20px}
.newsletter-section{margin-top:clamp(76px,9vw,116px);margin-bottom:clamp(86px,9vw,116px)}
.page-shell{padding-top:clamp(58px,7vw,88px);padding-bottom:clamp(86px,10vw,128px)}
.page-intro{margin-bottom:clamp(36px,5vw,58px)}
.page-intro h1{font-size:clamp(46px,6.5vw,82px);line-height:1.09}
.about-profile{grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);gap:clamp(36px,6vw,90px)}
.about-photo{height:clamp(390px,42vw,540px)}
.about-description{max-width:34ch}
.expertise-item{min-width:0}
.expertise-item>div:nth-child(2) h3{overflow-wrap:break-word}
/* Newsletter remains a complete component, not overlays/absolute feedback. */
.newsletter-box{grid-template-columns:minmax(0,.7fr) minmax(0,1fr);gap:clamp(22px,4vw,60px);padding:clamp(28px,4.5vw,56px)}
.newsletter-form-group{min-width:0}
.newsletter-form input,.newsletter-form .button{min-height:54px}
.newsletter-form .button{white-space:nowrap}
/* Fluid category controls and pagination. */
.filters{gap:9px;row-gap:10px}
.filter-chip{font-size:13px;min-height:44px;max-width:100%;white-space:normal;line-height:1.4;text-align:center}
.pagination{gap:8px;margin-top:55px;min-height:44px;flex-wrap:wrap}
.pagination button{min-height:44px;min-width:44px;border-radius:14px}
/* Footer can wrap without forcing unwanted overflow. */
.footer-inner,.footer-primary,.footer-bottom{min-width:0}
.footer-nav{row-gap:10px;column-gap:10px}
.social-nav{row-gap:12px;column-gap:18px}
.footer-bottom small{line-height:1.6}
@media(max-width:1110px){
 .site-nav a{padding-inline:10px;font-size:13px}
 .brand{font-size:17px}
 .header-actions{gap:7px}
 .article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .compact-grid .article-card:last-child{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,.43fr) minmax(0,.57fr);min-height:230px}
 .compact-grid .article-card:last-child .article-media{height:100%;aspect-ratio:auto;border-bottom:0!important;border-right:1px solid var(--border)!important}
 .compact-grid .article-card:last-child .article-info{justify-content:center}
 .hero-visual{height:450px}
}
/* Mobile menu begins before desktop nav would collide with controls. */
@media(max-width:990px){
 .site-header{height:72px}
 .container{width:min(calc(100% - 44px),var(--container))}
 .site-nav{position:absolute;top:calc(100% + 8px);left:22px;right:22px;display:flex;flex-direction:column;gap:3px;align-items:stretch;background:var(--bg);border:1px solid var(--border);border-radius:26px;padding:10px;box-shadow:var(--shadow);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-9px);transition:opacity var(--dur),transform var(--dur),visibility var(--dur);z-index:20;max-height:calc(100dvh - 90px);overflow-y:auto}
 .site-nav.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
 .site-nav a{font-size:16px;padding:13px 16px}
 .site-nav a[aria-current="page"]{background:var(--card)}
 .site-nav a[aria-current="page"]::after{right:16px;left:auto;top:50%;bottom:auto;transform:translateY(-50%)}
 .menu-button{display:grid}
 .home-hero{grid-template-columns:1fr;gap:30px;padding-top:54px;padding-bottom:22px}
 .hero-copy{max-width:720px}
 .home-hero h1{font-size:clamp(60px,9vw,94px)}
 .hero-tagline{margin-top:20px}
 .hero-visual{height:clamp(340px,52vw,470px)}
 .about-profile{grid-template-columns:1fr;gap:34px}
 .about-photo{width:min(100%,580px);height:clamp(390px,55vw,510px)}
 .newsletter-box{grid-template-columns:1fr;gap:26px}
}
@media(max-width:700px){
 .container{width:min(calc(100% - 36px),var(--container))}
 .site-nav{left:18px;right:18px}
 .brand-name{font-size:16px}
 .brand-mark{width:38px;height:38px}
 .header-actions{gap:7px}
 .theme-button,.menu-button,.language-button{width:43px;height:43px;min-width:43px;min-height:43px}
 .home-hero{padding-top:48px;gap:27px}
 .home-hero h1{font-size:clamp(55px,11vw,80px)}
 .hero-visual{height:clamp(290px,70vw,400px);border-radius:26px}
 .hero-actions .button{width:100%;justify-content:center}
 .hero-actions{max-width:420px;display:grid;grid-template-columns:1fr}
 .section{margin-top:75px}
 .section-top{align-items:flex-start;flex-direction:column;gap:15px}
 .article-grid,.work-grid{grid-template-columns:1fr;gap:20px}
 .compact-grid .article-card:last-child{display:flex;grid-column:auto;min-height:0}
 .compact-grid .article-card:last-child .article-media{height:auto;aspect-ratio:16 / 10;border-right:0!important;border-bottom:1px solid var(--border)!important}
 .article-media,.work-media{aspect-ratio:16 / 9.5}
 .article-info,.work-info{padding:20px 20px 24px}
 .article-info h3,.work-info h3{font-size:20px}
 .page-intro h1{font-size:clamp(43px,9.8vw,66px)}
 .page-shell{padding-top:54px;padding-bottom:88px}
 .about-photo{height:clamp(330px,90vw,440px)}
 .about-description{font-size:clamp(20px,5.2vw,25px)}
 .expertise-section,.works-section,.education-section{margin-top:80px}
 .newsletter-box{padding:28px 23px;border-radius:24px}
 .newsletter-form{grid-template-columns:1fr;gap:10px}
 .newsletter-form .button{width:100%}
 .field-row{grid-template-columns:1fr;gap:25px}
 .contact-form{gap:24px}
 .footer-primary,.footer-bottom{align-items:flex-start;flex-direction:column;gap:22px}
 .footer-inner{gap:25px}
 .site-footer{padding:38px 0 30px}
}
@media(max-width:390px){
 .brand-name{display:none}
 .hero-visual{height:300px}
 .home-hero h1{font-size:clamp(53px,14vw,63px)}
 .expertise-item{grid-template-columns:32px minmax(0,1fr);gap:10px}
 .expertise-logos{flex-wrap:wrap}
 .filters{gap:7px}
 .filter-chip{padding:9px 12px}
}
@media(hover:none){.article-card:hover,.work-card:hover{transform:none;box-shadow:none}}
@media(prefers-reduced-motion:reduce){.article-card,.work-card,.article-media img,.work-media img{transition:none!important;transform:none!important}}
@media print{.language-button{display:none!important}.article-card,.work-card{break-inside:avoid}}



/* ── Direction éditoriale · blog personnel compact ──
   Surfaces pures, sans quadrillage global ni décor quadrillé d'image. */
:root{
  --font-title:"Lora Variable",Georgia,"Times New Roman",serif;
  --font-body:"Quicksand Variable",ui-rounded,"Trebuchet MS",system-ui,sans-serif;
  --container:1060px;
  --card-radius:18px;
  --fs-md:15px;
  --fs-sm:14px;
}
body{background:var(--bg);font-size:15px;line-height:1.65}
body::before{content:none!important;display:none!important;background:none!important}
:where(h1,h2,h3){font-family:var(--font-title);font-weight:600;letter-spacing:-.028em;line-height:1.21}
/* Preserve the headline texture idea, but turn it into barely perceptible ink rather than a noisy surface. */
:is(h1,h2,h3){
  background-image:linear-gradient(120deg,var(--text) 0%,color-mix(in srgb,var(--text) 94%,var(--bg)) 48%,var(--text) 100%);
  background-clip:text;-webkit-background-clip:text;
  color:var(--text);-webkit-text-fill-color:transparent;
  text-transform:uppercase;
}
:where(h1,h2,h3) :is(.heading-dot,.hero-period){-webkit-text-fill-color:inherit}
.container{width:min(calc(100% - 48px),var(--container))}
.site-header{height:68px}
.brand{font-size:16px;gap:10px;letter-spacing:-.02em}
.brand-mark{height:36px;width:36px;font-size:12px;border-radius:11px}
.site-nav a{font-size:13px;padding:8px 11px}
.header-actions{gap:7px}
.theme-button,.menu-button,.language-button{height:40px;width:40px;min-height:40px;min-width:40px;border-radius:50%}
.language-button{font-size:11px}
.button{min-height:44px;padding:8px 17px;font-size:13px;gap:10px;border-radius:12px}
.button svg,.text-link svg{width:17px;height:17px}
/* Editorial portrait, with no invented face or giant engineering illustration. */
.home-hero{
  min-height:0;
  grid-template-columns:minmax(0,1.18fr) minmax(260px,.82fr);
  gap:clamp(24px,6vw,84px);
  padding-top:clamp(46px,6vw,84px);
  padding-bottom:clamp(34px,5vw,68px);
  align-items:center;
}
.hero-copy{max-width:610px;padding-left:0}
.hero-author{font-size:13px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--text-muted);margin-bottom:19px}
.hero-author::before{content:"";display:inline-block;height:5px;width:5px;border-radius:50%;margin:0 9px 3px 0;background:var(--text)}
.home-hero h1{font-size:clamp(39px,4.95vw,68px);line-height:1.13;letter-spacing:-.045em;max-width:min(100%,15ch);overflow-wrap:normal}
.hero-tagline{max-width:32ch;margin-top:23px;font-size:clamp(17px,1.45vw,20px);line-height:1.6;font-weight:500;letter-spacing:0}
.hero-actions{gap:10px;margin-top:27px}
.hero-actions .button{min-height:44px;padding:9px 15px;white-space:normal;font-size:12.5px;line-height:1.4}
.hero-visual{
  height:auto!important;min-height:0;display:flex;align-items:center;justify-content:center;
  overflow:visible;border:0!important;border-radius:0!important;
  background:transparent!important;perspective:none;isolation:auto;
}
.hero-visual::before,.hero-visual::after{display:none!important;content:none!important;background:none!important}
.hero-photo-frame{width:min(100%,338px);aspect-ratio:4/4.8;margin:0;overflow:hidden;position:relative;border-radius:22px;background:var(--card);border:1px solid var(--border);box-shadow:0 20px 48px -43px rgb(0 0 0/.36);transform:translateZ(0);}
.hero-photo{display:block;height:100%;width:100%;object-fit:cover}
.hero-orbit,.hero-corner,.hero-3d{display:none!important}
/* Textured serif titles need breathing room, not large fixed-height cards. */
.section,.expertise-section,.works-section,.education-section{margin-top:clamp(56px,6vw,82px)}
.section-top{margin-bottom:23px;gap:14px;align-items:baseline}
.section h2,.section-heading{font-size:clamp(25px,3vw,33px);line-height:1.24;letter-spacing:-.027em}
.article-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.article-list{row-gap:18px}
.article-card,.work-card{border-radius:var(--card-radius);background:var(--card);box-shadow:none}
.article-media,.work-media{aspect-ratio:16/9.6}
.article-info,.work-info{padding:16px 18px 18px}
.article-info time{margin-bottom:10px;font-size:11px;font-weight:600}
.article-info h3,.work-info h3{font-family:var(--font-title);font-size:clamp(15px,1.3vw,18px);line-height:1.36;letter-spacing:-.014em;font-weight:600}
.article-info p,.work-info p{margin-top:10px;font-size:13px;line-height:1.65}
.article-card:hover,.work-card:hover{transform:translateY(-2px);box-shadow:0 13px 35px -32px var(--text)}
.article-card:hover .article-media img,.work-card:hover .work-media img{transform:scale(1.025)}
.work-grid{gap:17px;grid-template-columns:repeat(2,minmax(0,1fr))}
/* Smaller and aligned newsletter, no absolute feedback. */
.newsletter-section{margin-top:clamp(54px,6.5vw,82px);margin-bottom:clamp(62px,7vw,86px)}
.newsletter-box{min-height:0;grid-template-columns:minmax(0,.72fr) minmax(0,1fr);padding:clamp(24px,3.5vw,36px);gap:clamp(18px,3vw,38px);border-radius:20px;background:var(--card)}
.newsletter-box h2{font-size:clamp(25px,2.8vw,32px)}
.newsletter-form{grid-template-columns:minmax(0,1fr) auto;gap:8px}
.newsletter-form input,.newsletter-form .button{height:44px;min-height:44px;font-size:13px}
.newsletter-form input{padding-inline:14px;border-radius:12px}
.newsletter-form .button{padding-inline:15px}
.newsletter-box .form-feedback{font-size:12px;line-height:1.55}
/* Interior pages and profile follow the same compact editorial rhythm. */
.page-shell{padding-top:clamp(42px,5vw,66px);padding-bottom:clamp(64px,7vw,92px)}
.page-intro{margin-bottom:clamp(26px,3.5vw,42px)}
.page-intro h1{font-size:clamp(36px,5vw,54px);line-height:1.13;letter-spacing:-.035em}
.page-intro p{font-size:16px;margin-top:12px}
.about-profile{grid-template-columns:minmax(0,.76fr) minmax(0,1.24fr);gap:clamp(25px,4.5vw,56px)}
.about-photo{height:clamp(280px,31vw,400px);max-width:355px;border-radius:20px}
.about-copy h2{font-size:clamp(29px,3.3vw,42px)}
.profession{font-size:14px;margin-top:10px}
.about-description{font-size:clamp(17px,1.8vw,22px);line-height:1.55;margin-top:20px;font-weight:500;max-width:36ch;letter-spacing:-.012em}
.expertise-item{padding:19px 0;grid-template-columns:56px minmax(0,1fr) auto;gap:12px}
.expertise-item h3{font-size:19px;line-height:1.3}
.expertise-item p{font-size:14px;margin-top:5px}
.section-heading{margin-bottom:25px}
.education-item{padding:19px 0}
.education-item h3{font-size:19px}
.education-item p{font-size:14px;margin-top:5px}
.education-date{font-size:12px}
.filters{margin-bottom:24px;gap:7px}
.filter-chip{min-height:38px;padding:8px 13px;font-size:12px;border-radius:12px}
.pagination{margin-top:32px;gap:7px}
.pagination button{height:40px;min-width:40px;min-height:40px;border-radius:11px;font-size:12px}
.text-link{font-size:13px;gap:7px}
/* Responsiveness: two compact columns until content genuinely needs one. */
@media(max-width:1100px){
  .article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .compact-grid .article-card:last-child{display:flex;grid-column:auto;min-height:0;grid-template-columns:none}
  .compact-grid .article-card:last-child .article-media{height:auto;aspect-ratio:16/9.6;border-right:0!important;border-bottom:1px solid var(--border)!important}
  .compact-grid .article-card:last-child .article-info{justify-content:start}
}
@media(max-width:990px){
  .site-header{height:64px}
  .container{width:min(calc(100% - 40px),var(--container))}
  .site-nav{left:20px;right:20px}
  .home-hero{grid-template-columns:minmax(0,1.08fr) minmax(210px,.92fr);gap:24px;padding-top:48px;padding-bottom:34px}
  .home-hero h1{font-size:clamp(38px,5.3vw,52px)}
  .hero-photo-frame{width:min(100%,285px)}
  .newsletter-box{grid-template-columns:1fr;gap:18px}
  .about-profile{grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr)}
  .about-photo{height:330px}
  .menu-button{display:grid}
}
@media(max-width:730px){
  .container{width:min(calc(100% - 36px),var(--container))}
  .site-nav{left:18px;right:18px}
  .brand-name{font-size:14px}
  .home-hero{grid-template-columns:minmax(0,1fr) minmax(0,.62fr);gap:18px;padding-top:40px;padding-bottom:28px}
  .home-hero h1{font-size:clamp(33px,5.5vw,43px)}
  .hero-author{font-size:11px;margin-bottom:12px}
  .hero-tagline{font-size:15px;margin-top:16px}
  .hero-actions{margin-top:20px;flex-direction:column;align-items:flex-start}
  .hero-actions .button{width:auto;min-height:42px;font-size:12px;padding:9px 12px}
  .hero-photo-frame{width:100%;border-radius:16px}
  .article-grid,.work-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
  .article-info,.work-info{padding:14px}
  .article-info h3,.work-info h3{font-size:15px}
  .about-profile{grid-template-columns:1fr;gap:20px}
  .about-photo{width:min(100%,300px);height:330px}
  .page-shell{padding-top:34px;padding-bottom:62px}
  .expertise-item{grid-template-columns:36px minmax(0,1fr);gap:10px}
  .newsletter-box{padding:22px}
  .newsletter-form{grid-template-columns:1fr;gap:8px}
  .newsletter-form .button{width:100%}
  .footer-primary,.footer-bottom{gap:15px}
}
@media(max-width:560px){
  .home-hero{grid-template-columns:1fr;gap:23px;padding-top:34px;padding-bottom:28px}
  .home-hero h1{font-size:clamp(36px,9.5vw,50px);max-width:min(100%,15ch)}
  .hero-tagline{font-size:16px;max-width:34ch}
  .hero-actions{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center}
  .hero-actions .button{width:auto}
  .hero-photo-frame{width:min(100%,228px);aspect-ratio:4/4.6;border-radius:17px}
  .hero-visual{justify-content:flex-start}
  .article-grid,.work-grid{grid-template-columns:1fr;gap:14px}
  .article-info,.work-info{padding:16px}
  .article-info h3,.work-info h3{font-size:17px}
  .section,.expertise-section,.works-section,.education-section{margin-top:54px}
  .section h2,.section-heading{font-size:26px}
  .section-top{flex-direction:row;align-items:center;flex-wrap:wrap}
  .page-intro h1{font-size:37px}
  .about-description{font-size:18px}
  .about-photo{width:min(100%,268px);height:310px}
  .brand-name{font-size:13px}
  .brand-mark{width:34px;height:34px}
  .theme-button,.menu-button,.language-button{width:38px;height:38px;min-width:38px;min-height:38px}
  .header-actions{gap:5px}
  .pagination button{height:40px;min-width:40px}
}
@media(max-width:380px){
  .brand-name{display:none}
  .hero-actions{display:flex;flex-direction:column;align-items:stretch}
  .hero-actions .button{width:100%}
  .hero-photo-frame{width:205px}
}
@media(prefers-reduced-motion:reduce){.hero-photo-frame,.hero-photo{animation:none!important;transition:none!important}}


/* 2026-11 | Editorial hero composition, compact contact and desktop refinements. */
/* Keep the existing typographic design and translations, but give the editorial motto
   the h1 position. The author identity is attached to the portrait itself. */
.home-hero {
  grid-template-columns:minmax(0,1fr) minmax(260px,340px);
  align-items:center;
  gap:clamp(32px,6.6vw,92px);
  padding-block:clamp(40px,5.3vw,66px) clamp(28px,4vw,48px);
  max-width:var(--container);
}
.hero-copy {min-width:0;max-width:615px}
.home-hero h1 {
  font-family:var(--font-title);
  font-size:clamp(39px,4.35vw,57px);
  font-weight:600;
  line-height:1.21;
  letter-spacing:-.038em;
  max-width:19ch;
  overflow-wrap:normal;
  hyphens:none;
}
.hero-actions {margin-top:clamp(24px,3vw,34px);gap:10px;align-items:center}
.hero-actions .button {min-height:44px;line-height:1.35;font-size:13px;padding:10px 17px}
.hero-visual {width:100%;min-width:0;justify-content:center;overflow:visible}
.hero-photo-frame {
  position:relative;
  display:block;
  width:min(100%,314px);
  aspect-ratio:4 / 4.85;
  border-radius:21px;
  overflow:hidden;
  margin:0;
  background:var(--card);
  border:1px solid var(--border);
  isolation:isolate;
  box-shadow:0 17px 38px -36px rgb(0 0 0 /.4);
  transition:transform .65s var(--ease),box-shadow .65s var(--ease);
}
.hero-photo {width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.hero-photo-frame:hover {transform:translateY(-3px);box-shadow:0 22px 42px -33px rgb(0 0 0 /.3)}
.hero-photo-caption {
  position:absolute;
  z-index:2;
  inset:auto 0 0;
  min-height:104px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:3px;
  padding:36px 23px 21px;
  background:linear-gradient(180deg,transparent 0%,rgb(11 11 12 /.78) 54%,rgb(11 11 12 /.91) 100%);
  color:#fff;
  text-shadow:0 1px 8px rgb(0 0 0 /.18);
}
.profile-name {
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.3;
  font-weight:700;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.profile-heading {display:flex;align-items:center;gap:14px;flex-wrap:wrap;min-width:0}
.profile-name {white-space:nowrap}
.profile-socials {display:inline-flex;align-items:center;gap:3px;padding:4px 5px;border:1px solid var(--border);border-radius:999px;background:var(--soft)}
.profile-socials a {display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;border-radius:50%;color:var(--text);opacity:.82;transition:opacity .25s ease,transform .25s ease,background .25s ease}
.profile-socials a:hover {opacity:1;transform:translateY(-2px);background:var(--card)}
.profile-socials svg {width:14px;height:14px}
.hero-photo-caption .profile-heading {width:100%;justify-content:space-between;gap:10px}
.hero-photo-caption .profile-socials {border-color:rgb(255 255 255 /.28);background:rgb(0 0 0 /.2);backdrop-filter:blur(8px)}
.hero-photo-caption .profile-socials a {color:#fff}
.hero-photo-caption .profile-socials a:hover {background:rgb(255 255 255 /.16)}
.about-copy .profile-heading {gap:16px;margin-bottom:8px}
.about-copy .profile-heading h2 {margin:0}
.about-socials {width:max-content;margin-top:14px}
.stack-marquee{position:relative;overflow:hidden;margin:24px 0 30px;padding:11px 0;border-top:var(--line);border-bottom:var(--line);mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
.stack-marquee-track{display:flex;width:max-content;animation:stack-marquee 38s linear infinite;will-change:transform}
.stack-marquee-group{display:flex;align-items:center;gap:10px;padding-right:10px}
.stack-chip{display:inline-flex;align-items:center;gap:9px;min-height:43px;padding:6px 13px 6px 7px;border:1px solid var(--border);border-radius:999px;background:var(--card);color:var(--text);font-size:12px;font-weight:700;letter-spacing:.015em;white-space:nowrap;transition:border-color .25s ease,background .25s ease,transform .25s ease}
.stack-chip:hover{border-color:var(--stack-accent);background:var(--soft);transform:translateY(-2px)}
.stack-chip-mark{display:grid;place-items:center;flex:none;width:29px;height:29px;border:1px solid color-mix(in srgb,var(--stack-accent) 24%,#fff);border-radius:9px;background:color-mix(in srgb,var(--stack-accent) 10%,#fff)}
.stack-chip-icon{display:block;width:22px;height:22px;object-fit:contain}
.stack-marquee:hover .stack-marquee-track,.stack-marquee:focus-within .stack-marquee-track{animation-play-state:paused}
@keyframes stack-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.stack-marquee-track{animation:none}.stack-marquee{overflow-x:auto;mask-image:none;-webkit-mask-image:none}.stack-marquee-group{flex-wrap:wrap}.stack-marquee-group[aria-hidden="true"]{display:none}}
@media(max-width:560px){.stack-marquee{margin:20px -4px 25px}.stack-chip{min-height:38px;padding:5px 11px 5px 6px;font-size:11px}.stack-chip-mark{width:25px;height:25px;border-radius:7px}.stack-chip-icon{width:19px;height:19px}}
.profile-profession {
  font-family:var(--font-body);
  font-size:12px;
  line-height:1.45;
  font-weight:600;
  letter-spacing:.01em;
  color:#f1f1f2;
}
/* The contact form is intentionally narrower than article listings on desktop. */
.contact-shell {
  width:min(calc(100% - 48px),704px);
  max-width:704px;
  min-height:calc(100svh - 335px);
  padding-top:clamp(34px,4.6vw,56px);
  padding-bottom:clamp(58px,6vw,78px);
}
.contact-shell .page-intro {margin-bottom:28px}
.contact-shell .page-intro h1 {font-size:clamp(36px,4.3vw,48px)}
.contact-shell .page-intro p {font-size:15px;margin-top:10px;max-width:50ch;line-height:1.65}
.contact-form {display:grid;gap:18px;max-width:100%}
.contact-form .field-row {grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.contact-form .field {min-width:0}
.contact-form .field label {font-size:12px;line-height:1.45;margin-bottom:7px}
.contact-form .field input,
.contact-form .field textarea {
  width:100%;
  border-radius:12px;
  padding:10px 14px;
  background:var(--card);
  font-size:14px;
  line-height:1.5;
  border:1px solid var(--border);
}
.contact-form .field input {height:46px;min-height:46px}
.contact-form .field textarea {min-height:132px;height:140px;max-height:350px;resize:vertical}
.contact-form .form-submit {min-width:0;min-height:44px;padding:10px 17px;font-size:13px}
.contact-form .form-feedback {font-size:12px;margin-top:-8px;line-height:1.55}
/* Preserve a calm footer without the unused third platform. */
.social-nav {gap:18px}
/* Better desktop rhythm for the recent-posts row and compact forms. */
@media(min-width:1101px){
  .compact-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
  .section-top{align-items:center}
  .newsletter-box {grid-template-columns:minmax(0,.73fr) minmax(0,1fr)}
}
@media(min-width:860px) and (max-width:1100px){
  .home-hero{grid-template-columns:minmax(0,1fr) minmax(245px,290px);gap:26px}
  .home-hero h1{font-size:clamp(38px,4.35vw,48px)}
  .hero-photo-frame{width:min(100%,280px)}
}
/* On small laptops/tablets, don't trap a multi-line serif heading in a narrow column. */
@media(max-width:859px){
  .home-hero{grid-template-columns:1fr;gap:27px;padding-top:40px;padding-bottom:24px}
  .hero-copy{max-width:690px}
  .home-hero h1{font-size:clamp(38px,6.7vw,56px);max-width:21ch}
  .hero-visual{justify-content:flex-start}
  .hero-photo-frame{width:min(100%,275px)}
  .contact-shell{width:min(calc(100% - 40px),704px)}
}
@media(max-width:700px){
  .contact-shell{width:min(calc(100% - 36px),704px);padding-top:35px;padding-bottom:58px}
  .contact-form .field-row{grid-template-columns:1fr;gap:16px}
  .contact-form{gap:16px}
  .contact-form .field textarea{height:132px;min-height:132px}
}
@media(max-width:560px){
  .home-hero{padding-top:35px;gap:24px}
  .home-hero h1{font-size:clamp(35px,8.7vw,45px);max-width:19ch;letter-spacing:-.04em}
  .hero-actions{margin-top:24px;display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:9px}
  .hero-actions .button{width:auto;font-size:12px;padding:9px 13px}
  .hero-visual{justify-content:flex-start}
  .hero-photo-frame{width:min(100%,260px);border-radius:17px}
  .hero-photo-caption{padding:32px 17px 16px;min-height:95px}
  .profile-name{font-size:14px}
  .profile-profession{font-size:11px}
  .profile-heading{gap:9px}
  .profile-socials{padding:3px 4px}
  .profile-socials a{width:23px;height:23px}
  .contact-shell .page-intro{margin-bottom:24px}
  .contact-shell .page-intro p{font-size:14px}
  .contact-shell .page-intro h1{font-size:37px}
  .contact-form .field input{height:44px;min-height:44px}
  .contact-form .field textarea{height:125px;min-height:125px}
  .contact-form .form-submit{width:100%;justify-content:center}
}
@media(max-width:380px){
  .home-hero h1{font-size:34px}
  .hero-actions{flex-direction:column;align-items:stretch}
  .hero-actions .button{width:100%}
  .hero-photo-frame{width:min(100%,228px)}
}
@media(prefers-reduced-motion:reduce){
  .hero-photo-frame{transition:none!important;transform:none!important}
}


/* Editorial SVG refresh | Heroicons Solid language + researched tech glyphs. */
.language-button{position:relative;display:grid;place-items:center}
.language-button>.hi-icon{width:21px;height:21px;flex:none}
.language-button-label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
/* Four expertise icons may share a row on desktop; wrap neatly on smaller devices. */
.expertise-logos{flex-wrap:wrap;row-gap:8px}
.expertise-logo{overflow:hidden}
@media(max-width:850px) and (min-width:541px){.expertise-item{grid-template-columns:40px minmax(0,1fr) auto}.expertise-logos{max-width:190px;justify-content:flex-end}.expertise-logo{width:42px;height:42px;border-radius:13px}.expertise-logo .brand-icon{width:23px;height:23px}}
@media(max-width:540px){.expertise-logos{max-width:none;justify-content:flex-start;gap:8px}.expertise-logo{width:42px;height:42px;border-radius:13px}.expertise-logo .brand-icon{width:23px;height:23px}}

/* Consolidation finale : lisibilité, hiérarchie, conversion */
html{scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
:is(h1,h2,h3){text-wrap:balance}
:is(p,.article-info p){text-wrap:pretty}
.home-hero .hero-actions{margin-top:30px;gap:12px}
/* Hauteurs des boutons : voir « Harmonisation finale » ci-dessous. */
.page-intro p,.contact-shell .page-intro p{max-width:54ch;font-size:clamp(16px,1.4vw,18px)}
.social-pending{display:none!important}
.social-nav:not(:has(a)){display:none}
@media(min-width:991px){
.site-nav a[data-nav="contact"]{background:var(--accent);color:var(--on-accent);padding:10px 20px;border-radius:999px;margin-left:8px}
.site-nav a[data-nav="contact"]:hover{background:var(--accent-hover);color:var(--on-accent)}
.site-nav a[data-nav="contact"][aria-current="page"]::after{display:none}}
@media(max-width:560px){.home-hero .hero-actions{display:grid;grid-template-columns:1fr}.home-hero .hero-actions .button{width:100%}}

/* ─── Harmonisation finale : tailles, rayons, bordures ───
   Le lissage des coins (corner-shape: superellipse) défini en haut du fichier est conservé.
   Contenus et couleurs inchangés : seules les dimensions et les formes sont unifiées. */
:root{--h-ctl:40px;--h-sm:34px;--h-icon:38px;--r-ctl:12px;--r-ctl-sm:10px;--r-card:18px;--r-panel:22px;--card-radius:var(--r-card)}
html{scroll-padding-top:84px}
:where(.site-page,.newsletter-section,.filters){scroll-margin-top:84px}
.newsletter-section{scroll-margin-top:84px}
:where(a,button,input,textarea):focus-visible,.language-button:focus-visible{outline-offset:3px}
/* En-tête : hauteur réduite, contrôles ronds alignés sur le CTA */
.site-header{height:60px}
.brand-mark{width:34px;height:34px;border-radius:var(--r-ctl-sm)}
.theme-button,.menu-button,.language-button{width:var(--h-icon);height:var(--h-icon);min-width:var(--h-icon);min-height:var(--h-icon)}
.theme-button .hi-icon,.language-button>.hi-icon{width:18px;height:18px}
.menu-button .hi-icon{width:20px;height:20px}
@media(min-width:991px){
  .site-nav a{display:inline-flex;align-items:center;height:var(--h-icon);padding:0 11px;border-radius:var(--r-ctl-sm)}
  .site-nav a[data-nav="contact"]{padding:0 16px;margin-left:6px}
}
@media(max-width:990px){
  .site-nav{padding:8px;gap:2px;border-radius:calc(var(--r-ctl-sm) + 8px)}
  .site-nav a{display:flex;align-items:center;min-height:var(--h-ctl);padding:0 14px;font-size:14px;line-height:1.3;border-radius:var(--r-ctl-sm)}
}
/* Boutons : une seule hauteur, un seul rayon, une seule taille de texte */
.button,.hero-actions .button,.home-hero .hero-actions .button,.newsletter-form .button,.contact-form .form-submit,.form-submit{min-height:var(--h-ctl);height:auto;padding:8px 18px;font-size:13px;line-height:1.2;gap:8px;border-radius:var(--r-ctl)}
.newsletter-form .button{height:var(--h-ctl);padding:0 16px}
.button .hi-icon,.text-link .hi-icon{width:16px;height:16px}
.button:hover,.filter-chip:hover{transform:translateY(-1px)}
.text-link{min-height:var(--h-sm);align-items:center}
/* Champs : même hauteur que les boutons voisins (newsletter alignée), rayon commun */
.newsletter-form{gap:8px}
.newsletter-form input,.contact-form .field input{height:var(--h-ctl);min-height:var(--h-ctl);padding:0 14px;border-radius:var(--r-ctl);font-size:14px;line-height:1.4}
.contact-form .field textarea{min-height:112px;height:120px;padding:10px 14px;border-radius:var(--r-ctl);font-size:14px}
@media(pointer:coarse){.newsletter-form input,.contact-form .field :is(input,textarea){font-size:16px}}
/* Puces de filtre et pagination */
.filter-chip{min-height:var(--h-sm);padding:6px 13px;font-size:12px;line-height:1.3;border-radius:var(--r-ctl-sm)}
.pagination{min-height:var(--h-sm)}
.pagination button{height:var(--h-sm);min-height:var(--h-sm);min-width:var(--h-sm);padding:0 10px;font-size:12px;border-radius:var(--r-ctl-sm)}
/* Pastilles d'expertise, cartes et panneaux : échelle de rayons cohérente */
.expertise-logo{width:40px;height:40px;border-radius:var(--r-ctl)}
.expertise-logo .brand-icon{width:20px;height:20px}
.article-card,.work-card{border-radius:var(--r-card)}
.newsletter-box,.about-photo,.hero-photo-frame{border-radius:var(--r-panel)}
@media(max-width:560px){.newsletter-box,.about-photo,.hero-photo-frame{border-radius:var(--r-card)}}
.hero-photo-caption{min-height:0;padding:44px 18px 16px}
/* La liste d'expertise ne contient plus de colonne de logos. */
.expertise-item{grid-template-columns:56px minmax(0,1fr)}
@media(max-width:850px){.expertise-item{grid-template-columns:40px minmax(0,1fr)}}
@media(max-width:540px){.expertise-item{grid-template-columns:36px minmax(0,1fr)}}

/* Content pages are fully rendered in their URL's language. */
.empty-state{grid-column:1/-1;color:var(--text-muted);padding:20px 0}
.article-detail{max-width:820px;padding-bottom:70px}
.article-detail>.text-link{display:inline-block;margin-bottom:28px}
.article-detail .page-intro h1{font-size:clamp(32px,5vw,56px)}
.article-detail time{display:block;margin-top:18px;color:var(--text-muted);font-size:14px}
.article-body{overflow-wrap:anywhere}
.article-body :is(p,ul,ol,pre,blockquote,table){margin-bottom:24px}
.article-body :is(h2,h3,h4){margin:36px 0 18px}
.article-body h2{font-size:clamp(26px,4vw,36px)}
.article-body h3{font-size:clamp(22px,3vw,28px)}
.article-body a{text-decoration:underline;text-underline-offset:3px}
.article-body pre{padding:20px;border-radius:var(--r-card);overflow-x:auto}
.article-body img{max-width:100%;height:auto}
.article-body table{display:block;overflow-x:auto}
.article-body :is(th,td){padding:8px 12px;border:1px solid var(--border)}
.not-found{padding-bottom:70px}
.work-info > .text-link{margin-top:12px;align-self:flex-start}

/* Centrage des éléments visuels lorsque les colonnes s'empilent. */
@media(max-width:859px){
  .hero-visual{justify-content:center}
}
@media(max-width:730px){
  .about-photo{justify-self:center}
}
@media(max-width:560px){
  .footer-primary,.footer-bottom{align-items:center;text-align:center}
  .footer-nav{justify-content:center}
}

/* Même forme en pilule que le bouton Contact pour les autres boutons et champs. */
:is(.button,.filter-chip,.pagination button,input,textarea){border-radius:999px!important}
/* Le champ multilignes garde des coins adaptés à sa hauteur plutôt qu’une forme capsule. */
.contact-form .field textarea{border-radius:16px!important}

/* Menu mobile imbriqué : rayon extérieur = rayon du bouton + espace autour. */
:root{--r-menu-panel:26px;--s-menu-inset:10px;--r-menu-item:calc(var(--r-menu-panel) - var(--s-menu-inset))}
@media(max-width:990px){
  .site-nav{padding:var(--s-menu-inset);border-radius:var(--r-menu-panel)}
  .site-nav a,.site-nav a[data-nav="contact"]{border-radius:var(--r-menu-item)}
}

/* Indicateur de page active : soulignement horizontal sur desktop, barre verticale sur mobile. */
.site-nav a[aria-current="page"]::after{
  content:"";
  position:absolute;
  width:22px;
  height:3px;
  left:50%;
  right:auto;
  top:auto;
  bottom:4px;
  border-radius:999px;
  background:var(--accent);
  transform:translateX(-50%) scaleX(0);
  transform-origin:left center;
  animation:nav-active-bar-horizontal .38s var(--ease) both;
}
.site-nav a[data-nav="contact"][aria-current="page"]::after{display:block;background:var(--on-accent)}
@keyframes nav-active-bar-horizontal{
  from{transform:translateX(-50%) scaleX(0)}
  to{transform:translateX(-50%) scaleX(1)}
}
@media(max-width:990px){
  .site-nav a[aria-current="page"]::after{
    width:3px;
    height:18px;
    left:auto;
    right:16px;
    top:50%;
    bottom:auto;
    transform:translateY(-50%) scaleY(0);
    transform-origin:center top;
    animation-name:nav-active-bar-vertical;
  }
}
@keyframes nav-active-bar-vertical{
  from{transform:translateY(-50%) scaleY(0)}
  to{transform:translateY(-50%) scaleY(1)}
}
@media(prefers-reduced-motion:reduce){
  .site-nav a[aria-current="page"]::after{animation:none;transform:translateX(-50%) scaleX(1)}
}
@media(max-width:990px) and (prefers-reduced-motion:reduce){
  .site-nav a[aria-current="page"]::after{transform:translateY(-50%) scaleY(1)}
}

/* Grain discret sur les surfaces et accent typographique dans le hero. */
body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:100;
  pointer-events:none;
  opacity:.045;
  background-image:url("/images/grain.svg");
  background-size:180px 180px;
  mix-blend-mode:multiply;
}
.home-hero h1 .hero-emphasis{
  color:var(--text);
  -webkit-text-fill-color:var(--text);
  font-style:italic;
  font-weight:700;
  text-decoration:underline;
  text-decoration-thickness:.055em;
  text-underline-offset:.11em;
  white-space:nowrap;
}
@media(max-width:700px){
  :where(h1,h2,h3){
    margin-inline:auto;
    text-align:center;
  }
  .section-top :where(h2,h3){width:100%}
}
/* Les portraits, pictogrammes et logos conservent les couleurs de leurs fichiers sources. */
:where(.hero-photo,.about-photo img,.hero-3d img,.site-logo,.hi-icon,.brand-icon,.stack-chip-icon){
  filter:none!important;
  mix-blend-mode:normal!important;
}
@media(max-width:560px){body::after{opacity:.032}}
@media(prefers-reduced-transparency:reduce){body::after{opacity:.02}}
@media print{body::after{display:none!important}}

/* Réalisations : une page de projet pour chaque entrée Markdown. */
.work-media{display:block}
.work-info h3 a:hover{text-decoration:underline;text-underline-offset:4px}
.work-detail{max-width:1060px}
.work-detail>.text-link{display:inline-flex}
.work-detail .page-intro{max-width:820px;margin-bottom:28px}
.work-detail-category{display:block;margin-bottom:12px;color:var(--text-muted);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.work-detail-media{margin:0 0 38px}
.work-detail-media img{display:block;width:100%;height:auto;border:1px solid var(--border);border-radius:var(--r-card);background:var(--card)}
.work-detail-media figcaption{margin-top:9px;color:var(--text-muted);font-size:12px}
.work-detail .article-body{max-width:760px;margin-inline:auto;line-height:1.75}
.work-detail-source{display:flex;width:max-content;max-width:100%;margin:36px auto 0}
@media(max-width:700px){
  .work-detail .page-intro{text-align:center}
  .work-detail-media{margin-bottom:28px}
}

/* Alternance éditoriale : chaque bande porte sa propre palette. */
.section-band{position:relative;isolation:isolate;padding-block:0;background:transparent}
.section-band::before{content:"";position:absolute;z-index:-1;inset-block:0;left:50%;width:100vw;transform:translateX(-50%);pointer-events:none}
.section-band-dark{
  --bg:#111113;--card:#1c1c1f;--soft:#29292b;--text:#f5f5f5;--text-muted:#b1b1b5;
  --border:#39393c;--border-strong:#929296;--accent:#fff;--accent-hover:#dedede;--on-accent:#111113;
  --band-bg:#111113;color:var(--text)
}
.section-band-dark::before{background:var(--band-bg)}
.section-band-light{--band-bg:#fff;color:var(--text)}
.section-band-light::before{background:var(--band-bg)}
.section-band-dark .heading-dot,.section-band-dark .expertise-number,.section-band-dark .education-date{color:var(--text-muted)}
.section-band-dark .section-heading,.section-band-dark .expertise-item h3,.section-band-dark .education-item h3{color:var(--text)}
.section-band-dark .expertise-item p,.section-band-dark .education-item p{color:var(--text-muted)}
@media(max-width:700px){
  .expertise-section :is(h2,h3){text-align:left;margin-inline:0}
  .expertise-section .section-heading{width:auto}
}

/* Les marques restent lisibles sur le footer sombre et gardent leur accent. */
.site-footer .profile-socials{border-color:#4a4a4e;background:#1c1c1f}
.site-footer .profile-socials a{color:#f5f5f5;opacity:1}
.site-footer .profile-socials a:nth-child(1){color:#f0f6fc}
.site-footer .profile-socials a:nth-child(2){color:#fff}
.site-footer .profile-socials a:nth-child(3){color:#ff6719}
.site-footer .profile-socials a:hover{background:#303034;transform:translateY(-2px)}

/* Les icônes sociales du profil gardent leurs couleurs de marque. */
.profile-socials a:nth-child(1){color:#f0f6fc}
.profile-socials a:nth-child(2){color:#111113}
.profile-socials a:nth-child(3){color:#ff6719}
.about-socials .profile-socials a:nth-child(1){color:#111113}
.hero-photo-caption .profile-socials a:nth-child(2){color:#fff}

/* Rythme plus compact entre les blocs éditoriaux. */
.section,.expertise-section,.works-section,.education-section{margin-top:clamp(44px,5vw,68px)}
.newsletter-section{margin-top:clamp(44px,5vw,68px);margin-bottom:clamp(56px,6vw,78px)}
@media(max-width:560px){
  .section,.expertise-section,.works-section,.education-section{margin-top:40px}
  .newsletter-section{margin-top:40px;margin-bottom:56px}
}

/* Pages de réalisation : une lecture éditoriale, avec la capture comme point d'entrée. */
.work-detail{max-width:1120px}
.work-detail>.text-link{margin-bottom:clamp(28px,4vw,44px)}
.work-detail .page-intro{max-width:790px;margin-bottom:clamp(30px,4vw,48px)}
.work-detail-category{
  display:inline-flex;align-items:center;margin-bottom:17px;padding:6px 11px;
  border:1px solid var(--border);border-radius:999px;color:var(--text-muted);
  font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase
}
.work-detail .page-intro h1{
  max-width:18ch;font-size:clamp(42px,6vw,68px);line-height:1.08;
  letter-spacing:-.045em;text-transform:none
}
.work-detail .page-intro p{max-width:62ch;font-size:clamp(16px,1.7vw,19px);line-height:1.65}
.work-detail-media{
  margin:0 0 clamp(42px,6vw,68px);padding:10px;
  overflow:hidden;border:1px solid var(--border);border-radius:var(--card-radius);
  background:var(--card)
}
.work-detail-media img{border:0;border-radius:calc(var(--card-radius) - 7px)}
.work-detail-media figcaption{
  margin:0;padding:12px 5px 3px;color:var(--text-muted);font-size:12px;line-height:1.5
}
.work-detail .article-body{max-width:720px;font-size:16px;line-height:1.8}
.work-detail .article-body h2{
  margin:clamp(38px,5vw,56px) 0 14px;padding-top:20px;
  border-top:1px solid var(--border);font-size:clamp(24px,3vw,31px);
  line-height:1.25;letter-spacing:-.025em;text-transform:none;
  background:none;color:var(--text);-webkit-text-fill-color:var(--text)
}
.work-detail .article-body h2:first-child{margin-top:0;padding-top:0;border-top:0}
.work-detail .article-body p,.work-detail .article-body li{font-size:15px;line-height:1.8}
.work-detail-source{margin-top:44px}
@media(max-width:700px){
  .work-detail>.text-link{margin-bottom:27px}
  .work-detail .page-intro{margin-inline:auto}
  .work-detail .page-intro h1{max-width:none;font-size:clamp(38px,10vw,52px)}
  .work-detail .page-intro p{margin-inline:auto}
  .work-detail-media{margin-bottom:36px;padding:6px;border-radius:15px}
  .work-detail-media img{border-radius:10px}
  .work-detail-media figcaption{padding:10px 4px 3px;text-align:left}
  .work-detail .article-body{font-size:15px}
  .work-detail .article-body h2{margin-top:36px;padding-top:17px}
  .work-detail .article-body p,.work-detail .article-body li{font-size:14px}
}

/* Home page sequence: brief profile, selected work, tools, and recent writing. */
.home-about{
  display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
  align-items:center;gap:clamp(28px,7vw,92px);
  padding-block:clamp(24px,4vw,40px);border-block:1px solid var(--border)
}
.home-about .profession{margin:0 0 8px;font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.home-about .section-heading{margin:0}
.home-about-summary{display:grid;justify-items:start;gap:20px;max-width:58ch}
.home-about-summary>p{margin:0;font-size:clamp(17px,1.8vw,21px);line-height:1.65;color:var(--text-muted)}
.home-works .works-section{margin-top:0}
.home-stack-band{margin-top:clamp(30px,4vw,48px);margin-bottom:0;padding-block:1px}
.home-stack-band .stack-marquee{margin-block:18px 24px}
@media(max-width:700px){
  .home-about{grid-template-columns:1fr;gap:14px;padding-block:22px}
  .home-about .section-heading{width:auto;margin-inline:0;text-align:left}
  .home-about-summary{gap:15px}
  .home-stack-band{margin-top:24px}
  .home-stack-band .stack-marquee{margin-block:14px 18px}
}
