/* studiohnny skin. The videos keep their own pictures; this is only the page around them. */

:root {
  --creme: #f6efe6;
  --paper: #faf4ec;
  --ink: #2a2228;
  --muted: #6b626b;
  --line: rgba(42, 34, 40, 0.12);
  --pink: #b8306c;
  --pink-soft: #f8d7e3;
  --menta: #a8dcc8;
  --teal: #0a3a42;
  --pessego: #f7c6a3;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  --hand: "Caveat", "Segoe Script", cursive;
  --hnny-header: 4.4rem;
  color-scheme: light;
}

html { color-scheme: light; }

body {
  background: var(--creme) !important;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
}

h1, h2, h3, .card h3 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

h1, .top h1, header.studio-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  padding-top: 0.04em;
  color: var(--ink);
}

h1 em, .intro em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
}

h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.card h3, ol li h3 { font-size: 1.35rem; letter-spacing: -0.02em; }

p, .intro, .sub, .card .desc, .how-tell, .steps span, ol li p, header p {
  color: var(--ink);
}

.sub, .card .desc, .how-tell, .steps span, ol li p {
  color: var(--ink);
}

.meta, summary, .page > footer {
  color: var(--muted);
}

.kicker, .eyebrow, .prompt .lbl {
  display: block;
  margin: 0 0 0.45rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
}

.intro, header.studio-hero p, .hero-copy .intro {
  max-width: 62ch;
  font-size: 1.08rem;
  color: var(--ink);
}

:focus-visible,
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

header.hnny-mast {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  max-width: none !important;
  gap: 1rem;
  min-height: var(--hnny-header);
  padding: 0.75rem clamp(1.1rem, 4vw, 2.4rem);
  background: rgba(246, 239, 230, 0.92);
  backdrop-filter: blur(10px);
}

.hnny-wordmark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
}

.hnny-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.35rem 1.15rem; }
.hnny-nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.3rem 0;
}
.hnny-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.1rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
}
.hnny-nav a:hover::after, .hnny-nav a:focus-visible::after { transform: scaleX(1); }

.page { max-width: 1120px; }

.top, header.studio-hero {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 1rem 2rem;
  max-width: none !important;
}

.hero-copy, header.studio-hero > div { flex: 1 1 auto; min-width: 0; }

.hnny-bug {
  width: 210px;
  flex: 0 0 210px;
  margin: 0;
  order: 2;
  pointer-events: none;
}
.hnny-bug img, .hnny-foot img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 18px rgba(42, 34, 40, 0.14));
}

.hero.sage, .hero {
  background: transparent !important;
  color: var(--ink) !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0;
}
.hero .ic { display: none; }
.hero small, .kicker { color: var(--pink); }

.raised, .card, .player, .prompt, .steps li, ol li.raised, .tray {
  background: var(--paper) !important;
  border: 1px solid var(--line) !important;
  border-radius: 22px !important;
  box-shadow: 0 12px 32px rgba(42, 34, 40, 0.08) !important;
  color: var(--ink);
}

.tray {
  border-radius: 999px !important;
  padding: 6px !important;
  background: rgba(42, 34, 40, 0.04) !important;
  box-shadow: none !important;
}

.chip, .seg button {
  border: 0 !important;
  border-radius: 999px !important;
  padding: 0.55rem 0.95rem !important;
  background: transparent !important;
  color: var(--ink) !important;
  box-shadow: none !important;
  font-family: var(--sans);
  font-weight: 600;
}
.chip b { color: var(--muted); font-weight: 600; }
.chip[aria-pressed="true"], .seg button[aria-pressed="true"] {
  background: var(--pink) !important;
  color: var(--paper) !important;
  box-shadow: none !important;
}
.chip[aria-pressed="true"] b { color: var(--paper); }

.well {
  background: #f3e4d6 !important;
  box-shadow: none !important;
  border-radius: 16px !important;
}
.screen {
  background: #efe4d6 !important;
  border-radius: 12px !important;
}

.play, .snd, .ctl {
  background: var(--paper) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 8px 18px rgba(42, 34, 40, 0.1) !important;
}
.snd[aria-pressed="true"], .ctl[aria-pressed="true"], .ctl.main {
  background: var(--pink) !important;
  color: var(--paper) !important;
  border-color: var(--pink) !important;
}
.timeline { background: rgba(42, 34, 40, 0.16); }
.timeline i { background: var(--pink) !important; }

.meta .cat {
  color: var(--teal) !important;
  background: var(--menta) !important;
  border-radius: 999px;
  box-shadow: none !important;
  font-weight: 700;
}

.btn, .copy, .start span {
  border-radius: 999px !important;
  font-family: var(--sans);
  font-weight: 700;
  box-shadow: none !important;
}
.btn {
  background: var(--paper) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
}
.btn.primary, .copy, .start span {
  background: var(--pink) !important;
  color: var(--paper) !important;
  border-color: var(--pink) !important;
}
.start { background: rgba(246, 239, 230, 0.28) !important; }
.start svg { fill: var(--paper) !important; }

.steps li::before, ol li b.n {
  background: var(--menta) !important;
  color: var(--teal) !important;
  box-shadow: none !important;
}
.steps code, details pre, .prompt blockquote {
  background: var(--creme) !important;
  color: var(--ink) !important;
  box-shadow: none !important;
  border-radius: 12px;
  font-family: "DM Sans", var(--sans);
}
.prompt blockquote { font-family: var(--sans); font-weight: 500; }

input[type="range"] { accent-color: var(--pink); }

.proj {
  background: rgba(246, 239, 230, 0.96) !important;
}
.proj-head, .proj-ctl, .proj .btn {
  color: var(--ink) !important;
}
.proj .btn {
  background: var(--paper) !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
}

.toast {
  background: var(--teal) !important;
  color: var(--creme) !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 32px rgba(42, 34, 40, 0.16) !important;
}

.page > footer {
  color: var(--muted);
  text-align: left;
  font-size: 0.95rem;
}

footer.footer {
  background: var(--teal);
  color: var(--creme);
  margin-top: 2.5rem;
  padding: 0 clamp(1.1rem, 4vw, 2.4rem) 2.2rem;
  text-align: left;
  font-size: 1rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(246, 239, 230, 0.18);
}
.footer-handle {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--creme);
  text-decoration: none;
}
.footer-handle:hover { color: var(--pessego); }
.footer-meta p { color: #d7ebe7; font-size: 0.95rem; }
.footer-meta p + p { margin-top: 0.2rem; color: #b7d0cb; }
.hnny-foot { width: 84px; margin: 0; pointer-events: none; }

@media (min-width: 900px) {
  .footer-meta { text-align: right; }
}

@media (max-width: 720px) {
  .hnny-wordmark { font-size: 1.25rem; }
  .hnny-nav a { font-size: 0.88rem; }
  .top, header.studio-hero { flex-wrap: wrap; }
  .hnny-bug { width: 148px; flex-basis: 148px; order: 0; margin: 0 0 0.2rem; }
  .hero-copy, header.studio-hero > div { flex: 1 0 100%; }
  .footer-inner { display: block; }
  .hnny-foot { width: 72px; margin-top: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hnny-nav a::after, .hnny-bug img { transition: none; }
}
