:root{
  /* Marie Glow Studio tokens (DESIGN.md "Marie Glow Studio"). --mg-bg (#F5E5FC, Juanita's pick 2026-09-26) is the required page background. */
  --mg-bg:#F5E5FC;
  --mg-lilac:#ECD6F6;
  --mg-ink:#342846;
  --mg-ink-soft:#5B4B72;
  --mg-plum:#7A4BB5;
  --mg-plum-dark:#5E3596;
  --mg-plum-darker:#48267A;
  --mg-blush:#F3C6D3;
  --mg-gold:#D4A443;
  --mg-gold-deep:#9C7420;
  --mg-glow:rgba(240,190,90,0.55);
  --mg-white:#FFFFFF;
  --mg-line:#E8DFEE;
  --mg-shadow:rgba(52,40,70,0.16);
  --font-head:'Poppins',ui-sans-serif,system-ui,sans-serif;
  --font-accent:'Playfair Display',ui-serif,Georgia,serif;
  --font-body:'Inter',ui-sans-serif,system-ui,sans-serif;
  --font-display:'Playfair Display',ui-serif,Georgia,serif;
  --font-mono:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
  --ease-out:cubic-bezier(0.2,0,0,1);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;overflow-anchor:none;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:0.001ms !important;animation-iteration-count:1 !important;transition-duration:0.001ms !important;}
}

body{
  margin:0;
  overflow-x:hidden;
  background:var(--mg-bg);
  color:var(--mg-ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

img,svg{display:block;max-width:100%;}
a{color:inherit;}
section{position:relative;}

.wrap{
  max-width:1080px;
  margin:0 auto;
  padding:0 clamp(20px,5vw,48px);
}

h1,h2,h3{
  font-family:var(--font-head);
  font-weight:600;
  line-height:1.15;
  margin:0;
  text-wrap:balance;
  color:var(--mg-ink);
}
/* Editorial display type: headlines are set in Playfair at a regular weight, not heavy sans.
   An <em> inside a headline becomes the italic plum accent. */
h1,h2{
  font-variant-numeric:lining-nums;
  font-family:var(--font-display);
  font-weight:500;
  letter-spacing:-0.018em;
  line-height:1.06;
}
h1 em,h2 em{font-style:italic;font-weight:400;color:var(--mg-plum-dark);}
p{text-wrap:pretty;}

.eyebrow{
  font-family:var(--font-mono);
  font-style:normal;
  font-weight:500;
  font-size:0.74rem;
  text-transform:uppercase;
  letter-spacing:0.14em;
  color:var(--mg-plum-dark);
}

p{margin:0;}

/* ---------- reveal-on-scroll (visible by default; JS only arms the animation) ---------- */
.reveal{opacity:1;transform:none;}
html.js .reveal{
  opacity:0;
  transform:translateY(22px);
  transition:opacity 0.7s ease, transform 0.7s ease;
}
html.js .reveal.in{opacity:1;transform:none;}

/* ---------- sticky nav ---------- */
.nav{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(245,229,252,0.86);
  backdrop-filter:none;
  border-bottom:1px solid var(--mg-line);
}
.nav-inner{
  max-width:1080px;
  margin:0 auto;
  padding:14px clamp(20px,5vw,48px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:9px;
  font-family:var(--font-head);
  font-weight:800;
  font-size:1.02rem;
  color:var(--mg-ink);
  text-decoration:none;
  white-space:nowrap;
}
.brand-mark{flex:none;display:block;width:38px;height:auto;}
.nav .brand-mark{width:50px;}
.brand-text{display:flex;align-items:baseline;gap:7px;line-height:1;}
.brand-name{
  font-family:var(--font-accent);
  font-style:italic;
  font-weight:400;
  font-size:1.38rem;
  color:var(--mg-ink);
  letter-spacing:-0.01em;
}
.brand-studio{
  font-family:var(--font-head);
  font-weight:700;
  font-size:0.66rem;
  letter-spacing:0.28em;
  text-transform:uppercase;
  color:var(--mg-plum-dark);
}
.skip-link{
  position:absolute;left:12px;top:-60px;z-index:100;
  background:var(--mg-ink);color:var(--mg-white);
  padding:10px 16px;border-radius:8px;font-weight:600;text-decoration:none;
}
.skip-link:focus{top:12px;}
.nav-links{
  display:none;
  gap:28px;
  list-style:none;
  margin:0;
  padding:0;
}
.nav-links a{
  font-size:0.92rem;
  font-weight:500;
  text-decoration:none;
  color:var(--mg-ink-soft);
  padding:6px 2px;
  border-bottom:2px solid transparent;
  transition:color 0.2s ease, border-color 0.2s ease;
}
.nav-links a:hover,.nav-links a:focus-visible{
  color:var(--mg-ink);
  border-bottom-color:var(--mg-plum);
}
.nav-links a.active{
  color:var(--mg-ink);
  border-bottom-color:var(--mg-gold);
}
.nav-links{align-items:center;}
.nav-group{position:relative;}
.nav-group-label::after{
  content:"";display:inline-block;width:6px;height:6px;margin-left:7px;
  border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;
  transform:translateY(-3px) rotate(45deg);
}
.nav-dropdown{
  position:absolute;top:calc(100% + 10px);left:-18px;
  min-width:300px;list-style:none;margin:0;padding:10px;
  background:var(--mg-white);border:1px solid var(--mg-line);border-radius:16px;
  box-shadow:0 22px 44px -18px var(--mg-shadow);
  opacity:0;visibility:hidden;transform:translateY(6px);
  transition:opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-dropdown::before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px;}
.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown{opacity:1;visibility:visible;transform:none;}
.nav-links .nav-dropdown a{
  display:block;padding:10px 12px;border:none;border-radius:10px;
}
.nav-links .nav-dropdown a:hover,.nav-links .nav-dropdown a:focus-visible,.nav-links .nav-dropdown a.active{background:var(--mg-lilac);}
.nav-dropdown strong{display:block;font-family:var(--font-head);font-weight:600;font-size:0.9rem;color:var(--mg-ink);}
.nav-dropdown span{display:block;font-size:0.8rem;color:var(--mg-ink-soft);margin-top:2px;}
/* desktop nav (brand + 6 links + Contact) needs ~960px; below that the hamburger menu is used.
   Keep this, .nav-toggle, .mobile-menu below and the resize check in assets/js/main.js in sync. */
@media (min-width:1000px){
  .nav-links{display:flex;}
}
.nav-actions{
  display:flex;
  align-items:center;
  gap:18px;
}

/* ---------- mobile hamburger + menu ---------- */
.nav-toggle{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  width:40px;
  height:40px;
  margin-right:-10px;
  padding:0;
  border:none;
  border-radius:8px;
  background:none;
  cursor:pointer;
}
.nav-toggle:focus-visible{outline:3px solid var(--mg-plum-dark);outline-offset:2px;}
@media (min-width:1000px){
  .nav-toggle{display:none;}
}
.nav-toggle span{
  display:block;
  width:20px;
  height:2px;
  border-radius:2px;
  background:var(--mg-ink);
  transition:transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0;}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

.mobile-menu{
  max-height:0;
  overflow:hidden;
  background:var(--mg-white);
  border-bottom:1px solid var(--mg-line);
  transition:max-height 0.3s ease;
}
.mobile-menu.is-open{max-height:480px;}
@media (min-width:1000px){
  .mobile-menu{display:none;}
}
.mobile-menu-links{
  list-style:none;
  margin:0;
  padding:6px clamp(20px,5vw,48px) 18px;
  display:flex;
  flex-direction:column;
}
.mobile-menu-links a{
  display:block;
  padding:12px 2px;
  font-family:var(--font-head);
  font-weight:600;
  font-size:0.98rem;
  color:var(--mg-ink-soft);
  text-decoration:none;
  border-bottom:1px solid var(--mg-line);
}
.mobile-menu-links li:last-child a{border-bottom:none;}
.mobile-menu-label{
  padding:16px 2px 4px;font-family:var(--font-accent);font-style:italic;
  font-size:0.95rem;color:var(--mg-gold-deep);
}
.mobile-menu.is-open{max-height:760px;overflow-y:auto;}
.mobile-menu-links a:hover,
.mobile-menu-links a:focus-visible,
.mobile-menu-links a.active{color:var(--mg-plum-dark);}
.nav-secondary-link{
  display:none;
  font-size:0.92rem;
  font-weight:600;
  color:var(--mg-plum-dark);
  text-decoration:none;
}
.nav-secondary-link:hover,.nav-secondary-link:focus-visible{
  color:var(--mg-plum);
}
@media (min-width:640px){
  .nav-secondary-link{display:inline-block;}
}

/* ---------- buttons ---------- */
.btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:48px;
  font-family:var(--font-head);
  font-weight:600;
  font-size:0.95rem;
  letter-spacing:0.005em;
  text-decoration:none;
  border-radius:10px;
  padding:13px 24px;
  border:none;
  cursor:pointer;
  white-space:nowrap;
  transition-property:background-color, color, border-color, scale;
  transition-duration:150ms;
  transition-timing-function:var(--ease-out);
}
.btn:active{scale:0.96;}
.btn:focus-visible{outline:3px solid var(--mg-plum);outline-offset:3px;}
.btn .spark{display:none;}
.btn svg{transition:translate 150ms var(--ease-out);}
.btn:hover svg{translate:3px 0;}
.btn-primary{
  background:var(--mg-ink);
  color:var(--mg-white);
}
.btn-primary:hover{background:var(--mg-plum-dark);}
.btn-secondary{
  background:transparent;
  color:var(--mg-ink);
  border:1px solid rgba(52,40,70,0.28);
}
.btn-secondary:hover{
  border-color:var(--mg-ink);
  background:rgba(52,40,70,0.04);
}
.btn-nav{
  padding:9px 18px;
  font-size:0.86rem;
}
/* narrow phones: logo + Contact + hamburger must share one row (320px = 280px of content) */
@media (max-width:400px){
  .nav-inner{gap:8px;}
  .brand{gap:7px;font-size:0.85rem;}
  .brand-name{font-size:1.15rem;}
  .brand-studio{font-size:0.58rem;letter-spacing:0.22em;}
  .nav .brand-mark{width:38px;}
  .nav-actions{gap:0;}
  .btn-nav{padding:9px 13px;font-size:0.82rem;min-height:40px;}
}

/* ================= HERO ================= */
.hero{
  padding:clamp(64px,10vw,110px) 0 clamp(56px,8vw,88px);
  overflow:hidden;
}
.hero-mesh{
  position:absolute;
  inset:0;
  z-index:-2;
  background:linear-gradient(180deg,
    #F8EEFC 0%,
    var(--mg-lilac) 32%,
    #EBDDF3 58%,
    var(--mg-plum) 100%);
}
.hero-glow{
  position:absolute;
  inset:0;
  z-index:-2;
  background:radial-gradient(58% 45% at 68% 62%, rgba(212,164,67,0.5), transparent 70%);
  filter:blur(6px);
}
/* gold glow flecks (Marie Glow Studio signature) */
.hero-glitter{
  position:absolute;
  inset:0;
  z-index:-1;
  opacity:0.55;
  background-image:
    radial-gradient(circle, rgba(212,164,67,0.9) 1px, transparent 1.6px),
    radial-gradient(circle, rgba(212,164,67,0.7) 1px, transparent 1.6px),
    radial-gradient(circle, rgba(212,164,67,0.5) 1px, transparent 1.4px);
  background-size:130px 130px, 90px 90px, 60px 60px;
  background-position:0 0, 45px 65px, 20px 20px;
}
.hero-blob{
  position:absolute;
  z-index:-1;
  opacity:0.5;
}

/* ---------- hero with a full-bleed photo background (replaces the mesh/glow gradient) ---------- */
.hero-bg-photo{overflow:hidden;}
.hero-bg-photo .bg-photo{
  position:absolute;
  inset:0;
  z-index:-2;
}
.hero-bg-photo .bg-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:right center;
}
.hero-bg-photo .bg-scrim{
  position:absolute;
  inset:0;
  z-index:-1;
  background:rgba(52,40,70,0.74);
}
.hero-bg-photo .hero-copy{
  color:var(--mg-white);
  margin:0 auto;
  text-align:center;
  align-items:center;
}
/* A hero keeping its side-by-side .hero-grid (real device mockup on the right)
   stays left-aligned, matching how it read before the photo background. */
.hero-bg-photo.hero-grid-split .hero-copy{
  margin:0;
  text-align:center;
  align-items:center;
}
@media (min-width:960px){
  .hero-bg-photo.hero-grid-split .hero-copy{margin:0;text-align:left;align-items:flex-start;}
}
/* This page keeps a real, detailed device screenshot in the foreground, so its
   background photo needs to recede much further than the centered-text heroes do. */
.hero-grid-split .bg-scrim{background:rgba(30,22,42,0.92);}
/* Top-align the device screenshot with the copy column instead of vertical-centering it,
   so the browser mockup sits higher and its bottom edge lands near the badge row. */
@media (min-width:960px){
  .hero-grid-split .hero-grid{align-items:flex-start;}
  .hero-grid-split .hero-visual{margin-top:6px;}
}
/* Badges, CTA buttons, and the price disclaimer sit below the copy/device split,
   each their own full-width line, instead of being boxed into the narrow copy column. */
.hero-grid-split .hero-bottom{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
  max-width:1440px;
  margin:32px auto 0;
  text-align:center;
}
.hero-grid-split .hero-bottom .hero-ctas{margin-top:0;}
@media (min-width:960px){
  .hero-grid-split .hero-bottom{align-items:flex-start;text-align:left;}
  .hero-grid-split .hero-bottom .badge-row,
  .hero-grid-split .hero-bottom .hero-cta-row{justify-content:flex-start;flex-wrap:nowrap;}
}
.hero-bg-photo .hero-copy .eyebrow{color:var(--mg-blush);}
/* A .page-hero carrying .hero-bg-photo (no .hero-copy wrapper — plain eyebrow/h1/p
   directly in .wrap) needs its own equally-specific overrides, since .page-hero's
   own p/eyebrow rules are defined later in this file and would otherwise win. */
.page-hero.hero-bg-photo .eyebrow{color:var(--mg-blush);}
.page-hero.hero-bg-photo p{color:rgba(255,255,255,0.88);}
.hero-bg-photo h1{color:var(--mg-white);}
.hero-bg-photo .underline-word{color:var(--mg-white);}
/* .hero .eyebrow/.hero-promise/.hero-price-note (further down this file) tie these
   on specificity (two class selectors each) and, being later in source order, would
   otherwise win — the repeated-class selector bumps specificity without !important. */
.hero-bg-photo.hero-bg-photo .eyebrow{color:var(--mg-blush);}
.hero-bg-photo.hero-bg-photo .hero-promise{color:rgba(255,255,255,0.88);}
.hero-bg-photo .hero-promise strong{color:var(--mg-white);}
.hero-bg-photo.hero-bg-photo .hero-price-note{color:rgba(255,255,255,0.75);}
.hero-bg-photo.hero-bg-photo .hero-proof-link{color:var(--mg-blush);}
.hero-bg-photo.hero-bg-photo .hero-proof-link:hover{color:var(--mg-white);}
.hero-bg-photo .btn-secondary{color:var(--mg-white);border-color:rgba(255,255,255,0.55);}
.hero-bg-photo .btn-secondary:hover{border-color:var(--mg-white);color:var(--mg-white);background:rgba(255,255,255,0.1);}
@media (max-width:760px){
  .hero-bg-photo .bg-photo img{object-position:center 15%;}
}

/* ---------- hero device mockup (real site, auto-scrolling inside a browser frame) ---------- */
.hero-device{
  width:100%;
  max-width:680px;
  margin:6px auto 0;
}
.device-frame{
  background:var(--mg-ink);
  border-radius:18px;
  padding:9px;
  box-shadow:0 34px 64px -22px var(--mg-shadow);
}
.device-bar{
  position:relative;
  display:flex;
  align-items:center;
  gap:6px;
  padding:2px 6px 9px;
}
.device-bar span{
  width:9px;
  height:9px;
  border-radius:50%;
  background:rgba(255,255,255,0.28);
  flex:none;
}
.device-bar::after{
  content:"";
  position:absolute;
  left:22px;
  bottom:2px;
  width:30px;
  height:2px;
  border-radius:2px;
  background:var(--mg-gold);
  opacity:0.9;
}
.device-bar-url{
  flex:1;
  height:13px;
  margin-left:6px;
  border-radius:999px;
  background:rgba(255,255,255,0.14);
}
.device-screen{
  position:relative;
  height:440px;
  overflow:hidden;
  border-radius:10px;
  background:var(--mg-white);
}
.device-screen img{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  display:block;
  animation:device-scroll 16s ease-in-out infinite;
}
@keyframes device-scroll{
  0%,8%{transform:translateY(0);}
  50%,58%{transform:translateY(calc(-1 * var(--scroll-distance, 400px)));}
  96%,100%{transform:translateY(0);}
}
@media (prefers-reduced-motion: reduce){
  .device-screen img{animation:none;}
}
@media (max-width:600px){
  .device-screen{height:210px;}
}
.hero .wrap{
  max-width:none;
}
.hero-grid{
  display:grid;
  grid-template-columns:1fr;
  align-items:center;
  gap:36px;
  max-width:1440px;
  margin:0 auto;
}
@media (min-width:960px){
  .hero-grid{grid-template-columns:0.9fr 1.1fr;}
}
.hero-copy{
  max-width:560px;
  margin:0 auto;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:22px;
}
@media (min-width:960px){
  .hero-copy{margin:0;text-align:left;align-items:flex-start;}
}
.hero-visual{
  position:relative;
  display:flex;
  justify-content:center;
}
@media (max-width:959px){
  .hero-visual{order:-1;}
}
.hero h1{
  font-size:clamp(2.1rem,5.2vw,3.4rem);
}
.underline-word{
  position:relative;
  display:inline;
  font-style:italic;
  font-weight:400;
  color:var(--mg-plum-dark);
}
.underline-word svg{display:none !important;}
.underline-word svg{
  position:absolute;
  left:-2%;
  bottom:-0.18em;
  width:104%;
  height:0.3em;
  overflow:visible;
}
.underline-word path{
  stroke:var(--mg-gold);
  stroke-width:5;
  fill:none;
  stroke-linecap:round;
  stroke-dasharray:220;
  stroke-dashoffset:220;
}
html.js .underline-word.in path{
  animation:draw 0.9s 0.35s ease-out forwards;
}
html:not(.js) .underline-word path{stroke-dashoffset:0;}
@keyframes draw{to{stroke-dashoffset:0;}}

.hero-promise{
  font-size:clamp(1.02rem,1.6vw,1.18rem);
  color:var(--mg-ink-soft);
  max-width:560px;
}
.hero-promise strong{color:var(--mg-ink);font-weight:600;}

.hero-ctas{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  margin-top:8px;
}
.hero-cta-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:12px;
}
.hero-price-note{
  font-size:0.86rem;
  color:var(--mg-ink-soft);
  font-weight:500;
}
.hero .eyebrow,
.hero .hero-promise,
.hero .hero-price-note{
  color:var(--mg-ink);
}
.hero .hero-promise strong{
  font-weight:700;
}

/* ---------- badge pills (candycode-style monochrome tags, translated to LP tokens) ---------- */
.badge-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
}
.badge-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-family:var(--font-head);
  font-size:0.72rem;
  font-weight:600;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--mg-ink-soft);
  background:var(--mg-white);
  border:1px solid var(--mg-line);
  border-radius:999px;
  padding:7px 14px;
}

/* ================= HOW IT WORKS ================= */
.how{
  padding:clamp(56px,8vw,84px) 0;
}

/* ================= ANATOMY DIAGRAM (Why One Page) ================= */
.anatomy{
  display:grid;
  grid-template-columns:220px 1fr 220px;
  gap:0 20px;
  align-items:stretch;
  max-width:980px;
  margin:0 auto;
}
.anatomy-frame{padding:9px;}
.anatomy-screen{
  height:460px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-radius:10px;
  background:var(--mg-white);
}
.anatomy-band{
  flex:var(--f) 0 0;
  min-height:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:0 16px;
  position:relative;
  border-bottom:1px dashed var(--mg-line);
}
.anatomy-band:last-child{border-bottom:none;}
.anatomy-hero{flex-direction:column;align-items:flex-start;background:var(--mg-lilac);}
.anatomy-trust{background:var(--mg-white);}
.anatomy-services{background:var(--mg-bg);}
.anatomy-portfolio{background:var(--mg-white);gap:8px;}
.anatomy-contact{flex-direction:column;align-items:flex-start;background:var(--mg-lilac);}

.wf-eyebrow{width:70px;height:6px;border-radius:3px;background:var(--mg-gold);}
.wf-line{display:block;height:8px;border-radius:4px;background:var(--mg-line);}
.wf-line-lg{width:70%;height:12px;}
.wf-line-md{width:45%;}
.wf-line-sm{width:80%;margin:0 auto;}
.wf-btn{width:64px;height:16px;border-radius:999px;background:var(--mg-plum);}
.wf-btn-sm{width:52px;height:12px;}
.wf-pill{width:44px;height:14px;border-radius:999px;border:1.5px solid var(--mg-line);}
.wf-col{display:flex;flex-direction:column;align-items:center;gap:6px;flex:1;}
.wf-icon{width:20px;height:20px;border-radius:50%;border:1.5px solid var(--mg-plum);}
.wf-tile{flex:1;height:100%;max-height:64px;border-radius:6px;background:var(--mg-lilac);border:1px solid var(--mg-line);}
.wf-field{width:100%;max-width:160px;height:14px;border-radius:6px;border:1.5px solid var(--mg-line);}

.anatomy-callouts{display:flex;flex-direction:column;}
.anatomy-callout{
  flex:var(--f) 0 0;
  display:flex;
  align-items:center;
  position:relative;
  font-family:var(--font-accent);
  font-style:italic;
  font-size:1.15rem;
  font-weight:400;
  color:var(--mg-ink);
  line-height:1.35;
}
.anatomy-callouts-left .anatomy-callout{justify-content:flex-end;text-align:right;padding-right:22px;}
.anatomy-callouts-right .anatomy-callout{justify-content:flex-start;text-align:left;padding-left:22px;}
.anatomy-callout:not(.is-spacer)::after{
  content:"";
  position:absolute;
  top:50%;
  width:16px;
  height:1.5px;
  background:var(--mg-gold);
}
.anatomy-callouts-left .anatomy-callout::after{right:-16px;}
.anatomy-callouts-right .anatomy-callout::after{left:-16px;}
.anatomy-callout.is-spacer{visibility:hidden;}

/* ================= ANATOMY DIAGRAM: build-itself-in animation ================= */
.anatomy-hero{--d:0s;}
.anatomy-trust{--d:0.12s;}
.anatomy-services{--d:0.24s;}
.anatomy-portfolio{--d:0.36s;}
.anatomy-contact{--d:0.48s;}

html.js .anatomy-band{
  opacity:0;
  transform:translateY(16px);
  transition:opacity 0.5s ease var(--d), transform 0.5s ease var(--d);
}
html.js .anatomy.in .anatomy-band{opacity:1;transform:translateY(0);}

html.js .anatomy-band .wf-eyebrow,
html.js .anatomy-band .wf-line,
html.js .anatomy-band .wf-btn,
html.js .anatomy-band .wf-pill,
html.js .anatomy-band .wf-field{
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform 0.4s ease calc(var(--d) + 0.2s);
}
html.js .anatomy-band .wf-line-sm{transform-origin:center;}
html.js .anatomy-band .wf-icon,
html.js .anatomy-band .wf-tile{
  transform:scale(0);
  transition:transform 0.4s cubic-bezier(.3,1.4,.5,1) calc(var(--d) + 0.2s);
}
html.js .anatomy.in .anatomy-band .wf-eyebrow,
html.js .anatomy.in .anatomy-band .wf-line,
html.js .anatomy.in .anatomy-band .wf-btn,
html.js .anatomy.in .anatomy-band .wf-pill,
html.js .anatomy.in .anatomy-band .wf-field{transform:scaleX(1);}
html.js .anatomy.in .anatomy-band .wf-icon,
html.js .anatomy.in .anatomy-band .wf-tile{transform:scale(1);}
html.js .anatomy-band .wf-col:nth-child(2){transition-delay:calc(var(--d) + 0.28s);}
html.js .anatomy-band .wf-col:nth-child(3){transition-delay:calc(var(--d) + 0.36s);}
html.js .anatomy-band .wf-tile:nth-child(2){transition-delay:calc(var(--d) + 0.28s);}
html.js .anatomy-band .wf-tile:nth-child(3){transition-delay:calc(var(--d) + 0.36s);}

html.js .anatomy-callout:not(.is-spacer){
  opacity:0;
  transition:opacity 0.45s ease, transform 0.45s ease;
}
html.js .anatomy-callouts-left .anatomy-callout:not(.is-spacer){transform:translateX(-12px);}
html.js .anatomy-callouts-right .anatomy-callout:not(.is-spacer){transform:translateX(12px);}
html.js .anatomy.in .anatomy-callout:not(.is-spacer){opacity:1;transform:translateX(0);}
html.js .anatomy-callout:not(.is-spacer)::after{
  transform:scaleX(0);
  transition:transform 0.3s ease;
}
html.js .anatomy-callouts-left .anatomy-callout:not(.is-spacer)::after{transform-origin:right center;}
html.js .anatomy-callouts-right .anatomy-callout:not(.is-spacer)::after{transform-origin:left center;}
html.js .anatomy.in .anatomy-callout:not(.is-spacer)::after{transform:scaleX(1);}

html.js .anatomy-callouts-left .anatomy-callout:nth-child(1),
html.js .anatomy-callouts-left .anatomy-callout:nth-child(1)::after{transition-delay:0.2s;}
html.js .anatomy-callouts-left .anatomy-callout:nth-child(3),
html.js .anatomy-callouts-left .anatomy-callout:nth-child(3)::after{transition-delay:0.44s;}
html.js .anatomy-callouts-left .anatomy-callout:nth-child(5),
html.js .anatomy-callouts-left .anatomy-callout:nth-child(5)::after{transition-delay:0.68s;}
html.js .anatomy-callouts-right .anatomy-callout:nth-child(2),
html.js .anatomy-callouts-right .anatomy-callout:nth-child(2)::after{transition-delay:0.32s;}
html.js .anatomy-callouts-right .anatomy-callout:nth-child(4),
html.js .anatomy-callouts-right .anatomy-callout:nth-child(4)::after{transition-delay:0.56s;}

html.js .anatomy-frame{
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}
html.js .anatomy:hover .anatomy-frame{
  transform:translateY(-4px);
  box-shadow:0 40px 70px -22px var(--mg-shadow);
}

@media (max-width:760px){
  .anatomy{grid-template-columns:1fr;}
  .anatomy-callouts{display:none;}
  .anatomy-screen{height:340px;}
  .anatomy-band::before{
    content:attr(data-label);
    position:absolute;
    top:6px;
    left:8px;
    font-family:var(--font-head);
    font-size:0.62rem;
    font-weight:700;
    letter-spacing:0.04em;
    text-transform:uppercase;
    color:var(--mg-plum-dark);
    background:var(--mg-white);
    border:1px solid var(--mg-line);
    border-radius:999px;
    padding:2px 8px;
  }
  .anatomy-hero{padding-top:22px;}
  .anatomy-contact{padding-top:22px;}
}
@media (max-width:480px){
  .anatomy-screen{height:280px;}
  .wf-line-lg{height:9px;}
  .wf-btn{height:13px;}
}

.section-head{
  text-align:center;
  max-width:600px;
  margin:0 auto 44px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.section-head h2{font-size:clamp(1.5rem,3vw,2.1rem);}
.section-head .eyebrow{display:block;margin-bottom:2px;}
.section-head p{color:var(--mg-ink-soft);font-size:1rem;margin-top:4px;}

.how-steps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}
@media (max-width:760px){
  .how-steps{grid-template-columns:1fr;gap:22px;}
}
.how-steps.how-steps-5{grid-template-columns:repeat(5,1fr);position:relative;}
#how-it-works .wrap{max-width:1300px;}
@media (max-width:920px){
  .how-steps.how-steps-5{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:560px){
  .how-steps.how-steps-5{grid-template-columns:1fr;}
}
.how-step{
  background:var(--mg-white);
  border:1px solid var(--mg-line);
  border-radius:20px;
  padding:22px 20px;
  display:flex;
  flex-direction:column;
  gap:8px;
  position:relative;
  z-index:1;
}
.how-step .num{
  font-family:var(--font-accent);
  font-style:italic;
  font-size:1.4rem;
  color:var(--mg-gold);
}
.how-step h3{font-size:1.02rem;font-weight:700;}
.how-step p{color:var(--mg-ink-soft);font-size:0.88rem;line-height:1.45;}

/* ================= 5-STEP TIMELINE ================= */
.how-timeline{
  display:none;
  position:absolute;
  top:57px;
  left:calc(10% + 20px);
  right:calc(10% + 20px);
  height:2px;
  background:var(--mg-line);
  z-index:0;
}
.how-timeline-fill{
  display:block;
  height:100%;
  width:100%;
  background:var(--mg-gold);
  transform-origin:left center;
  transform:scaleX(1);
}
html.js .how-timeline-fill{transform:scaleX(0);transition:transform 1.2s ease;}
html.js .how-steps-5:has(.how-step:last-child.in) .how-timeline-fill{transform:scaleX(1);}
@media (min-width:921px){
  .how-timeline{display:block;}
}
@media (max-width:560px){
  .how-step{align-items:center;text-align:center;}
  .how-timeline{
    display:block;
    top:42px;
    bottom:42px;
    left:50%;
    right:auto;
    width:2px;
    height:auto;
    transform:translateX(-50%);
  }
  .how-timeline-fill{
    width:100%;
    height:100%;
    transform-origin:top center;
  }
  html.js .how-timeline-fill{transform:scaleY(0);}
  html.js .how-steps-5:has(.how-step:last-child.in) .how-timeline-fill{transform:scaleY(1);}
}

html.js .how-steps-5 .how-step:nth-child(2){transition-delay:0.1s;}
html.js .how-steps-5 .how-step:nth-child(3){transition-delay:0.2s;}
html.js .how-steps-5 .how-step:nth-child(4){transition-delay:0.3s;}
html.js .how-steps-5 .how-step:nth-child(5){transition-delay:0.4s;}
html.js .how-steps-5 .how-step:nth-child(6){transition-delay:0.5s;}

/* ================= 5-STEP ICONS ================= */
.step-icon-svg{margin-bottom:2px;}
.step-icon-svg path,
.step-icon-svg circle{stroke-dasharray:1;stroke-dashoffset:1;}
html:not(.js) .step-icon-svg path,
html:not(.js) .step-icon-svg circle{stroke-dashoffset:0;}
html.js .how-step.in .step-icon-svg path,
html.js .how-step.in .step-icon-svg circle{animation:draw-step 0.55s ease-out forwards;}
html.js .how-step.in .step-icon-svg path:nth-of-type(2),
html.js .how-step.in .step-icon-svg circle:nth-of-type(2){animation-delay:0.12s;}
html.js .how-step.in .step-icon-svg path:nth-of-type(3),
html.js .how-step.in .step-icon-svg circle:nth-of-type(3){animation-delay:0.24s;}
html.js .how-step.in .step-icon-svg path:nth-of-type(4),
html.js .how-step.in .step-icon-svg circle:nth-of-type(4){animation-delay:0.36s;}
@keyframes draw-step{to{stroke-dashoffset:0;}}

/* ================= BENEFITS / INCLUDED ================= */
.benefits{
  padding:clamp(56px,8vw,84px) 0;
  background:var(--mg-lilac);
}
.benefit-list{
  display:flex;
  flex-direction:column;
  gap:18px;
  max-width:680px;
  margin:0 auto;
}
.benefit-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:26px 36px;
  max-width:760px;
  margin:0 auto;
}
@media (max-width:640px){
  .benefit-grid{grid-template-columns:1fr;}
}
.benefit{
  display:flex;
  align-items:flex-start;
  gap:16px;
  padding:6px 0;
}
html.js .benefit{transition:opacity 0.7s ease, transform 0.7s ease, translate 0.25s ease;}
.benefit:hover{translate:6px 0;}
.benefit:hover .check circle,
.benefit:hover .check path{stroke:var(--mg-plum-dark);}
html.js .benefit-grid .benefit:nth-child(1){transition-delay:0s;}
html.js .benefit-grid .benefit:nth-child(2){transition-delay:0.08s;}
html.js .benefit-grid .benefit:nth-child(3){transition-delay:0.16s;}
html.js .benefit-grid .benefit:nth-child(4){transition-delay:0.24s;}
html.js .benefit-grid .benefit:nth-child(5){transition-delay:0.32s;}
html.js .benefit-grid .benefit:nth-child(6){transition-delay:0.4s;}
html.js .benefit-grid .benefit:nth-child(7){transition-delay:0.48s;}
.check{flex:none;margin-top:2px;}
.check circle{
  fill:none;
  stroke:var(--mg-plum);
  stroke-width:2;
  stroke-dasharray:88;
  stroke-dashoffset:88;
  transition:stroke 0.2s ease;
}
.check path{
  fill:none;
  stroke:var(--mg-plum);
  stroke-width:2.6;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-dasharray:20;
  stroke-dashoffset:20;
  transition:stroke 0.2s ease;
}
html:not(.js) .check circle,html:not(.js) .check path{stroke-dashoffset:0;}
html.js .benefit.in .check circle{animation:draw-circle 0.5s ease-out forwards;}
html.js .benefit.in .check path{animation:draw-check 0.35s 0.45s ease-out forwards;}
@keyframes draw-circle{to{stroke-dashoffset:0;}}
@keyframes draw-check{to{stroke-dashoffset:0;}}
.benefit p{font-size:1rem;color:var(--mg-ink);}
.benefit p strong{color:var(--mg-plum-dark);}

.not-included{
  max-width:680px;
  margin:28px auto 0;
  text-align:center;
  color:var(--mg-ink-soft);
  font-size:0.92rem;
}
.not-included strong{color:var(--mg-ink);}

/* ================= INCLUDED: two-column layout ================= */
.included-layout{
  display:grid;
  grid-template-columns:1fr;
  gap:44px;
  align-items:center;
}
@media (min-width:860px){
  .included-layout{grid-template-columns:1.4fr 1fr;gap:36px;align-items:center;}
}
.benefit-col .benefit-grid{max-width:none;margin:0;}
.benefit-col .not-included{margin:28px 0 0;text-align:left;max-width:none;}

/* ================= RESPONSIVE DEVICE COMPOSITE ================= */
.responsive-visual{
  position:relative;
  width:100%;
  max-width:440px;
  height:400px;
  margin:0 auto;
}
.responsive-visual .device-frame{position:absolute;padding:7px;}
.rv-desktop{width:260px;top:0;left:0;z-index:1;border-radius:14px;}
.rv-desktop-screen{height:160px;border-radius:8px;}
.rv-desktop-screen img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:top;animation:none;}

.rv-tablet{width:150px;top:130px;right:40px;z-index:2;border-radius:16px;box-shadow:0 20px 36px -16px var(--mg-shadow);}
.rv-tablet-screen{height:180px;border-radius:9px;}
.rv-tablet-screen img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:top;animation:none;}

.rv-phone{width:84px;top:236px;right:0;z-index:3;border-radius:16px;box-shadow:0 22px 38px -14px var(--mg-shadow);padding-top:16px;}
.rv-phone .device-bar{display:none;}
.rv-phone-screen{height:170px;border-radius:9px;position:relative;}
.rv-phone-screen img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:top;animation:none;}
.rv-phone-screen::before{
  content:"";
  position:absolute;
  top:5px;left:50%;
  transform:translateX(-50%);
  width:20px;height:5px;
  border-radius:5px;
  background:var(--mg-ink);
  z-index:2;
}
.rv-phone-screen::after{
  content:"";
  position:absolute;
  bottom:4px;left:50%;
  transform:translateX(-50%);
  width:24px;height:2.5px;
  border-radius:3px;
  background:rgba(255,255,255,0.65);
  z-index:2;
}

@media (max-width:640px){
  .responsive-visual{max-width:320px;height:320px;}
  .rv-desktop{width:200px;}
  .rv-desktop-screen{height:124px;}
  .rv-tablet{width:112px;top:100px;right:28px;}
  .rv-tablet-screen{height:136px;}
  .rv-phone{width:64px;top:186px;right:0;}
  .rv-phone-screen{height:128px;}
}

/* ================= ADD-ONS ================= */
.addon-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
@media (max-width:760px){
  .addon-grid{grid-template-columns:1fr;}
}
.addon-card{
  background:var(--mg-white);
  border:1px solid var(--mg-line);
  border-radius:20px;
  padding:24px 22px;
  display:flex;
  flex-direction:column;
  gap:8px;
  box-shadow:0 0 0 -20px transparent;
}
html.js .addon-card{transition:opacity 0.7s ease, transform 0.7s ease, translate 0.25s ease, box-shadow 0.25s ease;}
.addon-card:hover{translate:0 -5px;box-shadow:0 22px 42px -22px var(--mg-shadow);}
html.js .addon-grid .addon-card:nth-child(1){transition-delay:0s;}
html.js .addon-grid .addon-card:nth-child(2){transition-delay:0.12s;}
html.js .addon-grid .addon-card:nth-child(3){transition-delay:0.24s;}
.addon-card .addon-price{
  font-family:var(--font-head);
  font-weight:800;
  font-size:1.25rem;
  color:var(--mg-plum-dark);
}
.addon-card h3{font-size:1.02rem;}
.addon-card p{color:var(--mg-ink-soft);font-size:0.9rem;}

/* ================= OBJECTION ================= */
.objection{
  padding:clamp(40px,6vw,60px) 0;
}
.objection-card{
  max-width:720px;
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:18px;
  background:var(--mg-ink);
  color:var(--mg-bg);
  border-radius:22px;
  padding:clamp(24px,4vw,32px) clamp(24px,5vw,40px);
}
.objection-card svg{flex:none;}
.objection-card p{
  font-size:1.02rem;
  line-height:1.55;
}
.objection-card strong{color:var(--mg-blush);font-weight:700;}

html.js .objection-card{
  transform:scale(0.94) translateY(14px);
  transition:opacity 0.5s ease, transform 0.55s cubic-bezier(.25,1.4,.4,1);
}
html.js .objection-card.in{transform:scale(1) translateY(0);}
html.js .objection-card svg{
  transform:scale(0) rotate(-25deg);
  transform-origin:center;
  transition:transform 0.5s cubic-bezier(.3,1.6,.5,1) 0.25s;
}
html.js .objection-card.in svg{transform:scale(1) rotate(0deg);}

/* ================= LEAD MAGNET (Flodesk) ================= */
.lead-magnet{
  padding:clamp(56px,8vw,84px) 0;
  background:var(--mg-lilac);
}
.lead-magnet-dark{
  position:relative;
  padding:clamp(36px,5vw,48px) 0;
  background:var(--mg-ink);
  overflow:hidden;
}
.lead-magnet-dark::before,
.lead-magnet-dark::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:3px;
  background-image:radial-gradient(circle, var(--mg-gold) 1.4px, transparent 1.6px);
  background-size:12px 3px;
  background-repeat:repeat-x;
  opacity:0.75;
}
.lead-magnet-dark::before{top:0;}
.lead-magnet-dark::after{bottom:0;}
/* The embedded Flodesk form injects its own <style> after ours, setting its
   heading/paragraph text to a dark ink color that assumes a light background.
   Override with !important since Flodesk's rule is otherwise later in source
   order and there's no clean lower-specificity hook to beat honestly. */
.lead-magnet-dark [data-ff-el="root"] h1,
.lead-magnet-dark [data-ff-el="root"] h2,
.lead-magnet-dark [data-ff-el="root"] h3,
.lead-magnet-dark [data-ff-el="root"] h4,
.lead-magnet-dark [data-ff-el="root"] [data-paragraph="true"]{
  color:var(--mg-white) !important;
}

/* ================= PORTFOLIO: hero teaser panel ================= */
.proof-section{
  padding:clamp(40px,6vw,64px) 0;
  background:var(--mg-lilac);
}
.proof-heading{
  max-width:1440px;
  margin:0 auto;
  padding:0 clamp(20px,5vw,48px);
  text-align:center;
}
.hero-proof-label{
  font-family:var(--font-head);
  font-size:1rem;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--mg-ink-soft);
}
.proof-marquee{
  width:100%;
  position:relative;
  overflow:hidden;
  margin:22px 0;
}
.proof-marquee::before,.proof-marquee::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:min(14vw,160px);
  z-index:2;
  pointer-events:none;
}
.proof-marquee::before{
  left:0;
  background:linear-gradient(90deg, var(--mg-lilac), transparent);
}
.proof-marquee::after{
  right:0;
  background:linear-gradient(270deg, var(--mg-lilac), transparent);
}
.hero-proof-stack{
  display:flex;
  flex-wrap:nowrap;
  width:max-content;
  gap:32px;
  padding:18px 0 8px;
  animation:proof-scroll 34s linear infinite;
}
.proof-marquee:hover .hero-proof-stack{
  animation-play-state:paused;
}
@keyframes proof-scroll{
  from{transform:translateX(0);}
  to{transform:translateX(-50%);}
}
.proof-card{
  flex:0 0 auto;
  width:230px;
  background:var(--mg-ink);
  border-radius:16px;
  padding:9px;
  box-shadow:0 16px 30px -14px var(--mg-shadow);
  transform:rotate(var(--rot,0deg));
  transition:transform 0.25s ease, box-shadow 0.25s ease;
}
.proof-card-bar{
  display:flex;
  gap:5px;
  padding:1px 5px 8px;
}
.proof-card-bar span{
  width:7px;
  height:7px;
  border-radius:50%;
  background:rgba(255,255,255,0.28);
}
.proof-card-screen{
  height:150px;
  overflow:hidden;
  border-radius:10px;
  background:var(--mg-white);
}
.proof-card-screen img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top;
  display:block;
}
.proof-card:hover{
  transform:rotate(0deg) translateY(-8px) scale(1.06);
  box-shadow:0 22px 40px -16px var(--mg-shadow);
  z-index:10;
}
.hero-proof-link{
  font-family:var(--font-head);
  font-weight:700;
  font-size:0.86rem;
  color:var(--mg-plum-dark);
  text-decoration:none;
}
.hero-proof-link:hover{color:var(--mg-plum);}
@media (max-width:480px){
  .proof-card{width:172px;}
  .proof-card-screen{height:112px;}
  .hero-proof-stack{gap:20px;}
}

/* ================= PORTFOLIO DECK (stacked cards, click/drag/scroll to cycle -- same experience at every width) ================= */
.portfolio-scroller{
  position:relative;
  padding:0 clamp(20px,5vw,48px);
  height:calc(100vh + var(--pf-steps, 6) * 42vh);
}
.portfolio-sticky{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  position:sticky;
  top:0;
  height:100vh;
  overflow:visible;
  padding-top:clamp(16px,4vh,32px);
}
.portfolio-carousel{
  width:100%;
  max-width:560px;
  margin:0 auto;
}
.portfolio-deck{
  position:relative;
  height:460px;
  margin:0 auto 22px;
  max-width:340px;
}
@media (min-width:960px){
  .portfolio-scroller{height:calc(100vh + var(--pf-steps, 6) * 55vh);}
  .portfolio-sticky{overflow:hidden;align-items:center;padding-top:0;height:min(100vh,640px);}
  .portfolio-carousel{
    max-width:1760px;
    display:grid;
    grid-template-columns:1fr 380px;
    align-items:center;
    gap:80px;
    margin:0 auto;
  }
  .portfolio-deck{max-width:660px;height:520px;margin:0 auto 24px;}
}
/* the numbered project list only sits beside the deck on desktop; below that it stacked under the deck and ran into the next section */
@media (max-width:959px){ .portfolio-nav-list{display:none;} }
.portfolio-nav-item{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  text-align:left;
  background:none;
  border:none;
  border-radius:10px;
  padding:12px 14px;
  cursor:pointer;
  font-family:var(--font-head);
  color:var(--mg-ink-soft);
  transition:background 0.2s ease, color 0.2s ease;
}
.portfolio-nav-item .pni-num{
  font-size:0.72rem;
  font-weight:700;
  letter-spacing:0.04em;
  color:var(--mg-ink-soft);
  opacity:0.55;
}
.portfolio-nav-item .pni-name{
  font-size:1rem;
  font-weight:700;
}
.portfolio-nav-item:hover{background:var(--mg-lilac);}
.portfolio-nav-item:focus-visible{outline:2px solid var(--mg-plum-dark);outline-offset:-2px;}
.portfolio-nav-item.active{background:var(--mg-lilac);color:var(--mg-ink);}
.portfolio-nav-item.active .pni-num{color:var(--mg-plum-dark);opacity:1;}
.portfolio-deck .portfolio-card{
  position:absolute;
  inset:0;
  margin:0;
  cursor:grab;
  touch-action:pan-y;
  transition:transform 0.38s cubic-bezier(.2,.8,.2,1), opacity 0.38s ease;
}
.portfolio-deck .portfolio-card:active{cursor:grabbing;}
/* In the deck every card has the same fixed height, so the screenshot flexes and the caption keeps its full height:
   the description and the View link are never cut off. */
.portfolio-deck .portfolio-card{display:flex;flex-direction:column;}
.portfolio-deck .portfolio-frame-link{flex:1 1 auto;min-height:0;display:flex;}
.portfolio-deck .portfolio-frame{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;width:100%;}
.portfolio-deck .portfolio-frame-screen{flex:1 1 auto;min-height:0;aspect-ratio:auto;position:relative;}
.portfolio-deck .portfolio-card figcaption{flex:none;}
.portfolio-card{
  background:var(--mg-white);
  border:1px solid var(--mg-line);
  border-radius:22px;
  overflow:hidden;
}
.portfolio-frame-link{display:block;}
.portfolio-frame{
  margin:0;
  border-radius:0;
  border:2px solid var(--mg-plum);
}
.portfolio-frame-screen{
  height:auto;
  aspect-ratio:16/10;
}
.portfolio-frame-screen img{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top;
  animation:none;
  pointer-events:none;
  -webkit-user-drag:none;
}
.portfolio-card figcaption{
  padding:18px 22px 22px;
}
.portfolio-tag{
  display:inline-block;
  font-family:var(--font-head);
  font-size:0.68rem;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--mg-plum-dark);
  background:var(--mg-lilac);
  border-radius:999px;
  padding:4px 12px;
  margin-bottom:10px;
}
.portfolio-tag.is-concept{color:var(--mg-ink-soft);background:var(--mg-bg);}
.portfolio-card h3{font-size:1.2rem;margin-bottom:6px;}
.portfolio-card p{font-size:0.9rem;color:var(--mg-ink-soft);margin-bottom:12px;}
.portfolio-card a{
  font-family:var(--font-head);
  font-weight:700;
  font-size:0.86rem;
  color:var(--mg-plum-dark);
  text-decoration:none;
  border-bottom:2px solid var(--mg-gold);
}
.portfolio-card a:hover{color:var(--mg-plum);}

.portfolio-controls{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
}
.portfolio-nav{
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid var(--mg-line);
  background:var(--mg-white);
  color:var(--mg-ink);
  font-family:var(--font-head);
  font-size:1.3rem;
  line-height:1;
  cursor:pointer;
  box-shadow:none;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background 0.18s ease, color 0.18s ease;
}
.portfolio-nav:hover{background:var(--mg-plum);color:var(--mg-white);}
.portfolio-nav:focus-visible{outline:3px solid var(--mg-plum-dark);outline-offset:2px;}

.portfolio-dots{
  display:flex;
  justify-content:center;
  gap:8px;
}
.portfolio-dots button{
  position:relative;
  width:9px;
  height:9px;
  border-radius:50%;
  border:none;
  background:var(--mg-line);
  cursor:pointer;
  padding:0;
}
.portfolio-dots button::before{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:24px;
  height:24px;
  transform:translate(-50%,-50%);
}
.portfolio-dots button.active{background:var(--mg-plum);}
.portfolio-dots button:focus-visible{outline:2px solid var(--mg-plum-dark);outline-offset:2px;}

/* ================= WHO IT'S FOR ================= */
/* ================= GROWTH DIAGRAM (Who It's For) ================= */
.growth-diagram{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  margin:0 auto 40px;
  max-width:760px;
}
.growth-stage{display:flex;flex-direction:column;align-items:center;gap:10px;}
.growth-frame{padding:6px;border-radius:12px;}
.growth-frame .device-bar{padding:1px 5px 6px;gap:4px;}
.growth-frame .device-bar span{width:6px;height:6px;}
.growth-screen{
  background:var(--mg-white);
  border-radius:7px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
  padding:0 12px;
}
.growth-tabs{display:flex;gap:4px;padding:0 8px 6px;}
.growth-tabs span{flex:1;height:8px;border-radius:999px;background:var(--mg-lilac);border:1px solid var(--mg-line);}
.growth-tabs span:first-child{background:var(--mg-plum);border-color:var(--mg-plum);}
.growth-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:0 10px 10px;}
.growth-grid span{aspect-ratio:1;border-radius:5px;background:var(--mg-lilac);border:1px solid var(--mg-line);}

.growth-frame-sm{width:110px;}
.growth-frame-sm .growth-screen{height:64px;}
.growth-frame-md{width:170px;}
.growth-frame-md .growth-screen{height:70px;}
.growth-frame-lg{width:230px;}
.growth-frame-lg .growth-screen{height:0;padding:0;}

.growth-arrow{flex:none;}
.growth-caption{
  font-size:0.82rem;
  font-weight:600;
  color:var(--mg-ink-soft);
  text-align:center;
  max-width:140px;
}

@media (max-width:640px){
  .growth-diagram{flex-direction:column;gap:18px;}
  .growth-arrow{transform:rotate(90deg);}
}

/* ================= GROWTH DIAGRAM: stages grow in, arrows draw between them ================= */
html.js .growth-stage{
  opacity:0;
  transform:scale(0.7) translateY(10px);
  transition:opacity 0.5s ease, transform 0.5s cubic-bezier(.25,1.4,.4,1);
}
html.js .growth-diagram.in .growth-stage{opacity:1;transform:scale(1) translateY(0);}
html.js .growth-diagram.in .growth-stage:nth-child(1){transition-delay:0s;}
html.js .growth-diagram.in .growth-stage:nth-child(3){transition-delay:0.45s;}
html.js .growth-diagram.in .growth-stage:nth-child(5){transition-delay:0.9s;}

.growth-arrow path{stroke-dasharray:1;stroke-dashoffset:1;}
html:not(.js) .growth-arrow path{stroke-dashoffset:0;}
html.js .growth-diagram.in .growth-arrow:nth-child(2) path{animation:draw-step 0.35s ease-out 0.3s forwards;}
html.js .growth-diagram.in .growth-arrow:nth-child(4) path{animation:draw-step 0.35s ease-out 0.75s forwards;}

.who-list{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1px;
  background:var(--mg-line);
  border:1px solid var(--mg-line);
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 20px 44px -26px var(--mg-shadow);
  max-width:760px;
  margin:0 auto;
}
@media (max-width:640px){
  .who-list{grid-template-columns:1fr;}
}
.who-item{
  background:var(--mg-white);
  padding:18px 22px 18px 26px;
  font-size:0.95rem;
  color:var(--mg-ink);
  border-left:4px solid var(--tab-color, var(--mg-plum));
}
/* Colors are assigned per item (not a straight 4n cycle) and shifted each row so a
   4-column desktop grid never lines up the same color in one column top-to-bottom. */
.who-item:nth-child(1){--tab-color:var(--mg-plum);}
.who-item:nth-child(2){--tab-color:var(--mg-gold);}
.who-item:nth-child(3){--tab-color:var(--mg-blush);}
.who-item:nth-child(4){--tab-color:var(--mg-plum-dark);}
.who-item:nth-child(5){--tab-color:var(--mg-gold);}
.who-item:nth-child(6){--tab-color:var(--mg-blush);}
.who-item:nth-child(7){--tab-color:var(--mg-plum-dark);}
.who-item:nth-child(8){--tab-color:var(--mg-plum);}
html.js .who-item{transition:opacity 0.7s ease, transform 0.7s ease, background 0.2s ease;}
.who-item:hover{background:var(--mg-lilac);}
html.js .who-list .who-item:nth-child(1){transition-delay:0s;}
html.js .who-list .who-item:nth-child(2){transition-delay:0.08s;}
html.js .who-list .who-item:nth-child(3){transition-delay:0.16s;}
html.js .who-list .who-item:nth-child(4){transition-delay:0.24s;}
html.js .who-list .who-item:nth-child(5){transition-delay:0.32s;}
html.js .who-list .who-item:nth-child(6){transition-delay:0.4s;}
.who-note{
  max-width:640px;
  margin:26px auto 0;
  text-align:center;
  color:var(--mg-ink-soft);
  font-size:0.9rem;
}

/* ================= PLAN COMPARISON (mobile-safe, no table/no horizontal scroll) ================= */
.plan-compare{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
  max-width:820px;
  margin:48px auto 0;
  align-items:stretch;
}
@media (max-width:720px){
  .plan-compare{grid-template-columns:1fr;}
}
.plan-card{
  background:var(--mg-white);
  border:1px solid var(--mg-line);
  border-radius:22px;
  padding:28px 26px;
  display:flex;
  flex-direction:column;
}
html.js .plan-card{transition:opacity 0.7s ease, transform 0.7s ease, translate 0.3s ease, box-shadow 0.3s ease;}
.plan-card:hover{translate:0 -6px;box-shadow:0 26px 50px -26px var(--mg-shadow);}
html.js .plan-compare .plan-card:nth-child(1){transition-delay:0s;}
html.js .plan-compare .plan-card:nth-child(2){transition-delay:0.15s;}
.plan-card.plan-highlight{
  background:var(--mg-lilac);
  border-color:var(--mg-plum);
}
.plan-card .plan-price{
  font-family:var(--font-head);
  font-weight:800;
  font-size:1.7rem;
  color:var(--mg-ink);
}
.plan-card .plan-name{
  font-size:0.98rem;
  font-weight:700;
  color:var(--mg-plum-dark);
  margin:2px 0 18px;
}
.plan-features{
  list-style:none;
  margin:0 0 20px;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:11px;
  flex:1;
}
.plan-features li{
  font-size:0.9rem;
  color:var(--mg-ink);
  padding-left:20px;
  position:relative;
}
.plan-features li::before{
  content:"";
  position:absolute;
  left:0;
  top:0.5em;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--mg-gold);
}
.plan-features li.is-no{color:var(--mg-ink-soft);}
.plan-features li.is-no::before{background:var(--mg-line);}
.plan-features li strong{color:var(--mg-plum-dark);}
.plan-card .btn{align-self:flex-start;}
.compare-upgrade{
  text-align:center;
  font-family:var(--font-head);
  font-weight:600;
  color:var(--mg-ink);
  margin-top:24px;
  font-size:0.95rem;
}
.compare-upgrade span{color:var(--mg-plum-dark);}

/* ================= FAQ ================= */
.faq{padding:clamp(56px,8vw,84px) 0;}
.faq-list{
  max-width:680px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:0;
  background:var(--mg-white);
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 20px 44px -26px var(--mg-shadow);
}
.faq-item{
  background:var(--mg-white);
  border:none;
  border-bottom:1px solid var(--mg-line);
  border-left:4px solid var(--tab-color, var(--mg-plum));
  border-radius:0;
  padding:4px 22px;
}
.faq-item:last-child{border-bottom:none;}
.faq-item:nth-child(4n+1){--tab-color:var(--mg-plum);}
.faq-item:nth-child(4n+2){--tab-color:var(--mg-gold);}
.faq-item:nth-child(4n+3){--tab-color:var(--mg-blush);}
.faq-item:nth-child(4n+4){--tab-color:var(--mg-plum-dark);}
html.js .faq-item{transition:opacity 0.7s ease, transform 0.7s ease, border-color 0.2s ease;}
.faq-item:hover{border-color:var(--tab-color, var(--mg-plum));}
html.js .faq-list .faq-item:nth-child(1){transition-delay:0s;}
html.js .faq-list .faq-item:nth-child(2){transition-delay:0.04s;}
html.js .faq-list .faq-item:nth-child(3){transition-delay:0.08s;}
html.js .faq-list .faq-item:nth-child(4){transition-delay:0.12s;}
html.js .faq-list .faq-item:nth-child(5){transition-delay:0.16s;}
html.js .faq-list .faq-item:nth-child(6){transition-delay:0.2s;}
html.js .faq-list .faq-item:nth-child(7){transition-delay:0.24s;}
html.js .faq-list .faq-item:nth-child(8){transition-delay:0.28s;}
html.js .faq-list .faq-item:nth-child(9){transition-delay:0.32s;}
html.js .faq-list .faq-item:nth-child(10){transition-delay:0.36s;}
html.js .faq-list .faq-item:nth-child(11){transition-delay:0.4s;}
.faq-item[open] .faq-answer{animation:faq-fade-in 0.35s ease;}
@keyframes faq-fade-in{
  from{opacity:0;transform:translateY(-6px);}
  to{opacity:1;transform:translateY(0);}
}
.faq-item summary{
  cursor:pointer;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 0;
  font-family:var(--font-head);
  font-weight:600;
  font-size:1rem;
  color:var(--mg-ink);
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item .chevron{
  flex:none;
  transition:transform 0.25s ease;
}
.faq-item[open] .chevron{transform:rotate(135deg);}
.faq-item .faq-answer{
  padding:0 0 20px;
  color:var(--mg-ink-soft);
  font-size:0.96rem;
  max-width:56ch;
}
.faq-body{display:contents;}
.faq-cta{display:none;}

/* ================= FAQ: horizontal color-tab layout on wide screens ================= */
@media (min-width:860px){
  #faq .wrap{max-width:1600px;}
  .faq-list{
    flex-direction:row;
    align-items:stretch;
    gap:0;
    max-width:none;
    height:460px;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 24px 54px -30px var(--mg-shadow);
  }
  .faq-item{
    background:var(--mg-white);
    border:none;
    border-left:4px solid var(--tab-color, var(--mg-plum));
    border-radius:0;
    padding:0;
    flex:0 0 54px;
    min-width:0;
    overflow:hidden;
    display:flex;
    flex-direction:column;
  }
  html.js .faq-item{transition:opacity 0.7s ease, transform 0.7s ease, flex-basis 0.45s ease, background 0.25s ease;}
  .faq-item:hover{border-color:transparent;background:var(--mg-lilac);}
  .faq-item[open]{flex:1 1 auto;background:var(--mg-white);}
  .faq-item[open]:hover{background:var(--mg-white);}

  .faq-item summary{
    flex:none;
    height:100%;
    padding:22px 0;
    writing-mode:vertical-rl;
    transform:rotate(180deg);
    white-space:nowrap;
    justify-content:flex-start;
    gap:16px;
    font-size:0.92rem;
  }
  .faq-item[open] summary{
    writing-mode:horizontal-tb;
    transform:none;
    height:auto;
    padding:24px 26px 14px;
    white-space:normal;
    font-size:1.05rem;
  }
  .faq-item .chevron{display:none;}
  .faq-body{
    display:flex;
    flex-direction:column;
    flex:1;
    overflow-y:auto;
    padding:0 26px 26px;
  }
  .faq-item .faq-answer{
    flex:none;
    padding:0;
    max-width:56ch;
  }
  .faq-item:not([open]) .faq-body{display:none;}
  .faq-cta{
    display:flex;
    align-items:center;
    gap:14px;
    margin-top:auto;
    padding:16px 18px;
    background:var(--mg-lilac);
    border-radius:14px;
    color:var(--mg-ink);
    text-decoration:none;
    max-width:440px;
  }
  .faq-cta svg{flex:none;color:var(--mg-plum);}
  .faq-cta strong{display:block;color:var(--mg-plum-dark);font-family:var(--font-head);font-size:0.92rem;}
  .faq-cta span{display:block;font-size:0.85rem;color:var(--mg-ink-soft);margin-top:2px;}
  html.js .faq-cta{transition:background 0.2s ease, box-shadow 0.2s ease;}
  .faq-cta:hover{background:var(--mg-white);box-shadow:0 0 0 1.5px var(--mg-plum);}

  /* website-starter's FAQ runs 11 items -- too many for the tab layout above, which
     crowds into unreadable slivers. Keep the plain stacked accordion at every width. */
  #faq.faq-stacked .wrap{max-width:1080px;}
  .faq-stacked .faq-list{
    flex-direction:column;
    align-items:stretch;
    gap:0;
    max-width:680px;
    height:auto;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 20px 44px -26px var(--mg-shadow);
  }
  .faq-stacked .faq-item{
    flex:none;
    min-width:0;
    padding:4px 22px;
    border-left:4px solid var(--tab-color, var(--mg-plum));
  }
  .faq-stacked .faq-item:hover{border-color:var(--tab-color, var(--mg-plum));background:transparent;}
  .faq-stacked .faq-item summary{
    writing-mode:horizontal-tb;
    transform:none;
    height:auto;
    padding:18px 0;
    white-space:normal;
    font-size:1rem;
    justify-content:space-between;
  }
  .faq-stacked .faq-item[open] summary{padding:18px 0;}
  .faq-stacked .faq-item .chevron{display:block;}
  .faq-stacked .faq-body{display:contents;}
  .faq-stacked .faq-item:not([open]) .faq-body{display:none;}
  .faq-stacked .faq-item .faq-answer{padding:0 0 20px;max-width:56ch;}
  .faq-stacked .faq-cta{display:none;}
}

/* ================= FINAL CTA ================= */
.final-cta{
  padding:clamp(64px,9vw,100px) 0 clamp(80px,10vw,120px);
  text-align:center;
  position:relative;
  overflow:hidden;
}
.final-mesh{
  position:absolute;
  inset:0;
  z-index:-2;
  background:linear-gradient(180deg,
    #F8EEFC 0%,
    var(--mg-lilac) 34%,
    #EBDDF3 62%,
    var(--mg-plum) 100%);
}
.final-glow{
  position:absolute;
  inset:0;
  z-index:-1;
  background:radial-gradient(55% 45% at 32% 78%, rgba(212,164,67,0.45), transparent 70%);
  filter:blur(6px);
}
.final-cta .hero-promise{color:var(--mg-ink);}
html.js .final-mesh{animation:final-glow 7s ease-in-out infinite;}

/* ---------- final-cta variant: full-bleed photo instead of the mesh gradient ---------- */
.final-cta.has-bg-photo .bg-photo{position:absolute;inset:0;z-index:-3;}
.final-cta.has-bg-photo .bg-photo img{width:100%;height:100%;object-fit:cover;object-position:center;}
.final-cta.has-bg-photo .bg-scrim{position:absolute;inset:0;z-index:-2;background:rgba(52,40,70,0.78);}
.final-cta.has-bg-photo h2{color:var(--mg-white);}
.final-cta.has-bg-photo .hero-promise{color:rgba(255,255,255,0.88);}
.final-cta.has-bg-photo .hero-promise strong{color:var(--mg-white);}
.final-cta.has-bg-photo .btn-secondary{color:var(--mg-white);border-color:rgba(255,255,255,0.55);}
.final-cta.has-bg-photo .btn-secondary:hover{border-color:var(--mg-white);color:var(--mg-white);background:rgba(255,255,255,0.1);}
.final-cta.has-bg-photo .final-trust{color:var(--mg-white);}
.final-cta.has-bg-photo .final-trust svg circle,
.final-cta.has-bg-photo .final-trust svg path{stroke:var(--mg-white);}
@keyframes final-glow{
  0%,100%{opacity:1;}
  50%{opacity:0.82;}
}
.final-spark{position:absolute;z-index:-1;}
.final-spark-1{top:14%;left:12%;}
.final-spark-2{top:22%;right:16%;}
.final-spark-3{bottom:16%;left:20%;}
html.js .final-spark{animation:final-spark-twinkle 3.5s ease-in-out infinite;}
.final-spark-2{animation-delay:1s;}
.final-spark-3{animation-delay:2s;}
@keyframes final-spark-twinkle{
  0%,100%{opacity:0.35;transform:scale(0.85) rotate(0deg);}
  50%{opacity:0.9;transform:scale(1.05) rotate(12deg);}
}
.final-cta h2{
  font-size:clamp(1.6rem,3.6vw,2.3rem);
  max-width:520px;
  margin:0 auto 14px;
}
.final-cta .hero-promise{margin:0 auto 26px;}
html.js .final-cta h2{transition-delay:0s;}
html.js .final-cta .hero-promise{transition-delay:0.12s;}
html.js .final-cta .btn-primary{transition-delay:0.24s;}

.final-trust{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px 30px;
  margin-top:30px;
  font-family:var(--font-head);
  font-size:0.88rem;
  font-weight:600;
  color:var(--mg-ink);
}
.final-trust span{display:flex;align-items:center;gap:8px;}
.final-trust svg{flex:none;}
html.js .final-trust{transition-delay:0.36s;}

/* ================= CROSS-LINK NOTE ================= */
.cross-link{
  text-align:center;
  font-size:0.9rem;
  color:var(--mg-ink-soft);
  padding:0 0 clamp(40px,6vw,60px);
}
.cross-link a{
  color:var(--mg-plum-dark);
  font-weight:600;
  text-decoration:underline;
}

/* ================= FOOTER ================= */
.site-footer{
  position:relative;
  padding:clamp(48px,7vw,72px) 0 28px;
  font-size:0.88rem;
  color:var(--mg-ink-soft);
  background:var(--mg-lilac);
  border-top:1px solid var(--mg-line);
}
.footer-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:34px;
}
@media (min-width:760px){
  .footer-grid{grid-template-columns:1.6fr 1fr 1fr 1fr;gap:40px;}
}
.footer-about .brand{margin-bottom:14px;}
.footer-tagline{font-family:var(--font-head);font-weight:600;font-size:0.82rem;color:var(--mg-ink);margin-bottom:10px;}
.footer-entity{max-width:38ch;line-height:1.6;margin-bottom:12px;}
.footer-email{color:var(--mg-plum-dark);font-weight:600;text-decoration:none;}
.footer-email:hover{text-decoration:underline;}
.footer-col{display:flex;flex-direction:column;gap:9px;}
.footer-heading{
  font-family:var(--font-accent);font-style:italic;font-weight:400;
  font-size:1.05rem;color:var(--mg-ink);margin:0 0 4px;
}
.footer-col a{color:var(--mg-ink-soft);text-decoration:none;}
.footer-col a:hover,.footer-col a:focus-visible,.footer-col a.active{color:var(--mg-plum-dark);text-decoration:underline;}
.footer-bottom{
  display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 20px;
  margin-top:clamp(32px,5vw,48px);padding-top:20px;
  border-top:1px solid var(--mg-line);font-size:0.8rem;
}
.footer-legal{display:flex;gap:16px;}
.footer-legal a{color:var(--mg-ink-soft);}

/* ================= INTERIOR PAGE HERO (About/Contact/Portfolio/Checklist/FAQs) ================= */
.page-hero{
  position:relative;
  padding:clamp(48px,7vw,72px) 0 clamp(40px,6vw,56px);
  text-align:center;
}
.page-hero .wrap{max-width:720px;}
/* A page-hero carrying a .hero-grid split needs the full hero width, not the narrow text-only cap. */
.page-hero-split .wrap{max-width:1080px;}
.page-hero-split{text-align:left;}
@media (max-width:959px){
  .page-hero-split{text-align:center;}
}
.page-hero h1{
  font-size:clamp(1.8rem,4vw,2.6rem);
  margin-top:10px;
}
.page-hero p{
  color:var(--mg-ink-soft);
  font-size:1.05rem;
  margin-top:14px;
}

/* ================= CONTACT FORM ================= */
.contact-form{
  max-width:640px;
  margin:0 auto;
  background:var(--mg-white);
  border:1px solid var(--mg-line);
  border-radius:22px;
  padding:clamp(24px,4vw,36px);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  box-shadow:0 18px 40px -26px var(--mg-shadow);
}
@media (max-width:600px){
  .contact-form{grid-template-columns:1fr;}
}
.form-field{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}
.form-field.is-full{grid-column:1 / -1;}
.form-field label{
  font-family:var(--font-head);
  font-weight:600;
  font-size:0.85rem;
  color:var(--mg-ink);
}
.form-field input,
.form-field select,
.form-field textarea{
  font-family:var(--font-body);
  font-size:0.95rem;
  color:var(--mg-ink);
  background:var(--mg-bg);
  width:100%;
  min-width:0;
  box-sizing:border-box;
  border:1px solid var(--mg-line);
  border-radius:12px;
  padding:11px 14px;
  outline:none;
  transition:border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field textarea{resize:vertical;min-height:120px;font-family:var(--font-body);}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
  border-color:var(--mg-plum);
  box-shadow:0 0 0 3px rgba(122,75,181,0.18);
}
.contact-form .btn{
  grid-column:1 / -1;
  justify-self:start;
}
.form-status{
  grid-column:1 / -1;
  font-weight:600;
  min-height:1.2em;
  color:var(--mg-plum-dark);
}
.form-status.form-status-error{color:var(--mg-plum-darker);}
.hp-field{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}
.contact-details{
  max-width:640px;
  margin:0 auto 32px;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px 26px;
  text-align:center;
}
.contact-details span{
  font-size:0.92rem;
  color:var(--mg-ink-soft);
}
.contact-details strong{color:var(--mg-ink);}

/* ================= NUMBERED MISTAKE LIST (Checklist) ================= */
.mistake-list{
  display:flex;
  flex-direction:column;
  gap:20px;
  max-width:760px;
  margin:0 auto;
}
.mistake-item{
  background:var(--mg-white);
  border:1px solid var(--mg-line);
  border-radius:20px;
  padding:24px 28px;
  display:flex;
  gap:20px;
  align-items:flex-start;
}
html.js .mistake-item{transition:opacity 0.7s ease, transform 0.7s ease, box-shadow 0.25s ease;}
.mistake-item:hover{box-shadow:0 20px 40px -24px var(--mg-shadow);}
.mistake-item .num{
  font-family:var(--font-accent);
  font-style:italic;
  font-size:1.8rem;
  color:var(--mg-gold);
  line-height:1;
  flex:none;
}
.mistake-item h3{font-size:1.08rem;margin-bottom:8px;}
.mistake-item p{color:var(--mg-ink-soft);font-size:0.95rem;line-height:1.55;}
.mistake-item p + p{margin-top:10px;}
.mistake-item strong{color:var(--mg-plum-dark);}

/* ================= PORTFOLIO CASE STUDIES ================= */
.portfolio-case-list{
  display:flex;
  flex-direction:column;
  gap:32px;
  max-width:1200px;
  margin:0 auto;
}
.portfolio-case{
  display:grid;
  grid-template-columns:1fr 1.3fr;
  gap:0;
  align-items:center;
}
@media (min-width:821px){
  .portfolio-case.portfolio-case-reverse{grid-template-columns:1.3fr 1fr;}
  .portfolio-case.portfolio-case-reverse .case-visual{order:2;}
  .portfolio-case.portfolio-case-reverse .case-content{order:1;}
}
@media (max-width:820px){
  .portfolio-case{grid-template-columns:1fr;}
}
.portfolio-case .case-visual{padding:26px;}
.portfolio-case .case-visual .portfolio-frame{margin:0;}
.portfolio-case .case-content{padding:8px 32px 32px;}
@media (min-width:821px){
  .portfolio-case .case-content{padding:32px 36px 32px 8px;}
  .portfolio-case-reverse .case-content{padding:32px 8px 32px 36px;}
  .portfolio-case-reverse .case-visual{padding:26px 8px 26px 26px;}
}
.portfolio-case .portfolio-tag{margin-bottom:12px;}
.portfolio-case h2{font-size:1.3rem;margin-bottom:18px;}
.case-result-block{margin-bottom:22px;}
.case-result-block:last-child{margin-bottom:0;}
.case-result-block h3{font-size:1rem;color:var(--mg-plum-dark);margin-bottom:8px;}
.case-result-block p{color:var(--mg-ink-soft);font-size:0.92rem;line-height:1.55;margin-bottom:6px;}
.case-result-block p strong{color:var(--mg-ink);}

/* ================= FAQ TEASER LIST (Home) ================= */
.faq-teaser-list{
  list-style:none;
  margin:0 auto;
  padding:0;
  max-width:640px;
  background:var(--mg-white);
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 20px 44px -26px var(--mg-shadow);
}
.faq-teaser-list li{
  font-size:0.98rem;
  color:var(--mg-ink);
  padding:17px 22px 17px 26px;
  border-bottom:1px solid var(--mg-line);
  border-left:4px solid var(--tab-color, var(--mg-plum));
}
.faq-teaser-list li:last-child{border-bottom:none;}
.faq-teaser-list li:nth-child(4n+1){--tab-color:var(--mg-plum);}
.faq-teaser-list li:nth-child(4n+2){--tab-color:var(--mg-gold);}
.faq-teaser-list li:nth-child(4n+3){--tab-color:var(--mg-blush);}
.faq-teaser-list li:nth-child(4n+4){--tab-color:var(--mg-plum-dark);}

/* ================= DARK VALUE-STATEMENT BANNER STRIP ================= */
.value-banner{
  position:relative;
  background:var(--mg-ink);
  padding:20px 0;
  overflow:hidden;
}
.value-banner::before,
.value-banner::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:3px;
  background-image:radial-gradient(circle, var(--mg-gold) 1.4px, transparent 1.6px);
  background-size:12px 3px;
  background-repeat:repeat-x;
  opacity:0.75;
}
.value-banner::before{top:0;}
.value-banner::after{bottom:0;}
.value-banner .wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  text-align:center;
}
.value-banner p{
  color:var(--mg-white);
  font-family:var(--font-head);
  font-weight:600;
  font-size:0.92rem;
  letter-spacing:0.01em;
  margin:0;
}
.value-banner .star{flex:none;}
.value-banner p strong{color:var(--mg-blush);}
.value-banner p a{color:var(--mg-white);text-decoration:underline;font-weight:700;}
.value-banner p a:hover{color:var(--mg-blush);}

/* ================= MINI-UI FEATURE BADGES ================= */
.mini-ui-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  max-width:900px;
  margin:0 auto;
}
@media (max-width:760px){
  .mini-ui-grid{grid-template-columns:repeat(2,1fr);}
}
.mini-ui-card{
  background:var(--mg-white);
  border:1px solid var(--mg-line);
  border-radius:18px;
  padding:24px 16px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}
html.js .mini-ui-card{transition:opacity 0.7s ease, transform 0.7s ease, translate 0.2s ease, box-shadow 0.2s ease;}
.mini-ui-card:hover{translate:0 -4px;box-shadow:0 18px 34px -20px var(--mg-shadow);}
html.js .mini-ui-grid .mini-ui-card:nth-child(1){transition-delay:0s;}
html.js .mini-ui-grid .mini-ui-card:nth-child(2){transition-delay:0.1s;}
html.js .mini-ui-grid .mini-ui-card:nth-child(3){transition-delay:0.2s;}
html.js .mini-ui-grid .mini-ui-card:nth-child(4){transition-delay:0.3s;}
.mini-ui-card span{
  font-family:var(--font-head);
  font-weight:700;
  font-size:0.85rem;
  color:var(--mg-ink);
}

/* ================= SHARED LAYOUT HELPERS ================= */
/* A single CTA (button or link) centered below a section's body copy. */
.section-cta{text-align:center;margin-top:28px;}
/* A standalone supporting paragraph, centered and line-length constrained. */
.section-sub{
  text-align:center;
  color:var(--mg-ink-soft);
  max-width:640px;
  margin:0 auto 16px;
}
/* Final-CTA sections already justify-content:center by default via .hero-cta-row;
   this only adds the breathing room needed when it follows body copy. */
.final-cta .hero-cta-row{margin-top:16px;}
/* Link inside a dark .objection-card needs to read against --mg-ink, not inherit it. */
.objection-card a{color:var(--mg-white);text-decoration:underline;font-weight:700;}

/* ================= PHOTO VISUAL (styled 3D mockup scenes used as supporting section imagery) ================= */
.photo-visual{
  margin:40px auto 0;
  max-width:820px;
  padding:10px;
  background:var(--mg-lilac);
  border-radius:22px;
  box-shadow:0 30px 60px -26px var(--mg-shadow);
}
.photo-visual img{width:100%;display:block;border-radius:14px;}
.photo-visual-sm{max-width:560px;}
.photo-visual-wide{max-width:1100px;}

/* ================= WIDE CONTAINER (desktop-breathing alternative to .wrap) ================= */
.wrap-wide{
  max-width:1320px;
  margin:0 auto;
  padding:0 clamp(20px,5vw,48px);
}
@media (min-width:1000px){
  .wrap-wide .benefit-grid{grid-template-columns:repeat(3,1fr);max-width:none;}
  .wrap-wide .who-list{grid-template-columns:repeat(4,1fr);max-width:none;}
  .wrap-wide .plan-compare{max-width:960px;}
}

/* ================= HERO PHOTO (image side of a .hero-grid split) ================= */
.hero-photo{
  width:100%;
  max-width:540px;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 34px 64px -22px var(--mg-shadow);
}
.hero-photo img{width:100%;display:block;}

/* ================= SPLIT SECTION (text one side, image the other; alternates with .split-reverse) ================= */
.split{
  display:grid;
  grid-template-columns:1fr;
  gap:32px;
  align-items:center;
}
@media (min-width:960px){
  .split{grid-template-columns:1.05fr 0.95fr;gap:56px;}
  .split.split-reverse .split-visual{order:2;}
  .split.split-reverse .split-content{order:1;}
  .split .section-head{text-align:left;max-width:none;margin:0 0 20px;}
  .split .section-cta{text-align:left;margin-top:24px;}
  .split .benefit-list,
  .split .mistake-list{max-width:none;margin:0;}
  /* A .wrap-wide's 3-col .benefit-grid override doesn't make sense inside a .split
     column, which is already only ~half the wrap-wide width. */
  .split .benefit-grid{grid-template-columns:repeat(2,1fr);max-width:none;}
  .split .mini-ui-grid{grid-template-columns:repeat(2,1fr);}
}
.split-visual .photo-visual{margin:0;max-width:none;}
.split-visual{width:100%;}
@media (min-width:960px){
  .split-visual.is-sticky{position:sticky;top:100px;align-self:start;}
}

/* ================= SECTION WITH FULL-BLEED PHOTO BACKGROUND ================= */
.section-bg-photo{
  position:relative;
  overflow:hidden;
  color:var(--mg-white);
  /* Forces a local stacking context so the photo/scrim (negative z-index) always
     paint above this section's OWN background -- needed when another class on the
     same section (e.g. .benefits) also sets a solid background color. */
  isolation:isolate;
}
.section-bg-photo .bg-photo{
  position:absolute;
  inset:0;
  z-index:-2;
}
.section-bg-photo .bg-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:right center;
}
.section-bg-photo .bg-scrim{
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg, rgba(52,40,70,0.9) 0%, rgba(52,40,70,0.74) 38%, rgba(52,40,70,0.2) 62%, rgba(52,40,70,0) 80%);
}
.section-bg-photo .wrap{
  padding-top:clamp(56px,9vw,96px);
  padding-bottom:clamp(56px,9vw,96px);
}
.section-bg-photo .section-head{text-align:left;max-width:480px;margin:0;}
.section-bg-photo .section-head .eyebrow{color:var(--mg-blush);}
.section-bg-photo .section-head h2{color:var(--mg-white);}
.section-bg-photo .section-head p{color:rgba(255,255,255,0.88);}
/* Plain captions below a white card (growth diagram) sit directly on the photo/scrim
   and need the same light-on-dark override as the section-head. */
.section-bg-photo .growth-caption,
.section-bg-photo .who-note{color:rgba(255,255,255,0.88);}
/* The photo background is scoped to the heading+diagram only (.who-hero) -- the
   who-list/who-note sit in a plain section right after. Two adjacent sections each
   carrying the full clamp(56-84px) .benefits/.how padding would either touch (0+0)
   or leave a too-big double gap (84+84) at each boundary, so both sides here use a
   single fixed value instead of stacking two sections' padding. */
.who-hero{padding-bottom:0;}
.who-list-section{padding-top:32px;padding-bottom:32px;}
.section-bg-photo .section-cta{text-align:left;margin-top:24px;}
@media (max-width:760px){
  .section-bg-photo .bg-scrim{background:linear-gradient(180deg, rgba(52,40,70,0.55) 0%, rgba(52,40,70,0.88) 46%, rgba(52,40,70,0.92) 100%);}
  .section-bg-photo .bg-photo img{object-position:center 30%;}
  .section-bg-photo .section-head{text-align:center;margin:0 auto;max-width:480px;}
  .section-bg-photo .section-cta{text-align:center;}
}

/* Variant for a busy/dense source photo with no open negative space: a uniform
   scrim instead of the left-to-right gradient, and the section-head reverts to
   centered (matching how .section-head reads everywhere else on the site). */
.section-bg-photo.is-centered .bg-scrim{background:rgba(52,40,70,0.76);}
.section-bg-photo.is-centered .section-head{text-align:center;max-width:640px;margin:0 auto;}
.section-bg-photo.is-centered .section-cta{text-align:center;}

/* ================= CONTACT SPLIT (sticky details sidebar + form) ================= */
.contact-split{
  display:grid;
  grid-template-columns:1fr;
  gap:32px;
  align-items:start;
  max-width:1000px;
  margin:0 auto;
}
@media (min-width:900px){
  .contact-split{grid-template-columns:0.8fr 1.2fr;gap:56px;}
  .contact-split .contact-details{position:sticky;top:100px;}
}
.contact-split .contact-details{
  max-width:none;
  margin:0;
  flex-direction:column;
  flex-wrap:nowrap;
  justify-content:flex-start;
  align-items:flex-start;
  text-align:left;
  gap:16px;
}
.contact-split .section-head{text-align:left;max-width:none;margin:0;}
@media (max-width:899px){
  .contact-split .section-head{text-align:center;}
}
.contact-split .contact-form{max-width:none;margin:0;}
.contact-details-photo{width:100%;max-width:360px;margin:28px 0 0;align-self:stretch;}
@media (max-width:899px){
  .contact-split .contact-details{align-items:center;text-align:center;margin:0 auto;}
}

/* ---------- parallax drift on full-bleed background photos ---------- */
.bg-photo img{
  transform:scale(1.15) translateY(var(--parallax-y, 0px));
  will-change:transform;
}
@keyframes bg-breathe{
  0%,100%{transform:scale(1.15) translateY(var(--parallax-y, 0px));}
  50%{transform:scale(1.24) translateY(var(--parallax-y, 0px));}
}
html.js .bg-photo img{animation:bg-breathe 14s ease-in-out infinite;}

/* ---------- scroll progress bar ---------- */
.scroll-progress{
  position:fixed;
  top:0;
  left:0;
  height:3px;
  width:100%;
  background:var(--mg-gold);
  transform:scaleX(0);
  transform-origin:left center;
  z-index:60;
  pointer-events:none;
}
html.js .scroll-progress{transition:transform 0.1s linear;}

/* ---------- nav: subtle shadow once the page has scrolled ---------- */
html.js .nav{transition:background 0.25s ease, box-shadow 0.25s ease;}
.nav.is-scrolled{
  background:rgba(245,229,252,0.96);
  box-shadow:0 8px 24px -18px var(--mg-shadow);
}

/* ---------- gentle hover lift on photo/mockup imagery ---------- */
html.js .photo-visual,
html.js .hero-photo{transition:transform 0.35s ease, box-shadow 0.35s ease;}
.photo-visual:hover{transform:translateY(-4px);box-shadow:0 40px 74px -30px var(--mg-shadow);}
.hero-photo:hover{transform:translateY(-4px);box-shadow:0 40px 76px -26px var(--mg-shadow);}

/* ---------- testimonials (real client quotes) ---------- */
.testimonial-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-top:32px;
}
@media (max-width:900px){
  .testimonial-grid{grid-template-columns:1fr;}
}
.testimonial-card{
  background:var(--mg-white);
  border:1px solid var(--mg-line);
  border-radius:20px;
  padding:26px 24px;
  box-shadow:0 20px 40px -26px var(--mg-shadow);
  display:flex;
  flex-direction:column;
  gap:12px;
}
.testimonial-stars{display:flex;gap:2px;}
.testimonial-quote{
  font-family:var(--font-accent);
  font-style:italic;
  color:var(--mg-ink);
  line-height:1.6;
  font-size:0.96rem;
  flex:1;
}
.testimonial-author{
  font-weight:700;
  font-size:0.88rem;
  color:var(--mg-plum-dark);
}
.testimonial-single{max-width:640px;margin:32px auto 0;}

/* ---------- legal-content (Privacy Policy / Terms of Service prose) ---------- */
.legal-content{max-width:720px;margin:0 auto;}
.legal-content h2{font-size:1.3rem;margin:34px 0 10px;}
.legal-content h2:first-of-type{margin-top:0;}
.legal-content p{color:var(--mg-ink-soft);line-height:1.65;margin:0 0 16px;}
.legal-content ul{color:var(--mg-ink-soft);line-height:1.65;margin:0 0 16px;padding-left:22px;}
.legal-content li{margin-bottom:8px;}
.legal-content a{color:var(--mg-plum-dark);}

/* ---------- plan-compare 3-column modifier (used alongside .plan-compare) ---------- */
.plan-compare-3{grid-template-columns:repeat(3,1fr);max-width:1180px;}
.wrap-wide .plan-compare-3{max-width:1180px;}
@media (max-width:900px){
  .plan-compare-3{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:720px){
  .plan-compare-3{grid-template-columns:1fr;}
}

/* ===== Blog ===== */
/* Everything below is used only by the generated blog pages in /blog/ (marie-glow-studio-blog/templates/).
   It reuses the --mg-* tokens, .page-hero, .btn, .badge-pill and .eyebrow; no existing component is restyled. */

/* ---------- breadcrumbs ---------- */
.blog-crumbs{font-size:0.82rem;color:var(--mg-ink-soft);margin:0 0 16px;}
.blog-crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;}
.blog-crumbs.is-centered ol{justify-content:center;}
.blog-crumbs li{display:flex;align-items:center;gap:8px;min-width:0;}
.blog-crumbs li + li::before{content:"/";color:var(--mg-ink-soft);opacity:0.45;}
.blog-crumbs a{color:var(--mg-plum-dark);text-decoration:none;font-weight:500;}
.blog-crumbs a:hover,.blog-crumbs a:focus-visible{text-decoration:underline;}
.blog-crumbs [aria-current]{overflow-wrap:anywhere;text-align:left;}

/* ---------- article header ---------- */
.wrap.blog-wrap{max-width:760px;}
.blog-post-head{padding:clamp(28px,5vw,52px) 0 clamp(20px,3vw,30px);}
.blog-hub-pill{color:var(--mg-plum-dark);text-decoration:none;max-width:100%;transition:border-color 0.2s ease;}
.blog-hub-pill:hover,.blog-hub-pill:focus-visible{border-color:var(--mg-plum);}
.blog-post-head h1{
  font-size:clamp(1.75rem,4.4vw,2.6rem);
  line-height:1.15;
  margin-top:16px;
  overflow-wrap:break-word;
}
.blog-byline{
  display:flex;
  flex-wrap:wrap;
  gap:2px 18px;
  margin-top:16px;
  font-size:0.9rem;
  color:var(--mg-ink-soft);
}
.blog-byline a{color:var(--mg-ink);font-weight:600;text-decoration:none;}
.blog-byline a:hover,.blog-byline a:focus-visible{text-decoration:underline;}
.blog-feature{
  max-width:1000px;
  margin:0 auto;
  padding:0 clamp(20px,5vw,48px);
}
.blog-feature img{
  width:100%;
  height:auto;
  border-radius:20px;
  border:1px solid var(--mg-line);
  box-shadow:0 24px 50px -28px var(--mg-shadow);
}

/* ---------- article body (reading typography) ---------- */
.blog-body{
  padding:clamp(24px,4vw,40px) 0 4px;
  font-size:1.06rem;
  line-height:1.78;
  color:var(--mg-ink);
  overflow-wrap:break-word;
}
.blog-body > * + *{margin-top:1.15em;}
.blog-body h2{font-size:clamp(1.35rem,3vw,1.75rem);line-height:1.2;margin-top:2.1em;}
.blog-body h3{font-size:clamp(1.1rem,2.4vw,1.3rem);line-height:1.25;margin-top:1.8em;}
.blog-body h2 + *,.blog-body h3 + *{margin-top:0.7em;}
.blog-body a{
  color:var(--mg-plum-dark);
  font-weight:500;
  text-decoration:underline;
  text-decoration-thickness:1.5px;
  text-underline-offset:3px;
}
.blog-body a:hover,.blog-body a:focus-visible{color:var(--mg-plum-darker);}
.blog-body strong{font-weight:600;}
.blog-body ul,.blog-body ol{padding-left:1.4em;}
.blog-body li + li{margin-top:0.45em;}
.blog-body li::marker{color:var(--mg-plum-dark);}
.blog-body blockquote{
  margin-left:0;
  margin-right:0;
  padding:16px 22px;
  background:var(--mg-white);
  border:1px solid var(--mg-line);
  border-left:4px solid var(--mg-gold);
  border-radius:0 16px 16px 0;
  font-family:var(--font-accent);
  font-style:italic;
  font-size:1.12rem;
  line-height:1.6;
}
.blog-body blockquote > * + *{margin-top:0.6em;}
.blog-table-wrap{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  background:var(--mg-white);
  border:1px solid var(--mg-line);
  border-radius:16px;
}
.blog-table-wrap:focus-visible{outline:3px solid var(--mg-plum-dark);outline-offset:2px;}
.blog-body table{width:100%;border-collapse:collapse;font-size:0.95rem;line-height:1.5;}
.blog-body th,.blog-body td{padding:11px 14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--mg-line);}
.blog-body th{font-family:var(--font-head);font-weight:700;font-size:0.85rem;background:var(--mg-lilac);white-space:nowrap;}
.blog-body tr:last-child td{border-bottom:none;}
/* Phones: no sideways scrolling. Each row becomes its own card and every cell shows its column header above it
   (data-label is added at build time by marie-glow-studio-blog/scripts/lib/render.mjs). */
@media (max-width:640px){
  .blog-table-wrap{overflow:visible;background:none;border:none;border-radius:0;}
  .blog-body table,.blog-body tbody,.blog-body tr,.blog-body td,.blog-body th{display:block;width:100%;}
  .blog-body thead,.blog-body tr.bt-head{display:none;}
  .blog-body tr{background:var(--mg-white);border:1px solid var(--mg-line);border-radius:14px;padding:6px 0;margin-bottom:12px;}
  .blog-body tr:last-child{margin-bottom:0;}
  .blog-body td,.blog-body tr:not(.bt-head) th{border-bottom:none;padding:8px 16px;background:none;white-space:normal;font-family:inherit;font-size:0.95rem;font-weight:400;}
  .blog-body td:first-child,.blog-body tr:not(.bt-head) th:first-child{font-weight:600;color:var(--mg-ink);}
  .blog-body td[data-label]::before,.blog-body th[data-label]::before{
    content:attr(data-label);display:block;margin-bottom:2px;
    font-family:var(--font-mono, 'IBM Plex Mono', monospace);font-size:0.7rem;font-weight:500;letter-spacing:0.08em;text-transform:uppercase;color:var(--mg-ink-soft);
  }
}

/* ---------- FAQ ---------- */
.blog-faq{margin-top:clamp(34px,5vw,52px);}
.blog-faq h2{font-size:clamp(1.35rem,3vw,1.75rem);}
.blog-faq-list{
  margin-top:16px;
  background:var(--mg-white);
  border:1px solid var(--mg-line);
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 20px 44px -26px var(--mg-shadow);
}
.blog-faq-item{border-bottom:1px solid var(--mg-line);border-left:4px solid var(--tab-color,var(--mg-plum));}
.blog-faq-item:last-child{border-bottom:none;}
.blog-faq-item:nth-child(4n+1){--tab-color:var(--mg-plum);}
.blog-faq-item:nth-child(4n+2){--tab-color:var(--mg-gold);}
.blog-faq-item:nth-child(4n+3){--tab-color:var(--mg-blush);}
.blog-faq-item:nth-child(4n+4){--tab-color:var(--mg-plum-dark);}
.blog-faq-item summary{
  cursor:pointer;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 20px;
  font-family:var(--font-head);
  font-weight:600;
  font-size:1rem;
  line-height:1.4;
  color:var(--mg-ink);
}
.blog-faq-item summary::-webkit-details-marker{display:none;}
.blog-faq-item summary:focus-visible{outline:3px solid var(--mg-plum-dark);outline-offset:-3px;}
.blog-faq-item .chevron{flex:none;transition:transform 0.25s ease;}
.blog-faq-item[open] .chevron{transform:rotate(135deg);}
.blog-faq-answer{padding:0 20px 18px;color:var(--mg-ink-soft);font-size:0.98rem;line-height:1.7;overflow-wrap:break-word;}
.blog-faq-answer > * + *{margin-top:0.8em;}
.blog-faq-answer a{color:var(--mg-plum-dark);}

/* ---------- offer CTA block ---------- */
.blog-cta{
  margin-top:clamp(36px,5vw,56px);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  padding:clamp(24px,4vw,34px);
  background:var(--mg-white);
  border:1px solid var(--mg-line);
  border-left:4px solid var(--mg-gold);
  border-radius:22px;
  box-shadow:0 20px 44px -26px var(--mg-shadow);
}
.blog-cta h2{font-size:clamp(1.25rem,2.8vw,1.6rem);}
.blog-cta p{color:var(--mg-ink-soft);max-width:56ch;}
.blog-cta .btn{margin-top:6px;white-space:normal;text-align:left;}
.blog-hub-link{margin:clamp(24px,4vw,34px) 0 0;font-size:0.95rem;font-weight:600;}
.blog-hub-link a{color:var(--mg-plum-dark);text-decoration:none;}
.blog-hub-link a:hover,.blog-hub-link a:focus-visible{text-decoration:underline;}

/* ---------- related posts ("Keep reading") ---------- */
.blog-related{
  margin-top:clamp(40px,6vw,64px);
  padding:clamp(40px,6vw,64px) 0;
  background:var(--mg-lilac);
  border-top:1px solid var(--mg-line);
}
.blog-related h2{font-size:clamp(1.4rem,3vw,1.9rem);margin-bottom:24px;}

/* ---------- listing pages (index + categories) ---------- */
.blog-hero .blog-crumbs{margin-bottom:12px;}
.blog-list{padding:0 0 clamp(56px,8vw,84px);}
.blog-chips-wrap{margin:0 0 clamp(24px,4vw,34px);}
.blog-chips{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 10px;}
.blog-chip{text-decoration:none;max-width:100%;transition:border-color 0.2s ease,color 0.2s ease,background 0.2s ease;}
.blog-chip:hover,.blog-chip:focus-visible{border-color:var(--mg-plum);color:var(--mg-plum-dark);}
.blog-chip[aria-current="page"]{background:var(--mg-plum-dark);border-color:var(--mg-plum-dark);color:var(--mg-white);}
.blog-empty{text-align:center;color:var(--mg-ink-soft);padding:32px 0;}

.blog-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}
@media (max-width:959px){.blog-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:639px){.blog-grid{grid-template-columns:minmax(0,1fr);}}
.blog-card{
  display:flex;
  flex-direction:column;
  background:var(--mg-white);
  border:1px solid var(--mg-line);
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 20px 40px -26px var(--mg-shadow);
  transition:translate 0.2s ease,box-shadow 0.2s ease;
}
.blog-card:hover{translate:0 -4px;box-shadow:0 26px 46px -26px var(--mg-shadow);}
.blog-card-img{display:block;aspect-ratio:1600 / 1067;background:var(--mg-lilac);}
.blog-card-img img{width:100%;height:100%;object-fit:cover;}
.blog-card-body{display:flex;flex-direction:column;flex:1;gap:10px;padding:20px 22px 22px;}
.blog-card-hub{
  align-self:flex-start;
  font-family:var(--font-head);
  font-size:0.7rem;
  font-weight:600;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--mg-plum-dark);
  text-decoration:none;
}
.blog-card-hub:hover,.blog-card-hub:focus-visible{text-decoration:underline;}
.blog-card h2,.blog-card h3{font-size:1.1rem;line-height:1.28;overflow-wrap:break-word;}
.blog-card h2 a,.blog-card h3 a{color:inherit;text-decoration:none;}
.blog-card h2 a:hover,.blog-card h3 a:hover,.blog-card h2 a:focus-visible,.blog-card h3 a:focus-visible{color:var(--mg-plum-dark);}
.blog-card p{font-size:0.92rem;line-height:1.55;color:var(--mg-ink-soft);}
.blog-card-foot{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:6px 12px;
  margin-top:auto;
  padding-top:6px;
  font-size:0.82rem;
  color:var(--mg-ink-soft);
}
.blog-card-more{font-family:var(--font-head);font-weight:700;font-size:0.85rem;color:var(--mg-plum-dark);text-decoration:none;}
.blog-card-more:hover,.blog-card-more:focus-visible{text-decoration:underline;}

/* ---------- pager ---------- */
.blog-pager{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:14px 16px;
  margin-top:40px;
  padding-top:26px;
  border-top:1px solid var(--mg-line);
}
.blog-pager-side{flex:1 1 150px;}
.blog-pager-side:last-child{text-align:right;}
.blog-pager-pages{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 12px;font-size:0.92rem;color:var(--mg-ink-soft);}
.blog-pager-pages a{color:var(--mg-ink);text-underline-offset:4px;text-decoration-color:var(--mg-plum);}
.blog-pager-pages [aria-current]{font-weight:700;color:var(--mg-ink);}

/* =====================================================================
   MARIE GLOW STUDIO: signature components (homepage + shared)
   Direction: warm-paper editorial. Serif display headlines with an italic
   plum accent, IBM Plex Mono labels, hairline rules instead of shadows,
   10-14px corners, section changes made by background tone. Gold glow is
   used once, behind the hero image. References: Refero "warm cream
   editorial" styles, ui-skills better-ui / impeccable rules.
   ===================================================================== */
.ed-section{padding:clamp(72px,10vw,128px) 0;}
.ed-tint{background:var(--mg-lilac);}
.ed-label{
  display:block;font-family:var(--font-mono);font-weight:500;font-size:0.72rem;
  letter-spacing:0.14em;text-transform:uppercase;color:var(--mg-gold-deep);
}
.ed-link{
  display:inline-flex;align-items:center;gap:8px;margin-top:4px;
  font-family:var(--font-head);font-weight:600;font-size:0.95rem;color:var(--mg-ink);
  text-decoration:underline;text-decoration-color:rgba(94,53,150,0.35);
  text-underline-offset:5px;text-decoration-thickness:1.5px;
  transition-property:color, text-decoration-color;transition-duration:150ms;transition-timing-function:var(--ease-out);
}
.ed-link:hover{color:var(--mg-plum-dark);text-decoration-color:var(--mg-plum-dark);}
.ed-link span{transition:translate 150ms var(--ease-out);}
.ed-link:hover span{translate:3px 0;}

/* ---------- staggered first-load entrance (~100ms apart) ---------- */
html.js .stagger{opacity:0;translate:0 14px;animation:ed-rise 0.7s var(--ease-out) forwards;animation-delay:calc(var(--i,0) * 100ms);}
@keyframes ed-rise{to{opacity:1;translate:0 0;}}

/* ---------- hero ---------- */
.ed-hero{position:relative;padding:clamp(48px,7vw,96px) 0 clamp(56px,7vw,96px);overflow:hidden;}
.ed-hero-grid{display:grid;gap:clamp(40px,6vw,72px);align-items:center;}
@media (min-width:980px){.ed-hero-grid{grid-template-columns:1.05fr 0.95fr;}}
.ed-hero-copy{display:flex;flex-direction:column;gap:24px;align-items:flex-start;}
.ed-hero-copy h1{font-size:clamp(2.5rem,6.2vw,4.7rem);line-height:1.02;letter-spacing:-0.025em;max-width:13ch;}
.ed-lede{font-size:clamp(1.05rem,1.5vw,1.2rem);line-height:1.6;color:var(--mg-ink-soft);max-width:36rem;}
.ed-hero .hero-cta-row{justify-content:flex-start;}
.ed-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:12px 0 0;width:100%;max-width:36rem;border-top:1px solid var(--mg-line);}
.ed-facts div{padding:16px 16px 0 0;}
.ed-facts div + div{padding-left:16px;border-left:1px solid var(--mg-line);}
.ed-facts dt{font-family:var(--font-display);font-size:1.9rem;line-height:1;color:var(--mg-ink);font-variant-numeric:lining-nums tabular-nums;}
.ed-facts dd{margin:6px 0 0;font-size:0.8rem;line-height:1.4;color:var(--mg-ink-soft);}
.ed-hero-figure{position:relative;margin:0;}
.ed-hero-frame{border-radius:14px;overflow:hidden;background:var(--mg-lilac);outline:1px solid rgba(0,0,0,0.08);outline-offset:-1px;}
.ed-hero-frame img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;}
.ed-hero-figure figcaption{margin-top:12px;font-size:0.82rem;color:var(--mg-ink-soft);}
.ed-hero-figure figcaption span{font-family:var(--font-mono);font-size:0.7rem;letter-spacing:0.12em;text-transform:uppercase;color:var(--mg-gold-deep);margin-right:8px;}

/* ---------- name strip ---------- */
.ed-strip{border-top:1px solid var(--mg-line);border-bottom:1px solid var(--mg-line);}
.ed-strip-inner{display:flex;flex-wrap:wrap;align-items:center;gap:14px 36px;padding-top:22px;padding-bottom:22px;}
.ed-strip-label{font-family:var(--font-mono);font-size:0.7rem;letter-spacing:0.14em;text-transform:uppercase;color:var(--mg-ink-soft);}
.ed-strip-list{display:flex;flex-wrap:wrap;gap:10px 32px;list-style:none;margin:0;padding:0;}
.ed-strip-list li{font-family:var(--font-display);font-style:italic;font-size:1.15rem;color:#8A7F99;}

/* ---------- two-column: sticky heading + content ---------- */
.ed-two-col{display:grid;gap:40px;}
@media (min-width:960px){
  .ed-two-col{grid-template-columns:0.85fr 1.15fr;gap:72px;align-items:start;}
  .ed-col-head{position:sticky;top:110px;}
  /* anything after the heading and the content column runs full width underneath, so the sticky heading can't slide over it */
  .ed-two-col > :nth-child(n+3){grid-column:1 / -1;}
  /* a sticky child can travel the whole grid, so when there is a row underneath the heading stays put instead of sliding over it on scroll */
  .ed-two-col:has(> :nth-child(3)) > .ed-col-head{position:static;}
}
.ed-col-head{display:flex;flex-direction:column;gap:18px;align-items:flex-start;}
.ed-col-head h2,.ed-head-left h2{font-size:clamp(2rem,4.2vw,3.1rem);}
.ed-col-head p,.ed-head-left p{color:var(--mg-ink-soft);font-size:1.05rem;max-width:34rem;}
.ed-rows{list-style:none;margin:0;padding:0;border-top:1px solid rgba(52,40,70,0.16);}
.ed-rows li{display:grid;grid-template-columns:56px 1fr;gap:12px;padding:28px 0;border-bottom:1px solid rgba(52,40,70,0.16);}
.ed-rows h3{font-family:var(--font-display);font-weight:500;font-size:1.55rem;margin-bottom:8px;}
.ed-rows p{color:var(--mg-ink-soft);max-width:36rem;}
.ed-num{font-family:var(--font-mono);font-size:0.8rem;color:var(--mg-gold-deep);padding-top:8px;}
@media (max-width:600px){.ed-rows li{grid-template-columns:34px 1fr;gap:8px;}}

/* ---------- left-aligned section head ---------- */
.ed-head-left{display:flex;flex-direction:column;gap:18px;max-width:46rem;margin-bottom:clamp(40px,6vw,64px);}
.ed-head-row{max-width:none;flex-direction:row;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:20px 40px;}
.ed-head-row > div{display:flex;flex-direction:column;gap:14px;max-width:44rem;}

/* ---------- alternating image features ---------- */
.ed-feature{display:grid;gap:28px;align-items:center;padding:clamp(28px,4vw,44px) 0;border-top:1px solid rgba(52,40,70,0.14);}
@media (min-width:880px){
  .ed-feature{grid-template-columns:1.1fr 0.9fr;gap:64px;}
  .ed-feature-flip .ed-feature-media{order:2;}
}
.ed-feature-media{margin:0;border-radius:14px;overflow:hidden;outline:1px solid rgba(0,0,0,0.08);outline-offset:-1px;background:var(--mg-white);}
.ed-feature-media img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;transition:scale 0.6s var(--ease-out);}
.ed-feature:hover .ed-feature-media img{scale:1.025;}
.ed-feature-body{display:flex;flex-direction:column;gap:14px;align-items:flex-start;}
.ed-feature-body h3{font-family:var(--font-display);font-weight:500;font-size:clamp(1.7rem,3vw,2.3rem);letter-spacing:-0.015em;}
.ed-feature-body p{color:var(--mg-ink-soft);}
.ed-includes{font-size:0.9rem;color:var(--mg-ink) !important;padding:10px 0;border-top:1px dashed rgba(52,40,70,0.2);border-bottom:1px dashed rgba(52,40,70,0.2);width:100%;font-variant-numeric:tabular-nums;}

/* ---------- product vs service journeys ---------- */
.journey-compare{display:grid;gap:20px;margin-top:36px;grid-template-columns:1fr;}
@media (min-width:860px){.journey-compare{grid-template-columns:1fr 1fr;gap:28px;}}
@media (min-width:1000px){.journey-compare-3{grid-template-columns:repeat(3,minmax(0,1fr));}}
.journey-compare-flush{margin-top:0;}
.journey-card{
  display:flex;flex-direction:column;gap:16px;align-items:flex-start;
  padding:32px 30px;border-radius:14px;background:var(--mg-white);border:1px solid var(--mg-line);
}
.journey-card h3{font-family:var(--font-display);font-weight:500;font-size:1.6rem;}
.journey-steps{list-style:none;counter-reset:step;margin:0;padding:0;display:flex;flex-direction:column;width:100%;}
.journey-steps li{counter-increment:step;position:relative;padding:11px 0 11px 44px;border-bottom:1px solid var(--mg-line);}
.journey-steps li:last-child{border-bottom:none;}
.journey-steps li::before{
  content:counter(step, decimal-leading-zero);position:absolute;left:0;top:13px;
  font-family:var(--font-mono);font-size:0.75rem;color:var(--mg-gold-deep);
}
.journey-fit{color:var(--mg-ink-soft);font-size:0.92rem;}

/* ---------- portfolio heading on the marquee ---------- */
.proof-section .ed-head-row{margin-bottom:36px;}

/* ---------- price list ---------- */
.price-list{list-style:none;margin:0;padding:0;border-top:1px solid rgba(52,40,70,0.16);}
.price-list li{border-bottom:1px solid rgba(52,40,70,0.16);}
.price-list a{
  display:grid;grid-template-columns:auto 1fr auto;column-gap:12px;row-gap:4px;align-items:baseline;
  padding:20px 4px;text-decoration:none;color:var(--mg-ink);
  transition-property:background-color;transition-duration:150ms;transition-timing-function:var(--ease-out);
}
.price-list a:hover{background:rgba(122,75,181,0.05);}
.price-name{font-family:var(--font-display);font-size:1.3rem;}
.price-dots{border-bottom:1.5px dotted rgba(52,40,70,0.3);translate:0 -5px;}
.price-amt{font-family:var(--font-mono);font-weight:500;font-size:1rem;color:var(--mg-plum-dark);font-variant-numeric:tabular-nums;}
.price-desc{grid-column:1 / -1;font-size:0.92rem;color:var(--mg-ink-soft);max-width:40rem;}

/* ---------- founder ---------- */
.ed-founder{display:grid;gap:40px;align-items:center;}
@media (min-width:900px){.ed-founder{grid-template-columns:0.8fr 1.2fr;gap:72px;}}
.ed-founder-photo{margin:0;border-radius:14px;overflow:hidden;outline:1px solid rgba(0,0,0,0.08);outline-offset:-1px;max-width:460px;}
.ed-founder-photo img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;}
/* a website screenshot in the founder slot shows whole at its own shape, never square-cropped */
.ed-founder-shot{max-width:560px;align-self:center;}
.ed-founder-shot img{aspect-ratio:auto;object-fit:contain;}
.ed-founder-body{display:flex;flex-direction:column;gap:18px;align-items:flex-start;}
.ed-founder-body h2{font-size:clamp(2.4rem,5vw,3.6rem);}
.ed-founder-body p{color:var(--mg-ink-soft);font-size:1.05rem;max-width:38rem;}
.ed-founder-body p a{color:var(--mg-plum-dark);font-weight:600;}

/* ---------- testimonials ---------- */
.ed-quote-lead{margin:22px 0 clamp(40px,6vw,64px);max-width:62rem;}
.ed-quote-lead blockquote{margin:0;font-family:var(--font-display);font-size:clamp(1.35rem,2.5vw,1.95rem);line-height:1.4;color:var(--mg-ink);text-wrap:pretty;}
.ed-quote-lead figcaption,.ed-quote-pair figcaption{margin-top:18px;font-family:var(--font-mono);font-size:0.74rem;letter-spacing:0.12em;text-transform:uppercase;color:var(--mg-ink-soft);}
.ed-quote-lead figcaption span,.ed-quote-pair figcaption span{color:var(--mg-plum-dark);}
.ed-quote-pair{display:grid;gap:28px;border-top:1px solid rgba(52,40,70,0.16);padding-top:clamp(28px,4vw,40px);}
@media (min-width:860px){.ed-quote-pair{grid-template-columns:1.4fr 1fr;gap:56px;}}
.ed-quote-pair figure{margin:0;}
.ed-quote-pair blockquote{margin:0;font-size:1rem;line-height:1.65;color:var(--mg-ink-soft);}

/* ---------- FAQ inside the two-column layout ---------- */
.ed-two-col .faq-list{max-width:none;margin:0;box-shadow:none;border:1px solid var(--mg-line);border-radius:14px;}
.ed-two-col .faq-item{border-left:none;}
.faq.ed-tint{padding:clamp(72px,10vw,128px) 0;}

/* ---------- closing band ---------- */
.final-cta.has-bg-photo .eyebrow{color:#F0D08A;}
.final-cta.has-bg-photo h2{font-size:clamp(2.1rem,5vw,3.5rem);margin:14px auto 0;max-width:18ch;}
.final-cta.has-bg-photo h2 em{color:#F0D08A;}
.final-cta.has-bg-photo .bg-scrim{background:linear-gradient(180deg, rgba(52,40,70,0.86), rgba(40,30,55,0.93));}
.final-cta.has-bg-photo .hero-promise{margin:18px auto 28px;max-width:38rem;}
.btn-light{background:#FFF8EA;color:var(--mg-ink);}
.btn-light:hover{background:#FFFFFF;}
.section-bg-photo.is-centered .bg-scrim{background:rgba(52,40,70,0.86);}
.section-bg-photo h2 em{color:#F0D08A;}

@media (prefers-reduced-motion: reduce){
  html.js .stagger{opacity:1;translate:none;animation:none;}
  .ed-feature:hover .ed-feature-media img{scale:1;}
}
/* ---------- hero with full-bleed background video ----------
   Desktop: the video fills the hero and an ivory wash fades in from the left so the headline sits on paper
   while Marie stays visible on the right. Phone: the video stays behind the copy,
   under a wash so the text stays readable. */
.ed-hero-video{padding:0;min-height:min(92vh,820px);display:flex;flex-direction:column;justify-content:center;}
.hero-video-wrap{position:relative;overflow:hidden;background:var(--mg-lilac);}
.hero-video{display:block;width:100%;height:100%;object-fit:cover;}
.ed-hero-video .wrap-wide{position:relative;z-index:1;width:100%;}
.ed-hero-video .ed-hero-copy{max-width:640px;}
.hero-video-toggle{
  position:absolute;z-index:2;right:clamp(16px,3vw,32px);bottom:clamp(16px,3vw,28px);
  width:44px;height:44px;border-radius:10px;border:1px solid rgba(52,40,70,0.2);
  background:rgba(245,229,252,0.85);color:var(--mg-ink);cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  transition-property:background-color, scale;transition-duration:150ms;transition-timing-function:var(--ease-out);
}
.hero-video-toggle:hover{background:#FFFFFF;}
.hero-video-toggle:active{scale:0.96;}
.hero-video-toggle:focus-visible{outline:3px solid var(--mg-plum);outline-offset:3px;}
.hero-video-toggle .icon-play{display:none;}
.hero-video-toggle.is-paused .icon-play{display:block;}
.hero-video-toggle.is-paused .icon-pause{display:none;}
@media (min-width:700px){
  /* The video covers only the right side of the hero, so Marie always sits to the right of the headline
     instead of behind it; its left edge fades into the ivory page. */
  .hero-video-wrap{position:absolute;top:0;bottom:0;right:0;left:36%;z-index:0;}
  .hero-video{object-position:12% 35%;}
  .hero-video-wrap::after{
    content:"";position:absolute;inset:0;pointer-events:none;
    background:linear-gradient(90deg, var(--mg-bg) 0%, rgba(245,229,252,0.75) 12%, rgba(245,229,252,0) 34%),
               linear-gradient(0deg, rgba(245,229,252,0.3), rgba(245,229,252,0) 25%);
  }
  .ed-hero-video .ed-hero-copy{padding:clamp(72px,9vw,120px) 0;}
}
@media (max-width:699px){
  /* Phones: the picture stays BEHIND the copy like on desktop, under a lavender wash strong enough for the text. */
  .ed-hero-video{min-height:min(88vh,720px);}
  .hero-video-wrap{position:absolute;inset:0;z-index:0;}
  .hero-video{object-position:38% 30%;} /* keeps Marie centered on a phone */
  .hero-video-wrap::after{
    content:"";position:absolute;inset:0;pointer-events:none;
    background:linear-gradient(180deg, rgba(245,229,252,0.72) 0%, rgba(245,229,252,0.88) 30%, rgba(245,229,252,0.92) 100%);
  }
  .ed-hero-video .ed-hero-copy{padding:56px 0 72px;}
}
@media (min-width:700px) and (max-width:979px){
  /* Tablets: same side-by-side layout as desktop, with a narrower text column so it never covers the picture. */
  .hero-video-wrap{left:46%;}
  .hero-video{object-position:40% 30%;}
  .ed-hero-video .ed-hero-copy{max-width:44vw;}
  .ed-hero-video h1{font-size:clamp(2.1rem,4.6vw,2.8rem);}
  .ed-hero-video .ed-facts{grid-template-columns:1fr;}
  .ed-hero-video .ed-facts div + div{padding-left:0;border-left:0;}
}
/* photo hero: the video hero layout with a still image, used on every inner page */
.ed-hero-photo{min-height:min(76vh,680px);}
.ed-hero-photo .hero-video{object-position:50% 50%;}
@media (min-width:700px){
  .ed-hero-photo .hero-video-wrap{left:47%;}
  .ed-hero-photo .ed-hero-copy{max-width:min(560px,43vw);}
  .ed-hero-photo h1{font-size:clamp(2.4rem,4.2vw,3.6rem);}
}
.ed-col-figure{margin-top:16px;width:100%;}
.ed-col-figure::before{display:none;}
/* ---------- review cards: every testimonial on the site ---------- */
.mg-reviews{display:grid;gap:20px;margin-top:24px;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));align-items:stretch;}
.mg-reviews.is-single{max-width:760px;}
.mg-review{margin:0;display:flex;flex-direction:column;gap:18px;padding:clamp(24px,3vw,32px);
  background:rgba(255,255,255,0.55);border:1px solid var(--mg-line);border-radius:14px;}
.mg-review-pull{margin:0;font-family:var(--font-display);font-size:clamp(1.2rem,1.9vw,1.45rem);line-height:1.4;color:var(--mg-ink);text-wrap:pretty;}
.mg-review-more summary{cursor:pointer;list-style:none;font-family:var(--font-mono);font-size:0.72rem;letter-spacing:0.12em;text-transform:uppercase;color:var(--mg-plum-dark);}
.mg-review-more summary::-webkit-details-marker{display:none;}
.mg-review-more summary::after{content:" +";}
.mg-review-more[open] summary::after{content:" 2";}
.mg-review-more blockquote{margin:14px 0 0;font-size:0.95rem;line-height:1.65;color:var(--mg-ink-soft);}
.mg-review figcaption{margin-top:auto;display:flex;align-items:center;gap:12px;padding-top:16px;border-top:1px solid var(--mg-line);}
.mg-review-avatar{flex:none;width:40px;height:40px;border-radius:50%;background:var(--mg-ink);color:var(--mg-bg);
  display:flex;align-items:center;justify-content:center;font-family:var(--font-head);font-weight:600;font-size:0.82rem;letter-spacing:0.04em;}
.mg-review-who{display:flex;flex-direction:column;gap:2px;line-height:1.3;}
.mg-review-who strong{font-family:var(--font-head);font-weight:600;font-size:0.92rem;color:var(--mg-ink);}
.mg-review-who span{font-family:var(--font-mono);font-size:0.7rem;letter-spacing:0.08em;text-transform:uppercase;color:var(--mg-ink-soft);}
/* ---------- end Marie Glow Studio signature components ---------- */

/* =====================================================================
   PORTFOLIO: Pinterest pin showcase (portfolio.html)
   Three labeled pin groups (Marie Gems, Marie Harvey, MothlightCo), each
   with a mono .ed-label, a one-line description and a responsive pin
   grid. Reuses --mg-* tokens and the .ed-label/.ed-head-left components
   above; no glow, haze or drop shadows, hairline border only.
   ===================================================================== */
.pin-showcase{display:flex;flex-direction:column;gap:clamp(40px,6vw,64px);}
.pin-group-head{display:flex;flex-direction:column;gap:8px;max-width:44rem;margin-bottom:20px;}
.pin-group-head p{color:var(--mg-ink-soft);font-size:0.98rem;}
.pin-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;
}
@media (min-width:640px){.pin-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media (min-width:980px){.pin-grid{grid-template-columns:repeat(6,minmax(0,1fr));}}
.pin-grid img{
  width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;
  border-radius:12px;border:1px solid var(--mg-line);
  display:block;
}
/* ===================================================================
   DESIGN EVOLUTION PAGE (/design-evolution) — old portfolio pieces shown
   as proof of growth, kept off the main portfolio page. Reuses --mg-*
   tokens, .ed-section/.ed-tint/.ed-label/.ed-head-left/.eyebrow; no
   existing component is restyled. Hairline borders + rounded corners,
   no box-shadow, no glow.
   ===================================================================== */
.de-grid{
  display:grid;grid-template-columns:1fr;gap:24px;
}
@media (min-width:640px){.de-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (min-width:980px){.de-grid{grid-template-columns:repeat(3,minmax(0,1fr));}.de-grid-4{grid-template-columns:repeat(4,minmax(0,1fr));}}
.de-card{
  margin:0;display:flex;flex-direction:column;gap:10px;
  background:var(--mg-white);border:1px solid var(--mg-line);border-radius:14px;
  padding:14px;
}
.de-card img{
  width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;object-position:top;
  border-radius:10px;display:block;background:var(--mg-lilac);
}
.de-card-tall img{aspect-ratio:5/7;}
/* Building brands: every card the same height; wide banners show whole on a white ground */
.de-brands .de-card img{aspect-ratio:5/7;}
.de-brands .de-card:not(.de-card-tall):not(.de-card-fill) img{object-fit:contain;object-position:center;background:#fff;}
/* "graveyard of designs past" note: a short centered aside before Era 1 */
.de-note-section{padding-bottom:0;}
.de-note{max-width:640px;margin:0 auto;text-align:center;padding:28px 0;border-top:1px solid var(--mg-line, rgba(52,40,70,.14));border-bottom:1px solid var(--mg-line, rgba(52,40,70,.14));}
.de-note h2{margin:10px 0 12px;font-size:clamp(1.7rem,3vw,2.3rem);}
.de-note p{margin:0 auto;}
/* logos show whole, never cropped */
.de-logos .de-card img{object-fit:contain;object-position:center;background:#fff;padding:14px;box-sizing:border-box;}
.de-card figcaption{font-size:0.9rem;color:var(--mg-ink-soft);padding:0 2px 2px;}
.de-then-now{display:grid;grid-template-columns:1fr;gap:24px;}
@media (min-width:800px){.de-then-now{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;}}
.de-then-now .de-card img{aspect-ratio:5/7;}
.de-then-now .de-card figcaption{display:flex;flex-direction:column;gap:4px;}
.de-then-now .de-card .ed-label{margin-bottom:2px;}
.de-teaser{max-width:44rem;margin:0 auto;text-align:center;font-size:1.05rem;}
.de-teaser .ed-link{margin-top:0;}

/* intake: one line under the form saying it is short on purpose */
.intake-note{grid-column:1 / -1;margin:4px 0 0;color:var(--mg-ink-soft);font-size:0.95rem;}

/* seo-pages:start (generated by marie-glow-studio-blog/scripts/build-seo-pages.mjs) */
/* Free tools */
.seo-tool{
  margin:0 0 clamp(28px,4vw,44px);
  padding:clamp(20px,4vw,32px);
  background:var(--mg-white);
  border:1px solid var(--mg-line);
  border-top:4px solid var(--mg-plum);
  border-radius:22px;
  box-shadow:0 20px 44px -26px var(--mg-shadow);
}
.tool-grid{display:grid;gap:16px;}
.tool-grid-3{grid-template-columns:repeat(3,minmax(0,1fr));}
@media (max-width:719px){.tool-grid-3{grid-template-columns:minmax(0,1fr);}}
.tool-field{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:0.92rem;}
.tool-field > span{display:flex;justify-content:space-between;gap:10px;align-items:baseline;}
.tool-field input,.tool-field textarea{
  width:100%;font:inherit;font-weight:400;color:var(--mg-ink);
  padding:12px 14px;background:var(--mg-bg);
  border:1px solid var(--mg-line);border-radius:12px;
}
.tool-field input:focus-visible,.tool-field textarea:focus-visible{outline:3px solid var(--mg-plum-dark);outline-offset:1px;background:var(--mg-white);}
.tool-count{font-weight:600;font-size:0.82rem;color:var(--mg-ink-soft);}
.tool-count.is-over{color:#B3261E;}
.tool-preview{margin-top:18px;padding:14px 16px;background:var(--mg-lilac);border-radius:14px;}
.tool-preview-label{display:block;font-size:0.78rem;font-weight:600;color:var(--mg-ink-soft);margin-bottom:6px;}
.tool-shown{font-family:var(--font-head);font-weight:700;color:var(--mg-ink);}
.tool-cut{font-family:var(--font-head);font-weight:600;color:var(--mg-ink-soft);opacity:0.55;}
.tool-placeholder{color:var(--mg-ink-soft);}
.tool-results{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:10px;}
.tool-check{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border-radius:14px;background:var(--mg-bg);font-size:0.94rem;line-height:1.5;}
.tool-check-icon{
  flex:none;width:24px;height:24px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  font-weight:800;font-size:0.8rem;color:var(--mg-white);background:var(--mg-ink-soft);
}
.tool-check.is-pass .tool-check-icon{background:#2E7D4F;}
.tool-check.is-warn .tool-check-icon{background:#B7791F;}
.tool-check.is-fail .tool-check-icon{background:#B3261E;}
.tool-note{margin:18px 0 0;font-size:0.85rem;color:var(--mg-ink-soft);line-height:1.6;}
.tool-out{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px;}
@media (max-width:559px){.tool-out{grid-template-columns:minmax(0,1fr);}}
.tool-stat{padding:16px 18px;background:var(--mg-lilac);border-radius:16px;display:flex;flex-direction:column;gap:2px;}
.tool-stat-label{font-size:0.78rem;font-weight:600;color:var(--mg-ink-soft);text-transform:uppercase;letter-spacing:0.04em;}
.tool-stat strong{font-family:var(--font-head);font-size:clamp(1.3rem,3.5vw,1.8rem);line-height:1.2;color:var(--mg-ink);}
.tool-verdict{margin:16px 0 0;font-size:1rem;line-height:1.6;}
.tool-group{margin:0 0 18px;padding:0;border:0;}
.tool-group legend{font-family:var(--font-head);font-weight:700;font-size:1rem;padding:0;margin-bottom:8px;}
.tool-check-row{display:flex;gap:12px;align-items:flex-start;padding:10px 12px;border-radius:12px;cursor:pointer;line-height:1.5;}
.tool-check-row:hover{background:var(--mg-bg);}
.tool-check-row input{flex:none;width:20px;height:20px;margin-top:2px;accent-color:var(--mg-plum-dark);}
.tool-scorebox{margin-top:8px;padding:18px;background:var(--mg-lilac);border-radius:18px;display:flex;flex-direction:column;align-items:flex-start;gap:10px;}
.tool-scorebox .tool-stat{background:var(--mg-white);}
.tool-scorebox .btn{white-space:normal;text-align:left;}

/* Card grid used by the hub pages and the Keep reading rows */
.seo-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
@media (max-width:959px){.seo-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:639px){.seo-card-grid{grid-template-columns:minmax(0,1fr);}}
.blog-body .seo-card-grid{margin-top:1.4em;}
.seo-card,.blog-body a.seo-card{
  display:flex;flex-direction:column;gap:8px;
  padding:20px 22px;text-decoration:none;color:var(--mg-ink);
  background:var(--mg-white);border:1px solid var(--mg-line);border-radius:20px;
  box-shadow:0 18px 40px -28px var(--mg-shadow);
  transition:translate 0.2s ease,box-shadow 0.2s ease;
}
.seo-card:hover,.seo-card:focus-visible{translate:0 -4px;box-shadow:0 26px 46px -26px var(--mg-shadow);}
.seo-card strong{font-family:var(--font-head);font-size:1.02rem;line-height:1.3;}
.seo-card > span:last-child{font-size:0.9rem;color:var(--mg-ink-soft);line-height:1.55;}
.seo-card-kind{font-size:0.72rem;font-weight:700;text-transform:uppercase;letter-spacing:0.06em;color:var(--mg-plum-dark);}

/* Footer resources row */
.footer-resources{margin-top:6px;}
/* seo-pages:end */
