:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --ink: #20192e;
  --purple: #6537b6;
  --hero: #f0e9fa;
  --button-text: #ffffff;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, sans-serif;
}
body, .theme-preview {
  --muted: color-mix(in srgb, var(--ink) 74%, var(--paper));
  --line: color-mix(in srgb, var(--purple) 14%, var(--paper));
  --soft-accent: color-mix(in srgb, var(--purple) 10%, var(--paper));
  --deep-accent: color-mix(in srgb, var(--purple) 80%, var(--ink));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
a { color: var(--purple); text-underline-offset: .23em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.06; letter-spacing: -.045em; }
h1 { font-size: clamp(2.75rem, 6vw, 5.3rem); }
h2 { font-size: clamp(2.15rem, 4vw, 3.35rem); }
h3 { line-height: 1.25; }
.wrap { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 5; background: white; padding: .75rem; transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.masthead, .foot { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.masthead { min-height: 82px; padding-block: .75rem; }
.brand { color: var(--ink); display: inline-flex; align-items: center; text-decoration: none; font-weight: 760; letter-spacing: -.04em; font-size: 1.25rem; white-space: nowrap; }
.brand-accent { color: var(--purple); }
.brand-icon { display: grid; grid-template-columns: repeat(2, 7px); gap: 2px; transform: rotate(-12deg); margin-right: .65rem; }
.brand-icon i { width: 7px; height: 7px; background: var(--purple); border-radius: 2px; }
.brand-icon i:nth-child(2) { background: #c8a8f9; border-radius: 50%; }
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem .55rem; }
.nav a { text-decoration: none; font-size: .92rem; font-weight: 650; color: var(--muted); padding: .4rem .72rem; border-radius: 999px; }
.nav a:hover, .nav [aria-current] { background: var(--soft-accent); color: var(--deep-accent); }
.hero { overflow: hidden; background: var(--hero); border-bottom: 1px solid var(--line); }
.hero-layout { min-height: 465px; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 2.5rem; }
.hero-copy { padding: 3rem 0; }
.eyebrow { margin-bottom: 1rem; color: var(--deep-accent); letter-spacing: .12em; text-transform: uppercase; font-weight: 760; font-size: .82rem; }
.hero h1 { font-size: clamp(3.5rem, 7.8vw, 7rem); line-height: .95; }
.hero h1 em { color: var(--purple); font-weight: inherit; }
.intro { max-width: 34rem; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.23rem); margin: 1.25rem 0 1.6rem; }
.button { width: fit-content; display: inline-flex; align-items: center; justify-content: center; padding: .65rem 1.1rem; border: 1px solid transparent; border-radius: .5rem; font-weight: 680; font-size: .92rem; text-decoration: none; }
.primary { color: var(--button-text); background: var(--purple); }
.primary:hover { background: var(--deep-accent); }
.outline { color: var(--deep-accent); border-color: var(--line); background: transparent; }
.outline:hover { background: var(--soft-accent); }
.hero-art { position: relative; isolation: isolate; width: min(100%, 490px); aspect-ratio: 1.18; justify-self: end; }
.hero-art > div { position: absolute; }
.art-grid { inset: 0; background-image: linear-gradient(#e0d2f0 1px, transparent 1px), linear-gradient(90deg, #e0d2f0 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(ellipse, black 24%, transparent 75%); }
.art-orbit { width: 76%; height: 54%; top: 26%; left: 10%; border: 1px solid var(--purple); border-radius: 50%; transform: rotate(-28deg); }
.art-disc { width: 50%; aspect-ratio: 1; top: 14%; left: 16%; border-radius: 50%; background: color-mix(in srgb, var(--purple) 63%, white); box-shadow: inset -15px -18px 0 color-mix(in srgb, var(--purple) 78%, white); }
.art-stack { width: 48%; height: 56%; left: 37%; top: 24%; transform: rotate(-13deg); }
.art-stack i { position: absolute; width: 87%; height: 75%; border: 2px solid #302047; border-radius: 15%; box-shadow: 5px 8px 0 #35204d; background: #594080; }
.art-stack i:nth-child(2) { top: 13%; left: 8%; background: #f5a482; }
.art-stack i:nth-child(3) { top: 26%; left: 16%; background: #ffcf7f; display: grid; place-items: center; }
.art-stack i:nth-child(3)::after { content: ""; width: 31%; aspect-ratio: 1; border: 2px solid #342248; border-radius: 50% 50% 50% 8%; transform: rotate(-45deg); background: #fff1c3; }
.art-cross { width: 10%; height: 12%; top: 16%; right: 8%; transform: rotate(10deg); background: var(--deep-accent); clip-path: polygon(43% 0,57% 0,57% 43%,100% 43%,100% 57%,57% 57%,57% 100%,43% 100%,43% 57%,0 57%,0 43%,43% 43%); }
.art-loop { width: 16%; height: 12%; bottom: 12%; left: 12%; border: .38rem solid #f0a587; border-radius: 50%; transform: rotate(-24deg); }
.art-dot { bottom: 17%; right: 8%; width: 5%; aspect-ratio: 1; border-radius: 50%; background: var(--purple); }
.work-section { padding-block: 3.5rem 4.25rem; }
.collection-block + .collection-block { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 3rem; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 1.4rem; gap: 1rem; }
.section-head p, .page-band p { margin-top: .5rem; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: .85rem; overflow: hidden; min-width: 0; color: var(--ink); background: white; text-decoration: none; transition: transform .16s, box-shadow .16s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px #30204718; }
.card-image { display: grid; place-items: center; aspect-ratio: 1.8; overflow: hidden; }
.card-image img { width: 100%; height: 100%; min-height: 0; object-fit: contain; padding: 1.1rem; }
.palette-0 { background: var(--soft-accent); }
.palette-1 { background: #f8e5db; }
.palette-2 { background: #f6ead4; }
.tile-art { position: relative; width: 6rem; height: 5rem; }
.tile-art i { position: absolute; display: block; width: 4rem; height: 4rem; border-radius: 1rem; transform: rotate(-18deg); border: 2px solid #342248; background: #b791ee; }
.tile-art i:nth-child(2) { left: 1rem; top: .1rem; background: #f3a686; }
.tile-art i:nth-child(3) { left: 2rem; top: .3rem; background: #ffcf7f; }
.card-content { display: flex; flex-direction: column; align-items: start; flex: 1; padding: 1.1rem 1.25rem 1.2rem; }
.card-content h3 { font-size: 1.18rem; }
.card-content p { color: var(--muted); margin: .45rem 0 .9rem; }
.card-link { margin-top: auto; color: var(--purple); font-weight: 680; font-size: .9rem; }
.page-band { background: var(--hero); padding: 3rem 0; }
.back { display: inline-block; margin-bottom: .85rem; font-weight: 650; }
.project-layout { padding-block: 2rem 4rem; }
.player { border-radius: .9rem; overflow: hidden; background: #231a35; color: white; margin-bottom: 2rem; }
.player-bar { display: flex; justify-content: space-between; align-items: center; gap: .7rem; padding: .85rem 1rem; }
.player iframe { display: block; border: 0; width: 100%; aspect-ratio: 16/9; min-height: 240px; background: white; }
.article { max-width: 790px; }
.article > * + * { margin-top: 1rem; }
.article figure { margin-inline: 0; }
.article iframe { display: block; max-width: 100%; width: min(100%, 720px); aspect-ratio: 16/9; border: 0; }
.article .wp-block-columns { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.article .wp-block-column { flex: 1 1 180px; }
.article .wp-block-image img { display: block; }
.article .wp-block-image figcaption { color: var(--muted); }
.article .wp-block-button__link { display: inline-block; margin: .3rem 0; }
.article table { border-collapse: collapse; max-width: 100%; }
.article td { border: 1px solid var(--line); padding: .5rem; }
.site-footer { border-top: 1px solid var(--line); }
.foot { padding-block: 1.4rem; color: var(--muted); }
.form-page { max-width: 680px; margin-block: 2.5rem 4rem; }
.form-page h1, .dashboard h1 { font-size: clamp(2.7rem, 5vw, 4rem); }
.form-page .panel { margin-top: 1.25rem; }
.dashboard { padding-block: 2.5rem 4rem; }
.panel { background: white; border: 1px solid var(--line); border-radius: .7rem; padding: 1rem 1.15rem; margin-bottom: .75rem; }
.fields { display: grid; gap: .95rem; justify-items: start; }
.fields label:not(.check) { width: 100%; display: grid; gap: .25rem; font-weight: 650; }
.fields input:not([type=checkbox]), .fields textarea, .fields select { width: 100%; border: 1px solid #cbbddc; border-radius: .35rem; padding: .48rem .65rem; color: var(--ink); background: white; }
.fields small, .secondary { color: var(--muted); font-size: .88rem; font-weight: 400; }
.fields .check { display: flex; align-items: center; gap: .5rem; }
details > summary { cursor: pointer; font-weight: 650; }
details[open] > summary { margin-bottom: .85rem; }
.admin-row { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.admin-row .secondary { display: block; }
.project-row { border-top: 1px solid var(--line); margin-top: .7rem; padding-top: .7rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; }
.danger { color: #9a2550; background: transparent; border: 1px solid #e7c7d0; border-radius: .4rem; padding: .35rem .55rem; font-size: .88rem; }
.danger:disabled { opacity: .5; cursor: default; }
.dash-heading, #library { margin-top: 2.5rem; }
#library > p { margin: .65rem 0 1rem; }
#drop-zone { padding: 1rem; border: 2px dashed #c8b4e0; border-radius: .5rem; background: #fbf7ff; }
#drop-zone.dragging { background: #eadcf8; }
.folder li { overflow-wrap: anywhere; }
.notices { padding: .75rem 1rem; margin-top: 1rem; border: 1px solid #c8b4e0; border-radius: .45rem; background: #f4edf9; }
@media (max-width: 780px) {
  .hero-layout { min-height: 0; gap: .5rem; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 2rem); }
  .masthead { align-items: start; flex-direction: column; gap: .4rem; }
  .nav { justify-content: flex-start; margin-left: -.55rem; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { padding: 2.1rem 0 0; }
  .hero-art { width: min(90%, 330px); justify-self: center; margin-top: -.6rem; }
  .cards { grid-template-columns: 1fr; }
  .section-head, .foot { align-items: start; flex-direction: column; }
  .work-section { padding-block: 2.4rem 3rem; }
  .player-bar { align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}
.brand-logo { display: block; width: auto; max-width: 140px; max-height: 42px; object-fit: contain; margin-right: .6rem; }
.hero-image { margin: 1.25rem 0; justify-self: end; max-width: 430px; }
.hero-image img, .sticky-image img { display: block; width: 100%; border-radius: .8rem; }
.hero-image figcaption, .sticky-image figcaption { margin-top: .6rem; color: var(--muted); }
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(175px, 290px); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.sticky-image { position: sticky; top: 1.5rem; margin: 0; }
.sticky-image img { max-height: 65vh; object-fit: contain; object-position: top; }
.home-content, .collection-content { padding-top: 2rem; }
.collection-intro { font-size: 1.16rem; }
.article .page-block { overflow-wrap: anywhere; }
.article .page-block > * + * { margin-top: .75rem; }
.design-page { margin-block: 2.5rem 4rem; }
.design-page h1 { font-size: clamp(2.55rem, 5vw, 4rem); margin-bottom: 1.25rem; }
.design-page .section-head h1 { margin-bottom: 0; }
.design-page h2 { font-size: 1.7rem; }
.design-columns { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: 1.25rem; align-items: start; }
.color-picker { width: 100%; display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; min-width: 0; border: 1px solid var(--line); border-radius: .4rem; }
.color-picker legend { font-weight: 670; }
.fields .color-picker label { width: auto; display: inline-flex; align-items: center; gap: .4rem; }
.fields .color-picker input[type="color"] { width: 2.4rem; height: 2rem; padding: .15rem; cursor: pointer; }
.theme-preview { position: sticky; top: 1rem; background: var(--paper); color: var(--ink); font-family: var(--sans); border: 1px solid var(--line); border-radius: .8rem; overflow: hidden; }
.theme-preview-top, .theme-preview-hero, .theme-preview-bottom { padding: 1rem; }
.theme-preview-top { display: flex; align-items: center; gap: .6rem; }
.theme-preview-top img { max-width: 100px; max-height: 36px; }
.theme-preview-hero { background: var(--hero); }
.theme-preview-hero em, .theme-preview-link { color: var(--purple); }
.theme-preview-hero > p, .theme-preview-hero .button, .theme-preview-link { margin-top: .6rem; }
.theme-preview-link { display: inline-block; text-decoration: underline; }
.block-insert, .formatting { margin-block: .8rem; }
.formatting button, .block-controls button { background: transparent; color: var(--deep-accent); border: 1px solid var(--line); border-radius: .3rem; padding: .25rem .5rem; font-size: .87rem; }
.formatting button:hover, .block-controls button:hover:not(:disabled) { background: var(--soft-accent); }
.block-controls button:disabled { opacity: .5; cursor: default; }
.edit-block { border: 1px solid var(--line); border-radius: .45rem; margin-bottom: .7rem; }
.edit-block.is-dragging { opacity: .55; }
.block-controls { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; padding: .25rem .45rem; background: var(--soft-accent); }
.drag-handle { cursor: grab; font-size: 1.3rem; padding: 0 .35rem; line-height: 1.4; }
.block-content { min-height: 3rem; padding: .7rem; overflow-wrap: anywhere; }
.block-content iframe, .block-content img { cursor: default; }
.block-content iframe { pointer-events: none; }
.block-content img { max-height: 200px; object-fit: contain; }
.editor-image-preview { max-width: 100%; max-height: 160px; object-fit: contain; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 720px) {
  .design-columns, .with-sidebar { grid-template-columns: minmax(0, 1fr); }
  .sticky-image, .theme-preview { position: static; }
  .sticky-image { grid-row: 1; width: min(100%, 310px); }
  .hero-image { justify-self: start; width: min(100%, 350px); }
}
.access-options { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: .4rem; }
.access-options legend { font-weight: 680; }
.access-options .check { padding-block: .2rem; }
.access-options .scope-projects { margin-left: 1.35rem; }
