/* self-hosted fonts (production build; scripts/fonts.mjs): latin + latin-ext, font-display swap,
   and metric-matched local fallbacks so the swap does not move the layout */
@font-face{font-family:"Poiret One";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/poiret-one-latin-normal.a6361b9b.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Poiret One";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/poiret-one-latin-ext-normal.bcfc2f5d.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

/* Maison Mieke Govaerts — base tokens, header, footer, loader, cursor.
   Hidden states for animation are set by JS only: with JS off or
   prefers-reduced-motion everything here is visible. */
:root{
  --black:#000;
  --white:#fff;
  --fog:#E6E6E3;
  --smoke:#8C8C8C;
  --ink:var(--royal);
  --royal:#0A1440;
  --blood:#7A0E18; /* client: "rosso sangue" — only the footer wordmark's "Mieke Govaerts" */
  /* one accent only (royal blue); the other accent names stay, all black */
  --acc-sapphire:var(--royal);
  --acc-ruby:#000;
  --acc-ochre:#000;
  --acc-green:#000;
  --acc-bronze:#000;
  --acc-pearl:#000;
  --acc-diamond:#000;
  --acc:var(--acc-diamond);
  /* "<Family> Fallback" faces exist only in the production build (self-hosted fonts): a local font with
     metric overrides, so the swap to the web font does not move the layout; elsewhere they are skipped */
  /* PROVA (client 16/11): one face everywhere, Poiret One — same sizes and spacing */
  --poiret:"Poiret One","Helvetica Neue",sans-serif;
  --display:var(--poiret);
  --serif:var(--poiret);
  --sans:var(--poiret);
  /* the round display face (client's choice: Quicksand, geometric rounded sans, no italic): titles, chapter
     names, list headings; 300 for big titles, 400 for small labels (Bodoni stays for drop caps and accents) */
  --font-round:var(--poiret);
  --round-axes:normal;
  --g:clamp(18px,3.2vw,52px);
  --spring:linear(0, 0.0133, 0.0501, 0.1058, 0.176, 0.2567, 0.3441, 0.435, 0.5265, 0.6161, 0.7018, 0.782, 0.8554, 0.9212, 0.9789, 1.0282, 1.0691, 1.1019, 1.127, 1.1449, 1.1562, 1.1617, 1.1621, 1.1582, 1.1507, 1.1405, 1.1281, 1.1143, 1.0996, 1.0846, 1.0698, 1.0554, 1.0419, 1.0295, 1.0183, 1.0085, 1.0001, 0.9933, 0.9878, 0.9837, 0.9809, 0.9793, 0.9786, 0.9789, 0.9798, 0.9814, 0.9833, 0.9855, 0.9878, 0.9901, 0.9923, 0.9944, 0.9961, 0.9976, 0.9988, 0.9996, 1);
}
*{box-sizing:border-box;margin:0;padding:0}
html{overflow-x:clip;background:var(--black);font-synthesis:none} /* one face: no faux italic or bold */
body{background:var(--black);color:var(--white);font-family:var(--serif);font-weight:300;font-size:20px;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:clip} /* clip, not hidden: hidden makes body a scroll container and breaks the sticky pinned stages */
/* iOS Safari < 16 has no overflow:clip (the declarations above are dropped there): clip the page sideways at
   the root instead. On <html> only: its overflow goes to the viewport, so no element becomes a scroll container
   and the sticky pinned stages keep working (overflow-x:hidden on <body> would break them). */
@supports not (overflow:clip){html{overflow-x:hidden}}
img,video{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
:focus-visible{outline:1px solid currentColor;outline-offset:5px}
.sprite{position:absolute}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* no "skip to content" link: removed at the client's request (16/11) */

.light{background:var(--white);color:var(--black)}
.fog{background:var(--fog);color:var(--black)}
.cap{font-family:var(--sans);font-size:15px;line-height:1.45;letter-spacing:.01em;color:var(--smoke)}
.light .cap{color:#555}
.fog .cap{color:#505050} /* 5.1:1 on fog (#6b6b6b was 4.3:1) */

/* split helpers (.w words, .c chars): wrapper clips, inner span is animated */
.w,.c{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.1em;margin-bottom:-.1em}
.w>span,.c>span{display:inline-block;will-change:transform}

/* legal placeholder until the real company data arrives */
.todo-legal{outline:1px dashed currentColor;outline-offset:3px}

/* loader: markup only on the home page; shown only when JS + motion are available */
.loader{display:none;position:fixed;inset:0;z-index:100;background:var(--black);place-items:center}
.js .loader{display:grid}
.no-motion .loader{display:none}
.mmg-lock,.mmg-lock body{overflow:hidden} /* touch screens: no scrolling behind the home loader (core.js) */
.loader svg{width:min(26vw,170px)}
.loader path{fill:transparent;stroke:#fff;stroke-width:1}

/* header */
.top{position:fixed;inset:0 0 auto 0;z-index:40;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:20px var(--g);font-family:var(--sans);font-size:16px;color:#fff;mix-blend-mode:difference}
.top nav{display:flex;gap:clamp(16px,2.6vw,36px)}
/* the links breathe: white ↔ pale blue on dark grounds; over light grounds (core.js sets .on-light) the header's
   difference blend inverts them, so #fff ↔ #F5EBBF reads as black ↔ royal blue. Staggered; off under reduced motion. */
.top nav a{position:relative;font-size:17.5px;font-weight:500;letter-spacing:.025em;--nb0:#fff;--nb1:#C9D6FF;color:var(--nb0);animation:nav-breathe 6s ease-in-out infinite}
.top.on-royal{mix-blend-mode:normal} /* over the royal ground (core.js): plain white, never the blend's yellow */
.top nav a:nth-child(2){animation-delay:-2s}
.top nav a:nth-child(3){animation-delay:-4s}
.top nav a:nth-child(5){animation-delay:-3s}
/* phone-only links (the ring sizer): gone on a desktop with a mouse */
@media (hover:hover) and (pointer:fine){.nav-phone,.pz-made-r{display:none!important}}
.top.on-light nav a{--nb1:#F5EBBF}
@keyframes nav-breathe{0%,100%{color:var(--nb0)}50%{color:var(--nb1)}}
@media (prefers-reduced-motion:reduce){.top nav a{animation:none}}
.top nav a::after{content:"";position:absolute;left:0;right:0;bottom:-3px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:right;transition:transform .5s cubic-bezier(.6,0,.2,1)}
.top nav a[aria-current="page"]::after{transform:scaleX(1);transform-origin:left}
@media (hover:hover){.top nav a:hover::after{transform:scaleX(1);transform-origin:left}}
.top .mark{justify-self:center;width:38px}
.top .mark svg{width:100%;fill:#fff}
.top .right{justify-self:end;display:flex;gap:18px;align-items:center}
.top .langs{display:flex;gap:12px}
/* inactive language: a solid grey, not opacity. Under the header's difference blend it reads #8c8c8c on black (6.2:1)
   and #737373 on white (4.7:1) */
.top .langs a{color:#8c8c8c;padding:2px}
/* touch screens: 44 px tall hit areas for the menu button and the languages, the glyphs where they were
   (padding taken back by negative margins, so nothing moves) */
@media (pointer:coarse){
  .menu-btn{padding:11px 12px 11px 0;margin:-11px -12px -11px 0}
  .top .langs a{padding:11px 6px;margin:-11px -6px}
  /* footer contacts were 19 px lines one under the other: each link gets its own 44 px row */
  footer .fcols a,footer .frow a{display:inline-block;padding:12.5px 0}
}
.top .langs a[aria-current]{color:#fff}
.menu-btn{display:none;justify-self:start;font-size:16px;letter-spacing:.02em}

/* Without JS (no .menu-js) the nav stays visible: it wraps onto its own row on small screens. */
@media (max-width:760px){
  .top{grid-template-columns:1fr auto;row-gap:10px}
  .top .mark{justify-self:start}
  .top nav{grid-column:1/-1;grid-row:2;gap:18px;flex-wrap:wrap}
  /* Collapsed menu only when core.js (which runs the button) is present; set even under reduced motion. */
  .menu-js .top{grid-template-columns:1fr auto 1fr;row-gap:0}
  .menu-js .top .mark{justify-self:center}
  .menu-js .menu-btn{display:block}
  .menu-js .top nav{display:none}
  .menu-js.nav-open .top{mix-blend-mode:normal}
  .menu-js.nav-open,.menu-js.nav-open body{overflow:hidden} /* modal menu: the page does not scroll behind it */
  .menu-js.nav-open .top nav{display:flex;flex-direction:column;justify-content:center;gap:22px;position:fixed;inset:0;z-index:-1;background:#000;padding:90px var(--g) var(--g);font-family:var(--font-round);font-variation-settings:var(--round-axes);font-weight:300;font-size:clamp(32px,9.4vw,48px);letter-spacing:-.01em}
  .menu-js.nav-open .top nav a{--nb1:#C9D6FF;font-size:inherit;font-weight:inherit;letter-spacing:0}
  .menu-js.nav-open .top nav a::after{display:none}
}

/* footer */
footer{padding:0 0 28px;background:var(--black);color:var(--white)}
/* the closing banner: white, the monogram solid black on the left, the wordmark on the right — "Maison" in
   the round face, royal; "Mieke Govaerts" in Bodoni italic, blood red; one line (two on phones) */
/* footer banner: "Maison" left, the monogram centred, "Mieke Govaerts" right; an oblique cut through the
   monogram turns the right part into its negative (two identical layers, the black one clipped) */
footer .fb{position:relative;overflow:hidden;height:clamp(200px,24vw,340px);background:var(--white);color:var(--black)}
footer .fb-s{position:absolute;inset:0;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;column-gap:clamp(22px,3.4vw,64px);padding:0 var(--g);background:var(--white)}
footer .fb-inv{background:var(--black);clip-path:polygon(57% 0,100% 0,100% 100%,43% 100%)}
footer .fb-mg{display:block;width:clamp(84px,9vw,150px);height:auto;fill:var(--black)}
footer .fb-inv .fb-mg{fill:var(--white)}
footer .fb-m{justify-self:end;white-space:nowrap;font-family:var(--font-round);font-variation-settings:var(--round-axes);font-style:normal;font-synthesis:none;font-weight:500;font-size:clamp(36px,5.4vw,96px);line-height:1;letter-spacing:-.02em;color:var(--royal)}
footer .fb-n{justify-self:start;white-space:nowrap;font-family:var(--display);font-style:italic;font-weight:400;font-size:clamp(40px,6vw,108px);line-height:1;letter-spacing:-.02em;color:var(--blood)}
footer .fb-inv .fb-m{color:var(--white)}
footer .fb-inv .fb-n{color:var(--white)}
@media (max-width:760px){
  footer .fb{height:clamp(150px,44vw,220px)}
  footer .fb-s{column-gap:clamp(10px,3vw,22px)}
  footer .fb-mg{width:clamp(44px,12vw,84px)}
  footer .fb-m{font-size:clamp(20px,6vw,40px)}
  footer .fb-n{font-size:clamp(21px,6.4vw,44px)}
  footer .fb-inv{clip-path:polygon(60% 0,100% 0,100% 100%,40% 100%)}
}
footer .fcols{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:28px;padding:clamp(48px,6vw,96px) var(--g) 0}
footer .fh{color:#fff;font-weight:500;margin-bottom:6px}
/* client 16/11: the footer's details in the round face, a little larger, easier to read */
footer .fcols,footer .frow{font-family:var(--font-round);font-variation-settings:var(--round-axes);font-style:normal;font-synthesis:none;letter-spacing:.01em}
footer .fcols{font-size:17px;line-height:1.45;color:rgba(255,255,255,.72)}
footer .fcols .fh{font-size:19px;font-weight:500;margin-bottom:8px}
footer .frow{font-size:15px;color:rgba(255,255,255,.6)}
@media (hover:hover){footer .fcols a:hover,footer .frow a:hover{color:#fff}}
footer .frow{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:48px;padding:0 var(--g)}

/* cursor (fine pointers only; shown by core.js on first mouse move) */
/* drawn at its large size and scaled down (transform, not width/height/margin: no layout on every hover) */
.cursor{position:fixed;left:0;top:0;z-index:90;pointer-events:none;width:84px;height:84px;margin:-42px 0 0 -42px;mix-blend-mode:difference;display:grid;place-items:center;opacity:0}
.cursor::before{content:"";position:absolute;inset:0;border-radius:50%;background:#fff;scale:.119;transition:scale .45s var(--spring)} /* GSAP owns .cursor's transform (it follows the pointer): the circle grows on its own layer */
.cursor span{position:relative}
.cursor span{font-family:var(--sans);font-size:14px;color:#000;opacity:0;transition:opacity .3s}
.cursor.big::before{scale:1}
.cursor.big span{opacity:1}
@media (pointer:coarse){.cursor{display:none}}
@media (prefers-reduced-motion:reduce){.cursor,.loader{display:none}}
main:focus{outline:none}

/* 404 (src/pages/notfound.mjs): Italian and English side by side, on black */
.nf{min-height:100vh;min-height:100svh;display:grid;align-content:center;gap:clamp(28px,4vw,56px);padding:120px var(--g) 80px}
.nf-code{font-family:var(--font-round);font-variation-settings:var(--round-axes);font-weight:300;font-size:clamp(96px,22vw,320px);line-height:.85;letter-spacing:-.02em}
.nf-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:clamp(32px,5vw,96px);max-width:1100px}
.nf h1,.nf h2{font-family:var(--font-round);font-variation-settings:var(--round-axes);font-weight:300;font-size:clamp(28px,3vw,44px);line-height:1.1;margin-bottom:.5em}
.nf p{max-width:36ch;color:rgba(255,255,255,.82)}
.nf-links{list-style:none;margin-top:1.2em;display:grid;gap:.4em;font-family:var(--sans);font-size:18px}
.nf .u{border-bottom:1px solid currentColor;padding-bottom:2px}

/* instant switch (core.js): while the header changes ground or the menu opens, nothing in it transitions */
.top.switching,.top.switching *,.top.switching *::after{transition:none!important}
/* the mobile menu opens from 97%, never from nothing: a panel that grows from zero reads as a zoom, not an opening */
@media (prefers-reduced-motion:no-preference) and (max-width:760px){
  .menu-js.nav-open .top nav{animation:mmg-open .42s var(--spring) both;transform-origin:50% 0}
  .menu-js.nav-open .top nav a{animation:mmg-rise .6s var(--spring) both,nav-breathe 6s ease-in-out infinite}
  .menu-js.nav-open .top nav a:nth-child(2){animation-delay:.05s,-2s}
  .menu-js.nav-open .top nav a:nth-child(3){animation-delay:.1s,-4s}
  .menu-js.nav-open .top nav a:nth-child(4){animation-delay:.15s,0s}
  .menu-js.nav-open .top nav a:nth-child(5){animation-delay:.2s,-3s}
}
@keyframes mmg-open{from{opacity:0;scale:.97}to{opacity:1;scale:1}}
@keyframes mmg-rise{from{opacity:0;translate:0 14px}to{opacity:1;translate:0 0}}
