/* Studio layout: compact spacing, clear hierarchy, and room for the actual apps. */
.shell { max-width: 1200px; width: calc(100% - 80px); }
h1, h2, h3, h4 { text-wrap: balance; font-optical-sizing: auto; }
p { text-wrap: pretty; }
.eyebrow { color: var(--accent); font-size: 10px; letter-spacing: 1px; margin: 0; }
.site-header { height: 80px; gap: 24px; }
.site-header nav { gap: 28px; font-size: 13px; align-items: center; }
.site-header nav a:last-child { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; }
.wordmark { font-size: 24px; letter-spacing: -.8px; }
.brand-symbol { width: 42px; height: 42px; }
.button { min-height: 44px; border-radius: 8px; padding: 11px 16px; gap: 18px; font-size: 13px; }
.button:active { transform: scale(.98); }
.text-link { min-height: 44px; font-size: 13px; gap: 12px; }
.product-detail-link { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.hero { padding-top: 0; }
.hero-grid { grid-template-columns: 1.5fr 1fr; gap: 40px; padding-block: 42px 36px; }
.hero h1 { font-size: clamp(48px, 5.1vw, 72px); font-weight: 600; line-height: 1.04; letter-spacing: -.055em; margin: 17px 0 20px; }
.hero-copy > p { max-width: 490px; font-size: 16px; line-height: 1.65; margin: 0 0 22px; }
.hero-copy > .eyebrow { color: var(--accent); font-size: 10px; margin: 0; line-height: 1.6; }
.hero-actions { gap: 12px 24px; }
.studio-visual { display: grid; justify-items: center; gap: 18px; min-width: 0; }
.brand-art { width: 264px; max-width: 90%; aspect-ratio: 1.1; transform: rotate(-5deg); }
.brand-art-face { border-radius: 22px; background: #1c201f; box-shadow: 0 12px 24px #15171818; }
.brand-art-face::before { background: none; }
.brand-art-face > img { width: 82%; }
.art-label, .art-foot { font-size: 7px; left: 18px; right: 18px; letter-spacing: .5px; }
.art-label { top: 18px; }
.art-foot { bottom: 18px; }
.art-cta { font-size: 10px; }
.visual-caption { font-size: 11px; color: var(--muted); }
.release-strip { display: flex; align-items: center; gap: 14px; border-block: 1px solid var(--line); padding: 12px 0; font-size: 13px; }
.release-strip > img { width: 34px; height: 34px; flex-shrink: 0; }
.release-label { color: var(--accent); font-size: 11px; font-weight: 650; }
.release-title { font-weight: 600; }
.release-description { color: var(--muted); font-weight: 400; }
.release-action { display: inline-flex; align-items: center; gap: 16px; margin-left: auto; font-size: 12px; font-weight: 650; white-space: nowrap; }
.release-strip:hover .release-action { color: var(--accent); }
.apps-section { padding-top: 32px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-heading h2, .home-faq h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; line-height: 1.2; letter-spacing: -.04em; margin: 8px 0 0; }
.product-card { border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--paper), var(--ink) 2%); }
.product-status { border: 1px solid var(--line); background: var(--paper); border-radius: 5px; font-family: inherit; font-size: 10px; font-weight: 600; padding: 5px 8px; white-space: nowrap; }
.studio-section { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; border-block: 1px solid var(--line); margin-top: 40px; padding-block: 32px; }
.maker-note h2, .studio-journal h2 { font-size: 25px; font-weight: 600; line-height: 1.25; letter-spacing: -.7px; margin: 10px 0 12px; }
.maker-note > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.75; max-width: 50ch; margin: 0 0 8px; }
.studio-journal { border-left: 1px solid var(--line); padding-left: 36px; }
.studio-journal .section-heading { margin-bottom: 14px; align-items: center; }
.studio-journal h2 { margin: 0; font-size: 18px; letter-spacing: -.4px; }
.studio-journal .section-heading .text-link { white-space: nowrap; font-size: 12px; }
.studio-journal .journal-entry { border: 0; padding: 0; }
.studio-journal .journal-entry h3 { font-size: 23px; margin: 12px 0 8px; }
.studio-journal .journal-entry p { font-size: 13px; line-height: 1.7; margin: 0; }
.studio-journal .journal-rss { padding-top: 12px; min-height: 36px; }
.home-faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 44px; padding-top: 36px; }
.home-faq > div > .text-link { margin-top: 12px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; padding: 18px 0; font-size: 14px; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.faq-list summary span { color: var(--accent); font-size: 20px; line-height: 1; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { font-size: 14px; color: var(--muted); line-height: 1.75; margin: 0 24px 18px 0; }
.site-footer { margin-top: 40px; padding-bottom: 22px; }
.footer-main { padding: 24px 0; }
.footer-main p { font-size: 12px; }
.footer-meta { padding-top: 18px; gap: 16px; }
.footer-controls > a { min-height: 32px; display: inline-flex; align-items: center; }
.theme-control select { min-height: 32px; }
/* The same spacing system carries through the app, journal, and document pages. */
.document, .catalog-page, .journal-page { padding-top: 36px; }
.document { max-width: 880px; }
.about-page { max-width: 1120px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); column-gap: clamp(28px, 5vw, 64px); align-items: start; }
.about-heading { grid-column: 1; }
.about-heading .document-intro { margin-bottom: 8px; }
.about-copy { grid-column: 1; }
.maker-portrait { grid-column: 2; grid-row: 1 / 3; margin: 0; }
.maker-portrait img { display: block; width: 100%; height: auto; border-radius: 20px; }
.maker-portrait figcaption { display: flex; flex-direction: column; gap: 3px; padding-top: 14px; font-size: 13px; }
.maker-portrait figcaption span { color: var(--muted); font-size: 12px; }
.back-link { margin-bottom: 24px; min-height: 32px; }
.document h1, .catalog-page h1, .journal-page h1 { font-size: clamp(36px, 4.5vw, 58px); letter-spacing: -.045em; margin: 16px 0 18px; }
.document-intro, .page-lead { font-size: 18px; line-height: 1.65; margin-bottom: 28px; }
.prose { line-height: 1.8; }
.prose h2 { margin-top: 30px; }
.product-card { padding: 24px; min-width: 0; }
.product-card-top { margin-bottom: 20px; gap: 12px; }
.product-card-top img { width: 58px; height: 58px; }
.product-card :is(h2,h3) { font-size: 27px; }
.product-line { min-height: 3.2em; }
.product-description { margin-block: 16px; font-size: 14px; }
.product-meta p { min-height: 4.95em; margin: 10px 0 16px; }
.product-actions { padding-top: 8px; gap: 0; }
.app-catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; }
.product-card:last-child { grid-column: auto; }
.journal-page-grid { gap: 40px; }
.journal-entry { padding-block: 20px; }
.app-release { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 24px; }
.app-release .detail-app-icon { width: 56px; height: 56px; margin: 0; }
.app-release strong { display: block; font-size: 16px; }
.app-release div > span { display: block; color: var(--muted); font-size: 12px; }
.app-release .button { margin-left: auto; text-decoration: none; }
.prose .button:hover { color: #fff; }
video { display: block; width: 100%; height: auto; background: #151718; border-radius: 14px; }
.transcript { margin-top: 28px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .button { transition: background 140ms ease, transform 140ms ease; }
  .button:hover { transform: translateY(-1px); }
}
@media (max-width: 1050px) {
  .shell { width: calc(100% - 48px); }
  .hero-grid { grid-template-columns: 1.4fr 1fr; gap: 24px; }
  .hero h1 { font-size: clamp(44px, 5.6vw, 60px); }
  .release-description { display: none; }
  .studio-section { gap: 28px; }
  .studio-journal { padding-left: 28px; }
}
@media (max-width: 900px) {
  .app-catalog { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-heading, .about-copy, .maker-portrait { grid-column: 1; grid-row: auto; }
  .about-heading .document-intro { margin-bottom: 0; }
  .maker-portrait { width: min(100%, 400px); }
  .maker-portrait img { border-radius: 16px; }
  .about-copy > :first-child { margin-top: 0; }
  .shell { width: calc(100% - 40px); }
  .site-header { min-height: 100px; height: auto; padding-block: 12px 8px; gap: 4px; }
  .site-header nav { gap: 10px; font-size: 11px; }
  .site-header nav a:last-child { border: 0; padding: 10px 0; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 30px 24px; gap: 22px; }
  .hero h1 { font-size: clamp(44px, 10vw, 65px); margin: 14px 0 16px; }
  .hero-copy > .eyebrow { font-size: 9px; letter-spacing: .6px; }
  .hero-copy > p { font-size: 15px; max-width: 490px; margin-bottom: 18px; }
  .studio-visual { display: flex; align-items: center; justify-content: flex-start; gap: 18px; }
  .brand-art { width: 100px; aspect-ratio: 1; flex-shrink: 0; transform: none; }
  .brand-art-face { border-radius: 18px; box-shadow: none; }
  .brand-art-face > img { width: 90%; margin: 0 0 10px; }
  .art-label, .art-foot > span:first-child { display: none; }
  .art-foot { left: 10px; right: 10px; bottom: 9px; justify-content: center; }
  .art-cta { font-size: 8px; gap: 4px; }
  .visual-caption { font-size: 12px; max-width: 19ch; line-height: 1.6; }
  .release-strip { display: grid; grid-template-columns: 34px 1fr auto; gap: 2px 12px; padding-block: 12px; }
  .release-strip > img { grid-row: 1 / 3; }
  .release-label { grid-column: 2; font-size: 10px; }
  .release-title { grid-column: 2; font-size: 12px; }
  .release-action { grid-column: 3; grid-row: 1 / 3; font-size: 11px; gap: 8px; }
  .apps-section { padding-top: 26px; }
  .section-heading { gap: 12px; margin-bottom: 16px; }
  .section-heading h2, .home-faq h2 { font-size: 28px; letter-spacing: -.04em; }
  .apps-section > .section-heading { flex-wrap: wrap; }
  .studio-section { grid-template-columns: 1fr; gap: 24px; margin-top: 28px; padding-block: 24px; }
  .studio-journal { border-left: 0; border-top: 1px solid var(--line); padding: 22px 0 0; }
  .studio-journal h2 { font-size: 17px; }
  .home-faq { grid-template-columns: 1fr; gap: 12px; padding-top: 26px; }
  .home-faq > div > .text-link { margin-top: 4px; }
  .site-footer { margin-top: 28px; }
  .footer-main { padding-block: 20px; gap: 14px; }
  .footer-main > p { display: none; }
  .footer-main > .text-link { flex-basis: auto; margin-left: auto; }
  .footer-controls { gap: 8px 16px; }
  .document, .catalog-page, .journal-page { padding-top: 26px; }
  .document-intro, .page-lead { font-size: 16px; }
  .product-card { padding: 22px; }
  .app-release .button { margin-left: 0; }
  .app-catalog { grid-template-columns: 1fr; }
  .product-card:last-child { grid-column: auto; }
}
@media (max-width: 370px) {
  .release-action { font-size: 0; gap: 0; }
  .release-action > span { font-size: 20px; }
  .footer-main .wordmark { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-art { transform: none; }
  .button, .button:hover, .button:active { transform: none; transition: none; }
}
@media (prefers-contrast: more) {
  .product-status { border: 1px solid currentColor; }
}
