/* Site styles. Colors and fonts live in the variables below: change them here to restyle every page. */
:root {
  --bg: #0F0C09;
  --surface: #17120D;
  --card: #1E1812;
  --ink: #E9DCC3;
  --head: #F6E6C4;
  --muted: #BFAE8E;
  --brand: #E8A84A;
  --brand-dark: #C98A30;
  --on-brand: #0F0C09;
  --ember: #D9662B;
  --link: #F0B95E;
  --line: #3A2E22;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-head: ui-serif, Georgia, 'Times New Roman', serif;
  --radius: 12px;
  --max: 1100px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); color: var(--head); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.band-brand :focus-visible { outline-color: var(--head); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* Header + navigation (collapses into a Menu button on small screens) */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.logo { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--head); text-decoration: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 10px 2px; display: inline-block; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--link); text-decoration: underline; }
.site-nav a[aria-current="page"] { font-weight: 600; }
.nav-toggle { display: none; font: inherit; font-weight: 600; background: none; color: var(--head); border: 2px solid var(--head); border-radius: 8px; padding: 6px 14px; min-height: 44px; cursor: pointer; align-items: center; }
.nav-toggle::before { content: ""; display: inline-block; width: 18px; height: 14px; margin-right: 8px; background: linear-gradient(currentColor, currentColor) top / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) bottom / 100% 2px no-repeat; }
.nav-cta { order: 2; padding: 8px 18px; white-space: nowrap; }
.site-nav a.nav-cta, .site-nav a.nav-cta:hover, .site-nav a.nav-cta:focus-visible, .site-nav a.nav-cta:active, .site-nav a.nav-cta:visited { color: var(--on-brand); text-decoration: none; }
@media (max-width: 720px) {
  .js .nav-cta { display: flex; width: 100%; margin: 4px 0 12px; min-height: 52px; align-items: center; justify-content: center; }
  .site-nav ul { order: 2; }
}
@media (min-width: 721px) {
  .site-nav { display: flex; align-items: center; gap: 20px; }
  .site-nav ul { order: 1; }
}

/* Contact page cards */
.contact-cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
.contact-card h3 { margin-bottom: .75em; }
.contact-card .form { margin-top: 0; }
.reach-row { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; margin-bottom: .5em; }
.icon-mail { flex: none; color: var(--brand); }
.amber-link { color: var(--brand); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; overflow-wrap: anywhere; }
@media (min-width: 900px) { .contact-cards { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Alternating feature rows */
.split-row { display: grid; gap: 28px; align-items: center; }
.split-row p { max-width: 36em; }
.ticks { padding-left: 1.2em; margin: 0 0 1.25em; }
.ticks li { margin-bottom: .5em; }
.visual { min-height: 220px; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; padding: 24px; background: var(--card); }
.visual span { font-family: var(--font-head); color: var(--head); font-weight: 600; }
.visual-music { background: linear-gradient(150deg, #3a1d0b, #0F0C09 70%); }
.visual-music span { font-size: 1.6rem; }
.visual-board span { display: grid; place-items: center; min-width: 84px; min-height: 84px; border-radius: 16px; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: var(--on-brand); font-family: var(--font-body); font-weight: 700; }
.visual-read { background: #000; }
.visual-read span { font-size: clamp(2rem, 8vw, 3.2rem); font-family: var(--font-body); font-weight: 700; color: #fff; }
@media (min-width: 900px) {
  .split-row { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split.flip .split-row > :first-child { order: 2; }
}
@media (max-width: 720px) {
  .js .nav-toggle { display: inline-block; }
  .js .site-nav { display: none; width: 100%; padding-bottom: 12px; }
  .js .site-nav.open { display: block; }
  .js .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { padding: 12px 2px; }
}

/* Buttons: at least 44px tall so they are easy to tap */
.btn { display: inline-block; font: inherit; font-weight: 600; cursor: pointer; min-height: 44px; padding: 11px 22px; border-radius: 999px; text-decoration: none; text-align: center; border: 2px solid transparent; }
.btn-brand { background: var(--brand); color: var(--on-brand); }
.btn-brand:hover, .btn-brand:focus-visible, .btn-brand:active, .btn-brand:visited { color: var(--on-brand); }
.btn-brand:hover, .btn-brand:active { background: var(--brand-dark); }
.btn-outline:hover, .btn-outline:focus-visible, .btn-outline:active, .btn-outline:visited { color: var(--ink); }
.btn-light:hover, .btn-light:focus-visible, .btn-light:active, .btn-light:visited { color: var(--bg); }
.btn-outline-light:hover, .btn-outline-light:focus-visible, .btn-outline-light:active, .btn-outline-light:visited { color: var(--head); }
.btn-outline { border-color: var(--brand); color: var(--ink); }
.btn-light { background: var(--head); color: var(--bg); }
.btn-outline-light { border-color: var(--head); color: var(--head); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.25em; }

/* Sections */
.hero { padding: clamp(48px, 9vw, 110px) 0; background: radial-gradient(ellipse at 85% 0%, rgba(217, 102, 43, .38), transparent 60%), radial-gradient(ellipse at 0% 100%, rgba(217, 102, 43, .16), transparent 55%), var(--bg); border-bottom: 1px solid var(--line); }
.accent { font-style: italic; color: var(--brand); }
.pill { display: inline-block; margin: 0 0 1em; padding: 6px 14px; border: 1.5px solid var(--brand); border-radius: 999px; background: #2A1609; color: var(--head); font-size: .9rem; font-weight: 600; }
.hero .lead { font-size: 1.25rem; color: var(--muted); max-width: 40em; }
.hero-split { display: grid; gap: 32px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero-split { grid-template-columns: 1.1fr .9fr; } }
.band { padding: clamp(40px, 7vw, 80px) 0; }
.band-alt { background: var(--surface); }
.band-brand { background: #2A1609; color: var(--head); }
.band-brand a:not(.btn) { color: var(--head); }
.section-intro { color: var(--muted); max-width: 40em; margin-bottom: 2em; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); padding: 0; margin: 0; list-style: none; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.band-alt .card { background: var(--card); }
.card p:last-child { margin-bottom: 0; }
.steps { counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 700; margin-bottom: 10px; }
.cta { text-align: center; }
.cta .actions { justify-content: center; }
.price { font-weight: 700; color: var(--ink); }
.muted { color: var(--muted); }
.note { color: var(--muted); font-style: italic; }

/* Picture placeholders: swap for real photos (always with a good alt text) */
.ph { aspect-ratio: 4 / 3; border-radius: var(--radius); background: linear-gradient(135deg, var(--brand), var(--brand-dark)); display: grid; place-items: center; color: var(--on-brand); font-family: var(--font-head); font-size: 1.1rem; text-align: center; padding: 12px; }
.ph-round { aspect-ratio: 1; border-radius: 50%; max-width: 320px; margin: 0 auto; }
.product .ph { margin-bottom: 14px; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 12px; font-size: 1.15rem; }
.contact-list .label { display: inline-block; min-width: 4.5em; font-weight: 600; }

/* Questions people ask (open/close with a tap or the keyboard; no script needed) */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; min-height: 44px; display: flex; justify-content: space-between; align-items: center; gap: 12px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.faq details p:last-child { margin-bottom: 16px; }

/* Forms (they post to the site's form inbox) */
.form { display: grid; gap: 16px; margin-top: 1em; }
.form label { display: block; font-weight: 600; margin-bottom: 4px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 2px solid var(--muted); border-radius: 8px; padding: 10px 12px; min-height: 44px; }
.form textarea { min-height: 120px; }
.form p { margin: 0; }
.hint { color: var(--muted); font-size: .95rem; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: .95rem; }
.footer-row { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; }
.footer-row p { margin: 0; }
.footer-name { color: var(--ink); font-weight: 700; }
.footer-contact { list-style: none; margin: 0; padding: 0; }

/* Tunzio: wall-iPad look */
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin: 0 0 .75em; }
.ipad-art { margin: 0; }
.ipad-frame { width: 100%; max-width: 480px; margin: 0 auto; padding: 14px; border-radius: 28px; background: linear-gradient(160deg, #3a3026, #0b0907); box-shadow: 0 18px 40px rgba(217, 102, 43, .3), inset 0 0 0 1px #4a3e32; }
.ipad-frame img { width: 100%; height: auto; border-radius: 14px; }
.feature { display: block; }
.feature > div { max-width: 40em; }
.sound-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); padding: 0; margin: 0; list-style: none; }
.sound-grid h3 { font-size: 1.05rem; margin: 10px 0 0; }
.sound-tile { display: grid; place-items: center; min-height: 96px; border-radius: var(--radius); background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: var(--on-brand); font-weight: 700; font-size: 1.1rem; box-shadow: 0 6px 16px rgba(217, 102, 43, .25); }
@media (min-width: 900px) { .sound-grid { grid-template-columns: repeat(4, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
