:root {
  color-scheme: dark;
  --bg: var(--bm-gold-bg);
  --surface: var(--bm-gold-card);
  --raised: var(--bm-gold-card2);
  --line: var(--bm-gold-line);
  --text: var(--bm-gold-text);
  --muted: var(--bm-gold-muted);
  --accent: var(--bm-gold-accent);
  --primary: var(--accent);
  --primary-line: var(--accent);
  --primary-ink: var(--bm-gold-ink);
  --selected: var(--bm-gold-selection);
  --selected-line: color-mix(in srgb,var(--accent) 38%,var(--line));
  --accent-soft: color-mix(in srgb,var(--accent) 87%,white);
  --copy: color-mix(in srgb,var(--text) 75%,var(--muted));
  --radius: 13px;
  font-family: var(--bm-ui-font);
  font-weight: var(--bm-weight-normal);
  line-height: 1.45;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-padding-top: 16px; }
body { margin: 0; min-height: 100vh; color: var(--text); background: var(--bg); font-size: var(--bm-type-body); -webkit-font-smoothing: antialiased; }
body.showing-tour { overflow: hidden; overscroll-behavior: none; }
.tour-launch {
  position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh;
  max-height: none; margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--text);
}
.tour-launch::backdrop { background: var(--bg); }
.tour-launch[open] { display: grid; place-items: center; }
.tour-launch-status { color: var(--muted); font-size: 15px; }
.tour-launch iframe { display: block; position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--bg); }
.tour-launch iframe[hidden], .tour-launch-status[hidden] { display: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a, summary { touch-action: manipulation; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
img { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.page { width: min(100%, 850px); margin: 0 auto; padding: max(8px,env(safe-area-inset-top)) 18px max(16px, env(safe-area-inset-bottom)); }
.brand { display: inline-flex; height: 37px; align-items: center; margin-bottom: 12px; }
.logo-image { display: inline-block; flex-shrink: 0; width: 125px; height: 37px; background: url('./assets/portrait.jpg') no-repeat; background-size: 522px auto; background-position: -23px -32px; filter: grayscale(1) contrast(1.7); mix-blend-mode: screen; }
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 292px; display: flex; align-items: center; margin-bottom: 8px; }
.hero-photo { position: absolute; z-index: -2; inset: 0 -1% 0 auto; height: 100%; width: 61%; object-fit: cover; object-position: 50% 9%; }
.hero::after { position: absolute; z-index: -1; content: ""; inset: 0; pointer-events: none; background: linear-gradient(90deg,var(--bg) 36%,color-mix(in srgb,var(--bg) 96%,transparent) 43%,color-mix(in srgb,var(--bg) 25%,transparent) 59%,transparent 72%),linear-gradient(0deg,var(--bg) 0%,transparent 25%),linear-gradient(180deg,var(--bg) 0%,transparent 7%),linear-gradient(270deg,var(--bg) 0%,transparent 8%); }
.hero-content { padding: 10px 0 14px; position: relative; max-width: 61%; display: flex; flex-direction: column; align-items: flex-start; }
.hero h1 { font-size: clamp(2.75rem, 6.7vw, 4.0625rem); line-height: .98; letter-spacing: -.045em; font-weight: var(--bm-weight-display); }
.hero h1 span { color: var(--accent); }
.hero-role { font-size: var(--bm-type-body); font-weight: var(--bm-weight-normal); line-height: 1.42; color: var(--copy); margin-top: 15px; }
.hero-location { margin-top: 8px; color: var(--muted); font-size: var(--bm-type-small); line-height: 1.35; }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 15px; }
.about-link { display: inline-flex; align-items: center; color: var(--accent); font-family: inherit; font-size: var(--bm-type-label); font-weight: var(--bm-weight-semibold); line-height: 1.25; letter-spacing: 0; white-space: nowrap; min-height: 40px; margin-top: 3px; }
.about-link svg { width: 14px; height: 14px; }
.mini-arrow { margin-left: auto; width: 14px; height: 14px; color: #777; }
.section { margin-bottom: 20px; }
.section-title { display: flex; gap: 8px; align-items: baseline; justify-content: space-between; margin: 0 1px 8px; }
.section-title h2 { font-size: var(--bm-type-section); font-weight: var(--bm-weight-bold); line-height: 1.25; letter-spacing: -.015em; }
.section-title > span { color: var(--muted); font-size: var(--bm-type-meta); font-weight: var(--bm-weight-normal); line-height: 1.3; }
.link-list { display: grid; gap: 6px; align-items: start; }
.fold { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: clip; min-width: 0; transition: border-color .15s, background .15s; }
.fold[open] { background: var(--raised); border-color: var(--selected-line); }
.main-offer:first-child { border-color: var(--selected-line); background: var(--selected); }
.main-offer[open] { background: var(--selected); border-color: var(--accent); }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.fold>summary { min-height: 62px; display: grid; grid-template-columns: 35px minmax(0,1fr) auto 13px; align-items: center; column-gap: 9px; padding: 10px 12px; }
.fold-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: color-mix(in srgb,var(--accent) 5%,var(--surface)); color: var(--accent); }
.fold-icon svg { width: 21px; height: 21px; }
.fold-label { min-width: 0; }
.fold-label strong { display: block; font-size: var(--bm-type-item); font-weight: var(--bm-weight-bold); line-height: 1.25; letter-spacing: -.01em; overflow-wrap: break-word; }
.fold-label small { display: block; font-size: var(--bm-type-meta); font-weight: var(--bm-weight-normal); color: var(--muted); line-height: 1.35; margin-top: 3px; }
.price { font-size: var(--bm-type-label); font-weight: var(--bm-weight-bold); line-height: 1.25; color: var(--text); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.main-offer:first-child .price, .main-offer[open] .price { color: var(--accent); }
.price small { display: block; font-size: var(--bm-type-meta); font-weight: var(--bm-weight-medium); color: var(--muted); margin-top: 2px; }
.individual { font-size: var(--bm-type-meta); font-weight: var(--bm-weight-semibold); color: var(--muted); }
.plus { position: relative; width: 13px; height: 16px; display: inline-block; color: var(--muted); }
.plus::before, .plus::after { content: ''; position: absolute; top: 50%; left: 50%; width: 11px; height: 1.5px; border-radius: 3px; background: currentColor; transform: translate(-50%, -50%); transition: transform .18s ease; }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.fold[open] .plus::after { transform: translate(-50%, -50%); }
.fold[open] .plus { color: var(--accent); }
.fold-body { border-top: 1px solid var(--line); padding: 13px 14px 15px; color: var(--copy); }
.fold-body p { font-size: var(--bm-type-body); line-height: 1.5; margin-bottom: 10px; }
.fold-body p:last-child { margin-bottom: 0; }
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 14px; margin-top: 12px; }
.choose { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--primary-line); border-radius: 9px; min-height: 44px; padding: 9px 13px; background: var(--primary); color: var(--primary-ink); font-size: var(--bm-type-label); font-weight: var(--bm-weight-bold); line-height: 1.3; }
.detail-link { display: inline-flex; align-items: center; flex-wrap: nowrap; gap: 7px; color: var(--accent); font-size: var(--bm-type-label); font-weight: var(--bm-weight-semibold); line-height: 1.3; min-height: 40px; }
.detail-link svg { width: 15px; height: 15px; }
.service-page-link { display: flex; width: fit-content; }
.service-page { max-width: 760px; }
.service-page-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0 16px; }
.service-page-header .brand { margin: 0; }
.service-author { display: flex; align-items: center; gap: 12px; margin: 3px 0 23px; }
.service-author img { width: 56px; height: 56px; object-fit: cover; object-position: 50% 14%; border-radius: 12px; }
.service-author strong,.service-author small { display: block; }
.service-author strong { font-weight: var(--bm-weight-bold); }
.service-author small { font-size: var(--bm-type-small); color: var(--muted); margin-top: 3px; }
.service-page article>h1 { font-size: clamp(1.625rem, calc(1.4rem + .95vw), 2.125rem); font-weight: 650; line-height: 1.16; letter-spacing: -.025em; overflow-wrap: anywhere; }
.service-intro { font-size: var(--bm-type-body); line-height: 1.6; margin: 14px 0 17px; color: var(--copy); }
.service-page-price { color: var(--accent); font-size: var(--bm-type-body); font-weight: 550; margin: 0 0 12px; }
.service-page-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin-bottom: 21px; }
.service-page-actions>* { flex: 1 1 130px; }
.service-outline-button { display: inline-flex; align-items: center; justify-content: center; padding: 9px 13px; min-height: 44px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); text-align: center; font-size: var(--bm-type-label); font-weight: var(--bm-weight-semibold); }
.service-page .service-demo { width: 100%; margin: 0 0 20px; }
.service-section { padding: 18px 16px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); margin-bottom: 12px; }
.service-section h1 { font-size: var(--bm-type-dialog); margin-bottom: 12px; }
.service-section h2,.service-related h2 { font-size: var(--bm-type-section); font-weight: 600; line-height: 1.3; margin-bottom: 12px; }
.service-section p { color: var(--copy); font-size: var(--bm-type-body); line-height: 1.55; }
.service-section p+p { margin-top: 10px; }
.service-section .choose { margin-top: 14px; }
.service-list { padding: 0; margin: 0; list-style: none; }
.service-list li { padding: 12px 0; border-top: 1px solid var(--line); }
.service-list li:first-child { border: 0; padding-top: 0; }
.service-list li:last-child { padding-bottom: 0; }
.service-list strong { display: block; font-size: var(--bm-type-item); color: var(--text); margin-bottom: 4px; }
.service-proof { width: 100%; margin-bottom: 12px; color: var(--accent); }
.service-related { padding: 12px 0 20px; }
.service-related-link { display: block; padding: 12px; margin-bottom: 6px; border: 1px solid var(--line); border-radius: 9px; color: var(--accent); font-weight: var(--bm-weight-semibold); font-size: var(--bm-type-label); }
.service-footer { flex-wrap: wrap; }
.service-footer div { display: flex; flex-wrap: wrap; gap: 14px; }
.credentials .fold>summary { grid-template-columns: 35px minmax(0,1fr) 13px; }
.credentials .link-list { grid-template-columns: minmax(0,1fr); }
.about-body p { max-width: 62ch; }
.about-body p strong { color: var(--text); font-weight: var(--bm-weight-semibold); }
.about-body .about-gallery { display: block; width: min(100%, 385px); overflow: hidden; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 0; margin: 12px 0 5px; }
.about-gallery img { width: 100%; max-height: 250px; object-fit: cover; object-position: center; }
.about-gallery span { display: flex; align-items: center; justify-content: space-between; padding: 9px 11px; font-size: var(--bm-type-label); }
.about-gallery svg { color: var(--accent); width: 15px; height: 15px; }
.education-summary { display: grid; gap: 9px; margin-bottom: 13px; }
.education-summary p { padding: 11px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; margin: 0; font-size: var(--bm-type-label); line-height: 1.45; }
.education-summary strong { font-size: var(--bm-type-item); font-weight: var(--bm-weight-bold); color: var(--text); display: inline-block; margin-bottom: 3px; }
.fold-body .gallery-hint { color: var(--muted); font-size: var(--bm-type-small); line-height: 1.45; }
.certificates, .results { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin: 9px 0; }
.certificates button, .results button { padding: 0; min-width: 0; overflow: hidden; border-radius: 9px; background: var(--surface); border: 1px solid var(--line); text-align: left; }
.certificates img, .results img { width: 100%; aspect-ratio: 1.25; object-fit: cover; }
.certificates img { object-fit: contain; background: var(--bg); }
.certificates span, .results span { display: block; font-size: var(--bm-type-meta); line-height: 1.35; padding: 7px; color: var(--copy); overflow-wrap: anywhere; }
.results span { font-size: var(--bm-type-meta); }
.results img { aspect-ratio: 1; }
.contacts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
.contacts a { display: flex; min-width: 0; align-items: center; justify-content: center; gap: 8px; padding: 11px 9px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); font-size: var(--bm-type-label); font-weight: var(--bm-weight-semibold); }
.contacts a svg:first-child { width: 21px; height: 21px; color: var(--accent); }
.contacts a .mini-arrow { margin-left: 0; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding: 14px 1px 4px; font-size: var(--bm-type-meta); color: var(--muted); }
footer a { color: var(--muted); font-size: inherit; font-weight: var(--bm-weight-medium); }
.dialog { color: var(--text); margin: auto; width: min(calc(100% - 24px), 445px); background: var(--surface); border: 1px solid var(--line); border-radius: 17px; padding: 17px; box-shadow: 0 16px 70px #0008; }
.dialog::backdrop { background: #000b; backdrop-filter: blur(4px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-bottom: 12px; }
.dialog-head h2 { font-size: var(--bm-type-dialog); font-weight: var(--bm-weight-bold); line-height: 1.25; }
.close { display: grid; place-items: center; flex: none; min-height: 39px; width: 39px; border: 1px solid var(--line); border-radius: 9px; background: transparent; }
.close svg { width: 20px; height: 20px; }
.dialog-note { font-size: var(--bm-type-body); line-height: 1.5; color: var(--text); margin: 0 0 12px; padding: 9px 12px; border-inline-start: 2px solid var(--accent); background: var(--bg); border-radius: 0 8px 8px 0; }
.contact-alternative { margin-top: 8px; font-size: var(--bm-type-small); color: var(--muted); }
.contact-alternative summary, .contact-alternative a { display: flex; align-items: center; min-height: 36px; }
.contact-alternative a { color: var(--accent); text-decoration: underline; text-underline-offset: .15em; }
.dialog-links { display: grid; gap: 8px; }
.dialog-links a { display: flex; align-items: center; gap: 11px; min-height: 48px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 13px; font-weight: var(--bm-weight-semibold); }
.dialog-links a svg { color: var(--accent); }
.dialog-links a svg:last-child { margin-left: auto; width: 17px; height: 17px; }
.photo-dialog { width: min(calc(100% - 18px),780px); max-height: calc(100dvh - 22px); overflow: auto; }
.photo-dialog img { max-height: calc(100dvh - 185px); width: 100%; object-fit: contain; border-radius: 6px; margin-bottom: 9px; touch-action: pan-y; }
@media(min-width: 760px) {
  .page { padding-inline: 24px; }
  .hero { min-height: 312px; }
  #services .link-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  #services .collaboration { grid-column: 1/-1; }
  .fold>summary { min-height: 71px; }
  .hero-content { padding-block: 12px 16px; }
  .credentials .fold>summary { min-height: 60px; }
  .certificates { grid-template-columns: repeat(5,minmax(0,1fr)); }
}
@media(max-width: 520px) {
  .page { padding-inline: max(12px,env(safe-area-inset-left)); }
  .brand { height: 33px; margin-bottom: 9px; }
  .logo-image { width: 112px; height: 33px; background-size: 467px auto; background-position: -21px -29px; }
  .hero { min-height: 247px; margin-bottom: 7px; }
  .hero h1 { font-size: clamp(2.125rem,11vw,3.0625rem); }
  .hero-content { max-width: 64%; padding-block: 7px 7px; }
  .hero-role { font-size: var(--bm-type-label); line-height: 1.42; margin-top: 11px; }
  .hero-links { gap: 0 9px; }
  .about-link { font-size: var(--bm-type-label); min-height: 36px; }
  .about-link svg { width: 12px; height: 12px; }
  .hero-photo { width: 65%; right: -2%; object-position: 50% 7%; }
  .hero::after { background: linear-gradient(90deg,var(--bg) 34%,color-mix(in srgb,var(--bg) 96%,transparent) 42%,color-mix(in srgb,var(--bg) 45%,transparent) 56%,transparent 72%),linear-gradient(0deg,var(--bg) 0%,transparent 22%),linear-gradient(180deg,var(--bg) 0%,transparent 7%),linear-gradient(270deg,var(--bg) 0%,transparent 6%); }
  .section { margin-bottom: 16px; }
  .section-title { margin-bottom: 7px; }
  .link-list { gap: 5px; }
  .fold>summary { grid-template-columns: 31px minmax(0,1fr) auto 12px; min-height: 58px; gap: 8px; padding: 9px 10px; }
  .fold-icon { height: 30px; width: 30px; border-radius: 8px; }
  .fold-icon svg { width: 19px; height: 19px; }
  .fold-label strong { font-size: var(--bm-type-label); }
  .price { font-size: var(--bm-type-label); }
  .price.individual { font-size: var(--bm-type-meta); }
  .credentials .fold>summary { grid-template-columns: 31px minmax(0,1fr) 12px; }
  .contacts a { flex-direction: column; font-size: var(--bm-type-small); gap: 5px; min-height: 59px; }
  .contacts .mini-arrow { display: none; }
}
@media(max-width: 350px) {
  .page { padding-inline: 10px; }
  .hero { min-height: 234px; }
  .fold>summary { padding: 8px; grid-template-columns: 27px minmax(0,1fr) auto 11px; column-gap: 6px; }
  .fold-icon { width: 27px; height: 27px; }
  .fold-icon svg { width: 17px; height: 17px; }
  .fold-label strong { font-size: var(--bm-type-label); }
}
@media(hover:hover) {
  .choose:hover { background: var(--accent-soft); }
  .fold:hover:not([open]), .contacts a:hover { border-color: var(--selected-line); }
  .detail-link:hover, .about-link:hover { color: var(--accent-soft); }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior: auto!important; transition: none!important; } }

.demo-banner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .75rem;
  width: min(88.5%, 40rem); min-height: 3.5rem; padding: .6rem 1rem .6rem 1.3rem;
  margin: .875rem auto 1.5rem; border: 1px solid var(--primary-line); border-radius: 999px;
  background: var(--primary); color: var(--primary-ink); transition: background .15s;
}
.demo-banner-copy { display: grid; gap: 2px; min-width: 0; }
.demo-banner-copy strong { font-size: clamp(1rem, .95rem + .25vw, 1.125rem); font-weight: var(--bm-weight-bold); letter-spacing: -.015em; line-height: 1.2; text-wrap: balance; }
.demo-banner-copy small { font-size: var(--bm-type-label); font-weight: var(--bm-weight-normal); line-height: 1.3; }
.demo-play { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; color: var(--primary); background: var(--primary-ink); }
.demo-play svg { width: 1.125rem; height: 1.125rem; fill: currentColor; stroke: none; }
.price.terms { color: var(--accent); white-space: nowrap; font-size: var(--bm-type-meta); font-weight: var(--bm-weight-semibold); line-height: 1.25; }
.price.terms>span { display: block; }
.service-subtitle { font-size: var(--bm-type-body); color: var(--text); margin: 0 0 8px; font-weight: var(--bm-weight-bold); line-height: 1.3; }
.service-includes { padding-left: 16px; margin: 0 0 13px; color: var(--copy); font-size: var(--bm-type-body); line-height: 1.5; }
.service-includes li { margin: 5px 0; padding-left: 2px; }
.service-includes li::marker { color: var(--accent); }
.fold-body p.service-access { display: flex; align-items: flex-start; gap: 9px; border: 1px solid var(--selected-line); background: var(--selected); border-radius: 9px; padding: 10px; font-size: var(--bm-type-label); line-height: 1.45; margin: 12px 0; }
.service-access svg { color: var(--accent); width: 20px; height: 20px; flex-shrink: 0; }
.cabinet-link { min-height: 44px; border: 1px solid var(--selected-line); border-radius: 9px; padding: 7px 11px; }
.detail-link svg:last-child, .contacts .mini-arrow { display: none; }
.cabinet-link svg { display: block!important; width: 17px; height: 17px; }
.hero-links { gap: 0 18px; }
.case-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 10px 0 13px; }
.case-card { display: flex; flex-direction: column; align-items: stretch; padding: 0; border: 1px solid var(--line); background: var(--surface); border-radius: 9px; overflow: hidden; min-width: 0; text-align: left; }
.case-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--bg); }
.stage-grid .case-card img { aspect-ratio: 3 / 4; }
.collab-grid .case-card img { aspect-ratio: 5 / 4; }
.case-caption { display: block; flex: 1; padding: 8px 9px; line-height: 1.35; font-size: var(--bm-type-small); font-weight: var(--bm-weight-medium); color: var(--text); overflow-wrap: anywhere; }
.stage-grid .case-caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  align-items: start;
  min-width: 0;
  padding: .5rem clamp(.5rem, 2vw, .75rem) .6rem;
  border-top: 1px solid var(--line);
  font-size: var(--bm-type-label);
  font-weight: var(--bm-weight-semibold);
  text-wrap: balance;
  overflow-wrap: break-word;
}
.stage-grid .case-caption small { padding-top: .2rem; font-size: var(--bm-type-small); font-weight: var(--bm-weight-normal); color: var(--muted); }
@supports (grid-template-rows: subgrid) {
  .stage-grid .case-card { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
  .stage-grid .case-caption { grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
}
.before-grid .case-caption { color: var(--accent); font-weight: var(--bm-weight-semibold); }
.photo-nav { display: grid; grid-template-columns: 45px minmax(0,1fr) 45px; gap: 7px; align-items: center; text-align: center; margin: 9px 0 0; font-size: var(--bm-type-small); color: var(--muted); font-variant-numeric: tabular-nums; }
.photo-nav[hidden] { display: none; }
.photo-nav button { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--raised); color: var(--accent); padding: 0; }
.photo-nav button svg { width: 20px; height: 20px; }
.photo-dialog #photoOriginal { display: flex; justify-content: center; margin: 0; min-height: 35px; }
.channel-link { display: grid; grid-template-columns: 35px minmax(0,1fr) auto; align-items: center; gap: 9px; padding: 10px 12px; min-height: 62px; }
.channel-open { font-size: var(--bm-type-small); color: var(--accent); font-weight: var(--bm-weight-semibold); }
.channel-link .fold-label small { white-space: normal; }
@media(min-width:760px) { .education-summary { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media(max-width:600px) {
  .hero-links { gap: 0 12px; }
  .hero-role { max-width: 100%; }
  .case-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .stage-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, max(7.5rem, calc((100% - 7px) / 2))), 1fr)); }
  .case-caption { padding: 7px; font-size: var(--bm-type-meta); }
  .channel-link { grid-template-columns: 31px minmax(0,1fr) auto; gap: 8px; min-height: 58px; padding: 9px 10px; }
  .channel-open { font-size: var(--bm-type-meta); }
}
@media(max-width:520px) {
  .demo-banner {
    min-height: 3.25rem; gap: clamp(.25rem, 1.3vw, .5rem);
    padding: .5rem clamp(.5rem, 2.4vw, .8rem) .5rem clamp(.625rem, 3.4vw, 1.125rem);
  }
  .demo-banner-copy strong { font-size: clamp(.875rem, 4.15vw, 1rem); }
  .demo-play { width: clamp(1.375rem, 6.65vw, 1.75rem); height: auto; aspect-ratio: 1; }
  .demo-play svg { width: 1rem; height: 1rem; }
}
@media(max-width:350px) {
  .hero-content { max-width: 65%; }
  .hero-role { font-size: var(--bm-type-small); }
  .about-link { font-size: var(--bm-type-small); }
  .demo-banner { width: 91%; padding-inline: .5rem; gap: .25rem; }
  .channel-link { grid-template-columns: 27px minmax(0,1fr) auto; gap: 6px; padding: 8px; }
}
@media(hover:hover) {
  .demo-banner:hover { background: var(--accent-soft); }
  .case-card:hover, .photo-nav button:hover, .cabinet-link:hover, .channel-link:hover { border-color: var(--accent); }
}
