/* Shared presentation and controls for the approved six-door artwork. */
:root {
  --radius-panel: 16px;
  --control-height: 52px;
  --ease-out: cubic-bezier(.22,1,.36,1);
}

:focus-visible { outline: 3px solid var(--focus-on-light); outline-offset: 4px; }
.right-now :focus-visible, .breath-stage :focus-visible, .site-footer :focus-visible {
  outline-color: var(--focus-on-dark);
}
.button.primary, .header-top a.nav-start {
  background: var(--primary); color: var(--primary-text); border-color: var(--primary);
}
.button.primary:hover, .header-top a.nav-start:hover {
  background: var(--primary-hover); color: var(--primary-text); border-color: var(--primary-hover);
}
.kit-inline .formkit-submit { background: var(--primary)!important; color: var(--primary-text)!important; }
.kit-inline input:focus, .kit-inline button:focus-visible { outline-color: var(--focus-on-light)!important; }
.right-now, .site-footer, .site-footer .brand { color: var(--light); }
.right-now .moment-button { background: var(--deep-raised); border-color: var(--rule); }
.right-now a:hover, .right-now .icon { color: var(--brass-light); }
.doors-band, .books-band { --ochre-dark: var(--ink); }
.doors-band .eyebrow, .books-band .eyebrow { color: var(--ink); }
.master-mark { display: block; object-fit: contain; flex-shrink: 0; }
.master-mark.tool-symbol { width: 76px; height: 76px; }
.master-mark.card-symbol { width: 62px; height: 58px; }
.master-mark.large-symbol { width: 156px; height: 156px; }
.tool-heading .master-mark { max-width: 76px; }
.door-heading-content { gap: clamp(18px, 4vw, 48px); }
.door-heading-content .lede { margin-bottom: 0; }
.button, .button-group .button, .tool-actions .button { min-height: var(--control-height); font-size: 1rem; border-radius: 9px; }
.tool-actions .link-button { min-height: 44px; font-size: .9375rem; }
.filter-chip { font-size: .9375rem; }
.site-header { position: relative; z-index: 20; }
.header-top { min-height: 84px; gap: 18px; }
.header-top .utility-nav { display: flex; align-items: center; gap: clamp(14px, 2.3vw, 30px); font-size: .9375rem; }
.utility-nav a, .utility-nav summary { display: inline-flex; align-items: center; min-height: 44px; }
.tools-menu { position: relative; }
.tools-menu > summary { cursor: pointer; font-weight: 600; list-style: none; gap: 9px; }
.tools-menu > summary::-webkit-details-marker { display: none; }
.tools-menu > summary::after {
  content: ""; display: inline-block; width: 7px; height: 7px;
  border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-2px) rotate(45deg);
}
.tools-menu[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.tools-popover {
  position: absolute; top: 100%; left: -15px; width: min(290px, calc(100vw - 40px)); padding: 8px;
  display: grid; background: var(--panel); border: 1px solid var(--rule); border-radius: 12px;
  box-shadow: 0 10px 36px #1a16121a;
}
.tools-popover a { display: flex; gap: 11px; align-items: center; padding: 6px 10px; text-decoration: none; border-radius: 7px; }
.tools-popover a:hover, .tools-popover a[aria-current="page"] { background: var(--warm); }
.tools-popover .all-tools { font-weight: 600; }
.nav-mark { width: 34px; height: 32px; }
.header-top a.nav-start { justify-content: center; padding: 0 17px; border-radius: 9px; text-decoration: none; }
.header-top .mobile-menu { display: none; }

.home-hero {
  display: grid; grid-template-columns: minmax(0,1.03fr) minmax(0,.97fr);
  gap: clamp(28px, 6vw, 88px); align-items: center; padding-block: clamp(36px, 6vw, 86px);
  row-gap: 24px;
}
.hero-credentials { grid-column: 1 / -1; margin: 0; font-size: .9375rem; color: var(--muted); }
.hero-copy { order: initial; padding: 0; min-width: 0; }
.hero-copy .eyebrow { font-size: .75rem; }
.hero-copy h1 { font-size: clamp(3.2rem, 5vw, 4.5rem); }
.hero-copy .lede { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); max-width: 39ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.hero-actions .button { min-height: 54px; padding: 12px 17px; gap: 5px; justify-content: center; }
.hero-actions .button span { font-weight: 400; white-space: nowrap; }
.hero-actions .hero-cta-detail { flex-direction: column; gap: 2px; align-items: flex-start; text-align: left; }
.hero-actions .hero-cta-detail span { font-size: .875rem; white-space: normal; }
.hero-copy .free-note { margin-top: 14px; font-size: .875rem; }
.home-practice-choices {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px;
}
.home-practice-choice {
  display: grid; grid-template-rows: auto 1fr auto; gap: 8px; padding: 14px;
  min-width: 0; background: var(--warm); border: 1px solid var(--rule); border-radius: 12px;
}
.home-practice-choice .practice-choice-symbol { width: 44px; height: 38px; }
.home-practice-choice p { margin: 0; font-size: .9375rem; line-height: 1.4; }
.home-practice-choice .button { padding: 10px 8px; font-size: .9375rem; text-align: center; }
@media (min-width: 721px) and (max-width: 1100px), (max-width: 380px) {
  .home-practice-choices { grid-template-columns: minmax(0, 1fr); }
  .home-practice-choice { grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; }
  .home-practice-choice .practice-choice-symbol { grid-row: 1 / 3; }
  .home-practice-choice .button { grid-column: 2; }
}
.hero-media { min-width: 0; position: relative; max-width: 475px; }
.hero-media .hero-portrait { display: block; margin: 0; max-width: none; }
.hero-media .hero-portrait::before { display: none; }
.hero-media .hero-portrait img {
  width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
  object-position: 50% 27%; border-radius: 22px;
}
.hero-example-link {
  position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center;
  gap: 10px; min-height: 48px; padding: 6px 14px; background: var(--panel);
  color: var(--ink); font-size: .9375rem; border: 1px solid var(--rule); border-radius: 9px;
  text-decoration: none;
}
.hero-example-link:hover { text-decoration: underline; }
.now-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); padding-block: clamp(48px,6vw,88px); }
.moment-grid { grid-template-columns: 1fr; gap: 7px; }
.now-grid h2 { max-width: 13ch; }
.moment-art { width: 128px; height: 74px; object-fit: cover; margin: 0 0 10px; }
.moment-button { font-size: 1rem; line-height: 1.35; min-height: 64px; border-radius: 9px; }
.moment-button:hover { text-decoration: underline; }
.browse-tools { display: inline-flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding-inline: 19px; }
.browse-tools .icon { width: 19px; }
.door-grid { gap: clamp(12px,2vw,24px); border: 0; }
.door-grid .door-card {
  display: flex; align-items: center; gap: 16px; padding: 24px;
  min-height: 160px; border: 1px solid var(--rule); border-radius: var(--radius-panel);
  background: var(--surface-raised); text-decoration: none;
}
.door-grid .door-card .door-symbol { width: 72px; height: 78px; color: inherit; }
.door-grid .door-card h3 { font-family: Inter, sans-serif; font-size: 1.25rem; line-height: 1.24; max-width: none; margin: 0; }
.door-grid .door-card p { font-size: .9375rem; margin: 9px 0 0; color: var(--muted); }
.door-grid .door-card:hover { border-color: var(--ink); }
.moment-row.first-practice { border-inline-start: 3px solid var(--ochre); padding-inline-start: 16px; }
.moment-row > span small { color: var(--muted); font-size: .8125rem; }
.moment-row > span small:empty { display: none; }
@media (hover: hover) and (pointer: fine) {
  .door-grid .door-card { transition: border-color 180ms var(--ease-out), transform 180ms var(--ease-out); }
  .door-grid .door-card:hover { transform: translateY(-2px); }
  .moment-grid a .icon { transition: transform 180ms var(--ease-out); }
  .moment-grid a:hover .icon { transform: translateX(3px); }
}
.tool-card .card-links a { font-size: .9375rem; min-height: 44px; }
.example-band { background: var(--warm); scroll-margin-top: 20px; }
.example-layout { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: clamp(22px,6vw,72px); align-items: center; }
.example-layout > div:first-child p { max-width: 34ch; }
.example-layout h2 { margin-block: 0 12px; }
.reaction-preview {
  min-width: 0; padding: clamp(17px,3vw,28px); border: 1px solid var(--rule);
  border-radius: var(--radius-panel); background: var(--surface-raised); color: var(--ink);
}
.exercise-panel .reaction-preview { margin-top: 22px; }
.reaction-preview header { display: flex; gap: 12px; align-items: center; }
.reaction-preview header span { font-size: .8125rem; color: var(--muted); }
.reaction-preview header h3 { font-size: 1.5rem; margin: 0; }
.preview-mark { width: 44px; height: 42px; }
.preview-progress { min-height: 1.65em; color: var(--muted); margin-block: 12px 0; font-size: .875rem; }
.preview-context { margin: 0; }
.preview-context div { padding-block: 9px; border-bottom: 1px solid var(--rule); }
.preview-context dt { font-weight: 650; font-size: .875rem; }
.preview-context dd { margin: 0; overflow-wrap: anywhere; }
.preview-response, .reaction-result {
  padding: 17px; margin-block: 16px; color: var(--paper); background: var(--ink);
  border-radius: 11px; overflow-wrap: anywhere;
}
.preview-response p, .reaction-result p:first-child { font-size: .875rem; margin: 0 0 5px; }
.preview-response blockquote, .reaction-result p:last-child { font-family: 'Source Serif', Georgia, serif; font-size: 1.375rem; margin: 0; }
.preview-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.preview-actions > div { display: flex; gap: 7px; }
.preview-actions .button { font-size: .9375rem; padding: 9px 13px; }
.preview-try { display: inline-flex; align-items: center; font-size: .9375rem; min-height: 44px; text-underline-offset: 3px; }
.reaction-preview[data-enhanced] { display: grid; grid-template-rows: auto auto minmax(164px,auto) auto; }
.preview-body > [hidden] { display: none; }
.reaction-preview[data-enhanced] .preview-current { animation: preview-enter 210ms var(--ease-out); }
@keyframes preview-enter { from { opacity: .35; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
.film-text ol { padding-inline-start: 1.5em; }
.film-text ol li { margin-block: .5em; }
.start-intro-link { margin-top: 24px; }

.book-feature { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
.book-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; margin-block: 20px 0; }
.book-feature .book-actions .button { margin-top: 0; }
.affiliate-disclosure { margin: 6px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.45; }
.site-footer .affiliate-disclosure { margin: 0; padding-block: 0 14px; color: var(--light); }
.upcoming-books { padding-block: clamp(24px, 4vw, 52px); }
.upcoming-books h2 { font-size: clamp(1.625rem,3vw,2.125rem); }
.upcoming-books ul { list-style: none; padding: 0; margin-block: 18px 0; }
.upcoming-books li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 5px 16px; border-top: 1px solid var(--rule); padding-block: 13px; }
.upcoming-books li + li { margin-top: 0; }
.upcoming-books li span:last-child { color: var(--muted); font-size: .875rem; }
.book-feature .book-cover, .book-feature .book-art { width: min(100%, 247px); height: auto; justify-self: center; }
.book-feature .book-cover, .reader-cover { display: block; border: 1px solid var(--rule); border-radius: 3px; box-shadow: 0 12px 26px #1a16121a; }
.reader-cover { width: 130px; height: auto; float: right; margin: 0 0 12px 20px; }
.chapter-picker {
  background: var(--surface-raised); border: 1px solid var(--rule); border-radius: 12px;
  margin-top: 18px; clear: both; max-width: 38rem;
}
.chapter-picker > summary { display: list-item; padding: 14px 16px; cursor: pointer; font-weight: 600; min-height: 48px; }
.chapter-picker ol { list-style: none; padding: 0 14px 14px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2px 10px; }
.chapter-picker a { display: flex; gap: 10px; align-items: center; min-height: 44px; padding: 5px; font-size: .9375rem; }
.chapter-picker a span { color: var(--muted); font-variant-numeric: tabular-nums; }
.mom-chapters li { scroll-margin-top: 24px; }
.mom-chapters li:target { border-left: 3px solid var(--ochre); padding-left: 12px; }
.mom-chapter .mom-context, .mom-chapter .mom-download { font-size: .9375rem; white-space: normal; }
.mom-chapter > * { min-inline-size: 0; overflow-wrap: anywhere; }
.mom-related { display: inline-flex; min-height: 44px; align-items: center; margin: 0 12px 8px; text-underline-offset: 3px; }
.chapter-actions { display: flex; flex-wrap: wrap; gap: 0 8px; }
.reader-worksheet { max-width: 780px; }
.reader-worksheet > .text-link { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 16px; }
.reader-worksheet h1 { font-size: clamp(2.25rem,5vw,3.75rem); margin-block: 10px 20px; }
.reader-worksheet h2 { font-size: clamp(1.5rem,3vw,2rem); margin-top: 28px; }
.reader-worksheet h3 { font-size: 1.25rem; }
.reader-worksheet > p { max-width: 66ch; }
.worksheet-privacy { color: var(--muted); font-size: .9375rem; }
.reader-worksheet label { display: grid; gap: 4px; margin-top: 12px; font-size: 1rem; }
.reader-worksheet fieldset { min-inline-size: 0; border: 1px solid var(--rule); padding: 8px 14px 14px; margin: 16px 0; border-radius: 9px; }
.reader-worksheet legend { padding-inline: 5px; font-weight: 600; }
.reader-worksheet :is(textarea,input[type=text]) { width: 100%; min-height: 44px; font: inherit; padding: 8px; border: 1px solid var(--muted); border-radius: 6px; }
.reader-worksheet .worksheet-check { display: flex; align-items: center; min-height: 44px; gap: 8px; margin-top: 0; }
.worksheet-check input { width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--ink); }
.tells-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin-top: 12px; }
.worksheet-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.worksheet-actions [hidden] { display: none; }
.site-footer a, .tool-next a, .signup-fallback { min-height: 44px; }
.search-label input, .format-label select, .inquiry-section :is(input,textarea) { font-size: 1rem; }
.format-label select { min-height: 44px; }
.signup-fallback { font-size: .9375rem; }
.kit-inline .formkit-input, .kit-inline .formkit-submit { font-size: 1rem!important; }

.asset-palettes { display: grid; gap: 20px; }
.palette-panel { padding: clamp(16px, 3vw, 28px); border-radius: var(--radius-panel); border: 1px solid var(--rule); }
.palette-panel ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit,minmax(95px,1fr)); gap: 13px; padding: 0; margin: 0; }
.palette-panel h2 { color: inherit; font-size: 1.625rem; margin-top: 0; }
.palette-panel li { text-align: center; font-size: .875rem; }
.palette-mark { width: 100%; max-width: 126px; height: 90px; margin: 0 auto 6px; }
.palette-dark-cream-gold, .palette-dark-mono-cream, .palette-cream-brass { background: var(--deep); color: var(--light); }
.palette-olive-cream { background: #e5e7db; }
.palette-terracotta-cream { background: #f1e1d8; }
.palette-teal-cream { background: #e0ebe9; }

.breath-panel { display: grid; gap: 14px; }
.breath-panel[hidden], [data-demo-controls][hidden] { display: none; }
.breath-settings { padding: 18px; border: 1px solid var(--rule); border-radius: var(--radius-panel); background: var(--panel); }
.breath-presets { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.breath-presets legend { font-weight: 600; margin-bottom: 9px; }
.breath-options, .breath-actions, .breath-preferences { display: flex; flex-wrap: wrap; gap: 8px; }
.breath-options .filter-chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.breath-custom { margin-top: 14px; }
.breath-custom summary { cursor: pointer; font-weight: 600; padding: 7px 0; min-height: 44px; }
.breath-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.breath-fields label { display: grid; gap: 4px; font-size: .9375rem; }
.breath-fields :is(input,select) { font: inherit; font-size: 1rem; color: var(--ink); min-height: 44px; padding: 6px; width: 100%; border: 1px solid var(--muted); border-radius: 6px; background: white; }
.breath-fields button { grid-column: 1/-1; justify-self: start; }
.breath-preferences { gap: 0 19px; margin-top: 9px; }
.breath-preferences label { display: flex; gap: 6px; align-items: center; min-height: 44px; font-size: .9375rem; cursor: pointer; }
.breath-preferences input { width: 19px; height: 19px; accent-color: var(--ink); }
.breath-meta { margin: 8px 0 0; font-size: .875rem; color: var(--muted); }
.breath-stage {
  padding: clamp(22px,5vw,46px); text-align: center; background: var(--dark);
  color: var(--light); border-radius: 18px; font-variant-numeric: tabular-nums;
}
.breath-orbit {
  position: relative; display: grid; place-items: center; isolation: isolate; margin: 0 auto 12px;
  width: clamp(136px, 33vw, 205px); aspect-ratio: 1;
}
#breath-ring { position: absolute; inset: 12%; border: 2px solid #e5b969; border-radius: 50%; background: #b5832a12; }
.breath-mark { position: relative; width: 52%; height: 44%; opacity: .95; }
.breath-stage h2 { color: var(--light); font-size: clamp(1.9rem, 5vw, 2.6rem); margin: 0; }
.breath-time { display: flex; gap: 10px; justify-content: center; margin: 6px 0; color: #e6d7bf; }
.breath-time #breath-detail:not(:empty)::before { content: "· "; }
.breath-stage progress { display: block; width: min(100%, 240px); height: 7px; margin: 12px auto; accent-color: #e5b969; }
.breath-instruction { min-height: 3.1em; max-width: 39ch; margin: 12px auto; }
.breath-actions { justify-content: center; }
.breath-stage .button.primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.breath-stage .button.secondary { color: var(--paper); border-color: #d6c4a6; }
.breath-stage .button:disabled { opacity: .55; cursor: default; }
.breath-status { font-size: .875rem; margin: 8px 0 0; min-height: 1.65em; }

@media (max-width: 959px) {
  .door-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .header-top { min-height: 68px; }
  .header-top .utility-nav { display: none; }
  .header-top .mobile-menu { display: block; position: static; }
  .mobile-menu > summary { min-height: 44px; padding: 7px 4px; }
  .mobile-menu > nav {
    display: grid; gap: 4px; width: min(360px,100vw - 24px); max-height: min(75vh,560px);
    overflow-y: auto; position: absolute; top: 100%; right: 12px; padding: 11px 14px;
    background: var(--panel); border: 1px solid var(--rule); border-radius: 12px;
    box-shadow: 0 10px 36px #1a161226;
  }
  .mobile-menu > nav > a, .mobile-menu .tools-popover > a, .mobile-menu summary, .mobile-menu .menu-close {
    min-height: 44px; display: flex; align-items: center; padding: 6px 9px;
    font-family: Inter, sans-serif; font-size: 1rem; border-bottom: 0; color: var(--ink);
  }
  .mobile-menu .tools-menu { padding: 0; }
  .mobile-menu .tools-popover { position: static; width: 100%; padding: 2px 2px 8px; border: 0; box-shadow: none; }
  .mobile-menu .menu-close { background: transparent; border: 1px solid var(--rule); border-radius: 7px; margin-top: 7px; cursor: pointer; }
  .mobile-menu .menu-close[hidden] { display: none; }
  .door-grid .door-card { padding: 18px; }
}
@media (max-width: 720px) {
  .home-hero { display: flex; flex-direction: column; align-items: stretch; gap: 27px; padding-block: 32px; }
  .hero-copy h1 { font-size: clamp(2.375rem, 11vw, 4.3rem); margin-bottom: 15px; }
  .hero-copy .lede { margin-bottom: 19px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-media { max-width: none; }
  .hero-media .hero-portrait img { aspect-ratio: 1.16; object-position: center 24%; }
  .hero-example-link { right: 10px; bottom: 10px; }
  .now-grid, .example-layout, .book-feature { grid-template-columns: minmax(0,1fr); }
  .now-grid h2 { max-width: none; }
  .moment-grid { grid-template-columns: 1fr; }
  .moment-art { width: 104px; height: 58px; margin-left: -4px; }
  .door-grid { grid-template-columns: 1fr; gap: 10px; }
  .door-grid .door-card { min-height: 112px; }
  .door-grid .door-card .door-symbol { width: 60px; height: 64px; }
  .door-grid .door-card h3 { font-size: 1.1875rem; }
  .master-mark.large-symbol { width: 104px; height: 104px; margin-block: -8px; }
  .master-mark.tool-symbol { width: 62px; height: 58px; }
  .chapter-picker ol { grid-template-columns: 1fr; }
  .reader-cover { width: 96px; margin-left: 12px; }
  .mom-chapter { align-items: flex-start; gap: 10px; }
  .mom-chapter .mom-download { font-size: .875rem; flex: 0 0 78px; }
  .chapter-actions { display: grid; }
  .tells-grid { grid-template-columns: 1fr; }
  .email-grid .kit-inline .formkit-fields { flex-wrap: wrap!important; }
  .email-grid .kit-inline .formkit-submit { flex: 1 1 100%!important; }
  .breath-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .breath-fields label:first-child { grid-column: 1/-1; }
}
@media (max-width: 440px) {
  .header-top .brand > span { white-space: normal; min-inline-size: 0; }
  .mom-chapter { display: grid; grid-template-columns: minmax(0,1fr); gap: 7px; }
  .mom-chapter .mom-download { justify-content: start; }
}
@media (prefers-reduced-motion: reduce) {
  .door-grid .door-card:hover, .moment-grid a:hover .icon { transform: none; }
  .reaction-preview[data-enhanced] .preview-current { animation: none; }
  #breath-ring { transform: none !important; }
}
@media print {
  .reaction-result { color: #111; background: white; border: 1px solid #444; }
  .reader-worksheet > .text-link, .worksheet-actions, .worksheet-privacy { display: none!important; }
  .reader-worksheet fieldset { break-inside: avoid; }
}

.tools-menu:not([open]) > .tools-popover, .mobile-menu:not([open]) > nav { display: none; }
.breath-settings .link-button { font-size: .875rem; }
