/* M.F.I / Édition 08.1 — a complete hero bottle and a living bottle studio. */
/* WordPress shifts the document down for its toolbar; the fixed header must follow it. */
.admin-bar .site-header,.admin-bar .reading-progress{top:32px}
.admin-bar .site-header #navigation{min-height:calc(100svh - 114px)}
@media(max-width:782px){.admin-bar .site-header,.admin-bar .reading-progress{top:46px}.admin-bar .site-header #navigation{min-height:calc(100svh - 120px)}}
.homepage .signature-hero{position:relative;isolation:isolate;min-height:min(820px,calc(100svh - 82px));background:#172b23;color:#f8f4e7;border:0;overflow:hidden}
.homepage .signature-hero::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#172b23 0%,#172b23 22%,#172b23f2 41%,#172b23af 58%,#172b2336 80%,#172b2310 100%)}
.homepage .signature-layout{position:relative;width:100%;max-width:none;min-height:min(820px,calc(100svh - 82px));padding:0 clamp(30px,5.6vw,110px);display:flex;align-items:center;gap:0}
.homepage .signature-copy{position:relative;z-index:2;width:min(850px,58%);min-width:0;padding:80px 0 75px}
.homepage .signature-copy>.eyebrow{display:block;color:#d5d2b6;font-size:11px;letter-spacing:.2em;margin:0 0 52px}
.homepage .signature-copy h1{color:#f7f2e5;font-size:clamp(6.4rem,8.2vw,10.8rem);line-height:.84;letter-spacing:-.065em;max-width:950px;margin:0 0 43px;text-wrap:balance}
.homepage .signature-copy h1 em{color:#dccca6;white-space:nowrap}
.homepage .signature-copy>p{color:#e4e5d9;max-width:490px;font-size:16px;line-height:1.9}
.homepage .signature-actions{margin-top:37px;gap:34px}
.homepage .signature-actions .capsule{background:#e7d9ba;color:#172b23;border-color:#e7d9ba;padding:17px 30px;border-radius:2px}
.homepage .signature-actions .capsule:hover{background:#fff0cf;border-color:#fff0cf;color:#172b23}
.homepage .signature-link{color:#f2efde;border-color:#d8d4ba}
.homepage .signature-facts{margin-top:70px;border-color:#e7e8d548;color:#d9e2d5;width:min(100%,540px)}
.homepage .signature-facts>span+span:before{color:#d8c293}
.homepage .signature-visual.hero-editorial{position:absolute;z-index:0;inset:0 0 0 auto;display:block;width:73%;height:100%;max-width:none;max-height:none;min-height:0;margin:0;border:0;background:none;overflow:hidden;perspective:none}
.homepage .signature-visual .bottle-object{position:absolute;inset:0;width:100%;height:100%;transform:none;transition:none;display:block}
.homepage .signature-visual .bottle-object img{display:block;position:absolute;top:-12.5%;right:0;width:auto;height:125%;max-width:none;max-height:none;object-fit:contain;transform:none;animation:none;filter:none;border:0;-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 15%);mask-image:linear-gradient(90deg,transparent 0%,#000 15%)}
.homepage .signature-visual::after,.homepage .signature-visual figcaption{display:none}
.homepage .signature-halo{display:none}

.homepage .personalise-invitation{display:none}
.home-studio{background:#e9e5d9;padding:clamp(85px,9vw,150px) 0;overflow:hidden}
.home-studio-layout{display:grid;grid-template-columns:minmax(0,.87fr) minmax(0,1.13fr);align-items:center;gap:clamp(50px,7vw,125px)}
.home-studio-copy{align-self:center}
.studio-kicker{display:block;font-size:11px;letter-spacing:.19em;font-weight:600;color:#65715c;margin-bottom:43px}
.home-studio-copy h2{font-size:clamp(4.4rem,5.6vw,7rem);line-height:.9;letter-spacing:-.06em;color:#1f382d;margin:0 0 36px}
.home-studio-copy h2 em{color:#887b5e}
.home-studio-copy>p{font-size:16px;line-height:1.9;color:#4e5e50;max-width:490px;margin:0 0 40px}
.studio-rule{border-top:1px solid #bec4b5;border-bottom:1px solid #bec4b5;display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:17px 0;margin-bottom:34px;font-size:10px;letter-spacing:.09em;text-transform:uppercase;color:#576b59}
.studio-cta{display:inline-flex;align-items:center;justify-content:space-between;min-width:260px;gap:30px;padding:18px 23px;background:#20382f;color:#f5f1e4;font-size:13px;line-height:1.4;transition:background .2s,transform .2s}
.studio-cta:hover{background:#365343;transform:translateY(-3px);color:white}
.studio-cta span{font-size:20px;line-height:1}
.home-studio-stage{position:relative;isolation:isolate;min-width:0;padding:26px clamp(25px,3vw,48px) 25px;background:radial-gradient(circle at 52% 43%,#485e49 0%,#283f33 43%,#192d25 83%);color:#f7f2e7;box-shadow:0 28px 55px #15261c1d}
.home-studio-stage:before{content:"";position:absolute;inset:60px 10% 104px;border:1px solid #e6e8d222;border-radius:50%;pointer-events:none;z-index:-1;transform:scale(.82,1.12)}
.home-studio-stage:after{content:"";position:absolute;left:22%;right:22%;top:72%;height:44px;border-radius:50%;background:#020c08aa;filter:blur(20px);z-index:-1;pointer-events:none}
.stage-topline{display:flex;justify-content:space-between;gap:20px;align-items:center;font-size:10px;letter-spacing:.17em;color:#d7d8c4}
.stage-live{display:flex;align-items:center;gap:9px;color:#eee5c9}
.stage-live i{display:block;width:6px;height:6px;border-radius:50%;background:#d7d69b;box-shadow:0 0 0 5px #d7d69b22}
.stage-canvas{position:relative;width:100%;height:clamp(420px,37vw,550px);cursor:grab;touch-action:pan-y;outline-offset:5px}
.stage-canvas:active{cursor:grabbing}
.stage-canvas canvas{display:block;position:absolute;inset:0;width:100%;height:100%}
.stage-canvas .preview-fallback{position:absolute;inset:5% 0;height:90%;width:100%;object-fit:contain;filter:drop-shadow(0 20px 18px #07180e88)}
.home-studio-stage>.preview-loading{position:static;color:#e3ddc7;font-size:12px;text-align:center;min-height:0;margin:-8px 0 8px}
.home-studio-stage>.preview-loading[hidden]{display:none}
.stage-controls{display:flex;align-items:center;justify-content:center;gap:15px;min-height:50px;font-size:12px;color:#e1dfce}
.stage-controls button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:38px;height:38px;border:1px solid #e1e5d87a;border-radius:50%;color:#f6f0e1;background:#ffffff0d;font-size:22px;cursor:pointer;transition:background .2s,transform .2s}
.stage-controls button:hover{background:#ffffff30;transform:translateY(-2px)}
.stage-controls #home-motion{width:auto;min-width:65px;border:0;border-bottom:1px solid #d9e0c0;border-radius:0;background:none;margin-left:auto;padding:0 2px;font-size:11px;letter-spacing:.04em}
.stage-choices{display:flex;gap:9px;align-items:center;border-top:1px solid #f8f2db3b;margin-top:24px;padding-top:22px}
.stage-choices>span{font-size:10px;letter-spacing:.15em;color:#d0d6bc;margin-right:auto}
.stage-choices button{border:1px solid #dce3cf66;background:transparent;color:#e2e6d7;font-size:11px;line-height:1.25;padding:10px 11px;cursor:pointer;transition:background .2s,border-color .2s}
.stage-choices button[aria-pressed=true]{background:#e9e7d8;color:#1e362b;border-color:#e9e7d8}
.stage-choices button:hover{border-color:#e9e7d8}
.stage-unavailable .stage-controls,.stage-unavailable .stage-choices{display:none}

/* The full configurator shares the same live model and gives it room to breathe. */
.page-config .config-preview{background:radial-gradient(circle at 52% 42%,#ebeadc 0%,#dadcc8 64%,#cbd0b9 100%);border:0;box-shadow:none;padding:30px}
.page-config .config-preview:before{content:"";position:absolute;left:13%;right:13%;top:11%;height:63%;border:1px solid #7a8b7240;border-radius:50%;pointer-events:none;transform:scale(.85,1.07)}
.page-config .config-preview:after{content:"";position:absolute;left:24%;right:24%;top:65%;height:35px;border-radius:50%;background:#3d51452b;filter:blur(15px);pointer-events:none}
.page-config .preview-canvas{height:500px}
.page-config .preview-heading,.page-config .preview-tools,.page-config .preview-note,.page-config .preview-selection{position:relative;z-index:1}
.page-config .preview-tools{font-size:13px;color:#3b5540;margin-top:0}
.page-config .preview-tools button{width:44px;height:44px;background:#f7f4e9}
.page-config .preview-tools .preview-motion-toggle{width:auto;height:auto;min-width:55px;margin-left:auto;padding:4px 0;border:0;border-bottom:1px solid #6c806b;border-radius:0;background:none;font-family:var(--sans);font-size:12px;color:#20382f}
.page-config .preview-selection{border-color:#aeb9a4}

@media(max-width:1100px){
  .homepage .signature-copy{width:63%}
  .homepage .signature-copy h1{font-size:clamp(5.2rem,8.7vw,8rem)}
  .homepage .signature-visual.hero-editorial{width:78%}
  .home-studio-layout{gap:45px}
  .home-studio-copy h2{font-size:clamp(3.7rem,5.7vw,5rem)}
  .stage-choices{flex-wrap:wrap}
  .stage-choices>span{width:100%;margin-bottom:5px}
  .page-config .preview-canvas{height:410px}
}
@media(max-width:900px){
  .production-layout{grid-template-columns:1fr}
  .homepage .signature-hero,.homepage .signature-layout{min-height:0}
  .homepage .signature-hero::after{background:linear-gradient(180deg,#172b2300 65%,#172b231e 100%)}
  .homepage .signature-layout{display:flex;flex-direction:column;align-items:stretch;padding-inline:23px}
  .homepage .signature-copy{display:flex;flex-direction:column;align-items:flex-start;width:100%;padding:62px 0 38px}
  .homepage .signature-copy>.eyebrow{order:0;margin-bottom:28px;font-size:10px}
  .homepage .signature-copy h1{order:1;font-size:clamp(5.1rem,12vw,7.5rem);margin:0 0 26px}
  .homepage .signature-copy>p{order:2;font-size:14px;max-width:440px;line-height:1.7}
  .homepage .signature-actions{order:3;margin-top:26px;gap:17px}
  .homepage .signature-facts{order:4;margin-top:39px;color:#f0eddd;border-color:#ffffff66}
  .homepage .signature-visual.hero-editorial{position:relative;inset:auto;width:calc(100% + 46px);height:430px;margin:0 -23px;max-width:none;flex:none}
  .homepage .signature-visual .bottle-object img{right:50%;transform:translateX(50%);-webkit-mask-image:radial-gradient(ellipse 68% 68% at 50% 55%,#000 47%,transparent 100%);mask-image:radial-gradient(ellipse 68% 68% at 50% 55%,#000 47%,transparent 100%)}
  .homepage .signature-visual.hero-editorial::after{display:block;content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(180deg,#172b23 0%,#172b2300 16%);pointer-events:none}
  .home-studio{padding-block:75px}
  .home-studio-layout{display:grid;grid-template-columns:1fr;gap:48px}
  .home-studio-copy h2{font-size:clamp(4.2rem,9vw,6rem)}
  .home-studio-copy>p{font-size:15px}
  .stage-canvas{height:430px}
  .stage-choices{flex-wrap:nowrap}
  .stage-choices>span{width:auto;margin-bottom:0}
  .page-config .preview-canvas{height:360px}
  .page-config .config-preview{padding:24px}
}
@media(max-width:480px){
  .homepage .signature-copy{padding:54px 0 32px}
  .homepage .signature-copy h1{font-size:clamp(4.1rem,13vw,5.2rem);line-height:.91}
  .homepage .signature-copy h1 em{white-space:normal}
  .homepage .signature-copy>p{font-size:14px;max-width:330px}
  .homepage .signature-actions{flex-direction:row;flex-wrap:wrap;align-items:center;gap:18px}
  .homepage .signature-actions .capsule{padding:13px 18px;min-height:46px;font-size:12px}
  .homepage .signature-link{font-size:12px}
  .homepage .signature-facts{font-size:9px;margin-top:30px}
  .homepage .signature-visual.hero-editorial{height:370px}
  .studio-kicker{margin-bottom:25px}
  .home-studio-copy h2{font-size:clamp(3.75rem,12vw,5rem)}
  .studio-rule{grid-template-columns:1fr;gap:6px}
  .home-studio-stage{padding:20px 14px 23px}
  .stage-canvas{height:335px}
  .stage-topline{font-size:9px}
  .stage-controls{gap:8px;font-size:11px}
  .stage-controls button{width:34px;height:34px}
  .stage-choices{gap:5px;flex-wrap:wrap}
  .stage-choices>span{width:100%;margin-bottom:4px}
  .stage-choices button{font-size:10px;padding:9px 7px;flex:1}
  .page-config .config-preview{padding:18px}
  .page-config .preview-canvas{height:315px}
}
@media(prefers-reduced-motion:reduce){
  .studio-cta:hover,.stage-controls button:hover{transform:none}
}
