/* Pole Studio Manager — 2026 redesign
   Design tokens: "Strength & Grace"
   Display (strength): Big Shoulders Display, uppercase, condensed
   Accent (grace):     Instrument Serif italic
   Body:               Hanken Grotesk
*/

:root {
  --ink: #1b1422;
  --ink-2: #54485d;
  --ink-3: #7a6e82;
  --ground: #fbf8f9;
  --surface: #ffffff;
  --surface-2: #f4eef3;
  --surface-3: #ece3ea;
  --line: #e4dae2;
  --line-strong: #cfc2cc;
  --silk: #c81e55;
  --silk-deep: #9d1543;
  --silk-soft: #fde6ee;
  --silk-ink: #ffffff;
  --plum: #24122f;
  --plum-2: #341c44;
  --plum-3: #4a2b5e;
  --on-plum: #f7f0f7;
  --on-plum-2: #cdbdd4;
  --marigold: #f3a51f;
  --marigold-soft: #fff1d6;
  --success: #17875c;
  --success-soft: #e3f5ec;
  --warn: #b86a00;
  --chrome: linear-gradient(90deg, #7d8592 0%, #e9edf2 38%, #ffffff 50%, #b9c0ca 68%, #7d8592 100%);
  --shadow-1: 0 1px 2px rgba(36, 18, 47, .06), 0 2px 8px rgba(36, 18, 47, .05);
  --shadow-2: 0 2px 6px rgba(36, 18, 47, .06), 0 18px 48px -12px rgba(36, 18, 47, .22);
  --shadow-3: 0 30px 80px -20px rgba(15, 5, 22, .55);

  --display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: .875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.3125rem;
  --step-3: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --step-4: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  --step-5: clamp(3rem, 1.8rem + 5.2vw, 6rem);

  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f4edf5;
    --ink-2: #c3b6c9;
    --ink-3: #9a8ca2;
    --ground: #130c18;
    --surface: #1c1323;
    --surface-2: #22172b;
    --surface-3: #2c1f37;
    --line: #362a41;
    --line-strong: #4b3c58;
    --silk: #ff4f86;
    --silk-deep: #ff79a2;
    --silk-soft: #3a1426;
    --silk-ink: #1b0710;
    --plum: #0d0711;
    --plum-2: #1e1228;
    --plum-3: #2f1d3d;
    --marigold-soft: #33260f;
    --success: #43c98f;
    --success-soft: #11291f;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-2: 0 2px 6px rgba(0, 0, 0, .3), 0 18px 48px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #f4edf5;
  --ink-2: #c3b6c9;
  --ink-3: #9a8ca2;
  --ground: #130c18;
  --surface: #1c1323;
  --surface-2: #22172b;
  --surface-3: #2c1f37;
  --line: #362a41;
  --line-strong: #4b3c58;
  --silk: #ff4f86;
  --silk-deep: #ff79a2;
  --silk-soft: #3a1426;
  --silk-ink: #1b0710;
  --plum: #0d0711;
  --plum-2: #1e1228;
  --plum-3: #2f1d3d;
  --marigold-soft: #33260f;
  --success: #43c98f;
  --success-soft: #11291f;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, .3), 0 18px 48px -12px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: var(--silk); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--silk-deep); }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; text-wrap: balance; color: inherit; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--silk); color: var(--silk-ink); padding: 10px 16px; border-radius: var(--radius-s); z-index: 100; font-weight: 700; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(760px + var(--gutter) * 2); }

/* ---------- Type roles ---------- */
.display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: .92;
}
.grace {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -.01em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--silk);
}
/* the "pole" — a short chrome bar used as the eyebrow mark */
.eyebrow::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: var(--chrome);
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
  flex: none;
}
.lead { font-size: var(--step-2); color: var(--ink-2); line-height: 1.55; max-width: 62ch; }
.muted { color: var(--ink-2); }
.small { font-size: var(--step--1); }

.section-title {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: var(--step-4);
  line-height: .95;
  letter-spacing: .005em;
}
.section-title .grace { font-size: 1.08em; line-height: .8; color: var(--silk); }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--silk);
  --btn-fg: var(--silk-ink);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 2px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 700 var(--step-0)/1 var(--body);
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; transition: transform .18s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { box-shadow: 0 10px 24px -10px rgba(200, 30, 85, .7); }
.btn--primary:hover { --btn-bg: var(--silk-deep); box-shadow: 0 16px 30px -12px rgba(200, 30, 85, .8); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bd: var(--ink); }
.btn--on-dark { --btn-bg: transparent; --btn-fg: var(--on-plum); --btn-bd: rgba(255,255,255,.35); }
.btn--on-dark:hover { --btn-bd: #fff; background: rgba(255,255,255,.06); }
.btn--light { --btn-bg: #fff; --btn-fg: #24122f; }
.btn--light:hover { --btn-bg: #fff; --btn-fg: #c81e55; }
.btn--small { min-height: 42px; padding: 0 18px; font-size: var(--step--1); }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--silk); }
.text-link svg { width: 16px; height: 16px; transition: transform .18s ease; }
.text-link:hover svg { transform: translateX(3px); }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: color-mix(in srgb, var(--ground) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header--dark { background: color-mix(in srgb, var(--plum) 88%, transparent); color: var(--on-plum); }
.site-header--dark.is-scrolled { border-bottom-color: rgba(255,255,255,.08); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; }
.brand:hover { color: inherit; }
.brand__mark { width: 30px; height: 38px; flex: none; }
.brand__word { display: grid; line-height: 1; }
.brand__word b { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 23px; letter-spacing: .02em; }
.brand__word span { font-size: 10.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; opacity: .7; margin-top: 3px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 12px;
  border-radius: 999px;
  opacity: .86;
}
.nav a:not(.btn):hover { opacity: 1; background: color-mix(in srgb, currentColor 8%, transparent); }
.nav a[aria-current="page"] { opacity: 1; box-shadow: inset 0 -2px 0 var(--silk); border-radius: 0; }
.nav .btn { margin-left: 10px; }
.nav__login { font-size: 14px !important; }
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
  background: transparent;
  color: inherit;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 22px; height: 22px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px var(--gutter) 24px;
    background: var(--ground);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 8px; font-size: 17px; border-radius: 8px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--silk); }
  .nav .btn { margin: 14px 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(255, 79, 134, .22), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(243, 165, 31, .10), transparent 60%),
    var(--plum);
  color: var(--on-plum);
  padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 120px);
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 88px));
}
.hero__silks { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .eyebrow { color: #ff8db0; }
.hero h1 { font-size: var(--step-5); margin-top: 18px; }
.hero h1 .grace { display: block; color: #ff8db0; font-size: 1.02em; line-height: .95; margin-top: .06em; }
.hero__lead { margin-top: 24px; font-size: var(--step-2); color: var(--on-plum-2); max-width: 36em; }
.hero .actions { margin-top: 32px; }
.hero__proof { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--on-plum-2); }
.hero__proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof svg { width: 18px; height: 18px; color: #7fe0b3; }

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

/* ---------- Product mockups ---------- */
.mock {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-3);
  border: 1px solid var(--line);
  overflow: hidden;
  font-size: 14px;
  line-height: 1.4;
}
.mock__bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mock__dots { display: flex; gap: 6px; }
.mock__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mock__title { font-weight: 700; font-size: 14px; }
.mock__meta { margin-left: auto; font-size: 12px; color: var(--ink-3); }
.mock__body { padding: 16px 18px 18px; display: grid; gap: 10px; }
.mock-note { font-size: 12px; color: var(--ink-3); text-align: right; padding: 0 18px 12px; }

.class-row {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--surface);
}
.class-row__time { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 15px; line-height: 1.1; }
.class-row__time small { display: block; font-weight: 500; font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.class-row__name { font-weight: 700; font-size: 14.5px; }
.class-row__sub { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.class-row__cap { text-align: right; font-variant-numeric: tabular-nums; font-size: 12.5px; color: var(--ink-2); min-width: 84px; }
.cap-meter { display: flex; gap: 3px; justify-content: flex-end; margin-top: 5px; }
.cap-meter i { width: 6px; height: 14px; border-radius: 2px; background: var(--surface-3); }
.cap-meter i.on { background: var(--silk); }
.cap-meter--full i.on { background: var(--marigold); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.3;
  background: var(--surface-2);
  color: var(--ink-2);
  white-space: nowrap;
}
.chip--silk { background: var(--silk-soft); color: var(--silk-deep); }
.chip--gold { background: var(--marigold-soft); color: var(--warn); }
.chip--ok { background: var(--success-soft); color: var(--success); }
.chip svg { width: 12px; height: 12px; }

.hero__visual { position: relative; padding-top: 22px; }
.hero__visual .mock { transform: rotate(-1.2deg); }
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-2);
  font-size: 13.5px;
  line-height: 1.3;
  max-width: 260px;
}
.float-card b { display: block; font-size: 14px; }
.float-card small { color: var(--ink-3); }
.float-card__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float-card__icon svg { width: 20px; height: 20px; }
.float-card--a { left: -28px; bottom: -26px; }
.float-card--b { right: -14px; top: -34px; }
.float-card--a .float-card__icon { background: var(--success-soft); color: var(--success); }
.float-card--b .float-card__icon { background: var(--silk-soft); color: var(--silk); }
@media (prefers-reduced-motion: no-preference) {
  .float-card--a { animation: bob 6s ease-in-out infinite; }
  .float-card--b { animation: bob 7s ease-in-out -2s infinite; }
}
@keyframes bob { 50% { transform: translateY(-6px); } }
@media (max-width: 960px) {
  .hero__visual { margin-top: 12px; }
  .float-card--a { left: 8px; }
  .float-card--b { right: 8px; }
}
@media (max-width: 520px) {
  .float-card { position: static; margin-top: 12px; max-width: none; }
  .hero__visual .mock { transform: none; }
  .class-row { grid-template-columns: 52px 1fr; }
  .class-row__cap { grid-column: 2; text-align: left; }
  .cap-meter { justify-content: flex-start; }
}

/* ---------- Discipline ribbon (marquee) ---------- */
.ribbon {
  background: var(--silk);
  color: #fff;
  overflow: hidden;
  border-block: 1px solid rgba(0,0,0,.08);
}
.ribbon__track { display: flex; width: max-content; }
.ribbon__list {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 14px;
  list-style: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}
.ribbon__list li { display: inline-flex; align-items: center; gap: 28px; }
.ribbon__list li::after { content: "✦"; font-size: 13px; opacity: .7; }
@media (prefers-reduced-motion: no-preference) {
  .ribbon__track { animation: marquee 48s linear infinite; }
  .ribbon:hover .ribbon__track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
:root[data-theme="dark"] .ribbon { color: #1b0710; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ribbon { color: #1b0710; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }
.section--soft { background: var(--surface-2); }
.section--white { background: var(--surface); }
.section--dark {
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(255, 79, 134, .16), transparent 60%),
    var(--plum);
  color: var(--on-plum);
}
.section--dark .lead, .section--dark .muted { color: var(--on-plum-2); }
.section--dark .eyebrow { color: #ff8db0; }
.section--dark .section-title .grace { color: #ff8db0; }

/* Why vertical studios are different */
.truths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.truth { display: grid; gap: 14px; align-content: start; padding-top: 22px; border-top: 2px solid var(--ink); }
.truth__stat { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: .9; color: var(--silk); text-transform: uppercase; }
.truth__stat small { font-size: 22px; letter-spacing: .02em; color: var(--ink); margin-left: 4px; }
.truth h3 { font-size: 22px; line-height: 1.2; }
.truth p { color: var(--ink-2); font-size: 17px; }
@media (max-width: 820px) { .truths { grid-template-columns: 1fr; } }

/* ---------- Feature tour (tabs) ---------- */
.tour { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.tour__tabs { display: grid; gap: 6px; }
.tour__tab {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 14px;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  border-radius: var(--radius-m);
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.tour__tab:hover { background: var(--surface); }
.tour__tab[aria-selected="true"] { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-1); }
.tour__tab-icon { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-3); color: var(--ink-2); transition: background-color .2s ease, color .2s ease; }
.tour__tab[aria-selected="true"] .tour__tab-icon { background: var(--silk); color: #fff; }
.tour__tab b { font-size: 17px; line-height: 1.25; }
.tour__tab span:last-child { font-size: 14.5px; color: var(--ink-2); line-height: 1.4; }
.tour__tab:not([aria-selected="true"]) span:last-child { display: none; }
.tour__panel { display: grid; gap: 22px; }
.tour__panel[hidden] { display: none; }
.tour__caption { display: grid; gap: 10px; }
.tour__caption h3 { font-size: var(--step-3); line-height: 1.15; }
.tour__caption ul { list-style: none; display: grid; gap: 8px; }
.tour__caption li { display: flex; gap: 10px; color: var(--ink-2); font-size: 16.5px; }
.tour__caption li svg { width: 20px; height: 20px; color: var(--silk); flex: none; margin-top: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .tour__panel:not([hidden]) .mock { animation: rise .45s cubic-bezier(.2,.7,.2,1); }
}
@keyframes rise { from { opacity: .4; transform: translateY(10px); } }
@media (max-width: 900px) {
  .tour { grid-template-columns: 1fr; }
  .tour__tabs { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .tour__tab { grid-template-columns: 34px auto; padding: 10px 14px; }
  .tour__tab-icon { width: 34px; height: 34px; grid-row: auto; border-radius: 10px; }
  .tour__tab span:last-child { display: none !important; }
}

/* Mock specifics */
.level-ladder { display: grid; gap: 8px; }
.level-step { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 11px 14px; border-radius: var(--radius-m); border: 1px solid var(--line); background: var(--surface); }
.level-step__n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 18px; background: var(--surface-3); color: var(--ink-2); }
.level-step--done .level-step__n { background: var(--success); color: #fff; }
.level-step--next .level-step__n { background: var(--silk); color: #fff; }
.level-step--locked { opacity: .62; }
.level-step b { font-size: 14.5px; }
.level-step small { display: block; color: var(--ink-3); font-size: 12.5px; }

.phone {
  width: min(300px, 100%);
  margin-inline: auto;
  border-radius: 36px;
  padding: 10px;
  background: #16091d;
  box-shadow: var(--shadow-3);
}
.phone__screen { border-radius: 28px; overflow: hidden; background: var(--surface); color: var(--ink); font-size: 13.5px; }
.phone__top { padding: 16px 16px 12px; background: var(--plum-2); color: var(--on-plum); }
.phone__top small { opacity: .7; font-size: 11.5px; }
.phone__top b { display: block; font-size: 17px; margin-top: 2px; }
.phone__days { display: flex; gap: 6px; margin-top: 12px; }
.phone__days span { flex: 1; text-align: center; padding: 6px 0; border-radius: 10px; font-size: 11px; line-height: 1.2; background: rgba(255,255,255,.08); }
.phone__days span b { display: block; font-size: 14px; margin: 0; }
.phone__days span.on { background: #ff4f86; color: #fff; }
.phone__list { padding: 12px; display: grid; gap: 8px; }
.phone-class { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: grid; gap: 6px; }
.phone-class__top { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; }
.phone-class__top small { font-weight: 500; color: var(--ink-3); }
.phone-class__btn { justify-self: start; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--silk); color: #fff; }
.phone-class__btn--wait { background: var(--marigold-soft); color: var(--warn); }
.phone-class__btn--lock { background: var(--surface-3); color: var(--ink-3); }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 14px; display: grid; gap: 4px; align-content: start; }
.plan--pop { border-color: var(--silk); box-shadow: 0 0 0 1px var(--silk) inset; }
.plan small { color: var(--ink-3); font-size: 12px; }
.plan b { font-size: 14.5px; }
.plan .price { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1; margin-top: 6px; }
.plan .price small { font-family: var(--body); font-size: 12px; font-weight: 600; }
.ledger { display: grid; border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.ledger div { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; padding: 10px 14px; font-size: 13.5px; align-items: center; border-top: 1px solid var(--line); }
.ledger div:first-child { border-top: 0; background: var(--surface-2); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.ledger .num { font-variant-numeric: tabular-nums; text-align: right; }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

.waiver { display: grid; gap: 12px; }
.waiver__doc { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 16px; background: var(--surface-2); font-size: 13px; color: var(--ink-2); line-height: 1.55; }
.waiver__doc b { color: var(--ink); display: block; font-size: 14px; margin-bottom: 6px; }
.waiver__sig { border-bottom: 2px solid var(--ink); padding: 6px 4px; font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.1; color: var(--ink); }
.waiver__foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-3); }

.calendar { display: grid; grid-template-columns: 54px repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; font-size: 12.5px; }
.calendar > div { padding: 8px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); min-height: 50px; }
.calendar .h { background: var(--surface-2); font-weight: 700; min-height: 0; border-top: 0; }
.calendar .t { border-left: 0; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.calendar .ev { border-radius: 8px; padding: 6px 8px; font-weight: 700; line-height: 1.25; }
.calendar .ev small { display: block; font-weight: 500; opacity: .8; }
.ev--party { background: var(--marigold-soft); color: var(--warn); }
.ev--priv { background: var(--silk-soft); color: var(--silk-deep); }
.ev--room { background: var(--success-soft); color: var(--success); }
.ev--ws { background: var(--surface-3); color: var(--ink); }

.staff { display: grid; gap: 8px; }
.staff-row { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-m); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 14px; }
.staff-row b { font-size: 14.5px; }
.staff-row small { display: block; color: var(--ink-3); font-size: 12.5px; }

/* ---------- Journey (real sequence) ---------- */
.journey { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; counter-reset: step; position: relative; }
.journey::before { content: ""; position: absolute; left: 3%; right: 3%; top: 27px; height: 4px; border-radius: 2px; background: var(--chrome); opacity: .55; }
.journey li { position: relative; display: grid; gap: 10px; justify-items: start; padding-right: 18px; counter-increment: step; }
.journey__dot { width: 58px; height: 58px; border-radius: 50%; background: var(--plum-2); border: 2px solid rgba(255,255,255,.18); display: grid; place-items: center; color: #ff8db0; position: relative; z-index: 1; }
.journey__dot svg { width: 26px; height: 26px; }
.journey li:last-child .journey__dot { background: #ff4f86; color: #fff; border-color: transparent; }
.journey b { font-size: 17px; line-height: 1.25; }
.journey b::before { content: counter(step) ". "; color: #ff8db0; }
.journey p { font-size: 15px; color: var(--on-plum-2); }
@media (max-width: 980px) {
  .journey { grid-template-columns: 1fr; gap: 22px; }
  .journey::before { left: 27px; right: auto; top: 10px; bottom: 10px; width: 4px; height: auto; background: linear-gradient(180deg, #7d8592, #e9edf2 45%, #7d8592); }
  .journey li { grid-template-columns: 58px 1fr; column-gap: 18px; align-items: start; padding-right: 0; }
  .journey__dot { grid-row: span 2; }
}

/* ---------- Studio types ---------- */
.studios { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.studio-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  padding: 26px 24px 24px;
  border-radius: var(--radius-l);
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}
.studio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-strong); color: var(--ink); }
.studio-card__art { height: 120px; margin: -26px -24px 6px; background: var(--plum-2); position: relative; overflow: hidden; }
.studio-card__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.studio-card h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: .95; }
.studio-card p { color: var(--ink-2); font-size: 15.5px; }
.studio-card .text-link { font-size: 15px; }
@media (max-width: 1040px) { .studios { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .studios { grid-template-columns: 1fr; } }

/* ---------- Revenue streams ---------- */
.earn { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.earn__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.earn__list li { display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); }
.earn__list li:nth-child(odd) { border-right: 1px solid var(--line); }
.earn__list li:nth-child(even) { padding-left: 20px; }
.earn__list svg { grid-row: span 2; width: 26px; height: 26px; color: var(--silk); margin-top: 2px; }
.earn__list b { font-size: 17px; }
.earn__list span { font-size: 15px; color: var(--ink-2); }
@media (max-width: 900px) { .earn { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .earn__list { grid-template-columns: 1fr; }
  .earn__list li:nth-child(odd) { border-right: 0; }
  .earn__list li:nth-child(even) { padding-left: 0; }
}

/* ---------- Founder story ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.story__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--plum-2);
}
.story__portrait img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.05); }
.story__portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(36,18,47,.85)); }
.story__tag { position: absolute; left: 20px; bottom: 18px; right: 20px; z-index: 1; color: #fff; font-size: 14px; }
.story__tag b { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: 1; }
.story blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.15; letter-spacing: -.01em; }
.story blockquote::before { content: "“"; display: block; font-size: 2.4em; line-height: .6; color: var(--silk); height: .4em; }
.story__body { display: grid; gap: 20px; }
.draft-flag { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--warn); background: var(--marigold-soft); border-radius: 999px; padding: 4px 10px; justify-self: start; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story__portrait { aspect-ratio: 16 / 10; } }

/* Testimonial slots */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.quote-slot { border: 2px dashed var(--line-strong); border-radius: var(--radius-l); padding: 24px; display: grid; gap: 14px; align-content: start; background: var(--surface); }
.quote-slot p { font-family: var(--serif); font-size: 22px; line-height: 1.3; color: var(--ink-2); }
.quote-slot footer { font-size: 14px; color: var(--ink-3); }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.price-panel {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
}
.price-panel__main { padding: clamp(28px, 4vw, 48px); background: var(--plum); color: var(--on-plum); display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden; }
.price-panel__main::after { content: ""; position: absolute; right: 36px; top: 0; bottom: 0; width: 6px; background: var(--chrome); opacity: .35; }
.price-amount { display: flex; align-items: flex-start; gap: 4px; font-family: var(--display); font-weight: 800; line-height: .85; }
.price-amount sup { font-size: 36px; margin-top: 10px; }
.price-amount strong { font-size: 124px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.price-amount span { align-self: flex-end; font-family: var(--body); font-weight: 600; font-size: 16px; color: var(--on-plum-2); margin-bottom: 14px; margin-left: 6px; }
.price-panel__main p { color: var(--on-plum-2); font-size: 16px; }
.price-panel__detail { padding: clamp(28px, 4vw, 48px); display: grid; gap: 22px; align-content: start; }
.checks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.checks li { display: flex; gap: 10px; font-size: 16px; line-height: 1.4; }
.checks svg { width: 20px; height: 20px; color: var(--success); flex: none; margin-top: 1px; }
.checks--single { grid-template-columns: 1fr; }
@media (max-width: 860px) { .price-panel { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .checks { grid-template-columns: 1fr; } .price-amount strong { font-size: 96px; } }

.calc { display: grid; gap: 14px; padding: 20px; border-radius: var(--radius-m); background: var(--surface-2); }
.calc__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.calc label { font-weight: 700; font-size: 15px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); }
.stepper button { width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); font-size: 22px; cursor: pointer; border-radius: 999px; }
.stepper button:hover { background: var(--surface-3); }
.stepper output { min-width: 34px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; font-size: 18px; }
.calc__total { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.calc__total small { font-family: var(--body); font-size: 15px; font-weight: 600; color: var(--ink-2); }
.calc__note { font-size: 14px; color: var(--ink-2); }

/* ---------- Demo / form ---------- */
.demo {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(80% 70% at 0% 0%, rgba(255, 79, 134, .20), transparent 60%),
    radial-gradient(60% 60% at 100% 100%, rgba(243, 165, 31, .10), transparent 60%),
    var(--plum);
  color: var(--on-plum);
}
.demo__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.demo .eyebrow { color: #ff8db0; }
.demo .section-title .grace { color: #ff8db0; }
.demo .lead { color: var(--on-plum-2); }
.demo-includes { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.demo-includes li { display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; }
.demo-includes svg { grid-row: span 2; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.07); color: #ff8db0; }
.demo-includes b { font-size: 17px; }
.demo-includes span { font-size: 15px; color: var(--on-plum-2); }
.guide-card { margin-top: 28px; display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 18px; border-radius: var(--radius-m); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.guide-card__face { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #ff4f86, #f3a51f); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 24px; color: #fff; }
.guide-card p { font-size: 15px; color: var(--on-plum-2); }
.guide-card b { color: var(--on-plum); }
.guide-card a { color: #ff8db0; font-weight: 700; }
@media (max-width: 900px) { .demo__grid { grid-template-columns: 1fr; } }

.form-card {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-l);
  padding: clamp(24px, 3.4vw, 40px);
  box-shadow: var(--shadow-3);
  border: 1px solid var(--line);
}
.form-card__head { display: grid; gap: 6px; margin-bottom: 22px; }
.form-card__head h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 34px; line-height: .95; }
.form-card__head p { color: var(--ink-2); font-size: 15.5px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: 14.5px; padding: 0; }
.field .hint { font-weight: 500; color: var(--ink-3); font-size: 13px; }
.field input, .field textarea, .field select {
  width: 100%;
  font: 500 16px/1.4 var(--body);
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  padding: 13px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--silk); box-shadow: 0 0 0 4px color-mix(in srgb, var(--silk) 18%, transparent); }
.field.is-invalid input { border-color: #d0342c; }
.field .err { color: #d0342c; font-size: 13.5px; font-weight: 600; display: none; }
.field.is-invalid .err { display: block; }
.field.is-valid input { border-color: var(--success); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  user-select: none;
  transition: all .15s ease;
}
.pick label:hover { border-color: var(--ink-2); }
.pick input:checked + label { background: var(--silk); border-color: var(--silk); color: #fff; }
.pick input:focus-visible + label { outline: 3px solid var(--marigold); outline-offset: 2px; }
.pick--small label { padding: 7px 12px; font-size: 13.5px; }
.pick--small input:checked + label { background: var(--plum-2); border-color: var(--plum-2); color: #fff; }
:root[data-theme="dark"] .pick--small input:checked + label { background: var(--silk); border-color: var(--silk); }
.form-foot { display: grid; gap: 12px; margin-top: 22px; }
.form-foot .btn { width: 100%; min-height: 58px; font-size: 17px; }
.form-assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 13.5px; color: var(--ink-2); }
.form-assure span { display: inline-flex; gap: 6px; align-items: center; }
.form-assure svg { width: 15px; height: 15px; color: var(--success); }
.form-legal { font-size: 12.5px; color: var(--ink-3); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.progress { display: flex; gap: 6px; margin-bottom: 18px; }
.progress i { flex: 1; height: 5px; border-radius: 3px; background: var(--surface-3); transition: background-color .3s ease; }
.progress i.on { background: var(--silk); }

.success { display: grid; gap: 18px; }
.success[hidden] { display: none; }
.success__badge { width: 64px; height: 64px; border-radius: 50%; background: var(--success-soft); color: var(--success); display: grid; place-items: center; }
.success__badge svg { width: 32px; height: 32px; }
.success h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 38px; line-height: .95; }
.success ol { list-style: none; display: grid; gap: 12px; padding: 0; margin: 0; counter-reset: s; }
.success li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: 12px; font-size: 15.5px; color: var(--ink-2); }
.success li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--ink); font-weight: 800; font-size: 14px; }
.success li b { color: var(--ink); }
.success__note { font-size: 13.5px; padding: 12px 14px; border-radius: 10px; background: var(--marigold-soft); color: var(--ink-2); }

/* ---------- Final CTA ---------- */
.final {
  text-align: center;
  padding-block: clamp(80px, 11vw, 140px);
  background: var(--silk);
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.final::before, .final::after { content: ""; position: absolute; top: 0; bottom: 0; width: 8px; background: var(--chrome); opacity: .55; z-index: -1; }
.final::before { left: 12%; }
.final::after { right: 12%; }
.final h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: var(--step-5); line-height: .9; }
.final h2 .grace { display: block; font-size: .92em; }
.final p { margin: 22px auto 34px; max-width: 34em; font-size: var(--step-2); opacity: .92; }
.final .btn--light { min-height: 60px; padding: 0 34px; font-size: 18px; }
:root[data-theme="dark"] .final { color: #1b0710; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .final { color: #1b0710; } }
@media (max-width: 700px) { .final::before { left: 6%; } .final::after { right: 6%; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(255, 79, 134, .22), transparent 60%),
    var(--plum);
  color: var(--on-plum);
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + clamp(48px, 7vw, 96px));
  padding-bottom: clamp(56px, 7vw, 96px);
}
.page-hero .eyebrow { color: #ff8db0; }
.page-hero h1 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.8rem, 1.8rem + 4vw, 5.2rem); line-height: .92; margin-top: 18px; max-width: 15em; }
.page-hero h1 .grace { color: #ff8db0; }
.page-hero .lead { color: var(--on-plum-2); margin-top: 22px; }
.page-hero .actions { margin-top: 30px; }
.page-hero__pole { position: absolute; right: 9%; top: 0; bottom: 0; width: 10px; background: var(--chrome); opacity: .4; z-index: -1; }
.page-hero__pole::before { content: ""; position: absolute; left: -6px; right: -6px; top: 0; height: 22px; border-radius: 0 0 6px 6px; background: var(--chrome); }
@media (max-width: 700px) { .page-hero__pole { right: 16px; width: 6px; opacity: .25; } }

/* Jump nav */
.jump { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 40; background: color-mix(in srgb, var(--ground) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.jump ul { list-style: none; display: flex; gap: 4px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.jump ul::-webkit-scrollbar { display: none; }
.jump a { display: inline-block; white-space: nowrap; padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 14.5px; }
.jump a:hover, .jump a.is-active { background: var(--surface-3); color: var(--ink); }

/* Feature catalog */
.catalog { display: grid; gap: clamp(56px, 8vw, 104px); }
.cat { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.cat__intro { position: sticky; top: calc(var(--header-h) + 80px); display: grid; gap: 14px; }
.cat__intro h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: var(--step-4); line-height: .95; }
.cat__intro p { color: var(--ink-2); }
.cat__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feat { padding: 22px; border-radius: var(--radius-m); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.feat svg { width: 26px; height: 26px; color: var(--silk); }
.feat h3 { font-size: 18px; line-height: 1.25; margin-top: 4px; }
.feat p { font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.feat--wide { grid-column: 1 / -1; }
.feat--verify { border-style: dashed; }
@media (max-width: 900px) { .cat { grid-template-columns: 1fr; } .cat__intro { position: static; } }
@media (max-width: 560px) { .cat__grid { grid-template-columns: 1fr; } }

/* Studio detail sections */
.discipline { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.discipline + .discipline { margin-top: clamp(72px, 10vw, 128px); }
.discipline--flip > :first-child { order: 2; }
.discipline__art { border-radius: var(--radius-l); background: var(--plum-2); aspect-ratio: 5 / 4; max-width: 100%; position: relative; overflow: hidden; }
.discipline__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.discipline__body { display: grid; gap: 18px; }
.discipline__body h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: var(--step-4); line-height: .95; }
.discipline__body h2 .grace { color: var(--silk); }
.discipline__body > p { color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-size: 13.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.usecases { list-style: none; display: grid; gap: 12px; }
.usecases li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16.5px; }
.usecases svg { width: 22px; height: 22px; color: var(--silk); margin-top: 2px; }
.usecases b { display: block; }
.usecases span { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 860px) { .discipline { grid-template-columns: 1fr; } .discipline--flip > :first-child { order: 0; } }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 18px; }
.faq-side nav { display: grid; gap: 2px; }
.faq-side nav a { text-decoration: none; color: var(--ink-2); font-weight: 600; padding: 8px 12px; border-radius: 8px; }
.faq-side nav a:hover { background: var(--surface-3); color: var(--ink); }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 36px; line-height: 1; margin-bottom: 14px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px;
  font-weight: 700;
  font-size: 18.5px;
  line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); font-weight: 500; font-size: 20px; line-height: 1; transition: transform .2s ease, background-color .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--silk); color: #fff; }
.faq details > div { padding: 0 4px 22px; color: var(--ink-2); max-width: 62ch; display: grid; gap: 10px; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .faq-side { position: static; } }

/* Legacy WordPress landing page content (content/pages/*.html) — keeps existing class names working */
.psm-page-hero {
  position: relative;
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(255, 79, 134, .22), transparent 60%),
    var(--plum);
  color: var(--on-plum);
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(56px, 7vw, 96px);
}
.psm-page-hero .container, .psm-page-content .container, .psm-page-cta .container { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.psm-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--step--1); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--silk); }
.psm-eyebrow::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--chrome); }
.psm-page-hero .psm-eyebrow { color: #ff8db0; }
.psm-page-hero h1 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.6rem, 1.8rem + 3.4vw, 4.6rem); line-height: .94; margin-top: 18px; max-width: 16em; }
.psm-page-hero__lead { color: var(--on-plum-2); margin-top: 22px; font-size: var(--step-2); max-width: 40em; }
.psm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.psm-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .18s ease, background-color .18s ease; }
.psm-button:hover { transform: translateY(-2px); }
.psm-button--primary { background: var(--silk); color: var(--silk-ink) !important; box-shadow: 0 10px 24px -10px rgba(200, 30, 85, .7); }
.psm-button--primary:hover { background: var(--silk-deep); }
.psm-button--ghost { border-color: rgba(255,255,255,.35); color: var(--on-plum) !important; }
.psm-button--ghost:hover { border-color: #fff; }
.psm-page-content { padding-block: clamp(64px, 9vw, 112px); }
.psm-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.psm-prose { max-width: 68ch; }
.psm-prose h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem); line-height: 1; margin: 56px 0 16px; }
.psm-prose > h2:first-child { margin-top: 0; }
.psm-prose h3 { font-size: 21px; margin: 0 0 8px; }
.psm-prose p { color: var(--ink-2); margin-bottom: 16px; }
.psm-prose ul { list-style: none; display: grid; gap: 10px; margin: 8px 0 20px; }
.psm-prose li { position: relative; padding-left: 28px; color: var(--ink-2); }
.psm-prose li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid var(--silk); }
.psm-callout { margin: 32px 0; padding: 26px 28px; border-radius: var(--radius-m); background: var(--surface-2); border-left: 6px solid transparent; border-image: linear-gradient(180deg, #7d8592, #eef1f5 45%, #7d8592) 1; }
.psm-callout p { margin: 0; }
.psm-sidebar-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); display: grid; gap: 14px; }
.psm-sidebar-card h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: .95; }
.psm-sidebar-card p { color: var(--ink-2); font-size: 16px; }
.psm-sidebar-card .psm-button { width: 100%; }
.psm-related-links { list-style: none; display: grid; gap: 2px; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.psm-related-links a { display: block; padding: 8px 0; text-decoration: none; font-weight: 600; font-size: 15px; }
.psm-page-cta { text-align: center; padding-block: clamp(72px, 10vw, 120px); background: var(--silk); color: #fff; }
.psm-page-cta h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: var(--step-4); line-height: .95; }
.psm-page-cta p { margin: 16px auto 28px; font-size: var(--step-2); opacity: .92; }
.psm-page-cta .psm-button--primary { background: #fff; color: #24122f !important; box-shadow: none; }
.psm-narrow { max-width: calc(760px + var(--gutter) * 2) !important; }
.psm-faq-item h2 { font-family: var(--body) !important; text-transform: none !important; font-size: 19px !important; margin: 18px 0 6px !important; }
@media (max-width: 900px) { .psm-content-grid { grid-template-columns: 1fr; } .psm-sidebar-card { position: static; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum); color: var(--on-plum-2); padding-block: 72px 36px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer .brand { color: var(--on-plum); }
.site-footer h4 { color: var(--on-plum); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: var(--on-plum-2); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-about { display: grid; gap: 16px; align-content: start; max-width: 34ch; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 13.5px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* Sticky mobile CTA */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--ground) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: none;
  transform: translateY(110%);
  transition: transform .3s ease;
}
.mobile-cta .btn { width: 100%; }
.mobile-cta.is-shown { transform: none; }
@media (max-width: 760px) { .mobile-cta { display: block; } }

/* Utilities */
.stack-s > * + * { margin-top: 12px; }
.stack-m > * + * { margin-top: 22px; }
.center { text-align: center; }
.mt-l { margin-top: clamp(32px, 5vw, 56px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Discipline landing pages ---------- */
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.page-hero__art { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 5 / 4; max-width: 100%; position: relative; box-shadow: var(--shadow-3); border: 1px solid rgba(255,255,255,.08); }
.page-hero__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero .hero__proof { margin-top: 24px; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; } .page-hero__art { aspect-ratio: 16 / 9; } }

.mocks-pair { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .mocks-pair { grid-template-columns: 1fr; } }

.playbook { width: 100%; border-collapse: collapse; font-size: 16px; background: var(--surface); border-radius: var(--radius-m); overflow: hidden; }
.playbook-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); }
.playbook th, .playbook td { text-align: left; padding: 16px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.playbook thead th { border-top: 0; background: var(--surface-2); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.playbook td:first-child { font-weight: 700; width: 24%; }
.playbook td:nth-child(2) { color: var(--ink-2); width: 38%; }
.playbook td:last-child { color: var(--ink); }
.playbook td small { display: block; color: var(--ink-3); font-weight: 500; margin-top: 2px; }
@media (max-width: 700px) {
  .playbook thead { display: none; }
  .playbook, .playbook tbody, .playbook tr, .playbook td { display: block; width: 100% !important; }
  .playbook tr { border-top: 1px solid var(--line); padding: 8px 0; }
  .playbook td { border: 0; padding: 6px 18px; }
  .playbook tr:first-child { border-top: 0; }
}

.tips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.tip { padding: 26px 28px 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.tip:nth-child(even) { padding-left: 28px; padding-right: 0; border-left: 1px solid var(--line); }
.tip h3 { font-size: 21px; line-height: 1.25; }
.tip p { color: var(--ink-2); font-size: 16.5px; }
@media (max-width: 760px) { .tips { grid-template-columns: 1fr; } .tip:nth-child(even) { padding-left: 0; border-left: 0; } .tip { padding-right: 0; } }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related a { display: grid; gap: 6px; padding: 22px; border-radius: var(--radius-m); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color .2s ease, transform .2s ease; }
.related a:hover { border-color: var(--silk); transform: translateY(-2px); color: var(--ink); }
.related b { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 24px; line-height: 1; }
.related span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) { .related { grid-template-columns: 1fr; } }

.faq--compact { max-width: 820px; }
.cat__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .cat__grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cat__grid--3 { grid-template-columns: 1fr; } }

/* Demo page */
.demo-page .demo { margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px)); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 24px; border-radius: var(--radius-m); background: var(--surface); border: 1px solid var(--line); }
.steps__n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--silk); color: #fff; font-family: var(--display); font-weight: 800; font-size: 24px; }
.steps b { font-size: 18px; }
.steps p { color: var(--ink-2); font-size: 15.5px; margin-top: 4px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
@media (min-width: 900px) {
  .wrap:has(> .faq--compact) { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
  .wrap:has(> .faq--compact) > .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
}
@media (max-width: 560px) {
  .hero__lead, .lead { font-size: 1.125rem; }
  .hero h1 { font-size: 3.4rem; }
  .actions .btn { width: 100%; }
}

.cat__intro .eyebrow, .discipline__body > .eyebrow { color: var(--silk); }

/* Chalk Talk — blog, articles and content hub. Loaded after psm.css. */

.cover {
  --cover-ink: #ff8db0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: end;
  gap: 6px;
  aspect-ratio: 16 / 10;
  max-width: 100%;
  padding: 22px 24px;
  border-radius: var(--radius-m);
  background:
    radial-gradient(90% 80% at 100% 0%, color-mix(in srgb, var(--cover-ink) 26%, transparent), transparent 60%),
    #24122f;
  color: #f7f0f7;
}
.cover::before { content: ""; position: absolute; top: 0; bottom: 0; right: 18%; width: 7px; background: var(--chrome); opacity: .45; z-index: -1; }
.cover::after { content: ""; position: absolute; top: 0; right: calc(18% - 30px); width: 16px; height: 70%; border-radius: 0 0 10px 10px; background: var(--cover-ink); opacity: .35; transform: skewX(-6deg); z-index: -1; }
.cover__kicker { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--cover-ink); }
.cover__word { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem); line-height: .9; max-width: 9em; }
.cover__word em { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; color: var(--cover-ink); }
.cover--square { aspect-ratio: 1 / 1; }
.cover--business { --cover-ink: #ff8db0; }
.cover--culture { --cover-ink: #f3a51f; }
.cover--guides { --cover-ink: #9ee6ff; }
.cover--features { --cover-ink: #7fe0b3; }

.pillar { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pillar::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pillar--business { color: var(--silk); }
.pillar--culture { color: var(--warn); }
.pillar--guides { color: #0f7ea3; }
.pillar--features { color: var(--success); }
:root[data-theme="dark"] .pillar--guides { color: #9ee6ff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pillar--guides { color: #9ee6ff; } }

/* Blog index */
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.blog-filters button { font: 600 15px/1 var(--body); padding: 11px 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; }
.blog-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--ground); }
.featured-post { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: center; text-decoration: none; color: var(--ink); margin-bottom: clamp(48px, 6vw, 80px); }
.featured-post:hover { color: var(--ink); }
.featured-post .cover__word { font-size: clamp(2.8rem, 2rem + 3.4vw, 5rem); }
.featured-post h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: var(--step-4); line-height: .95; margin: 12px 0 14px; }
.featured-post p { color: var(--ink-2); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 14px; color: var(--ink-3); margin-top: 14px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 36px); }
.post-card { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 10px; text-decoration: none; color: var(--ink); }
.post-card:hover { color: var(--ink); }
.post-card .cover { transition: transform .2s ease, box-shadow .2s ease; margin-bottom: 6px; }
.post-card:hover .cover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.post-card .cover__word { font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.5rem); }
.post-card h3 { font-size: 21px; line-height: 1.25; }
.post-card p { color: var(--ink-2); font-size: 15.5px; }
.post-card .post-meta { margin-top: 0; }
.post-card[hidden] { display: none; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .featured-post { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

.follow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-l); background: var(--plum); color: var(--on-plum); }
.follow h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: var(--step-4); line-height: .95; }
.follow h2 .grace { color: #ff8db0; }
.follow p { color: var(--on-plum-2); margin-top: 12px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); color: var(--on-plum); text-decoration: none; font-weight: 700; }
.socials a:hover { border-color: #fff; color: #fff; }
@media (max-width: 800px) { .follow { grid-template-columns: 1fr; } }

/* Article */
.article-hero { background: var(--plum); color: var(--on-plum); margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 clamp(40px, 6vw, 64px); }
.article-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.crumbs { font-size: 14px; color: var(--on-plum-2); }
.crumbs a { color: var(--on-plum-2); }
.article-hero h1 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.5rem, 1.7rem + 3.2vw, 4.4rem); line-height: .93; margin: 14px 0 18px; }
.article-hero h1 .grace { color: #ff8db0; }
.article-hero .lead { color: var(--on-plum-2); }
.article-hero .post-meta { color: var(--on-plum-2); }
.article-hero .pillar--business { color: #ff8db0; }
.article-hero .pillar--culture { color: #f3a51f; }
.article-hero .pillar--guides { color: #9ee6ff; }
.article-hero .pillar--features { color: #7fe0b3; }
@media (max-width: 860px) { .article-hero .wrap { grid-template-columns: 1fr; } .article-hero .cover { max-width: 520px; } }

.article-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 2px; font-size: 14.5px; }
.toc b { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.toc a { color: var(--ink-2); text-decoration: none; padding: 6px 0 6px 12px; border-left: 2px solid var(--line); line-height: 1.35; }
.toc a:hover { color: var(--ink); border-left-color: var(--silk); }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } .toc { display: none; } }

.prose { max-width: 70ch; font-size: 18.5px; line-height: 1.7; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 1.5rem + 1.3vw, 2.5rem); line-height: 1; margin-top: 2.1em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { font-size: 21px; line-height: 1.3; margin-top: 1.7em; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .45em; }
.prose li::marker { color: var(--silk); font-weight: 700; }
.prose blockquote { margin: 1.6em 0; padding: 0 0 0 22px; border-left: 4px solid var(--silk); font-family: var(--serif); font-size: 1.45em; line-height: 1.3; color: var(--ink); }
.prose .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); margin-top: 1.4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; background: var(--surface); }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.prose thead th { border-top: 0; background: var(--surface-2); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.prose td:first-child { font-weight: 700; color: var(--ink); }
.prose td { color: var(--ink-2); }
.note-box { padding: 18px 20px; border-radius: var(--radius-m); background: var(--surface-2); font-size: 16px; }
.note-box p { margin: 0; }
.note-box--warn { background: var(--marigold-soft); }
.inline-cta { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; margin-block: 2.2em !important; padding: 22px 24px; border-radius: var(--radius-m); background: var(--plum); color: var(--on-plum); }
.inline-cta b { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: 1; margin-bottom: 6px; color: var(--on-plum); }
.inline-cta p { color: var(--on-plum-2) !important; font-size: 15.5px; margin: 0; }
@media (max-width: 600px) { .inline-cta { grid-template-columns: 1fr; } }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 28px; margin-top: 48px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.share-row button { font: 600 14px/1 var(--body); padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; }
.share-row button:hover { border-color: var(--ink); }

/* Content hub (internal) */
.hub-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hub-pillar { padding: 22px; border-radius: var(--radius-m); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.hub-pillar h3 { font-size: 19px; }
.hub-pillar p { color: var(--ink-2); font-size: 15px; }
.hub-pillar small { color: var(--ink-3); font-size: 13.5px; }
@media (max-width: 960px) { .hub-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hub-pillars { grid-template-columns: 1fr; } }
.cal-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); }
.cal { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 14.5px; }
.cal th, .cal td { padding: 12px 14px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); vertical-align: top; text-align: left; }
.cal thead th { border-top: 0; background: var(--surface-2); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.cal th:first-child, .cal td:first-child { border-left: 0; }
.cal td:first-child { font-weight: 700; white-space: nowrap; width: 120px; }
.cal td:first-child small { display: block; font-weight: 500; color: var(--ink-3); }
.slot { display: grid; gap: 5px; }
.slot b { font-size: 14.5px; line-height: 1.3; }
.slot small { color: var(--ink-3); font-size: 13px; }
.status { display: inline-flex; align-items: center; justify-self: start; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.status--review { background: var(--marigold-soft); color: var(--warn); }
.status--draft { background: var(--surface-3); color: var(--ink-2); }
.status--idea { background: var(--silk-soft); color: var(--silk-deep); }
.kit { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; padding: 32px 0; border-top: 1px solid var(--line); }
.kit[hidden] { display: none; }
.kit__side { display: grid; gap: 12px; align-content: start; }
.kit__side .cover__word { font-size: 1.9rem; }
.kit__side h3 { font-size: 19px; line-height: 1.3; }
.kit__side a { font-weight: 700; font-size: 15px; }
.kit__blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kit-block { position: relative; padding: 16px 18px; border-radius: var(--radius-m); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.kit-block--wide { grid-column: 1 / -1; }
.kit-block h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding-right: 70px; }
.kit-block pre { margin: 0; white-space: pre-wrap; font: 15px/1.55 var(--body); color: var(--ink); }
.kit-block ol { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; color: var(--ink-2); font-size: 15px; }
.copy-btn { position: absolute; top: 12px; right: 12px; font: 700 12px/1 var(--body); padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; }
.copy-btn:hover { border-color: var(--ink); }
.copy-btn.is-done { background: var(--success-soft); border-color: var(--success); color: var(--success); }
@media (max-width: 860px) { .kit { grid-template-columns: 1fr; } .kit__side .cover { max-width: 300px; } .kit__blocks { grid-template-columns: 1fr; } }
.workflow { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: wf; padding: 0; }
.workflow li { counter-increment: wf; padding: 18px; border-radius: var(--radius-m); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.workflow li::before { content: counter(wf); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--silk); color: #fff; font-weight: 800; font-size: 14px; }
.workflow b { font-size: 16px; }
.workflow span { color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 960px) { .workflow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .workflow { grid-template-columns: 1fr; } }

/* =========================================================
   WordPress integration: Contact Form 7 demo form, confirm page, WP utilities
   ========================================================= */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.site-main { display: block; }
#section-freetrial, #section-pricing { position: relative; top: calc(var(--header-h) * -1); display: block; height: 0; }

/* Demo form (CF7 form #8) */
.form-card .wpcf7 form { margin: 0; }
.form-card .wpcf7-form-control-wrap { display: block; position: relative; }
.form-card .field select { appearance: auto; }
.form-card .field-label { font-weight: 700; font-size: 14.5px; }
.form-card .wpcf7-not-valid-tip { display: block; margin-top: 6px; color: #d0342c; font-size: 13.5px; font-weight: 600; }
.form-card .wpcf7-not-valid { border-color: #d0342c !important; }
.form-card .protection { display: none !important; }
.form-card .wpcf7-submit.btn { width: 100%; min-height: 58px; font-size: 17px; -webkit-appearance: none; appearance: none; }
.form-card .wpcf7-submit.btn:disabled { opacity: .7; cursor: wait; }
.form-card .wpcf7-spinner { display: block; margin: 10px auto 0; }
.form-card .wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; font-size: 14.5px; border-width: 1.5px; }
.form-card .psm-chips-ready select { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.form-card .pick { margin-top: 2px; }
.form-card.is-sent .form-card__head,
.form-card.is-sent .progress,
.form-card.is-sent .form-grid,
.form-card.is-sent .form-foot { display: none; }
.form-card #message-subscriptions:empty { display: none; }
.form-card .success { margin-top: 0; }

/* Demo confirmation page (confirm.php + SendInfoMail output) */
.psm-confirm-page {
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(255, 79, 134, .18), transparent 60%),
    var(--plum);
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) var(--gutter) clamp(56px, 8vw, 96px);
  min-height: 70vh;
}
.psm-confirm-page .container { max-width: 900px; margin-inline: auto; }
.psm-confirm-card { background: var(--surface); color: var(--ink); border-radius: var(--radius-l); padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow-3); border: 1px solid var(--line); }
.psm-confirm-card h1 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem); line-height: .95; margin: 10px 0 16px !important; }
.psm-confirm-card h2 { font-size: 22px; margin: 30px 0 10px; }
.psm-confirm-card p, .psm-confirm-card li { color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.psm-confirm-card ul { padding-left: 22px; display: grid; gap: 6px; }
.psm-confirm-card code { font-size: 1em; background: var(--surface-3); padding: 2px 6px; border-radius: 4px; color: var(--ink); }
.psm-confirm-card .psm-confirm-demo { margin: 0 !important; max-width: none !important; padding: 0 !important; }
.psm-confirm-card .psm-confirm-demo form { margin: 22px 0 0; }
.psm-confirm-card .psm-confirm-demo button[type="submit"] { background: var(--silk) !important; color: #fff !important; border-radius: 999px !important; padding: 16px 30px !important; box-shadow: 0 10px 24px -10px rgba(200, 30, 85, .7); }
.psm-confirm-card .psm-confirm-demo div[style] { background: var(--surface-2) !important; border-color: var(--line) !important; border-radius: var(--radius-m) !important; }
.psm-confirm-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 26px; }
.psm-confirm-contact { font-weight: 700; }

/* Legacy help posts rendered by single.php */
.prose img { height: auto; border-radius: var(--radius-m); }
.prose iframe { max-width: 100%; border-radius: var(--radius-m); }
.prose figure { margin: 1.4em 0; }
.prose .wp-block-embed__wrapper { position: relative; }

/* Photography: discipline art frames and photo covers */
.art-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.studio-card__art:has(.art-photo)::after,
.discipline__art:has(.art-photo)::after,
.page-hero__art:has(.art-photo)::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(36, 18, 47, 0) 55%, rgba(36, 18, 47, .35) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.studio-card__art .art-photo { object-position: center 30%; }

.cover--photo { background: #24122f; }
.cover--photo .cover__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}
.cover--photo .cover__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(0deg, rgba(20, 8, 28, .92) 0%, rgba(20, 8, 28, .55) 38%, rgba(20, 8, 28, 0) 72%);
}
.cover--photo::before { display: none; }
.cover--photo::after { display: none; }
.studio-card__art:has(.art-photo) { height: 160px; }

/* Photos inside articles */
.prose-figure { margin: 1.8em 0; }
.prose-figure img { width: 100%; height: auto; border-radius: var(--radius-m); display: block; }
.prose-figure figcaption { margin-top: 10px; font-size: 14.5px; color: var(--ink-3); }

/* Homepage hero photo */
.hero--photo .hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
  z-index: -3;
}
.hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(36, 18, 47, .97) 0%, rgba(36, 18, 47, .92) 34%, rgba(36, 18, 47, .62) 62%, rgba(36, 18, 47, .45) 100%),
    linear-gradient(0deg, rgba(36, 18, 47, .85) 0%, rgba(36, 18, 47, 0) 35%);
}
.hero--photo .hero__silks { display: none; }
@media (max-width: 960px) {
  .hero--photo .hero__photo { object-position: 70% 20%; }
  .hero--photo::before {
    background: linear-gradient(180deg, rgba(36, 18, 47, .9) 0%, rgba(36, 18, 47, .82) 50%, rgba(36, 18, 47, .95) 100%);
  }
}
