.mobile-menu-toggle { display: none; }
.cut-mast h1 em { display: block; white-space: normal; }
.cut-mast h1 { font-size: clamp(52px, 5.7vw, 94px); }
.cut-actions { flex-wrap: wrap; gap: 8px 15px; }
.cut-watch {
  min-height: 46px;
  padding-inline: 15px;
  border-radius: 7px;
  background: #281c15;
  color: #fff5e8;
  font-weight: 650;
}
.cut-watch:hover { background: #4c2d20; }
.cut-watch span { display: inline; color: #ffc2a2; }
.cut-buy { background: transparent; color: #34251c; border: 1px solid #776354; padding-inline: 12px; }
.cut-buy:hover { background: #ded2c1; }
.cut-summary small { font-size: 12px; }
.cut-input:not([aria-pressed="true"]) .cut-input-picture { filter: saturate(.68) brightness(.78); }
.cut-console .cut-tally { border-color: #ff9f6f; }
#demo-atlas-chapters { margin-top: 12px; color: #e7d8c8; font-size: 14px; }
#demo-atlas-chapters summary { cursor: pointer; }
#demo-atlas-chapters ol { padding-inline-start: 1.5em; }
#demo-atlas-chapters li { margin-block: 7px; }
#demo-error { margin-top: 12px; }
#demo-error .btn { margin-top: 8px; }
.atlas-route-name { margin: 0; padding: 8px clamp(10px, 1.5vw, 22px); color: #f3d8bf; background: #291e17; font-size: 14px; }
.atlas-map-toggle { display: none; }
.studio-atlas[data-pinned="false"] .atlas-node:not([aria-pressed="true"]):not(:hover):not(:focus-visible) { opacity: .62; }
.atlas-example, .atlas-toggle { min-height: 44px; }
.atlas-actions .atlas-next { min-height: 44px; }
.output-native-proof { margin-top: 18px; padding: 13px 16px; border: 1px solid #594033; border-radius: 8px; }
.output-native-proof summary { color: #ffbea0; cursor: pointer; }
.output-native-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.output-native-grid figure { margin: 0; }
.output-native-grid img { display: block; width: 100%; height: auto; border-radius: 5px; }
.output-native-grid figcaption { margin-top: 6px; color: #e3cdbb; }
.layout-showcase { padding-top: clamp(55px, 7vw, 108px); }
.layout-examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.5vw, 22px); }
.layout-example { min-width: 0; overflow: hidden; border: 1px solid #644633; border-radius: 10px; background: #221b17; }
.layout-preview { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #2e221c; }
.layout-preview > img:first-child { display: block; width: 100%; height: 100%; object-fit: cover; }
.layout-banner { position: absolute; padding: 4px 8px; border-left: 3px solid #ff8b53; font-weight: 700; color: #fff4e7; background: #251b16ed; font-size: clamp(10px, 1.04vw, 14px); }
.layout-anchor { left: 5%; bottom: 19%; }
.layout-anchor small { display: block; color: #ffd2b7; font-size: 10px; }
.layout-headline { display: flex; align-items: center; gap: 8px; position: absolute; bottom: 0; width: 100%; padding: 6px 9px; background: #171412; color: #fff4e7; font-size: clamp(10px, 1.04vw, 13px); }
.layout-headline strong { padding: 2px 5px; border-radius: 2px; color: #22150e; background: #ff8b53; white-space: nowrap; }
.layout-youtube > img:first-child { filter: brightness(.87); }
.layout-camera-overlay { position: absolute; right: 4%; bottom: 7%; width: 26%; height: auto; border-radius: 5px; border: 1px solid #ffab80; }
.layout-topic { left: 5%; bottom: 7%; }
.layout-reaction { display: grid; place-items: center; background: radial-gradient(ellipse at 51% 44%, #67432f, #211813 78%); }
.layout-phone { display: grid; grid-template-rows: 3fr 2fr; height: 88%; aspect-ratio: 9 / 16; overflow: hidden; border: 2px solid #ffab80; border-radius: 7px; }
.layout-phone img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.layout-phone img + img { border-top: 1px solid #ffab80; }
.layout-ratio { position: absolute; right: 12%; bottom: 10%; color: #f2c3a7; font: 12px var(--mono); }
.layout-example-copy { padding: clamp(14px, 2vw, 24px); }
.layout-example-copy h3 { margin: 0 0 7px; color: #fff1df; font-size: clamp(19px, 2vw, 28px); line-height: 1.13; }
.layout-example-copy p { margin: 0; color: #d8c6b7; font-size: 15px; }
@container (max-width: 749px) {
  .studio-atlas:not([data-map-open="true"]) .atlas-stage { aspect-ratio: 336 / 264; overflow: hidden; }
  .atlas-map-toggle { display: block; width: 100%; min-height: 44px; background: #302119; color: #ffcbab; font-weight: 650; }
}
@container (max-width: 510px) {
  .atlas-toggle { height: 44px; }
  .atlas-actions { min-height: 44px; }
}
@media (max-width: 900px) {
  .cut-mast h1 { font-size: clamp(44px, 6.7vw, 69px); }
}
@media (max-width: 700px) {
  .layout-examples { grid-template-columns: 1fr; }
  .output-native-grid { grid-template-columns: 1fr; }
  .head-inner { position: relative; height: auto; min-height: 68px; flex-wrap: wrap; gap: 5px 10px; }
  .head .brand { gap: 6px; font-size: 19px; }
  .head .brand img { width: 37px; }
  .head .nav-actions { margin-left: auto; gap: 0; }
  .head .btn.pale { max-width: 115px; min-height: 44px; padding: 4px 8px; font-size: 12px; line-height: 1.2; text-align: left; }
  .head .btn.pale svg { display: none; }
  .head nav { display: flex; order: 5; width: 100%; margin: 0; gap: 3px 12px; flex-wrap: wrap; padding-block: 6px; }
  .head nav a { display: flex; min-height: 44px; align-items: center; padding-inline: 8px; }
  .has-mobile-menu .mobile-menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px;
    padding-inline: 6px; color: #f1dfcd; font-size: 13px; font-weight: 650;
  }
  .mobile-menu-icon { width: 12px; height: 8px; border-block: 1px solid currentColor; }
  .has-mobile-menu .mobile-menu-toggle[aria-expanded="false"] + nav { display: none; }
  .has-mobile-menu nav { position: absolute; inset: 100% 0 auto; width: auto; z-index: 3; background: #211b17; border: 1px solid #6b4631; border-radius: 9px; padding: 8px; }
  .has-mobile-menu nav a { flex: 1 1 42%; }
}
@media (max-width: 350px) {
  .head .brand { font-size: 17px; }
  .head .brand img { width: 32px; }
  .cut-watch, .cut-buy { font-size: 13px; }
  .cut-watch { padding-inline: 10px; }
}
