/* qncicka — soft, hand-touched, slightly faded.
   Late afternoon light. Cream paper, dim plum ink, muted lilac. */

:root {
  --bg:        #efe7dd;        /* warm faded cream — aged paper */
  --bg-soft:   #e6dcd0;        /* slightly darker cream for depth */
  --ink:       #2a2230;        /* dim plum-ink, never pure black */
  --ink-soft:  #5a4d5e;        /* secondary text */
  --ink-mute:  #8a7d8e;        /* tertiary, captions */
  --accent:    #8a6f9e;        /* muted lilac, drawn from "bez bzu" */
  --accent-h:  #6b4e7e;        /* hover/visited deepening */
  --rule:      #d8cebf;        /* hairlines */

  --serif: Charter, "Iowan Old Style", "Apple Garamond", "Hoefler Text", Cambria, Georgia, serif;
  --display: "Iowan Old Style", "Hoefler Text", Charter, Cambria, Georgia, serif;

  --measure: 36rem;            /* ~640px content width */
  --pad:     1.5rem;
}

@media (prefers-color-scheme: dark) {
  /* Soft dark mode: very dark plum, not midnight. Keeps the same lilac accent. */
  :root {
    --bg:       #1a1620;
    --bg-soft:  #221b29;
    --ink:      #e8dde6;
    --ink-soft: #b6a8b8;
    --ink-mute: #877a8a;
    --accent:   #c4a8d4;
    --accent-h: #d8c2e2;
    --rule:     #2e2535;
  }
}

/* —— reset-ish —— */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "kern", "lnum", "onum";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, iframe { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; }
a:hover, a:focus-visible { color: var(--accent-h); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* —— layout —— */
main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--pad) 4rem;
}

section, header, footer {
  padding: 5rem 0 0;
}
@media (min-width: 700px) {
  section, header { padding-top: 7.5rem; }
  main { padding-bottom: 6rem; }
}

.section-h {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  margin: 0 0 1.5rem;
  text-transform: lowercase;
}

/* —— hero —— */
.hero {
  padding-top: 6rem;
  text-align: center;
}
@media (min-width: 700px) {
  .hero { padding-top: 9rem; }
}
.wordmark {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.5rem, 16vw, 7rem);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
  color: var(--ink);
  font-feature-settings: "kern", "liga", "dlig";
  /* Lowercase wordmark, always. */
  text-transform: lowercase;
}

/* —— embeds —— */
.embed-frame {
  background: var(--bg-soft);
  border-radius: 12px;
  overflow: hidden;
}
.embed-frame--yt {
  aspect-ratio: 16 / 9;
}
.embed-frame--yt iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.more {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.more a { border-bottom-color: color-mix(in oklab, var(--accent) 40%, transparent); }

/* —— TikTok block —— */
.tiktoks {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}
.tiktok-embed {
  margin: 0 auto !important;
  max-width: 100% !important;
}

/* —— live —— */
.next-show, .session {
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.next-show__label, .session__label {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.next-show__link, .session__link {
  font-size: 1.15rem;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.1rem;
  display: inline-block;
  width: fit-content;
}
.next-show__link:hover, .session__link:hover {
  color: var(--accent-h);
  border-bottom-color: var(--accent);
}
.next-show__where {
  display: block;
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-top: 0.15rem;
}

/* —— follow row —— */
.follow .links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.25rem;
}
.follow a {
  font-size: 1.05rem;
  padding: 0.5rem 0;        /* keeps tap target ≥44px when combined with line-height */
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* —— footer —— */
footer {
  margin-top: 5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rule);
  text-align: center;
}
.credits {
  font-size: 0.82rem;
  color: var(--ink-mute);
  font-style: italic;
  letter-spacing: 0.02em;
  margin: 0 0 0.75rem;
  line-height: 1.7;
}
.copy {
  font-size: 0.82rem;
  color: var(--ink-mute);
  margin: 0;
}

/* —— motion —— */
@media (prefers-reduced-motion: no-preference) {
  .hero .wordmark {
    animation: rise 800ms ease-out both;
  }
  .reveal {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 700ms ease-out, transform 700ms ease-out;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* —— selection —— */
::selection {
  background: color-mix(in oklab, var(--accent) 40%, transparent);
  color: var(--ink);
}
