/* Layout: a single-campus school site — parchment page, deep-teal bands for nav-adjacent emphasis and footer,
   the ring mark and layered "sound wave" bands carried from the brand card. */
:root {
  /* Brand palette (from the Songwell brand board) */
  --deep-teal: #164E63;
  --sky-blue: #48A3B6;
  --ochre: #E2A72E;
  --parchment: #FAF3E3;
  --coral: #D96C51;
  --sage: #91B59C;
  --ink: #183238;
  --white: #FFFFFF;
  /* Logo artwork: the ring mark as drawn on the board */
  --mark: #1B95AE;

  /* Derived neutrals (tints of the palette, not new hues) */
  --paper: #FDF9EF;
  --line: #E6DCC4;
  --muted: #4E6469;
  --teal-08: rgba(22, 78, 99, .08);

  --font-word: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Source Sans Pro", -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --h2: clamp(36px, 4vw, 54px);
  --pad-section: clamp(76px, 9vw, 124px);
  --radius: 14px;
  color-scheme: light;
}
.sw * { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .sw *, .sw *::before, .sw *::after { animation: none !important; transition: none !important; } }
body.sw { background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.sw a { color: inherit; }
.sw :focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 6px; }
.sw h1, .sw h2, .sw h3 { font-family: var(--font-display); font-weight: 500; color: var(--deep-teal); margin: 0; text-wrap: balance; letter-spacing: -.005em; }
.sw p { margin: 0; }
.sw .band { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.sw .wrap { max-width: var(--wrap); margin: 0 auto; }
.sw .eyebrow { font-size: 13.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--deep-teal); }
.sw .lede { color: var(--muted); font-size: 20px; line-height: 1.55; max-width: 52ch; }

/* ---------- Logo ---------- */
.sw .wordmark { font-family: var(--font-word); font-weight: 680; font-variation-settings: "opsz" 60; color: var(--deep-teal); letter-spacing: -.012em; line-height: 1; white-space: nowrap; display: inline-flex; align-items: baseline; text-decoration: none; }
.sw .wordmark .o { width: .54em; height: .54em; color: var(--mark); align-self: baseline; transform: translateY(.05em); margin: 0 .01em 0 .004em; flex: none; }
.sw .wordmark.rev { color: var(--parchment); }
.sw .wordmark.rev .o { color: var(--sky-blue); }
.sw .mark { color: var(--mark); display: block; }

/* ---------- Buttons ---------- */
.sw .btn { display: inline-flex; align-items: center; gap: .5em; font: 600 16px/1 var(--font-body); padding: 15px 26px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.sw .btn:hover { transform: translateY(-1px); }
.sw .btn-gold { background: var(--ochre); color: var(--white); text-shadow: 0 1px 0 rgba(120, 80, 0, .25); }
.sw .btn-gold:hover { background: #D69A20; }
.sw .btn-ghost { border-color: var(--deep-teal); color: var(--deep-teal); background: transparent; }
.sw .btn-ghost:hover { background: var(--teal-08); }
.sw .btn-sm { padding: 10px 18px; font-size: 15px; }

/* ---------- Nav ---------- */
.sw .nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: rgba(253, 249, 239, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.sw .nav .wrap { display: flex; align-items: center; gap: 28px; padding-block: 16px; }
.sw .nav .wordmark { font-size: 34px; }
.sw .nav nav { margin-left: auto; }
.sw .nav ul { display: flex; gap: 40px; list-style: none; margin: 0 16px 0 0; padding: 0; font-size: 15.5px; font-weight: 500; }
.sw .nav ul a { text-decoration: none; color: var(--ink); }
.sw .nav ul a:hover { color: var(--deep-teal); text-decoration: underline; text-decoration-color: var(--ochre); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.sw .nav .login { font-size: 15.5px; font-weight: 600; color: var(--deep-teal); text-decoration: none; }
.sw .mnav { display: none; position: relative; }
.sw .mnav summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; display: grid; place-content: center; gap: 5px; border: 1.5px solid var(--line); }
.sw .mnav summary::-webkit-details-marker { display: none; }
.sw .mnav summary span { display: block; width: 18px; height: 2px; background: var(--deep-teal); border-radius: 2px; }
.sw .mnav ul { display: grid !important; position: absolute; right: 0; top: 54px; margin: 0 !important; padding: 10px !important; gap: 2px !important; min-width: 220px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 48px -24px rgba(22, 78, 99, .45); }
.sw .mnav ul a { display: block; padding: 12px 14px; border-radius: 8px; font-size: 17px; }
.sw .mnav ul a:hover { background: var(--parchment); text-decoration: none; }
@media (max-width: 760px) { .sw .nav nav { display: none; } .sw .nav .btn-sm { margin-left: auto; } .sw .mnav { display: block; } .sw .nav .wrap { gap: 12px; } }
@media (max-width: 420px) { .sw .nav .wordmark { font-size: 28px; } }

/* ---------- Hero ---------- */
.sw .hero { position: relative; overflow: hidden; background: var(--parchment); }
.sw .hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 72%; margin: 0; }
.sw .hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 100% 35%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 32%); mask-image: linear-gradient(to right, transparent 0, #000 32%); }
.sw .hero .wrap { position: relative; z-index: 1; min-height: clamp(460px, 42vw, 580px); display: flex; align-items: center; padding-block: 64px 130px; }
.sw .hero-copy { display: grid; gap: 22px; max-width: 560px; min-width: 0; }
.sw .hero h1 { font-family: var(--font-word); font-weight: 450; font-variation-settings: "opsz" 60; font-size: clamp(44px, 5.4vw, 70px); line-height: 1.1; letter-spacing: -.015em; }
.sw .hero-copy .sub { font-size: 20px; color: var(--deep-teal); }
.sw .hero-copy .btn { justify-self: start; margin-top: 12px; font-size: 17px; padding: 17px 30px; }
.sw .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.sw .hero-rings { position: absolute; left: 0; bottom: 0; width: clamp(150px, 17vw, 220px); height: auto; color: var(--sky-blue); opacity: .8; z-index: 2; pointer-events: none; }
@media (max-width: 820px) {
  .sw .hero { display: flex; flex-direction: column; }
  .sw .hero .wrap { min-height: 0; padding-block: 48px 8px; width: 100%; }
  .sw .hero-photo img { object-position: 72% 30%; }
  .sw .hero-photo { position: relative; width: auto; height: 320px; margin: 0 calc(-1 * max(16px, env(safe-area-inset-right, 0px))) 0 calc(-1 * max(16px, env(safe-area-inset-left, 0px))); }
  .sw .hero-photo img { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%); mask-image: linear-gradient(to bottom, transparent 0, #000 30%); }
  .sw .hero-rings { display: none; }
}

/* ---------- Sections ---------- */
.sw .section { padding-block: var(--pad-section); }
.sw .section-head { display: grid; gap: 18px; margin-bottom: 56px; max-width: 760px; align-content: start; }
.sw h2, .sw .section-head h2 { font-size: var(--h2); line-height: 1.08; }
/* Split intro: headline left, supporting line right, so wide screens don't leave half the row empty */
.sw .section-head.split { max-width: none; grid-template-columns: 1.1fr .9fr; column-gap: 64px; align-items: end; }
.sw .section-head.split .eyebrow { grid-column: 1 / -1; }
.sw .section-head.split .lede { padding-bottom: 6px; }
@media (max-width: 860px) { .sw .section-head.split { grid-template-columns: 1fr; } }

/* Curriculum eras */
.sw .eras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--deep-teal); }
.sw .era { padding: 26px 24px 30px 0; display: grid; gap: 10px; align-content: start; border-right: 1px solid var(--line); padding-left: 24px; min-width: 0; }
.sw .era:first-child { padding-left: 0; }
.sw .era:last-child { border-right: 0; }
.sw .era .dates { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); }
.sw .era h3 { font-size: clamp(24px, 2.2vw, 28px); line-height: 1.15; }
.sw .era p { color: var(--muted); font-size: 16.5px; }
.sw .era .count { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--deep-teal); }
.sw .more-subjects { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 16px; color: var(--muted); }
.sw .more-subjects .chip { background: transparent; border: 1.5px dashed #D3C6A8; color: var(--deep-teal); font-weight: 600; font-size: 14px; padding: 7px 14px; }
@media (max-width: 900px) { .sw .eras { grid-template-columns: 1fr 1fr; } .sw .era:nth-child(2) { border-right: 0; } .sw .era:nth-child(3) { padding-left: 0; } .sw .era:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .sw .eras { grid-template-columns: 1fr; } .sw .era { padding-left: 0 !important; border-right: 0; } .sw .era + .era { border-top: 1px solid var(--line); } }

/* Song previews */
.sw .previews { background: var(--white); border-block: 1px solid var(--line); }
.sw .preview-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.sw .preview-grid .section-head { margin-bottom: 0; position: sticky; top: 110px; }
.sw .tracks { list-style: none; margin: 0; padding: 0; display: grid; }
.sw .track { display: grid; grid-template-columns: 52px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.sw .track:first-child { border-top: 1px solid var(--line); }
.sw .track .play { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--deep-teal); background: transparent; color: var(--deep-teal); display: grid; place-items: center; cursor: pointer; transition: background-color .15s; }
.sw .track .play:hover { background: var(--teal-08); }
.sw .track .play svg { width: 18px; height: 18px; }
.sw .track.playing .play { background: var(--deep-teal); color: var(--white); }
.sw .track .meta { min-width: 0; display: grid; gap: 2px; }
.sw .track .title { font-family: var(--font-display); font-size: 23px; color: var(--deep-teal); line-height: 1.2; }
.sw .track .where { font-size: 15px; color: var(--muted); }
.sw .track .len { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sw .track .prog { grid-column: 2 / 4; height: 4px; background: var(--parchment); border-radius: 4px; overflow: hidden; display: none; }
.sw .track.playing .prog { display: block; }
.sw .track .prog i { display: block; height: 100%; width: 0; background: var(--sky-blue); }
.sw .preview-foot { margin-top: 22px; font-size: 16px; color: var(--muted); }
@media (max-width: 900px) { .sw .preview-grid { grid-template-columns: 1fr; gap: 36px; } .sw .preview-grid .section-head { position: static; } }

/* How it works */
.sw .steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: step; }
.sw .step { display: grid; gap: 14px; align-content: start; min-width: 0; padding-top: 24px; border-top: 1px solid var(--line); }
.sw .step .n { font-family: var(--font-display); font-size: 60px; line-height: 1; color: var(--ochre); }
.sw .step h3 { font-size: clamp(24px, 2.2vw, 28px); }
.sw .step p { color: var(--muted); }
@media (max-width: 800px) { .sw .steps { grid-template-columns: 1fr; gap: 32px; } }

/* Promise */
.sw .promise { background: var(--deep-teal); color: var(--parchment); position: relative; overflow: hidden; }
.sw .promise h2, .sw .promise h3 { color: var(--parchment); }
.sw .promise .eyebrow { color: var(--sky-blue); }
.sw .promise .lede { color: #D3E1E4; }
.sw .promise-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(250, 243, 227, .16); border: 1px solid rgba(250, 243, 227, .16); border-radius: var(--radius); overflow: hidden; position: relative; z-index: 1; }
.sw .promise-grid > div { background: var(--deep-teal); padding: 38px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.sw .promise-grid h3 { font-size: clamp(24px, 2.2vw, 28px); }
.sw .promise-grid p { color: #D3E1E4; }
.sw .promise .bg-mark { position: absolute; right: -140px; top: -120px; width: 520px; color: var(--sky-blue); opacity: .12; }
@media (max-width: 700px) { .sw .promise-grid { grid-template-columns: 1fr; } .sw .promise-grid > div { padding: 26px; } }

/* Pricing */
.sw .pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.sw .price-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 40px; display: grid; gap: 24px; box-shadow: 0 30px 60px -36px rgba(22, 78, 99, .35); position: relative; overflow: hidden; min-width: 0; }
.sw .price-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--deep-teal) 0 40%, var(--sky-blue) 40% 70%, var(--ochre) 70%); }
.sw .tag { justify-self: start; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: #F7E3B6; padding: 6px 12px; border-radius: 999px; }
.sw .price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sw .price .amt { font-family: var(--font-display); font-size: 72px; line-height: 1; color: var(--deep-teal); font-variant-numeric: lining-nums; }
.sw .price .per { color: var(--muted); font-size: 17px; }
.sw .renew { font-size: 16px; color: var(--ink); padding: 14px 16px; background: var(--parchment); border-radius: 10px; }
.sw .renew b { color: var(--deep-teal); }
.sw .includes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sw .includes li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.sw .includes svg { width: 22px; height: 22px; color: var(--sage); margin-top: 2px; }
.sw .price-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sw .pay-methods { font-size: 15px; color: var(--muted); }
.sw .pricing-copy { display: grid; gap: 22px; min-width: 0; }
.sw .pricing-copy .faqlet { display: grid; gap: 4px; padding-top: 18px; border-top: 1px solid var(--line); }
.sw .pricing-copy .faqlet b { color: var(--deep-teal); font-weight: 600; }
.sw .pricing-copy .faqlet p { color: var(--muted); font-size: 17px; }
@media (max-width: 900px) { .sw .pricing-grid { grid-template-columns: 1fr; gap: 40px; } .sw .price-card { padding: 28px; } .sw .price .amt { font-size: 60px; } }

/* About */
.sw .about { background: var(--parchment); }
.sw .about-grid { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.sw .portrait { aspect-ratio: 4 / 5; max-width: 100%; border-radius: 22px; box-shadow: 0 30px 60px -34px rgba(22, 78, 99, .5); background: var(--deep-teal); position: relative; overflow: hidden; display: grid; place-items: center; }
.sw .portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sw .portrait figcaption { position: absolute; left: 16px; bottom: 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(250, 243, 227, .7); }
.sw .about-copy { display: grid; gap: 20px; max-width: 62ch; min-width: 0; }
.sw .about-copy p { color: var(--ink); }
.sw .about-copy .sig { font-family: var(--font-display); font-style: italic; color: var(--deep-teal); font-size: 20px; }
@media (max-width: 800px) { .sw .about-grid { grid-template-columns: 1fr; gap: 32px; } .sw .portrait { max-width: 340px; } }

/* FAQ */
.sw .faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.sw .faq .section-head { margin-bottom: 0; position: sticky; top: 110px; align-self: start; }
.sw .faq-list { display: grid; }
.sw .faq-list details { border-bottom: 1px solid var(--line); }
.sw .faq-list details:first-child { border-top: 1px solid var(--line); }
.sw .faq-list summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-family: var(--font-display); font-size: 21px; color: var(--deep-teal); }
.sw .faq-list summary::-webkit-details-marker { display: none; }
.sw .faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ochre); border-bottom: 2px solid var(--ochre); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.sw .faq-list details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.sw .faq-list details p { padding: 0 0 24px; color: var(--muted); max-width: 62ch; font-size: 17.5px; }
@media (max-width: 900px) { .sw .faq { grid-template-columns: 1fr; gap: 32px; } .sw .faq .section-head { position: static; } }

/* CTA band */
.sw .cta { background: var(--white); border-top: 1px solid var(--line); }
.sw .cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-block: clamp(56px, 7vw, 88px); }
.sw .cta h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; max-width: 20ch; }

/* Footer */
.sw .footer { background: var(--deep-teal); color: #C8D8DC; font-size: 15px; position: relative; overflow: hidden; }
.sw .footer .wrap { padding-block: 64px 40px; display: grid; gap: 48px; position: relative; z-index: 1; }
.sw .foot-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.sw .foot-brand { display: grid; gap: 14px; align-content: start; }
.sw .foot-brand .wordmark { font-size: 44px; }
.sw .foot-brand .tagline { color: var(--parchment); font-size: 17px; }
.sw .foot-brand .kicker { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(250, 243, 227, .72); }
.sw .foot-col h4 { margin: 0 0 14px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--parchment); font-weight: 600; }
.sw .foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sw .foot-col a { text-decoration: none; }
.sw .foot-col a:hover { color: var(--white); text-decoration: underline; }
.sw .foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(250, 243, 227, .16); font-size: 13.5px; }
.sw .footer .waves { height: 70px; opacity: .9; }
@media (max-width: 800px) { .sw .foot-top { grid-template-columns: 1fr 1fr; } .sw .foot-brand { grid-column: 1 / -1; } }

/* ===== Site-wide additions ===== */
body.sw { margin: 0; }
.sw img { max-width: 100%; }
.sw [hidden] { display: none !important; }
.sw a { color: inherit; }
.sw .nav .login { font-size: 15.5px; font-weight: 600; color: var(--deep-teal); text-decoration: none; white-space: nowrap; }
.sw .nav .login:hover { text-decoration: underline; text-decoration-color: var(--ochre); text-underline-offset: 6px; }
.sw .nav ul a[aria-current="page"] { color: var(--deep-teal); text-decoration: underline; text-decoration-color: var(--ochre); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.sw .nav ul { gap: 32px; }
@media (max-width: 1060px) { .sw .nav ul { gap: 22px; } }
@media (max-width: 960px) { .sw .nav nav { display: none; } .sw .nav .login { margin-left: auto; } .sw .mnav { display: block; } }
@media (max-width: 480px) { .sw .nav .login { display: none; } .sw .nav .btn-sm { margin-left: auto; } }
.sw .foot-brand .wordmark { text-decoration: none; }
.sw .text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--deep-teal); text-decoration: underline; text-decoration-color: var(--ochre); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.sw .text-link:hover { color: var(--ink); }
.sw .section-links { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.sw .faq-more { margin-top: 22px; }
.sw .fine { font-size: 15px; color: var(--muted); }
.sw .fine a, .sw .lede a, .sw .faq-list a, .sw .prose a, .sw .faqlet a { color: var(--deep-teal); font-weight: 600; }
.sw .band.alt { background: var(--white); border-block: 1px solid var(--line); }

.sw .tracks.single .track { border-top: 1px solid var(--line); }
.sw .track.playing .prog i { transition: width .25s linear; }
.sw .preview-foot .text-link { margin-left: 6px; }

/* Page hero */
.sw .page-hero { background: var(--parchment); position: relative; overflow: hidden; }
.sw .page-hero .wrap { position: relative; z-index: 1; display: grid; gap: 18px; padding-block: clamp(64px, 8vw, 112px); }
.sw .page-hero h1 { font-family: var(--font-word); font-weight: 450; font-variation-settings: "opsz" 60; font-size: clamp(42px, 5.2vw, 68px); line-height: 1.08; letter-spacing: -.015em; max-width: 18ch; }
.sw .page-hero .lede { color: var(--ink); max-width: 56ch; }
.sw .page-hero .hero-actions { margin-top: 10px; }
.sw .ph-rings { position: absolute; right: 0; bottom: 0; width: clamp(160px, 22vw, 280px); color: var(--sky-blue); opacity: .75; pointer-events: none; }
@media (max-width: 700px) { .sw .ph-rings { width: 130px; opacity: .45; } }

/* Cards */
.sw .card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sw .card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sw .card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1000px) { .sw .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sw .card-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sw .card-grid, .sw .card-grid.three, .sw .card-grid.two { grid-template-columns: 1fr; } }
.sw .card-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; align-content: start; min-width: 0; position: relative; }
.sw .band.alt .card-box { background: var(--paper); }
.sw .card-box .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--parchment); color: var(--deep-teal); display: grid; place-items: center; }
.sw .card-box .ico svg { width: 22px; height: 22px; }
.sw .card-box h3 { font-size: 23px; color: var(--deep-teal); }
.sw .card-box p { color: var(--muted); font-size: 16.5px; }
.sw .card-box.res .text-link { margin-top: 6px; font-size: 15.5px; }
.sw .badge { position: absolute; top: 24px; right: 24px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--parchment); color: var(--deep-teal); }
.sw .res-group { display: grid; gap: 22px; }
.sw .res-group + .res-group { margin-top: 64px; }
.sw .res-group h2 { font-size: clamp(28px, 2.6vw, 34px); }

/* Lists */
.sw .check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sw .check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.sw .check-list svg { width: 22px; height: 22px; color: var(--sage); margin-top: 2px; }
.sw .check-list.cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 32px; }
@media (max-width: 900px) { .sw .check-list.cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sw .check-list.cols { grid-template-columns: 1fr; } }
.sw .two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.sw .two-col > div { display: grid; gap: 18px; align-content: start; min-width: 0; }
@media (max-width: 860px) { .sw .two-col { grid-template-columns: 1fr; } }
.sw .prose-lg { display: grid; gap: 18px; font-size: 19px; max-width: 60ch; }
.sw .prose-lg.on-dark { color: #D3E1E4; }
.sw .promise .two-col { position: relative; z-index: 1; }

/* Teacher routine */
.sw .routine-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.sw .routine-wrap .section-head { margin-bottom: 0; position: sticky; top: 110px; }
@media (max-width: 860px) { .sw .routine-wrap { grid-template-columns: 1fr; } .sw .routine-wrap .section-head { position: static; } }
.sw .routine { list-style: none; margin: 0; padding: 0; counter-reset: r; display: grid; }
.sw .routine li { counter-increment: r; display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.sw .routine li:first-child { border-top: 1px solid var(--line); }
.sw .routine li::before { content: counter(r); grid-row: 1 / 3; font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--ochre); }
.sw .routine b { font-family: var(--font-display); font-weight: 500; font-size: 24px; color: var(--deep-teal); }
.sw .routine span { color: var(--muted); }
.sw .steps.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .sw .steps.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sw .steps.four { grid-template-columns: 1fr; } }

/* Song sheet (music page) */
.sw .song-sheet { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: 0 30px 60px -40px rgba(22, 78, 99, .4); }
.sw .ss-cover { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 14px; background: var(--ochre); color: var(--ink); max-width: 100%; }
.sw .ss-cover svg { position: absolute; width: 74%; height: 74%; right: -17%; top: -17%; color: var(--deep-teal); }
.sw .ss-cover span { position: absolute; left: 9%; bottom: 9%; font-family: var(--font-display); font-weight: 600; font-size: 30px; line-height: 1.02; }
.sw .ss-body { display: grid; gap: 16px; min-width: 0; align-content: start; }
.sw .ss-body h3 { font-size: clamp(30px, 3vw, 40px); color: var(--deep-teal); }
.sw .ss-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin: 0; }
.sw .ss-meta dt { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); }
.sw .ss-meta dd { margin: 4px 0 0; color: var(--ink); }
.sw .ss-lyrics { margin: 0; padding: 18px 22px; border-left: 4px solid var(--sky-blue); background: var(--parchment); border-radius: 0 12px 12px 0; font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--deep-teal); line-height: 1.5; }
.sw .ss-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sw .ss-notes p { font-size: 16px; color: var(--muted); }
.sw .ss-notes b { display: block; color: var(--deep-teal); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.sw .song-sheet + .fine { margin-top: 14px; }
@media (max-width: 860px) { .sw .song-sheet { grid-template-columns: 1fr; padding: 22px; } .sw .ss-cover { max-width: 220px; } .sw .ss-meta, .sw .ss-notes { grid-template-columns: 1fr; } }

/* Classroom page */
.sw .class-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.sw .class-grid .section-head { margin-bottom: 0; }
.sw .class-photo { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(22, 78, 99, .5); }
.sw .class-photo img { display: block; width: 100%; height: auto; }
.sw .lyric-demo-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.sw .lyric-demo-grid .section-head { margin-bottom: 0; }
.sw .lyric-demo { background: var(--deep-teal); border-radius: 22px; padding: clamp(28px, 4vw, 48px); display: grid; gap: 14px; box-shadow: 0 30px 60px -30px rgba(22, 78, 99, .6); }
.sw .lyric-demo p { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; color: rgba(250, 243, 227, .38); }
.sw .lyric-demo p.past { color: rgba(250, 243, 227, .6); }
.sw .lyric-demo p.now { color: var(--parchment); }
.sw .lyric-demo .ld-title { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--sky-blue); }
.sw .video-ph { aspect-ratio: 16 / 7; max-width: 100%; border-radius: 22px; border: 2px dashed #D3C6A8; background: var(--parchment); display: grid; place-items: center; align-content: center; gap: 18px; text-align: center; padding: 28px; }
.sw .video-ph p { max-width: 46ch; color: var(--muted); }
.sw .video-ph b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 26px; color: var(--deep-teal); margin-bottom: 6px; }
.sw .vp-play { width: 72px; height: 72px; border-radius: 50%; background: var(--deep-teal); color: var(--parchment); display: grid; place-items: center; }
.sw .vp-play svg { width: 28px; height: 28px; }
@media (max-width: 860px) { .sw .class-grid, .sw .lyric-demo-grid { grid-template-columns: 1fr; } .sw .video-ph { aspect-ratio: auto; } }

/* About */
.sw .standards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--deep-teal); }
.sw .standards > div { padding: 24px 24px 28px 0; display: grid; gap: 6px; border-bottom: 1px solid var(--line); }
.sw .standards > div:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.sw .standards b { font-family: var(--font-display); font-weight: 500; font-size: 24px; color: var(--deep-teal); }
.sw .standards p { color: var(--muted); }
@media (max-width: 760px) { .sw .standards { grid-template-columns: 1fr; } .sw .standards > div:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; } }
.sw .story h2 { font-size: var(--h2); }

/* Reviews */
.sw .draft-note { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; background: #FBEFD0; border: 1px solid #EBD39B; color: var(--ink); padding: 14px 18px; border-radius: 12px; font-size: 16px; margin-bottom: 32px; }
.sw .draft-note b { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #8A5F00; }
.sw .reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .sw .reviews { grid-template-columns: 1fr; } }
.sw .review-ph { margin: 0; padding: 30px; border: 2px dashed #D3C6A8; border-radius: var(--radius); display: grid; gap: 18px; align-content: space-between; background: var(--paper); }
.sw .review-ph blockquote { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 22px; line-height: 1.4; color: var(--muted); }
.sw .review-ph figcaption { font-weight: 600; color: var(--deep-teal); font-size: 15px; }

/* FAQ page */
.sw .faq-page { display: grid; gap: 64px; max-width: 900px; }
.sw .faq-group { display: grid; gap: 18px; }
.sw .faq-group h2 { font-size: clamp(28px, 2.6vw, 34px); }

/* Forms */
.sw .form { display: grid; gap: 16px; }
.sw .form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; color: var(--deep-teal); }
.sw .form input, .sw .form select, .sw .form textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; }
.sw .form textarea { resize: vertical; }
.sw .form input:focus, .sw .form select:focus, .sw .form textarea:focus { outline: none; border-color: var(--sky-blue); box-shadow: 0 0 0 4px rgba(72, 163, 182, .18); }
.sw .form .btn { justify-self: start; }
.sw .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .sw .row2 { grid-template-columns: 1fr; } }
.sw .preview-note { background: var(--parchment); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 15px; color: var(--ink); }
.sw .preview-note a { color: var(--deep-teal); font-weight: 600; }

/* Checkout */
.sw .checkout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .sw .checkout { grid-template-columns: 1fr; } }
.sw .order { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: grid; gap: 20px; position: sticky; top: 100px; }
@media (max-width: 900px) { .sw .order { position: static; } }
.sw .order h2 { font-size: 30px; }
.sw .order-lines { margin: 0; display: grid; gap: 0; border-block: 1px solid var(--line); }
.sw .order-lines div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; }
.sw .order-lines div + div { border-top: 1px solid var(--line); }
.sw .order-lines dt { color: var(--muted); }
.sw .order-lines dd { margin: 0; font-weight: 700; color: var(--deep-teal); font-variant-numeric: tabular-nums; text-align: right; }
.sw .renew-terms { font-size: 15px; color: var(--ink); background: var(--parchment); border-radius: 10px; padding: 14px 16px; }
.sw .renew-terms a { color: var(--deep-teal); font-weight: 600; }
.sw .paths { display: grid; gap: 24px; min-width: 0; }
.sw .path { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: grid; gap: 16px; }
.sw .path h3 { font-size: 28px; color: var(--deep-teal); }
.sw .path > p { color: var(--muted); }
.sw .path .btn { justify-self: start; }
@media (max-width: 560px) { .sw .order, .sw .path { padding: 22px; } }

/* Login */
.sw .login-band { background: var(--parchment); position: relative; overflow: hidden; min-height: 72vh; display: grid; place-items: center; padding-block: 64px; }
.sw .login-card { position: relative; z-index: 1; width: min(440px, 100%); background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 40px; display: grid; gap: 18px; box-shadow: 0 30px 60px -36px rgba(22, 78, 99, .45); }
.sw .login-card .wordmark { font-size: 38px; justify-self: start; }
.sw .login-card h1 { font-size: 32px; color: var(--deep-teal); }
.sw .login-card .btn { justify-self: stretch; justify-content: center; }
@media (max-width: 480px) { .sw .login-card { padding: 26px; } }

/* Legal */
.sw .legal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.sw .toc { position: sticky; top: 110px; display: grid; gap: 4px; }
.sw .toc a { padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; color: var(--deep-teal); }
.sw .toc a:hover { background: var(--parchment); }
.sw .prose { max-width: 70ch; display: grid; gap: 16px; }
.sw .prose h2 { font-size: clamp(28px, 2.6vw, 34px); margin-top: 28px; scroll-margin-top: 100px; }
.sw .prose ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.sw .prose li::marker { color: var(--ochre); }
@media (max-width: 800px) { .sw .legal { grid-template-columns: 1fr; } .sw .toc { position: static; display: flex; flex-wrap: wrap; } }

/* ===== Polish pass ===== */
.sw .btn-gold { color: var(--ink); text-shadow: none; }
.sw .btn-gold:hover { background: #EBB54A; }
.sw .promise .eyebrow { color: #A9D5DF; }
.sw .btn { gap: 10px; }
.sw .btn svg.pi { width: 16px; height: 16px; flex: none; }
.sw .linkish { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 600; justify-self: start; }

/* Hero listen button */
.sw .btn-listen { background: rgba(255, 255, 255, .78); border: 1.5px solid var(--line); color: var(--deep-teal); backdrop-filter: blur(6px); position: relative; overflow: hidden; }
.sw .btn-listen:hover { background: var(--white); }
.sw .btn-listen::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: var(--p, 0%); background: var(--ochre); transition: width .25s linear; }
.sw .btn-listen .eqi { display: none; gap: 2px; align-items: flex-end; height: 14px; }
.sw .btn-listen .eqi i { width: 3px; background: var(--ochre); border-radius: 1px; animation: eqb 1s ease-in-out infinite; }
.sw .btn-listen .eqi i:nth-child(2) { animation-delay: -.4s; } .sw .btn-listen .eqi i:nth-child(3) { animation-delay: -.7s; }
.sw .btn-listen.playing .eqi { display: inline-flex; }
@keyframes eqb { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.sw .hero-copy .hero-actions { margin-top: 12px; }
.sw .hero-copy .hero-actions .btn { margin-top: 0; }

/* Timeline */
.sw .tl-block { margin-top: 64px; display: grid; gap: 14px; }
.sw .tl-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.sw .tl-hint { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--deep-teal); }
.sw .tl-hint svg { width: 16px; height: 16px; color: var(--ochre); }
.sw .tl-all.playing { background: var(--deep-teal); color: var(--parchment); }
.sw .tl-scroll { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; padding: 4px 2px 10px; scrollbar-width: thin; }
.sw .tl-scroll:focus-visible { outline-offset: 4px; }
.sw .tl { position: relative; min-width: 1060px; height: 360px; }
.sw .tl-band { position: absolute; left: 0; right: 0; top: 160px; height: 10px; border-radius: 999px; overflow: hidden; }
.sw .tl-band span { position: absolute; top: 0; bottom: 0; }
.sw .b-ancient, .sw .e-ancient { --ec: var(--ochre); } .sw .b-medieval, .sw .e-medieval { --ec: var(--deep-teal); } .sw .b-early, .sw .e-early { --ec: var(--coral); } .sw .b-modern, .sw .e-modern { --ec: var(--sage); }
.sw .tl-band span { background: var(--ec); }
.sw .tl-marks { list-style: none; margin: 0; padding: 0; }
.sw .tl-m { position: absolute; left: var(--x); width: 132px; margin-left: -66px; display: flex; flex-direction: column; align-items: center; text-align: center; pointer-events: none; }
.sw .tl-dot { pointer-events: auto; }
.sw .tl-m.up { bottom: calc(360px - 165px - 19px); flex-direction: column-reverse; }
.sw .tl-m.down { top: calc(165px - 19px); }
.sw .tl-dot { width: 38px; height: 38px; border-radius: 50%; background: var(--white); border: 3px solid var(--ec); color: var(--ec); display: grid; place-items: center; cursor: pointer; transition: transform .15s, background-color .15s; flex: none; position: relative; }
.sw .tl-dot svg { width: 14px; height: 14px; margin-left: 2px; }
.sw .tl-dot:hover { transform: scale(1.12); }
.sw .tl-m.playing .tl-dot { background: var(--ec); color: var(--white); }
.sw .tl-m.e-ancient.playing .tl-dot, .sw .tl-m.e-modern.playing .tl-dot { color: var(--ink); }
.sw .tl-m.playing .tl-dot svg { margin-left: 0; }
.sw .tl-m.playing .tl-dot::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid var(--ec); opacity: .5; animation: ripple 1.6s ease-out infinite; }
@keyframes ripple { from { transform: scale(.8); opacity: .6; } to { transform: scale(1.5); opacity: 0; } }
.sw .tl-stem { width: 2px; height: 26px; background: var(--ec); opacity: .45; }
.sw .tl-txt { display: grid; gap: 2px; }
.sw .tl-txt b { font-family: var(--font-display); font-weight: 500; font-size: 15.5px; line-height: 1.2; color: var(--deep-teal); }
.sw .tl-txt small { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sw .tl-m.soon .tl-dot { border-style: dashed; cursor: default; background: var(--paper); }
.sw .tl-m.soon .tl-dot:hover { transform: none; }
.sw .tl-m.soon .tl-txt b { color: var(--muted); }
.sw .tl-legend { position: absolute; left: 0; right: 0; bottom: 0; height: 22px; }
.sw .tl-legend span { position: absolute; top: 0; padding-top: 6px; border-top: 3px solid var(--ec); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-indent: 4px; white-space: nowrap; overflow: hidden; }
.sw .l-ancient { --ec: var(--ochre); } .sw .l-medieval { --ec: var(--deep-teal); } .sw .l-early { --ec: var(--coral); } .sw .l-modern { --ec: var(--sage); }
.sw .tl-note { margin: 0; }
@media (max-width: 1100px) { .sw .tl-scroll { mask-image: linear-gradient(90deg, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); } }

/* Cover art */
.sw .track .play.has-art { border: 0; background-size: cover; background-position: center; color: var(--white); position: relative; overflow: hidden; box-shadow: 0 6px 14px -8px rgba(22, 78, 99, .6); border-radius: 12px; }
.sw .track .play.has-art::before { content: ""; position: absolute; inset: 0; background: rgba(15, 63, 81, .38); transition: background-color .15s; }
.sw .track .play.has-art:hover::before, .sw .track.playing .play.has-art::before { background: rgba(15, 63, 81, .62); }
.sw .track .play.has-art svg { position: relative; z-index: 1; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.sw .track.playing .play.has-art { background-color: transparent; }
.sw .tl-dot.has-art { width: 46px; height: 46px; background-size: cover; background-position: center; color: var(--white); overflow: hidden; }
.sw .tl-dot.has-art::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(15, 63, 81, .3); }
.sw .tl-dot.has-art svg { position: relative; z-index: 1; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
.sw .tl-m.playing .tl-dot.has-art { background-color: transparent; color: var(--white); }
.sw .tl-m.playing .tl-dot.has-art::before { background: rgba(15, 63, 81, .55); }
.sw .tl-m.up:has(.has-art) { bottom: calc(360px - 165px - 23px); }
.sw .tl-m.down:has(.has-art) { top: calc(165px - 23px); }
.sw .ss-cover.has-img { background: var(--parchment); }
.sw .ss-cover.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Preview rows: progress uses the shared player */
.sw .track .prog i { transition: width .25s linear; }

/* ================= Brand design pass ================= */
:root { --ring: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%20100%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27%23000%27%20stroke-linecap%3D%27round%27%3E%3Cpath%20d%3D%27M72.79%2013.53A43%2043%200%201%201%2060.40%208.28%27%20stroke-width%3D%277%27/%3E%3Ccircle%20cx%3D%2750%27%20cy%3D%2750%27%20r%3D%2732.7%27%20stroke-width%3D%277%27/%3E%3Cpath%20d%3D%27M59.56%2030.41A21.8%2021.8%200%201%201%2051.52%2028.25%27%20stroke-width%3D%276.5%27/%3E%3Cpath%20d%3D%27M37.40%2050.00A12.6%2012.6%200%201%201%2039.31%2056.68%27%20stroke-width%3D%276%27/%3E%3C/g%3E%3C/svg%3E"); --wave-h: clamp(56px, 7vw, 96px); }

/* Italic accent words: one per headline, never colored */
.sw h1 em, .sw h2 em { font-style: italic; }
.sw .hero h1 em { font-style: italic; font-weight: 450; background-image: linear-gradient(var(--ochre), var(--ochre)); background-repeat: no-repeat; background-size: 100% .09em; background-position: 0 92%; padding-bottom: .02em; }

/* Section label: the ripple mark replaces generic eyebrow styling */
.sw .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .16em; color: var(--deep-teal); }
.sw .eyebrow::before { content: ""; width: 18px; height: 18px; flex: none; background: var(--sky-blue); -webkit-mask: var(--ring) center / contain no-repeat; mask: var(--ring) center / contain no-repeat; }
.sw .promise .eyebrow, .sw .on-dark .eyebrow { color: #A9D5DF; }
.sw .section-head.center { text-align: center; justify-items: center; margin-inline: auto; max-width: 820px; }
.sw .section-head.center .lede { margin-inline: auto; }
.sw .more-subjects.center { justify-content: center; }

/* Hero -> waves -> teal value strip (from the brand card) */
.sw .hero .wrap { padding-block: 64px calc(var(--wave-h) + 70px); }
.sw .wave-band { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: var(--wave-h); display: block; z-index: 3; pointer-events: none; }
.sw .hero-rings { bottom: calc(var(--wave-h) - 20px); }
.sw .value-strip { background: var(--deep-teal); color: var(--parchment); padding-block: 22px 34px; }
.sw .values { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 32px; }
.sw .values li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; min-width: 0; }
.sw .values b { display: block; font-weight: 600; font-size: 16.5px; color: var(--parchment); }
.sw .values small { display: block; font-size: 14px; color: #A9C6CD; }
.sw .v-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(250, 243, 227, .08); }
.sw .v-ico svg { width: 26px; height: 26px; color: var(--ec); }
.sw .e-medieval .v-ico svg, .sw .v-ico.e-medieval svg { color: #7FC3D3; }
@media (max-width: 1000px) { .sw .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .sw .values { grid-template-columns: 1fr; } }
@media (max-width: 820px) { .sw .hero .wrap { padding-block: 44px 8px; } .sw .hero { --wave-h: 52px; } }

/* Era album covers */
.sw .albums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 8px; }
.sw .album { display: grid; gap: 14px; text-decoration: none; color: inherit; min-width: 0; }
.sw .album-cover { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 16px; background: var(--c-bg); color: var(--c-ink); box-shadow: 0 22px 40px -26px rgba(22, 78, 99, .55); transition: transform .25s ease, box-shadow .25s ease; display: block; }
.sw .album:hover .album-cover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 30px 50px -26px rgba(22, 78, 99, .6); }
.sw .album-ring { position: absolute; width: 76%; height: 76%; right: -18%; top: -18%; color: var(--c-ring); transition: transform .6s ease; }
.sw .album:hover .album-ring { transform: rotate(40deg); }
.sw .album-num { position: absolute; left: 9%; top: 9%; font-family: var(--font-display); font-size: 18px; opacity: .85; }
.sw .album-title { position: absolute; left: 9%; right: 9%; bottom: 9%; font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.02; }
.sw .album-meta { display: grid; gap: 3px; }
.sw .album-meta b { font-family: var(--font-display); font-weight: 500; font-size: 21px; color: var(--deep-teal); }
.sw .album-meta small { color: var(--muted); font-size: 15px; }
.sw .album-count { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--deep-teal); margin-top: 4px; }
.sw .c-ancient { --c-bg: var(--ochre); --c-ink: var(--ink); --c-ring: var(--deep-teal); }
.sw .c-medieval { --c-bg: var(--deep-teal); --c-ink: var(--parchment); --c-ring: var(--sky-blue); }
.sw .c-early { --c-bg: var(--coral); --c-ink: var(--white); --c-ring: var(--parchment); }
.sw .c-modern { --c-bg: var(--sage); --c-ink: var(--ink); --c-ring: var(--deep-teal); }
@media (max-width: 900px) { .sw .albums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }

/* Listen: previews in a panel that looks like the teacher app */
.sw .listen { background: var(--white); border-block: 1px solid var(--line); }
.sw .listen-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.sw .listen-grid .section-head { margin-bottom: 0; }
.sw .listen-grid .hero-actions { align-items: center; gap: 22px; margin-top: 8px; }
.sw .player-panel { position: relative; overflow: hidden; background: radial-gradient(120% 120% at 100% 0%, #1D5E76 0%, var(--deep-teal) 55%, #0F3F51 100%); border-radius: 24px; padding: 22px 26px 12px; box-shadow: 0 40px 70px -40px rgba(15, 63, 81, .75); color: var(--parchment); }
.sw .pp-ring { position: absolute; width: 360px; height: 360px; right: -120px; bottom: -150px; color: var(--sky-blue); opacity: .14; pointer-events: none; }
.sw .pp-head { position: relative; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #A9D5DF; padding-bottom: 10px; }
.sw .pp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ochre); box-shadow: 0 0 0 4px rgba(226, 167, 46, .2); }
.sw .pp-note { margin-left: auto; letter-spacing: .04em; text-transform: none; font-weight: 500; color: rgba(250, 243, 227, .55); }
.sw .tracks.on-dark { position: relative; }
.sw .tracks.on-dark .track { border-color: rgba(250, 243, 227, .12); }
.sw .tracks.on-dark .track:first-child { border-top-color: rgba(250, 243, 227, .12); }
.sw .tracks.on-dark .title { color: var(--parchment); }
.sw .tracks.on-dark .where, .sw .tracks.on-dark .len { color: rgba(250, 243, 227, .6); }
.sw .tracks.on-dark .play { border-color: rgba(250, 243, 227, .5); color: var(--parchment); }
.sw .tracks.on-dark .prog { background: rgba(250, 243, 227, .14); }
.sw .tracks.on-dark .prog i { background: var(--ochre); }
@media (max-width: 900px) { .sw .listen-grid { grid-template-columns: 1fr; } .sw .player-panel { padding: 16px 16px 6px; } }

/* Ripple-numbered steps */
.sw .ripple-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; position: relative; }
.sw .ripple-steps::before { content: ""; position: absolute; left: 40px; right: 16%; top: 38px; border-top: 2px dashed #D3C6A8; z-index: 0; }
.sw .ripple-steps li { position: relative; z-index: 1; display: grid; gap: 12px; align-content: start; }
.sw .rs-num { position: relative; width: 76px; height: 76px; display: grid; place-items: center; background: var(--paper); border-radius: 50%; }
.sw .rs-num svg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ochre); }
.sw .rs-num b { position: relative; font-family: var(--font-display); font-size: 24px; color: var(--deep-teal); font-weight: 600; }
.sw .ripple-steps h3 { font-size: clamp(23px, 2vw, 27px); color: var(--deep-teal); }
.sw .ripple-steps p { color: var(--muted); }
@media (max-width: 820px) { .sw .ripple-steps { grid-template-columns: 1fr; gap: 28px; } .sw .ripple-steps::before { left: 37px; right: auto; top: 40px; bottom: 40px; border-top: 0; border-left: 2px dashed #D3C6A8; } .sw .ripple-steps li { grid-template-columns: 76px 1fr; column-gap: 18px; } .sw .ripple-steps li > :not(.rs-num) { grid-column: 2; } .sw .rs-num { grid-row: 1 / 3; } }

/* Why: photo + era-colored qualities (replaces the second dark band) */
.sw .why { background: var(--parchment); }
.sw .why-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.sw .why-photo { margin: 0; position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 34px 60px -38px rgba(22, 78, 99, .6); }
.sw .why-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 72% 40%; }
.sw .why-photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; gap: 12px; align-items: center; background: rgba(15, 63, 81, .82); backdrop-filter: blur(6px); color: var(--parchment); border-radius: 14px; padding: 14px 16px; font-size: 15px; }
.sw .why-photo figcaption svg { width: 28px; height: 28px; flex: none; color: var(--ochre); }
.sw .why .section-head { margin-bottom: 32px; }
.sw .qualities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
.sw .qualities li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 2px; align-items: start; }
.sw .q-ico { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 50%; background: var(--white); display: grid; place-items: center; box-shadow: 0 6px 16px -10px rgba(22, 78, 99, .5); }
.sw .q-ico svg { width: 28px; height: 28px; color: var(--ec); }
.sw .qualities b { font-family: var(--font-display); font-weight: 500; font-size: 21px; color: var(--deep-teal); }
.sw .qualities p { color: var(--muted); font-size: 16.5px; }
@media (max-width: 900px) { .sw .why-grid { grid-template-columns: 1fr; } .sw .why-photo img { aspect-ratio: 16 / 10; } }
@media (max-width: 560px) { .sw .qualities { grid-template-columns: 1fr; } }
.sw .e-ancient { --ec: var(--ochre); } .sw .e-medieval { --ec: var(--deep-teal); } .sw .e-early { --ec: var(--coral); } .sw .e-modern { --ec: var(--sage); }

.sw .why-stage { margin: 0; position: relative; overflow: hidden; border-radius: 26px; padding: clamp(26px, 3.4vw, 44px); background: radial-gradient(120% 100% at 90% 0%, #22657D 0%, var(--deep-teal) 50%, #0F3F51 100%); color: var(--parchment); display: grid; gap: 24px; box-shadow: 0 40px 70px -40px rgba(15, 63, 81, .75); }
.sw .ws-ring { position: absolute; width: 420px; height: 420px; right: -150px; bottom: -170px; color: var(--sky-blue); opacity: .14; }
.sw .ws-top { position: relative; display: flex; gap: 14px; align-items: center; }
.sw .ws-top img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.sw .ws-top b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 20px; }
.sw .ws-top small { display: block; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: #A9D5DF; font-weight: 700; margin-top: 2px; }
.sw .ws-lines { position: relative; display: grid; gap: 8px; }
.sw .ws-lines p { font-family: var(--font-display); font-size: clamp(21px, 2.1vw, 29px); line-height: 1.25; color: rgba(250, 243, 227, .38); }
.sw .ws-lines p.past { color: rgba(250, 243, 227, .62); }
.sw .ws-lines p.now { color: var(--parchment); }
.sw .ws-lines p.now::before { content: ""; display: inline-block; width: .5em; height: .5em; border-radius: 50%; background: var(--ochre); margin-right: .35em; vertical-align: .12em; }
.sw .ws-bar { position: relative; height: 6px; border-radius: 6px; background: rgba(250, 243, 227, .16); overflow: hidden; }
.sw .ws-bar i { position: absolute; inset: 0 62% 0 0; background: var(--ochre); border-radius: inherit; }
.sw .why-stage figcaption { position: relative; font-size: 14.5px; color: #A9C6CD; }

/* Pricing card watermark */
.sw .price-card .price-ring { position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; color: var(--sky-blue); opacity: .13; pointer-events: none; }
.sw .price-card > :not(.price-ring) { position: relative; }

/* Portrait framed by the ripple */
.sw .portrait-ripple { margin: 0; position: relative; display: grid; place-items: center; padding: 8%; }
.sw .pr-rings { position: absolute; inset: -4%; width: 108%; height: 108%; color: var(--sky-blue); opacity: .55; }
.sw .pr-photo { position: relative; width: 74%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(22, 78, 99, .6); border: 6px solid var(--paper); }
.sw .pr-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; display: block; }
@media (min-width: 801px) { .sw .about .about-grid { grid-template-columns: minmax(280px, 460px) 1fr; } }
@media (max-width: 800px) { .sw .portrait-ripple { max-width: 360px; justify-self: center; } }

/* Closing CTA: a big ripple behind the call to action */
.sw .cta-ripple { position: relative; overflow: hidden; background: var(--paper); text-align: center; padding-block: clamp(80px, 10vw, 140px) calc(clamp(70px, 9vw, 120px) + var(--wave-h)); }
.sw .cta-ripple .wrap { position: relative; z-index: 1; display: grid; justify-items: center; gap: 18px; }
.sw .cta-ripple h2 { max-width: 18ch; }
.sw .cta-ripple .hero-actions { justify-content: center; margin-top: 10px; }
.sw .cta-ring { position: absolute; left: 50%; top: 46%; width: min(760px, 120vw); height: min(760px, 120vw); transform: translate(-50%, -50%); color: var(--sky-blue); opacity: .12; pointer-events: none; }

/* Footer: the brand waves cap every page */
.sw .wave-cap { position: relative; height: var(--wave-h); margin-top: calc(-1 * var(--wave-h)); pointer-events: none; z-index: 2; }
.sw .wave-cap svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sw .footer { position: relative; overflow: hidden; }
.sw .foot-ring { position: absolute; right: -80px; bottom: -120px; width: 420px; height: 420px; color: var(--sky-blue); opacity: .1; pointer-events: none; }
.sw .footer .wrap { position: relative; z-index: 1; }

/* Inner page heroes: the mark as a watermark, plus the strip of waves */
.sw .page-hero .ph-mark { position: absolute; right: max(-60px, -4vw); top: 50%; width: clamp(260px, 30vw, 420px); height: clamp(260px, 30vw, 420px); transform: translateY(-50%); color: var(--sky-blue); opacity: .2; pointer-events: none; }
.sw .page-hero .ph-rings { display: none; }
.sw .page-hero .wrap { padding-block: clamp(64px, 8vw, 108px) clamp(72px, 9vw, 120px); }
.sw .page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--deep-teal) 0 46%, var(--sky-blue) 46% 74%, var(--ochre) 74%); }
@media (max-width: 700px) { .sw .page-hero .ph-mark { opacity: .1; } }

/* Feature cards: ripple icons instead of plain boxes */
.sw .card-box .ico { background: transparent; position: relative; }
.sw .card-box .ico::before { content: ""; position: absolute; inset: -6px; background: var(--sky-blue); opacity: .22; -webkit-mask: var(--ring) center / contain no-repeat; mask: var(--ring) center / contain no-repeat; }

/* Inner steps get ripple numbers too */
.sw .steps .n { position: relative; width: 64px; height: 64px; display: grid; place-items: center; font-size: 26px; color: var(--deep-teal); }
.sw .steps .n::before { content: ""; position: absolute; inset: 0; background: var(--ochre); -webkit-mask: var(--ring) center / contain no-repeat; mask: var(--ring) center / contain no-repeat; }
.sw .step { border-top: 0; padding-top: 0; }

