@font-face { font-family: Instrument; src: url('media/assets/InstrumentSans-Regular.ttf'); font-display: swap; }
@font-face { font-family: Barlow; src: url('media/assets/BarlowCondensed-SemiBold.ttf'); font-display: swap; }
@font-face { font-family: Bricolage; src: url('media/assets/BricolageGrotesque-Bold.ttf'); font-display: swap; }
@font-face { font-family: Editorial; src: url('media/assets/InstrumentSerif-Regular.ttf'); font-display: swap; }
@font-face { font-family: Work; src: url('media/assets/WorkSans-Regular.ttf'); font-display: swap; }

* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 1rem/1.55 var(--body, Instrument), sans-serif;
}
.guitar-a { --paper: #1e2425; --ink: #fff7e6; --soft: #d3c7ac; --panel: #292f2e; --line: #666050; --accent: #edbd77; --button-ink: #252014; --heading: Instrument; }
.guitar-b { --paper: #f0b29d; --ink: #391411; --soft: #591e17; --panel: #e6f4f5; --line: #984b3d; --accent: #70271c; --button-ink: #fff; --heading: Barlow; }
.guitar-c { --paper: #f8f9ff; --ink: #141e42; --soft: #3f4c72; --panel: #e5ecff; --line: #a7b6dc; --accent: #2445b1; --button-ink: #fff; --heading: Instrument; }
.spanish-a { --paper: #ebf5fb; --ink: #102e43; --soft: #34576c; --panel: #fff; --line: #a5bfcb; --accent: #104763; --button-ink: #fff; --heading: Bricolage; }
.spanish-b { --paper: #ffebaa; --ink: #2d1a43; --soft: #574168; --panel: #fff8e5; --line: #ba9d59; --accent: #4d2b70; --button-ink: #fff; --heading: Bricolage; }
.spanish-c { --paper: #fff1e3; --ink: #421e17; --soft: #6d4035; --panel: #fff9ee; --line: #c79b8a; --accent: #972f24; --button-ink: #fff; --heading: Editorial; }
.walks-a { --paper: #edf0df; --ink: #253927; --soft: #456148; --panel: #f9faef; --line: #a5b293; --accent: #325237; --button-ink: #fff; --heading: Editorial; --body: Work; }
.walks-b { --paper: #ece4f8; --ink: #30203b; --soft: #5a4069; --panel: #faf5ff; --line: #ba9ec8; --accent: #5f326f; --button-ink: #fff; --heading: Work; --body: Work; }
.walks-c { --paper: #f8d2b4; --ink: #1e3040; --soft: #3d4b58; --panel: #fff3e4; --line: #aa846c; --accent: #263e54; --button-ink: #fff; --heading: Work; --body: Work; }

a { color: inherit; text-underline-offset: .22em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
figure, blockquote { margin: 0; }
figcaption, .price-basis, .purchase-note { color: var(--soft); font-size: .86rem; }
figcaption { padding: .65rem 0 0; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0 0 .65em; line-height: 1.06; font-family: var(--heading), sans-serif; }
h1 { font-size: clamp(2.4rem, 5.3vw, 5.7rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.8rem); }
h3 { font-size: 1.1rem; }

.sale-banner { padding: .9rem 1rem; background: var(--accent); color: var(--button-ink); text-align: center; }
.sale-banner strong { display: block; font-size: clamp(1.35rem, 2.7vw, 2.25rem); line-height: 1.1; }
.sale-banner span { display: block; margin-top: .25rem; font-size: .86rem; }
.brandbar, footer { display: flex; justify-content: space-between; gap: .8rem; align-items: center; padding: 1rem clamp(1rem, 5vw, 5rem); }
.brand { font-weight: 700; text-decoration: none; font-size: 1.25rem; }
.brandbar > a:last-child, footer { font-size: .9rem; }
footer { border-top: 1px solid var(--line); }

.hero, .feature, .offer { max-width: 1440px; margin: 0 auto; padding: clamp(1.5rem, 5vw, 5rem); }
.hero { display: grid; gap: clamp(1.25rem, 5vw, 5rem); align-items: center; }
.hero-copy { min-width: 0; }
.lead { font-size: clamp(1rem, 1.65vw, 1.35rem); max-width: 37ch; }
.purchase { margin-top: 1.25rem; }
.sale-price { font-size: 1.4rem; font-weight: 700; }
.primary, .secondary, .answers button, .step-buttons button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    min-height: 46px;
    border-radius: .45rem;
    padding: .65rem .95rem;
    border: 1px solid var(--line);
    font-weight: 700;
}
.primary { background: var(--accent); color: var(--button-ink); border-color: transparent; }
.primary:focus-visible { outline-color: var(--ink); }
.primary span { white-space: nowrap; border-left: 1px solid currentColor; padding-left: .65rem; }
.primary:hover { filter: brightness(.92); }
.secondary, .answers button, .step-buttons button { background: var(--panel); color: var(--ink); }
.purchase-note { margin: .45rem 0 0; }
.feature { border-top: 1px solid var(--line); }
.feature p:last-child { margin-bottom: 0; }
.short-list, .feature ol { margin: 0; padding-left: 1.2rem; }
.short-list li, .feature ol li { margin: .4rem 0; }
audio { display: block; width: 100%; max-width: 100%; height: 48px; }

.studio { grid-template-columns: 1.06fr .94fr; }
.studio img { aspect-ratio: 4 / 5; max-height: 640px; object-fit: cover; object-position: 72% center; border-radius: .65rem .65rem 0 0; }
.studio-listen { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; }
.song-player { padding: 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: .6rem; }
.song-player span { display: block; color: var(--soft); font-size: .85rem; margin-bottom: .55rem; }

.record { grid-template-columns: 1fr 1fr; }
.record h1 { font-size: clamp(3.35rem, 8vw, 8rem); text-transform: uppercase; }
.record-cover { padding: 1rem; background: var(--accent); color: var(--button-ink); box-shadow: .6rem .6rem 0 #9c4436; transform: rotate(-2deg); }
.record-cover img { aspect-ratio: 5 / 3; object-fit: cover; }
.record-cover .song-player { margin-top: .75rem; color: var(--ink); border: 0; border-radius: 0; }
.record-tracklist { background: var(--panel); display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.practice { grid-template-columns: .95fr 1.05fr; }
.practice-sheet { background: white; border: 1px solid var(--line); border-top: .65rem solid var(--accent); padding: 1.25rem; }
.practice-sheet img { aspect-ratio: 2 / 1; object-fit: cover; margin-bottom: 1rem; }
.chord-samples { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.chord-samples > div { background: var(--panel); padding: .65rem; min-width: 0; }
.practice-plan { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.arrival { position: relative; min-height: 480px; isolation: isolate; }
.arrival-image { position: absolute; z-index: -1; inset: 0; height: 100%; object-fit: cover; object-position: 62% center; }
.arrival .hero-copy { background: var(--panel); max-width: 540px; border-radius: .7rem; padding: clamp(1rem, 3vw, 2.5rem); }
.arrival h1 { font-size: clamp(2.35rem, 4.5vw, 4rem); }
.travel-stops > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0; }
.travel-stops article { border-top: 3px solid var(--accent); padding-top: .8rem; }

.cafe { grid-template-columns: .95fr 1.05fr; }
.cafe h1 { font-size: clamp(2.3rem, 5vw, 4.7rem); }
.cafe-sample { border: 1px solid var(--line); border-radius: 1.2rem; overflow: hidden; background: var(--panel); box-shadow: .45rem .45rem 0 #c9a762; }
.cafe-sample img { aspect-ratio: 3 / 1; object-fit: cover; }
.cafe-exchange { padding: clamp(.8rem, 2vw, 1.5rem); }
.cafe-exchange blockquote { font-family: var(--heading); font-size: clamp(1.2rem, 2.5vw, 2rem); margin-bottom: .55rem; }
.answers, .step-buttons { display: flex; gap: .5rem; flex-wrap: wrap; margin: .75rem 0; }
.answers button { border-color: var(--accent); }
.cafe-exchange p:last-child, .reward-sequence p:last-child { margin-bottom: 0; }
.cafe-menu { background: var(--panel); }
.cafe-menu p { max-width: 60ch; }

.field { grid-template-columns: .85fr 1.15fr; }
.field h1 { font-weight: 400; }
.field figure { padding: .75rem; background: var(--panel); border: 1px solid var(--line); }
.field img { aspect-ratio: 1.25; object-fit: cover; }
.field-contents dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0; }
.field-contents dl > div { border-top: 1px solid var(--line); padding-top: .5rem; }
.field-contents dt { color: var(--accent); font: 3.4rem/1 Editorial, serif; }
.field-contents dd { margin: .4rem 0; }

.home { grid-template-columns: 1fr 1fr; }
.home h1 { font-weight: 400; }
.home img { aspect-ratio: 1 / 1; border-radius: 50% 50% .8rem .8rem; object-fit: cover; }
.home-habits { background: var(--panel); display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.reward { grid-template-columns: 1fr 1fr; }
.reward h1 { font-size: clamp(2.4rem, 5vw, 4.9rem); }
.reward-board { background: var(--panel); border-radius: 1rem; overflow: hidden; border: 1px solid var(--line); }
.reward-board img { aspect-ratio: 4 / 3; object-fit: cover; }
.reward-sequence { padding: 1rem; }
.step-buttons button[aria-pressed=true] { color: var(--button-ink); background: var(--accent); }
.reward-timing { max-width: 880px; }

.outing { grid-template-columns: 1fr; gap: 1.5rem; }
.outing img { aspect-ratio: 3 / 1; object-fit: cover; object-position: center 52%; border-radius: .65rem; }
.outing .hero-copy { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 2rem; align-items: start; }
.outing h1 { grid-row: span 2; font-size: clamp(2.35rem, 5.3vw, 5.3rem); }
.outing .purchase { margin-top: 0; }
.outing-route ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }

.offer { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2.5rem; background: var(--panel); border-top: 1px solid var(--line); align-items: start; }
.offer .purchase { margin-top: 0; }
.offer-fit { margin-bottom: 0; color: var(--soft); font-size: .9rem; }
.offer-details { grid-column: 1 / -1; }
details { padding: .65rem 0; border-top: 1px solid var(--line); }
details p { margin: .55rem 0 0; }
summary { cursor: pointer; font-weight: 700; }
.faq { width: min(100% - 2rem, 800px); margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) 0; }
.faq details { padding: 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 48px; padding: .75rem .25rem; }
.faq details p { max-width: 66ch; margin: 0; padding: 0 .25rem 1rem; color: var(--soft); }
.faq-sample { display: inline-block; margin-top: .45rem; color: var(--ink); }
.extra-prices { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.5rem; list-style: none; padding: 0; margin: .65rem 0; }
.extra-prices li { display: grid; gap: .15rem; }
.extra-prices .sale-price { font-size: 1rem; }
.extra-prices small { color: var(--soft); }
.skip { position: absolute; top: -5rem; z-index: 5; padding: .75rem; background: var(--panel); }
.skip:focus { top: .25rem; }

dialog { color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 1rem; width: min(540px, calc(100% - 1.25rem)); padding: clamp(1rem, 4vw, 1.75rem); max-height: calc(100dvh - 1.25rem); }
dialog::backdrop { background: #10141ab0; }
dialog[open] { animation: open-dialog 180ms ease-out; }
@keyframes open-dialog { from { opacity: .65; transform: translateY(5px); } }
dialog h2 { padding-right: 2.2rem; }
dialog .close { position: absolute; right: .6rem; top: .5rem; min-width: 44px; min-height: 44px; background: transparent; border: 0; color: var(--ink); font-size: 1.5rem; }
.preview-label, .small, .order-row small, .bump small { color: var(--soft); font-size: .83rem; }
.order-row { display: flex; justify-content: space-between; gap: .65rem; padding: .65rem 0; border-top: 1px solid var(--line); }
.order-row small, .bump small { display: block; }
.order-row > strong { white-space: nowrap; }
.bump { display: flex; gap: .65rem; margin: .85rem 0; padding: .8rem; background: var(--panel); border: 1px solid var(--line); border-radius: .5rem; cursor: pointer; }
.bump input { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; accent-color: var(--accent); }
dialog .secondary { margin-top: .45rem; }

@media (max-width: 680px) {
    .hero, .feature, .offer { grid-template-columns: 1fr; }
    .hero, .feature, .offer { padding: 1.25rem 1rem; }
    .hero h1 { margin-bottom: .35em; }
    .record .hero-copy, .home .hero-copy, .outing .hero-copy { grid-row: 1; }
    .record-cover { transform: none; }
    .studio img { aspect-ratio: 3 / 2; }
    .home figure { max-width: 360px; }
    .arrival { min-height: 0; gap: 0; padding: 0; }
    .arrival-image { position: relative; z-index: auto; height: auto; aspect-ratio: 3 / 1; grid-row: 2; }
    .arrival .hero-copy { border-radius: 0; }
    .travel-stops > div, .outing-route ol { grid-template-columns: 1fr; gap: .65rem; }
    .field-contents dl { gap: .65rem; }
    .field-contents dd { font-size: .88rem; }
    .outing .hero-copy { display: block; }
    .outing img { aspect-ratio: 2 / 1; }
    .chord-samples { grid-template-columns: 1fr; }
    .extra-prices { grid-template-columns: 1fr; }
    .buy { min-width: min(100%, 14rem); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
}

.checkout-extras{border:0;padding:0;margin:1.15rem 0 .65rem;min-width:0}
.checkout-extras legend{font-weight:700;padding:0 0 .35rem}
.checkout-extras .bump{margin:.45rem 0}
#checkout-status{font-size:.88rem;margin:.55rem 0 0}
#checkout-email {
    display: block;
    width: 100%;
    margin: .35rem 0 .45rem;
    border: 1px solid var(--line);
    border-radius: .55rem;
    padding: .7rem .8rem;
    color: inherit;
    background: transparent;
    font: inherit;
}
.coupon-row[hidden] { display: none; }
footer { flex-wrap: wrap; }
#next:disabled{cursor:wait;opacity:.75}
