/* dramory.ai — page parts on top of site.css. Colours: tokens.css only. */

/* ─── hero ─── */
.hero { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) clamp(3rem, 2rem + 4vw, 5.5rem); }
.hero .eyebrow { margin-bottom: 1.6rem; }
.hero h1 { font-size: var(--step-4); max-width: 15ch; }
.hero h1 .soft { color: var(--accent); }
.hero .lede { margin-top: 1.6rem; }

/* two doors: the two brands, equal weight */
.doors { display: grid; gap: clamp(1rem, 0.6rem + 1.5vw, 1.75rem); margin-top: clamp(3rem, 2rem + 4vw, 5rem); list-style: none; padding: 0; }
@media (min-width: 52rem) { .doors { grid-template-columns: 1fr 1fr; } }
.door { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--rule); background: var(--bg-raised); text-decoration: none; color: inherit; transition: border-color 0.2s ease, transform 0.2s ease; }
.door:hover { border-color: var(--rule-strong); }
.door .door-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-sunk); }
.door .door-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.door:hover .door-media img { transform: scale(1.02); }
.door .door-body { display: grid; gap: 0.5rem; padding: clamp(1.4rem, 1rem + 1.4vw, 2.1rem); align-content: start; }
.door .door-kind { font-size: var(--step--2); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.door .door-name { font-family: var(--font-display); font-size: var(--step-3); letter-spacing: -0.02em; line-height: 1.2; }
.door p { color: var(--fg-muted); max-width: 30rem; }
.door .door-go { margin-top: 0.75rem; font-size: var(--step--1); font-weight: 600; color: var(--fg); display: inline-flex; gap: 0.4rem; align-items: center; }
.door .door-go .arrow { transition: transform 0.2s ease; color: var(--accent); }
.door:hover .door-go .arrow { transform: translate(2px, -2px); }
.door.studio, .door.dark { background: #0B1310; border-color: rgba(230, 236, 232, 0.1); color: #E8EEEA; }
.door.studio p, .door.dark p { color: #A9BAB2; }
.door.studio .door-kind, .door.dark .door-kind { color: #8CC5AC; }
.door.studio .door-go, .door.dark .door-go { color: #E8EEEA; }
.door.studio .door-go .arrow, .door.dark .door-go .arrow { color: #8CC5AC; }

/* ─── studio (dark band) ─── */
.studio-grid { display: grid; gap: clamp(3rem, 2rem + 3vw, 5rem); }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--rule); padding-bottom: 0.9rem; margin-bottom: 1.5rem; }
.block-head h3 { font-family: var(--font-display); font-size: var(--step-2); letter-spacing: -0.015em; }
.block-head a { font-size: var(--step--1); color: var(--fg-muted); text-decoration: none; white-space: nowrap; }
.block-head a:hover { color: var(--fg); text-decoration: underline; }
.tiles { display: grid; gap: 1rem; list-style: none; padding: 0; margin: 0; }
.tiles a { text-decoration: none; color: inherit; display: grid; gap: 0.7rem; }
.tiles img { width: 100%; border-radius: 8px; background: rgba(255, 255, 255, 0.04); transition: opacity 0.2s ease; }
.tiles a:hover img { opacity: 0.88; }
.tiles .t-name { font-weight: 600; line-height: 1.4; }
.tiles .t-kind { font-size: var(--step--2); letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-faint); font-weight: 700; }
.tiles .t-desc { font-size: var(--step--1); color: var(--fg-muted); }
.works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.works img { aspect-ratio: 405 / 608; object-fit: cover; }
.webtoons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.webtoons img { aspect-ratio: 4 / 3; object-fit: cover; }
.artists { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.artists img { aspect-ratio: 4 / 5; object-fit: cover; }
.artists .t-latin { font-size: var(--step--2); letter-spacing: 0.14em; color: var(--fg-faint); font-weight: 700; }
@media (min-width: 40rem) { .webtoons, .artists { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 60rem) {
  .studio-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(2.5rem, 2rem + 3vw, 5rem); }
  .studio-grid .span { grid-column: 1 / -1; }
}
.music { display: grid; gap: 1.5rem; align-items: center; }
.music a.mv { position: relative; display: block; border-radius: 10px; overflow: hidden; }
.music a.mv img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.music a.mv .play { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(7, 16, 13, 0.72); color: #E8EEEA; padding: 0.5rem 0.85rem; border-radius: 999px; font-size: var(--step--1); font-weight: 600; backdrop-filter: blur(6px); }
.music a.mv .play svg { width: 0.8rem; height: 0.8rem; }
.music .m-title { font-family: var(--font-display); font-size: var(--step-2); letter-spacing: -0.01em; }
.music p { color: var(--fg-muted); }
.band-foot { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }

/* ─── office ─── */
.office-shot { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: #10231D; }
.office-shot img { width: 100%; }

/* ─── symbol statement ─── */
.statement { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4rem); align-items: center; }
.statement blockquote { margin: 0; }
.statement blockquote p:first-child { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.35; letter-spacing: -0.02em; }
.statement blockquote p + p { margin-top: 1.25rem; color: var(--fg-muted); max-width: 32rem; }
.statement .logo-symbol { width: 3rem; color: var(--accent); margin-bottom: 1.75rem; }
@media (min-width: 56rem) { .statement { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

/* ─── channel ─── */
.channel { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem 1.5rem; align-items: center; padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--bg-raised); text-decoration: none; color: inherit; }
.channel:hover { border-color: var(--rule-strong); }
.channel .yt { width: 3rem; height: 3rem; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.channel .yt svg { width: 1.3rem; height: 1.3rem; }
.channel .c-name { font-weight: 700; }
.channel .c-desc { color: var(--fg-muted); font-size: var(--step--1); }
.channel .c-go { grid-column: 1 / -1; font-size: var(--step--1); font-weight: 600; color: var(--accent); }
@media (min-width: 44rem) { .channel { grid-template-columns: auto minmax(0, 1fr) auto; } .channel .c-go { grid-column: auto; } }

/* ─── art (tools/art.py) ─── */
.plate-bare { margin: 0; }
.plate-bare svg { width: 100%; height: auto; }
.art { font-family: var(--font-sans); }
.ar-page { fill: var(--art-paper); stroke: var(--art-line); stroke-width: 0.9; }
.ar-frame { fill: none; stroke: var(--art-line); stroke-width: 0.9; }
.ar-frame-acc { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1; }
.ar-line { fill: var(--art-line); }
.ar-ink { fill: var(--art-ink); }
.ar-acc { fill: var(--accent); }
.ar-warm { fill: var(--warm); }
.ar-cell { stroke: var(--art-line); stroke-width: 0.7; }
.ar-cellhead { fill: var(--accent-soft); }
.ar-spine { stroke: var(--accent); stroke-width: 1.2; }
.ar-rule { stroke: var(--art-line); stroke-width: 0.8; }
.ar-fig { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; fill: var(--fg-faint); }
.ar-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; fill: var(--fg-muted); }
.ar-serif { font-family: var(--font-display); font-size: 17px; fill: var(--art-ink); }
