/* vietnamese */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/font-94463b2e.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/font-4d00236a.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/font-bc4b1601.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/font-94463b2e.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/font-4d00236a.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/font-bc4b1601.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/font-94463b2e.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/font-4d00236a.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/font-bc4b1601.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/font-94463b2e.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/font-4d00236a.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/font-bc4b1601.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("assets/fonts/font-94463b2e.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("assets/fonts/font-4d00236a.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("assets/fonts/font-bc4b1601.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Big Shoulders Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/font-d36e0476.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Big Shoulders Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/font-89a692a3.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Big Shoulders Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/font-1799c085.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Big Shoulders Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/font-d36e0476.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Big Shoulders Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/font-89a692a3.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Big Shoulders Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/font-1799c085.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Big Shoulders Text';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/font-d36e0476.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Big Shoulders Text';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/font-89a692a3.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Big Shoulders Text';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/font-1799c085.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/font-bc1b05c2.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/font-d3cb670d.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/font-a94f41bc.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/font-85162a9e.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/font-804a4ca5.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/font-0aa7f17a.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/font-97788f2e.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/font-bc1b05c2.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/font-d3cb670d.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/font-a94f41bc.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/font-85162a9e.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/font-804a4ca5.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/font-0aa7f17a.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/font-97788f2e.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/font-bc1b05c2.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/font-d3cb670d.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/font-a94f41bc.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/font-85162a9e.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/font-804a4ca5.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/font-0aa7f17a.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/font-97788f2e.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/font-bc1b05c2.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/font-d3cb670d.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/font-a94f41bc.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/font-85162a9e.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/font-804a4ca5.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/font-0aa7f17a.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/font-97788f2e.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/font-bc1b05c2.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/font-d3cb670d.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/font-a94f41bc.woff2") format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/font-85162a9e.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/font-804a4ca5.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/font-0aa7f17a.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/font-97788f2e.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/font-ef69513d.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/font-4a325042.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/font-602a9b82.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/font-ef69513d.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/font-4a325042.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/font-602a9b82.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/font-ef69513d.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/font-4a325042.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/font-602a9b82.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/font-ef69513d.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/font-4a325042.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/font-602a9b82.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* Movement Cube · Instagram Carousel Template
   Brand:
     Blue  #016EAD
     Red   #E63946
     Navy  #0A1A2E (deep) / #0E2440 (mid)
   Type:
     Display: Big Shoulders Display (headline / wordmark)
     Body:    Inter
     Accent:  Space Grotesk (eyebrow / numerals)
*/

:root {
  --mc-blue: #016EAD;
  --mc-blue-2: #0A88CC;
  --mc-red: #E63946;
  --mc-red-2: #B7242F;
  --mc-navy-0: #060F1E;
  --mc-navy-1: #0A1A2E;
  --mc-navy-2: #0E2440;
  --mc-navy-3: #16345C;
  --mc-ink: #E9F0F7;
  --mc-ink-dim: rgba(233,240,247,.66);
  --mc-ink-faint: rgba(233,240,247,.4);
  --mc-paper: #F4F1EA;
  --mc-paper-2: #E8E2D4;
  --font-display: 'Big Shoulders Display', 'Big Shoulders Text', 'Impact', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-accent: 'Space Grotesk', 'Inter', sans-serif;

  /* Editor design tokens */
  --bg:               #0F1115;
  --surface-1:        #15181D;
  --surface-2:        #1B1F26;
  --surface-3:        #232830;
  --surface-hover:    #262C35;
  --surface-active:   #2A313B;
  --border-subtle:    rgba(255, 255, 255, 0.06);
  --border:           rgba(255, 255, 255, 0.10);
  --border-strong:    rgba(255, 255, 255, 0.18);
  --divider:          rgba(255, 255, 255, 0.05);
  --text:             #ECECEE;
  --text-secondary:   rgba(236, 236, 238, 0.62);
  --text-tertiary:    rgba(236, 236, 238, 0.38);
  --accent:           var(--mc-blue);
  --accent-soft:      rgba(1, 110, 173, 0.18);
  --danger:           var(--mc-red-2);
  --danger-soft:      rgba(183, 36, 47, 0.14);
  --shadow-sm:        0 1px 2px rgba(0, 0, 0, 0.30);
  --shadow-md:        0 6px 16px rgba(0, 0, 0, 0.32);
  --shadow-lg:        0 24px 60px rgba(0, 0, 0, 0.45), 0 8px 20px rgba(0, 0, 0, 0.32);
  --radius-sm:        6px;
  --radius:           10px;
  --radius-lg:        14px;
  --radius-xl:        18px;
  --focus-ring:       0 0 0 3px rgba(1, 110, 173, 0.35);
  --ease:             cubic-bezier(0.32, 0.72, 0, 1);
  --t-fast:           120ms;
  --t-med:            220ms;
  --t-slow:           360ms;
}

* { box-sizing: border-box; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #016EAD; outline-offset: 2px; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
::selection { background: var(--accent-soft); color: var(--text); }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }

/* ─── App shell ────────────────────────────────────────────── */
.app {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: var(--surface-1);
  border-right: 1px solid var(--divider);
  padding: 22px 18px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
}
.sidebar::-webkit-scrollbar { width: 8px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 4px; }
.sidebar::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.16); }

.brand-head { display: flex; flex-direction: column; gap: 2px; padding-bottom: 4px; }
.sidebar h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.01em;
  text-transform: none;
  margin: 0;
  color: var(--text);
}
.sidebar .sub {
  font-size: 11.5px;
  color: var(--text-tertiary);
  margin: 0;
}

.section {
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--t-fast) var(--ease);
}
.section:focus-within { border-color: var(--border); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: -2px 0 -4px; }
.section-head .title { font-size: 11.5px; font-weight: 600; color: var(--text); }
.section-head .meta  { font-size: 11px; color: var(--text-tertiary); font-variant-numeric: tabular-nums; }
.divider { height: 1px; background: var(--divider); margin: 4px -2px; }

.section-title {
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0; text-transform: none;
  color: var(--text);
  margin: 0 0 4px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field-label {
  font-size: 11px;
  color: var(--text-secondary); font-weight: 500;
}
.field input[type="text"],
.field input[type="number"],
.field textarea,
.field select {
  background: var(--surface-3);
  color: var(--text);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 9px 11px;
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
  resize: vertical;
  transition: border-color var(--t-fast) var(--ease),
              background-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}
.field textarea { min-height: 64px; line-height: 1.45; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--border); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent);
  background: var(--surface-2);
  box-shadow: var(--focus-ring);
}
.field input[type="file"] { font-size: 11px; color: var(--text-secondary); }
.field-hint { font-size: 10.5px; color: var(--text-tertiary); line-height: 1.5; }

.btn {
  appearance: none;
  border: 1px solid var(--border-subtle);
  background: var(--surface-3);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 32px;
}
.btn:hover { background: var(--surface-hover); border-color: var(--border); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.42; cursor: not-allowed; }
.btn.primary { background: var(--mc-blue); border-color: var(--mc-blue); color: #fff; font-weight: 600; }
.btn.primary:hover { background: var(--mc-blue-2); border-color: var(--mc-blue-2); }
.btn.danger {
  background: transparent;
  border-color: rgba(217, 51, 58, 0.34);
  color: var(--danger);
}
.btn.danger:hover { background: var(--danger-soft); border-color: var(--mc-red-2); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text-secondary); }
.btn.ghost:hover { background: var(--surface-hover); color: var(--text); }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-row .btn { flex: 1; min-width: 0; }

.icon-btn {
  appearance: none;
  border: 1px solid var(--border-subtle);
  background: var(--surface-2);
  color: var(--text-secondary);
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}
.icon-btn:hover { background: var(--surface-hover); color: var(--text); border-color: var(--border); }
.icon-btn:disabled { opacity: 0.34; cursor: not-allowed; }
.icon-btn svg { width: 16px; height: 16px; }

.toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 4px 0;
}
.toggle-row .toggle-label { font-size: 12.5px; color: var(--text); user-select: none; cursor: pointer; }
.toggle-row .toggle-sub { font-size: 10.5px; color: var(--text-tertiary); margin-top: 2px; }
.toggle {
  appearance: none;
  position: relative; flex-shrink: 0;
  width: 36px; height: 21px;
  border-radius: 999px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.toggle::after {
  content: '';
  position: absolute; top: 2px; left: 2px;
  width: 15px; height: 15px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease);
}
.toggle:checked { background: var(--mc-blue); border-color: var(--mc-blue); }
.toggle:checked::after { transform: translateX(15px); }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--surface-2); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); padding: 3px; }
.seg button { appearance: none; background: transparent; border: 0; color: var(--text-secondary); padding: 7px 8px; font-size: 11.5px; font-weight: 500; border-radius: 4px; cursor: pointer; }
.seg button:hover { color: var(--text); background: var(--surface-hover); }
.seg button.active { background: var(--mc-blue); color: #fff; }

.tpl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tpl-card {
  appearance: none;
  border: 1px solid var(--border-subtle);
  background: var(--surface-3);
  color: var(--text);
  border-radius: var(--radius);
  padding: 10px 10px 9px;
  display: flex; flex-direction: column; gap: 8px;
  cursor: pointer;
  text-align: left;
  transition: background-color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
}
.tpl-card:hover { background: var(--surface-hover); border-color: var(--border); transform: translateY(-1px); }
.tpl-card.active { background: var(--surface-active); border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.tpl-card .glyph {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  display: grid; place-items: center;
  color: var(--text-secondary);
  font-size: 14px;
  font-family: var(--font-accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  position: relative;
  overflow: hidden;
}
.tpl-card.active .glyph { color: var(--text); border-color: var(--border); }
.tpl-card .name { font-size: 11.5px; font-weight: 500; color: var(--text); }

.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.swatch-cell { display: flex; flex-direction: column; gap: 5px; align-items: center; cursor: pointer; }
.swatch {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  box-shadow: 0 1px 2px rgba(0,0,0,0.3), inset 0 0 0 1px var(--border-subtle);
}
.swatch:hover { transform: translateY(-1px); }
.swatch-cell.active .swatch { border-color: #fff; box-shadow: 0 0 0 1px var(--accent), 0 1px 2px rgba(0,0,0,0.3); }
.swatch-cell .swatch-label { font-size: 10px; color: var(--text-tertiary); }
.swatch-cell.active .swatch-label { color: var(--text); }
.swatch-cell.active .swatch::before { content: ''; position: absolute; inset: 0; border-radius: var(--radius-sm); background: rgba(0,0,0,0.32); }
.swatch-cell.active .swatch::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / 14px 14px; }

/* ─── Post manager (saved posts dropdown) ───────────────────────────────
   Lives at the very top of the sidebar. The button shows the current post
   name and a chevron; clicking opens a card with New post / Import /
   Save / Save as plus a list of saved posts. */
.post-bar { position: relative; display: flex; flex-direction: column; gap: 8px; }
.post-bar-toggle {
  appearance: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--text);
  padding: 10px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  font: inherit;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.post-bar-toggle:hover { background: var(--surface-hover); border-color: var(--border); }
.post-bar-toggle .post-bar-text {
  display: flex; flex-direction: column; gap: 1px;
  min-width: 0; flex: 1;
}
.post-bar-toggle .post-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.post-bar-toggle .post-meta {
  font-size: 10.5px; color: var(--text-tertiary);
}
.post-bar-toggle svg { width: 14px; height: 14px; color: var(--text-tertiary); flex-shrink: 0; }
.post-menu {
  position: absolute;
  top: calc(100% + 6px); left: 0; right: 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 6px;
  z-index: 30;
  animation: pop-in var(--t-fast) var(--ease);
  max-height: 60vh;
  overflow-y: auto;
}
.post-menu-item {
  appearance: none;
  display: flex; align-items: center; gap: 8px;
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--text);
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-size: 12.5px;
  transition: background-color var(--t-fast) var(--ease);
}
.post-menu-item:hover { background: var(--surface-hover); }
.post-menu-item .leading { width: 16px; flex-shrink: 0; color: var(--text-tertiary); }
.post-menu-item.is-current .leading { color: var(--accent); }
.post-menu-item .post-row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.post-menu-item .post-row-name { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-menu-item .post-row-date { font-size: 10.5px; color: var(--text-tertiary); }
.post-menu-item .post-row-del {
  width: 22px; height: 22px;
  border-radius: 999px;
  background: transparent; border: 0; color: var(--text-tertiary);
  cursor: pointer; opacity: 0; flex-shrink: 0;
  transition: opacity var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.post-menu-item:hover .post-row-del { opacity: 1; }
.post-menu-item .post-row-del:hover { background: var(--danger-soft); color: var(--danger); }
.post-menu-divider { height: 1px; background: var(--divider); margin: 4px 6px; }
.post-menu-section-label {
  font-size: 10.5px;
  color: var(--text-tertiary);
  padding: 8px 10px 4px;
  letter-spacing: 0;
}
.post-menu-empty {
  padding: 10px 10px;
  font-size: 11.5px; color: var(--text-tertiary);
}

/* ─── Modal (used by Import) ────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: grid; place-items: center;
  padding: 24px;
  animation: fade-in var(--t-med) var(--ease);
}
.modal {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px 20px;
  width: min(560px, 100%);
  box-shadow: var(--shadow-lg);
  animation: pop-in var(--t-med) var(--ease);
  display: flex; flex-direction: column; gap: 14px;
}
.modal h3 { margin: 0; font-size: 16px; font-weight: 600; }
.modal .modal-sub { color: var(--text-secondary); font-size: 12.5px; line-height: 1.5; margin: -8px 0 0; }
.modal textarea {
  background: var(--surface-3);
  color: var(--text);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  outline: none;
  resize: vertical;
  min-height: 200px;
  transition: border-color var(--t-fast) var(--ease);
}
.modal textarea:focus { border-color: var(--accent); box-shadow: var(--focus-ring); }

.dropzone {
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease),
              background-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
}
.dropzone:hover, .dropzone.is-over {
  border-color: var(--accent);
  background: rgba(10, 136, 204, 0.06);
  color: var(--text);
}
.dropzone .dz-title { font-weight: 600; color: var(--text); margin-bottom: 4px; font-size: 13px; }
.dropzone .dz-sub   { font-size: 11px; color: var(--text-tertiary); }
.dropzone .dz-file  { font-size: 12px; color: var(--accent); margin-top: 6px; }

/* Input prompt (used by Save as) */
.prompt-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 110; display: grid; place-items: center; padding: 24px; animation: fade-in var(--t-fast) var(--ease); }
.prompt-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; width: min(420px, 100%); box-shadow: var(--shadow-lg); animation: pop-in var(--t-fast) var(--ease); display: flex; flex-direction: column; gap: 12px; }
.prompt-card h3 { margin: 0; font-size: 15px; font-weight: 600; }
.prompt-card input { background: var(--surface-3); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; font-family: var(--font-body); font-size: 13px; outline: none; }
.prompt-card input:focus { border-color: var(--accent); box-shadow: var(--focus-ring); }

/* ─── Main canvas ──────────────────────────────────────────── */
.main {
  display: flex; flex-direction: column; align-items: center;
  padding: 28px 28px 36px; gap: 20px; min-width: 0;
}

.toolbar { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 720px; }
.toolbar .group {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px;
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
}
.toolbar .group .icon-btn { border: 0; background: transparent; }
.toolbar .group .icon-btn:hover { background: var(--surface-hover); }
.toolbar .spacer { flex: 1; }
.toolbar .pageinfo {
  font-family: var(--font-accent);
  font-size: 13px;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  padding: 0 8px;
}
.toolbar .pageinfo b { color: var(--text); font-weight: 600; }
.toolbar .hint { font-size: 11px; color: var(--text-tertiary); display: inline-flex; align-items: center; gap: 6px; }

kbd {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  padding: 1px 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 4px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.stage {
  position: relative;
  width: min(540px, calc(100vh - 240px));
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: box-shadow var(--t-med) var(--ease);
}
.stage:hover { box-shadow: 0 32px 90px rgba(0,0,0,0.6), 0 10px 24px rgba(0,0,0,0.45); }

.slide-1080 {
  position: absolute; top: 0; left: 0;
  width: 1080px; height: 1350px; transform-origin: top left;
}

/* Inline-edit affordances */
.stage [data-editable="true"] {
  position: relative;
  cursor: text;
  border-radius: 4px;
  outline: none;
  transition: box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.stage [data-editable="true"]:empty::before { content: attr(data-placeholder); color: rgba(255, 255, 255, 0.28); pointer-events: none; }
.stage [data-editable="true"]:hover:not(:focus) { box-shadow: 0 0 0 1px rgba(10, 136, 204, 0.55), 0 0 0 6px rgba(10, 136, 204, 0.10); }
.stage [data-editable="true"]:focus { box-shadow: 0 0 0 2px rgba(10, 136, 204, 0.85), 0 0 0 7px rgba(10, 136, 204, 0.18); }
.exporting [data-editable="true"]:hover, .exporting [data-editable="true"]:focus, .exporting [data-editable="true"] { box-shadow: none !important; cursor: default !important; }

.nav-btn {
  appearance: none;
  border: 1px solid var(--border-subtle);
  background: var(--surface-2);
  color: var(--text);
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.nav-btn:hover { background: var(--surface-hover); border-color: var(--border); }
.nav-btn:disabled { opacity: 0.34; cursor: default; }

/* ─── Slide strip — pointer-events drag-drop, neighbors shift ───────── */
.strip {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 720px;
  overflow-x: auto;
  padding: 8px 2px 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.10) transparent;
}
.strip::-webkit-scrollbar { height: 8px; }
.strip::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.10); border-radius: 4px; }
.strip.is-dragging { overflow-x: hidden; }

.thumb {
  position: relative;
  flex: 0 0 auto;
  width: 72px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: grab;
  border: 2px solid transparent;
  background: var(--mc-navy-1);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              opacity var(--t-fast) var(--ease);
  touch-action: none;
  user-select: none;
}
.thumb:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.thumb.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
  transform: translateY(-1px);
}
.thumb .thumb-inner { position: absolute; inset: 0; transform-origin: top left; pointer-events: none; }
.thumb .num {
  position: absolute; top: 4px; left: 6px;
  font-family: var(--font-accent);
  font-size: 10px;
  color: rgba(255,255,255,.72);
  font-weight: 600;
  z-index: 2;
  background: rgba(0,0,0,0.32);
  padding: 1px 5px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
}
.thumb .del {
  position: absolute; top: 4px; right: 4px;
  width: 20px; height: 20px;
  border-radius: 999px;
  background: rgba(0,0,0,0.62);
  color: #fff;
  border: 0;
  font-size: 12px;
  cursor: pointer;
  z-index: 3;
  display: none;
  align-items: center; justify-content: center;
  padding: 0; line-height: 1;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background-color var(--t-fast) var(--ease);
  touch-action: manipulation;
}
.thumb .del:hover { background: var(--mc-red); }
.thumb:hover .del { display: inline-flex; }

.thumb.is-dragging {
  cursor: grabbing; z-index: 5;
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
  transition: box-shadow var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.thumb.is-dragging .del { display: none !important; }
.thumb.is-shifting { transition: transform var(--t-med) var(--ease); pointer-events: none; }

.thumb.add-tile {
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1.5px dashed var(--border-strong);
  color: var(--text-tertiary);
  box-shadow: none;
  cursor: pointer;
  touch-action: manipulation;
}
.thumb.add-tile:hover { border-color: var(--accent); color: var(--accent); background: rgba(10, 136, 204, 0.08); transform: none; }
.thumb .add-plus { font-size: 22px; line-height: 1; font-weight: 300; }

/* Shortcut sheet */
.shortcut-sheet-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: grid; place-items: center;
  animation: fade-in var(--t-med) var(--ease);
}
.shortcut-sheet {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px 20px;
  width: min(440px, calc(100vw - 32px));
  box-shadow: var(--shadow-lg);
  animation: pop-in var(--t-med) var(--ease);
}
.shortcut-sheet h3 { margin: 0 0 14px; font-size: 15px; font-weight: 600; }
.shortcut-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--divider); font-size: 13px; }
.shortcut-row:last-of-type { border-bottom: 0; }
.shortcut-row .desc { color: var(--text-secondary); }
.shortcut-row .keys { display: inline-flex; gap: 4px; }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop-in { from { opacity: 0; transform: scale(0.96) translateY(4px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.status-pill .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--text-tertiary); }
.status-pill.busy .dot { background: var(--accent); animation: pulse 1.4s var(--ease) infinite; }
.status-pill.done .dot { background: #059669; }
.status-pill.error .dot { background: var(--danger); }
@keyframes pulse { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }

/* ─── Drawer / mobile responsive ────────────────────────────────────────
   Below 900 px the sidebar collapses into an off-canvas drawer revealed
   by the hamburger in the toolbar. Above 900 px the drawer button is
   hidden and the layout returns to two columns. */
.drawer-btn { display: none; }
.drawer-scrim {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 49;
  animation: fade-in var(--t-fast) var(--ease);
  display: none;
}

@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: min(360px, 88vw);
    height: 100vh;
    z-index: 50;
    transform: translateX(-100%);
    transition: transform var(--t-med) var(--ease);
    box-shadow: var(--shadow-lg);
    /* Don't grab swipes; the drawer scrim handles dismiss */
  }
  .app.drawer-open .sidebar { transform: translateX(0); }
  .app.drawer-open .drawer-scrim { display: block; }
  .drawer-btn { display: inline-flex; }

  .main { padding: 14px 14px 24px; gap: 14px; }
  .toolbar { gap: 6px; }
  .toolbar .group { padding: 3px; gap: 4px; }
  .toolbar .pageinfo { padding: 0 4px; font-size: 12px; }

  .stage {
    width: 100%;
    max-width: 540px;
  }
  .strip { gap: 8px; padding: 6px 2px 14px; }
  .thumb { width: 64px; }

  .modal { padding: 18px 18px 16px; border-radius: var(--radius); }
  .modal h3 { font-size: 15px; }
  .modal textarea { min-height: 160px; }

  .post-menu { max-height: 70vh; }
  .hint { display: none; }
}

@media (max-width: 480px) {
  .toolbar .pageinfo { display: none; }
  .stage { max-width: none; }
  .thumb { width: 56px; }
  .tpl-grid { grid-template-columns: 1fr 1fr; }
  /* Touch targets stay ≥ 36 px even on small screens */
  .icon-btn, .nav-btn { width: 40px; height: 40px; }
}

/* iOS safe area */
@supports (padding: max(0px)) {
  .sidebar { padding-left: max(18px, env(safe-area-inset-left)); }
  .main    { padding-left: max(14px, env(safe-area-inset-left));
             padding-right: max(14px, env(safe-area-inset-right));
             padding-bottom: max(24px, env(safe-area-inset-bottom)); }
}

/* ─── Slide canvas (1080x1350) ─────────────────────────────── */
.slide {
  position: absolute;
  inset: 0;
  width: 1080px;
  height: 1350px;
  overflow: hidden;
  font-family: var(--font-body);
  color: var(--mc-ink);
}

/* Background variants */
.bg-navy {
  background:
    radial-gradient(ellipse 1100px 800px at 10% 0%, rgba(1,110,173,.32), transparent 60%),
    radial-gradient(ellipse 900px 700px at 110% 100%, rgba(183,33,38,.16), transparent 55%),
    linear-gradient(180deg, #0B1E36 0%, #060F1E 100%);
}
.bg-blue {
  background:
    radial-gradient(ellipse 900px 700px at 100% 0%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(ellipse 800px 900px at 0% 100%, rgba(0,0,0,.35), transparent 55%),
    linear-gradient(160deg, #016EAD 0%, #014F7E 100%);
}
.bg-red {
  background:
    radial-gradient(ellipse 900px 700px at 100% 0%, rgba(255,255,255,.14), transparent 60%),
    radial-gradient(ellipse 800px 900px at 0% 100%, rgba(0,0,0,.45), transparent 55%),
    linear-gradient(160deg, #E63946 0%, #7A1418 100%);
}
.bg-paper {
  background:
    radial-gradient(ellipse 800px 900px at 0% 0%, rgba(1,110,173,.08), transparent 60%),
    radial-gradient(ellipse 800px 900px at 100% 100%, rgba(183,33,38,.06), transparent 55%),
    linear-gradient(180deg, #F4F1EA 0%, #E8E2D4 100%);
  color: #14213D;
}
.bg-paper .fg-dim { color: rgba(20,33,61,.66); }
.bg-paper .fg-faint { color: rgba(20,33,61,.4); }

/* Grain overlay */
.grain {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.bg-paper .grain { opacity: 0.35; mix-blend-mode: multiply; }

/* Geometric isometric MC line accent (subtle, in corners) */
.mc-iso {
  position: absolute;
  pointer-events: none;
  opacity: .55;
}
.mc-iso.tr { top: -160px; right: -180px; transform: rotate(8deg); opacity: calc(0.6 * var(--accent-opacity, 1)); }
.mc-iso.bl { bottom: -200px; left: -220px; transform: rotate(-12deg); opacity: calc(0.4 * var(--accent-opacity, 1)); }
.mc-iso svg { width: 100% !important; height: 100% !important; }

/* Safe zone — IG crops portrait posts to 1:1 (1080×1080) for feed thumbnails.
   Crop band: top 135px and bottom 135px get clipped from the 1080×1350 canvas.
   Keep all important content inside y: 135 → 1215. */
.safe-zone {
  position: absolute;
  left: 0; right: 0;
  top: 135px; bottom: 135px;
  border: 2px dashed rgba(255, 255, 255, .35);
  pointer-events: none;
  z-index: 100;
}
.safe-zone::before, .safe-zone::after {
  content: 'IG FEED THUMBNAIL CROP';
  position: absolute;
  left: 50%; transform: translateX(-50%);
  font-family: var(--font-accent);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, .6);
  background: rgba(0, 0, 0, .55);
  padding: 4px 10px;
  border-radius: 4px;
}
.safe-zone::before { top: -28px; }
.safe-zone::after { bottom: -28px; }
.bg-paper .safe-zone { border-color: rgba(20, 33, 61, .35); }
.bg-paper .safe-zone::before, .bg-paper .safe-zone::after {
  color: rgba(20, 33, 61, .8);
  background: rgba(255, 255, 255, .7);
}

/* Slide common chrome — pad to keep text inside the 1:1 safe zone.
   90px outer padding + extra ~75px top/bottom = content sits inside 165..1185, well within 135..1215. */
/* Bottom padding reserves room for the absolute footer (logo sits 165px up + 60px tall
   = 225px from the bottom), so bottom-aligned content never collides with the logo. */
.slide-pad { padding: 165px 100px 260px; height: 100%; display: flex; flex-direction: column; }
.eyebrow {
  font-family: var(--font-accent);
  font-size: calc(22px * var(--scale-eyebrow));
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mc-red-2);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: '';
  width: 36px; height: 4px;
  background: var(--mc-red);
  border-radius: 2px;
  display: inline-block;
}
.bg-red .eyebrow { color: #fff; }
.bg-red .eyebrow::before { background: rgba(255,255,255,.95); }
.bg-blue .eyebrow { color: #fff; }
.bg-blue .eyebrow::before { background: var(--mc-red); }
.bg-paper .eyebrow { color: var(--mc-red); }

.headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: calc(128px * var(--scale-title));
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0;
  color: inherit;
  text-wrap: balance;
}
.headline.smaller { font-size: calc(96px * var(--scale-title)); }
.headline.tiny    { font-size: calc(76px * var(--scale-title)); }

.body {
  font-family: var(--font-body);
  font-size: calc(30px * var(--scale-body));
  line-height: 1.4;
  color: var(--mc-ink-dim);
  font-weight: 400;
  text-wrap: pretty;
}
.bg-paper .body { color: rgba(20,33,61,.7); }

/* Footer chrome on every slide — inside safe zone */
.slide-footer {
  position: absolute;
  left: 100px; right: 100px; bottom: 165px;
  display: flex; align-items: center; gap: 16px;
  z-index: 10;
}
.footer-logo {
  display: flex; align-items: center; gap: 12px;
}
.footer-logo img {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.3));
}
.footer-handle {
  font-family: var(--font-accent);
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--mc-ink-dim);
  font-weight: 500;
}
.bg-paper .footer-handle { color: rgba(20,33,61,.6); }
.spacer-flex { flex: 1; }
.page-indicator {
  font-family: var(--font-accent);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--mc-ink-dim);
  display: flex; align-items: baseline; gap: 4px;
}
.page-indicator b { color: var(--mc-ink); font-weight: 700; }
.bg-paper .page-indicator b { color: #14213D; }
.bg-paper .page-indicator { color: rgba(20,33,61,.55); }

/* Swipe arrow */
.swipe-cue {
  position: absolute;
  right: 70px; bottom: 280px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 10;
}
.swipe-cue .label {
  font-family: var(--font-accent);
  font-size: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mc-ink-dim);
  font-weight: 600;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.swipe-cue .arrow {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: var(--mc-red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 14px rgba(183,33,38,.4);
  animation: swipe-pulse 1.6s ease-in-out infinite;
}
@keyframes swipe-pulse {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}
.bg-red .swipe-cue .arrow { background: #fff; color: var(--mc-red); box-shadow: 0 4px 14px rgba(0,0,0,.3); }

/* Editable text */
[data-editable] {
  outline: none;
  cursor: text;
}
[data-editable]:hover {
  background: rgba(255,255,255,.04);
  box-shadow: 0 0 0 2px rgba(1,110,173,.4);
  border-radius: 4px;
}
.bg-paper [data-editable]:hover { background: rgba(0,0,0,.04); box-shadow: 0 0 0 2px rgba(1,110,173,.4); }
[data-editable]:focus {
  background: rgba(1,110,173,.12);
  box-shadow: 0 0 0 2px var(--mc-blue-2);
  border-radius: 4px;
}

/* ─── Cover slide ──────────────────────────────────────────── */
.cover .topmark {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: auto;
}
.cover .topmark img { height: 130px; }
.cover .stack { margin-top: auto; display: flex; flex-direction: column; gap: 28px; }
.cover .headline { font-size: calc(148px * var(--scale-title)); }
.cover .headline.smaller { font-size: calc(116px * var(--scale-title)); }
.cover .headline em {
  font-style: normal;
  color: var(--mc-red-2);
  position: relative;
  display: inline-block;
}
.bg-red .cover .headline em { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.5); }
.bg-blue .cover .headline em { color: var(--mc-red-2); }

/* ─── Numbered point slide ────────────────────────────────── */
.numbered .num-big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: calc(420px * var(--scale-title));
  line-height: 0.78;
  color: rgba(255,255,255,.30);
  position: absolute;
  top: 140px; right: 70px;
  letter-spacing: -0.02em;
  z-index: 1;
}
.bg-red .numbered .num-big { color: rgba(255,255,255,.32); }
.bg-paper .numbered .num-big { color: rgba(20,33,61,.28); }
.numbered .content { position: relative; z-index: 1; margin-top: auto; display: flex; flex-direction: column; gap: 24px; }
.numbered .step-tag {
  font-family: var(--font-accent);
  font-size: calc(24px * var(--scale-eyebrow));
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mc-ink-dim);
  font-weight: 600;
}

/* ─── Quote slide ──────────────────────────────────────────── */
.quote .qmark {
  font-family: var(--font-display);
  font-size: calc(320px * var(--scale-title));
  line-height: 1;
  color: var(--mc-red-2);
  margin-top: 20px;
  margin-bottom: -40px;
}
.quote .qtext {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: calc(96px * var(--scale-title));
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
}
.quote .qatt {
  margin-top: 40px;
  display: flex; flex-direction: column; gap: 4px;
  border-left: 4px solid var(--mc-red);
  padding-left: 20px;
}
.quote .qatt .name {
  font-family: var(--font-accent);
  font-size: calc(28px * var(--scale-body));
  font-weight: 700;
  color: var(--mc-ink);
  letter-spacing: 0.02em;
}
.quote .qatt .role {
  font-family: var(--font-accent);
  font-size: calc(22px * var(--scale-body));
  color: var(--mc-ink-dim);
  letter-spacing: 0.04em;
}

/* ─── Stat slide ──────────────────────────────────────────── */
.stat .stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: calc(420px * var(--scale-title));
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--mc-ink);
  white-space: nowrap;
}
.stat .stat-num em {
  font-style: normal;
  color: var(--mc-red-2);
  font-size: 0.55em;
  vertical-align: 0.4em;
  letter-spacing: 0;
}
.stat .stat-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(64px * var(--scale-title));
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: -0.005em;
}
.stat .stat-context {
  font-family: var(--font-body);
  font-size: calc(26px * var(--scale-body));
  line-height: 1.4;
  color: var(--mc-ink-dim);
  margin-top: 12px;
  max-width: 720px;
}

/* ─── List slide ──────────────────────────────────────────── */
.list .li {
  display: flex;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  align-items: flex-start;
}
.list .li:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.bg-paper .list .li { border-color: rgba(20,33,61,.12); }
.list .li .li-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: calc(56px * var(--scale-title));
  line-height: 1;
  color: var(--mc-red-2);
  flex: 0 0 80px;
  letter-spacing: -0.01em;
}
.list .li .li-body { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.list .li .li-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(44px * var(--scale-title));
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: -0.005em;
}
.list .li .li-text {
  font-family: var(--font-body);
  font-size: calc(24px * var(--scale-body));
  line-height: 1.4;
  color: var(--mc-ink-dim);
}

/* ─── Compare (two-column) ────────────────────────────────── */
.compare .cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 30px;
  flex: 1;
  align-items: stretch;
}
.compare .col {
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.compare .col.bad {
  border-top: 4px solid var(--mc-red);
}
.compare .col.good {
  border-top: 4px solid var(--mc-blue-2);
}
.bg-paper .compare .col { background: rgba(20,33,61,.04); border-color: rgba(20,33,61,.08); }
.compare .col-tag {
  font-family: var(--font-accent);
  font-size: calc(22px * var(--scale-eyebrow));
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}
.compare .col.bad .col-tag { color: var(--mc-red-2); }
.compare .col.good .col-tag { color: var(--mc-blue-2); }
.compare .col-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(50px * var(--scale-title));
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: -0.005em;
}
.compare .col-text {
  font-family: var(--font-body);
  font-size: calc(22px * var(--scale-body));
  line-height: 1.45;
  color: var(--mc-ink-dim);
}

/* ─── Checklist ───────────────────────────────────────────── */
.checklist .check-li {
  display: flex;
  gap: 22px;
  padding: 22px 0;
  align-items: flex-start;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.bg-paper .checklist .check-li { border-color: rgba(20,33,61,.1); }
.checklist .check-li .box {
  flex: 0 0 56px;
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--mc-blue);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  margin-top: 4px;
}
.checklist .check-li .ctxt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: calc(42px * var(--scale-body));
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  flex: 1;
}

/* ─── Image + caption ─────────────────────────────────────── */
.imgcap .img-frame {
  border-radius: 18px;
  overflow: hidden;
  background: var(--mc-navy-2, #0E2440);
  margin-bottom: 32px;
  aspect-ratio: 16 / 10;
  position: relative;
  border: 1px solid rgba(255,255,255,.1);
}
.imgcap .img-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.imgcap .img-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 24px, transparent 24px 48px),
    linear-gradient(135deg, rgba(1,110,173,.4), rgba(183,33,38,.3));
  font-family: var(--font-accent);
  font-size: 22px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  font-weight: 600;
}
.imgcap .cap-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(76px * var(--scale-title));
  line-height: 1.02;
  text-transform: uppercase;
  margin: 0 0 16px;
  letter-spacing: -0.005em;
}
.imgcap .cap-body {
  font-family: var(--font-body);
  font-size: calc(26px * var(--scale-body));
  line-height: 1.4;
  color: var(--mc-ink-dim);
}

/* ─── CTA / closing ───────────────────────────────────────── */
.cta { text-align: left; }
.cta .cta-eyebrow { font-size: calc(26px * var(--scale-eyebrow)); }
.cta .headline { font-size: calc(132px * var(--scale-title)); }
.cta .cta-actions {
  margin-top: 40px;
  display: flex; flex-direction: column; gap: 22px;
}
.cta .cta-line {
  display: flex; align-items: center; gap: 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: calc(48px * var(--scale-body));
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.cta .cta-line .ico {
  width: 64px; height: 64px;
  border-radius: 14px;
  background: var(--mc-red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  flex: 0 0 64px;
}
.cta .cta-line.alt .ico { background: var(--mc-blue); }

/* ─── Photo bg variant ────────────────────────────────────── */
.bg-photo {
  background-size: cover;
  background-position: center;
  position: relative;
}
.bg-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,15,30,.55) 0%, rgba(6,15,30,.85) 100%);
  pointer-events: none;
}
.bg-photo > * { position: relative; z-index: 1; }



/* ─── Countdown slide ─────────────────────────────────────────────────── */
/* Big tabular numerals on a calm grid. Eyebrow + title sit on top, body
   on the bottom, the cells take the visual weight in the middle. */
.slide-pad.countdown {
  display: flex; flex-direction: column;
  padding: 90px 100px 80px;
}
.slide-pad.countdown .eyebrow { margin-bottom: 16px; }
.slide-pad.countdown .headline.tiny {
  font-size: calc(84px * var(--scale-title));
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 880px;
}
.cd-grid {
  display: grid;
  gap: 28px;
  margin: auto 0;
  padding: 36px 0;
  grid-template-columns: repeat(4, 1fr);
}
.cd-grid.cells-2 { grid-template-columns: repeat(2, 1fr); }
.cd-grid.cells-3 { grid-template-columns: repeat(3, 1fr); }
.cd-grid.cells-4 { grid-template-columns: repeat(4, 1fr); }
.cd-cell {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 28px 12px 22px;
  min-height: 260px;
}
.bg-paper .cd-cell { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.10); }
.cd-num {
  font-family: var(--font-display);
  font-size: calc(200px * var(--scale-title));
  font-weight: 800;
  line-height: 0.95;
  color: var(--mc-ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.bg-paper .cd-num { color: #14223D; }
.cd-grid.cells-2 .cd-num { font-size: 280px; }
.cd-grid.cells-3 .cd-num { font-size: 240px; }
.cd-lbl {
  font-family: var(--font-accent);
  font-size: calc(22px * var(--scale-body));
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mc-ink-dim);
  margin-top: 14px;
}
.bg-paper .cd-lbl { color: rgba(20,34,61,.6); }

/* Countdown preset chips (sidebar — Quick set row) */
.cd-presets {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.cd-preset {
  appearance: none;
  border: 1px solid var(--border-subtle);
  background: var(--surface-3);
  color: var(--text);
  border-radius: 999px;
  padding: 6px 12px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease);
  min-height: 28px;
}
.cd-preset:hover { background: var(--surface-hover); border-color: var(--border); transform: translateY(-1px); }
.cd-preset:active { transform: translateY(0); }

/* Countdown chip row — horizontal scroll so all 8 presets stay on one line.
   Wrap-mode previously hid the 12-week chip in a third row 600px below
   the sidebar fold.  Sidebar is narrow on mobile; horizontal scroll is the
   familiar iOS chip pattern. */
.cd-presets {
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  padding-bottom: 4px;
  margin: 0 -2px;
  padding-left: 2px; padding-right: 2px;
}
.cd-presets::-webkit-scrollbar { display: none; }
.cd-preset {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

/* Countdown cell sizing for 5 cells (W·D·H·M·S) — tighter cells, smaller
   numerals.  The 1080-wide canvas fits 5 cells with 24px gap if numerals
   stay around 130-150px instead of 200. */
.cd-grid.cells-5 { grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cd-grid.cells-5 .cd-num { font-size: 140px; }
.cd-grid.cells-5 .cd-cell { min-height: 200px; padding: 22px 6px 18px; border-radius: 22px; }
.cd-grid.cells-5 .cd-lbl { font-size: 17px; letter-spacing: 0.10em; margin-top: 10px; }

/* ─── Stacking order on every slide ────────────────────────────────────
   The slide is a layered composition: the Lottie line accent and grain
   sit BEHIND the text, the text content sits in the middle, and the
   footer chrome (logo, page indicator, swipe arrow) sits on top.

   Without these explicit z-indexes, .slide-pad (static-positioned) gets
   painted UNDER the absolutely-positioned Lottie, because positioned
   elements outrank static ones regardless of DOM order. */
.mc-iso        { z-index: 0; }
.grain         { z-index: 1; }
.slide-pad     { position: relative; z-index: 2; }
.slide-footer  { z-index: 3; }
.swipe-cue     { z-index: 4; }


/* ─── Rule-of-thirds composition grid (editor-only) ──────────────────── */
.composition-grid {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 99;
  background-image:
    linear-gradient(to right,
      transparent calc(33.333% - 1px),
      rgba(255, 255, 255, 0.18) calc(33.333% - 1px),
      rgba(255, 255, 255, 0.18) calc(33.333% + 1px),
      transparent calc(33.333% + 1px),
      transparent calc(66.666% - 1px),
      rgba(255, 255, 255, 0.18) calc(66.666% - 1px),
      rgba(255, 255, 255, 0.18) calc(66.666% + 1px),
      transparent calc(66.666% + 1px)),
    linear-gradient(to bottom,
      transparent calc(33.333% - 1px),
      rgba(255, 255, 255, 0.18) calc(33.333% - 1px),
      rgba(255, 255, 255, 0.18) calc(33.333% + 1px),
      transparent calc(33.333% + 1px),
      transparent calc(66.666% - 1px),
      rgba(255, 255, 255, 0.18) calc(66.666% - 1px),
      rgba(255, 255, 255, 0.18) calc(66.666% + 1px),
      transparent calc(66.666% + 1px));
}
.bg-paper .composition-grid {
  background-image:
    linear-gradient(to right,
      transparent calc(33.333% - 1px),
      rgba(20, 33, 61, 0.18) calc(33.333% - 1px),
      rgba(20, 33, 61, 0.18) calc(33.333% + 1px),
      transparent calc(33.333% + 1px),
      transparent calc(66.666% - 1px),
      rgba(20, 33, 61, 0.18) calc(66.666% - 1px),
      rgba(20, 33, 61, 0.18) calc(66.666% + 1px),
      transparent calc(66.666% + 1px)),
    linear-gradient(to bottom,
      transparent calc(33.333% - 1px),
      rgba(20, 33, 61, 0.18) calc(33.333% - 1px),
      rgba(20, 33, 61, 0.18) calc(33.333% + 1px),
      transparent calc(33.333% + 1px),
      transparent calc(66.666% - 1px),
      rgba(20, 33, 61, 0.18) calc(66.666% - 1px),
      rgba(20, 33, 61, 0.18) calc(66.666% + 1px),
      transparent calc(66.666% + 1px));
}

/* ─── Video background ───────────────────────────────────────────────────
   Mirrors .bg-photo's behavior: a dark overlay sits over the media so
   light text stays readable. The <video> sits at z-index -1 inside the
   slide's stacking context so the Lottie + grain + text + footer all
   render on top. The slide already establishes a stacking context via
   position:absolute. */
.bg-video {
  background: var(--mc-navy-0);
  position: relative;
}
.bg-video-el {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}
.bg-video::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,15,30,.45) 0%, rgba(6,15,30,.78) 100%);
  pointer-events: none;
  z-index: 0;
}

/* ─── Read-caption pointer ─────────────────────────────────────────────
   "MORE IN THE CAPTION ↓" — a stop-the-scroll slide that pulls the
   viewer's eye down to the IG caption underneath.

   Each element (eyebrow / headline / arrow / sub) is independently
   positioned with X/Y percentage coordinates from slide.rcLayout.
   Children are absolutely positioned so users can drag the sidebar
   sliders to put each element exactly where they want — including
   tucked into the bottom corner of a video background. The element
   centers on its (x,y) point via translate(-50%,-50%).

   The arrow bounces in the editor and freezes during export so the
   captured PNG/MP4 frame is consistent. Each text element can be
   hidden via slide.rcShow.{eyebrow,headline,arrow,sub}. */
.slide-pad.readcaption {
  position: relative;
  padding: 0;
  display: block;
}
.slide-pad.readcaption .rc-eyebrow,
.slide-pad.readcaption .rc-headline,
.slide-pad.readcaption .rc-arrow,
.slide-pad.readcaption .rc-sub {
  position: absolute;
  text-align: center;
  margin: 0;
  /* translate(-50%,-50%) is set inline so it composes with the arrow's bounce */
}
.slide-pad.readcaption .rc-eyebrow {
  width: max-content;
  max-width: 90%;
}
.slide-pad.readcaption .rc-headline {
  font-family: var(--font-display, 'Big Shoulders Display'), Impact, sans-serif;
  font-weight: 800;
  font-size: calc(140px * var(--scale-title, 1));
  line-height: 0.94;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: #fff;
  width: 880px;
  max-width: 92%;
  text-wrap: balance;
}
.bg-paper .slide-pad.readcaption .rc-headline { color: var(--mc-navy, #0B1E36); }
/* Outer .rc-arrow holds the absolute positioning + the centering transform.
   Inner .rc-arrow-glyph holds the visible glyph and the bounce animation
   (the bounce can't live on .rc-arrow itself because that element's
   transform is reserved for the (-50%,-50%) self-center). */
.slide-pad.readcaption .rc-arrow {
  line-height: 0;
}
.slide-pad.readcaption .rc-arrow-glyph {
  display: inline-block;
  font-family: var(--font-display, 'Big Shoulders Display'), Impact, sans-serif;
  font-weight: 900;
  font-size: 280px;
  line-height: 0.8;
  color: #fff;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.28));
  animation: rc-bounce 1.6s cubic-bezier(.5,.0,.5,1) infinite;
}
.bg-red    .slide-pad.readcaption .rc-arrow-glyph { color: #fff; }
.bg-paper  .slide-pad.readcaption .rc-arrow-glyph { color: var(--mc-red, #E63946); }
.bg-blue   .slide-pad.readcaption .rc-arrow-glyph { color: #fff; }
.slide-pad.readcaption .rc-sub {
  font-family: var(--font-accent, 'Inter'), sans-serif;
  font-weight: 600;
  font-size: calc(34px * var(--scale-body, 1));
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  width: 760px;
  max-width: 90%;
}
.bg-paper .slide-pad.readcaption .rc-sub { color: rgba(11,30,54,0.72); }

@keyframes rc-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(36px); }
}
/* Freeze the bounce during PNG/MP4 export so every captured frame matches. */
.exporting .slide-pad.readcaption .rc-arrow-glyph { animation: none; transform: translateY(18px); }

/* Sidebar editor styling for the per-element layout sliders. */
.rc-elt-row {
  background: var(--surface-3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 8px;
}
.rc-elt-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.rc-elt-name {
  font-family: var(--font-accent, 'Inter'), sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary, #fff);
  letter-spacing: 0.04em;
}
.rc-elt-sliders { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.rc-slider-row {
  display: grid;
  grid-template-columns: 18px 1fr 44px;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.rc-slider-lbl {
  font-family: var(--font-accent, 'Inter'), sans-serif;
  font-weight: 600;
  color: var(--text-secondary, #aaa);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.rc-slider-row input[type="range"] {
  width: 100%;
  margin: 0;
  accent-color: var(--mc-red, #E63946);
}
/* The percentage value is an editable number input — click to type a
   precise value. Spinner arrows hidden so it reads as plain text until
   focused. The "%" suffix is a sibling span so it doesn't have to live
   inside the input field. */
.rc-slider-val-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1px;
  background: transparent;
  border-radius: 4px;
  padding: 1px 2px;
  cursor: text;
  transition: background 120ms;
}
.rc-slider-val-wrap:hover { background: var(--surface-2, rgba(255,255,255,0.06)); }
.rc-slider-val-wrap:focus-within {
  background: var(--surface-2, rgba(255,255,255,0.10));
  outline: 1px solid var(--accent, #016EAD);
  outline-offset: 0;
}
.rc-slider-val-input {
  width: 26px;
  font-family: var(--font-mono, ui-monospace), monospace;
  font-size: 11px;
  color: var(--text-secondary, #aaa);
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  text-align: right;
  -moz-appearance: textfield;
}
.rc-slider-val-input:focus { color: var(--text-primary, #fff); outline: 0; }
.rc-slider-val-input::-webkit-outer-spin-button,
.rc-slider-val-input::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}
.rc-slider-val-pct {
  font-family: var(--font-mono, ui-monospace), monospace;
  font-size: 11px;
  color: var(--text-secondary, #aaa);
  pointer-events: none;
}
.rc-reset-btn { padding: 2px 10px; font-size: 11px; }

/* ===================================================================
   Move mode — drag any text element on the active slide.
   The Move toolbar button toggles a `.move-mode` class on the
   .slide-1080 wrapper. Inside, every editable element gets a dashed
   outline and a move cursor. Pointer drag captures handled in slides.js.
   =================================================================== */

/* Toolbar button active-state for the Move toggle */
.toolbar .icon-btn.is-active {
  background: var(--accent, #0a88cc);
  color: #fff;
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--accent, #0a88cc) 35%, transparent);
}

/* While in move mode: dashed outlines + move cursor on every editable.
   Disable text selection so dragging doesn't accidentally highlight text. */
.slide-1080.move-mode .slide [data-move-key] {
  outline: 1.5px dashed rgba(255,255,255,0.45);
  outline-offset: 4px;
  cursor: move;
  user-select: none;
  -webkit-user-select: none;
  caret-color: transparent;
  touch-action: none;
  transition: outline-color 0.15s ease, background 0.15s ease;
}
.slide-1080.move-mode .slide [data-move-key]:hover {
  outline-color: var(--accent, #0a88cc);
  outline-width: 2px;
  background: color-mix(in oklab, var(--accent, #0a88cc) 12%, transparent);
}
.slide-1080.move-mode .slide [data-move-key].mc-dragging {
  outline-color: var(--mc-blue-2, #0A88CC);
  outline-width: 2px;
  outline-style: solid;
  background: color-mix(in oklab, var(--mc-blue-2, #0A88CC) 20%, transparent);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

/* Subtle banner above the stage so the user knows why text editing is suspended. */
.stage:has(.slide-1080.move-mode) {
  position: relative;
}
.stage:has(.slide-1080.move-mode)::before {
  content: "MOVE MODE · drag any element · double-click to reset";
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent, #0a88cc);
  color: #fff;
  font: 600 10.5px/1 'Inter', system-ui, sans-serif;
  letter-spacing: 0.12em;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  pointer-events: none;
  z-index: 6;
}
@media (max-width: 560px) {
  .stage:has(.slide-1080.move-mode)::before {
    content: "MOVE MODE";
    font-size: 10px;
    letter-spacing: 0.14em;
    padding: 6px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
