/* ---------- Design Studio preview (shared by the website, the client portal and the admin) ---------- */
.ms{ --bg:#FBFAF8; --fg:#121218; --muted:#5C5C6B; --card:#FFFFFF; --mline:rgba(18,18,24,.09); --r:12px; --hw:700; --hs:1;
  --ms-sans:"Manrope",system-ui,-apple-system,"Segoe UI",sans-serif; --ms-serif:"Instrument Serif",Georgia,"Times New Roman",serif;
  --ms-geo:"Unbounded","Fredoka","Manrope",system-ui,sans-serif; --ms-round:"Fredoka",ui-rounded,"Nunito","Trebuchet MS",system-ui,sans-serif;
  --hf:var(--ms-sans); --bf:var(--ms-sans);
  --tint:color-mix(in oklch,var(--p) 14%,var(--bg));
  position:relative; container-type:inline-size; background:var(--bg); color:var(--fg); font-family:var(--bf); font-size:14px; line-height:1.5; text-align:left; transition:background-color .4s, color .4s; }
.ms[data-mode="dark"]{ --bg:#0D0E13; --fg:#F2F2F5; --muted:#9C9CAB; --card:#16171F; --mline:rgba(255,255,255,.09); --tint:color-mix(in oklch,var(--p) 22%,var(--bg)); }
/* styles */
.ms[data-style="minimal"]{ --r:10px; }
.ms[data-style="luxury"]{ --r:0px; --hs:1.18; }
.ms[data-style="luxury"][data-mode="light"]{ --bg:#F7F3EE; --tint:color-mix(in oklch,var(--p) 16%,#F7F3EE); }
.ms[data-style="bold"]{ --r:16px; --hs:.88; }
.ms[data-style="playful"]{ --r:24px; --hs:.92; --bg:color-mix(in oklch,var(--p) 9%,#FFFDF8); --card:#FFFFFF; }
.ms[data-style="playful"][data-mode="dark"]{ --bg:color-mix(in oklch,var(--p) 14%,#0D0E13); --card:#17181F; }
.ms[data-style="corporate"]{ --r:8px; --bg:#F5F7FA; --card:#FFFFFF; --muted:#566070; }
.ms[data-style="corporate"][data-mode="dark"]{ --bg:#0B1220; --card:#121B2E; --muted:#97A3B6; --mline:rgba(255,255,255,.08); }
.ms[data-style="editorial"]{ --r:2px; --hs:1.24; --bg:#FAF9F6; --card:#FAF9F6; }
.ms[data-style="editorial"][data-mode="dark"]{ --bg:#111110; --card:#111110; }
.ms[data-style="organic"]{ --r:28px; --hs:1.12; --bg:#F4EFE6; --card:#FBF8F2; --muted:#6B6457; --tint:color-mix(in oklch,var(--p) 18%,#F4EFE6); }
.ms[data-style="organic"][data-mode="dark"]{ --bg:#15160F; --card:#1E2017; --muted:#A8A493; --tint:color-mix(in oklch,var(--p) 22%,#15160F); }
.ms[data-style="futuristic"]{ --r:14px; --hs:.86; --bg:#F3F4FB; --card:#FFFFFF; }
.ms[data-style="futuristic"][data-mode="dark"]{ --bg:#07080F; --card:#0E1020; --mline:color-mix(in oklch,var(--p) 30%,transparent); }
/* fonts (after styles, so a chosen font wins) */
.ms[data-font="sans"]{ --hf:var(--ms-sans); --hw:800; }
.ms[data-font="serif"]{ --hf:var(--ms-serif); --hw:400; }
.ms[data-font="geometric"]{ --hf:var(--ms-geo); --hw:600; }
.ms[data-font="rounded"]{ --hf:var(--ms-round); --hw:600; --bf:var(--ms-round); }

.ms-nav{ display:flex; align-items:center; gap:14px; padding:16px 28px; border-bottom:1px solid var(--mline); }
.ms-logo{ display:flex; align-items:center; gap:8px; font-family:var(--hf); font-weight:var(--hw); font-size:15px; white-space:nowrap; }
.ms-mark{ width:14px; height:14px; background:var(--p); border-radius:calc(var(--r) / 3 + 2px); display:inline-block; flex:none; }
.ms-logo-img{ display:block; height:24px; width:auto; max-width:96px; object-fit:contain; }
.ms-links{ display:flex; gap:18px; margin-left:auto; font-size:12.5px; color:var(--muted); white-space:nowrap; }
.ms-extras{ display:flex; gap:6px; align-items:center; }
.ms-pill{ display:inline-flex; align-items:center; gap:4px; padding:5px 9px; border-radius:999px; border:1px solid var(--mline); font:600 11px/1 var(--bf); color:var(--fg); background:none; white-space:nowrap; }
.ms-modebtn{ cursor:pointer; font-size:12px; }
.ms-modebtn:hover{ border-color:var(--p); }
.ms-btn{ display:inline-flex; align-items:center; justify-content:center; padding:9px 16px; border-radius:var(--r); font-size:12.5px; font-weight:600; white-space:nowrap; }
.ms-btn-p{ background:var(--p); color:var(--p-ink); }
.ms-btn-g{ border:1px solid var(--mline); }
.ms-burger{ display:none; margin-left:auto; flex-direction:column; gap:4px; }
.ms-burger i{ width:18px; height:2px; background:var(--fg); border-radius:2px; display:block; }
.ms-hero{ display:grid; grid-template-columns:1.1fr .9fr; gap:28px; align-items:center; padding:44px 28px 30px; }
.ms-tag{ margin:0; font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:color-mix(in oklch,var(--p) 70%,var(--fg)); font-weight:600; }
.ms-h{ margin:10px 0 12px; font-family:var(--hf); font-weight:var(--hw); font-size:calc(38px * var(--hs)); line-height:1.08; letter-spacing:-.02em; text-wrap:balance; }
.ms-p{ margin:0; color:var(--muted); max-width:40ch; }
.ms-ctas{ display:flex; flex-wrap:wrap; gap:8px; margin-top:20px; }
.ms-art{ aspect-ratio:5/4; border-radius:var(--r); background:var(--tint); overflow:hidden; }
.ms-art svg{ display:block; width:100%; height:100%; }
.ms-sec{ padding:28px 28px; border-top:1px solid var(--mline); }
.ms-sh{ margin:0 0 4px; font-family:var(--hf); font-weight:var(--hw); font-size:calc(21px * var(--hs)); line-height:1.15; letter-spacing:-.01em; }
.ms-sub{ margin:0 0 16px; color:var(--muted); max-width:46ch; font-size:13px; }
.ms-kick{ margin:0 0 10px; font-size:10.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); font-weight:700; text-align:center; }
.ms-small{ color:var(--muted); font-size:12px; line-height:1.45; }
.ms-link{ display:inline-block; margin-top:10px; font-size:12px; font-weight:700; color:color-mix(in oklch,var(--p) 75%,var(--fg)); }
.ms-grid3{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.ms-grid4{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.ms-feat, .ms-card{ background:var(--card); border:1px solid var(--mline); border-radius:var(--r); padding:14px; display:grid; gap:8px; align-content:start; }
.ms-feat b, .ms-card b, .ms-person b{ font-family:var(--hf); font-weight:var(--hw); font-size:calc(14px * var(--hs)); line-height:1.3; }
.ms-dot{ width:22px; height:22px; border-radius:calc(var(--r) / 2 + 2px); background:var(--tint); display:grid; place-items:center; }
.ms-dot::after{ content:""; width:8px; height:8px; border-radius:50%; background:var(--p); }
.ms-bar{ display:block; height:6px; border-radius:3px; background:var(--mline); margin-top:6px; }
.ms-bar.s{ height:5px; }
.ms-media{ display:block; border-radius:calc(var(--r) * .8); }
.ms-tint{ background:linear-gradient(135deg,var(--tint),color-mix(in oklch,var(--p) calc(18% + var(--i,0) * 6%),var(--bg))); }
.ms-card .ms-media{ aspect-ratio:4/3; }
.ms-add{ justify-self:start; font-size:11px; font-weight:700; padding:5px 10px; border-radius:var(--r); border:1px solid var(--mline); }
.ms-split{ display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:22px; align-items:center; }
.ms-split > .ms-media{ aspect-ratio:4/3; }
.ms-statsrow{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; text-align:center; background:var(--tint); }
.ms-statsrow b{ display:block; font-family:var(--hf); font-weight:var(--hw); font-size:calc(26px * var(--hs)); color:color-mix(in oklch,var(--p) 70%,var(--fg)); }
.ms-statsrow span{ font-size:11.5px; color:var(--muted); }
.ms-gal{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.ms-gal .ms-media{ aspect-ratio:1; }
.ms-gal .ms-media:nth-child(1){ grid-row:span 2; aspect-ratio:auto; }
.ms-field{ display:block; padding:9px 12px; margin-bottom:8px; border-radius:calc(var(--r) * .7); border:1px solid var(--mline); color:var(--muted); font-size:12px; background:var(--card); }
.ms-area{ min-height:56px; }
.ms-cal{ background:var(--card); border:1px solid var(--mline); border-radius:var(--r); padding:14px; }
.ms-cal b{ font-family:var(--hf); font-weight:var(--hw); font-size:13px; }
.ms-days{ display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:4px; margin-top:10px; font-size:10.5px; text-align:center; color:var(--muted); }
.ms-days span{ padding:5px 0; border-radius:6px; }
.ms-days .on{ background:var(--p); color:var(--p-ink); font-weight:700; }
.ms-num{ font:700 11px/1 var(--bf); color:color-mix(in oklch,var(--p) 75%,var(--fg)); letter-spacing:.1em; }
.ms-person{ display:grid; justify-items:center; gap:6px; text-align:center; }
.ms-face{ width:56px; height:56px; border-radius:50%; background:radial-gradient(circle at 50% 38%,color-mix(in oklch,var(--p) 40%,var(--bg)) 0 22%,transparent 23%),radial-gradient(circle at 50% 100%,color-mix(in oklch,var(--p) 40%,var(--bg)) 0 42%,transparent 43%),var(--tint); }
.ms-quote{ text-align:center; display:grid; justify-items:center; gap:8px; }
.ms-quote p{ margin:0; max-width:44ch; font-family:var(--hf); font-weight:var(--hw); font-size:calc(17px * var(--hs)); line-height:1.35; }
.ms-stars{ color:var(--p); letter-spacing:3px; font-size:13px; }
.ms-hot{ border-color:var(--p); box-shadow:0 0 0 1px var(--p) inset; }
.ms-faq{ display:grid; grid-template-columns:1fr auto; gap:4px 10px; padding:11px 0; border-top:1px solid var(--mline); font-size:13px; }
.ms-faq .ms-bar{ grid-column:1/-1; }
.ms-news{ display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:14px; background:var(--tint); }
.ms-inrow{ display:flex; gap:8px; align-items:center; }
.ms-inrow .ms-field{ margin:0; min-width:150px; }
.ms-logorow{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px 26px; color:var(--muted); font-family:var(--hf); font-weight:var(--hw); font-size:14px; opacity:.7; }
.ms-map{ position:relative; min-height:150px; border-radius:var(--r); background:
  linear-gradient(90deg,var(--mline) 1px,transparent 1px) 0 0/22px 22px, linear-gradient(var(--mline) 1px,transparent 1px) 0 0/22px 22px, var(--tint); }
.ms-map i{ position:absolute; left:52%; top:42%; width:16px; height:16px; border-radius:50% 50% 50% 0; rotate:-45deg; background:var(--p); box-shadow:0 0 0 6px color-mix(in oklch,var(--p) 25%,transparent); }
.ms-foot{ display:flex; justify-content:space-between; gap:12px; padding:14px 28px; border-top:1px solid var(--mline); font-size:11px; color:var(--muted); }
.ms-chatbtn{ position:absolute; right:14px; bottom:14px; width:38px; height:38px; display:grid; place-items:center; border-radius:50%; background:var(--p); color:var(--p-ink); font-size:16px; box-shadow:0 10px 26px -10px var(--p); }
.ms .k-p{ fill:var(--p); } .ms .k-t{ fill:var(--tint); } .ms .k-fg{ fill:var(--fg); } .ms .k-bg{ fill:var(--bg); }
.ms .k-card{ fill:var(--card); stroke:var(--mline); stroke-width:1; }
.ms .k-sea{ fill:color-mix(in oklch,var(--p) 55%,var(--bg)); }
.ms .k-ln{ fill:none; stroke:var(--p); stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.ms .k-lnf{ fill:none; stroke:var(--fg); stroke-width:2.5; stroke-linecap:round; opacity:.35; }

/* style details */
.ms[data-style="luxury"] .ms-nav{ justify-content:space-between; }
.ms[data-style="luxury"] .ms-links{ margin-left:0; text-transform:uppercase; letter-spacing:.2em; font-size:10px; }
.ms[data-style="luxury"] .ms-hero{ grid-template-columns:1fr; justify-items:center; text-align:center; }
.ms[data-style="luxury"] .ms-tag{ letter-spacing:.32em; }
.ms[data-style="luxury"] .ms-p{ margin-inline:auto; }
.ms[data-style="luxury"] .ms-ctas{ justify-content:center; }
.ms[data-style="luxury"] .ms-hero .ms-art{ width:100%; aspect-ratio:21/8; }
.ms[data-style="luxury"] .ms-btn{ text-transform:uppercase; letter-spacing:.14em; font-size:10.5px; }
.ms[data-style="luxury"] .ms-sh, .ms[data-style="editorial"] .ms-sh{ font-style:italic; }
.ms[data-style="bold"] .ms-hero{ margin:16px 16px 8px; padding:36px 28px; border-radius:var(--r); background:var(--p); color:var(--p-ink); }
.ms[data-style="bold"] .ms-hero .ms-tag{ color:inherit; opacity:.8; }
.ms[data-style="bold"] .ms-hero .ms-p{ color:inherit; opacity:.82; }
.ms[data-style="bold"] .ms-hero .ms-btn-p{ background:var(--p-ink); color:var(--p); }
.ms[data-style="bold"] .ms-hero .ms-btn-g{ border-color:currentColor; }
.ms[data-style="bold"] .ms-hero .ms-art{ --p:var(--p-ink); --tint:color-mix(in oklch,var(--p-ink) 14%,transparent); }
.ms[data-style="bold"] .ms-h{ letter-spacing:-.035em; }
.ms[data-style="bold"] .ms-sh{ text-transform:uppercase; letter-spacing:-.01em; }
.ms[data-style="playful"] .ms-hero .ms-art{ border-radius:46% 54% 42% 58% / 55% 45% 55% 45%; }
.ms[data-style="playful"] .ms-feat:nth-child(1), .ms[data-style="playful"] .ms-card:nth-child(1){ rotate:-1.5deg; }
.ms[data-style="playful"] .ms-feat:nth-child(3), .ms[data-style="playful"] .ms-card:nth-child(3){ rotate:1.5deg; }
.ms[data-style="playful"] .ms-btn{ border-radius:999px; }
.ms[data-style="minimal"] .ms-feat{ border:0; border-top:1px solid var(--mline); border-radius:0; background:none; padding:16px 0 0; }
.ms[data-style="minimal"] .ms-sec{ border-top:0; }
.ms[data-style="corporate"] .ms-nav{ background:var(--card); }
.ms[data-style="corporate"] .ms-hero{ background:linear-gradient(180deg,var(--card),var(--bg)); }
.ms[data-style="corporate"] .ms-tag{ display:inline-block; padding:4px 8px; border-radius:4px; background:var(--tint); letter-spacing:.08em; }
.ms[data-style="corporate"] .ms-feat{ box-shadow:0 1px 2px rgba(16,24,40,.06); }
.ms[data-style="editorial"] .ms-hero{ grid-template-columns:1fr; border-bottom:3px double var(--fg); }
.ms[data-style="editorial"] .ms-h{ font-size:calc(44px * var(--hs) * .9); max-width:16ch; }
.ms[data-style="editorial"] .ms-hero .ms-art{ aspect-ratio:21/7; }
.ms[data-style="editorial"] .ms-feat, .ms[data-style="editorial"] .ms-card{ border:0; border-top:2px solid var(--fg); border-radius:0; padding:12px 0 0; background:none; }
.ms[data-style="editorial"] .ms-sec{ border-top:1px solid var(--fg); }
.ms[data-style="editorial"] .ms-links{ text-transform:uppercase; letter-spacing:.14em; font-size:10.5px; }
.ms[data-style="organic"] .ms-hero .ms-art{ border-radius:58% 42% 54% 46% / 46% 54% 46% 54%; }
.ms[data-style="organic"] .ms-media{ border-radius:40% 60% 50% 50% / 50% 40% 60% 50%; }
.ms[data-style="organic"] .ms-sec{ border-top:0; }
.ms[data-style="organic"] .ms-btn{ border-radius:999px; }
.ms[data-style="futuristic"] .ms-hero{ background:
  linear-gradient(90deg,color-mix(in oklch,var(--p) 12%,transparent) 1px,transparent 1px) 0 0/26px 26px,
  linear-gradient(color-mix(in oklch,var(--p) 12%,transparent) 1px,transparent 1px) 0 0/26px 26px; }
.ms[data-style="futuristic"] .ms-tag{ font-family:"JetBrains Mono",ui-monospace,monospace; letter-spacing:.08em; }
.ms[data-style="futuristic"] .ms-feat, .ms[data-style="futuristic"] .ms-card{ border-color:color-mix(in oklch,var(--p) 35%,var(--mline)); box-shadow:0 0 24px -12px var(--p); }
.ms[data-style="futuristic"] .ms-btn-p{ box-shadow:0 0 22px -6px var(--p); }

/* 3D hero (immersive) */
.ms-3d{ display:grid; place-items:center; perspective:600px; background:radial-gradient(circle at 50% 50%,color-mix(in oklch,var(--p) 30%,transparent),transparent 62%),var(--tint); }
.ms-3d-stage{ position:relative; width:62%; aspect-ratio:1; transform-style:preserve-3d; animation:ms-spin 16s linear infinite; }
.ms-ring{ position:absolute; inset:0; border-radius:50%; border:2px solid color-mix(in oklch,var(--p) 80%,var(--fg)); opacity:.65; }
.ms-ring.r1{ transform:rotateX(72deg); } .ms-ring.r2{ transform:rotateY(72deg); } .ms-ring.r3{ transform:rotateX(72deg) rotateY(58deg); border-style:dashed; }
.ms-core{ position:absolute; inset:28%; border-radius:50%; background:radial-gradient(circle at 32% 30%,#fff,var(--p) 46%,color-mix(in oklch,var(--p) 45%,#000)); box-shadow:0 0 50px -6px var(--p); }
@keyframes ms-spin{ to{ transform:rotateY(360deg) rotateX(15deg); } }

/* motion levels */
@media (prefers-reduced-motion:no-preference){
  .ms .k-steam{ stroke-dasharray:5 7; animation:ms-dash 2.4s linear infinite; }
  .ms .k-beat{ stroke-dasharray:300; stroke-dashoffset:300; animation:ms-draw 3s cubic-bezier(.2,.8,.2,1) infinite; }
  .ms-m-subtle > section, .ms-m-rich > section, .ms-m-immersive > section{ animation:ms-in .6s cubic-bezier(.2,.8,.2,1) both; }
  .ms-m-rich > section:nth-of-type(2), .ms-m-immersive > section:nth-of-type(2){ animation-delay:.08s; }
  .ms-m-rich > section:nth-of-type(3), .ms-m-immersive > section:nth-of-type(3){ animation-delay:.16s; }
  .ms-m-rich > section:nth-of-type(n+4), .ms-m-immersive > section:nth-of-type(n+4){ animation-delay:.24s; }
  .ms-m-rich .ms-hero .ms-art, .ms-m-immersive .ms-hero .ms-art{ animation:ms-float 5s ease-in-out infinite; }
  .ms-m-rich .ms-btn-p, .ms-m-immersive .ms-btn-p{ background-image:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.35) 50%,transparent 70%); background-size:250% 100%; animation:ms-shine 3.2s ease-in-out infinite; }
  .ms-m-rich .ms-feat, .ms-m-rich .ms-card, .ms-m-immersive .ms-feat, .ms-m-immersive .ms-card{ transition:transform .4s cubic-bezier(.2,.8,.2,1); }
  .ms-m-rich .ms-feat:hover, .ms-m-rich .ms-card:hover, .ms-m-immersive .ms-feat:hover, .ms-m-immersive .ms-card:hover{ transform:translateY(-4px); }
}
.ms-still > section{ animation:none !important; }
.ms-m-immersive .ms-hero{ background-image:radial-gradient(1px 1px at 12% 20%,var(--fg) 50%,transparent 51%),radial-gradient(1px 1px at 82% 30%,var(--fg) 50%,transparent 51%),radial-gradient(1.5px 1.5px at 40% 80%,var(--p) 50%,transparent 51%),radial-gradient(1px 1px at 66% 12%,var(--fg) 50%,transparent 51%); }
@keyframes ms-in{ from{ opacity:0; transform:translateY(14px); } }
@keyframes ms-float{ 50%{ transform:translateY(-8px); } }
@keyframes ms-shine{ 0%{ background-position:150% 0; } 60%,100%{ background-position:-50% 0; } }
@keyframes ms-dash{ to{ stroke-dashoffset:-24; } }
@keyframes ms-draw{ 65%,100%{ stroke-dashoffset:0; } }

@container (max-width:560px){
  .ms-links, .ms-nav-cta, .ms-extras .ms-pill:not(.ms-modebtn){ display:none; }
  .ms-burger{ display:flex; }
  .ms-extras{ margin-left:auto; }
  .ms-extras + .ms-nav-cta + .ms-burger{ margin-left:0; }
  .ms-nav{ padding:14px 18px; }
  .ms-hero{ grid-template-columns:1fr; padding:28px 18px 22px; gap:22px; }
  .ms[data-style="bold"] .ms-hero{ margin:12px; padding:26px 18px; }
  .ms-h{ font-size:calc(29px * var(--hs)); }
  .ms-sec{ padding:22px 18px; }
  .ms-grid3, .ms-split, .ms-statsrow{ grid-template-columns:minmax(0,1fr); }
  .ms-grid4, .ms-gal{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ms-gal .ms-media:nth-child(1){ grid-row:auto; aspect-ratio:1; }
  .ms-inrow{ flex-wrap:wrap; }
  .ms-foot{ padding-inline:18px; }
}
