/* August Music Co. — public site */
@font-face { font-family: 'Tobias'; src: url('/assets/fonts/tobias-light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Tobias'; src: url('/assets/fonts/tobias-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Tobias'; src: url('/assets/fonts/tobias-medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --paper: #f4f0e7;
  --paper-2: #ebe5d8;
  --ink: #15140f;
  --ink-2: #3d3a32;
  --muted: #7a7466;
  --line: rgba(21, 20, 15, .14);
  --brass: #a8834b;
  --night: #11100c;
  --night-2: #1b1a15;
  --night-line: rgba(244, 240, 231, .14);
  --serif: 'Tobias', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); }
.kicker { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0; font-weight: 500; }
.kicker b { color: var(--brass); font-weight: 500; }
.display, h1, h2, h3 { font-family: var(--serif); font-weight: 300; letter-spacing: -.025em; line-height: .98; margin: 0; }
h1 { font-size: clamp(52px, 9vw, 148px); line-height: .93; }
h2 { font-size: clamp(40px, 6vw, 92px); line-height: .96; }
h3 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 400; line-height: 1.08; letter-spacing: -.015em; }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--ink-2); margin: 0; }
.tbd { background: rgba(168, 131, 75, .18); color: #7a5a2a; border-radius: 3px; padding: 0 4px; font-size: .85em; }
.ul { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .5s var(--ease); }
.ul:hover { background-size: 0 1px; background-position: 100% 100%; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 14px; height: 54px; padding: 0 26px; border-radius: 999px; border: 1px solid currentColor; font-size: 15px; font-weight: 500; cursor: pointer; background: none; position: relative; overflow: hidden; isolation: isolate; transition: color .5s var(--ease), border-color .5s var(--ease); }
.btn::before { content: ''; position: absolute; inset: 0; background: var(--ink); border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease); z-index: -1; }
.btn:hover::before { transform: none; }
.btn:hover { color: var(--paper); border-color: var(--ink); }
.btn .arr { transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-solid::before { background: var(--brass); }
.btn-solid:hover { border-color: var(--brass); }
.on-dark .btn::before, .btn-light::before { background: var(--paper); }
.on-dark .btn:hover, .btn-light:hover { color: var(--ink); border-color: var(--paper); }
.btn[disabled] { opacity: .35; pointer-events: none; }

/* Curtain (page transitions) */
.curtain { position: fixed; inset: 0; z-index: 200; background: var(--night); transform: scaleY(0); transform-origin: bottom; pointer-events: none; display: grid; place-items: center; }
.curtained .curtain { transform: scaleY(1); }
.curtain-mark { color: var(--paper); opacity: 0; display: grid; justify-items: center; gap: clamp(22px, 3vw, 32px); line-height: 0; }
.curtain .piano { width: clamp(150px, 15vw, 200px); height: auto; overflow: visible; }
.curtained:not(.first-load) .curtain-mark { opacity: 1; }
.first-load .curtain-mark { opacity: 1; }
.first-load .curtain .piano { visibility: hidden; }
.first-load .curtain .logo { opacity: 0; }

/* Header */
.hdr { position: fixed; z-index: 100; inset: 0 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px var(--gutter); color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); transition: transform .6s var(--ease), background .4s, color .4s; }
.hdr.hide { transform: translateY(-110%); }
.wordmark { display: flex; align-items: center; gap: 12px; justify-self: start; line-height: 0; }
.wordmark .pmark { width: 34px; height: auto; flex: none; transform: translateY(-1px); transition: transform .6s var(--ease); }
.wordmark:hover .pmark { transform: translateY(-1px) rotate(-4deg); }
.ftr-sign { display: inline-flex; align-items: center; gap: 10px; }
.ftr-sign .pmark { width: 26px; height: auto; color: var(--brass); opacity: .9; }
@media (max-width: 860px) { .wordmark { gap: 10px; } .wordmark .pmark { width: 28px; } }
.logo { display: block; width: clamp(150px, 14vw, 196px); height: auto; overflow: visible; }
.ftr-logo { margin-top: 64px; color: var(--paper); }
.ftr-logo .logo { width: 100%; max-width: none; overflow: hidden; }
.curtain-mark .logo { width: clamp(180px, 19vw, 260px); }
.hdr-nav { display: flex; gap: 36px; font-size: 14px; }
.hdr-nav a { position: relative; padding: 4px 0; white-space: nowrap; }
.hdr-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.hdr-nav a:hover::after, .hdr-nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.hdr-book { justify-self: end; font-size: 14px; border: 1px solid currentColor; border-radius: 999px; padding: 10px 20px; transition: background .4s, color .4s; }
.hdr-book:hover { background: var(--ink); color: var(--paper); }
.menu-toggle { display: none; justify-self: end; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; color: inherit; }
.menu-toggle i { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.menu-toggle i:nth-of-type(1) { top: 18px; } .menu-toggle i:nth-of-type(2) { top: 25px; }
.menu-open .menu-toggle i:nth-of-type(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-toggle i:nth-of-type(2) { transform: translateY(-3.5px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 90; background: var(--night); color: var(--paper); padding: 110px var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; clip-path: inset(0 0 100% 0); visibility: hidden; }
.menu nav { display: grid; }
.menu nav a { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 12vw, 72px); line-height: 1.12; padding-bottom: .08em; letter-spacing: -.02em; display: flex; align-items: baseline; gap: 14px; overflow: hidden; }
.menu nav em { font: 400 11px/1 var(--sans); letter-spacing: .12em; color: var(--brass); font-style: normal; }
.menu-foot { display: grid; gap: 6px; font-size: 15px; color: rgba(244, 240, 231, .7); }
@media (max-width: 860px) {
  /* Mobile: solid bar instead of the blend-mode overlay, so text never scrolls through it */
  .hdr { grid-template-columns: 1fr auto; mix-blend-mode: normal; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); padding-top: 14px; padding-bottom: 14px; transition: transform .6s var(--ease), background .4s, color .4s, border-color .4s; }
  .hdr.hide { transform: none; }
  .menu-open .hdr { background: var(--night); color: var(--paper); border-color: var(--night-line); }
  .hdr-nav, .hdr-book { display: none; }
  .menu-toggle { display: block; }
}

/* Line breaking: fill the container, never leave a lone word on the last line */
h1, h2, h3, .statement, blockquote, .player-title, .ftr-big { text-wrap: pretty; }
p, li, dd, .r-d, .d, .hint, .lede { text-wrap: pretty; }

/* Reveal helpers */
.ln-mask { padding: .1em .15em .2em 0; margin: -.1em -.15em -.2em 0; }
/* Adjacent negative margins collapse to the larger one, not the sum; offset the difference so line spacing stays true */
.ln-mask:not(:last-child) { margin-bottom: -.3em; }
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-split] { visibility: hidden; }
.frame { overflow: hidden; position: relative; background: var(--paper-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
[data-parallax] img { position: absolute; left: 0; top: -8%; height: 116%; will-change: transform; }
.frame:not([data-parallax]) img { position: absolute; inset: 0; }

/* Home hero — clean paper, big type, a playable keyboard */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; background: var(--paper); overflow: hidden; }
.hero-in { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 104px; padding-bottom: clamp(32px, 5vw, 64px); }
.hero-top { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 4vw, 52px); }
.hero h1 { font-size: clamp(50px, 16.4vw, 250px); line-height: .92; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--brass); }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-top: clamp(32px, 4.5vw, 56px); }
.hero-foot p { margin: 0; flex: 1 1 320px; font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); }
.hero-ctas { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.keys { position: relative; height: clamp(110px, 16vh, 168px); flex: none; border-top: 1px solid var(--ink); }
.keys-row { position: absolute; inset: 0; display: flex; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.key { position: relative; flex: 1; border: 0; border-right: 1px solid var(--line); background: var(--paper); padding: 0; cursor: pointer; transform-origin: top; }
.key.w::after { content: ''; position: absolute; inset: 0; background: var(--paper-2); opacity: 0; transition: opacity .5s var(--ease); }
.key.w.on::after { opacity: 1; transition-duration: .05s; }
.key.b { position: absolute; top: 0; height: 60%; z-index: 2; background: var(--ink); border: 0; border-radius: 0 0 3px 3px; }
.key.b.on { background: var(--brass); }
.key.c::before { content: attr(data-oct); position: absolute; left: 8px; bottom: 10px; font-size: 10px; letter-spacing: .1em; color: var(--muted); z-index: 1; }
.sound { position: absolute; z-index: 3; right: var(--gutter); top: -50px; display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 8px 0; cursor: pointer; font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.sound:hover, .sound[aria-pressed="true"] { color: var(--ink); }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { width: 2px; height: 3px; background: currentColor; border-radius: 1px; }
.sound[aria-pressed="true"] .eq i { animation: eq 1s ease-in-out infinite; }
.sound[aria-pressed="true"] .eq i:nth-child(2) { animation-delay: -.3s; }
.sound[aria-pressed="true"] .eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }
@media (min-width: 900px) {
  .hero-body { position: relative; }
  .hero-foot { position: absolute; right: 0; bottom: calc(clamp(50px, 16.4vw, 250px) * .14); width: 44%; margin: 0; flex-direction: column; align-items: flex-start; gap: 26px; }
  .hero-foot p { flex: none; font-size: clamp(17px, 1.4vw, 21px); }
}
@media (max-width: 640px) { .hero-top span:last-child { display: none; } .sound { top: -44px; } }

/* Statement */
.statement-sec { padding: clamp(110px, 16vw, 230px) 0; }
.statement { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 4.3vw, 66px); line-height: 1.12; letter-spacing: -.02em; margin: 0; }
.statement .w { opacity: .14; }
.no-js .statement .w, .reduced .statement .w { opacity: 1; }
.statement-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 56px; gap: 24px; flex-wrap: wrap; }

/* Services index */
.index-sec { padding-bottom: clamp(100px, 14vw, 200px); }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.svc-index { list-style: none; margin: 0; padding: 0; }
.svc-index a { display: grid; grid-template-columns: 70px 1fr minmax(0, 300px) 40px; align-items: center; gap: 24px; padding: clamp(26px, 3.4vw, 46px) 0; border-bottom: 1px solid var(--line); position: relative; }
.svc-index .n { font-size: 12px; letter-spacing: .12em; color: var(--muted); }
.svc-index .t { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 7.5vw, 124px); line-height: .95; letter-spacing: -.03em; transition: transform .7s var(--ease), color .5s, opacity .5s var(--ease); }
.svc-index .d { color: var(--muted); font-size: 15px; }
.svc-index .arr { font-size: 22px; justify-self: end; transition: transform .6s var(--ease); }
.svc-index a:hover .t { transform: translateX(18px); color: var(--brass); }
.svc-index a:hover .arr { transform: translateX(6px) rotate(-45deg); }
.float-img { position: fixed; left: 0; top: 0; width: 300px; aspect-ratio: 4/5; pointer-events: none; z-index: 5; overflow: hidden; border-radius: 2px; opacity: 0; transform: translate(-50%, -50%) scale(.8); }
.float-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .svc-index a { grid-template-columns: 1fr auto; gap: 6px 16px; } .svc-index .n { grid-column: 1 / -1; } .svc-index .d { grid-column: 1; } .svc-index .arr { grid-row: 2; grid-column: 2; } .float-img { display: none; } }

/* Split feature (about / studio teaser) */
.feature { padding: clamp(100px, 13vw, 190px) 0; }
.feature-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; }
.feature-media { grid-column: 1 / span 5; aspect-ratio: 4 / 5; }
.feature-copy { grid-column: 7 / span 6; display: grid; gap: 28px; padding-bottom: 12px; }
.feature-copy p { margin: 0; color: var(--ink-2); font-size: 17px; }
.feature-copy blockquote { margin: 8px 0; font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.18; letter-spacing: -.015em; }
.feature-copy blockquote::before { content: '“'; color: var(--brass); }
.feature-copy blockquote::after { content: '”'; color: var(--brass); }
.feature.rev .feature-media { grid-column: 8 / span 5; grid-row: 1; }
.feature.rev .feature-copy { grid-column: 1 / span 6; grid-row: 1; }
@media (max-width: 860px) { .feature-grid > * { grid-column: 1 / -1 !important; grid-row: auto !important; } .feature-media { aspect-ratio: 4/3.4; } }

/* Dark band (listen) */
.on-dark { background: var(--night); color: var(--paper); }
.on-dark .kicker { color: rgba(244, 240, 231, .55); }
.on-dark .lede, .on-dark p { color: rgba(244, 240, 231, .75); }
.listen { padding: clamp(100px, 13vw, 180px) 0; }
.listen-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
@media (max-width: 760px) { .listen-head { grid-template-columns: 1fr; } }
.player { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 44px); align-items: center; border-top: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); padding: clamp(26px, 3vw, 40px) 0; }
.play { width: clamp(72px, 7vw, 96px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(244, 240, 231, .4); background: none; color: var(--paper); cursor: pointer; display: grid; place-items: center; transition: background .5s var(--ease), color .5s, border-color .5s, transform .5s var(--ease); }
.play:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); transform: scale(1.04); }
.player-meta { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; flex-wrap: wrap; margin-bottom: 18px; }
.player-title { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 3vw, 44px); letter-spacing: -.02em; line-height: 1.05; }
.player-sub { font-size: 14px; color: rgba(244, 240, 231, .55); }
.wave { display: flex; align-items: center; gap: 3px; height: 64px; cursor: pointer; }
.wave i { flex: 1; background: rgba(244, 240, 231, .2); border-radius: 1px; transform-origin: center; transition: background .25s; }
.wave i.on { background: var(--brass); }
.time { font-size: 13px; color: rgba(244, 240, 231, .5); font-variant-numeric: tabular-nums; margin-top: 12px; }
.player.light { border-color: var(--line); }
.player.light .play { border-color: var(--line); color: var(--ink); }
.player.light .play:hover { background: var(--ink); color: var(--paper); }
.player.light .player-sub, .player.light .time { color: var(--muted); }
.player.light .wave i { background: rgba(21, 20, 15, .16); }
.player.light .wave i.on { background: var(--brass); }

/* Studio teaser gallery */
.duo { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-top: clamp(48px, 6vw, 80px); }
.duo figure:first-child .frame { aspect-ratio: 7 / 5; }
.duo figure:last-child { align-self: end; }
.duo figure:last-child .frame { aspect-ratio: 4 / 5; }
.cap { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted); margin-top: 12px; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } .duo figure:last-child .frame { aspect-ratio: 4/3.4; } }

/* Inner page hero */
.phero { padding: clamp(150px, 18vw, 240px) 0 clamp(48px, 6vw, 80px); }
.phero-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-top: 28px; }
.phero-img { aspect-ratio: 16 / 8; margin-top: clamp(48px, 6vw, 88px); }
@media (max-width: 760px) { .phero-grid { grid-template-columns: 1fr; } .phero-img { aspect-ratio: 4/3.2; } }

/* Content blocks */
.block { padding: clamp(80px, 11vw, 160px) 0; }
.block + .block { padding-top: 0; }
.cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.cols > .side { grid-column: 1 / span 4; }
.cols > .main { grid-column: 6 / span 7; }
@media (max-width: 860px) { .cols > .side, .cols > .main { grid-column: 1 / -1; } .cols > .side { margin-bottom: 24px; } }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.rows .r-t { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); font-weight: 400; letter-spacing: -.015em; line-height: 1.1; }
.rows .r-v { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; white-space: nowrap; }
.rows .r-d { grid-column: 1 / -1; color: var(--muted); font-size: 15px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--line); }
.trio > div { padding-top: 26px; }
.trio h3 { margin: 10px 0 12px; }
.trio p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 760px) { .trio { grid-template-columns: 1fr; gap: 0; } .trio > div { padding: 24px 0; border-bottom: 1px solid var(--line); } }
.fees { width: 100%; border-collapse: collapse; }
.fees th, .fees td { text-align: left; padding: 20px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.fees thead th { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 0; }
.fees td { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; }
.fees td:first-child { font-family: var(--sans); font-size: 15px; color: var(--ink-2); }
.fees th:not(:first-child), .fees td:not(:first-child) { text-align: right; }
.note { font-size: 14px; color: var(--muted); margin-top: 18px; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); font-weight: 400; letter-spacing: -.015em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary i { width: 14px; height: 14px; position: relative; flex: none; }
.acc summary i::before, .acc summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.acc summary i::after { transform: rotate(90deg); }
.acc details[open] summary i::after { transform: rotate(0); }
.acc .acc-body { padding: 0 0 26px; color: var(--ink-2); }
.acc .acc-body p { margin: 0 0 10px; }
.acc .acc-body ul { margin: 0; padding-left: 18px; }
.acc .acc-body li { margin: 4px 0; }
.cta-band { padding: clamp(100px, 14vw, 200px) 0; text-align: center; }
.cta-band h2 { margin: 22px auto 40px; }

/* Footer */
.ftr { background: var(--night); color: var(--paper); padding: clamp(90px, 12vw, 160px) 0 28px; }
.ftr .kicker { color: rgba(244, 240, 231, .5); }
.ftr-big { display: flex; align-items: baseline; gap: .2em; font-family: var(--serif); font-weight: 300; font-size: clamp(64px, 15vw, 260px); line-height: .9; letter-spacing: -.04em; margin-top: 18px; width: fit-content; }
.ftr-arr { font-size: .4em; color: var(--brass); transition: transform .7s var(--ease); display: inline-block; padding-right: .1em; }
.ftr-big:hover .ftr-arr { transform: translateX(.3em); }
.ftr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: clamp(64px, 9vw, 120px); padding-top: 32px; border-top: 1px solid var(--night-line); font-size: 15px; }
.ftr-grid h4 { margin: 0 0 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: rgba(244, 240, 231, .5); }
.ftr-grid p { margin: 0 0 10px; }
.ftr-grid a { display: block; width: fit-content; padding: 2px 0; }
.ftr-grid a:hover { color: var(--brass); }
.ftr-base { display: flex; justify-content: space-between; margin-top: 28px; font-size: 13px; color: rgba(244, 240, 231, .4); }
@media (max-width: 760px) { .ftr-grid { grid-template-columns: 1fr 1fr; } .ftr-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- Booking wizard ---------- */
.book-page { background: var(--paper); }
.wiz { min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding-top: 110px; padding-bottom: 32px; }
.wiz-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.wiz-count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.wiz-bar { height: 1px; background: var(--line); margin-top: 18px; position: relative; overflow: hidden; }
.wiz-bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.wiz-stage { display: flex; align-items: center; padding: clamp(40px, 7vw, 96px) 0; }
.step { width: 100%; }
.step h1 { font-size: clamp(40px, 6.2vw, 92px); line-height: 1; margin: 14px 0 0; }
.step .hint { color: var(--muted); margin: 18px 0 0; font-size: 16px; }
.step-body { margin-top: clamp(32px, 4vw, 52px); display: grid; gap: 28px; }
.opts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.opt { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 24px; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 24px 4px; cursor: pointer; position: relative; transition: padding .5s var(--ease); }
.opt b { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.4vw, 46px); letter-spacing: -.02em; line-height: 1.05; }
.opt span { grid-column: 1; color: var(--muted); font-size: 15px; }
.opt em { grid-row: 1 / span 2; grid-column: 2; font-style: normal; font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); font-weight: 300; color: var(--ink-2); }
.opt::after { content: '→'; position: absolute; right: 4px; top: 50%; transform: translate(-10px, -50%); opacity: 0; transition: opacity .4s, transform .5s var(--ease); font-size: 22px; }
.opt:not(:has(em)):hover::after { opacity: 1; transform: translate(0, -50%); }
.opt:hover { padding-left: 16px; }
.opt[aria-pressed="true"] b { color: var(--brass); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid var(--line); background: none; border-radius: 999px; padding: 12px 20px; cursor: pointer; font-size: 15px; transition: background .35s, color .35s, border-color .35s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.grp > label, .grp > .lbl { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 500; }
.grp .opt-l { text-transform: none; letter-spacing: 0; }
.fld { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.fld .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .fld { grid-template-columns: 1fr; } }
.in { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 10px 0 12px; font-size: clamp(20px, 2vw, 26px); font-family: var(--serif); font-weight: 300; border-radius: 0; transition: border-color .3s; }
.in::placeholder { color: rgba(21, 20, 15, .3); }
.in:focus { outline: none; border-color: var(--ink); }
textarea.in { resize: vertical; min-height: 110px; line-height: 1.35; }
select.in { appearance: none; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2315140f'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") right 4px center no-repeat; padding-right: 24px; }
.err { color: #9b3b2a; font-size: 14px; min-height: 1.4em; margin: 0; }
.wiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.back { background: none; border: 0; cursor: pointer; font-size: 15px; color: var(--muted); padding: 10px 0; display: inline-flex; gap: 10px; align-items: center; }
.back:hover { color: var(--ink); }
.kbd { font-size: 12px; color: var(--muted); margin-left: 12px; }
@media (max-width: 640px) { .kbd { display: none; } }
.time-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 20px; align-items: end; }
.time-row .rm { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 20px; padding: 8px; }
@media (max-width: 640px) { .time-row { grid-template-columns: 1fr 1fr auto; } .time-row .grp:first-child { grid-column: 1 / -1; } }
.add { background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); font-size: 15px; width: fit-content; }
.check { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; font-size: 16px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.summary { border-top: 1px solid var(--line); margin: 0; }
.summary div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.summary dt { color: var(--muted); font-size: 14px; }
.summary dd { margin: 0; font-size: 16px; }
@media (max-width: 560px) { .summary div { grid-template-columns: 1fr; gap: 2px; } }
.policies { font-size: 14.5px; color: var(--ink-2); }
.policies summary { cursor: pointer; color: var(--ink); }
.policies p { margin: 10px 0 0; }

/* Calendar */
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cal-head strong { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; transition: border-color .3s; }
.cal-nav button:hover:not(:disabled) { border-color: var(--ink); }
.cal-nav button:disabled { opacity: .3; cursor: default; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.day { border: 0; background: none; border-radius: 14px; padding: 12px 0; cursor: pointer; display: grid; gap: 2px; justify-items: center; transition: background .3s, color .3s; }
.day small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.day b { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.1; }
.day:hover { background: var(--paper-2); }
.day[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.day[aria-pressed="true"] small { color: rgba(244, 240, 231, .6); }
.day.none { opacity: .3; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 22px; min-height: 120px; align-content: start; }
.slot { border: 1px solid var(--line); background: none; border-radius: 999px; padding: 11px 0; cursor: pointer; font-size: 14px; font-variant-numeric: tabular-nums; transition: background .3s, color .3s, border-color .3s; }
.slot:hover:not(:disabled) { border-color: var(--ink); }
.slot:disabled { opacity: .3; text-decoration: line-through; cursor: default; }
.slot[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.slots-empty { grid-column: 1 / -1; color: var(--muted); padding: 18px 0; }
.sk { height: 42px; border-radius: 999px; background: linear-gradient(90deg, var(--paper-2), #f7f4ee, var(--paper-2)); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.done-mark { width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; }
.done-mark path { stroke-dasharray: 30; stroke-dashoffset: 30; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Public schedule ---------- */
.sched-hero { padding: clamp(140px, 15vw, 200px) 0 clamp(32px, 4vw, 48px); }
.sched-hero .phero-grid { grid-template-columns: 1.3fr 1fr; align-items: end; }
.sched { padding-bottom: clamp(120px, 12vw, 160px); }
.sched-controls { display: grid; gap: 22px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.week-head { display: flex; justify-content: space-between; align-items: center; margin: 36px 0 18px; }
.week-head strong { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.015em; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; min-height: 260px; }
.wday { display: grid; align-content: start; gap: 8px; }
.wday-h { display: grid; justify-items: start; padding: 12px 14px; border-radius: 14px; background: var(--paper-2); margin-bottom: 4px; }
.wday-h small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.wday-h b { font-family: var(--serif); font-weight: 300; font-size: 30px; line-height: 1.1; }
.wday-h span { font-size: 12px; color: var(--muted); }
.wday-slots { display: grid; gap: 6px; }
.wday .slot { width: 100%; padding: 8px 0; font-size: 13.5px; }
.wpart { grid-column: 1 / -1; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 10px 2px 2px; }
.wpart:first-child { margin-top: 0; }
.wday .sk { height: 40px; }
.wday-none { color: var(--muted); font-size: 14px; margin: 6px 2px; }
.mdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 14px; grid-column: 1 / -1; }
@media (max-width: 1100px) { .week { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 760px) {
  .sched-hero .phero-grid { grid-template-columns: 1fr; }
  .week { grid-template-columns: 1fr; min-height: 0; }
  .wday-slots { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
}
.pickbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--night); color: var(--paper); padding: 16px 0; box-shadow: 0 -20px 40px -20px rgba(0,0,0,.35); }
.pickbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap; }
.pickbar .kicker { color: rgba(244,240,231,.55); display: block; margin-bottom: 4px; }
.pickbar b { font-family: var(--serif); font-weight: 400; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -.01em; }
.pickbar-cta { display: flex; align-items: center; gap: 18px; }
.pickbar .back { color: rgba(244,240,231,.6); }
.pickbar .back:hover { color: var(--paper); }
.pickbar .btn-solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.pickbar .btn-solid::before { background: var(--brass); }
.rows li > .btn { justify-self: end; height: 46px; }
@media (max-width: 640px) { .rows li { grid-template-columns: 1fr; } .rows li > .btn { justify-self: start; grid-row: 3; } }

.ftr-grid .rating { margin-top: 14px; font-size: 13px; color: rgba(244,240,231,.65); }
.ftr-grid .rating span { color: var(--brass); letter-spacing: .1em; margin-right: 6px; }

/* ---------- Studio guide ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.flow li { padding: 28px 24px 0 0; display: grid; gap: 10px; align-content: start; }
.flow li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.flow span { font-size: 12px; letter-spacing: .12em; color: var(--brass); }
.flow b { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.015em; line-height: 1.1; }
.flow p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr 1fr; row-gap: 28px; } .flow li:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } .flow li, .flow li + li { border-left: 0; padding-left: 0; } }
.guide .sec-head { margin-bottom: 8px; }
.g-step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding: clamp(48px, 6vw, 88px) 0; border-bottom: 1px solid var(--line); }
.g-copy { display: grid; gap: 14px; position: sticky; top: 100px; }
.g-copy h2 { font-size: clamp(32px, 3.4vw, 48px); }
.g-copy p { margin: 0; color: var(--ink-2); font-size: 16.5px; }
.g-copy ul { margin: 0; padding-left: 18px; color: var(--ink-2); display: grid; gap: 6px; font-size: 15.5px; }
.g-n { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; font-size: 14px; }
.g-note { font-size: 14.5px !important; color: var(--muted) !important; border-left: 2px solid var(--brass); padding-left: 14px; }
.shot { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(21, 20, 15, .35); background: var(--paper-2); }
.shot img { width: 100%; height: auto; display: block; }
.shot-pair { display: grid; gap: 16px; }
.legend-list, .keys-list { list-style: none; padding: 0 !important; }
.legend-list li { display: flex; gap: 10px; align-items: center; }
.lg { width: 18px; height: 12px; border-radius: 3px; flex: none; }
.lg.lesson { background: #2c2a25; }
.lg.ok { background: var(--brass); }
.lg.held { background: repeating-linear-gradient(135deg, rgba(168,131,75,.2) 0 4px, rgba(168,131,75,.4) 4px 8px); border: 1px solid var(--brass); }
.lg.block { background: repeating-linear-gradient(135deg, #e3ddd2 0 4px, #cfc7b8 4px 8px); }
.keys-list { grid-template-columns: 1fr 1fr; }
.keys-list kbd, .guide kbd { font: 500 12px var(--sans); border: 1px solid rgba(21,20,15,.2); border-bottom-width: 2px; border-radius: 5px; padding: 1px 7px; background: #fff; }
@media (max-width: 860px) { .g-step { grid-template-columns: 1fr; } .g-copy { position: static; } }

/* ---------- Schedule calendar (month + week) ---------- */
.cal-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 34px 0 18px; }
.cal-bar-l { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.cal-label { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.015em; }
.seg-tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper-2); }
.seg-tabs button { border: 0; background: none; padding: 8px 18px; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--muted); transition: background .3s, color .3s; }
.seg-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.cal-nav .today-btn { width: auto; padding: 0 16px; border-radius: 999px; font-size: 14px; }
.month { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.mgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.mhead { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0 4px 6px; }
.mcell { position: relative; aspect-ratio: 1 / .86; border: 1px solid var(--line); border-radius: 12px; background: #fbf9f4; padding: 10px; display: grid; align-content: space-between; justify-items: start; text-align: left; cursor: pointer; transition: border-color .25s, background .25s, color .25s, transform .25s var(--ease); }
.mcell b { font-family: var(--serif); font-weight: 300; font-size: clamp(18px, 1.8vw, 26px); line-height: 1; }
.mcell small { font-size: 11.5px; color: var(--muted); }
.mcell i { position: absolute; right: 10px; top: 12px; width: 7px; height: 7px; border-radius: 50%; }
.mcell.open i { background: #5f8a64; }
.mcell.few i { background: var(--brass); }
.mcell.full { background: transparent; }
.mcell.full b { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(21,20,15,.25); }
.mcell.past, .mcell.beyond { background: transparent; border-color: transparent; }
.mcell.past b, .mcell.beyond b { color: rgba(21,20,15,.25); }
.mcell.loading { background: linear-gradient(90deg, var(--paper-2), #f7f4ee, var(--paper-2)); background-size: 200% 100%; animation: sk 1.2s infinite; }
.mcell.out { border: 0; background: none; cursor: default; }
.mcell:not(:disabled):hover { border-color: var(--ink); transform: translateY(-1px); }
.mcell.today b { color: var(--brass); }
.mcell[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.mcell[aria-pressed="true"] small { color: rgba(244,240,231,.7); }
.mcell[aria-pressed="true"] b { color: var(--paper); }
.mcell:disabled { cursor: default; }
.dpanel { position: sticky; top: 100px; background: #fbf9f4; border: 1px solid var(--line); border-radius: 16px; padding: clamp(18px, 2vw, 26px); display: grid; gap: 14px; min-height: 240px; align-content: start; }
.dp-title { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -.015em; line-height: 1.1; margin: 0; }
.dp-sub { margin: -6px 0 0; color: var(--muted); font-size: 14px; }
.dp-group { display: grid; gap: 8px; }
.dp-group .wpart { margin: 0; }
.dp-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 6px; }
.dp-slots .slot { padding: 9px 0; font-size: 13.5px; }
.dp-week { background: none; border: 0; padding: 0 0 2px; cursor: pointer; font-size: 14px; justify-self: start; margin-top: 4px; }
.mlegend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; font-size: 12.5px; color: var(--ink-2); align-items: center; }
.mlegend span { display: inline-flex; gap: 7px; align-items: center; }
.mlegend i { width: 8px; height: 8px; border-radius: 50%; }
.mlegend i.open { background: #5f8a64; }
.mlegend i.few { background: var(--brass); }
.mlegend i.full { background: rgba(21,20,15,.18); }
.mlegend i.taken { width: 14px; height: 10px; border-radius: 3px; background: repeating-linear-gradient(135deg, #ece6da 0 4px, #d9d1c2 4px 8px); }
.mlegend i.open.sq { width: 14px; height: 10px; border-radius: 3px; background: #fff; border: 1px solid var(--line); }
.mlegend i.sel { width: 14px; height: 10px; border-radius: 3px; background: var(--ink); }
.mlegend .muted { color: var(--muted); }
@media (max-width: 960px) { .month { grid-template-columns: 1fr; } .dpanel { position: static; } }
@media (max-width: 560px) { .mcell { aspect-ratio: 1; padding: 6px; border-radius: 10px; align-content: center; } .mcell small { display: none; } .mcell i { right: 6px; top: 7px; width: 6px; height: 6px; } .mgrid { gap: 4px; } }

/* Week time grid */
.wg-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fbf9f4; }
.wg { display: grid; grid-template-columns: 58px repeat(7, minmax(92px, 1fr)); min-width: 720px; }
.wg-h { padding: 12px 8px 10px; text-align: center; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fbf9f4; z-index: 3; display: grid; gap: 1px; }
.wg-h:first-child { border-left: 0; }
.wg-h small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.wg-h b { font-family: var(--serif); font-weight: 300; font-size: 24px; line-height: 1.1; }
.wg-h span { font-size: 11.5px; color: var(--muted); }
.wg-h.today b { color: var(--brass); }
.wg-h.past b { color: rgba(21,20,15,.3); }
.wg-times { position: relative; }
.wg-times span { position: absolute; right: 8px; transform: translateY(-50%); font-size: 11px; color: var(--muted); }
.wg-col { position: relative; border-left: 1px solid var(--line); display: grid; grid-auto-rows: 22px; }
.wc { display: block; border: 0; border-top: 1px solid rgba(21,20,15,.05); padding: 0; margin: 0; background: none; font-size: 10.5px; color: transparent; text-align: left; }
.wc:nth-child(2n+1) { border-top-color: rgba(21,20,15,.1); }
.wc.open { cursor: pointer; background: #fff; color: #3f5f41; transition: background .15s; }
.wc.open em { display: none; }
.wc.open:hover, .wc.open:focus-visible { background: rgba(95, 138, 100, .16); }
.wc.taken { background: repeating-linear-gradient(135deg, #ece6da 0 6px, #e2dbcd 6px 12px); }
.wc.closed, .wc.past { background: #f1ede4; }
.wg-col.past { opacity: .55; }
.wg-ghost, .wg-sel { position: absolute; left: 3px; right: 3px; border-radius: 8px; pointer-events: none; z-index: 2; padding: 4px 8px; font-size: 11.5px; line-height: 1.3; overflow: hidden; }
.wg-ghost { border: 1.5px dashed #5f8a64; background: rgba(95,138,100,.12); color: #3f5f41; font-weight: 500; }
.wg-sel { background: var(--ink); color: var(--paper); display: grid; align-content: start; gap: 1px; box-shadow: 0 10px 24px -12px rgba(21,20,15,.5); }
.wg-sel b { font-weight: 600; font-size: 12px; }
.wg-sel small { font-size: 11px; opacity: .7; }

/* ---------- Row hover wipe (GSAP drives .wipe; see app.js) ---------- */
.opt, .acc summary { position: relative; isolation: isolate; }
.wipe { position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: 50% 100%; z-index: -1; pointer-events: none; }
.opt > .wipe { grid-column: auto; grid-row: auto; } /* .opt span rules would otherwise place it in the text column */
.opt, .acc summary { transition: padding .6s var(--ease), color .35s; }
.opt.hot { padding-left: 22px; padding-right: 22px; }
.opt.hot b, .opt.hot em { color: var(--paper); }
.opt.hot span { color: rgba(244,240,231,.65); }
.opt.hot::after { color: var(--paper); right: 22px; }
.opt.hot[aria-pressed="true"] b { color: var(--brass); }
.svc-index:hover a:not(:hover) .t { opacity: .3; }
.acc summary.hot { color: var(--paper); padding-left: 18px; padding-right: 18px; }

/* Three-day vertical time board (month view panel) */
.dp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dp-head .cal-nav button { width: 38px; height: 38px; }
.tb { display: grid; gap: 6px 8px; align-items: center; }
.tb-heads { display: grid; gap: 8px; position: sticky; top: 80px; transition: top .6s var(--ease); z-index: 3; background: #fbf9f4; padding: 10px 0 8px; margin: -10px 0 -8px; box-shadow: 0 10px 14px -14px rgba(21,20,15,.35); }
.tb-h { display: grid; justify-items: center; gap: 0; padding: 10px 4px 12px; border-radius: 12px; background: var(--paper-2); }
.tb-h.first { background: var(--ink); color: var(--paper); }
.tb-h small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .65; }
.tb-h b { font-family: var(--serif); font-weight: 300; font-size: 26px; line-height: 1.1; }
.tb-h span { font-size: 11.5px; opacity: .65; }
.tb-part { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 12px 2px 0; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.ts { height: 38px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; font-variant-numeric: tabular-nums; cursor: pointer; transition: background .25s, color .25s, border-color .25s; display: grid; place-items: center; padding: 0; }
.ts:hover { border-color: var(--ink); }
.ts[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ts.off { background: transparent; border-color: transparent; color: rgba(21,20,15,.28); text-decoration: line-through; text-decoration-color: rgba(21,20,15,.25); cursor: default; }
.dpanel { position: static; }
@media (min-width: 861px) { body:has(.hdr.hide) .tb-heads { top: 0; } } /* desktop header slides away on scroll-down; mobile header stays pinned */
@media (max-width: 860px) { .tb-heads { top: 72px; } }
.mcell.inrange { border-color: var(--ink); background: #fff; }

.svc-groups { display: flex; gap: 22px 40px; flex-wrap: wrap; }
.sched-intro { display: grid; gap: 14px; }
.sched-lessons { margin: 0; font-size: 15px; color: var(--muted); }
.sched-lessons a { color: var(--ink); }
