:root {
  color-scheme: dark;
  --night: #100e19;
  --surface: #1b1527;
  --ink: #fbf1ee;
  --muted: #c6b7ce;
  --amber: #ffad78;
  --line: #41324d;
  --serif: "Songti SC", "Noto Serif CJK SC", "Yu Mincho", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--night); color: var(--ink); font: 1rem/1.65 system-ui, sans-serif; }
a { color: var(--amber); text-underline-offset: .3em; }
a:focus-visible { outline: 2px solid var(--amber); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.18; }
h1, h2 { font-family: var(--serif); }
.wrap { width: min(1120px, 100% - 3rem); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: 1rem; z-index: 2; transform: translateY(-160%); background: var(--night); padding: .6rem 1rem; }
.skip:focus { transform: none; }
.top { border-bottom: 1px solid var(--line); background: #15101e; }
.masthead, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.75rem; }
.brand { display: inline-flex; align-items: center; color: var(--ink); font-family: var(--serif); font-size: 1.2rem; text-decoration: none; white-space: nowrap; }
.brand-logo { display: block; border-radius: 23%; }
.eyebrow, .category { color: var(--amber); font: 650 .875rem/1.4 system-ui, sans-serif; letter-spacing: .12em; }
.masthead nav { display: flex; gap: clamp(.85rem, 3vw, 2.4rem); }
.masthead nav a { color: var(--muted); text-decoration: none; white-space: nowrap; }
.masthead nav a:hover, .masthead nav a[aria-current] { color: var(--amber); text-decoration: underline; }
.hero { margin-top: 2.2rem; display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: 1.3rem; overflow: hidden; }
.hero-copy { align-self: center; padding: clamp(2rem, 5vw, 5rem); }
h1 { font-size: clamp(2.75rem, 7vw, 6rem); font-weight: 500; }
.hero h1 { margin: .9rem 0 1.4rem; color: #f5c0ae; font-size: clamp(2.65rem, 7vw, 5.7rem); font-style: italic; }
.hero-copy > p:not(.eyebrow), .page-head > p:last-child, .card p:last-child, .prose p, dd { color: var(--muted); }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.8rem; }
.button, .categories a { padding: .55rem 1rem; border: 1px solid #986657; border-radius: .4rem; text-decoration: none; }
.button:hover, .categories a:hover { background: #39273c; }
.button.primary { background: var(--amber); color: #211321; font-weight: 650; }
.button.primary:hover { background: #ffc19a; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 19rem; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 48% 48%, #67405d, #3d274d 55%, #241a36 100%); }
.hero-art::after { content: ""; position: absolute; z-index: -1; inset: 0; background: repeating-radial-gradient(ellipse at 50% 115%, transparent 0 30px, #ffc2a719 31px 32px, transparent 33px 45px); }
.moon { position: absolute; width: min(49%, 15rem); aspect-ratio: 1; top: 14%; left: 25%; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #ffddbb, #ffae82 60%, #d37769); box-shadow: 0 0 60px #ffb78c45; z-index: -1; }
.petal { position: absolute; width: 1.15rem; height: .65rem; border-radius: 70% 10% 65% 40%; background: #ffc2b6; opacity: .72; transform: rotate(var(--angle)); }
.p1 { top: 21%; left: 13%; --angle: 35deg; } .p2 { top: 31%; right: 14%; --angle: -30deg; } .p3 { bottom: 24%; left: 19%; --angle: 70deg; } .p4 { top: 12%; right: 20%; --angle: 62deg; } .p5 { bottom: 22%; right: 22%; --angle: -40deg; }
.art-label { align-self: end; margin: 0 0 1.2rem; padding: .35rem .85rem; border: 1px solid #eab39b7a; border-radius: 2rem; background: #211629; color: var(--ink); font-size: .875rem; }
.block, .listing { margin-block: 3rem; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
h2 { font-size: clamp(1.55rem, 3.5vw, 2.25rem); font-weight: 550; }
.grid, .about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.card, .detail { border: 1px solid var(--line); background: var(--surface); border-radius: .8rem; overflow: hidden; }
.card > a { display: block; height: 100%; color: var(--ink); text-decoration: none; }
.card:focus-within, .card:hover { border-color: var(--amber); }
.card a:focus-visible { outline-offset: -4px; }
.card-body { padding: 1.25rem; }
.card h3 { margin-block: .4rem .65rem; font-family: var(--serif); font-size: 1.5rem; }
.placeholder { min-height: 10rem; display: grid; place-items: center; background: repeating-linear-gradient(135deg, transparent 0 14px, #bb93d00d 15px 16px), linear-gradient(140deg, #2e213d, #20192e); color: #e6cde9; padding: 1rem; }
.placeholder span { border: 1px dashed #a689af; border-radius: .35rem; padding: .35rem .85rem; font-size: .875rem; }
.breadcrumbs { margin-top: 1.75rem; }
.breadcrumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: .6rem; color: #a893b0; }
.page-head { padding-block: 1.5rem 2rem; }
.page-head h1 { margin-block: .5rem .8rem; font-size: clamp(2.5rem, 7vw, 4.5rem); }
.categories { display: flex; flex-wrap: wrap; gap: .75rem; }
.listing h2 { margin-bottom: .8rem; }
.listing:target h2 { color: var(--amber); }
.detail { padding: clamp(1rem, 4vw, 2.5rem); }
.detail .page-head { padding-top: 0; }
.detail .placeholder { min-height: clamp(12rem, 38vw, 24rem); border-radius: .5rem; }
.detail .prose { margin-top: 1.5rem; }
.detail .page-head + .prose { margin-top: 0; }
.prose p { margin-top: .7rem; max-width: 44rem; }
.about-grid .placeholder { margin-top: 1rem; min-height: 12rem; }
dl { margin-bottom: 0; }
dt { font-weight: 650; }
dd { margin: 0 0 .7rem; }
.footer { margin-top: 3rem; border-top: 1px solid var(--line); }
@media (max-width: 700px) {
  .wrap { width: calc(100% - 2rem); }
  .masthead { flex-wrap: wrap; padding-block: .85rem; }
  .masthead nav { flex-wrap: wrap; }
  .hero, .about-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 17rem; }
}
@media (max-width: 460px) { .grid { grid-template-columns: 1fr; } }
