:root {
  --ink: #18181b;
  --ink-soft: #3f3f46;
  --muted: #71717a;
  --faint: #a1a1aa;
  --paper: #ffffff;
  --panel: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f4f4f2;
  --canvas: #f7f7f5;
  --line: #e7e5e0;
  --line-strong: #d6d3cc;
  --accent: #18181b;
  --accent-contrast: #ffffff;
  --green: #295b46;
  --red: #a64244;
  --blue: #264a63;
  --gold: #c58b33;
  --purple: #60466d;
  --brand: #d2462a;
  --brand-deep: #b43f22;
  --brand-warm: #e8852f;
  --brand-grad: linear-gradient(135deg, #e8852f 0%, #d94f2f 46%, #b43f22 100%);
  --brand-grad-soft: linear-gradient(135deg, rgba(232, 133, 47, 0.16), rgba(217, 79, 47, 0.14));
  --glow: 0 10px 30px rgba(210, 70, 42, 0.32);
  --glow-soft: 0 8px 24px rgba(210, 70, 42, 0.2);
  --shadow: 0 1px 2px rgba(24, 24, 27, 0.05), 0 12px 32px rgba(24, 24, 27, 0.07);
  --shadow-soft: 0 1px 2px rgba(24, 24, 27, 0.04), 0 6px 18px rgba(24, 24, 27, 0.05);
  --shadow-float: 0 2px 4px rgba(24, 24, 27, 0.04), 0 24px 60px rgba(70, 40, 20, 0.12);
  --ring: 0 0 0 1px rgba(255, 255, 255, 0.72) inset;
  --focus-ring: 0 0 0 3px rgba(210, 70, 42, 0.28);
  --radius: 14px;
  --radius-sm: 10px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

/* Warm sunset gradient-mesh canvas behind the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(58% 52% at 14% 4%, rgba(232, 133, 47, 0.17), transparent 62%),
    radial-gradient(52% 50% at 90% 2%, rgba(217, 79, 47, 0.15), transparent 60%),
    radial-gradient(50% 48% at 96% 68%, rgba(214, 86, 120, 0.09), transparent 62%),
    radial-gradient(62% 56% at 6% 96%, rgba(197, 139, 51, 0.12), transparent 64%),
    radial-gradient(46% 44% at 64% 100%, rgba(41, 91, 70, 0.07), transparent 60%),
    linear-gradient(165deg, #fefbf6 0%, #fdf8f2 40%, #fbf9f5 72%, #f7faf7 100%);
  background-size: 220% 220%, 220% 220%, 200% 200%, 220% 220%, 200% 200%, 100% 100%;
  animation: meshDrift 32s ease-in-out infinite alternate;
}

/* Fine film grain over the mesh — adds tactile depth and prevents banding */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.workspace .controls { animation: riseIn 620ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.workspace .preview-wrap { animation: riseIn 620ms cubic-bezier(0.22, 1, 0.36, 1) 90ms both; }
.pricing-tier { animation: riseIn 600ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.pricing-tier:nth-child(2) { animation-delay: 80ms; }
.pricing-tier:nth-child(3) { animation-delay: 160ms; }

@media (prefers-reduced-motion: reduce) {
  .workspace .controls,
  .workspace .preview-wrap,
  .pricing-tier { animation: none; }
}

@keyframes meshDrift {
  0% { background-position: 0% 0%, 100% 0%, 100% 70%, 0% 100%, 60% 100%, 0 0; }
  100% { background-position: 16% 12%, 84% 8%, 88% 60%, 14% 90%, 70% 88%, 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}

html {
  overflow-x: clip;
}

* {
  box-sizing: border-box;
}

body {
  background: transparent;
  margin: 0;
  overflow-x: clip;
}

button,
input,
select {
  font: inherit;
}

main > section {
  scroll-margin-top: 92px;
}

main {
  display: flex;
  flex-direction: column;
}

main,
section,
.hero,
.workspace,
.hero-copy,
.hero-studio,
.city-map-panel,
.city-map-shell,
.controls,
.preview-wrap {
  max-width: 100%;
  min-width: 0;
}

.app-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 14px clamp(20px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand-lockup {
  align-items: center;
  display: flex;
  gap: 12px;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border: 0;
  border-radius: 9px;
  box-shadow: var(--shadow-soft);
  color: #fff;
  display: inline-flex;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  letter-spacing: 0.01em;
  width: 38px;
}

.app-header h1,
.app-header p {
  margin: 0;
}

.brand-kicker {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-header h1 {
  font-size: 1.35rem;
  line-height: 1.1;
}

nav {
  align-items: center;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 100%;
  overflow: visible;
  padding: 4px;
}

nav::-webkit-scrollbar {
  display: none;
}

nav a {
  color: var(--ink);
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 10px;
  text-decoration: none;
  white-space: nowrap;
}

nav a.nav-primary {
  background: var(--brand-grad);
  box-shadow: var(--glow-soft);
  color: #fff;
}

nav a:hover {
  background: #fff;
}

nav a.nav-primary:hover {
  box-shadow: var(--glow);
  filter: brightness(1.05);
}

nav a:focus-visible {
  background: #fff;
  outline: none;
  box-shadow: var(--focus-ring);
}

.hero {
  align-items: stretch;
  background: transparent;
  display: grid;
  gap: clamp(18px, 3.2vw, 42px);
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 380px);
  min-height: 0;
  overflow: hidden;
  padding: clamp(30px, 3.8vw, 50px) clamp(20px, 5vw, 72px);
  position: relative;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(23, 23, 19, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(23, 23, 19, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent 78%);
  opacity: 0.72;
  pointer-events: none;
  position: absolute;
}

.hero-copy {
  align-content: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  min-width: 0;
  overflow: visible;
  padding: 0;
  position: relative;
  z-index: 1;
}

.hero-copy::before {
  display: none;
}

.hero-eyebrow {
  color: var(--green);
  font-size: clamp(0.76rem, 1.1vw, 0.9rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero h2 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(2.1rem, 3.8vw, 3.8rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
  max-width: 720px;
  text-wrap: balance;
}

.inline-highlight {
  --inline-highlight-color: #ff5e3a;
}

.inline-highlight-word {
  animation: inline-highlight-color 1800ms 420ms ease-out both;
  color: var(--ink);
  display: inline-block;
  isolation: isolate;
  letter-spacing: 0;
  position: relative;
}

.inline-highlight-word::after {
  background: rgba(255, 94, 58, 0.16);
  border-radius: 999px;
  bottom: 0.03em;
  content: "";
  height: 0.18em;
  left: -0.04em;
  position: absolute;
  right: -0.04em;
  transform: scaleX(0);
  transform-origin: left center;
  animation: inline-highlight-sweep 1800ms 420ms ease-out both;
  z-index: -1;
}

@keyframes inline-highlight-color {
  0%,
  20% {
    color: var(--ink);
  }

  100% {
    color: var(--inline-highlight-color);
  }
}

@keyframes inline-highlight-sweep {
  0%,
  20% {
    opacity: 0;
    transform: scaleX(0);
  }

  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

.hero p {
  color: var(--muted);
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 1.55;
  margin: 20px 0 0;
  max-width: 600px;
}

.hero-actions,
.control-actions,
.toolbar-actions,
.export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 22px;
}

.hero-readiness {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.hero-readiness span {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(41, 91, 70, 0.18);
  box-shadow: var(--ring);
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 900;
  padding: 8px 10px;
  text-transform: uppercase;
}

.hero-workflow {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 22px 0 0;
  max-width: 820px;
  padding: 0;
}

.hero-workflow li {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(51, 42, 30, 0.12);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(44, 34, 24, 0.07);
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 12px;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 260ms ease, border-color 260ms ease, background 260ms ease;
}

.hero-workflow li:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 238, 0.9));
  border-color: rgba(210, 70, 42, 0.34);
  box-shadow: 0 20px 46px rgba(44, 34, 24, 0.13);
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .hero-workflow li:hover { transform: none; }
}

.hero-workflow span {
  align-items: center;
  background: rgba(49, 95, 80, 0.09);
  border: 1px solid rgba(49, 95, 80, 0.2);
  border-radius: 6px;
  color: var(--green);
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 950;
  height: 26px;
  justify-content: center;
  width: 32px;
}

.hero-workflow strong {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.1;
}

.hero-workflow em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 760;
  line-height: 1.35;
}

.button {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  min-height: 44px;
  overflow: hidden;
  padding: 0 18px;
  position: relative;
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.button::before {
  content: none;
}

.button:hover {
  box-shadow: var(--shadow-soft);
}

.button:focus-visible,
.chip input:focus-visible + span,
.design-choice:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.button.primary {
  background: var(--brand-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--glow-soft);
}

.button.primary:hover {
  box-shadow: var(--glow);
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.button.secondary {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}

.button.secondary:hover {
  background: var(--surface-soft);
  border-color: var(--muted);
}

.button.ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.button.ghost:hover {
  background: var(--surface-soft);
}

.button.ghost::before {
  content: none;
}

.hero-studio {
  align-content: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 18px;
  position: relative;
  z-index: 1;
}

.hero-studio::before {
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.72), rgba(255, 255, 255, 0.42));
  border: 1px solid rgba(51, 42, 30, 0.08);
  border-radius: 8px;
  content: "";
  inset: 8% 3% 11%;
  opacity: 0.9;
  position: absolute;
}

.hero-studio::after {
  background: linear-gradient(90deg, transparent, rgba(37, 32, 29, 0.1), transparent);
  border-radius: 999px;
  bottom: 104px;
  content: "";
  filter: blur(16px);
  height: 36px;
  left: 18%;
  position: absolute;
  right: 12%;
  transform: rotate(-2deg);
  z-index: 0;
}

.hero-visual-label,
.hero-preference-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(51, 42, 30, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(51, 42, 30, 0.1);
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  position: relative;
  z-index: 2;
}

.hero-visual-label {
  justify-self: end;
  margin: 0 18px -30px 0;
  max-width: 180px;
}

.hero-preference-card {
  justify-self: start;
  margin: -34px 0 0 18px;
  max-width: min(320px, 82%);
}

.hero-visual-label span,
.hero-preference-card span {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-visual-label strong,
.hero-preference-card strong {
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.25;
}

.hero-poster-stack {
  align-self: center;
  aspect-ratio: 3 / 4;
  display: grid;
  margin: 0 auto;
  max-width: min(320px, 68%);
  position: relative;
  width: 100%;
  z-index: 1;
}

.hero-poster {
  background: #fffaf1;
  border: 11px solid #1e1b18;
  box-shadow: 0 30px 54px rgba(44, 34, 24, 0.24);
  color: var(--ink);
  grid-area: 1 / 1;
  min-width: 0;
}

.hero-poster-back {
  opacity: 0.42;
  padding: 22px;
  transform: rotate(-5deg) translate(-24px, 24px) scale(0.98);
}

.hero-poster-back span,
.hero-poster-back i {
  background: #d9c9b3;
  display: block;
}

.hero-poster-back span {
  height: 18%;
  margin-bottom: 20px;
}

.hero-poster-back i {
  height: 11%;
  margin-top: 12px;
}

.hero-poster-front {
  align-content: stretch;
  display: grid;
  gap: 16px;
  grid-template-rows: auto 1fr auto;
  padding: 34px 25px 24px;
  transform: rotate(1.2deg);
}

.hero-poster-title {
  border-bottom: 1px solid rgba(166, 58, 69, 0.52);
  display: grid;
  gap: 7px;
  padding-bottom: 16px;
  text-align: center;
}

.hero-poster-title::before {
  color: var(--gold);
  content: "✦ ♥ ✦";
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  order: 2;
}

.hero-poster-front small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.hero-poster-front strong {
  color: var(--red);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 2.45rem);
  line-height: 0.95;
}

.hero-poster-title em {
  color: var(--muted);
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-poster-categories {
  display: grid;
  gap: 7px;
  grid-template-columns: 1fr;
  min-height: 0;
}

.hero-poster-categories span {
  align-items: center;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid color-mix(in srgb, currentColor 72%, transparent);
  border-radius: 2px;
  color: var(--green);
  display: grid;
  font-size: 0.66rem;
  font-weight: 900;
  gap: 8px;
  grid-template-columns: 18px 1fr;
  min-height: 34px;
  padding: 7px 9px;
}

.hero-poster-categories span::before {
  align-items: center;
  background: color-mix(in srgb, currentColor 10%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  border-radius: 999px;
  content: "";
  display: flex;
  height: 18px;
  justify-content: center;
  width: 18px;
}

.hero-poster-categories span::before {
  box-shadow: inset 0 0 0 5px #fffaf1, inset 0 0 0 7px currentColor;
}

.hero-poster-categories span::after {
  content: "";
  display: none;
}

.hero-poster-categories span:nth-child(2) {
  color: var(--red);
}

.hero-poster-categories span:nth-child(3),
.hero-poster-categories span:nth-child(5) {
  color: var(--blue);
}

.hero-poster-categories span:nth-child(4),
.hero-poster-categories span:nth-child(6) {
  color: var(--purple);
}

.hero-poster-front footer {
  border-top: 1px solid rgba(166, 58, 69, 0.42);
  color: var(--red);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.68rem;
  font-style: italic;
  font-weight: 900;
  padding-top: 10px;
  text-align: center;
}

.hero-proof {
  background: rgba(255, 250, 241, 0.72);
  border: 1px solid rgba(37, 32, 29, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.hero-proof div {
  background: rgba(255, 255, 255, 0.52);
  padding: 12px;
}

.hero-proof dt {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1;
}

.hero-proof dd {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  margin: 5px 0 0;
  text-transform: uppercase;
}

.activity-orbit-section {
  align-items: stretch;
  background:
    radial-gradient(circle at 82% 18%, rgba(38, 74, 99, 0.14), transparent 26%),
    radial-gradient(circle at 18% 82%, rgba(197, 139, 51, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(255, 250, 241, 0.98), rgba(239, 244, 245, 0.94));
  border: 0;
  border-bottom: 1px solid rgba(51, 42, 30, 0.1);
  border-radius: 0;
  box-shadow: none;
  display: grid;
  gap: clamp(22px, 4vw, 42px);
  grid-template-columns: minmax(280px, 0.56fr) minmax(360px, 1fr);
  margin: 0;
  min-height: 520px;
  overflow: hidden;
  padding: clamp(34px, 5vw, 72px) clamp(20px, 5vw, 72px);
  position: relative;
}

.activity-orbit-section::before {
  background:
    linear-gradient(90deg, rgba(36, 76, 124, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(36, 76, 124, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  content: "";
  inset: 0;
  opacity: 0.46;
  pointer-events: none;
  position: absolute;
}

.activity-orbit-copy,
.activity-orbit-stage {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.activity-orbit-copy {
  align-content: center;
  display: grid;
  gap: 12px;
}

.activity-orbit-copy span {
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.activity-orbit-copy h2,
.activity-orbit-copy p {
  margin: 0;
}

.activity-orbit-copy h2 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(2.25rem, 4.5vw, 4.3rem);
  line-height: 0.98;
}

.activity-orbit-copy p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
  max-width: 540px;
}

.activity-orbit-stage {
  --intro-opacity: 1;
  --content-opacity: 0;
  align-items: center;
  background:
    radial-gradient(circle at 50% 72%, rgba(255, 250, 241, 0.92), transparent 36%),
    linear-gradient(145deg, rgba(23, 32, 44, 0.94), rgba(36, 76, 124, 0.9));
  border: 1px solid rgba(23, 32, 44, 0.16);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 24px 54px rgba(23, 32, 44, 0.18);
  cursor: grab;
  display: grid;
  min-height: 430px;
  overflow: hidden;
  touch-action: none;
}

.activity-orbit-stage:focus-visible {
  outline: 3px solid rgba(197, 139, 51, 0.42);
  outline-offset: 3px;
}

.activity-orbit-stage.is-dragging {
  cursor: grabbing;
}

.activity-orbit-stage::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  inset: 0;
  opacity: 0.52;
  pointer-events: none;
  position: absolute;
}

.orbit-intro,
.orbit-content {
  color: #fffaf1;
  display: grid;
  gap: 8px;
  left: 50%;
  max-width: min(420px, 82%);
  opacity: var(--intro-opacity);
  pointer-events: none;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.35s ease;
  z-index: 2;
}

.orbit-content {
  opacity: var(--content-opacity);
  top: 52%;
}

.orbit-intro strong,
.orbit-content strong {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.6rem);
  line-height: 1;
}

.orbit-intro span,
.orbit-content span {
  color: rgba(255, 250, 241, 0.76);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.orbit-card-layer {
  height: 100%;
  inset: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 3;
}

.orbit-card {
  background: transparent;
  border: 0;
  height: 96px;
  left: 50%;
  padding: 0;
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform-style: preserve-3d;
  transition: opacity 0.32s ease, transform 0.72s cubic-bezier(0.2, 0.8, 0.2, 1);
  width: 68px;
  will-change: transform, opacity;
}

.orbit-card-inner {
  display: block;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.52s cubic-bezier(0.2, 0.8, 0.2, 1);
  width: 100%;
}

.orbit-card:hover .orbit-card-inner,
.orbit-card:focus-visible .orbit-card-inner {
  transform: rotateY(180deg);
}

.orbit-card:focus-visible {
  outline: 0;
}

.orbit-card-face {
  align-content: start;
  backface-visibility: hidden;
  border: 1px solid rgba(255, 250, 241, 0.76);
  border-radius: 8px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
  display: grid;
  gap: 4px;
  height: 100%;
  inset: 0;
  overflow: hidden;
  padding: 7px;
  position: absolute;
  width: 100%;
}

.orbit-card-front {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 250, 241, 0.72)),
    var(--orbit-card-tone, #eef4f1);
  color: var(--orbit-card-ink, var(--ink));
}

.orbit-card-front::before {
  background:
    linear-gradient(90deg, currentColor 1px, transparent 1px),
    linear-gradient(currentColor 1px, transparent 1px);
  background-size: 10px 10px;
  content: "";
  inset: 0;
  opacity: 0.1;
  position: absolute;
}

.orbit-card-face > * {
  position: relative;
  z-index: 1;
}

.orbit-card small {
  font-size: 0.3rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
}

.orbit-card strong {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.66rem;
  line-height: 0.96;
}

.orbit-card i {
  background: currentColor;
  border-radius: 999px;
  display: block;
  height: 5px;
  margin-top: auto;
  opacity: 0.18;
}

.orbit-card i + i {
  margin-top: 1px;
  width: 72%;
}

.orbit-card-back {
  align-content: center;
  background: var(--ink);
  color: #fffaf1;
  text-align: center;
  transform: rotateY(180deg);
}

.orbit-card-back small {
  color: rgba(255, 250, 241, 0.62);
}

.orbit-card-back strong {
  font-size: 0.5rem;
  line-height: 1.12;
}

.orbit-card-green {
  --orbit-card-tone: #dfece4;
  --orbit-card-ink: var(--green);
}

.orbit-card-blue {
  --orbit-card-tone: #dce8f2;
  --orbit-card-ink: var(--blue);
}

.orbit-card-gold {
  --orbit-card-tone: #f6e5bd;
  --orbit-card-ink: #7b4f12;
}

.orbit-card-red {
  --orbit-card-tone: #f4d9dc;
  --orbit-card-ink: var(--red);
}

.orbit-card-purple {
  --orbit-card-tone: #e5dbef;
  --orbit-card-ink: var(--purple);
}

.personalization-section {
  align-items: stretch;
  background:
    radial-gradient(circle at 82% 18%, rgba(38, 74, 99, 0.1), transparent 30%),
    linear-gradient(135deg, rgba(255, 250, 241, 0.98), rgba(239, 244, 245, 0.94));
  border-bottom: 1px solid rgba(51, 42, 30, 0.1);
  display: grid;
  gap: clamp(24px, 4vw, 50px);
  grid-template-columns: minmax(280px, 0.58fr) minmax(420px, 1fr);
  min-height: 430px;
  overflow: hidden;
  padding: clamp(42px, 6vw, 78px) clamp(20px, 5vw, 72px);
  position: relative;
}

.personalization-section::before {
  background:
    linear-gradient(90deg, rgba(36, 76, 124, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(36, 76, 124, 0.045) 1px, transparent 1px);
  background-size: 30px 30px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.personalization-copy,
.personalization-board {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.personalization-copy {
  align-content: center;
  display: grid;
  gap: 14px;
}

.personalization-copy span {
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.personalization-copy h2,
.personalization-copy p {
  margin: 0;
}

.personalization-copy h2 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(2.3rem, 4.35vw, 4.15rem);
  line-height: 0.98;
  max-width: 680px;
}

.personalization-copy p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
  max-width: 560px;
}

.personalization-copy .button {
  justify-self: start;
  margin-top: 4px;
}

.personalization-board {
  align-content: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(247, 245, 238, 0.8)),
    #fff;
  border: 1px solid rgba(51, 42, 30, 0.12);
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(23, 32, 44, 0.12);
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: clamp(16px, 2.4vw, 26px);
}

.personalization-card {
  background: rgba(255, 250, 241, 0.72);
  border: 1px solid rgba(51, 42, 30, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  min-height: 258px;
  padding: 18px;
  position: relative;
}

.personalization-card::after {
  background: var(--card-accent, var(--green));
  border-radius: 999px;
  content: "";
  height: 5px;
  left: 18px;
  position: absolute;
  right: 18px;
  top: 0;
  transform: translateY(-50%);
}

.logic-card {
  --card-accent: var(--blue);
}

.output-card {
  --card-accent: var(--red);
}

.personalization-card span {
  color: var(--card-accent, var(--green));
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.personalization-card h3 {
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.35rem;
  line-height: 1.02;
  margin: 0;
}

.personalization-pills {
  align-content: start;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.personalization-pills i {
  background: #fff;
  border: 1px solid rgba(51, 42, 30, 0.12);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
  padding: 8px 10px;
}

.personalization-card ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.personalization-card li {
  color: var(--ink);
  display: grid;
  font-size: 0.82rem;
  font-weight: 780;
  gap: 9px;
  grid-template-columns: 18px 1fr;
  line-height: 1.32;
}

.personalization-card li::before {
  align-items: center;
  background: color-mix(in srgb, var(--card-accent, var(--green)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--green)) 34%, transparent);
  border-radius: 999px;
  color: var(--card-accent, var(--green));
  content: "✓";
  display: flex;
  font-size: 0.62rem;
  font-weight: 950;
  height: 18px;
  justify-content: center;
  width: 18px;
}

.poster-section-preview {
  display: grid;
  gap: 8px;
}

.poster-section-preview strong {
  background: #fff;
  border: 1px solid currentColor;
  border-radius: 4px;
  color: var(--green);
  font-size: 0.75rem;
  line-height: 1.1;
  padding: 9px 10px;
}

.poster-section-preview strong:nth-child(2) {
  color: var(--red);
}

.poster-section-preview strong:nth-child(3) {
  color: var(--blue);
}

.poster-section-preview strong:nth-child(4) {
  color: var(--purple);
}

.globe-section {
  margin: 0 clamp(20px, 4vw, 56px) 28px;
}

.globe-panel {
  align-items: center;
  background:
    radial-gradient(circle at 84% 24%, rgba(49, 95, 80, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 243, 247, 0.94));
  border: 1px solid rgba(215, 222, 232, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 430px);
  min-height: 420px;
  overflow: hidden;
  padding: clamp(22px, 3.5vw, 44px);
}

.globe-copy {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.globe-copy .section-heading h2 {
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1;
  max-width: 740px;
}

.globe-copy .section-heading p {
  font-size: 1.02rem;
  max-width: 660px;
}

.globe-metrics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 620px;
}

.globe-metrics div {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(215, 222, 232, 0.92);
  border-radius: 8px;
  box-shadow: var(--ring);
  padding: 14px;
}

.globe-metrics strong {
  display: block;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.9rem;
  line-height: 1;
}

.globe-metrics span {
  color: var(--muted);
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  margin-top: 5px;
  text-transform: uppercase;
}

.globe-stage {
  align-items: center;
  aspect-ratio: 1;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.94) 0 54%, rgba(49, 95, 80, 0.1) 55%, transparent 68%),
    linear-gradient(145deg, rgba(255, 250, 241, 0.86), rgba(221, 232, 238, 0.88));
  border: 1px solid rgba(215, 222, 232, 0.9);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.74), 0 24px 50px rgba(23, 32, 44, 0.12);
  display: grid;
  justify-items: center;
  min-width: 0;
  overflow: hidden;
  padding: 12px;
  position: relative;
}

.globe-stage::before {
  background:
    linear-gradient(90deg, rgba(37, 32, 29, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(37, 32, 29, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  inset: 0;
  opacity: 0.42;
  position: absolute;
}

#cityGlobe {
  aspect-ratio: 1;
  cursor: grab;
  max-width: 100%;
  opacity: 0;
  position: relative;
  touch-action: none;
  transition: opacity 1.2s ease;
  width: 100%;
  z-index: 1;
}

.globe-label-layer {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 3;
}

.globe-label {
  --fallback-visible: 0;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.16);
  color: #fffaf1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.58rem;
  font-weight: 900;
  left: var(--fallback-x, 50%);
  letter-spacing: 0.08em;
  opacity: var(--fallback-visible);
  padding: 4px 7px;
  position: absolute;
  text-transform: uppercase;
  top: var(--fallback-y, 50%);
  transform: translate(-50%, -128%);
  transition: opacity 0.45s ease, filter 0.45s ease;
  white-space: nowrap;
}

.globe-label i {
  border: 5px solid transparent;
  border-top-color: var(--ink);
  left: 50%;
  position: absolute;
  top: 100%;
  transform: translate(-50%, -1px);
}

.globe-label-arc {
  background: #fffaf1;
  color: var(--ink);
  opacity: var(--cobe-visible-arc, 0);
}

.globe-label-arc i {
  border-top-color: #fffaf1;
}

@supports (bottom: anchor(top)) {
  .globe-label {
    bottom: anchor(top);
    left: anchor(center);
    opacity: var(--cobe-visible, var(--fallback-visible));
    top: auto;
    transform: translateX(-50%);
  }
}

.globe-fallback {
  align-content: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(49, 95, 80, 0.18), transparent 40%),
    rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid;
  gap: 8px;
  inset: 12%;
  justify-items: center;
  padding: 28px;
  position: absolute;
  text-align: center;
  z-index: 2;
}

.globe-fallback span {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.globe-fallback strong {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.2rem;
  line-height: 1.2;
}

.city-map-section {
  margin: 0 clamp(20px, 4vw, 56px) 28px;
}

.city-map-panel {
  align-items: stretch;
  background:
    radial-gradient(circle at 18% 12%, rgba(197, 139, 51, 0.18), transparent 24%),
    radial-gradient(circle at 88% 78%, rgba(36, 76, 124, 0.13), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 244, 245, 0.94));
  border: 1px solid rgba(215, 222, 232, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: clamp(22px, 4vw, 42px);
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  min-height: 486px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 46px);
  position: relative;
}

.city-map-panel::before {
  background:
    linear-gradient(90deg, rgba(36, 76, 124, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(36, 76, 124, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  inset: 0;
  opacity: 0.42;
  pointer-events: none;
  position: absolute;
}

.city-map-copy {
  align-content: center;
  display: grid;
  gap: 22px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.city-map-copy .section-heading h2 {
  font-size: clamp(2.05rem, 4.25vw, 4.05rem);
  line-height: 1;
  max-width: 720px;
}

.city-map-copy .section-heading p {
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 620px;
}

.city-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 620px;
}

.city-map-legend span {
  align-items: center;
  background: rgba(255, 250, 241, 0.88);
  border: 1px solid rgba(23, 32, 44, 0.12);
  border-radius: 6px;
  box-shadow: var(--ring);
  color: var(--ink);
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 900;
  gap: 7px;
  padding: 8px 10px;
  text-transform: uppercase;
}

.city-map-legend strong {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
}

.legend-dot {
  background: var(--red);
  border: 2px solid #fffaf1;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(163, 58, 69, 0.34);
  display: inline-block;
  height: 10px;
  width: 10px;
}

.legend-line {
  background: linear-gradient(90deg, var(--green), var(--blue));
  border-radius: 999px;
  display: inline-block;
  height: 3px;
  width: 24px;
}

.city-map-shell {
  background:
    linear-gradient(rgba(49, 95, 80, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 95, 80, 0.06) 1px, transparent 1px),
    linear-gradient(145deg, rgba(255, 250, 241, 0.96), rgba(230, 238, 241, 0.92));
  background-size: 30px 30px, 30px 30px, auto;
  border: 1px solid rgba(23, 32, 44, 0.14);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 24px 54px rgba(23, 32, 44, 0.16);
  min-height: 432px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.city-map-toolbar {
  display: grid;
  gap: 6px;
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 8;
}

.map-control {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 32, 44, 0.14);
  border-radius: 7px;
  box-shadow: 0 10px 22px rgba(23, 32, 44, 0.1);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  width: 36px;
}

.map-control:hover {
  background: #fffaf1;
  border-color: rgba(163, 58, 69, 0.32);
  transform: translateY(-1px);
}

.map-control svg,
.city-map-popup button svg {
  height: 18px;
  width: 18px;
}

.map-control path,
.map-control circle,
.city-map-popup button path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.city-map-viewport {
  inset: 0 0 44px;
  overflow: hidden;
  position: absolute;
}

.city-map-canvas {
  --map-origin: 50% 50%;
  --map-scale: 1;
  inset: 0;
  position: absolute;
  transform: scale(var(--map-scale));
  transform-origin: var(--map-origin);
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.city-map-svg,
.city-map-marker-layer {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.city-map-land {
  fill: url(#cityMapLand);
  filter: drop-shadow(0 18px 28px rgba(23, 32, 44, 0.1));
  stroke: rgba(23, 32, 44, 0.14);
  stroke-linejoin: round;
  stroke-width: 4;
}

.city-map-peninsula {
  fill: rgba(255, 250, 241, 0.94);
  stroke: rgba(23, 32, 44, 0.12);
  stroke-linejoin: round;
  stroke-width: 3;
}

.city-map-route {
  fill: none;
  opacity: 0.62;
  stroke: rgba(49, 95, 80, 0.62);
  stroke-dasharray: 8 10;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.2;
}

.city-map-route-2,
.city-map-route-3 {
  stroke: rgba(36, 76, 124, 0.52);
}

.city-map-route-5 {
  stroke: rgba(163, 58, 69, 0.56);
}

.city-map-marker {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  gap: 6px;
  left: var(--x);
  padding: 0;
  position: absolute;
  top: var(--y);
  transform: translate(-50%, -50%);
  z-index: 3;
}

.marker-dot {
  background: var(--red);
  border: 2px solid #fffaf1;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(163, 58, 69, 0.38), 0 8px 18px rgba(23, 32, 44, 0.2);
  display: block;
  height: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  width: 12px;
}

.marker-label {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 32, 44, 0.12);
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(23, 32, 44, 0.1);
  color: var(--ink);
  display: none;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 3px 6px;
  text-transform: uppercase;
  white-space: nowrap;
}

.city-map-marker.is-featured .marker-label,
.city-map-marker.is-active .marker-label {
  display: inline-flex;
}

.city-map-shell.is-zoomed .city-map-marker.is-featured:not(.is-active) .marker-label {
  display: none;
}

.city-map-marker:hover .marker-dot,
.city-map-marker.is-active .marker-dot {
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(197, 139, 51, 0.18), 0 10px 22px rgba(23, 32, 44, 0.22);
  transform: scale(1.28);
}

.city-map-popup {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(23, 32, 44, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(23, 32, 44, 0.18);
  display: grid;
  gap: 4px;
  left: var(--popup-x, 50%);
  max-width: min(250px, 72vw);
  min-width: 178px;
  padding: 12px 38px 12px 12px;
  position: absolute;
  top: var(--popup-y, 50%);
  transform: translate(-50%, calc(-100% - 16px));
  z-index: 6;
}

.city-map-popup[hidden] {
  display: none;
}

.city-map-popup::after {
  border: 8px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.96);
  content: "";
  left: 50%;
  position: absolute;
  top: 100%;
  transform: translateX(-50%);
}

.city-map-popup strong {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.1;
}

.city-map-popup span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
}

.city-map-popup button {
  align-items: center;
  background: rgba(238, 244, 241, 0.92);
  border: 1px solid rgba(23, 32, 44, 0.1);
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  height: 24px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 8px;
  top: 8px;
  width: 24px;
}

.city-map-status {
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  border-top: 1px solid rgba(23, 32, 44, 0.1);
  bottom: 0;
  color: var(--muted);
  display: flex;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 8px;
  height: 44px;
  left: 0;
  margin: 0;
  padding: 0 16px;
  position: absolute;
  right: 0;
  z-index: 5;
}

.city-map-shell.is-expanded {
  border-radius: 8px;
  inset: 18px;
  min-height: 0;
  position: fixed;
  z-index: 80;
}

.panel-showcase {
  align-items: center;
  background:
    radial-gradient(circle at 82% 18%, rgba(90, 59, 121, 0.16), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 244, 245, 0.94));
  border: 1px solid rgba(215, 222, 232, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: clamp(22px, 4vw, 42px);
  grid-template-columns: minmax(0, 0.78fr) minmax(330px, 1fr);
  margin: 0 clamp(20px, 4vw, 56px) 28px;
  min-height: 462px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 46px);
  position: relative;
}

.panel-showcase::before {
  background:
    linear-gradient(90deg, rgba(49, 95, 80, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(49, 95, 80, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  inset: 0;
  opacity: 0.42;
  pointer-events: none;
  position: absolute;
}

.panel-showcase-copy {
  display: grid;
  gap: 22px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.panel-showcase-copy .section-heading h2 {
  font-size: clamp(2.05rem, 4.4vw, 4.15rem);
  line-height: 1;
  max-width: 760px;
}

.panel-showcase-copy .section-heading p {
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 610px;
}

.panel-showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 620px;
}

.panel-showcase-tags span {
  background: rgba(255, 250, 241, 0.88);
  border: 1px solid rgba(23, 32, 44, 0.12);
  border-radius: 6px;
  box-shadow: var(--ring);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 900;
  padding: 8px 10px;
  text-transform: uppercase;
}

.panel-stack-stage {
  align-items: center;
  aspect-ratio: 1.2;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 250, 241, 0.94), transparent 42%),
    linear-gradient(145deg, rgba(23, 32, 44, 0.94), rgba(36, 76, 124, 0.88));
  border: 1px solid rgba(23, 32, 44, 0.16);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 24px 54px rgba(23, 32, 44, 0.18);
  cursor: grab;
  display: flex;
  justify-content: center;
  min-height: 410px;
  min-width: 0;
  overflow: hidden;
  perspective: 900px;
  position: relative;
  touch-action: none;
  z-index: 1;
}

.panel-stack-stage:active {
  cursor: grabbing;
}

.panel-stack-stage::before {
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 250, 241, 0.18), transparent 24%),
    linear-gradient(90deg, rgba(255, 250, 241, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 250, 241, 0.06) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.panel-stack-stage::after {
  background: linear-gradient(180deg, transparent 54%, rgba(12, 18, 28, 0.34));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.panel-stack-scene {
  height: 0;
  position: relative;
  transform-style: preserve-3d;
  width: 0;
  z-index: 1;
}

.stacked-panel {
  border-radius: 8px;
  box-shadow: 0 22px 44px rgba(6, 12, 20, 0.32);
  left: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  top: 0;
  transform-origin: bottom center;
  will-change: transform;
}

.stacked-panel::after {
  border: 1px solid rgba(255, 255, 255, var(--panel-border));
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.panel-image,
.panel-gradient,
.panel-vignette {
  inset: 0;
  position: absolute;
}

.panel-image {
  background-image: var(--panel-image);
  background-position: center;
  background-size: cover;
  filter: saturate(0.96) contrast(1.02);
}

.panel-gradient {
  background: var(--panel-gradient);
  mix-blend-mode: multiply;
}

.panel-vignette {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 38%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.38), transparent 58%);
}

.workspace {
  background: transparent;
  border-bottom: 0;
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
  grid-template-columns: minmax(340px, 460px) minmax(440px, 1fr);
  min-height: calc(100svh - 67px);
  padding: clamp(18px, 2.6vw, 34px) clamp(18px, 4vw, 54px);
}

.controls,
.preview-wrap,
.design-showcase,
.style-showcase,
.catalog-section,
.fulfillment,
.admin-shell {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  box-shadow: var(--shadow-float);
}

.controls {
  align-self: start;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(1.1);
  border-color: rgba(255, 255, 255, 0.6);
  display: grid;
  gap: 14px;
  max-height: calc(100svh - 96px);
  overscroll-behavior: contain;
  overflow: auto;
  padding: clamp(16px, 2vw, 20px);
  position: sticky;
  scrollbar-color: rgba(49, 95, 80, 0.32) transparent;
  scrollbar-width: thin;
  scroll-padding-block: 16px 84px;
  box-shadow: var(--shadow-float);
  top: 82px;
}

.controls .section-heading h2 {
  font-size: clamp(2.05rem, 3.3vw, 3rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.0;
  background: linear-gradient(118deg, #1b1b18 28%, #b43f22 66%, #d2462a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.controls .section-heading p {
  font-size: 0.94rem;
  line-height: 1.42;
}

.builder-flow {
  counter-reset: builder-step;
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.builder-flow li {
  border-radius: 8px;
  color: var(--muted);
  display: block;
  min-width: 0;
}

.builder-flow li.active {
  color: #fffaf1;
}

.builder-flow li.complete {
  color: var(--green);
}

.builder-step-tab {
  align-content: center;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: inherit;
  cursor: pointer;
  display: grid;
  gap: 6px;
  grid-template-columns: 24px minmax(0, 1fr);
  min-height: 54px;
  padding: 9px 10px;
  position: relative;
  text-align: left;
  transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease, color 150ms ease;
  width: 100%;
}

.builder-step-tab:hover {
  border-color: var(--muted);
}

.builder-step-tab:focus-visible,
.preset-card:focus-visible,
.segmented-options button:focus-visible,
.format-options button:focus-visible,
.design-choice:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.builder-step-tab.is-complete {
  background: var(--surface-soft);
  border-color: var(--line-strong);
  color: var(--ink-soft);
}

.builder-step-tab.is-active {
  background: var(--brand-grad);
  border-color: transparent;
  box-shadow: var(--glow-soft);
  color: #fff;
}

.builder-flow span,
.builder-step-tab span {
  align-items: center;
  border: 1px solid currentColor;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 900;
  height: 24px;
  justify-content: center;
  line-height: 1;
  width: 24px;
}

.builder-step-tab.is-complete span {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  font-size: 0;
}

.builder-step-tab.is-complete span::before {
  content: "✓";
  font-size: 0.72rem;
  line-height: 1;
}

.builder-flow strong,
.builder-step-tab strong {
  align-self: center;
  font-size: 0.68rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.builder-progress {
  display: grid;
  gap: 7px;
  margin-top: -2px;
}

.builder-progress span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.builder-progress i {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: block;
  height: 6px;
  overflow: hidden;
}

.builder-progress b {
  background: var(--brand-grad);
  border-radius: inherit;
  display: block;
  height: 100%;
  inline-size: 16.666%;
  transition: inline-size 240ms ease;
}

.builder-step-intro {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 760;
  line-height: 1.45;
  margin: -4px 0 0;
}

.builder-step-panel[hidden] {
  display: none !important;
}

.builder-step-panel.is-active {
  animation: stepPanelIn 220ms ease both;
}

@keyframes stepPanelIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.builder-panel,
.quick-start-panel {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: none;
  display: grid;
  gap: 14px;
  padding: 16px;
}

.builder-panel:focus-within,
.quick-start-panel:focus-within,
.shopify-checkout:focus-within {
  border-color: var(--line-strong);
}

.quick-start-panel {
  background: var(--surface-soft);
}

.builder-panel-heading {
  display: grid;
  gap: 4px;
}

.builder-panel-heading span,
.builder-panel legend span {
  color: var(--muted);
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.builder-panel-heading h3,
.builder-panel legend {
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0;
  text-transform: none;
}

.builder-panel-heading p,
.field-help {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.4;
  margin: 0;
}

.preset-grid {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.preset-card {
  align-items: start;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(51, 42, 30, 0.13);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 7px;
  min-height: 112px;
  padding: 12px;
  position: relative;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.preset-card:hover {
  border-color: rgba(210, 70, 42, 0.42);
  transform: translateY(-1px);
}

.preset-card.is-active {
  background:
    linear-gradient(135deg, rgba(37, 32, 29, 0.96), rgba(49, 95, 80, 0.95)),
    var(--ink);
  border-color: var(--ink);
  box-shadow: 0 16px 32px rgba(23, 32, 44, 0.16);
  color: #fffaf1;
}

.preset-card.is-active::after {
  align-items: center;
  background: #fffaf1;
  border-radius: 999px;
  color: var(--ink);
  content: "✓";
  display: flex;
  font-size: 0.72rem;
  font-weight: 950;
  height: 22px;
  justify-content: center;
  position: absolute;
  right: 9px;
  top: 9px;
  width: 22px;
}

.preset-symbol,
.section-symbol,
.activity-symbol {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.preset-symbol {
  color: var(--green);
  height: 26px;
  width: 26px;
}

.preset-card.is-active .preset-symbol {
  color: var(--gold);
}

.preset-symbol svg {
  height: 100%;
  width: 100%;
}

.preset-card strong {
  font-size: 0.88rem;
  line-height: 1.15;
}

.preset-card span:not(.preset-symbol) {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 720;
  line-height: 1.35;
}

.preset-card.is-active span:not(.preset-symbol) {
  color: rgba(255, 250, 241, 0.74);
}

.quick-details .control-row {
  gap: 10px;
}

.name-pair {
  align-items: end;
  background:
    linear-gradient(135deg, rgba(49, 95, 80, 0.06), rgba(197, 139, 51, 0.05)),
    rgba(255, 250, 241, 0.72);
  border: 1px solid rgba(49, 95, 80, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 9px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  margin-bottom: 2px;
  padding: 12px;
}

.name-pair label {
  min-width: 0;
}

.name-pair > span,
.name-amp {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  justify-content: center;
  min-height: 46px;
  padding-bottom: 1px;
}

.identity-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 245, 0.92)),
    #fff;
  border-color: color-mix(in srgb, var(--green) 28%, var(--line));
  box-shadow: inset 0 0 0 1px rgba(49, 95, 80, 0.08), 0 14px 34px rgba(29, 44, 36, 0.08);
}

.identity-panel input,
.identity-panel select {
  min-height: 46px;
}

.identity-panel input::placeholder {
  color: rgba(37, 32, 29, 0.44);
}

.city-picker-heading {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 3px;
  padding-top: 12px;
}

.city-picker-heading strong {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.15;
}

.city-picker-heading span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 720;
  line-height: 1.25;
}

.identity-panel.needs-attention {
  animation: attentionPulse 0.85s ease both;
  border-color: #a33a45;
}

@keyframes attentionPulse {
  0%,
  100% {
    box-shadow: inset 0 0 0 1px rgba(49, 95, 80, 0.08), 0 14px 34px rgba(29, 44, 36, 0.08);
  }

  42% {
    box-shadow: inset 0 0 0 2px rgba(163, 58, 69, 0.32), 0 18px 44px rgba(163, 58, 69, 0.12);
  }
}

.taste-panel,
.no-go-panel {
  gap: 10px;
}

.smart-settings {
  gap: 10px;
}

.smart-setting,
.format-setting {
  align-items: center;
  border-top: 1px solid rgba(51, 42, 30, 0.1);
  display: grid;
  gap: 10px 12px;
  grid-template-columns: minmax(92px, 0.58fr) minmax(0, 1.42fr);
  padding-top: 12px;
}

.smart-setting:first-of-type,
.format-setting:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.smart-setting > div:first-child {
  display: grid;
  gap: 3px;
}

.smart-setting > .segmented-options {
  grid-column: 2;
}

.smart-setting-vibe {
  align-items: start;
  grid-template-columns: minmax(0, 1fr);
}

.smart-setting-vibe > .segmented-options,
.format-setting > .format-options {
  grid-column: 1 / -1;
}

.smart-setting > div:first-child strong {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 950;
}

.smart-setting > div:first-child span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 720;
  line-height: 1.3;
}

.segmented-options,
.format-options {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 6.75rem), 1fr));
}

.vibe-options {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 6.75rem), 1fr));
}

.style-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 250, 0.94)),
    #fff;
}

.format-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 239, 0.94)),
    #fff;
}

.wizard-actions {
  align-items: center;
  background: rgba(255, 250, 241, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(51, 42, 30, 0.12);
  border-radius: 8px;
  box-shadow: 0 -12px 26px rgba(35, 31, 26, 0.08);
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 0.52fr) minmax(0, 1fr);
  margin-top: 2px;
  /* Keep the buttons clear of the iOS home indicator when stuck to the bottom.
     Plain fallback first for browsers without env()/max() support. */
  padding: 10px;
  padding: 10px 10px max(10px, env(safe-area-inset-bottom));
  position: sticky;
  bottom: 0;
  z-index: 4;
}

.wizard-actions .button {
  width: 100%;
}

.wizard-actions .button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.format-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.segmented-options button,
.format-options button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.12;
  min-height: 38px;
  min-width: 0;
  padding: 8px 25px 8px 9px;
  position: relative;
  text-wrap: balance;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.segmented-options button:hover,
.format-options button:hover {
  border-color: rgba(210, 70, 42, 0.42);
  transform: translateY(-1px);
}

.segmented-options button.is-active,
.format-options button.is-active {
  background: var(--brand-grad);
  border-color: transparent;
  box-shadow: var(--glow-soft);
  color: #fff;
}

.segmented-options button.is-active::after,
.format-options button.is-active::after {
  align-items: center;
  background: rgba(255, 250, 241, 0.94);
  border-radius: 999px;
  color: var(--ink);
  content: "✓";
  display: inline-flex;
  font-size: 0.58rem;
  font-weight: 950;
  height: 15px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 6px;
  top: 6px;
  width: 15px;
}

.format-options button {
  display: grid;
  gap: 2px;
  min-height: 58px;
  padding-right: 27px;
  text-align: left;
}

.format-options button strong {
  font-size: 0.82rem;
  line-height: 1.1;
}

.format-options button span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 750;
}

.format-options button.is-active span {
  color: rgba(255, 250, 241, 0.72);
}

.format-options button .format-price {
  color: var(--brand);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.format-options button.is-active .format-price {
  color: #fff;
}

.sr-control {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.internal-only,
.internal-action {
  display: none !important;
}

.section-heading h2,
.section-heading p {
  margin: 0;
}

.section-heading h2 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.5;
  margin-top: 5px;
}

label {
  color: var(--muted);
  display: grid;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 7px;
}

input,
select {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
  font-size: 1rem; /* >=16px: prevents iOS Safari auto-zoom on focus */
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input::placeholder {
  color: var(--faint);
}

input:hover,
select:hover {
  border-color: var(--muted);
}

select option {
  background: #fff;
  color: var(--ink);
}

input:focus,
select:focus {
  border-color: var(--ink);
  outline: none;
  box-shadow: var(--focus-ring);
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.checkout-fields {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.shopify-checkout {
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  color: #fff;
  display: grid;
  gap: 12px;
  padding: 16px;
}

.shopify-checkout > div:first-child {
  display: grid;
  gap: 3px;
}

.shopify-checkout strong {
  color: #fffaf1;
  font-size: 0.92rem;
}

.shopify-checkout span {
  color: rgba(255, 250, 241, 0.72);
  font-size: 0.84rem;
  font-weight: 800;
}

.shopify-checkout .status-line {
  color: rgba(255, 250, 241, 0.74);
  margin: 0;
}

.checkout-metrics {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
}

.checkout-metrics div {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  min-width: 0;
  padding: 10px;
}

.checkout-metrics dt {
  color: rgba(255, 250, 241, 0.66);
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-metrics dd {
  color: #fffaf1;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.25;
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.shopify-checkout .button.primary {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.shopify-checkout .button.primary:hover {
  background: #ececec;
}

.shopify-checkout .button.ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.shopify-checkout .button.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

legend {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
}

.chip input {
  position: absolute;
  transform: scale(0);
}

.chip span {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 0.83rem;
  font-weight: 800;
  padding: 9px 11px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.chip span::before {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  content: "";
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.58rem;
  font-weight: 950;
  height: 14px;
  justify-content: center;
  opacity: 0.5;
  width: 14px;
}

.chip input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.chip input:checked + span::before {
  border-color: rgba(255, 250, 241, 0.9);
  content: "✓";
  opacity: 1;
}

.chip span:hover {
  border-color: rgba(49, 95, 80, 0.48);
  transform: translateY(-1px);
}

.control-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.design-options {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.design-choice {
  background:
    radial-gradient(circle at 82% 10%, color-mix(in srgb, currentColor 7%, transparent), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(250, 249, 245, 0.96)),
    #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 8px;
  grid-template-rows: auto auto auto 1fr auto;
  min-height: 174px;
  padding: 11px;
  position: relative;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.design-choice:hover {
  border-color: rgba(37, 32, 29, 0.45);
  box-shadow: 0 12px 28px rgba(44, 34, 24, 0.08);
  transform: translateY(-1px);
}

.design-choice-kicker {
  color: rgba(37, 32, 29, 0.46);
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.design-swatch {
  align-items: end;
  background: #fffaf1;
  border: 1.5px solid currentColor;
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.28),
    0 8px 16px rgba(37, 32, 29, 0.07);
  display: grid;
  gap: 3px;
  grid-template-columns: 1.2fr 0.9fr 1fr;
  height: 54px;
  overflow: hidden;
  padding: 17px 9px 8px;
  position: relative;
  border-radius: 7px;
}

.design-swatch::before {
  background: currentColor;
  content: "";
  height: 1.5px;
  left: 26%;
  opacity: 0.58;
  position: absolute;
  right: 26%;
  top: 9px;
}

.design-swatch::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  height: 4px;
  left: 42%;
  opacity: 0.26;
  position: absolute;
  right: 42%;
  top: 14px;
}

.design-swatch i {
  background: currentColor;
  border-radius: 3px;
  display: block;
  min-width: 0;
  opacity: 0.74;
}

.design-swatch i:nth-child(1) {
  height: 96%;
}

.design-swatch i:nth-child(2) {
  height: 68%;
}

.design-swatch i:nth-child(3) {
  height: 84%;
}

.design-swatch b {
  background:
    linear-gradient(90deg, currentColor 0 40%, transparent 40% 52%, currentColor 52% 100%);
  content: "";
  height: 3px;
  left: 8px;
  opacity: 0.38;
  position: absolute;
  right: 8px;
  bottom: 5px;
}

.design-choice strong {
  font-size: 0.84rem;
  line-height: 1.1;
}

.design-choice em {
  color: var(--muted);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.28;
}

.design-choice small {
  color: currentColor;
  display: inline-block;
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  opacity: 0.72;
  text-transform: uppercase;
}

.design-choice.active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 251, 244, 0.96)),
    #fff;
  border-color: currentColor;
  box-shadow: inset 0 0 0 2px currentColor, 0 16px 34px rgba(44, 34, 24, 0.14);
}

.design-choice.active::after {
  align-items: center;
  background: currentColor;
  border-radius: 999px;
  color: #fffaf1;
  content: "✓";
  display: flex;
  font-size: 0.72rem;
  font-weight: 900;
  height: 22px;
  justify-content: center;
  position: absolute;
  right: 8px;
  top: 8px;
  width: 22px;
}

/* Picker swatches preview the actual poster art direction, not just a color. */
.design-choice.design-classic .design-swatch {
  background:
    radial-gradient(circle at 50% 15%, rgba(169, 62, 73, 0.16), transparent 31%),
    linear-gradient(rgba(118, 83, 49, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 83, 49, 0.045) 1px, transparent 1px),
    #fff8e9;
  background-size: auto, 12px 12px, 12px 12px, auto;
  border: 2px double #a43f4b;
  color: #a43f4b;
}

.design-choice.design-classic .design-swatch i {
  border-radius: 999px;
}

.design-choice.design-grid .design-swatch {
  background:
    radial-gradient(circle at 17% 68%, #f3ff62 0 3px, transparent 3.5px),
    radial-gradient(circle at 67% 28%, #ff5f89 0 3px, transparent 3.5px),
    radial-gradient(circle at 82% 58%, #61f2cf 0 2.5px, transparent 3px),
    radial-gradient(circle at 5px 5px, rgba(122, 231, 255, 0.55) 1px, transparent 1.6px),
    linear-gradient(90deg, rgba(122, 231, 255, 0.13) 1px, transparent 1px),
    linear-gradient(rgba(122, 231, 255, 0.13) 1px, transparent 1px),
    #061018;
  background-size: auto, auto, auto, 18px 18px, 10px 10px, 10px 10px, auto;
  border-color: #7ae7ff;
  box-shadow: inset 0 0 0 4px rgba(122, 231, 255, 0.13), 0 8px 16px rgba(6, 16, 24, 0.3);
  color: #7ae7ff;
}

.design-choice.design-grid .design-swatch::before,
.design-choice.design-grid .design-swatch::after {
  background: #d8f9ff;
}

.design-choice.design-grid .design-swatch i {
  border-radius: 0;
  opacity: 0.9;
}

.design-choice.design-field .design-swatch {
  background:
    repeating-radial-gradient(circle at 0% 0%, transparent 0 9px, rgba(33, 79, 54, 0.24) 9px 10px),
    repeating-radial-gradient(circle at 100% 100%, transparent 0 11px, rgba(154, 110, 45, 0.2) 11px 12px),
    #e9dfbd;
  border-color: #214f36;
  color: #214f36;
}

.design-choice.design-field .design-swatch i {
  border-radius: 2px;
}

.design-choice.design-field .design-swatch i:nth-child(1) {
  width: 58%;
}

.design-choice.design-ticket .design-swatch {
  background:
    linear-gradient(90deg, rgba(35, 63, 74, 0.5) 0 4px, transparent 4px 8px),
    linear-gradient(90deg, rgba(35, 63, 74, 0.5) 0 4px, transparent 4px 8px),
    repeating-linear-gradient(0deg, transparent 0 11px, rgba(35, 63, 74, 0.1) 11px 12px),
    #efe1c9;
  background-position: 4px 5px, 4px calc(100% - 6px), 0 0, 0 0;
  background-repeat: repeat-x, repeat-x, repeat, repeat;
  background-size: 8px 1.5px, 8px 1.5px, auto, auto;
  border-color: #233f4a;
  color: #b74d3b;
}

.design-choice.design-ticket .design-swatch {
  border-style: dashed;
}

.design-choice.design-ticket .design-swatch i {
  border-radius: 0;
}

.design-choice.design-minimal .design-swatch {
  background: #fbfaf5;
  border-color: #121212;
  box-shadow: inset 0 0 0 3px #fbfaf5, inset 0 0 0 4px rgba(18, 18, 18, 0.55);
  color: #121212;
}

.design-choice.design-minimal .design-swatch::after {
  display: none;
}

.design-choice.design-minimal .design-swatch i {
  border-radius: 0;
  height: 2px;
}

.design-choice.design-pop .design-swatch {
  background:
    radial-gradient(circle at 18% 28%, #ff5f7f 0 3px, transparent 3.5px),
    radial-gradient(circle at 72% 18%, #00b7a8 0 3px, transparent 3.5px),
    radial-gradient(circle at 88% 62%, #1d73b7 0 2.5px, transparent 3px),
    radial-gradient(circle at 40% 70%, #ffd84d 0 3.5px, transparent 4px),
    #fff6cf;
  border-color: #151515;
  border-radius: 11px;
  border-width: 2px;
  color: #151515;
}

.design-choice.design-pop .design-swatch i {
  border-radius: 9px;
  transform: rotate(-2deg);
}

.design-choice.design-pop .design-swatch i:nth-child(2) {
  background: #ff5f7f;
  transform: rotate(3deg);
}

.design-choice.design-pop .design-swatch i:nth-child(3) {
  background: #00b7a8;
  transform: rotate(-1deg);
}

.preview-wrap {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px) saturate(1.1);
  align-self: start;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: calc(100svh - 96px);
  min-width: 0;
  overflow: hidden;
  padding: 16px;
  position: sticky;
  top: 82px;
}

.preview-wrap:focus-within {
  border-color: rgba(49, 95, 80, 0.28);
}

.preview-toolbar {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 16px;
  overflow: hidden;
  padding: 14px 16px;
  position: relative;
}

.preview-toolbar::before {
  content: none;
}

.toolbar-actions {
  justify-content: flex-end;
}

.status-line {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
  margin: -6px 0 0;
}

.preview-status,
.preview-toolbar > div:first-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.preview-toolbar span {
  color: var(--muted);
  font-size: 0.9rem;
}

.preview-toolbar strong {
  color: var(--ink);
  font-size: clamp(0.94rem, 1.25vw, 1.15rem);
  line-height: 1.1;
}

.preview-toolbar .preview-label {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.poster-stage {
  align-items: center;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: none;
  container-type: inline-size;
  display: grid;
  min-height: 0;
  overflow: hidden;
  padding: clamp(6px, 1vw, 12px);
}

.poster-mat {
  align-items: center;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.68), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(238, 244, 241, 0.46));
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(51, 42, 30, 0.045);
  display: grid;
  height: 100%;
  justify-items: center;
  min-height: 0;
  width: 100%;
}

.poster-stage .poster {
  margin: auto;
}

/* Canvas poster: the mat is a fixed-aspect wrapper whose width/height are
   set by JS to the scaled poster size, so the bounding box collapses to
   the scaled poster (no dead space). Default fit shows the whole poster. */
.poster-mat:has(.canvas-poster) {
  background: none;
  box-shadow: none;
  display: block;
  flex: 0 0 auto;
  height: 621px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  width: 414px;
}

.poster-stage .canvas-poster {
  height: 1350px;
  left: 0;
  margin: 0;
  position: absolute;
  top: 0;
  /* Fallback fits the poster width to the stage via container units when the
     JS fit hasn't run yet; JS sets --canvas-fit inline to override (and also
     accounts for height). Keeps mobile from clipping the print canvas. */
  transform: scale(var(--canvas-fit, min(calc(100cqw / 900px), 0.46)));
  transform-origin: top left;
  width: 900px;
}

.poster-zoom {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(51, 42, 30, 0.14);
  border-radius: 999px;
  display: inline-flex;
  gap: 2px;
  padding: 2px;
}

.poster-zoom-button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--ink, #2d2017);
  cursor: pointer;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 700;
  height: 28px;
  justify-content: center;
  line-height: 1;
  width: 28px;
}

.poster-zoom-button:hover {
  background: rgba(51, 42, 30, 0.08);
}

.poster-zoom-label {
  background: transparent;
  border: 0;
  color: var(--ink, #2d2017);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  min-width: 3.4em;
  padding: 0 6px;
  text-align: center;
}

.poster-zoom-label:hover {
  text-decoration: underline;
}

.poster {
  --poster-accent: var(--red);
  --poster-bg: #fffaf1;
  --poster-card-bg: rgba(255, 255, 255, 0.38);
  --poster-columns: 2;
  --poster-frame: #181818;
  --poster-frame-style: solid;
  --poster-frame-width: 14px;
  --poster-muted: var(--muted);
  --poster-radius: 8px;
  --poster-title: var(--red);
  --poster-title-font: Georgia, "Times New Roman", serif;
  --poster-text: var(--ink);
  aspect-ratio: 3 / 4;
  background: var(--poster-bg);
  border: var(--poster-frame-width) var(--poster-frame-style) var(--poster-frame);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  color: var(--poster-text);
  display: flex;
  flex-direction: column;
  isolation: isolate;
  margin: 0 auto;
  max-height: calc(100svh - 246px);
  max-width: min(680px, 100%);
  overflow: hidden;
  padding: clamp(16px, 2.3vw, 28px);
  position: relative;
  width: min(100%, calc((100svh - 246px) * 0.75), 680px);
}

.poster:not(.mini-poster) .poster-category ul {
  column-gap: clamp(7px, 0.85vw, 12px);
  columns: 2;
}

.poster-title {
  border-bottom: 1px solid var(--poster-accent);
  margin-bottom: 10px;
  padding-bottom: 9px;
  position: relative;
  text-align: center;
  z-index: 1;
}

.poster-title h2 {
  color: var(--poster-title);
  font-family: var(--poster-title-font);
  font-size: clamp(1.95rem, 4.2vw, 3.35rem);
  letter-spacing: 0;
  line-height: 1;
  margin: 5px auto;
  max-width: 92%;
  text-wrap: balance;
}

.poster-amp {
  color: var(--gold);
  font-size: 0.72em;
  font-style: italic;
  letter-spacing: 0;
  padding: 0 0.04em;
}

.poster-title p {
  color: var(--poster-muted);
  font-size: clamp(0.6rem, 1.12vw, 0.82rem);
  font-weight: 900;
  letter-spacing: 0.16em;
  margin: 0;
  text-transform: uppercase;
}

.ornament::before {
  color: var(--gold);
  content: "✦  ♥  ✦";
  font-size: 0.86rem;
}

.poster-list {
  display: grid;
  flex: 1;
  gap: 6px;
  grid-template-columns: repeat(var(--poster-columns), minmax(0, 1fr));
  min-height: 0;
  position: relative;
  z-index: 1;
}

.poster-category {
  background: var(--poster-card-bg);
  border: 1.5px solid currentColor;
  border-radius: var(--poster-radius);
  color: var(--category-color, var(--green));
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 6px 7px;
}

.poster-category-header {
  align-items: center;
  display: flex;
  gap: 5px;
  margin-bottom: 4px;
  min-width: 0;
}

.section-symbol,
.activity-symbol {
  align-items: center;
  color: var(--category-color, var(--poster-accent));
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
}

.section-symbol {
  background: rgba(255, 250, 241, 0.78);
  border: 1px solid rgba(255, 250, 241, 0.92);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(37, 32, 29, 0.08), 0 2px 7px rgba(37, 32, 29, 0.08);
  height: clamp(17px, 1.65vw, 23px);
  width: clamp(17px, 1.65vw, 23px);
}

.activity-symbol {
  height: clamp(8px, 0.78vw, 11px);
  margin-top: 0.08em;
  opacity: 0.92;
  width: clamp(8px, 0.78vw, 11px);
}

.section-symbol svg,
.activity-symbol svg {
  display: block;
  fill: none;
  height: 68%;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  width: 68%;
}

.poster-category h3 {
  background: var(--category-color, currentColor);
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  flex: 1 1 auto;
  font-size: clamp(0.46rem, 0.72vw, 0.68rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 4px 7px;
  text-transform: uppercase;
}

.poster-category:nth-child(6n + 1) { --category-color: var(--green); }
.poster-category:nth-child(6n + 2) { --category-color: #754c3a; }
.poster-category:nth-child(6n + 3) { --category-color: var(--red); }
.poster-category:nth-child(6n + 4) { --category-color: var(--blue); }
.poster-category:nth-child(6n + 5) { --category-color: var(--purple); }
.poster-category:nth-child(6n + 6) { --category-color: #bf4a32; }

.poster-category ul {
  columns: 1;
  list-style: none;
  margin: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
}

.poster-category li {
  align-items: baseline;
  break-inside: avoid;
  color: var(--poster-text);
  display: grid;
  font-family: "Trebuchet MS", ui-sans-serif, sans-serif;
  font-size: clamp(0.34rem, 0.49vw, 0.49rem);
  gap: 3px;
  grid-template-columns: clamp(8px, 0.82vw, 11px) minmax(0, 1fr);
  line-height: 1.14;
  margin: 0 0 2px;
}

.poster-category li > span:nth-child(2) {
  min-width: 0;
  overflow-wrap: anywhere;
}

.checkmark::before {
  color: var(--poster-accent);
  content: "♡";
  font-size: 0.85em;
}

.poster footer {
  border-top: 1px solid var(--poster-accent);
  color: var(--poster-title);
  font-family: var(--poster-title-font);
  font-size: clamp(0.64rem, 1.05vw, 0.9rem);
  font-style: italic;
  margin-top: 9px;
  padding-top: 7px;
  text-align: center;
}

.screen-poster .poster-list {
  gap: clamp(7px, 0.95vw, 10px);
}

.screen-poster .poster-category {
  padding: clamp(7px, 0.95vw, 10px);
}

.screen-poster .poster-category-header {
  gap: clamp(4px, 0.75vw, 7px);
  margin-bottom: clamp(4px, 0.7vw, 7px);
}

.screen-poster .section-symbol {
  height: clamp(18px, 1.85vw, 25px);
  width: clamp(18px, 1.85vw, 25px);
}

.screen-poster .poster-category h3 {
  font-size: clamp(0.48rem, 0.74vw, 0.72rem);
  padding: 4px 7px;
}

.poster.screen-poster .poster-category ul {
  columns: 1;
}

.screen-poster .poster-category li {
  font-size: clamp(0.5rem, 0.72vw, 0.66rem);
  line-height: 1.2;
  margin-bottom: 3px;
}

.poster.design-classic {
  --poster-accent: #9f3e49;
  --poster-bg: #fff8ea;
  --poster-card-bg: rgba(255, 255, 255, 0.58);
  --poster-frame: #24211d;
  --poster-frame-width: 12px;
  --poster-radius: 5px;
  --poster-title: #9f3e49;
  background-image:
    linear-gradient(90deg, rgba(36, 33, 29, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(36, 33, 29, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(197, 139, 51, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent 42%);
  background-size: 28px 28px, 28px 28px, auto, auto;
}

.poster.design-classic::before {
  background: rgba(255, 248, 234, 0.88);
  border: 1px solid rgba(159, 62, 73, 0.18);
  border-radius: 999px;
  color: rgba(159, 62, 73, 0.58);
  content: "CLASSIC CHECKLIST";
  font-family: "Trebuchet MS", ui-sans-serif, sans-serif;
  font-size: clamp(0.46rem, 0.8vw, 0.68rem);
  font-weight: 900;
  letter-spacing: 0.16em;
  padding: 5px 9px;
  position: absolute;
  right: clamp(18px, 3vw, 34px);
  top: clamp(14px, 2vw, 24px);
  z-index: 0;
}

.poster.design-classic .poster-title {
  border-bottom-color: rgba(159, 62, 73, 0.42);
}

.poster.design-classic .poster-category {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 250, 241, 0.62)),
    var(--poster-card-bg);
  border-width: 1.5px;
  box-shadow: inset 0 0 0 1px rgba(255, 250, 241, 0.8), 0 8px 18px rgba(37, 32, 29, 0.055);
}

.poster.design-classic .poster-category h3 {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  letter-spacing: 0.06em;
}

.poster.design-classic .section-symbol {
  background: #fffaf1;
}

.poster.canvas-poster {
  --poster-accent: #a0434c;
  --poster-bg: #fff8ec;
  --poster-card-bg: #fffdf6;
  --poster-ink: #302b22;
  --poster-frame-width: 0;
  --poster-title: #a0434c;
  --poster-title-font: "Caveat", cursive;
  aspect-ratio: 900 / 1350;
  background: var(--poster-bg);
  border: 0;
  box-shadow: 0 20px 54px rgba(47, 44, 35, 0.18);
  color: var(--poster-ink);
  container-type: inline-size;
  flex-shrink: 0;
  font-family: "Patrick Hand", "Comic Sans MS", cursive;
  height: auto;
  line-height: 1.22;
  margin: 0 auto;
  max-height: none;
  max-width: 900px;
  padding: 50px;
  width: 900px;
}

.poster-stage:has(.canvas-poster) {
  /* Flexbox + auto margins on the mat keep the poster centered AND fully
     scrollable when zoomed past the stage — grid/justify-content:center clips
     the overflowing (left/top) edge and makes it unreachable. */
  display: flex;
  align-items: flex-start;
  overflow: auto;
  padding: clamp(12px, 1.8vw, 24px);
}

.poster-stage:has(.canvas-poster) .poster-mat {
  margin: auto;
}

.poster.canvas-poster.design-classic {
  background-image: none;
}

.poster.canvas-poster .poster-title .dot {
  color: var(--variant-amp, #c7822e);
  margin-inline: clamp(3px, 0.89cqw, 8px);
}

.poster.canvas-poster .poster-list {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: clamp(2px, 0.45cqw, 4px);
  margin-top: clamp(4px, 0.89cqw, 8px);
  min-height: 0;
}

.poster.canvas-poster .canvas-row {
  display: flex;
  flex: 1 1 auto;
  gap: clamp(2px, 0.45cqw, 4px);
  min-height: 0;
}

.poster.canvas-poster .canvas-row-mantra {
  flex: 0 0 auto;
}

.poster.canvas-poster .canvas-row-split .poster-category {
  flex: var(--canvas-box-flex, 1) 1 0;
  min-width: 0;
}

.poster.canvas-poster .canvas-row-single .poster-category,
.poster.canvas-poster .canvas-row-mantra .poster-mantra {
  flex: 1 1 auto;
  width: 100%;
}

.poster.canvas-poster .canvas-category {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: clamp(4px, 1.05cqw, 10px) clamp(5px, 1.78cqw, 16px) clamp(4px, 1.33cqw, 12px);
}

.poster.canvas-poster .poster-category.canvas-density-compact {
  padding-bottom: clamp(3px, 0.95cqw, 9px);
  padding-top: clamp(2px, 0.78cqw, 7px);
}

.poster.canvas-poster .poster-category.canvas-text-heavy {
  padding-inline: clamp(4px, 1.35cqw, 12px);
}

.poster.canvas-poster .poster-category.canvas-density-roomy {
  padding-bottom: clamp(5px, 1.45cqw, 13px);
  padding-top: clamp(4px, 1.12cqw, 10px);
}

.poster.canvas-poster .category-title {
  box-sizing: border-box;
  display: inline-block;
  font-size: 13.5px;
  line-height: 1;
  margin-bottom: 8px;
  max-width: calc(100% - 36px);
  overflow: hidden;
  padding: 4px 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.poster.canvas-poster .category-icon {
  font-size: 24px;
  line-height: 1;
  position: absolute;
  right: clamp(4px, 1.33cqw, 12px);
  top: clamp(2px, 0.67cqw, 6px);
}

.poster.canvas-poster .poster-category ul {
  align-content: center;
  columns: initial;
  display: grid;
  column-gap: clamp(4px, 1.11cqw, 10px);
  flex: 1 1 auto;
  grid-auto-flow: row;
  grid-template-columns: repeat(var(--canvas-columns, 2), minmax(0, 1fr));
  list-style: none;
  margin: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  row-gap: var(--canvas-item-gap, clamp(2px, 0.4cqw, 4px));
}

.poster.canvas-poster .poster-category.wide ul {
  grid-template-columns: repeat(var(--canvas-columns, 4), minmax(0, 1fr));
}

.poster.canvas-poster .poster-category.athome ul {
  grid-template-columns: repeat(var(--canvas-columns, 5), minmax(0, 1fr));
}

.poster.canvas-poster .poster-category li {
  break-inside: avoid;
  column-gap: 4px;
  display: grid;
  font-size: calc(11px * var(--canvas-font-scale, 1));
  grid-template-columns: 13px minmax(0, 1fr);
  margin: 0;
  min-width: 0;
  padding: 1px 0;
  text-rendering: geometricPrecision;
}

.poster.canvas-poster .poster-category.canvas-density-roomy li {
  line-height: 1.12;
}

.poster.canvas-poster .poster-category.canvas-density-compact li {
  line-height: 1.18;
}

.poster.canvas-poster .poster-category.canvas-text-heavy li {
  line-height: 1.1;
}

.poster.canvas-poster .poster-category li > span {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--canvas-line-clamp, 2);
  display: -webkit-box;
  hyphens: auto;
  min-width: 0;
  overflow: hidden;
  overflow-wrap: normal;
  text-wrap: pretty;
  word-break: normal;
}

.poster.canvas-poster .poster-category.canvas-items-many li {
  line-height: 1.12;
}

.poster.canvas-poster .poster-category.canvas-items-many .category-title {
  margin-bottom: clamp(1px, 0.56cqw, 5px);
}

.poster.canvas-poster .poster-category.canvas-items-many ul {
  row-gap: 0;
}

.poster.canvas-poster .poster-category.canvas-items-few ul {
  row-gap: calc(var(--canvas-item-gap, 2px) + clamp(1px, 0.33cqw, 3px));
}

.poster.canvas-poster .poster-mantra {
  border-bottom: 1px solid rgba(122, 79, 42, 0.55);
  border-top: 1px solid rgba(122, 79, 42, 0.55);
  color: var(--poster-title);
  font-family: "Caveat", cursive;
  font-size: clamp(5.5px, 1.67cqw, 15px);
  font-weight: 700;
  height: 100%;
  letter-spacing: 0.4px;
  margin: clamp(1px, 0.22cqw, 2px) 0;
  padding: clamp(2px, 0.33cqw, 3px) clamp(5px, 1.11cqw, 10px);
  text-align: center;
}

.poster.canvas-poster .poster-mantra .dash {
  color: #7a4f2a;
  margin-inline: clamp(3px, 0.67cqw, 6px);
  opacity: 0.5;
}

.poster.canvas-poster .nature { --accent: #4a7c3f; }
.poster.canvas-poster .trails { --accent: #7a4f2a; }
.poster.canvas-poster .districts { --accent: #c2185b; }
.poster.canvas-poster .sports { --accent: #1e6091; }
.poster.canvas-poster .culture { --accent: #6a1b9a; }
.poster.canvas-poster .food { --accent: #d84315; }
.poster.canvas-poster .daytrips { --accent: #00796b; }
.poster.canvas-poster .athome { --accent: #ef6c00; }
.poster.canvas-poster .afterwork { --accent: #283593; }

/* ---- Poster design systems ----
   Six production poster skins on one measured checklist architecture.
   The activity grid stays shared and adaptive; only safe visual tokens change. */
.poster.canvas-poster {
  --variant-signature: "HERITAGE CHECKLIST";
  --variant-title-font: "Caveat", cursive;
  --variant-heading-font: "Fredoka", Inter, ui-sans-serif, system-ui, sans-serif;
  --variant-body-font: "Patrick Hand", "Comic Sans MS", cursive;
  --variant-rule: var(--poster-title);
  --variant-subtitle: #706755;
  --variant-amp: #bd842e;
  --variant-ornament: "✦ ♥ ✦";
  --variant-ornament-color: var(--poster-title);
  --variant-bullet: "♡";
  --variant-card-shadow: clamp(1px, 0.33cqw, 3px) clamp(1px, 0.33cqw, 3px) 0 rgba(0, 0, 0, 0.08);
  --variant-card-border: 2px;
  --variant-card-border-style: solid;
  --variant-card-radius: clamp(4px, 1.11cqw, 10px);
  --variant-title-pill-radius: 15px;
  --variant-title-color: #fff8e7;
  --variant-title-shadow: 2px 2px 0 rgba(0, 0, 0, 0.13);
  --variant-heading-tracking: 1px;
  --variant-paper-texture: none;
  background: var(--poster-bg);
  background-image: var(--variant-paper-texture);
  color: var(--poster-ink);
  isolation: isolate;
}

.poster.canvas-poster::before,
.poster.canvas-poster::after,
.poster.canvas-poster .poster-category::before,
.poster.canvas-poster .poster-category::after {
  content: none;
  display: none;
}

.poster.canvas-poster .poster-title {
  border: 0;
  display: inline-block;
  text-align: center;
}

.poster.canvas-poster .poster-title::before,
.poster.canvas-poster .poster-title::after {
  background: var(--variant-rule);
}

.poster.canvas-poster .ornament::before {
  color: var(--variant-ornament-color) !important;
  content: var(--variant-ornament) !important;
  font-family: var(--variant-heading-font);
}

.poster.canvas-poster .poster-title h2 {
  color: var(--poster-title);
  font-family: var(--variant-title-font);
  font-size: var(--variant-title-size, 52px);
  font-style: var(--variant-title-style, normal);
  font-weight: var(--variant-title-weight, 700);
  letter-spacing: var(--variant-title-tracking, 0);
  text-shadow: var(--variant-title-text-shadow, none);
  text-transform: var(--variant-title-transform, none);
}

.poster.canvas-poster .poster-amp {
  color: var(--variant-amp);
  font-family: var(--variant-title-font);
}

.poster.canvas-poster .poster-title p {
  color: var(--variant-subtitle);
  font-family: var(--variant-heading-font);
  letter-spacing: var(--variant-subtitle-tracking, 5px);
}

.poster.canvas-poster .poster-list {
  border-top: var(--variant-list-rule, 0) solid var(--variant-rule);
  padding-top: var(--variant-list-padding, 0);
}

.poster.canvas-poster .poster-list::before {
  color: var(--variant-rule);
  content: var(--variant-signature);
  display: var(--variant-signature-display, none);
  font-family: var(--variant-heading-font);
  font-size: clamp(5px, 0.95cqw, 8px);
  font-weight: 900;
  letter-spacing: 0.18em;
  margin-bottom: clamp(2px, 0.45cqw, 4px);
  opacity: 0.72;
  text-align: var(--variant-signature-align, right);
  text-transform: uppercase;
}

.poster.canvas-poster .poster-category {
  background: var(--poster-card-bg);
  border: var(--variant-card-border) var(--variant-card-border-style) var(--accent);
  border-radius: var(--variant-card-radius);
  box-shadow: var(--variant-card-shadow);
  color: var(--poster-ink);
  position: relative;
  transform: none;
}

.poster.canvas-poster .category-title {
  background: var(--accent);
  border-radius: var(--variant-title-pill-radius);
  box-shadow: var(--variant-title-shadow);
  color: var(--variant-title-color);
  font-family: var(--variant-heading-font);
  letter-spacing: var(--variant-heading-tracking);
}

.poster.canvas-poster .poster-category li {
  color: var(--poster-ink);
  font-family: var(--variant-body-font);
  text-wrap: pretty;
}

.poster.canvas-poster .poster-category li::before {
  color: var(--accent);
  content: var(--variant-bullet);
}

.poster.canvas-poster .poster-mantra {
  border-color: color-mix(in srgb, var(--variant-rule) 64%, transparent);
  color: var(--poster-title);
  font-family: var(--variant-title-font);
}

.poster.canvas-poster.design-classic {
  --poster-bg: #fff6e7;
  --poster-card-bg: rgba(255, 253, 245, 0.94);
  --poster-ink: #2f261c;
  --poster-title: #a43f4b;
  --variant-signature: "HERITAGE CHECKLIST";
  --variant-signature-display: block;
  --variant-amp: #bd842e;
  --variant-rule: #a43f4b;
  --variant-subtitle: #6f6047;
  --variant-card-shadow: inset 0 0 0 1px rgba(255, 251, 238, 0.92), 3px 3px 0 rgba(88, 64, 42, 0.12);
  --variant-title-shadow: 2px 2px 0 rgba(58, 42, 27, 0.13);
  --variant-frame: 4px double rgba(164, 63, 75, 0.42);
  --variant-frame-inset: 17px;
  --variant-frame-radius: 10px;
  --variant-mantra-tracking: 0.02em;
  --variant-paper-texture:
    radial-gradient(circle at 50% 9%, rgba(164, 63, 75, 0.1), transparent 31%),
    linear-gradient(90deg, rgba(118, 83, 49, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(118, 83, 49, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), transparent 46%),
    radial-gradient(135% 95% at 50% 118%, rgba(120, 82, 46, 0.08), transparent 60%);
  background-size: auto, 34px 34px, 34px 34px, auto, auto;
}

.poster.canvas-poster.design-classic .poster-category {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 247, 229, 0.9)), var(--poster-card-bg);
}

.poster.canvas-poster.design-classic .nature { --accent: #4a7c3f; }
.poster.canvas-poster.design-classic .trails { --accent: #7a4f2a; }
.poster.canvas-poster.design-classic .districts { --accent: #c2185b; }
.poster.canvas-poster.design-classic .sports { --accent: #1e6091; }
.poster.canvas-poster.design-classic .culture { --accent: #6a1b9a; }
.poster.canvas-poster.design-classic .food { --accent: #d84315; }
.poster.canvas-poster.design-classic .daytrips { --accent: #00796b; }
.poster.canvas-poster.design-classic .athome { --accent: #ef6c00; }
.poster.canvas-poster.design-classic .afterwork { --accent: #283593; }

.poster.canvas-poster.design-grid.poster-layout-midnight-transit {
  --poster-bg: #07131b;
  --poster-card-bg: rgba(10, 27, 38, 0.88);
  --poster-ink: #edfaff;
  --poster-title: #f8fdff;
  --variant-signature: "MIDNIGHT TRANSIT";
  --variant-signature-display: block;
  --variant-title-font: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  --variant-heading-font: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  --variant-body-font: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  --variant-title-size: clamp(30px, 5.9cqw, 58px);
  --variant-title-weight: 800;
  --variant-title-transform: uppercase;
  --variant-title-tracking: 0.02em;
  --variant-subtitle: rgba(237, 250, 255, 0.72);
  --variant-subtitle-tracking: 0.22em;
  --variant-rule: #6fe7ff;
  --variant-amp: #f2d24b;
  --variant-ornament: "NIGHT ROUTES";
  --variant-ornament-color: #6fe7ff;
  --variant-bullet: "♡";
  --variant-card-border: 1px;
  --variant-card-radius: 4px;
  --variant-card-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 0 1px rgba(111, 231, 255, 0.08);
  --variant-title-pill-radius: 4px;
  --variant-title-color: #061018;
  --variant-title-shadow: none;
  --variant-heading-tracking: 0.1em;
  --variant-list-rule: 1px;
  --variant-list-padding: clamp(5px, 0.9cqw, 8px);
  --variant-frame: 1px solid rgba(111, 231, 255, 0.38);
  --variant-frame-inset: 15px;
  --variant-frame-radius: 8px;
  --variant-frame-glow: 0 0 0 1px rgba(7, 19, 27, 0.9), 0 0 18px rgba(111, 231, 255, 0.14);
  --variant-icon-filter: saturate(0.78) brightness(1.06);
  --variant-mantra-tracking: 0.14em;
  --variant-paper-texture:
    radial-gradient(85% 55% at 50% -8%, rgba(111, 231, 255, 0.14), transparent 56%),
    radial-gradient(circle at 14px 14px, rgba(111, 231, 255, 0.2) 1.2px, transparent 2px),
    linear-gradient(rgba(111, 231, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 231, 255, 0.055) 1px, transparent 1px),
    radial-gradient(130% 120% at 50% 125%, rgba(2, 8, 13, 0.6), transparent 58%);
  background-size: auto, 96px 96px, 24px 24px, 24px 24px, auto;
}

.poster.canvas-poster.design-grid .nature { --accent: #6fe7ff; }
.poster.canvas-poster.design-grid .trails { --accent: #f2d24b; }
.poster.canvas-poster.design-grid .districts { --accent: #ff6f9b; }
.poster.canvas-poster.design-grid .sports { --accent: #68f2ce; }
.poster.canvas-poster.design-grid .culture { --accent: #b6a2ff; }
.poster.canvas-poster.design-grid .food { --accent: #ffb35b; }
.poster.canvas-poster.design-grid .daytrips { --accent: #8be3ff; }
.poster.canvas-poster.design-grid .athome { --accent: #ff7f72; }
.poster.canvas-poster.design-grid .afterwork { --accent: #b8f36a; }

.poster.canvas-poster.design-field.poster-layout-national-park-logbook {
  --poster-bg: #ebe3c6;
  --poster-card-bg: rgba(255, 249, 225, 0.9);
  --poster-ink: #243225;
  --poster-title: #24573d;
  --variant-signature: "NATIONAL PARK LOGBOOK";
  --variant-signature-display: block;
  --variant-title-font: "Bebas Neue", Impact, sans-serif;
  --variant-heading-font: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  --variant-body-font: Inter, ui-sans-serif, system-ui, sans-serif;
  --variant-title-size: clamp(38px, 7cqw, 68px);
  --variant-title-weight: 400;
  --variant-title-transform: uppercase;
  --variant-title-tracking: 0.06em;
  --variant-subtitle: #6a5b3b;
  --variant-subtitle-tracking: 0.18em;
  --variant-rule: #24573d;
  --variant-amp: #b6813d;
  --variant-ornament: "FIELD LOG";
  --variant-ornament-color: #b6813d;
  --variant-bullet: "♡";
  --variant-card-border: 1.6px;
  --variant-card-radius: 8px;
  --variant-card-shadow: 4px 5px 0 rgba(83, 63, 34, 0.12);
  --variant-title-pill-radius: 6px;
  --variant-title-color: #fff8df;
  --variant-title-shadow: none;
  --variant-heading-tracking: 0.12em;
  --variant-frame: 2px solid rgba(36, 87, 61, 0.5);
  --variant-frame-inset: 15px;
  --variant-frame-radius: 6px;
  --variant-icon-filter: sepia(0.25) saturate(0.8);
  --variant-mantra-tracking: 0.05em;
  --variant-paper-texture:
    repeating-radial-gradient(circle at -6% -4%, transparent 0 46px, rgba(36, 87, 61, 0.085) 46px 47.5px),
    repeating-radial-gradient(circle at 104% 102%, transparent 0 54px, rgba(122, 94, 49, 0.08) 54px 55.5px),
    radial-gradient(120% 90% at 50% 0%, rgba(255, 252, 235, 0.5), transparent 46%),
    radial-gradient(135% 105% at 50% 50%, transparent 58%, rgba(83, 63, 34, 0.1));
}

.poster.canvas-poster.design-field .nature,
.poster.canvas-poster.design-field .trails,
.poster.canvas-poster.design-field .daytrips { --accent: #24573d; }
.poster.canvas-poster.design-field .districts,
.poster.canvas-poster.design-field .culture { --accent: #526b42; }
.poster.canvas-poster.design-field .sports,
.poster.canvas-poster.design-field .wellness { --accent: #7e7442; }
.poster.canvas-poster.design-field .food,
.poster.canvas-poster.design-field .afterwork,
.poster.canvas-poster.design-field .athome { --accent: #9d6235; }

.poster.canvas-poster.design-ticket.poster-layout-travel-desk {
  --poster-bg: #f2e0c4;
  --poster-card-bg: rgba(255, 247, 224, 0.92);
  --poster-ink: #2f2018;
  --poster-title: #1f4857;
  --variant-signature: "TRAVEL DESK";
  --variant-signature-display: block;
  --variant-title-font: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  --variant-heading-font: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  --variant-body-font: Inter, ui-sans-serif, system-ui, sans-serif;
  --variant-title-size: clamp(30px, 5.4cqw, 52px);
  --variant-title-weight: 850;
  --variant-title-transform: uppercase;
  --variant-title-tracking: 0.02em;
  --variant-subtitle: rgba(31, 72, 87, 0.72);
  --variant-subtitle-tracking: 0.2em;
  --variant-rule: #1f4857;
  --variant-amp: #b85c3e;
  --variant-ornament: "BOARDING LIST";
  --variant-ornament-color: #b85c3e;
  --variant-bullet: "♡";
  --variant-card-border: 1.8px;
  --variant-card-border-style: dashed;
  --variant-card-radius: 6px;
  --variant-card-shadow: 0 0 0 1px rgba(31, 72, 87, 0.12), 3px 4px 0 rgba(47, 32, 24, 0.08);
  --variant-title-pill-radius: 3px;
  --variant-title-color: #fff7e0;
  --variant-title-shadow: none;
  --variant-heading-tracking: 0.12em;
  --variant-frame: 1.5px dashed rgba(31, 72, 87, 0.5);
  --variant-frame-inset: 16px;
  --variant-frame-radius: 10px;
  --variant-icon-filter: saturate(0.85);
  --variant-mantra-tracking: 0.05em;
  --variant-paper-texture:
    linear-gradient(90deg, rgba(31, 72, 87, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(31, 72, 87, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 72, 87, 0.32) 0 7px, transparent 7px 14px),
    linear-gradient(90deg, rgba(31, 72, 87, 0.32) 0 7px, transparent 7px 14px),
    radial-gradient(135% 100% at 50% 50%, transparent 58%, rgba(94, 62, 36, 0.08));
  background-position: 0 0, 0 0, 24px 34px, 24px calc(100% - 35px), 0 0;
  background-repeat: repeat, repeat, repeat-x, repeat-x, repeat;
  background-size: 28px 28px, 28px 28px, 14px 1.5px, 14px 1.5px, auto;
}

.poster.canvas-poster.design-ticket .nature,
.poster.canvas-poster.design-ticket .daytrips { --accent: #1f4857; }
.poster.canvas-poster.design-ticket .trails,
.poster.canvas-poster.design-ticket .food { --accent: #b85c3e; }
.poster.canvas-poster.design-ticket .districts,
.poster.canvas-poster.design-ticket .sports { --accent: #8c6634; }
.poster.canvas-poster.design-ticket .culture,
.poster.canvas-poster.design-ticket .afterwork { --accent: #4d567d; }
.poster.canvas-poster.design-ticket .athome { --accent: #2d6c67; }

.poster.canvas-poster.design-minimal.poster-layout-gallery-program-index {
  --poster-bg: #fcfbf6;
  --poster-card-bg: transparent;
  --poster-ink: #141414;
  --poster-title: #141414;
  --variant-signature: "GALLERY INDEX";
  --variant-signature-display: block;
  --variant-title-font: "Playfair Display", Georgia, serif;
  --variant-heading-font: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  --variant-body-font: Inter, ui-sans-serif, system-ui, sans-serif;
  --variant-title-size: clamp(32px, 6.2cqw, 60px);
  --variant-title-weight: 500;
  --variant-subtitle: #696159;
  --variant-subtitle-tracking: 0.19em;
  --variant-rule: #141414;
  --variant-amp: #7f776c;
  --variant-ornament: "SELECTED WORKS";
  --variant-ornament-color: #7f776c;
  --variant-bullet: "♡";
  --variant-card-border: 1px;
  --variant-card-radius: 0;
  --variant-card-shadow: none;
  --variant-title-pill-radius: 0;
  --variant-title-color: #141414;
  --variant-title-shadow: none;
  --variant-heading-tracking: 0.14em;
  --variant-list-rule: 1px;
  --variant-list-padding: clamp(6px, 1cqw, 9px);
  --variant-frame: 1px solid rgba(20, 20, 20, 0.66);
  --variant-frame-inset: 19px;
  --variant-frame-radius: 0;
  --variant-icon-filter: grayscale(1) opacity(0.72);
  --variant-mantra-tracking: 0.12em;
  --variant-paper-texture:
    radial-gradient(125% 100% at 50% 48%, transparent 64%, rgba(20, 20, 20, 0.028));
}

.poster.canvas-poster.design-minimal .category-title {
  background: transparent;
  box-shadow: none;
  color: var(--accent);
  padding-inline: 0;
}

.poster.canvas-poster.design-minimal .nature,
.poster.canvas-poster.design-minimal .trails,
.poster.canvas-poster.design-minimal .districts,
.poster.canvas-poster.design-minimal .sports,
.poster.canvas-poster.design-minimal .culture,
.poster.canvas-poster.design-minimal .food,
.poster.canvas-poster.design-minimal .daytrips,
.poster.canvas-poster.design-minimal .athome,
.poster.canvas-poster.design-minimal .afterwork { --accent: #141414; }

.poster.canvas-poster.design-pop.poster-layout-city-sticker-sheet {
  --poster-bg: #fff0b8;
  --poster-card-bg: rgba(255, 253, 246, 0.95);
  --poster-ink: #1c1a16;
  --poster-title: #151515;
  --variant-signature: "CITY STICKER SHEET";
  --variant-signature-display: block;
  --variant-title-font: "Fredoka", Inter, ui-sans-serif, system-ui, sans-serif;
  --variant-heading-font: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  --variant-body-font: "Patrick Hand", "Comic Sans MS", cursive;
  --variant-title-size: clamp(32px, 6.1cqw, 58px);
  --variant-title-weight: 900;
  --variant-title-tracking: 0;
  --variant-title-text-shadow: 2px 2px 0 #ffd84d;
  --variant-subtitle: #151515;
  --variant-subtitle-tracking: 0.16em;
  --variant-rule: #151515;
  --variant-amp: #f05274;
  --variant-ornament: "COLOR BLOCK";
  --variant-ornament-color: #00a99d;
  --variant-bullet: "♡";
  --variant-card-border: 2px;
  --variant-card-radius: 12px;
  --variant-card-shadow: 5px 6px 0 rgba(21, 21, 21, 0.14);
  --variant-title-pill-radius: 999px;
  --variant-title-color: #fffdf6;
  --variant-title-shadow: 2px 2px 0 rgba(21, 21, 21, 0.16);
  --variant-heading-tracking: 0.08em;
  --variant-frame: 2.5px solid rgba(21, 21, 21, 0.85);
  --variant-frame-inset: 14px;
  --variant-frame-radius: 22px;
  --variant-mantra-tracking: 0.04em;
  --variant-paper-texture:
    radial-gradient(72% 56% at 16% 10%, rgba(255, 255, 255, 0.55), transparent 55%),
    radial-gradient(circle at 22px 26px, rgba(240, 82, 116, 0.32) 5px, transparent 6px),
    radial-gradient(circle at 80px 96px, rgba(0, 169, 157, 0.3) 4px, transparent 5px),
    radial-gradient(circle at 136px 42px, rgba(29, 115, 183, 0.28) 3.5px, transparent 4.5px),
    radial-gradient(circle at 56px 142px, rgba(255, 216, 77, 0.6) 5px, transparent 6px),
    linear-gradient(90deg, rgba(21, 21, 21, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(21, 21, 21, 0.038) 1px, transparent 1px),
    radial-gradient(130% 95% at 50% 122%, rgba(214, 142, 0, 0.14), transparent 60%);
  background-size: auto, 176px 176px, 176px 176px, 176px 176px, 176px 176px, 34px 34px, 34px 34px, auto;
}

.poster.canvas-poster.design-pop .nature { --accent: #00a99d; }
.poster.canvas-poster.design-pop .trails { --accent: #7b5d35; }
.poster.canvas-poster.design-pop .districts { --accent: #f05274; }
.poster.canvas-poster.design-pop .sports { --accent: #1d73b7; }
.poster.canvas-poster.design-pop .culture { --accent: #7651b5; }
.poster.canvas-poster.design-pop .food { --accent: #e65c2e; }
.poster.canvas-poster.design-pop .daytrips { --accent: #168f82; }
.poster.canvas-poster.design-pop .athome { --accent: #f07a42; }
.poster.canvas-poster.design-pop .afterwork { --accent: #3540a2; }

/* ---- Poster design polish: frame overlay, anchored subtitle, catalog numbering ----
   The frame paints in the 50px padding zone as a non-layout overlay, so the
   measured activity grid is untouched. */
.poster.canvas-poster {
  position: relative;
}

.poster.canvas-poster::before {
  background: none;
  border: var(--variant-frame, 0 solid transparent);
  border-radius: var(--variant-frame-radius, 0);
  box-shadow: var(--variant-frame-glow, none);
  content: "";
  display: block;
  inset: var(--variant-frame-inset, 18px);
  padding: 0;
  pointer-events: none;
  position: absolute;
  z-index: 5;
}

.poster.canvas-poster .poster-title p {
  align-items: center;
  display: flex;
  gap: clamp(6px, 1.1cqw, 11px);
  justify-content: center;
}

.poster.canvas-poster .poster-title p::before,
.poster.canvas-poster .poster-title p::after {
  background: color-mix(in srgb, var(--variant-rule) 34%, transparent);
  content: "";
  display: block;
  flex: 0 0 clamp(16px, 3cqw, 30px);
  height: 1px;
}

.poster.canvas-poster .poster-title p .dot {
  margin-inline: 0;
}

.poster.canvas-poster .category-icon {
  filter: var(--variant-icon-filter, none);
}

.poster.canvas-poster .poster-mantra {
  letter-spacing: var(--variant-mantra-tracking, normal);
}

.poster.canvas-poster.design-minimal .poster-list {
  counter-reset: tally-cat;
}

.poster.canvas-poster.design-minimal .category-title::before {
  content: "No." counter(tally-cat, decimal-leading-zero) "  ·  ";
  counter-increment: tally-cat;
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.62;
}

.design-showcase {
  background:
    linear-gradient(rgba(33, 66, 70, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 66, 70, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 12% 4%, rgba(163, 58, 69, 0.09), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(23, 63, 95, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 250, 241, 0.98), rgba(255, 255, 255, 0.94));
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
  border: 0;
  border-bottom: 1px solid rgba(51, 42, 30, 0.1);
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  padding: clamp(34px, 5vw, 72px) clamp(20px, 5vw, 72px);
}

.design-gallery {
  align-items: start;
  display: grid;
  gap: clamp(18px, 3vw, 32px);
  grid-template-columns: minmax(0, 1.22fr) minmax(300px, 0.78fr);
  margin-top: clamp(22px, 3.2vw, 36px);
}

.design-feature {
  --design-card-accent: var(--green);
  --design-card-paper: #fffaf1;
  align-items: stretch;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 244, 235, 0.96)),
    var(--design-card-paper);
  border: 1px solid color-mix(in srgb, var(--design-card-accent) 24%, var(--line));
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(27, 31, 28, 0.12);
  display: grid;
  gap: clamp(16px, 2.5vw, 26px);
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
  min-width: 0;
  overflow: hidden;
  padding: clamp(18px, 2.5vw, 28px);
  position: relative;
}

.design-feature::before {
  background:
    linear-gradient(90deg, var(--design-card-accent), color-mix(in srgb, var(--design-card-accent) 36%, transparent), transparent);
  content: "";
  height: 4px;
  left: clamp(18px, 2.5vw, 28px);
  position: absolute;
  right: clamp(18px, 2.5vw, 28px);
  top: 0;
}

.design-feature-copy {
  align-content: center;
  display: grid;
  gap: 12px;
  justify-items: start;
  min-width: 0;
  padding: clamp(6px, 1.4vw, 16px) 0;
}

.design-feature-label {
  color: var(--design-card-accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.design-feature-copy h3,
.design-feature-copy p {
  margin: 0;
}

.design-feature-copy h3 {
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4.3vw, 4.8rem);
  line-height: 0.96;
  max-width: 9ch;
}

.design-feature-copy p {
  color: var(--muted);
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  line-height: 1.6;
  max-width: 34ch;
}

.design-feature-copy strong {
  color: var(--design-card-accent);
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  margin-top: 6px;
  text-transform: uppercase;
}

.design-feature .design-card-action {
  margin-top: 8px;
  min-width: 168px;
}

.design-feature-preview {
  align-items: center;
  background:
    radial-gradient(circle at 50% 24%, color-mix(in srgb, var(--design-card-accent) 20%, transparent), transparent 35%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(232, 230, 218, 0.7));
  border: 1px solid rgba(51, 42, 30, 0.1);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  min-height: clamp(560px, 54vw, 780px);
  overflow: hidden;
  padding: clamp(14px, 2.2vw, 26px);
}

.featured-poster {
  border-width: 9px;
  box-shadow: 0 28px 58px rgba(44, 34, 24, 0.22);
  height: clamp(560px, 52vw, 730px);
  max-width: none;
  padding: clamp(16px, 2vw, 24px);
  width: auto;
}

.featured-poster .poster-title h2 {
  font-size: clamp(1.85rem, 3.4vw, 3.1rem);
}

.featured-poster .poster-category li {
  font-size: clamp(0.48rem, 0.64vw, 0.66rem);
}

.design-card-list {
  display: grid;
  gap: 12px;
  min-width: 0;
  position: sticky;
  top: 96px;
}

.design-card {
  --design-card-accent: var(--green);
  --design-card-paper: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 246, 241, 0.96)),
    var(--design-card-paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 16px;
  min-width: 0;
  overflow: hidden;
  padding: 16px;
  position: relative;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.design-card-list .design-card {
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 112px;
  padding: 12px;
}

.design-card::before {
  background:
    linear-gradient(90deg, var(--design-card-accent), transparent);
  content: "";
  height: 3px;
  left: 14px;
  opacity: 0.38;
  position: absolute;
  right: 14px;
  top: 0;
}

.design-card:hover {
  border-color: color-mix(in srgb, var(--design-card-accent) 42%, var(--line));
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.design-card.is-selected {
  border-color: color-mix(in srgb, var(--design-card-accent) 64%, var(--line));
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--design-card-accent) 76%, transparent), 0 20px 52px rgba(15, 23, 42, 0.14);
}

.design-card-copy {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.design-card-list .design-card-copy {
  align-content: start;
  grid-template-columns: auto minmax(0, 1fr);
}

.design-card-copy h3,
.design-card-copy p {
  margin: 0;
}

.design-card-copy > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.design-card-number {
  align-items: center;
  background: var(--design-card-accent);
  border-radius: 6px;
  color: #fffaf1;
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 900;
  height: 32px;
  justify-content: center;
  width: 36px;
}

.design-card-copy h3 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.15rem;
}

.design-card-copy p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.design-card-copy span {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.design-card-copy > div > span {
  color: var(--design-card-accent);
}

.design-card-action {
  align-items: center;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid color-mix(in srgb, var(--design-card-accent) 42%, var(--line));
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 900;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.design-card-list .design-card-action {
  grid-column: 1 / -1;
  width: 100%;
}

.design-card-action:hover,
.design-card.is-selected .design-card-action {
  background: var(--design-card-accent);
  border-color: var(--design-card-accent);
  color: #fffaf1;
}

.design-card-action:focus-visible {
  outline: 3px solid rgba(197, 139, 51, 0.34);
  outline-offset: 2px;
}

.design-card-classic { --design-card-accent: #a33a45; --design-card-paper: #fffaf1; }
.design-card-grid { --design-card-accent: #173f5f; --design-card-paper: #f7f8f4; }
.design-card-field { --design-card-accent: #3d6b4f; --design-card-paper: #f2ecd6; }
.design-card-ticket { --design-card-accent: #8f2f3c; --design-card-paper: #fff3dc; }
.design-card-minimal { --design-card-accent: #111111; --design-card-paper: #fdfcf8; }
.design-card-pop { --design-card-accent: #e23d4d; --design-card-paper: #fff7ef; }

.design-card-preview {
  align-items: center;
  background:
    radial-gradient(circle at 50% 20%, color-mix(in srgb, var(--design-card-accent) 14%, transparent), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(238, 237, 229, 0.52));
  border: 1px solid rgba(51, 42, 30, 0.1);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  min-height: clamp(420px, 43vw, 620px);
  overflow: hidden;
  padding: clamp(14px, 2vw, 22px);
}

.design-card-list .design-card-preview {
  grid-column: 2;
  grid-row: 1;
  min-height: 150px;
  padding: 6px;
}

.mini-poster {
  border-width: 7px;
  box-shadow: 0 18px 32px rgba(44, 34, 24, 0.16);
  height: clamp(420px, 41vw, 580px);
  max-width: none;
  padding: 12px;
  transition: transform 160ms ease, box-shadow 160ms ease;
  width: auto;
}

.design-card-list .mini-poster {
  border-width: 3px;
  box-shadow: 0 10px 18px rgba(44, 34, 24, 0.13);
  height: 138px;
  padding: 5px;
}

.design-card-list .mini-poster .poster-title {
  margin-bottom: 3px;
  padding-bottom: 3px;
}

.design-card-list .mini-poster .ornament::before,
.design-card-list .mini-poster .poster-title p,
.design-card-list .mini-poster footer {
  font-size: 0.2rem;
  letter-spacing: 0.08em;
}

.design-card-list .mini-poster .poster-title h2 {
  font-size: 0.48rem;
  margin: 1px 0;
}

.design-card-list .mini-poster .poster-list,
.design-card-list .mini-poster.design-grid .poster-list {
  gap: 2px;
}

.design-card-list .mini-poster .poster-category {
  padding: 2px;
}

.design-card-list .mini-poster .poster-category-header {
  gap: 1px;
  margin-bottom: 2px;
}

.design-card-list .mini-poster .section-symbol {
  height: 7px;
  width: 7px;
}

.design-card-list .mini-poster .poster-category h3 {
  font-size: 0.19rem;
  padding: 2px 3px;
}

.design-card-list .mini-poster .poster-category li {
  font-size: 0.16rem;
  grid-template-columns: 4px minmax(0, 1fr);
  margin-bottom: 1px;
}

.design-card-list .mini-poster .activity-symbol {
  height: 3px;
  width: 3px;
}

.design-card-list .mini-poster footer {
  margin-top: 3px;
  padding-top: 3px;
}

.design-card:hover .mini-poster {
  box-shadow: 0 16px 32px rgba(44, 34, 24, 0.15);
  transform: translateY(-2px);
}

.mini-poster .poster-title {
  margin-bottom: 8px;
  padding-bottom: 8px;
}

.mini-poster .ornament::before {
  font-size: 0.52rem;
}

.mini-poster .poster-title h2 {
  font-size: clamp(1rem, 2.2vw, 1.55rem);
  margin: 3px 0;
}

.mini-poster .poster-title p {
  font-size: 0.42rem;
  letter-spacing: 0.1em;
}

.mini-poster .poster-list,
.mini-poster.design-grid .poster-list {
  gap: 5px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-poster .poster-category {
  padding: 5px;
}

.mini-poster .poster-category-header {
  gap: 3px;
  margin-bottom: 4px;
}

.mini-poster .section-symbol {
  height: 14px;
  width: 14px;
}

.mini-poster .poster-category h3 {
  font-size: 0.42rem;
  padding: 4px 5px;
}

.mini-poster .poster-category li {
  font-size: 0.36rem;
  gap: 2px;
  grid-template-columns: 8px minmax(0, 1fr);
  line-height: 1.15;
  margin-bottom: 2px;
}

.mini-poster .activity-symbol {
  height: 7px;
  width: 7px;
}

.mini-poster footer {
  font-size: 0.48rem;
  margin-top: 8px;
  padding-top: 6px;
}

.style-showcase {
  background:
    radial-gradient(circle at 18% 18%, rgba(90, 59, 121, 0.14), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(49, 95, 80, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 247, 0.94));
  border: 1px solid rgba(215, 222, 232, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: clamp(24px, 4vw, 46px);
  grid-template-columns: minmax(260px, 0.52fr) minmax(0, 1fr);
  margin: 0 clamp(20px, 4vw, 56px) 28px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 46px);
  position: relative;
}

.style-showcase::before {
  background:
    linear-gradient(90deg, rgba(49, 95, 80, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(49, 95, 80, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  inset: 0;
  opacity: 0.42;
  pointer-events: none;
  position: absolute;
}

.style-showcase-copy,
.style-index-list {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.style-showcase-copy {
  align-content: center;
  display: grid;
  gap: 10px;
}

.style-showcase-copy span {
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.style-showcase-copy h2,
.style-showcase-copy p {
  margin: 0;
}

.style-showcase-copy h2 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(2.2rem, 4.4vw, 4.4rem);
  line-height: 0.96;
}

.style-showcase-copy p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 500px;
}

.style-hover-preview {
  --preview-scale: 0.92;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(23, 32, 44, 0.22);
  height: 190px;
  left: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  top: 0;
  transform: translate3d(-999px, -999px, 0) scale(var(--preview-scale));
  transition: opacity 0.24s ease, box-shadow 0.24s ease;
  width: 286px;
  z-index: 60;
}

.style-hover-preview.is-visible {
  --preview-scale: 1;
  opacity: 1;
}

.style-preview-poster {
  border: 7px solid var(--ink);
  display: grid;
  gap: 10px;
  height: 100%;
  overflow: hidden;
  padding: 18px;
  position: relative;
  width: 100%;
}

.style-preview-poster::before {
  background:
    linear-gradient(90deg, rgba(23, 32, 44, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(23, 32, 44, 0.06) 1px, transparent 1px);
  background-size: 18px 18px;
  content: "";
  inset: 0;
  opacity: 0.38;
  position: absolute;
}

.style-preview-poster > * {
  position: relative;
  z-index: 1;
}

.style-preview-poster > span {
  color: var(--green);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.style-preview-poster > strong {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.72rem;
  line-height: 0.96;
  max-width: 210px;
}

.style-preview-poster > div {
  display: grid;
  gap: 6px;
  margin-top: auto;
}

.style-preview-poster i {
  background: currentColor;
  border-radius: 999px;
  display: block;
  height: 8px;
  opacity: 0.22;
}

.style-preview-poster i:nth-child(2) {
  width: 78%;
}

.style-preview-poster i:nth-child(3) {
  width: 88%;
}

.style-preview-poster i:nth-child(4) {
  width: 64%;
}

.style-preview-poster.design-classic {
  background: #fffaf1;
  color: var(--red);
}

.style-preview-poster.design-grid {
  background: #eef4f1;
  border-color: var(--green);
  color: var(--blue);
}

.style-preview-poster.design-field {
  background: #f3ead8;
  border-color: var(--green);
  color: var(--green);
}

.style-preview-poster.design-ticket {
  background:
    repeating-linear-gradient(90deg, rgba(163, 58, 69, 0.12) 0 10px, transparent 10px 20px),
    #fffaf1;
  border-color: var(--red);
  color: var(--red);
}

.style-preview-poster.design-minimal {
  background: #fff;
  border-color: #161616;
  color: #161616;
}

.style-preview-poster.design-pop {
  background:
    linear-gradient(135deg, #ffe36f 0 34%, #e6f5ff 34% 68%, #ffd3de 68%);
  border-color: var(--blue);
  color: var(--purple);
}

.style-index-list {
  display: grid;
}

.style-index-row {
  color: var(--ink);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-width: 0;
  padding: 20px 0;
  position: relative;
  text-decoration: none;
}

.style-index-row::before {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(23, 32, 44, 0.08);
  border-radius: 8px;
  content: "";
  inset: 7px -14px;
  opacity: 0;
  position: absolute;
  transform: scale(0.98);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.style-index-row::after,
.style-index-rule {
  background: rgba(23, 32, 44, 0.13);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.style-index-rule {
  bottom: 0;
  top: auto;
}

.style-index-row > div,
.style-index-row > span {
  position: relative;
  z-index: 1;
}

.style-index-row h3,
.style-index-row p {
  margin: 0;
}

.style-index-row h3 {
  align-items: center;
  display: inline-flex;
  font-size: clamp(1.28rem, 2.2vw, 1.8rem);
  gap: 8px;
  line-height: 1.1;
}

.style-index-row h3 span {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size 0.24s ease;
}

.style-index-row h3 svg {
  color: var(--muted);
  height: 18px;
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 0.24s ease, transform 0.24s ease;
  width: 18px;
}

.style-index-row h3 path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.style-index-row p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  margin-top: 5px;
}

.style-index-row > span {
  color: var(--muted);
  flex: 0 0 auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  padding-top: 5px;
}

.style-index-row:hover::before,
.style-index-row:focus-visible::before,
.style-index-row.is-active::before {
  opacity: 1;
  transform: scale(1);
}

.style-index-row:hover h3 span,
.style-index-row:focus-visible h3 span,
.style-index-row.is-active h3 span {
  background-size: 100% 1px;
}

.style-index-row:hover h3 svg,
.style-index-row:focus-visible h3 svg,
.style-index-row.is-active h3 svg {
  opacity: 1;
  transform: translate(0, 0);
}

.pricing-section {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  overflow: hidden;
  padding: clamp(32px, 4.2vw, 58px) clamp(20px, 5vw, 72px);
  position: relative;
}

.pricing-section::before {
  content: none;
}

.pricing-heading {
  display: grid;
  gap: 10px;
  justify-items: start;
  margin: 0 auto;
  max-width: 1120px;
  position: relative;
  text-align: left;
  z-index: 1;
}

.pricing-tag {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-title-wrap {
  display: inline-grid;
  justify-items: center;
  position: relative;
}

.pricing-heading h2 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(2.1rem, 3.8vw, 3.3rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.04;
  margin: 0;
  max-width: 760px;
  background: linear-gradient(118deg, #1b1b18 30%, #b43f22 70%, #d2462a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.pricing-heading-mark {
  display: none;
  position: absolute;
  z-index: 1;
}

.pricing-heading-underline {
  display: none;
}

.pricing-heading-mark svg,
.pricing-doodle svg {
  fill: none;
  height: 100%;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  width: 100%;
}

.pricing-heading-sparkle {
  color: var(--gold);
  height: 38px;
  right: -50px;
  top: 2px;
  opacity: 0.68;
  transform: rotate(12deg);
  width: 38px;
}

.pricing-heading-star {
  bottom: 4px;
  color: var(--blue);
  height: 34px;
  left: -44px;
  opacity: 0.68;
  transform: rotate(-12deg);
  width: 34px;
}

.pricing-heading-underline {
  background: rgba(36, 76, 124, 0.18);
  border-radius: 999px;
  bottom: -11px;
  filter: blur(4px);
  height: 12px;
  left: 0;
  position: absolute;
  transform: rotate(-1deg);
  width: min(210px, 48vw);
}

.pricing-heading p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0;
}

.pricing-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

.pricing-tier {
  --tier-color: var(--blue);
  min-height: 100%;
  position: relative;
}

.pricing-tier.popular {
  transform: translateY(-4px);
}

.pricing-tier:hover .pricing-card-shell {
  border-color: rgba(210, 70, 42, 0.34);
  box-shadow: var(--glow-soft), var(--shadow-float);
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  .pricing-tier:hover .pricing-card-shell { transform: none; }
}

.pricing-tier-digital { --tier-color: var(--purple); }
.pricing-tier-print { --tier-color: var(--gold); }
.pricing-tier-framed { --tier-color: var(--green); }

.pricing-card-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  inset: 0;
  position: absolute;
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.pricing-tier.popular .pricing-card-shell {
  border-color: rgba(210, 70, 42, 0.5);
  box-shadow: var(--glow-soft), var(--shadow);
}

/* Animated "shine" border on the popular tier: a brand-tinted gradient ring
   masked to the border edge that slowly sweeps around the card. Guarded by
   @supports so it only renders where the border-mask technique works. */
@supports ((mask-composite: exclude) or (-webkit-mask-composite: xor)) {
  .pricing-tier.popular .pricing-card-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: radial-gradient(circle at 50% 50%, transparent, transparent, #e8852f, #d94f2f, transparent, transparent);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    will-change: background-position;
    animation: shine-pulse 9s infinite linear;
  }

  @media (prefers-reduced-motion: reduce) {
    .pricing-tier.popular .pricing-card-shell::before { animation: none; }
  }
}

@keyframes shine-pulse {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

.pricing-card-content {
  display: grid;
  gap: 14px;
  grid-template-rows: auto auto auto auto 1fr auto;
  min-height: 100%;
  padding: 20px;
  position: relative;
}

.pricing-badge {
  background: var(--brand-grad);
  border: 0;
  border-radius: 999px;
  box-shadow: var(--glow-soft);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  position: absolute;
  right: 16px;
  text-transform: uppercase;
  top: -12px;
}

.pricing-icon {
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--tier-color);
  display: inline-flex;
  height: 50px;
  justify-content: center;
  width: 50px;
}

.pricing-icon svg {
  fill: none;
  height: 24px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  width: 24px;
}

.pricing-tier h3,
.pricing-tier p {
  margin: 0;
}

.pricing-tier h3 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.pricing-tier p {
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.pricing-price {
  align-items: baseline;
  display: flex;
  gap: 8px;
}

.pricing-price span {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.pricing-price small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-tier ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pricing-tier li {
  align-items: center;
  color: var(--ink);
  display: flex;
  font-size: 0.93rem;
  font-weight: 800;
  gap: 9px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.pricing-tier li span {
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--tier-color);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.75rem;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.pricing-tier .button {
  align-self: end;
  width: 100%;
}

.pricing-tier.popular .button.primary {
  box-shadow: 0 12px 24px rgba(23, 23, 19, 0.16);
}

.pricing-doodle {
  display: none;
}

.pricing-doodle-left {
  left: clamp(22px, 5vw, 78px);
  top: 150px;
  transform: rotate(14deg);
}

.pricing-doodle-right {
  right: clamp(22px, 5vw, 78px);
  top: 150px;
  transform: rotate(-16deg);
}

.catalog-section,
.fulfillment,
.operations,
.admin-shell {
  margin: 0;
  padding: clamp(32px, 4vw, 56px) clamp(20px, 5vw, 72px);
}

.catalog-section,
.fulfillment {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.catalog-section .section-heading {
  max-width: 860px;
}

.operations {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.export-actions {
  margin-top: 18px;
}

.catalog-stats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
  margin: 20px 0 16px;
}

.catalog-toolbar {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(49, 95, 80, 0.09), rgba(36, 76, 124, 0.08)),
    rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(215, 222, 232, 0.92);
  border-radius: 8px;
  box-shadow: var(--ring);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: -6px 0 22px;
  padding: 12px;
}

.catalog-toolbar p {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.4;
  margin: 0;
}

.catalog-stats div,
.city-grid article,
.fulfillment-grid div,
.ops-grid div {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  padding: 16px;
}

.catalog-stats div {
  box-shadow: 0 10px 26px rgba(44, 34, 24, 0.05);
  padding: 14px 16px;
}

.city-grid article {
  display: grid;
  gap: 8px;
  position: relative;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.city-card-head {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.city-card-head strong {
  background: rgba(49, 95, 80, 0.09);
  border: 1px solid rgba(49, 95, 80, 0.16);
  border-radius: 999px;
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 950;
  padding: 5px 8px;
  text-transform: uppercase;
}

.city-grid article:hover {
  border-color: rgba(49, 95, 80, 0.34);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.city-mark {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(49, 95, 80, 0.98), rgba(36, 76, 124, 0.94));
  border-radius: 6px;
  color: #fffaf1;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 900;
  height: 32px;
  justify-content: center;
  width: 40px;
}

.catalog-stats strong {
  display: block;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.9rem;
}

.catalog-stats span,
.city-grid p,
.fulfillment-grid p,
.ops-grid p {
  color: var(--muted);
  line-height: 1.45;
}

.city-grid {
  display: grid;
  gap: 12px;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(3, 1fr);
}

.city-grid h3,
.city-grid p {
  margin: 0 0 8px;
}

.city-grid p {
  font-size: 0.96rem;
}

.city-grid p span {
  color: var(--green);
  display: block;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.fulfillment-grid,
.ops-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.fulfillment-grid {
  counter-reset: fulfillment-step;
}

.fulfillment-grid div {
  min-height: 100%;
  overflow: hidden;
  padding-top: 50px;
  position: relative;
}

.fulfillment-grid div::before {
  align-items: center;
  background: rgba(49, 95, 80, 0.09);
  border: 1px solid rgba(49, 95, 80, 0.18);
  border-radius: 999px;
  color: var(--green);
  content: counter(fulfillment-step, decimal-leading-zero);
  counter-increment: fulfillment-step;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 950;
  height: 28px;
  justify-content: center;
  left: 16px;
  letter-spacing: 0.04em;
  position: absolute;
  top: 14px;
  width: 40px;
}

.fulfillment-grid h3,
.ops-grid h3 {
  margin: 0 0 8px;
}

.city-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
  gap: 8px;
  max-height: clamp(230px, 32svh, 330px);
  overflow: auto;
  padding: 4px 4px 10px 2px;
  scroll-padding: 8px;
}

.city-choice {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "mark name"
    "mark flavor";
  align-items: center;
  gap: 2px 10px;
  min-height: 68px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 252, 244, 0.92);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(40, 34, 22, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.city-choice:hover,
.city-choice:focus-visible {
  transform: translateY(-1px);
  border-color: var(--green);
  outline: none;
}

.city-choice.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fffaf0;
}

.city-choice span {
  grid-area: mark;
  display: inline-grid;
  place-items: center;
  inline-size: 34px;
  block-size: 34px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.city-choice strong {
  grid-area: name;
  font-size: 0.94rem;
  line-height: 1.05;
}

.city-choice small {
  grid-area: flavor;
  color: inherit;
  opacity: 0.72;
  font-size: 0.72rem;
  line-height: 1.18;
}

.admin-shell {
  margin-top: 34px;
}

.admin-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

.admin-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
}

.orders-panel,
.order-detail {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.orders-panel h3,
.order-detail h3 {
  margin: 0 0 12px;
}

.orders-list {
  display: grid;
  gap: 8px;
}

.order-row {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 4px;
  padding: 12px;
  text-align: left;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.order-row:hover {
  border-color: rgba(49, 95, 80, 0.38);
  box-shadow: 0 12px 26px rgba(35, 31, 26, 0.08);
  transform: translateY(-1px);
}

.order-row.is-active {
  background:
    linear-gradient(135deg, rgba(49, 95, 70, 0.1), rgba(197, 139, 51, 0.08)),
    #fff;
  border-color: rgba(49, 95, 80, 0.42);
  box-shadow: inset 4px 0 0 var(--green), 0 14px 32px rgba(35, 31, 26, 0.08);
}

.order-row span,
.order-row small {
  color: var(--muted);
}

.empty-state {
  background: rgba(255, 250, 241, 0.72);
  border: 1px dashed rgba(51, 42, 30, 0.18);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
  padding: 18px;
  text-align: center;
}

pre {
  background: #1f1b18;
  border: 1px solid rgba(255, 250, 241, 0.1);
  border-radius: 8px;
  color: #fffaf1;
  font-size: 0.78rem;
  line-height: 1.45;
  margin: 0;
  max-height: 720px;
  overflow: auto;
  padding: 16px;
  white-space: pre-wrap;
}

@media (max-width: 1100px) {
  .hero,
  .personalization-section,
  .activity-orbit-section,
  .globe-panel,
  .city-map-panel,
  .panel-showcase {
    grid-template-columns: 1fr;
  }

  .hero-studio {
    min-height: 520px;
  }

  .activity-orbit-stage {
    min-height: 450px;
  }

  .personalization-board {
    grid-template-columns: 1fr;
  }

  .personalization-card {
    min-height: 0;
  }

  .globe-stage {
    justify-self: center;
    max-width: 520px;
    width: 100%;
  }

  .city-map-shell {
    min-height: 460px;
  }

  .panel-stack-stage {
    justify-self: center;
    max-width: 640px;
    width: 100%;
  }

  .poster {
    max-width: min(620px, 100%);
  }

  .design-gallery {
    grid-template-columns: 1fr;
  }

  .design-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: static;
  }
}

@media (max-width: 900px) {
  .workspace {
    grid-template-columns: 1fr;
  }

  .controls,
  .preview-wrap {
    height: auto;
    max-height: none;
    overflow: visible;
    position: static;
  }

  .poster-stage {
    min-height: min(880px, 86svh);
  }

  .poster {
    max-height: none;
    width: min(100%, 620px);
  }
}

@media (max-width: 760px) {
  .app-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    position: static;
  }

  .brand-lockup,
  nav {
    min-width: 0;
    width: 100%;
  }

  nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 4px;
    scrollbar-width: none;
  }

  nav a {
    align-items: center;
    display: inline-flex;
    font-size: 0.78rem;
    justify-content: center;
    line-height: 1.15;
    min-height: 44px;
    padding: 8px 14px;
    text-align: center;
    white-space: nowrap;
  }

  /* Comfortable touch targets for the poster zoom controls */
  .poster-zoom-button {
    height: 36px;
    width: 36px;
  }

  .poster-zoom-label {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-height: 36px;
  }

  .hero {
    gap: 16px;
    padding-top: 24px;
  }

  .hero-copy {
    padding: 26px;
  }

  .hero h2 {
    font-size: clamp(2.45rem, 11vw, 3.8rem);
    line-height: 1;
    text-wrap: wrap;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-readiness span {
    font-size: 0.64rem;
    padding: 7px 8px;
  }

  .hero-workflow {
    grid-template-columns: 1fr;
  }

  .design-card-copy {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .design-card-action {
    grid-column: 1 / -1;
  }

  .design-feature {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .design-feature-copy {
    align-content: start;
    padding: 8px 0 0;
  }

  .design-feature-copy h3 {
    font-size: clamp(2.3rem, 13vw, 3.7rem);
    max-width: 11ch;
  }

  .design-feature-preview {
    min-height: clamp(520px, 132vw, 690px);
    padding: 12px;
  }

  .featured-poster {
    height: clamp(500px, 126vw, 670px);
  }

  .design-card-list {
    grid-template-columns: 1fr;
  }

  .design-card-list .design-card {
    grid-template-columns: minmax(0, 1fr) 104px;
  }

  .activity-orbit-section {
    margin: 0 20px 24px;
    min-height: 0;
    padding: 20px;
  }

  .personalization-section {
    margin: 0;
    min-height: 0;
    padding: 28px 20px;
  }

  .personalization-copy h2 {
    font-size: clamp(2rem, 9.4vw, 3rem);
  }

  .personalization-copy p {
    font-size: 1rem;
  }

  .activity-orbit-stage {
    min-height: 360px;
  }

  .activity-orbit-copy h2 {
    font-size: clamp(2rem, 9.4vw, 3rem);
  }

  .activity-orbit-copy p {
    font-size: 1rem;
  }

  .orbit-content {
    top: 34%;
  }

  .orbit-content span {
    display: none;
  }

  .orbit-card {
    height: 82px;
    width: 58px;
  }

  .orbit-card-face {
    border-radius: 7px;
    padding: 6px;
  }

  .orbit-card small {
    font-size: 0.26rem;
  }

  .orbit-card strong {
    font-size: 0.56rem;
  }

  .orbit-card-back strong {
    font-size: 0.44rem;
  }

  .globe-section {
    margin: 0 20px 24px;
  }

  .city-map-section {
    margin: 0 20px 24px;
  }

  .pricing-section {
    margin: 0 20px 24px;
  }

  .panel-showcase {
    margin: 0 20px 24px;
    min-height: 0;
    padding: 20px;
  }

  .globe-panel {
    min-height: 0;
    padding: 20px;
  }

  .city-map-panel {
    min-height: 0;
    padding: 20px;
  }

  .city-map-shell {
    min-height: 360px;
  }

  .globe-copy .section-heading h2,
  .city-map-copy .section-heading h2,
  .panel-showcase-copy .section-heading h2 {
    font-size: clamp(2rem, 9.4vw, 3rem);
  }

  .city-map-copy .section-heading p,
  .panel-showcase-copy .section-heading p {
    font-size: 1rem;
  }

  .city-map-marker.is-featured .marker-label {
    display: none;
  }

  .city-map-marker.is-active .marker-label {
    display: inline-flex;
  }

  .city-map-status {
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .panel-stack-stage {
    aspect-ratio: 1 / 1;
    min-height: 330px;
  }

  .globe-metrics {
    grid-template-columns: 1fr;
  }

  .preview-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .smart-setting {
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
  }

  .smart-setting > .segmented-options {
    grid-column: 1;
  }

  .poster-stage {
    min-height: 70svh;
    padding: 10px;
  }

  .toolbar-actions {
    justify-content: flex-start;
  }

  .control-row,
  .name-pair,
  .design-options,
  .checkout-metrics,
  .design-gallery,
  .style-showcase,
  .pricing-grid,
  .catalog-stats,
  .city-grid,
  .fulfillment-grid,
  .ops-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .name-pair > span {
    min-height: auto;
    padding: 0;
  }

  .builder-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .builder-step-tab {
    min-height: 62px;
  }

  .catalog-toolbar {
    align-items: stretch;
    display: grid;
    gap: 12px;
  }

  .catalog-toolbar .button {
    width: 100%;
  }

  .pricing-tier,
  .pricing-tier:nth-child(2),
  .pricing-tier:nth-child(3) {
    transform: none;
  }

  .pricing-heading-mark,
  .pricing-doodle,
  .style-hover-preview {
    display: none;
  }

  .poster {
    border-width: 8px;
    padding: 14px;
  }

  .hero-studio {
    min-height: 430px;
    padding: 20px;
  }

  .hero-visual-label {
    justify-self: center;
    margin-bottom: -10px;
    max-width: 210px;
  }

  .hero-poster-stack {
    max-width: min(240px, 78vw);
  }

  .hero-proof div {
    padding: 10px 8px;
  }

  .hero-proof dt {
    font-size: 1.2rem;
  }

  .hero-proof dd {
    font-size: 0.58rem;
  }

  .poster-category li {
    grid-template-columns: 13px 1fr;
  }

}

@media (max-width: 420px) {
  .app-header {
    padding-inline: 16px;
  }

  .brand-kicker {
    font-size: 0.62rem;
  }

  .app-header h1 {
    font-size: 1.15rem;
  }

  nav {
    margin-inline: -4px;
    width: calc(100% + 8px);
  }

  .hero,
  .personalization-section,
  .activity-orbit-section,
  .workspace {
    padding-inline: 16px;
  }

  .hero-copy,
  .personalization-board,
  .activity-orbit-section,
  .controls,
  .preview-wrap,
  .globe-panel,
  .city-map-panel,
  .panel-showcase,
  .design-showcase,
  .style-showcase,
  .pricing-section,
  .catalog-section,
  .fulfillment {
    padding: 18px;
  }

  .hero h2 {
    font-size: clamp(2.35rem, 10.5vw, 3.25rem);
  }

  .design-feature-preview {
    min-height: clamp(460px, 130vw, 620px);
  }

  .featured-poster {
    height: clamp(445px, 124vw, 600px);
    padding: 12px;
  }

  .design-card-list .design-card {
    grid-template-columns: minmax(0, 1fr) 90px;
    padding: 10px;
  }

  .design-card-list .design-card-preview {
    min-height: 126px;
  }

  .design-card-list .mini-poster {
    height: 116px;
  }

  .hero-poster-front {
    gap: 12px;
    padding: 24px 18px;
  }

  .hero-poster-front strong {
    font-size: 1.7rem;
  }

  .hero-poster-front span {
    font-size: 0.58rem;
  }

  .globe-label {
    font-size: 0.48rem;
    padding: 3px 5px;
  }

  .panel-stack-stage {
    min-height: 286px;
  }

  .shopify-checkout .control-actions,
  .hero-actions,
  .control-actions {
    display: grid;
  }
}

@media (max-width: 520px) {
  .name-pair {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .name-pair > span,
  .name-amp {
    min-height: 18px;
    padding: 0;
  }

  .city-choice-grid {
    grid-template-columns: 1fr;
    max-height: none;
    overflow: visible;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .button::before {
    transition: none;
  }

  .button:hover {
    transform: none;
  }

  .inline-highlight-word,
  .inline-highlight-word::after,
  .city-map-canvas,
  .marker-dot,
  .map-control,
  .style-hover-preview,
  .style-index-row::before,
  .style-index-row h3 span,
  .style-index-row h3 svg,
  .orbit-card,
  .orbit-card-inner,
  .orbit-intro,
  .orbit-content {
    animation: none;
    transition: none;
  }

  .inline-highlight-word {
    color: var(--inline-highlight-color);
  }

  .inline-highlight-word::after {
    opacity: 1;
    transform: scaleX(1);
  }
}

@media print {
  body {
    background: white;
  }

  .app-header,
  .hero,
  .personalization-section,
  .activity-orbit-section,
  .city-map-section,
  .controls,
  .preview-toolbar,
  .design-showcase,
  .style-showcase,
  .pricing-section,
  .catalog-section,
  .fulfillment,
  .operations {
    display: none;
  }

  .workspace,
  .preview-wrap {
    display: block;
    margin: 0;
    padding: 0;
  }

  .poster-stage,
  .poster-mat {
    background: transparent;
    border: 0;
    display: block;
    height: auto;
    margin: 0;
    padding: 0;
  }

  .poster {
    border-width: 10px;
    box-shadow: none;
    height: 10in;
    max-width: none;
    width: 7.5in;
  }

  .poster.canvas-poster {
    border: 0;
    height: 10.5in;
    max-height: none;
    max-width: none;
    padding: 0.39in;
    width: 7in;
  }
}

/* ---- Main site polish: real-poster strip, footer, checkout cleanup ---- */
.poster-strip {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(40px, 6vw, 84px) clamp(20px, 4vw, 56px) clamp(28px, 4vw, 56px);
}

.poster-strip-row {
  display: grid;
  gap: clamp(14px, 2.4vw, 26px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(20px, 3vw, 34px);
}

.poster-strip-row a {
  color: var(--ink, #1c1a16);
  display: grid;
  gap: 10px;
  justify-items: center;
  text-decoration: none;
}

.poster-strip-row img {
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(51, 42, 30, 0.14);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(47, 44, 35, 0.16);
  height: auto;
  object-fit: cover;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}

.poster-strip-row a:hover img {
  box-shadow: 0 20px 44px rgba(47, 44, 35, 0.22);
  transform: translateY(-4px);
}

.poster-strip-row span {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.poster-strip-more {
  margin-top: clamp(16px, 2.4vw, 26px);
  text-align: center;
}

.poster-strip-more a {
  color: #a43f4b;
  font-weight: 700;
  text-decoration: none;
}

.poster-strip-more a:hover {
  text-decoration: underline;
}

@media (max-width: 760px) {
  .poster-strip-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.site-footer {
  background: linear-gradient(180deg, rgba(28, 23, 18, 0.97), #181410);
  color: rgba(255, 248, 238, 0.86);
  margin-top: clamp(36px, 5vw, 72px);
  padding: clamp(34px, 5vw, 60px) clamp(20px, 5vw, 72px) clamp(22px, 3vw, 34px);
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(22px, 4vw, 56px);
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
}

.site-footer-brand strong {
  color: #fff;
  display: block;
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.site-footer-brand p {
  margin: 0;
  max-width: 44ch;
  opacity: 0.82;
}

.site-footer-links {
  display: grid;
  gap: 10px;
  align-content: start;
}

.site-footer-links a {
  color: rgba(255, 248, 238, 0.92);
  font-weight: 600;
  text-decoration: none;
}

.site-footer-links a:hover {
  color: #ffb27d;
  text-decoration: underline;
}

.site-footer-legal {
  border-top: 1px solid rgba(255, 248, 238, 0.14);
  font-size: 0.85rem;
  margin: clamp(22px, 3vw, 34px) auto 0;
  max-width: 1180px;
  opacity: 0.6;
  padding-top: 16px;
}

/* Checkout step: warm summary card, single CTA in the wizard bar */
.shopify-checkout {
  background: linear-gradient(170deg, #2c231b, #211a14);
  border-color: #2c231b;
}

#shopifyCheckoutButton {
  display: none;
}

/* Mobile: keep the three step chips on one row */
@media (max-width: 560px) {
  .builder-step-tab {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    padding: 9px 10px;
  }
}

.site-footer-links {
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.site-footer-links a {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

@media (max-width: 560px) {
  .builder-flow {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .builder-flow li {
    display: contents;
  }

  .builder-step-tab {
    justify-content: center;
    width: 100%;
  }
}
