/* =========================================================
   M&R — Saint-Tropez Tennis Club
   ========================================================= */
:root {
  --cream: #F7ECDD;
  --ecru: #EFDFC9;
  --paper: #FCF5EB;
  --sand: #E9D3B6;
  --peach: #F2C9A0;
  --royal: #1F3FC0;
  --royal-deep: #17309A;
  --navy: #1B2550;
  --ink: #2B2219;
  --muted: #7C6A57;
  --line: rgba(92, 60, 28, .16);

  --r: 22px;
  --r-sm: 12px;

  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
  --pad: clamp(20px, 4.5vw, 72px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: italic; }
::selection { background: var(--royal); color: var(--cream); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 1px solid var(--royal); outline-offset: 4px; }

/* subtle paper grain */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 200; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300; background: var(--cream);
  display: grid; place-content: center; gap: 22px; justify-items: center;
  transition: transform 1.1s var(--ease-io) .15s;
}
.loader__mark { font-family: var(--serif); font-size: 46px; color: var(--royal); letter-spacing: .02em; overflow: hidden; }
.loader__mark span, .loader__mark em { display: inline-block; animation: rise .9s var(--ease) both; }
.loader__mark em { animation-delay: .08s; }
.loader__mark span:last-child { animation-delay: .16s; }
.loader__line { width: 120px; height: 1px; background: rgba(28,59,196,.15); overflow: hidden; }
.loader__line i { display: block; height: 100%; background: var(--royal); transform-origin: left; animation: load 1s var(--ease) .2s both; }
body:not(.is-loading) .loader { transform: translateY(-100%); }
@keyframes rise { from { transform: translateY(110%); } }
@keyframes load { from { transform: scaleX(0); } }

/* ---------- Announce ---------- */
.announce {
  background: var(--royal); color: var(--cream);
  text-align: center; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  padding: 9px var(--pad);
}
.announce p { margin: 0; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  transition: background .5s var(--ease), border-color .5s, transform .6s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(247, 236, 221, .86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.nav {
  height: 100%; padding: 0 var(--pad);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.nav__links { display: flex; gap: clamp(18px, 2.6vw, 40px); list-style: none; margin: 0; padding: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.nav__links--right { justify-content: flex-end; align-items: center; }
.nav__links a, .cart-btn { position: relative; padding: 6px 0; }
.nav__links a::after, .link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.nav__links a:hover::after, .link:hover::after { transform: scaleX(1); transform-origin: left; }
.logo { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--royal); letter-spacing: .01em; line-height: 1; }
.logo em, .footer__mark em, .story__sign em, .loader__mark em { font-weight: 400; }
.cart-btn { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; display: inline-flex; gap: 8px; align-items: center; }
.cart-count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 20px;
  background: var(--royal); color: var(--cream); font-size: 10px; letter-spacing: 0;
  transition: transform .4s var(--ease);
}
.cart-count.bump { animation: bump .6s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.nav__burger { display: none; width: 28px; height: 20px; position: relative; }
.nav__burger span { position: absolute; left: 0; width: 100%; height: 1px; background: var(--ink); transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger span:first-child { top: 6px; }
.nav__burger span:last-child { top: 14px; }
.menu-open .nav__burger span:first-child { top: 10px; transform: rotate(45deg); }
.menu-open .nav__burger span:last-child { top: 10px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--cream);
  padding: calc(var(--header-h) + 60px) var(--pad) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li { border-bottom: 1px solid var(--line); overflow: hidden; }
.menu a { display: flex; align-items: baseline; gap: 18px; padding: 16px 0; font-family: var(--serif); font-size: 40px; line-height: 1.1; transform: translateY(100%); transition: transform .8s var(--ease); }
.menu a span { font-family: var(--sans); font-size: 11px; color: var(--royal); letter-spacing: .1em; }
.menu-open .menu a { transform: none; }
.menu-open .menu li:nth-child(2) a { transition-delay: .05s; }
.menu-open .menu li:nth-child(3) a { transition-delay: .1s; }
.menu-open .menu li:nth-child(4) a { transition-delay: .15s; }
.menu-open .menu li:nth-child(5) a { transition-delay: .2s; }
.menu__foot { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 56px; padding: 0 34px; overflow: hidden; isolation: isolate;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  border: 1px solid var(--royal); border-radius: 999px; transition: color .6s var(--ease), border-color .6s, box-shadow .6s var(--ease);
  box-shadow: 0 10px 24px -14px rgba(31,63,192,.6);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; transition: transform .6s var(--ease); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy);
  transform: translateY(101%); transition: transform .7s var(--ease);
}
.btn--primary { background: var(--royal); color: var(--cream); }
.btn:hover::before { transform: none; }
.btn:hover { border-color: var(--navy); }
.btn:hover svg { transform: translateX(5px); }
.btn--block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.link { position: relative; font-size: 12px; letter-spacing: .08em; text-decoration: none; color: var(--ink); padding-bottom: 2px; }
.link::after { transform: scaleX(1); transform-origin: left; opacity: .5; }
.link:hover::after { opacity: 1; }

/* ---------- Typography ---------- */
.section { padding: clamp(96px, 14vw, 200px) var(--pad); position: relative; }
.eyebrow { margin: 0 0 28px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--royal); }
.eyebrow--light { color: rgba(244,238,227,.7); }
.display {
  margin: 0; font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: clamp(46px, 7.2vw, 118px); line-height: .95; letter-spacing: -.015em;
}
.display em { color: var(--royal); }
.lede { max-width: 440px; margin: 36px 0 0; color: var(--muted); font-size: 16px; font-weight: 300; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--pad); align-items: end; margin-bottom: clamp(60px, 8vw, 120px); }
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head .lede { justify-self: end; }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-fade { opacity: 0; transition: opacity 1.4s var(--ease) var(--d, 1.2s), transform 1.4s var(--ease) var(--d, 1.2s); transform: translateY(14px); }
body.is-ready .reveal-fade { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: calc(100svh - var(--header-h) - 34px);
  padding: 20px var(--pad) 40px;
  display: grid; grid-template-rows: 1fr auto; overflow: hidden;
  background:
    radial-gradient(ellipse 55% 45% at 50% 52%, rgba(255,246,232,.9), transparent 70%),
    radial-gradient(ellipse 70% 60% at 85% 10%, rgba(242,201,160,.35), transparent 70%),
    radial-gradient(ellipse 60% 50% at 10% 95%, rgba(242,201,160,.28), transparent 70%),
    var(--cream);
}
.hero__meta { position: absolute; top: 28px; display: flex; flex-direction: column; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); line-height: 1.9; z-index: 3; }
.hero__meta--left { left: var(--pad); }
.hero__meta--right { right: var(--pad); text-align: right; }
.hero__title {
  margin: 0; position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center;
  font-family: var(--serif); font-weight: 600; color: var(--royal); text-transform: uppercase; line-height: .86;
  pointer-events: none; justify-content: space-between; padding: clamp(40px, 7vh, 80px) 0 clamp(96px, 14vh, 150px);
}
.hero__line { display: block; overflow: hidden; padding: .06em .02em 0; white-space: nowrap; }
.hero__line--top { font-size: clamp(54px, 11.6vw, 215px); letter-spacing: -.025em; z-index: 1; font-variation-settings: 'SOFT' 100, 'WONK' 0; }
.hero__line--bottom { font-size: clamp(32px, 5.6vw, 108px); letter-spacing: .02em; position: relative; z-index: 4; color: var(--navy); }
.hero__line--bottom em { color: var(--royal); text-transform: none; font-weight: 400; letter-spacing: -.01em; }
.split { display: inline-block; transform: translateY(105%); transition: transform 1.5s var(--ease); }
body.is-ready .split { transform: none; }
.hero__line--bottom .split { transition-delay: .12s; }

.hero__product {
  position: relative; z-index: 2; margin: 0; align-self: center; justify-self: center;
  width: min(31vw, calc((100svh - 250px) * .84), 560px); min-width: 240px; margin-top: 2vh;
}
.hero__product img { width: 100%; filter: drop-shadow(0 40px 50px rgba(120,72,30,.22)); opacity: 0; transform: translateY(60px) scale(.96); transition: opacity 1.6s var(--ease) .35s, transform 1.8s var(--ease) .35s; }
body.is-ready .hero__product img { opacity: 1; transform: none; }
.hero__float { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px) rotate(-.4deg); } }
.hero__shadow { position: absolute; left: 18%; right: 18%; bottom: -26px; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(120,72,30,.26), transparent); animation: shadow 7s ease-in-out infinite; }
@keyframes shadow { 50% { transform: scaleX(.9); opacity: .7; } }

.hero__bottom { position: relative; z-index: 5; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px; }
.hero__slogan { margin: 0; font-family: var(--serif); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; }
.hero__slogan em { color: var(--royal); }
.hero__scroll { justify-self: end; display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.hero__scroll i { width: 1px; height: 46px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--royal); animation: scrolline 2.2s var(--ease-io) infinite; }
@keyframes scrolline { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--navy); color: var(--cream); overflow: hidden; padding: 22px 0; border-block: 1px solid var(--navy); }
.marquee__track { display: flex; width: max-content; gap: 40px; align-items: center; animation: marquee 38s linear infinite; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 40px); white-space: nowrap; text-transform: uppercase; letter-spacing: .04em; }
.marquee__track em { text-transform: none; color: #9FB0F2; }
.marquee__track b { font-weight: 400; font-size: .5em; color: #9FB0F2; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 01 Pièce ---------- */
.piece { background: var(--paper); }
.piece__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 64px); }
.piece__card--offset { margin-top: clamp(60px, 12vw, 200px); }
.piece__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); display: grid; place-items: center; }
.piece__frame--front { background: var(--navy); }
.piece__frame--back { background: var(--ecru); }
.piece__frame img { width: 78%; transition: transform 1.6s var(--ease); filter: drop-shadow(0 30px 40px rgba(120,72,30,.2)); }
.piece__frame--front img { filter: drop-shadow(0 30px 50px rgba(0,0,0,.45)); }
.piece__card:hover .piece__frame img { transform: scale(1.05) translateY(-6px); }
.piece__frame::after { content: ""; position: absolute; inset: 16px; border-radius: calc(var(--r) - 8px); border: 1px solid rgba(244,238,227,.18); pointer-events: none; }
.piece__frame--back::after { border-color: rgba(28,59,196,.14); }
.piece__caption { display: grid; grid-template-columns: 52px 1fr; padding-top: 24px; border-top: 1px solid var(--line); margin-top: 24px; }
.piece__caption .num { font-family: var(--serif); font-style: italic; color: var(--royal); font-size: 20px; }
.piece__caption h3 { margin: 0 0 4px; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; }
.piece__caption p { margin: 0; color: var(--muted); font-size: 14px; max-width: 360px; }

/* ---------- 02 Atelier ---------- */
.atelier { background: linear-gradient(180deg, var(--cream), var(--ecru)); }
.atelier__intro { margin-bottom: clamp(60px, 8vw, 110px); }
.atelier__grid {
  display: grid; gap: clamp(14px, 2vw, 28px);
  grid-template-columns: repeat(12, 1fr);
  grid-template-areas:
    "a a a a a b b b b b b b"
    "c c c c c c c d d d d d";
}
.detail { margin: 0; }
.detail--a { grid-area: a; }
.detail--b { grid-area: b; }
.detail--c { grid-area: c; }
.detail--d { grid-area: d; }
.detail__zoom {
  aspect-ratio: 1; overflow: hidden; position: relative; border-radius: var(--r);
  background-color: var(--ecru);
}
.detail--b .detail__zoom, .detail--c .detail__zoom { aspect-ratio: 7 / 5; }
.detail--a .detail__zoom, .detail--d .detail__zoom { aspect-ratio: 5 / 5; }
.detail__zoom::before {
  content: ""; position: absolute; inset: 0;
  background: var(--img) var(--pos) / var(--size) no-repeat;
  transition: transform 1.8s var(--ease);
}
.detail:hover .detail__zoom::before { transform: scale(1.06); }
.detail figcaption { display: flex; gap: 14px; align-items: baseline; margin-top: 16px; font-size: 13px; color: var(--muted); }
.detail figcaption span { font-family: var(--serif); font-style: italic; color: var(--royal); font-size: 18px; }

.specs { margin: clamp(80px, 10vw, 140px) 0 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--pad); }
.specs__row { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.specs dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--royal); padding-top: 4px; }
.specs dd { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.3; }

/* ---------- 03 Riviera ---------- */
.riviera { background: var(--paper); }
.gallery {
  display: grid; gap: clamp(14px, 2vw, 28px);
  grid-template-columns: repeat(12, 1fr);
  grid-template-areas:
    "court court court court print print print print print sea sea sea"
    "court court court court print print print print print card card card"
    "parasol parasol parasol parasol front front front front front card card card";
}
.tile { margin: 0; display: flex; flex-direction: column; }
.tile--court { grid-area: court; }
.tile--print { grid-area: print; }
.tile--sea { grid-area: sea; }
.tile--card { grid-area: card; }
.tile--parasol { grid-area: parasol; }
.tile--front { grid-area: front; }
.tile > :first-child { flex: 1; min-height: 0; overflow: hidden; position: relative; border-radius: var(--r); }
.tile--court > :first-child { min-height: 620px; }
.tile--sea > :first-child { min-height: 240px; }
.tile--parasol > :first-child, .tile--front > :first-child { min-height: 420px; }
.tile__art svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1.8s var(--ease); }
.tile:hover .tile__art svg { transform: scale(1.04); }
.tile__photo { background: var(--ecru); }
.tile__photo::before { content: ""; position: absolute; inset: 0; background: var(--img) var(--pos) / var(--size) no-repeat; transition: transform 1.8s var(--ease); }
.tile:hover .tile__photo::before { transform: scale(1.05); }
.tile__photo--contain { background: var(--royal); display: grid; place-items: center; }
.tile__photo--contain::before { display: none; }
.tile__photo--contain img { width: 56%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.3)); transition: transform 1.8s var(--ease); }
.tile:hover .tile__photo--contain img { transform: scale(1.05) rotate(-1deg); }
.tile figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.tile figcaption em { font-family: var(--serif); text-transform: none; letter-spacing: 0; font-size: 16px; color: var(--muted); }

.postcard {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 2.6vw, 36px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 360px;
  transition: transform 1s var(--ease), box-shadow 1s var(--ease);
}
.tile--card:hover .postcard { transform: rotate(-1.2deg) translateY(-4px); box-shadow: 0 30px 50px -30px rgba(14,27,61,.35); }
.postcard__stamp { align-self: flex-end; width: 78px; height: 92px; border-radius: 8px; border: 1.5px dashed var(--royal); display: grid; place-content: center; text-align: center; color: var(--royal); outline: 4px solid var(--cream); outline-offset: -8px; background: rgba(28,59,196,.06); }
.postcard__stamp span { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1; }
.postcard__stamp small { font-size: 8px; letter-spacing: .14em; text-transform: uppercase; margin-top: 6px; }
.postcard__script { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(30px, 2.8vw, 44px); line-height: 1; color: var(--royal); }
.postcard__note { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 1.35; color: var(--ink); }
.postcard__lines { height: 40px; background: repeating-linear-gradient(to bottom, transparent 0 19px, var(--line) 19px 20px); }

/* ---------- 04 Shop ---------- */
.shop { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: start; background: var(--cream); }
.shop__media { position: sticky; top: calc(var(--header-h) + 24px); display: grid; grid-template-columns: 84px 1fr; gap: 16px; }
.shop__main { grid-column: 2; grid-row: 1; aspect-ratio: 1136 / 1408; overflow: hidden; border-radius: var(--r); background: var(--ecru); cursor: zoom-in; position: relative; }
.shop__main img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .45s var(--ease); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.shop__main.is-zoom img { transform: scale(1.9); }
.shop__main.is-swapping img { opacity: 0; }
.shop__thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 12px; }
.thumb { aspect-ratio: 1136 / 1408; overflow: hidden; border-radius: var(--r-sm); opacity: .5; transition: opacity .4s; border: 1px solid transparent; background: var(--ecru); }
.thumb.is-active { opacity: 1; border-color: var(--royal); }
.thumb:hover { opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

.shop__info { padding-top: 10px; }
.shop__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.4vw, 68px); line-height: .98; letter-spacing: -.01em; }
.shop__title em { color: var(--royal); }
.shop__price { display: flex; align-items: baseline; gap: 14px; margin: 26px 0 0; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.shop__price span { font-family: var(--serif); font-size: 30px; }
.shop__price small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.shop__desc { color: var(--muted); font-weight: 300; margin: 26px 0 34px; max-width: 460px; }
.field { margin-bottom: 30px; }
.field__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.field__head b { font-weight: 400; color: var(--muted); letter-spacing: .06em; text-transform: none; font-size: 13px; margin-left: auto; }
.field__head span + b { margin-left: 14px; margin-right: auto; }
.swatches { display: flex; gap: 10px; }
.swatch { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--ecru) 50%, var(--royal) 50%); box-shadow: 0 0 0 1px var(--line); }
.swatch.is-active { box-shadow: 0 0 0 1px var(--cream), 0 0 0 2px var(--ink); }
.sizes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.sizes button {
  height: 52px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 13px; letter-spacing: .06em; position: relative; overflow: hidden;
  transition: border-color .3s, background .4s var(--ease), color .4s;
}
.sizes button:hover:not(:disabled) { border-color: var(--ink); }
.sizes button[aria-checked="true"] { background: var(--royal); color: var(--cream); border-color: var(--royal); }
.sizes button:disabled { color: rgba(22,24,42,.3); cursor: not-allowed; background: linear-gradient(to top right, transparent calc(50% - .5px), var(--line) 50%, transparent calc(50% + .5px)); }
.sizes.shake { animation: shake .5s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.field__hint { margin: 12px 0 0; font-size: 12px; color: var(--muted); min-height: 1.4em; transition: color .3s; }
.field__hint.is-error { color: #B3261E; }

.buy { display: grid; grid-template-columns: 130px 1fr; gap: 10px; }
.qty { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; height: 56px; border: 1px solid var(--line); border-radius: 999px; text-align: center; }
.qty button { height: 100%; font-size: 18px; transition: color .3s; }
.qty button:hover { color: var(--royal); }
.qty output { font-size: 14px; }
.btn.is-added { pointer-events: none; }

.perks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.perks li::before { content: "—"; color: var(--royal); margin-right: 12px; }

.accordion { margin-top: 40px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 18px; line-height: 1; font-weight: 300; transition: transform .4s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion p { margin: 0 0 22px; color: var(--muted); font-size: 14px; font-weight: 300; max-width: 480px; }

/* ---------- 05 Story ---------- */
.story { background: var(--navy); color: var(--cream); overflow: hidden; }
.story__quote { margin: 0 0 clamp(70px, 10vw, 140px); font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4.4vw, 72px); line-height: 1.08; max-width: 18ch; letter-spacing: -.01em; }
.story__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(30px, 4vw, 70px); }
.story__col { border-top: 1px solid rgba(244,238,227,.2); padding-top: 26px; }
.story__col h3 { margin: 0 0 14px; font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 26px; color: #B9C5F5; }
.story__col p { margin: 0; font-weight: 300; color: rgba(244,238,227,.78); }
.story__figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(70px, 10vw, 140px); }
.story__figures div { display: flex; flex-direction: column; gap: 6px; }
.story__figures strong { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 7vw, 110px); line-height: 1; }
.story__figures span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(244,238,227,.6); }
.story__sign { margin: clamp(70px, 10vw, 120px) 0 0; text-align: right; font-family: var(--serif); font-size: 44px; color: #B9C5F5; }

/* ---------- Club ---------- */
.club { background: linear-gradient(135deg, var(--sand), var(--peach)); padding-block: clamp(90px, 11vw, 160px); }
.club__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pad); align-items: end; }
.club__form-wrap p { margin: 0 0 26px; color: var(--muted); max-width: 400px; }
.club__form { display: flex; border-bottom: 1px solid var(--ink); }
.club__form input { flex: 1; border: 0; background: transparent; padding: 18px 0; font: inherit; font-family: var(--serif); font-size: 22px; color: var(--ink); outline: none; min-width: 0; }
.club__form input::placeholder { color: rgba(22,24,42,.4); }
.club__form button { width: 48px; display: grid; place-items: center; }
.club__form svg { width: 22px; fill: none; stroke: var(--ink); stroke-width: 1.3; transition: transform .5s var(--ease); }
.club__form button:hover svg { transform: translateX(5px); }
.club__msg { margin: 14px 0 0 !important; font-size: 13px; min-height: 1.4em; color: var(--royal) !important; }

/* ---------- Footer ---------- */
.footer { background: var(--cream); padding: clamp(70px, 9vw, 120px) var(--pad) 30px; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer__col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer__col h4 { margin: 0 0 12px; font-weight: 400; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--royal); }
.footer__col a { width: fit-content; position: relative; }
.footer__col a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.footer__col a:hover::after { transform: scaleX(1); transform-origin: left; }
.footer__col span { color: var(--muted); }
.footer__mark { margin: clamp(60px, 8vw, 110px) 0 20px; font-family: var(--serif); font-weight: 500; color: var(--royal); font-size: clamp(120px, 30vw, 460px); line-height: .78; text-align: center; letter-spacing: -.03em; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Cart drawer ---------- */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(60,36,14,.32); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .6s var(--ease); }
.cart-open .overlay, .guide-open .overlay { opacity: 1; pointer-events: auto; }
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(460px, 100%);
  background: var(--paper); display: flex; flex-direction: column; border-radius: var(--r) 0 0 var(--r);
  transform: translateX(100%); transition: transform .8s var(--ease-io); visibility: hidden;
}
.cart-open .cart { transform: none; visibility: visible; }
.cart__head { display: flex; justify-content: space-between; align-items: center; padding: 26px 30px; border-bottom: 1px solid var(--line); }
.cart__head h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 30px; }
.cart__head h3 span { font-family: var(--sans); font-size: 12px; color: var(--royal); vertical-align: super; }
.close { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; position: relative; }
.close:hover { color: var(--royal); }
.cart__ship { padding: 20px 30px; border-bottom: 1px solid var(--line); }
.cart__ship p { margin: 0 0 10px; font-size: 12px; color: var(--muted); }
.cart__ship .bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.cart__ship .bar i { display: block; height: 100%; background: var(--royal); transform-origin: left; transform: scaleX(0); transition: transform .8s var(--ease); }
.cart__items { flex: 1; overflow-y: auto; padding: 0 30px; }
.cart__empty { flex: 1; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.cart__empty p { margin: 0; font-family: var(--serif); font-size: 26px; }
.cart.is-empty .cart__empty { display: flex; }
.cart.is-empty .cart__items, .cart.is-empty .cart__foot { display: none; }
.item { display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); animation: itemIn .7s var(--ease) both; }
@keyframes itemIn { from { opacity: 0; transform: translateX(20px); } }
.item__img { aspect-ratio: 4/5; background: var(--ecru); overflow: hidden; border-radius: var(--r-sm); }
.item__img img { width: 100%; height: 100%; object-fit: cover; }
.item h4 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.15; }
.item__meta { margin: 6px 0 14px; font-size: 12px; color: var(--muted); }
.item .qty { height: 36px; width: 104px; font-size: 13px; }
.item .qty button { font-size: 15px; }
.item__side { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.item__price { font-family: var(--serif); font-size: 20px; }
.item__remove { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid currentColor; }
.item__remove:hover { color: var(--royal); }
.cart__foot { padding: 24px 30px 30px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.cart__row { display: flex; justify-content: space-between; align-items: baseline; }
.cart__row b { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.cart__row--muted { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.cart__note { margin: 4px 0 0; font-size: 12px; color: var(--muted); text-align: center; min-height: 1em; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px; pointer-events: none; }
.modal__box { position: relative; width: min(640px, 100%); background: var(--paper); border-radius: var(--r); padding: clamp(28px, 4vw, 48px); opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.guide-open .modal { pointer-events: auto; }
.guide-open .modal__box { opacity: 1; transform: none; }
.modal__box .close { position: absolute; top: 24px; right: 24px; }
.modal h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 400; font-size: 34px; }
.modal p { margin: 0 0 24px; color: var(--muted); font-size: 13px; }
.modal table { width: 100%; border-collapse: collapse; font-size: 13px; }
.modal th, .modal td { padding: 12px 6px; border-bottom: 1px solid var(--line); text-align: center; font-weight: 400; }
.modal thead th { font-size: 11px; letter-spacing: .12em; color: var(--royal); }
.modal tbody th { text-align: left; color: var(--muted); }

/* ---------- Toast ---------- */
.toast { border-radius: 999px; position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, calc(100% + 60px)); visibility: hidden; background: var(--navy); color: var(--cream); padding: 14px 26px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; transition: transform .7s var(--ease); white-space: nowrap; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .gallery {
    grid-template-columns: repeat(6, 1fr);
    grid-template-areas:
      "court court court print print print"
      "court court court print print print"
      "sea sea sea sea sea sea"
      "parasol parasol parasol card card card"
      "front front front front front front";
  }
  .tile--court > :first-child { min-height: 520px; }
  .tile--sea > :first-child { min-height: 300px; }
  .tile--front > :first-child { min-height: 520px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav { grid-template-columns: auto 1fr auto; }
  .nav__burger { display: block; }
  .nav__links { display: none; }
  .nav__links--right { display: flex; }
  .nav__links--right li:not(:last-child) { display: none; }
  .logo { justify-self: center; }

  .section-head { grid-template-columns: 1fr; }
  .section-head .lede { justify-self: start; }
  .shop { grid-template-columns: 1fr; }
  .shop__media { position: relative; top: 0; grid-template-columns: 1fr; }
  .shop__thumbs { grid-column: 1; grid-row: 2; flex-direction: row; }
  .shop__thumbs .thumb { width: 76px; }
  .shop__main { grid-column: 1; }
  .specs { grid-template-columns: 1fr; }
  .story__cols { grid-template-columns: 1fr; }
  .club__inner { grid-template-columns: 1fr; }
  .hero__bottom { grid-template-columns: 1fr auto; }
  .hero__scroll { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 14px; }
  .announce { font-size: 9.5px; letter-spacing: .12em; }
  .announce__more { display: none; }
  .hero { min-height: calc(100svh - var(--header-h) - 30px); padding-bottom: 28px; }
  .hero__meta { top: 18px; font-size: 9.5px; }
  .hero__title { padding: 74px 0 170px; }
  .hero__line--top { font-size: 11vw; }
  .hero__line--bottom { font-size: 9.6vw; }
  .hero__product { width: min(74vw, calc((100svh - 330px) * .84)); min-width: 0; margin-top: -40px; }
  .hero__bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 20px; }
  .hero__bottom .btn { width: 100%; }

  .piece__grid { grid-template-columns: 1fr; gap: 60px; }
  .piece__card--offset { margin-top: 0; }

  .atelier__grid { grid-template-columns: 1fr 1fr; grid-template-areas: "a d" "b b" "c c"; }
  .specs__row { grid-template-columns: 1fr; gap: 4px; }
  .specs dd { font-size: 20px; }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "court court" "print print" "sea sea" "parasol card" "front front";
  }
  .tile--court > :first-child { min-height: 440px; }
  .tile--print > :first-child { min-height: 380px; }
  .tile--sea > :first-child { min-height: 220px; }
  .tile--parasol > :first-child { min-height: 300px; }
  .tile--front > :first-child { min-height: 420px; }
  .tile--card { grid-column: 1 / -1; grid-row: auto; }
  .gallery { grid-template-areas: "court court" "print print" "sea sea" "parasol parasol" "card card" "front front"; }
  .postcard { min-height: 300px; }

  .sizes { grid-template-columns: repeat(3, 1fr); }
  .buy { grid-template-columns: 1fr; }
  .qty { width: 100%; }

  .story__figures { grid-template-columns: 1fr; gap: 34px; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .cart__head, .cart__ship, .cart__items, .cart__foot { padding-left: 22px; padding-right: 22px; }
  .item { grid-template-columns: 76px 1fr auto; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-fade { opacity: 1; transform: none; }
}

/* warm details */
.display, .shop__title, .story__quote, .piece__caption h3, .specs dd, .hero__slogan, .postcard__note, .postcard__script, .cart__head h3, .item h4, .modal h3, .marquee__track, .menu a, .story__figures strong, .club__form input { font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.display em, .shop__title em, .hero__line--bottom em, .story__col h3, .postcard__script { font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.story { background: radial-gradient(ellipse 80% 60% at 90% 0%, rgba(242,201,160,.16), transparent 60%), var(--navy); }
.marquee { background: var(--royal); border-color: var(--royal); }
.marquee__track em, .marquee__track b { color: var(--peach); }
.story__col h3, .story__sign { color: var(--peach); }
.piece__frame--front { background: radial-gradient(circle at 50% 40%, #2A3A78, var(--navy)); }
.piece__frame--back, .detail__zoom, .tile__photo { background-color: var(--ecru); }
.announce { background: var(--navy); }
.swatch { box-shadow: 0 0 0 1px var(--line); }
.cart-count { box-shadow: 0 4px 10px -4px rgba(31,63,192,.7); }

/* =========================================================
   Studio 3D
   ========================================================= */
.studio { background: var(--paper); }
.viewer {
  position: relative; height: min(86vh, 860px); min-height: 520px;
  border-radius: calc(var(--r) * 1.4); overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 50% 42% at 50% 46%, #FFF8EE 0%, rgba(255,248,238,0) 70%),
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(242,201,160,.45), transparent 60%),
    radial-gradient(ellipse 70% 60% at 0% 100%, rgba(233,211,182,.7), transparent 60%),
    linear-gradient(180deg, #F6E7D3, #EBD6BC);
  box-shadow: inset 0 0 0 1px rgba(92,60,28,.08), 0 40px 80px -50px rgba(92,60,28,.45);
  cursor: grab; touch-action: pan-y;
}
.viewer:active { cursor: grabbing; }
.viewer__stage, .viewer__stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.viewer__stage canvas { opacity: 0; transition: opacity 1.2s var(--ease); }
.viewer.is-ready .viewer__stage canvas { opacity: 1; }
.viewer__hotspots { position: absolute; inset: 0; pointer-events: none; z-index: 2; }

.hotspot { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: auto; transition: opacity .35s; }
.hotspot i {
  position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,250,242,.9); box-shadow: 0 0 0 1px rgba(31,63,192,.35), 0 6px 14px -4px rgba(60,36,14,.4);
  display: block;
}
.hotspot i::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--royal); }
.hotspot i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(255,250,242,.9); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.hotspot span {
  position: absolute; left: 20px; top: -14px; width: max-content; max-width: 220px;
  background: rgba(252,245,235,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 14px; padding: 10px 14px; text-align: left; font-size: 12px; line-height: 1.45; color: var(--muted);
  box-shadow: 0 14px 30px -14px rgba(60,36,14,.45);
  opacity: 0; transform: translateX(-6px) scale(.96); transform-origin: left center; pointer-events: none;
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.hotspot span b { display: block; font-family: var(--serif); font-weight: 500; font-size: 16px; color: var(--ink); margin-bottom: 2px; }
.hotspot:hover span, .hotspot.is-open span { opacity: 1; transform: none; }

.viewer__loading { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 14px; transition: opacity .8s var(--ease); pointer-events: none; }
.viewer__loading p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--muted); }
.viewer__bar { width: 140px; height: 3px; border-radius: 3px; background: rgba(92,60,28,.14); overflow: hidden; }
.viewer__bar i { display: block; height: 100%; background: var(--royal); transform-origin: left; transform: scaleX(.04); transition: transform .5s var(--ease); }
.viewer.is-ready .viewer__loading { opacity: 0; }
.viewer__error { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 40px; text-align: center; font-family: var(--serif); font-size: 20px; color: var(--muted); z-index: 3; }
.viewer__error[hidden] { display: none; }

.viewer__top, .viewer__bottom { position: absolute; left: 0; right: 0; z-index: 4; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: clamp(16px, 2.4vw, 28px); pointer-events: none; }
.viewer__top { top: 0; }
.viewer__bottom { bottom: 0; align-items: flex-end; }
.viewer__top > *, .viewer__bottom > * { pointer-events: auto; }
.viewer__tag { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.viewer__tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--royal); box-shadow: 0 0 0 4px rgba(31,63,192,.15); }
.viewer__full, .viewer__controls {
  background: rgba(252,245,235,.72); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), 0 12px 30px -16px rgba(60,36,14,.45);
  border-radius: 999px;
}
.viewer__full { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; transition: background .3s; }
.viewer__full:hover { background: rgba(255,250,242,.95); }
.viewer svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.viewer__hint { margin: 0; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); transition: opacity .6s; }
.viewer.has-interacted .viewer__hint { opacity: 0; }
.viewer__controls { display: flex; padding: 4px; gap: 2px; }
.viewer__controls button { height: 38px; padding: 0 16px; border-radius: 999px; font-size: 12px; letter-spacing: .06em; display: inline-flex; align-items: center; gap: 8px; transition: background .4s var(--ease), color .4s; }
.viewer__controls button:hover { background: rgba(255,255,255,.7); }
.viewer__controls button.is-active, .viewer__auto.is-on { background: var(--royal); color: var(--cream); }
.viewer__auto { margin-left: 4px; }
.viewer__auto.is-on svg { animation: spin 3s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* plein écran */
.viewer.is-full {
  position: fixed; inset: 0; z-index: 140; height: 100%; min-height: 0; border-radius: 0;
  animation: fullIn .6s var(--ease);
}
@keyframes fullIn { from { opacity: 0; transform: scale(.98); } }
body.viewer-open .header { transform: translateY(-100%); }

/* vignette 3D dans le shop */
.thumb--3d { display: grid; place-content: center; text-align: center; opacity: 1; background: linear-gradient(160deg, var(--royal), var(--navy)); color: var(--cream); gap: 2px; }
.thumb--3d span { font-family: var(--serif); font-size: 26px; line-height: 1; }
.thumb--3d small { font-size: 9px; letter-spacing: .16em; opacity: .75; }
.thumb--3d:hover { filter: brightness(1.1); }

@media (max-width: 640px) {
  .viewer { height: 78svh; min-height: 460px; }
  .viewer__bottom { flex-direction: column; align-items: center; }
  .viewer__hint { font-size: 11px; }
  .viewer__controls button { padding: 0 12px; font-size: 11px; height: 36px; }
  .hotspot span { max-width: 170px; }
}

/* ---------- Logo M&R (image) ---------- */
.logo img { height: 34px; width: auto; transition: transform .6s var(--ease); }
.logo:hover img { transform: rotate(-3deg) scale(1.04); }
.loader__mark img { height: 64px; width: auto; animation: rise 1s var(--ease) both; }
.postcard__stamp img { width: 56px; height: auto; margin: 0 auto; }
.story__sign img { display: inline-block; height: clamp(46px, 5vw, 64px); width: auto; }
.footer__mark img { display: block; width: min(88vw, 1100px); height: auto; margin: 0 auto; }
@media (max-width: 900px) { .logo img { height: 28px; } }

/* ---------- Commande (formulaire dans le panier) ---------- */
.order, .order-done { display: none; flex: 1; overflow-y: auto; padding: 18px 30px; }
.cart.is-checkout .order { display: block; }
.cart.is-checkout .cart__items { display: none; }
.cart.is-done .order-done { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; }
.cart.is-done .cart__items, .cart.is-done .order, .cart.is-done .cart__foot { display: none; }
.order__back { background: none; border: 0; cursor: pointer; padding: 6px 0; }
.order h4 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 10px 0 14px; }
.order__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; }
.order__grid label { display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
.order__grid label small { font-size: 11px; }
.order__grid .full { grid-column: 1 / -1; }
.order__grid input, .order__grid textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 11px 13px; width: 100%; min-height: 46px; }
.order__grid input:focus, .order__grid textarea:focus { outline: 2px solid var(--royal); outline-offset: 1px; border-color: transparent; }
.order__grid input.is-bad { border-color: #B3261E; }
.order__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.order-done__title { font-family: var(--serif); font-size: 40px; margin: 0; }
.order-done p { margin: 0; }
.cart__note.is-error { color: #B3261E; }
@media (max-width: 420px) { .order__grid { grid-template-columns: minmax(0,1fr); } }
.cart.is-done .cart__empty { display: none !important; }
.cart__help { margin: 0; font-size: 12px; color: var(--muted); text-align: center; }
.cart__help a, .order-done__help a { color: var(--royal); font-weight: 500; white-space: nowrap; }
.order-done__help { font-size: 14px; color: var(--muted); }
