/* Creativity Webdesign: website studio */
.studio-page {
  background: var(--ink);
  color: var(--pure-white);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Hero */
.studio-hero {
  text-align: center;
}

.studio-hero-inner {
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  display: grid;
  justify-items: center;
}

.studio-hero .eyebrow--silver::after {
  margin-inline: auto;
}

.studio-hero .hero-lead {
  margin-inline: auto;
  max-width: 52ch;
}

.studio-hero .hero-actions {
  justify-content: center;
}

.studio-hero-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 140%;
  z-index: -1;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(124, 58, 237, 0.35), transparent 70%),
    radial-gradient(35% 45% at 80% 20%, rgba(167, 139, 250, 0.25), transparent 70%),
    radial-gradient(30% 40% at 60% 90%, rgba(233, 230, 245, 0.1), transparent 70%);
  animation: glow-drift 18s ease-in-out infinite alternate;
}

@keyframes glow-drift {
  to {
    transform: translate3d(3%, 4%, 0) scale(1.05);
  }
}

/* Studio layout */
.studio {
  padding: 1rem clamp(0.75rem, 2.5vw, 2rem) 4rem;
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(340px, 440px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  max-width: 1600px;
  margin-inline: auto;
}

.studio-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 1.25rem;
  backdrop-filter: blur(10px);
}

.studio-preview {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.studio-tabs {
  display: none;
}

@media (max-width: 1000px) {
  .studio-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .studio-tabs {
    display: flex;
    position: sticky;
    top: calc(var(--header-h) + 0.5rem);
    z-index: 20;
    gap: 0.25rem;
    margin: 0 auto 1rem;
    padding: 0.3rem;
    width: fit-content;
    border-radius: 999px;
    background: rgba(11, 9, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
  }

  .studio-tabs button {
    min-height: 44px;
    padding: 0 1.4rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--pure-white);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
  }

  .studio-tabs button[aria-selected="true"] {
    background: var(--pure-white);
    color: var(--ink);
  }

  .studio-grid[data-view="design"] .studio-preview,
  .studio-grid[data-view="preview"] .studio-panel {
    display: none;
  }

  .studio-preview {
    position: static;
  }
}

/* Toolbar */
.studio-toolbar,
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.row-actions {
  margin-top: 1rem;
  align-items: center;
}

.tool {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(167, 139, 250, 0.45);
  background: rgba(124, 58, 237, 0.14);
  color: var(--pure-white);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.tool:hover,
.tool:focus-visible {
  background: rgba(124, 58, 237, 0.32);
  border-color: var(--purple-soft);
}

.tool:disabled {
  opacity: 0.45;
  cursor: default;
}

.tool--quiet {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
}

.tool svg,
.devices svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.studio-note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--purple-soft);
}

/* Stepper */
.stepper {
  list-style: none;
  margin: 1.25rem 0 0.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.stepper button {
  min-height: 36px;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.stepper button:hover {
  color: var(--pure-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.stepper button[aria-current="step"] {
  background: var(--pure-white);
  border-color: var(--pure-white);
  color: var(--ink);
}

.progress {
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.progress span {
  display: block;
  height: 100%;
  width: 12%;
  background: linear-gradient(90deg, var(--purple), var(--purple-soft), var(--silver-light));
  transition: width 0.35s ease;
}

/* Steps */
.step {
  animation: step-in 0.35s ease;
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

.sub-title {
  font-size: 0.95rem;
  margin: 1.5rem 0 0.6rem;
  color: var(--silver-mid);
}

.sub-title--big {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--pure-white);
}

.step-intro {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.choice-list {
  display: grid;
  gap: 0.6rem;
}

.choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  width: 100%;
  min-height: 44px;
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--pure-white);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.choice:hover {
  border-color: rgba(167, 139, 250, 0.55);
  transform: translateY(-1px);
}

.choice[aria-pressed="true"] {
  border-color: var(--purple-soft);
  background: rgba(124, 58, 237, 0.2);
  box-shadow: 0 0 0 1px var(--purple-soft) inset, 0 10px 30px -14px rgba(124, 58, 237, 0.9);
}

.choice strong {
  font-size: 0.9rem;
}

.choice small {
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.65);
}

.choice svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--purple-soft);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.style-thumb {
  width: 100%;
  height: 54px;
  border-radius: 8px;
  margin-bottom: 0.35rem;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  color: #0b0914;
  background: #f4f2fb;
  overflow: hidden;
}

.font-sample {
  font-size: 1.35rem;
  line-height: 1.1;
  color: var(--pure-white);
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  min-height: 40px;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.chip:hover {
  border-color: rgba(167, 139, 250, 0.6);
}

.chip[aria-pressed="true"] {
  background: var(--purple);
  border-color: var(--purple-soft);
  color: var(--pure-white);
}

.chip:disabled {
  opacity: 0.6;
  cursor: default;
}

/* Colours */
.palette-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.palette {
  display: grid;
  gap: 0.35rem;
  padding: 0.55rem;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--pure-white);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.palette[aria-pressed="true"] {
  border-color: var(--purple-soft);
  box-shadow: 0 0 0 1px var(--purple-soft) inset;
}

.swatches {
  display: flex;
  height: 22px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.swatches i {
  flex: 1;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1rem;
}

.color-field {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.5rem;
  row-gap: 0.25rem;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

.color-field span {
  grid-column: 1 / -1;
}

.color-field input[type="color"] {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: none;
  cursor: pointer;
}

.hex,
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(11, 9, 20, 0.6);
  color: var(--pure-white);
  font: inherit;
  font-size: 0.9rem;
}

.hex {
  font-family: ui-monospace, Consolas, monospace;
  text-transform: uppercase;
}

.hex[aria-invalid="true"],
.field [aria-invalid="true"] {
  border-color: #f87171;
}

.contrast-warning {
  margin-top: 1rem;
  padding: 0.85rem;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.45);
}

.contrast-warning p {
  margin: 0 0 0.6rem;
  font-size: 0.85rem;
  color: #fde68a;
}

/* Features */
.feature-group h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple-soft);
  margin: 1.25rem 0 0.5rem;
}

.feature-toggle {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.4rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}

.feature-toggle:has(input:checked) {
  border-color: rgba(167, 139, 250, 0.6);
  background: rgba(124, 58, 237, 0.14);
}

.feature-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--purple-soft);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-toggle strong {
  display: block;
  font-size: 0.88rem;
}

.feature-toggle small {
  display: block;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.62);
}

.switch {
  appearance: none;
  width: 40px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pure-white);
  transition: transform 0.2s;
}

.switch:checked {
  background: var(--purple);
}

.switch:checked::after {
  transform: translateX(16px);
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.field {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}

.field small {
  color: rgba(255, 255, 255, 0.5);
}

.field--wide,
.studio-panel .form-grid > .field:has(.upload) {
  grid-column: 1 / -1;
}

.field select option {
  color: #0b0914;
}

.field-error {
  color: #fca5a5;
  font-size: 0.78rem;
  margin: 0;
}

.field-hint {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0.5rem 0 1rem;
}

.upload {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.upload-name {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
}

.check input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--purple);
  flex: none;
}

.hp {
  position: absolute;
  left: -9999px;
}

.form-status {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
}

.form-status.is-error {
  color: #fca5a5;
}

.form-status.is-ok {
  color: #86efac;
}

.copy-status {
  font-size: 0.8rem;
  color: var(--purple-soft);
}

.quote {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.summary {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0.45rem 1rem;
  margin: 0;
  font-size: 0.86rem;
}

.summary dt {
  color: rgba(255, 255, 255, 0.55);
}

.summary dd {
  margin: 0;
  color: var(--pure-white);
}

.summary .sw {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  vertical-align: -2px;
  margin-right: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.step-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.step-nav .btn {
  min-height: 44px;
}

@media (max-width: 520px) {
  .choice-grid,
  .form-grid,
  .color-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .studio-panel {
    padding: 1rem;
  }
}

/* Preview chrome */
.preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.preview-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
}

.devices {
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.devices button {
  width: 44px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.devices button[aria-pressed="true"] {
  background: var(--pure-white);
  color: var(--ink);
}

.pv-stage {
  border-radius: 20px;
  padding: clamp(0.5rem, 1.5vw, 1rem);
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(124, 58, 237, 0.25), transparent 70%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===== Preview website (isolated, styled by tokens) ===== */
.pv-frame {
  --p: #7c3aed;
  --a: #a78bfa;
  --bg: #ffffff;
  --tx: #111111;
  --on-p: #ffffff;
  --hf: Inter, sans-serif;
  --bf: Inter, sans-serif;
  --r: 12px;
  --br: 999px;
  --sp: 1;
  --tw: 700;
  --ts: 5;
  --sf: color-mix(in srgb, var(--tx) 5%, var(--bg));
  --ln: color-mix(in srgb, var(--tx) 12%, transparent);
  --mut: color-mix(in srgb, var(--tx) 70%, var(--bg));
  position: relative;
  container: pv / inline-size;
  margin-inline: auto;
  width: 100%;
  max-width: var(--dev, 100%);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg);
  color: var(--tx);
  font-family: var(--bf);
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: max-width 0.35s ease;
}

.pv-frame *,
.pv-frame *::before,
.pv-frame *::after {
  box-sizing: border-box;
}

.pv-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  background: #1b1828;
  color: #b9b4cc;
  font: 12px/1 Inter, sans-serif;
}

.pv-chrome i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3a3550;
}

.pv-chrome span {
  margin-left: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #2a2640;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pv-scroll {
  height: min(70vh, 700px);
  overflow: auto;
  scroll-behavior: smooth;
}

.pv-frame[data-motion="on"] .pv-scroll > * {
  animation: pv-in 0.5s ease both;
}

@keyframes pv-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.pv-frame h1,
.pv-frame h2,
.pv-frame h3 {
  font-family: var(--hf);
  font-weight: var(--tw);
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--tx);
}

.pv-frame h1 {
  font-size: clamp(26px, calc(var(--ts) * 1cqi), 64px);
}

.pv-frame h2 {
  font-size: clamp(20px, calc(var(--ts) * 0.6cqi), 38px);
}

.pv-frame h3 {
  font-size: 17px;
}

.pv-frame p {
  margin: 0 0 1em;
}

.pv-frame[data-case="upper"] h1,
.pv-frame[data-case="upper"] h2 {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pv-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--p);
  margin-bottom: 0.8em;
}

.pv-nav {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(12px * var(--sp)) calc(24px * var(--sp));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ln);
}

.pv-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--hf);
  font-weight: 700;
  font-size: 17px;
  color: var(--tx);
  min-width: 0;
}

.pv-brand img {
  max-height: 32px;
  max-width: 120px;
  object-fit: contain;
}

.pv-mark {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: calc(var(--r) * 0.6);
  background: var(--p);
  color: var(--on-p);
  font-size: 14px;
}

.pv-links {
  display: flex;
  align-items: center;
  gap: 4px 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pv-links button,
.pv-links span {
  padding: 4px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--tx);
  font: inherit;
  font-size: 13px;
  opacity: 0.8;
  cursor: pointer;
}

.pv-links button[aria-current="page"] {
  opacity: 1;
  border-bottom-color: var(--p);
}

.pv-burger {
  display: none;
  width: 32px;
  height: 32px;
  border: 1px solid var(--ln);
  border-radius: 8px;
  background: none;
  color: var(--tx);
}

.pv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 2px solid var(--p);
  border-radius: var(--br);
  background: var(--p);
  color: var(--on-p);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.pv-btn--ghost {
  background: transparent;
  color: var(--tx);
  border-color: var(--ln);
}

.pv-frame[data-btn="outline"] .pv-btn:not(.pv-btn--ghost) {
  background: transparent;
  color: var(--p);
}

.pv-frame[data-btn="gradient"] .pv-btn:not(.pv-btn--ghost) {
  border-color: transparent;
  background: linear-gradient(135deg, var(--p), var(--a));
}

.pv-frame[data-hover="on"] .pv-btn {
  transition: transform 0.2s, box-shadow 0.2s;
}

.pv-frame[data-hover="on"] .pv-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px var(--p);
}

.pv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

/* Hero variants */
.pv-hero {
  position: relative;
  display: grid;
  gap: calc(28px * var(--sp));
  align-items: center;
  padding: calc(56px * var(--sp)) calc(28px * var(--sp));
}

.pv-hero p {
  color: var(--mut);
  font-size: 16px;
  max-width: 46ch;
}

.pv-art {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r);
  overflow: hidden;
}

.pv-art svg {
  width: 100%;
  height: 100%;
  display: block;
}

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

.hero-asym {
  grid-template-columns: 1.4fr 0.8fr;
}

.hero-asym .pv-art {
  aspect-ratio: 3 / 4;
  transform: rotate(3deg);
  box-shadow: -18px 18px 0 var(--a);
}

.hero-center,
.hero-minimal {
  text-align: center;
  justify-items: center;
}

.hero-center p,
.hero-minimal p {
  margin-inline: auto;
}

.hero-center .pv-actions,
.hero-minimal .pv-actions {
  justify-content: center;
}

.hero-center {
  background:
    radial-gradient(60% 70% at 50% 0%, color-mix(in srgb, var(--p) 28%, transparent), transparent 70%),
    radial-gradient(40% 50% at 90% 80%, color-mix(in srgb, var(--a) 22%, transparent), transparent 70%);
}

.hero-center .pv-art {
  max-width: 560px;
  aspect-ratio: 16 / 7;
}

.hero-minimal {
  padding-block: calc(90px * var(--sp));
}

.hero-minimal h1 {
  font-size: clamp(30px, calc(var(--ts) * 1.35cqi), 84px);
}

.hero-minimal .pv-art {
  display: none;
}

.hero-full {
  min-height: 420px;
  grid-template-columns: minmax(0, 1fr);
  isolation: isolate;
}

.hero-full .pv-art {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  border-radius: 0;
  z-index: -2;
}

.hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.25));
}

.hero-full,
.hero-full h1,
.hero-full p {
  color: #ffffff;
}

.hero-full .pv-btn--ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.pv-frame[data-zoom="on"] .pv-art svg {
  transition: transform 0.6s ease;
}

.pv-frame[data-zoom="on"] .pv-art:hover svg {
  transform: scale(1.06);
}

/* Sections */
.pv-sec {
  padding: calc(48px * var(--sp)) calc(28px * var(--sp));
}

.pv-sec--alt {
  background: var(--sf);
}

.pv-sec > p {
  color: var(--mut);
  max-width: 60ch;
}

.pv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: calc(14px * var(--sp));
  margin-top: 18px;
}

.pv-card {
  padding: calc(18px * var(--sp));
  border-radius: var(--r);
}

.pv-card p {
  color: var(--mut);
  font-size: 14px;
  margin: 0;
}

.pv-frame[data-cards="shadow"] .pv-card {
  background: var(--bg);
  box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--tx) 35%, transparent);
}

.pv-frame[data-cards="border"] .pv-card {
  border: 1px solid var(--ln);
}

.pv-frame[data-cards="flat"] .pv-card {
  background: var(--sf);
}

.pv-frame[data-cards="glass"] .pv-card {
  background: color-mix(in srgb, var(--p) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--a) 35%, transparent);
}

.pv-frame[data-cards="solid"] .pv-card {
  background: var(--p);
  color: var(--on-p);
}

.pv-frame[data-cards="solid"] .pv-card h3,
.pv-frame[data-cards="solid"] .pv-card p {
  color: var(--on-p);
}

.pv-ico {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border-radius: calc(var(--r) * 0.7);
  background: color-mix(in srgb, var(--p) 16%, transparent);
  color: var(--p);
}

.pv-frame[data-cards="solid"] .pv-ico {
  background: color-mix(in srgb, var(--on-p) 20%, transparent);
  color: var(--on-p);
}

.pv-ico svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pv-tile {
  aspect-ratio: 1;
  border-radius: var(--r);
  overflow: hidden;
}

.pv-tile svg {
  width: 100%;
  height: 100%;
  display: block;
}

.pv-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-weight: 700;
}

.pv-stars {
  color: var(--p);
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.pv-faq details {
  border-bottom: 1px solid var(--ln);
  padding: 12px 0;
}

.pv-faq summary {
  cursor: pointer;
  font-weight: 600;
}

.pv-faq details p {
  margin: 8px 0 0;
  color: var(--mut);
}

.pv-form {
  display: grid;
  gap: 10px;
  max-width: 460px;
  margin-top: 16px;
}

.pv-form input,
.pv-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: calc(var(--r) * 0.6);
  border: 1px solid var(--ln);
  background: var(--bg);
  color: var(--tx);
  font: inherit;
  font-size: 14px;
}

.pv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.pv-chips span {
  padding: 8px 14px;
  border-radius: var(--br);
  border: 1px solid var(--ln);
  font-size: 13px;
}

.pv-chips span.on {
  background: var(--p);
  border-color: var(--p);
  color: var(--on-p);
}

.pv-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 18px;
}

.pv-video svg {
  width: 100%;
  height: 100%;
  display: block;
}

.pv-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  color: #111;
}

.pv-foot {
  padding: calc(36px * var(--sp)) calc(28px * var(--sp));
  background: color-mix(in srgb, var(--tx) 92%, var(--bg));
  color: color-mix(in srgb, var(--bg) 85%, var(--tx));
  font-size: 13px;
  display: grid;
  gap: 16px;
}

.pv-foot h3 {
  color: var(--bg);
  margin: 0;
}

.pv-foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.pv-news {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pv-news input {
  padding: 9px 12px;
  border-radius: var(--br);
  border: 0;
  min-width: 180px;
  font: inherit;
  font-size: 13px;
}

.pv-social {
  display: flex;
  gap: 8px;
}

.pv-social i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.7;
}

.pv-pay {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pv-pay span {
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 700;
}

.pv-floats {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 8px;
  align-items: flex-end;
  pointer-events: none;
}

.pv-bubble {
  pointer-events: auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

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

.pv-toast {
  pointer-events: none;
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.88);
  color: #fff;
  font: 600 12px/1.3 Inter, sans-serif;
  white-space: nowrap;
}

@container pv (max-width: 700px) {
  .hero-split,
  .hero-asym {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-asym .pv-art {
    transform: none;
    aspect-ratio: 16 / 10;
    box-shadow: none;
  }

  .pv-links {
    display: none;
  }

  .pv-burger {
    display: grid;
    place-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .studio-hero-glow,
  .step,
  .pv-frame[data-motion="on"] .pv-scroll > * {
    animation: none;
  }

  .pv-scroll {
    scroll-behavior: auto;
  }
}

/* Print: only the project brief */
.print-brief {
  display: none;
}

@media print {
  body.studio-page > *:not(.print-brief) {
    display: none !important;
  }

  body.studio-page {
    background: #fff;
    color: #111;
  }

  .print-brief {
    display: block;
    font-family: Inter, Arial, sans-serif;
    color: #111;
  }

  .print-brief h1 {
    font-family: Lora, Georgia, serif;
    font-size: 24pt;
    margin: 0 0 4pt;
  }

  .print-brief .meta {
    color: #555;
    margin: 0 0 18pt;
  }

  .print-brief table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11pt;
  }

  .print-brief th,
  .print-brief td {
    text-align: left;
    vertical-align: top;
    padding: 6pt 8pt;
    border-bottom: 1px solid #ddd;
  }

  .print-brief th {
    width: 32%;
    color: #555;
    font-weight: 600;
  }

  .print-brief .sw {
    display: inline-block;
    width: 10pt;
    height: 10pt;
    border: 1px solid #999;
    vertical-align: -1pt;
    margin-right: 3pt;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
