/* ==========================================================================
   MakerModo Marketing Website — Tactile Craft Studio Stylesheet
   Plain CSS, zero external dependencies, bundled SIL OFL fonts (Fredoka & Nunito)
   ========================================================================== */

@font-face {
  font-family: "Fredoka";
  src: url("../fonts/fredoka-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-normal.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand Palette */
  --purple-950: #170d2b;
  --purple-900: #22133d;
  --purple-800: #2e1b52;
  --purple-700: #4c2889;
  --purple-600: #6d37c4;
  --purple-500: #8754dc;
  --purple-300: #c6aef2;
  --purple-200: #dfd1fa;
  --purple-100: #f1eafd;

  --teal-800: #114c48;
  --teal-700: #176963;
  --teal-500: #269890;
  --teal-200: #b3e8e4;
  --teal-100: #dff7f5;

  --coral-700: #ce2d4f;
  --coral-600: #e03b5d;
  --coral-500: #f25c78;
  --coral-200: #ffc4d0;
  --coral-100: #ffe6eb;

  --sun-800: #6e4300;
  --sun-700: #995f00;
  --sun-500: #fbbf3b;
  --sun-300: #ffd97d;
  --sun-100: #fff3cf;

  /* Daylight Craft Room (Default Light Theme) */
  --bg: #faf6f0;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f4effb;
  --surface-mat: #261742;
  --ink: #24153d;
  --ink-soft: #554470;
  --ink-muted: #72618f;
  --line: #e2d6f3;
  --line-dash: #c9b5ea;
  --border-ink: #2b194d;

  --sec-mint: #e6f6f4;
  --sec-lav: #f2ecfc;
  --sec-sun: #fff6de;
  --sec-blush: #ffecef;

  --accent: var(--purple-600);
  --cta: var(--coral-700);
  --cta-hover: #b82242;
  --link: #5b28b0;

  --hl-bg: #ffe07d;
  --hl-ink: #24153d;

  --shadow-card: 0 2px 0 rgba(36, 21, 61, 0.08), 0 14px 32px -10px rgba(36, 21, 61, 0.18);
  --shadow-pop: 0 18px 42px -12px rgba(36, 21, 61, 0.28);
  --shadow-tactile: 4px 5px 0 var(--border-ink);
  --shadow-tactile-sm: 3px 4px 0 var(--border-ink);
  --shadow-win: 0 20px 50px -12px rgba(36, 21, 61, 0.32), 0 0 0 3px var(--border-ink);

  --dots: rgba(109, 55, 196, 0.11);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --wrap: 1220px;
}

:root[data-theme="dark"] {
  --bg: #140c24;
  --bg-alt: #1b1130;
  --surface: #24173e;
  --surface-soft: #2e1e4f;
  --surface-mat: #1a102e;
  --ink: #f7f3ff;
  --ink-soft: #cfc3e6;
  --ink-muted: #a594c7;
  --line: #3d2a66;
  --line-dash: #583f8c;
  --border-ink: #6a4ea6;

  --sec-mint: #132a32;
  --sec-lav: #201438;
  --sec-sun: #26193b;
  --sec-blush: #2b1533;

  --accent: #a67ef5;
  --cta: #e03b5d;
  --cta-hover: #f25c78;
  --link: #d4bfff;

  --hl-bg: #5e34a8;
  --hl-ink: #ffffff;

  --shadow-card: 0 2px 0 rgba(0, 0, 0, 0.4), 0 16px 36px -10px rgba(0, 0, 0, 0.65);
  --shadow-pop: 0 22px 48px -12px rgba(0, 0, 0, 0.75);
  --shadow-tactile: 4px 5px 0 #0b0614;
  --shadow-tactile-sm: 3px 4px 0 #0b0614;
  --shadow-win: 0 22px 54px -12px rgba(0, 0, 0, 0.75), 0 0 0 3px #583f8c;

  --dots: rgba(198, 174, 242, 0.09);
  --purple-100: #35235c;
  --teal-100: #173c42;
  --coral-100: #4a1e34;
  --sun-100: #463218;
}

/* Base Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink);
  background-color: var(--bg);
  background-image: radial-gradient(var(--dots) 1.5px, transparent 1.6px);
  background-size: 24px 24px;
  overflow-x: hidden;
}
img, picture, svg {
  max-width: 100%;
  display: block;
}
img {
  height: auto;
}
figure {
  margin: 0;
}
h1, h2, h3, h4 {
  font-family: "Fredoka", "Nunito", sans-serif;
  line-height: 1.12;
  margin: 0 0 0.45em;
  letter-spacing: -0.01em;
  font-weight: 600;
}
h1, .display {
  font-size: clamp(2.5rem, 5.4vw, 4.35rem);
  font-weight: 700;
}
h2, .h1 {
  font-size: clamp(1.95rem, 3.8vw, 3.05rem);
}
h3, .h2 {
  font-size: clamp(1.38rem, 2.3vw, 1.85rem);
}
.h3 {
  font-size: clamp(1.18rem, 1.7vw, 1.4rem);
}
p {
  margin: 0 0 1em;
}
a {
  color: var(--link);
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-thickness: 0.14em;
}
code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.92em;
  background: var(--surface-soft);
  padding: 0.12em 0.42em;
  border-radius: 6px;
  border: 1px solid var(--line);
}
:focus-visible {
  outline: 3px solid var(--sun-500);
  outline-offset: 3px;
  border-radius: 6px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  background: var(--purple-900);
  color: #fff;
  font: 700 0.95rem "Fredoka", sans-serif;
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  z-index: 200;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
}

/* Layout Containers & Sections */
.wrap {
  width: min(var(--wrap), 100% - 36px);
  margin-inline: auto;
}
.section {
  position: relative;
  padding: clamp(4.2rem, 7.5vw, 7rem) 0;
}
.section--alt {
  background: var(--bg-alt);
}
.section--mint {
  background: var(--sec-mint);
}
.section--lav,
.section--lavender {
  background: var(--sec-lav);
}
.section--sun,
.section--cream {
  background: var(--sec-sun);
}
.section--blush {
  background: var(--sec-blush);
}
.section--plum {
  background: linear-gradient(165deg, #271647 0%, #1c0f36 100%);
  color: #f8f4ff;
  --ink: #f8f4ff;
  --ink-soft: #d7caef;
  --ink-muted: #b5a3d8;
  --surface: #311d57;
  --surface-soft: #3c2569;
  --line: #4f3582;
  --border-ink: #110824;
  --link: #e2d1ff;
}

.center {
  text-align: center;
}
.center .lead,
.center .lede {
  margin-inline: auto;
}
.sec-head,
.section-head {
  max-width: 52rem;
  margin: 0 auto 2.8rem;
  text-align: center;
}
.sec-head .lead,
.section-head .lede {
  margin-inline: auto;
}
.lead,
.lede {
  font-size: clamp(1.08rem, 1.45vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 44rem;
  line-height: 1.58;
}

/* Tactile Eyebrows, Highlights & Callouts */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: var(--teal-800);
  background: var(--teal-100);
  border: 2px dashed var(--teal-500);
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
:root[data-theme="dark"] .eyebrow {
  color: #b7f5ef;
  background: rgba(38, 152, 144, 0.2);
  border-color: #38b2a6;
}
.section--plum .eyebrow {
  background: rgba(251, 191, 59, 0.16);
  color: #ffe28a;
  border-color: rgba(251, 191, 59, 0.55);
}

.hl {
  background: var(--hl-bg);
  color: var(--hl-ink);
  padding: 0.04em 0.28em;
  border-radius: 8px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.section--plum .hl {
  background: var(--coral-700);
  color: #ffffff;
}
.accent-word {
  color: var(--coral-700);
}
:root[data-theme="dark"] .accent-word,
.section--plum .accent-word {
  color: #ff859d;
}

/* Studio Header & Ruler Bar */
.ruler-strip {
  height: 7px;
  background-color: var(--purple-900);
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.45) 0 1px, transparent 1px 10px),
    repeating-linear-gradient(90deg, rgba(251, 191, 59, 0.85) 0 2px, transparent 2px 50px);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 2px dashed var(--line-dash);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand-icon-wrap img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}
.brand-wordmark-wrap {
  display: flex;
  flex-direction: column;
}
.brand-wordmark-wrap img {
  height: 28px;
  width: auto;
}
.brand-sub {
  font: 700 0.68rem/1 "Nunito", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 2px;
}
.site-footer .brand-sub {
  color: #c7b6e4;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font: 700 0.94rem/1.2 "Nunito", sans-serif;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--purple-100);
  color: var(--purple-800);
}
:root[data-theme="dark"] .main-nav a:hover,
:root[data-theme="dark"] .main-nav a[aria-current="page"] {
  background: var(--surface-soft);
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.theme-toggle,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  border: 2px solid var(--border-ink);
  background: var(--surface);
  color: var(--ink);
  height: 40px;
  padding: 0 0.75rem;
  border-radius: 999px;
  font: 700 0.85rem "Fredoka", sans-serif;
  cursor: pointer;
  box-shadow: 2px 3px 0 var(--border-ink);
  transition: transform 0.12s;
}
.theme-toggle:hover,
.menu-toggle:hover {
  transform: translateY(-1px);
}
.menu-toggle {
  display: none;
  padding: 0 0.55rem;
}

@media (max-width: 1120px) {
  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }
  .main-nav ul {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 18px 1.4rem;
    background: var(--bg);
    border-bottom: 3px dashed var(--line-dash);
    box-shadow: var(--shadow-pop);
    display: none;
  }
  .main-nav ul.open {
    display: flex;
  }
  .main-nav a {
    padding: 0.75rem 1rem;
    font-size: 1.05rem;
  }
  .nav-actions .btn {
    display: none;
  }
}

/* Buttons & Store Badges */
.btn {
  --btn-bg: var(--cta);
  --btn-ink: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font: 600 1.04rem/1.1 "Fredoka", sans-serif;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  border: 2.5px solid var(--border-ink);
  background: var(--btn-bg);
  color: var(--btn-ink);
  text-decoration: none;
  box-shadow: var(--shadow-tactile);
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
  cursor: pointer;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 7px 0 var(--border-ink);
}
.btn:active {
  transform: translate(2px, 3px);
  box-shadow: 1px 1px 0 var(--border-ink);
}
.btn--sm {
  padding: 0.6rem 1.05rem;
  font-size: 0.92rem;
  box-shadow: var(--shadow-tactile-sm);
}
.btn--violet {
  --btn-bg: var(--purple-600);
}
.btn--teal {
  --btn-bg: var(--teal-700);
}
.btn--ghost {
  --btn-bg: var(--surface);
  --btn-ink: var(--ink);
  background: var(--surface);
  color: var(--ink);
}
.btn[aria-disabled="true"] {
  cursor: default;
}
.btn small {
  display: block;
  font: 700 0.66rem/1 "Nunito", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.92;
  margin-bottom: 0.2rem;
}
.btn .two {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.soon {
  display: inline-block;
  font: 800 0.68rem/1 "Nunito", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--sun-500);
  color: #362200;
  padding: 0.18rem 0.48rem;
  border-radius: 6px;
}
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

/* ==========================================================================
   HERO SECTION & INTERACTIVE WORKBENCH
   ========================================================================== */
.hero {
  padding: clamp(2.2rem, 4.5vw, 4.2rem) 0 clamp(3.2rem, 6vw, 5.2rem);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1.18fr;
  gap: clamp(1.8rem, 3.8vw, 3.6rem);
  align-items: center;
}
.hero-title .ln {
  display: block;
}
.hero-title .l-accent {
  color: var(--purple-600);
}
:root[data-theme="dark"] .hero-title .l-accent {
  color: #c6aef2;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.1rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 2px dashed var(--line-dash);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-trust b {
  background: var(--sun-500);
  color: #2d1c00;
  font-family: "Fredoka", sans-serif;
  padding: 0.12rem 0.55rem;
  border-radius: 7px;
  border: 1.5px solid #24153d;
}

/* Interactive Hero Workbench */
.workbench {
  background: var(--surface-mat);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 20px 20px, 20px 20px, 100px 100px, 100px 100px;
  border-radius: var(--radius-lg);
  border: 3px solid var(--border-ink);
  box-shadow: var(--shadow-pop);
  padding: 1rem 1.1rem 1.2rem;
  color: #fff;
  position: relative;
}
.wb-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}
.wb-label {
  font: 600 0.82rem "Fredoka", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d6c8f2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.wb-label::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #48e5c2;
  box-shadow: 0 0 0 3px rgba(72, 229, 194, 0.25);
}
.wb-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  background: rgba(15, 8, 28, 0.55);
  padding: 0.28rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
}
.wb-tabs button {
  font: 600 0.84rem "Fredoka", sans-serif;
  color: #e4d9fa;
  background: transparent;
  border: 0;
  padding: 0.36rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.wb-tabs button[aria-selected="true"] {
  background: var(--sun-500);
  color: #2b1900;
}

/* Workbench Panel 1: Clean Non-Obscuring Card Showcase */
.wb-collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  align-items: center;
  padding: 0.4rem 0.2rem;
}
.wb-card {
  position: relative;
  background: #fff;
  padding: 7px 7px 9px;
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.22s ease;
  cursor: zoom-in;
  border: 0;
  width: 100%;
  text-align: center;
}
.wb-card:nth-child(1) { transform: rotate(-2.2deg); }
.wb-card:nth-child(2) { transform: translateY(-6px) scale(1.03); z-index: 2; }
.wb-card:nth-child(3) { transform: rotate(2.2deg); }
.wb-card:nth-child(4) { transform: rotate(1.5deg); }
.wb-card:nth-child(5) { transform: rotate(-1.5deg); }
.wb-card:nth-child(6) { transform: rotate(2deg); }
.wb-card:hover {
  transform: rotate(0deg) scale(1.06);
  z-index: 5;
}
.wb-card img {
  border-radius: 6px;
  width: 100%;
}
.wb-card span {
  display: block;
  font: 600 0.78rem/1.15 "Fredoka", sans-serif;
  color: #2b194d;
  margin-top: 5px;
}
.wb-caption-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding-top: 0.7rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  font-size: 0.86rem;
  color: #dfd3f5;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .wb-collage {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Ribbon Ticker Strip */
.ticker {
  overflow: hidden;
  background: var(--purple-900);
  color: #fff;
  border-block: 3px solid var(--border-ink);
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: 2.2rem;
  padding: 0.78rem 0;
  font: 600 1.1rem "Fredoka", sans-serif;
  animation: marquee-slide 45s linear infinite;
  white-space: nowrap;
}
.ticker-track span::after {
  content: "\2726";
  margin-left: 2.2rem;
  color: var(--sun-500);
}
@keyframes marquee-slide {
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   APP WINDOWS, PAPER FRAMES & WASHI TAPE
   ========================================================================== */
.win {
  position: relative;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow-win);
  overflow: hidden;
}
.win::before {
  content: attr(data-title);
  display: flex;
  align-items: center;
  padding-left: 72px;
  height: 30px;
  font: 600 0.78rem "Fredoka", sans-serif;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.03em;
  background:
    var(--purple-900)
    radial-gradient(circle at 18px 15px, #f25c78 5.5px, transparent 6px),
    radial-gradient(circle at 36px 15px, #fbbf3b 5.5px, transparent 6px),
    radial-gradient(circle at 54px 15px, #38d399 5.5px, transparent 6px);
  background-repeat: no-repeat;
}
.win--bare::before {
  display: none;
}
.win picture, .win img {
  width: 100%;
}

.paper {
  position: relative;
  background: #ffffff;
  color: #24153d;
  padding: 10px 10px 13px;
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  border: 2px solid rgba(36, 21, 61, 0.12);
}
.paper img {
  border-radius: 5px;
}
.paper figcaption {
  font: 600 0.95rem/1.25 "Fredoka", sans-serif;
  color: #2b194d;
  text-align: center;
  padding-top: 0.55rem;
}
.paper figcaption small {
  display: block;
  font: 600 0.8rem "Nunito", sans-serif;
  color: #635185;
  margin-top: 2px;
}

.washi {
  position: absolute;
  width: 96px;
  height: 24px;
  z-index: 6;
  opacity: 0.92;
  background: repeating-linear-gradient(45deg, var(--tape-a, #fbbf3b) 0 8px, var(--tape-b, #fff0c2) 8px 16px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.washi--teal { --tape-a: #269890; --tape-b: #b3e8e4; }
.washi--pink { --tape-a: #f25c78; --tape-b: #ffd6de; }
.washi--purple { --tape-a: #6d37c4; --tape-b: #dfd1fa; }
.washi.tc { left: 50%; top: -11px; transform: translateX(-50%) rotate(-2deg); }
.washi.tl { left: -22px; top: 8px; transform: rotate(-35deg); }
.washi.tr { right: -22px; top: 8px; transform: rotate(35deg); }

/* ==========================================================================
   3-STEP WORKFLOW CARDS
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  counter-reset: step-counter;
}
.step-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.6rem;
  border: 2.5px solid var(--border-ink);
  box-shadow: var(--shadow-tactile);
  counter-increment: step-counter;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font: 700 0.85rem "Fredoka", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple-700);
}
:root[data-theme="dark"] .step-badge {
  color: var(--sun-300);
}
.step-badge b {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--coral-700);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  border: 2px solid var(--border-ink);
}
.step-card h3 {
  margin: 0;
  font-size: 1.4rem;
}
.step-card p {
  margin: 0;
  color: var(--ink-soft);
}
@media (max-width: 940px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PROJECT BENTO GRID (ALL REAL RENDERS)
   ========================================================================== */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
  margin-top: 2.4rem;
}
.proj-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-card);
  padding: 0.85rem 0.85rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.proj-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-pop);
}
.proj-thumb {
  border-radius: 13px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #ffffff;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  padding: 6px;
}
.proj-thumb--cover {
  padding: 0;
}
.proj-thumb picture,
.proj-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.proj-thumb--cover img {
  object-fit: cover;
  object-position: top center;
}
.proj-card h3 {
  font-size: 1.24rem;
  margin: 0 0.25rem 0.25rem;
}
.proj-card p {
  margin: 0 0.25rem;
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.proj-tag {
  display: inline-block;
  font: 700 0.72rem "Nunito", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-700);
  background: var(--teal-100);
  padding: 0.18rem 0.58rem;
  border-radius: 999px;
  margin: 0 0.25rem 0.3rem;
  align-self: flex-start;
}
:root[data-theme="dark"] .proj-tag {
  color: #aef0ea;
}

@media (max-width: 1080px) {
  .proj-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .proj-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FEATURE SPLIT & CHECKLISTS
   ========================================================================== */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: center;
}
.feature.flip .feature-media {
  order: 2;
}
@media (max-width: 920px) {
  .feature {
    grid-template-columns: 1fr;
  }
  .feature.flip .feature-media {
    order: 0;
  }
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.7rem;
}
.ticks li {
  position: relative;
  padding-left: 2.1rem;
}
.ticks li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: var(--teal-500);
  color: #fff;
  font: 800 0.9rem/1.45rem system-ui, sans-serif;
  text-align: center;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
  margin-top: 1.2rem;
}
.chip {
  font: 600 0.9rem "Fredoka", sans-serif;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  background: var(--surface);
  border: 2px solid var(--line);
  color: var(--ink);
}
.chip--c1 { background: var(--coral-100); border-color: transparent; color: #5c182b; }
.chip--c2 { background: var(--teal-100); border-color: transparent; color: #0f423e; }
.chip--c3 { background: var(--sun-100); border-color: transparent; color: #4d3300; }
.chip--c4 { background: var(--purple-100); border-color: transparent; color: #2b1652; }
:root[data-theme="dark"] .chip--c1,
:root[data-theme="dark"] .chip--c2,
:root[data-theme="dark"] .chip--c3,
:root[data-theme="dark"] .chip--c4,
.section--plum .chip--c1,
.section--plum .chip--c2,
.section--plum .chip--c3,
.section--plum .chip--c4 {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
}
.section--plum .chip--c1 { background: rgba(242, 92, 120, 0.28); }
.section--plum .chip--c2 { background: rgba(38, 152, 144, 0.32); }
.section--plum .chip--c3 { background: rgba(251, 191, 59, 0.25); }
.section--plum .chip--c4 { background: rgba(166, 126, 245, 0.28); }

/* ==========================================================================
   FOLD DIAGRAM GRID & INTERACTIVE 3D CARD STAGE
   ========================================================================== */
.folds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.95rem;
}
.fold-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 0.9rem 0.75rem;
  border: 2px dashed var(--line-dash);
  text-align: center;
  box-shadow: var(--shadow-card);
}
.fold-svg {
  width: 100%;
  max-width: 130px;
  height: 76px;
  margin: 0 auto 0.45rem;
}
.fold-card strong {
  display: block;
  font: 600 1.02rem "Fredoka", sans-serif;
  color: var(--ink);
}
.fold-card small {
  display: block;
  font-size: 0.84rem;
  color: var(--ink-soft);
}
@media (max-width: 640px) {
  .folds-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 3D Card Interactive Stage */
.c3d-stage {
  background: var(--surface-soft);
  border: 2.5px solid var(--border-ink);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.2rem 1.4rem;
  box-shadow: var(--shadow-tactile);
}
.c3d {
  --open: 0.75;
  --yaw: -10deg;
  --w: min(260px, 38vw);
  perspective: 1800px;
  display: grid;
  place-items: center;
  padding: 1.4rem 0 0.8rem;
}
.c3d-book {
  position: relative;
  width: calc(var(--w) * 2);
  aspect-ratio: 105 / 74;
  transform-style: preserve-3d;
  transform: translateX(calc((1 - var(--open)) * -25%)) rotateX(8deg) rotateY(var(--yaw));
  transition: transform 0.08s linear;
}
.c3d-page, .c3d-cover {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
}
.c3d-page {
  right: 0;
  box-shadow: 0 18px 30px -10px rgba(0, 0, 0, 0.42);
  background: #fff;
  border-radius: 0 4px 4px 0;
}
.c3d-page img, .c3d-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.c3d-page::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.22), transparent 18%);
  pointer-events: none;
}
.c3d-cover {
  right: 0;
  transform-origin: left center;
  transform-style: preserve-3d;
  transform: rotateY(calc(var(--open) * -180deg));
}
.c3d-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  background: #fff;
  overflow: hidden;
  border-radius: 0 4px 4px 0;
}
.c3d-face.back {
  transform: rotateY(180deg);
  border-radius: 4px 0 0 4px;
}
.c3d-face.back::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.2), transparent 20%);
  pointer-events: none;
}
.c3d-shadow {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -5%;
  height: 12%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.42), transparent 70%);
  filter: blur(6px);
  transform: translateZ(-1px);
}

.c3d-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem 1.4rem;
  margin-top: 1rem;
}
.range-lbl {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font: 600 0.94rem "Fredoka", sans-serif;
}
input[type="range"].r {
  -webkit-appearance: none;
  appearance: none;
  width: min(200px, 52vw);
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral-500), var(--sun-500), var(--teal-500));
  border: 2px solid var(--border-ink);
}
input[type="range"].r::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--border-ink);
  box-shadow: 2px 2px 0 var(--border-ink);
  cursor: grab;
}
input[type="range"].r::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--border-ink);
  cursor: grab;
}

.card-picks {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}
.card-picks button {
  width: 54px;
  padding: 3px;
  border: 2.5px solid transparent;
  background: #fff;
  border-radius: 7px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s;
}
.card-picks button[aria-pressed="true"] {
  border-color: var(--coral-700);
  transform: translateY(-4px) scale(1.05);
}
.card-picks img {
  border-radius: 3px;
}

/* ==========================================================================
   SEGMENTED TABS & DESIGN STUDIO EXPLORER
   ========================================================================== */
.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.35rem;
  background: var(--surface);
  border: 2.5px solid var(--border-ink);
  border-radius: 999px;
  box-shadow: var(--shadow-tactile-sm);
}
.seg button {
  font: 600 0.95rem "Fredoka", sans-serif;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.seg button[aria-selected="true"],
.seg button[aria-pressed="true"] {
  background: var(--purple-600);
  color: #ffffff;
}
.seg button:hover:not([aria-selected="true"]):not([aria-pressed="true"]) {
  background: var(--purple-100);
}

.studio {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 2.8rem;
}
.studio-nav {
  display: grid;
  gap: 0.45rem;
}
.studio-nav button {
  text-align: left;
  font: 600 1rem "Fredoka", sans-serif;
  padding: 0.68rem 1rem;
  border-radius: 14px;
  border: 2.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.14s, background 0.14s, border-color 0.14s;
}
.studio-nav button:hover {
  border-color: var(--purple-500);
}
.studio-nav button[aria-selected="true"] {
  border-color: var(--border-ink);
  background: var(--sun-500);
  color: #2b1900;
  box-shadow: var(--shadow-tactile-sm);
  transform: translateX(4px);
}
.studio-stage {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 1.8rem;
  align-items: start;
  background: var(--surface);
  border: 2.5px solid var(--border-ink);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-tactile);
}
.studio-stage .fly {
  background: #fff;
  border-radius: 14px;
  border: 2px solid var(--line);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
@media (max-width: 1040px) {
  .studio {
    grid-template-columns: 1fr;
  }
  .studio-nav {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  .studio-nav button[aria-selected="true"] {
    transform: none;
  }
}
@media (max-width: 740px) {
  .studio-stage {
    grid-template-columns: 1fr;
  }
  .studio-stage .fly {
    max-width: 360px;
    margin-inline: auto;
  }
}

/* ==========================================================================
   MULTI-PHOTO BEFORE / AFTER COMPARISON SLIDER
   ========================================================================== */
.ba-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.ba {
  --pos: 50%;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 3px solid var(--border-ink);
  box-shadow: var(--shadow-tactile);
  background: repeating-conic-gradient(#e9e2f4 0 25%, #fbf9ff 0 50%) 0 0 / 22px 22px;
  touch-action: pan-y;
  user-select: none;
  aspect-ratio: 4 / 5;
  max-height: 520px;
}
.ba-before, .ba-after {
  position: absolute;
  inset: 0;
}
.ba-before img, .ba-before picture,
.ba-after img, .ba-after picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba-after {
  clip-path: inset(0 0 0 var(--pos));
  background: linear-gradient(135deg, #fff1c9, #ffd6e0 55%, #e3d6ff);
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 4px;
  margin-left: -2px;
  background: #fff;
  box-shadow: 0 0 0 2px #24153d;
  pointer-events: none;
}
.ba-handle::after {
  content: "\2194";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sun-500);
  border: 3px solid #24153d;
  color: #24153d;
  font: 700 1.25rem system-ui;
}
.ba input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
}
.ba-tag {
  position: absolute;
  top: 12px;
  padding: 0.22rem 0.75rem;
  border-radius: 999px;
  background: rgba(36, 21, 61, 0.85);
  color: #fff;
  font: 600 0.82rem "Fredoka", sans-serif;
  z-index: 2;
}
.ba-tag.l { left: 12px; }
.ba-tag.r { right: 12px; }

.photo-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
}
.photo-switcher button {
  font: 600 0.88rem "Fredoka", sans-serif;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 2px solid var(--border-ink);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.photo-switcher button[aria-pressed="true"] {
  background: var(--coral-700);
  color: #fff;
}

/* ==========================================================================
   CUTTING ROLES & 3D EXPLODED LAYER STACK
   ========================================================================== */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-top: 1.8rem;
}
.role-card {
  border-radius: 18px;
  padding: 1.15rem 1.2rem;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.role-card b {
  display: block;
  font: 700 1.35rem "Fredoka", sans-serif;
  margin-bottom: 0.2rem;
}
.role-card span {
  font-size: 0.94rem;
  opacity: 0.95;
}
.role--cut { background: linear-gradient(135deg, #d6304c, #a81c35); }
.role--score { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.role--draw { background: linear-gradient(135deg, #1d8a82, #13635d); }
.role--print { background: linear-gradient(135deg, #743bc9, #54239e); }
@media (max-width: 820px) {
  .roles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.lay {
  --spread: 28;
  perspective: 1400px;
  display: grid;
  place-items: center;
  padding: 2.2rem 0 0.8rem;
  min-height: 410px;
}
.lay-stack {
  position: relative;
  width: min(245px, 54vw);
  aspect-ratio: 105 / 148;
  transform-style: preserve-3d;
  transform: rotateX(56deg) rotateZ(-32deg);
}
.lay-stack > div {
  position: absolute;
  inset: 0;
  transform: translateZ(calc(var(--i) * var(--spread) * 1px));
  transition: transform 0.1s linear;
  box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.32);
  border-radius: 6px;
}
.lay-stack > div:first-child {
  background: #fff;
}
.lay-stack img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
}
.lay-stack > div:not(:first-child) img {
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
}

/* ==========================================================================
   PUBLISHER RESCUE ILLUSTRATION
   ========================================================================== */
.pub-rescue {
  display: grid;
  grid-template-columns: auto 64px 1fr;
  gap: 1rem;
  align-items: center;
  background: var(--surface);
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  border: 2.5px solid var(--border-ink);
  box-shadow: var(--shadow-tactile);
}
.pub-doc {
  width: 142px;
  aspect-ratio: 3 / 4;
  background: #fff;
  border-radius: 10px;
  border: 3px solid #24153d;
  box-shadow: 4px 5px 0 #24153d;
  padding: 14px 12px;
  position: relative;
  transform: rotate(-3deg);
}
.pub-doc::before {
  content: ".pub";
  position: absolute;
  right: -10px;
  top: -12px;
  background: var(--teal-700);
  color: #fff;
  font: 700 0.88rem "Fredoka", sans-serif;
  padding: 0.15rem 0.6rem;
  border-radius: 8px;
  border: 2px solid #24153d;
}
.pub-doc i {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: #d8d0e6;
  margin-bottom: 8px;
}
.pub-doc i:first-child {
  width: 72%;
  background: #9f8bc4;
  height: 12px;
}
.pub-doc .pic {
  height: 46px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffd6de, #fff0c2);
  margin: 8px 0 10px;
}
.pub-arrow {
  font-size: 2.4rem;
  text-align: center;
  color: var(--coral-700);
  font-weight: 800;
}
@media (max-width: 680px) {
  .pub-rescue {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .pub-arrow {
    transform: rotate(90deg);
  }
}

/* ==========================================================================
   PRICING TICKET & FAQ ACCORDION
   ========================================================================== */
.ticket {
  position: relative;
  max-width: 820px;
  margin: 2.4rem auto 0;
  background: #ffffff;
  color: #24153d;
  border-radius: 26px;
  padding: clamp(1.8rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: center;
  border: 3px solid #170d2b;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
  text-align: left;
}
.ticket-price-box {
  border-right: 2px dashed #d7c8f0;
  padding-right: 1.8rem;
}
.ticket .price {
  font: 700 clamp(2.8rem, 6vw, 4.4rem)/1 "Fredoka", sans-serif;
  color: var(--purple-600);
}
.ticket .price small {
  display: block;
  font: 700 1.02rem "Nunito", sans-serif;
  color: #554470;
  margin-top: 0.45rem;
}
.ticket ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-weight: 600;
}
.ticket li {
  padding-left: 1.7rem;
  position: relative;
}
.ticket li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--teal-700);
  font-weight: 900;
}
.ticket .store-row {
  grid-column: 1 / -1;
  justify-content: center;
  border-top: 2px dashed #d7c8f0;
  padding-top: 1.5rem;
}
@media (max-width: 720px) {
  .ticket {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ticket-price-box {
    border-right: 0;
    border-bottom: 2px dashed #d7c8f0;
    padding-right: 0;
    padding-bottom: 1.2rem;
  }
  .ticket ul {
    text-align: left;
  }
}

.faq {
  max-width: 840px;
  margin: 2.2rem auto 0;
  display: grid;
  gap: 0.85rem;
}
.faq details {
  background: var(--surface);
  border: 2.5px solid var(--border-ink);
  border-radius: 18px;
  padding: 0 1.35rem;
  box-shadow: var(--shadow-tactile-sm);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font: 600 1.16rem "Fredoka", sans-serif;
  padding: 1.05rem 2.2rem 1.05rem 0;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sun-500);
  color: #2b1900;
  font-size: 1.3rem;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "\2212";
}
.faq details > div {
  padding: 0 0 1.15rem;
  color: var(--ink-soft);
}

/* ==========================================================================
   GALLERY PAGE & FLIP-INSIDE CARDS
   ========================================================================== */
.marquee {
  overflow: hidden;
  padding: 1.2rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee-slide 55s linear infinite;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
  animation-play-state: paused;
}
.marquee .paper {
  width: 195px;
  flex: none;
}

.gal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.gal-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 2px solid var(--line);
  padding: 0.9rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.gal-card-stage {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  padding: 8px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.gal-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.gal-card-title {
  font: 600 1.05rem "Fredoka", sans-serif;
  margin: 0;
}
.flip-btn, .zoom-btn {
  font: 600 0.8rem "Fredoka", sans-serif;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  border: 1.5px solid var(--border-ink);
  background: var(--surface-soft);
  color: var(--ink);
  cursor: pointer;
}
.flip-btn[aria-pressed="true"] {
  background: var(--purple-600);
  color: #fff;
}
@media (max-width: 1040px) {
  .gal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .gal-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FEATURES PAGE: SEARCH + CATEGORY FILTER + 80 CARDS
   ========================================================================== */
.feature-toolbar {
  max-width: 920px;
  margin: 1.8rem auto 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--surface);
  border: 2.5px solid var(--border-ink);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  box-shadow: var(--shadow-tactile-sm);
  max-width: 540px;
  width: 100%;
  margin-inline: auto;
}
.search-box input {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 600 1rem "Nunito", sans-serif;
  width: 100%;
  outline: none;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
}
.filters button {
  font: 600 0.94rem "Fredoka", sans-serif;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 2px solid var(--border-ink);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.filters button[aria-pressed="true"] {
  background: var(--purple-600);
  color: #fff;
}
.filter-status {
  font: 700 0.92rem "Nunito", sans-serif;
  color: var(--ink-soft);
  text-align: center;
}

.fcard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.fcard {
  display: grid;
  grid-template-columns: 156px 1fr;
  gap: 1.05rem;
  background: var(--surface);
  border-radius: 18px;
  padding: 0.9rem;
  border: 2px solid var(--line);
  box-shadow: var(--shadow-card);
  align-items: start;
}
.fcard picture,
.fcard img {
  border-radius: 10px;
  width: 156px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  padding: 3px;
  border: 1.5px solid var(--line);
  background: #fff;
}
.fcard h3 {
  font-size: 1.15rem;
  margin-bottom: 0.2em;
}
.fcard p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--ink-soft);
}
.fcard .tag {
  display: inline-block;
  font: 700 0.72rem "Nunito", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-700);
  background: var(--teal-100);
  padding: 0.14rem 0.52rem;
  border-radius: 999px;
  margin-bottom: 0.3rem;
}
:root[data-theme="dark"] .fcard .tag {
  color: #aef0ea;
}
@media (max-width: 820px) {
  .fcard-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .fcard {
    grid-template-columns: 1fr;
  }
  .fcard picture, .fcard img {
    width: 100%;
    aspect-ratio: 16 / 10;
  }
}

/* Grids & Tiles */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ==========================================================================
   FOOTER & LIGHTBOX
   ========================================================================== */
.site-footer {
  background: var(--purple-950);
  color: #d9cdf0;
  padding: 4rem 0 2.4rem;
  position: relative;
}
.footer-stitch {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.22);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
}
.foot-desc {
  margin-top: 0.9rem;
  color: #c7b6e4;
  font-size: 0.96rem;
}
.foot-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}
.mini-pill {
  font: 600 0.78rem "Fredoka", sans-serif;
  background: rgba(255, 255, 255, 0.1);
  color: #ffe28a;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}
.site-footer h2 {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 0.75em;
}
.foot-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.95rem;
}
.site-footer a {
  color: #e6dcfa;
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--sun-500);
  text-decoration: underline;
}
.foot-fine {
  font-size: 0.86rem;
  color: #a896c9;
  border-top: 1px dashed rgba(255, 255, 255, 0.18);
  margin-top: 2.6rem;
  padding-top: 1.4rem;
}
@media (max-width: 900px) {
  .foot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }
}

/* Lightbox Dialog */
dialog.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(94vw, 1080px);
  max-height: 94vh;
}
dialog.lightbox::backdrop {
  background: rgba(18, 10, 34, 0.88);
  backdrop-filter: blur(6px);
}
.lightbox-card {
  background: var(--purple-900);
  color: #fff;
  border: 3px solid var(--sun-500);
  border-radius: 20px;
  padding: 1rem 1.2rem 1.2rem;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.75);
}
.lightbox-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.lightbox-tag {
  font: 600 0.85rem "Fredoka", sans-serif;
  color: var(--sun-300);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.lightbox-nav-btns {
  display: flex;
  gap: 0.45rem;
}
.lightbox-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font: 700 1.1rem system-ui;
  cursor: pointer;
}
.lightbox-close {
  background: var(--coral-700);
}
.lightbox-stage img {
  max-height: 76vh;
  width: auto;
  margin: 0 auto;
  border-radius: 10px;
  background: #fff;
}
.lightbox-caption {
  text-align: center;
  margin: 0.75rem 0 0;
  color: #e6dcfa;
  font-size: 0.98rem;
}

/* Scroll Reveal & Reduced Motion */
.js .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .marquee, .ticker {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

@media print {
  .site-header, .ticker, .marquee { display: none; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   SUPPORT PAGE & CONTACT FORM
   ========================================================================== */
.support-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 2rem;
  align-items: start;
}
.support-side {
  display: grid;
  gap: 1.5rem;
}
.support-card {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-card);
}
.support-card--highlight {
  background: linear-gradient(155deg, var(--surface) 0%, var(--teal-100) 100%);
  border-color: var(--teal-500);
}
:root[data-theme="dark"] .support-card--highlight {
  background: linear-gradient(155deg, var(--surface) 0%, rgba(38, 152, 144, 0.22) 100%);
}
.support-sub {
  color: var(--ink-soft);
  margin: 0.4rem 0 1.35rem;
  font-size: 1rem;
}
.support-form {
  display: grid;
  gap: 1.15rem;
}
.form-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-field {
  display: grid;
  gap: 0.4rem;
}
.form-field label {
  font: 600 0.95rem "Fredoka", sans-serif;
  color: var(--ink);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: 600 1rem "Nunito", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 0.72rem 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field textarea {
  resize: vertical;
  min-height: 130px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(38, 152, 144, 0.22);
}
.support-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-top: 0.35rem;
}
.support-alert {
  background: var(--teal-100);
  border: 2px solid var(--teal-500);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.25rem;
  color: var(--ink);
}
.support-alert p {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.email-pill-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--surface);
  border: 2px dashed var(--teal-500);
  border-radius: 14px;
  padding: 0.75rem 1rem;
}
.email-direct-link {
  font: 700 1.12rem "Fredoka", sans-serif;
  color: var(--teal-700);
  text-decoration: none;
  word-break: break-all;
}
:root[data-theme="dark"] .email-direct-link {
  color: #aef0ea;
}
.email-direct-link:hover {
  text-decoration: underline;
}
.copy-email-btn {
  font: 600 0.88rem "Fredoka", sans-serif;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  border: 2px solid var(--teal-500);
  background: var(--teal-500);
  color: #fff;
  cursor: pointer;
}
.copy-email-btn:hover {
  background: var(--teal-700);
  border-color: var(--teal-700);
}
.support-tips li {
  font-size: 0.95rem;
}
@media (max-width: 900px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 580px) {
  .form-row-two {
    grid-template-columns: 1fr;
  }
}

