/* Bookshift Studio guides: the hub (/guides/) and one page per guide (/guides/<id>/).
   Generated HTML: scripts/generate_studio_guides_web.py. Loads after landing.css and
   uses its tokens, header, footer, buttons and signup; everything here is prefixed gw-. */

.gw-page main { display: block; }
.gw-time { display: inline-block; font-family: var(--mono); font-size: 12px; line-height: 1.5; white-space: nowrap; padding: 1px 8px; border: 1px solid var(--rule-strong); border-radius: 999px; color: var(--ink-3); }
.gw-page .lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.55; color: var(--ink-2); max-width: 60ch; margin-block-start: 14px; }
.gw-page h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.08; font-weight: 350; letter-spacing: -.02em; }

/* ---------- hub ---------- */
.gw-intro { padding-block: 56px 20px; }
@media (max-width: 640px) { .gw-intro { padding-block: 36px 12px; } }
.gw-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 24px; }
.gw-jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--rule-strong); background: var(--card); color: var(--ink-2); font-size: 14.5px; font-weight: 500; text-decoration: none; }
.gw-jump a:hover { border-color: var(--violet); color: var(--violet-text); }
.gw-group { padding-block: 36px; }
.gw-group + .gw-group { border-block-start: 1px solid var(--rule); }
.gw-group h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.15; letter-spacing: -.01em; }
.gw-cards { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 28px 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .gw-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .gw-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1400px) { .gw-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gw-cards > li { min-width: 0; }
.gw-card { display: block; color: var(--ink); text-decoration: none; border-radius: var(--radius); }
.gw-card img { width: 100%; aspect-ratio: 720 / 450; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--rule); background: var(--card); box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.gw-card:hover img { transform: translateY(-2px); box-shadow: 0 1px 2px rgb(28 25 48 / .08), 0 26px 48px -24px rgb(28 25 48 / .5); }
.gw-card-title { display: block; margin-block-start: 14px; font-size: 17px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.gw-card:hover .gw-card-title { color: var(--violet-text); text-decoration: underline; text-underline-offset: .18em; }
.gw-card .gw-time { margin-block-start: 8px; }
.gw-card:focus-visible { outline-offset: 6px; }
.gw-card-sum { display: block; margin-block-start: 6px; font-size: 15px; line-height: 1.5; color: var(--ink-3); }
/* Phones: a compact list with a small poster beside the text, so the hub stays short. */
@media (max-width: 599px) {
  .gw-cards { gap: 24px; }
  .gw-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .gw-card img { grid-row: 1 / span 3; border-radius: 7px; box-shadow: none; }
  .gw-card-title { margin-block-start: 0; font-size: 16px; }
  .gw-card .gw-time { justify-self: start; margin-block-start: 6px; }
  .gw-card-sum { font-size: 14.5px; }
}

/* ---------- one guide ---------- */
.gw-guide { padding-block: 40px 64px; }
@media (max-width: 640px) { .gw-guide { padding-block: 24px 44px; } }
.gw-guide-shell { max-width: 1080px; }
.gw-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14.5px; color: var(--ink-3); margin-block-end: 18px; }
.gw-crumbs a { color: var(--violet-text); font-weight: 500; }
.gw-player { margin: 28px 0 0; }
.gw-player video { display: block; width: 100%; height: auto; aspect-ratio: 1440 / 900; border-radius: var(--radius); border: 1px solid var(--rule); background: var(--card); box-shadow: var(--shadow); }
.gw-player figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-block-start: 12px; font-size: 14.5px; color: var(--ink-3); }
.gw-columns { display: grid; gap: 36px 56px; margin-block-start: 44px; }
@media (min-width: 900px) { .gw-columns { grid-template-columns: minmax(0, 1fr) 280px; } }
.gw-steps h2, .gw-transcript h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.2; letter-spacing: -.01em; }
.gw-steps { max-width: 68ch; }
.gw-steps p, .gw-steps ol, .gw-steps ul { margin: 16px 0 0; font-size: 17px; line-height: 1.65; }
.gw-steps ol, .gw-steps ul { padding-inline-start: 1.5em; }
.gw-steps li + li { margin-block-start: 10px; }
.gw-steps li::marker { color: var(--violet-text); font-weight: 600; }
.gw-steps b { font-weight: 600; }
kbd { font-family: var(--mono); font-size: .86em; padding: 1px 6px; border: 1px solid var(--rule-strong); border-block-end-width: 2px; border-radius: 5px; background: var(--card); color: var(--ink); white-space: nowrap; }
.gw-side { display: grid; gap: 16px; align-content: start; }
.gw-next { display: grid; gap: 6px; padding: 14px; border: 1px solid var(--rule); border-radius: 12px; background: var(--card); color: var(--ink); text-decoration: none; box-shadow: 0 1px 2px rgb(28 25 48 / .04); }
.gw-next:hover { border-color: var(--violet); }
.gw-next img { width: 100%; aspect-ratio: 720 / 450; object-fit: cover; border-radius: 7px; border: 1px solid var(--rule); margin-block-end: 6px; }
.gw-next-label { font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.gw-next-title { font-weight: 600; line-height: 1.35; }
.gw-next:hover .gw-next-title { color: var(--violet-text); text-decoration: underline; text-underline-offset: .18em; }
.gw-next .gw-time { justify-self: start; }
.gw-all { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.gw-transcript { margin-block-start: 48px; padding-block-start: 28px; border-block-start: 1px solid var(--rule); max-width: 68ch; }
.gw-transcript summary { cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 44px; list-style: none; border-radius: 6px; }
.gw-transcript summary::-webkit-details-marker { display: none; }
.gw-transcript summary::after { content: ""; width: 9px; height: 9px; border-inline-end: 2px solid var(--ink-3); border-block-end: 2px solid var(--ink-3); transform: rotate(45deg) translateY(-3px); transition: transform .15s ease; }
.gw-transcript[open] summary::after { transform: rotate(225deg) translateY(-1px); }
.gw-transcript p { margin-block-start: 14px; color: var(--ink-2); line-height: 1.65; }
@media (max-width: 899px) {
  .gw-next { grid-template-columns: 132px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 14px; align-items: start; }
  .gw-next-label { grid-column: 1 / -1; }
  .gw-next img { grid-row: 2 / 4; margin: 0; }
}

/* The header link to this section. */
.gw-page .head-nav a[aria-current], .gw-page .menu-panel a[aria-current] { color: var(--violet-text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .4em; }
