:root {
    --ink: #F4F8FB; --ink-soft: rgba(244,248,251,.84); --ink-dim: rgba(244,248,251,.62);
    --sand: #FBF7F1; --navy: #002446; --deep: #04172D; --orange: #E56813; --orange-deep: #C4520C; --yellow: #FFC95B; --blue: #0055A7; --blue-soft: #E3EEF8;
    --glass: rgba(4,23,45,.42); --glass-line: rgba(255,255,255,.18);
    --serif: "Fraunces", Georgia, serif; --sans: Montserrat, "Segoe UI", Helvetica, Arial, sans-serif;
    color-scheme: light only;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 84px; }
  body { margin: 0; background: var(--navy); color: var(--ink); font: 17px/1.65 var(--sans); overflow-x: hidden; }
  img { display: block; max-width: 100%; }
  a { color: inherit; }
  :focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
  .skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: var(--navy); padding: 8px 14px; border-radius: 8px; }
  .skip:focus { left: 12px; }

  /* the sea behind everything */
  #sea { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
  main, footer { position: relative; z-index: 1; }

  /* top bar: light, so the full-colour logo always reads */
  .top { position: fixed; top: 0; left: 0; right: 0; z-index: 30; display: flex; align-items: center; gap: 18px; padding: 10px 22px; background: rgba(251,247,241,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--navy); box-shadow: 0 1px 0 rgba(0,36,70,.08); }
  .top .logo img { height: 46px; width: auto; }
  .top nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
  .top nav a { text-decoration: none; font-weight: 600; font-size: 14.5px; }
  .top nav a:hover { color: var(--orange-deep); }
  .shopbtn { background: var(--orange); color: #fff !important; border-radius: 999px; padding: 9px 18px; }
  .shopbtn:hover { background: var(--orange-deep); }
  .soundbtn { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid rgba(0,36,70,.18); background: #fff; color: var(--navy); border-radius: 999px; padding: 8px 14px; font: 600 13px var(--sans); cursor: pointer; }
  .bars { display: flex; align-items: flex-end; gap: 2px; height: 13px; }
  .bars i { width: 2px; background: currentColor; border-radius: 2px; height: 3px; }
  .soundbtn.playing .bars i { animation: bar 1.1s ease-in-out infinite; }
  .soundbtn.playing .bars i:nth-child(2) { animation-delay: .2s; } .soundbtn.playing .bars i:nth-child(3) { animation-delay: .45s; } .soundbtn.playing .bars i:nth-child(4) { animation-delay: .1s; }
  @keyframes bar { 0%,100% { height: 3px; } 50% { height: 13px; } }
  .menubtn { display: none; margin-left: auto; border: 1.5px solid rgba(0,36,70,.18); background: #fff; color: var(--navy); border-radius: 999px; padding: 8px 16px; font: 600 14px var(--sans); cursor: pointer; }
  @media (max-width: 860px) {
    .top { padding: 8px 16px; gap: 10px; }
    .top .logo img { height: 40px; }
    .menubtn { display: inline-flex; }
    .top nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--sand); padding: 6px 16px 14px; box-shadow: 0 10px 24px rgba(0,20,40,.18); }
    .top nav.open { display: flex; }
    .top nav a { padding: 12px 2px; border-bottom: 1px solid rgba(0,36,70,.08); font-size: 16px; }
    .top nav .shopbtn { margin-top: 10px; text-align: center; border-bottom: 0; }
    .top nav .soundbtn { margin-top: 10px; justify-content: center; }
  }

  /* sections */
  .chapter { position: relative; padding: 15vh 24px; }
  .wrap { width: 100%; max-width: 1120px; margin: 0 auto; }
  .kicker { font: 600 12.5px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--yellow); margin: 0 0 16px; display: flex; align-items: center; gap: 12px; }
  .kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
  h1, h2 { font-family: var(--serif); font-weight: 300; letter-spacing: -.015em; text-shadow: 0 2px 24px rgba(0,20,40,.25); }
  h1 { font-size: clamp(2.6rem, 7.4vw, 5.8rem); line-height: 1; margin: 0 0 24px; max-width: 13ch; }
  h2 { font-size: clamp(2.1rem, 5.4vw, 4.4rem); line-height: 1.04; margin: 0 0 22px; max-width: 15ch; }
  h1 em, h2 em { font-style: italic; color: #D7EEF6; }
  h3 { font: 500 1.35rem/1.2 var(--serif); margin: 0 0 8px; }
  .lede { font-size: clamp(1.03rem, 1.5vw, 1.2rem); color: var(--ink-soft); max-width: 38rem; margin: 0 0 1em; }
  .split { display: grid; gap: 46px; align-items: center; grid-template-columns: 1fr; }
  @media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; } }
  .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 14px 24px; font: 600 15px var(--sans); cursor: pointer; text-decoration: none; transition: transform .25s ease, background .25s ease; }
  .btn:hover { transform: translateY(-2px); }
  .btn-orange { background: var(--orange); color: #fff; } .btn-orange:hover { background: var(--orange-deep); }
  .btn-light { background: #fff; color: var(--navy); }
  .btn-ghost { background: rgba(255,255,255,.06); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--glass-line); }

  /* gentle motion, only when scripts run (content still shows without them) */
  .js .fade { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
  .js .fade.in { opacity: 1; transform: none; }
  .photo { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 26px 70px rgba(0,10,30,.4); will-change: transform; margin: 0; }
  .js .photo { clip-path: inset(100% 0 0 0 round 20px); transition: clip-path 1.3s cubic-bezier(.2,.7,.2,1); }
  .js .photo.in { clip-path: inset(0 0 0 0 round 20px); }
  .photo img { width: 100%; height: 100%; object-fit: cover; }
  .js .photo img { transform: scale(1.1); transition: transform 2.2s cubic-bezier(.2,.7,.2,1); }
  .js .photo.in img { transform: scale(1.02); }
  .photo figcaption { position: absolute; left: 12px; bottom: 12px; font: 600 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; background: rgba(0,20,40,.55); padding: 6px 10px; border-radius: 999px; }
  .tall { aspect-ratio: 4 / 5; }

  /* hero */
  #top { min-height: 100vh; display: flex; align-items: center; padding-top: 120px; }
  .stats { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 44px; }
  .stats div { min-width: 140px; }
  .stats b { display: block; font: 300 2.3rem/1 var(--serif); font-variant-numeric: tabular-nums; }
  .stats div > span { font-size: 13.5px; color: var(--ink-dim); }

  /* program and join cards */
  .grid { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: 40px; }
  @media (min-width: 680px) { .grid { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1040px) { .grid.four { grid-template-columns: repeat(4, 1fr); } }
  .card { display: flex; flex-direction: column; background: var(--glass); border: 1px solid var(--glass-line); border-radius: 20px; overflow: hidden; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); text-decoration: none; transition: transform .3s ease, border-color .3s ease; }
  a.card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.4); }
  .card .photo { border-radius: 0; box-shadow: none; aspect-ratio: 4 / 3; }
  .js .card .photo { clip-path: inset(100% 0 0 0); } .js .card .photo.in { clip-path: inset(0); }
  .card .body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
  .card p { margin: 0 0 14px; font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
  .card .more { margin-top: auto; font: 600 14px var(--sans); color: var(--yellow); }
  .card .more::after { content: " \2192"; }
  .crab-art { aspect-ratio: 4 / 3; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, rgba(255,201,91,.35), transparent 60%), linear-gradient(160deg, #0055A7, #002446); font: 300 italic 1.5rem var(--serif); color: rgba(255,255,255,.85); }
  .tag { align-self: flex-start; font: 700 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; border-radius: 999px; padding: 5px 10px; margin-bottom: 12px; background: rgba(255,255,255,.14); color: #fff; }
  .tag.soon { background: rgba(255,201,91,.2); color: #FFE2A3; }
  .join .card { background: rgba(4,23,45,.55); }
  .join .card .btns { margin-top: auto; }
  .join .card .btn { padding: 11px 18px; font-size: 14px; }
  .join .card p { font-size: 15.5px; }

  /* why the reef needs help */
  .band { position: relative; overflow: hidden; white-space: nowrap; font: 300 italic clamp(3.6rem, 13vw, 10rem)/1 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.25); margin: 10px -24px 30px; pointer-events: none; }
  .band span { display: inline-block; will-change: transform; }
  .band .hot { -webkit-text-stroke: 1px rgba(229,104,19,.8); }
  .facts { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); margin-top: 44px; }
  @media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } }
  .fact { padding: 22px; border-radius: 20px; background: linear-gradient(160deg, rgba(229,104,19,.18), rgba(4,23,45,.5)); border: 1px solid rgba(229,104,19,.35); }
  .fact b { display: block; font: 300 clamp(2.2rem, 5vw, 3.3rem)/1 var(--serif); color: #FFD9BC; font-variant-numeric: tabular-nums; margin-bottom: 10px; }
  .fact p { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
  .src { font-size: 12.5px; color: var(--ink-dim); margin-top: 16px; }

  /* fighting back */
  .bigstat { margin: 24px 0 10px; }
  .bigstat b { display: block; font: 300 clamp(3.6rem, 10vw, 7rem)/1 var(--serif); font-variant-numeric: tabular-nums; }
  .bigstat b small { font-size: .4em; }
  .bigstat span { color: var(--ink-soft); }
  .collage { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .collage .photo:nth-child(2) { margin-top: 56px; }

  /* booking */
  #book .wrap { max-width: 1180px; }
  .bookgrid { display: grid; gap: 28px; grid-template-columns: 1fr; margin-top: 34px; align-items: start; }
  @media (min-width: 980px) { .bookgrid { grid-template-columns: 1fr 1.05fr; } }
  .panel { background: rgba(4,23,45,.6); border: 1px solid var(--glass-line); border-radius: 22px; padding: 24px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .panel h3 { margin-bottom: 14px; }
  .facts-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
  .facts-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15.5px; color: var(--ink-soft); line-height: 1.5; }
  .facts-list li::before { content: ""; width: 9px; height: 9px; margin-top: 8px; border-radius: 50%; background: var(--yellow); }
  .facts-list b { color: var(--ink); font-weight: 600; }
  .facts-list.notinc li::before { background: transparent; border: 1.5px solid var(--ink-dim); width: 8px; height: 8px; }
  .note { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(255,201,91,.12); border: 1px solid rgba(255,201,91,.35); font-size: 14.5px; color: #FFE9B8; line-height: 1.5; }
  .pricecards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 4px 0 20px; }
  .pc { border: 1px solid var(--glass-line); border-radius: 16px; padding: 14px; background: rgba(255,255,255,.04); }
  .pc b { display: block; font: 300 2rem/1 var(--serif); margin: 6px 0 4px; }
  .pc span { font-size: 13px; color: var(--ink-dim); }
  .pc .len { font-weight: 600; font-size: 14px; color: var(--ink); }
  .divetable { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 6px; }
  .divetable td { padding: 10px 0; border-bottom: 1px solid var(--glass-line); vertical-align: top; color: var(--ink-soft); }
  .divetable td:last-child { text-align: right; white-space: nowrap; color: var(--ink); font-weight: 600; padding-left: 12px; }
  .divetable small { display: block; color: var(--ink-dim); font-size: 13px; }
  .step { font: 700 11.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin: 18px 0 10px; }
  .step:first-child { margin-top: 0; }
  .field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
  .field select, .field input { font: 500 16px var(--sans); color: var(--navy); background: #fff; border: 0; border-radius: 12px; height: 46px; padding: 0 14px; width: 100%; }
  .trips { display: grid; gap: 8px; max-height: 300px; overflow-y: auto; padding-right: 4px; margin-top: 10px; }
  .trip { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; width: 100%; background: rgba(255,255,255,.05); border: 1.5px solid var(--glass-line); border-radius: 14px; padding: 12px 14px; color: var(--ink); font: 500 15px var(--sans); cursor: pointer; }
  .trip:hover { border-color: rgba(255,255,255,.4); }
  .trip[aria-pressed="true"] { border-color: var(--yellow); background: rgba(255,201,91,.14); }
  .trip small { display: block; color: var(--ink-dim); font-size: 13px; }
  .trip .tp { font-weight: 700; white-space: nowrap; }
  .trip .early { display: inline-block; margin-top: 4px; font-size: 11.5px; color: #BDEAF5; }
  .qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--glass-line); font-size: 15px; }
  .qty .lbl small { display: block; color: var(--ink-dim); font-size: 12.5px; }
  .stepper { display: flex; align-items: center; gap: 4px; flex: none; }
  .stepper button { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--glass-line); background: rgba(255,255,255,.06); color: var(--ink); font: 600 18px var(--sans); cursor: pointer; }
  .stepper output { min-width: 30px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
  .summary { margin-top: 18px; border-radius: 16px; background: #fff; color: var(--navy); padding: 18px; }
  .summary .line { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; padding: 3px 0; }
  .summary .total { font-weight: 700; font-size: 17px; border-top: 1px solid rgba(0,36,70,.12); margin-top: 8px; padding-top: 10px; }
  .summary .dep { color: var(--orange-deep); font-weight: 700; }
  .summary .muted { color: #4A6178; font-size: 13px; margin-top: 8px; line-height: 1.45; }
  .summary .empty { color: #4A6178; font-size: 14.5px; }
  .bookbtns { display: grid; gap: 10px; margin-top: 16px; }
  .bookbtns .btn { width: 100%; }
  .btn-wa { background: var(--orange); color: #fff; } .btn-wa:hover { background: var(--orange-deep); }
  .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
  .tiny { font-size: 12.5px; color: var(--ink-dim); margin-top: 10px; line-height: 1.45; }
  .bookbtn-top { background: var(--blue); color: #fff !important; border-radius: 999px; padding: 9px 16px; }
  .bookbtn-top:hover { background: var(--navy); }

  .dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .dbox { text-align: left; background: rgba(255,255,255,.06); border: 1.5px solid var(--glass-line); border-radius: 14px; padding: 10px 14px; color: var(--ink); cursor: pointer; font-family: var(--sans); }
  .dbox span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); }
  .dbox b { display: block; font-size: 15.5px; font-weight: 600; margin-top: 2px; }
  .dbox[aria-pressed="true"] { border-color: var(--yellow); }
  .calendar { margin-top: 12px; background: #fff; color: var(--navy); border-radius: 16px; padding: 12px; }
  .calhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-weight: 700; }
  .calhead button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(0,36,70,.15); background: #fff; color: var(--navy); font-size: 20px; cursor: pointer; }
  .calhead button:disabled { opacity: .3; cursor: default; }
  .calgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
  .calgrid .dow { text-align: center; font-size: 11.5px; font-weight: 700; color: #4A6178; padding: 4px 0; }
  .calgrid button { height: 40px; border: 0; border-radius: 10px; background: transparent; font: 600 14.5px var(--sans); color: var(--navy); cursor: pointer; }
  .calgrid button:disabled { color: rgba(0,36,70,.25); cursor: default; font-weight: 500; }
  .calgrid button.ok { box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--blue); background: var(--blue-soft); }
  .calgrid button.ok:hover { background: var(--blue); color: #fff; }
  .calgrid button.inrange { background: rgba(255,201,91,.25); border-radius: 0; color: var(--navy); }
  .calgrid button.edge { background: var(--orange); color: #fff; box-shadow: none; }
  .rule { margin: -2px 0 12px; font-size: 14.5px; color: var(--ink-soft); }
  .rule b { color: var(--ink); }
  .calgrid button { position: relative; height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; line-height: 1; }
  .calgrid button .n { font-size: 9.5px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
  .calgrid .ns { display: none; }
  @media (max-width: 520px) { .calgrid .nl { display: none; } .calgrid .ns { display: inline; font-size: 10.5px; } }
  .calgrid button.no { color: rgba(0,36,70,.22); font-weight: 500; cursor: default; }
  .calgrid button.no:hover { background: transparent; }
  .calgrid button.out { background: var(--blue-soft); color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
  .calgrid button.out:hover, .calgrid button.out.hov { background: var(--blue); color: #fff; }
  .calgrid button.alt { color: #4A6178; box-shadow: inset 0 0 0 1.5px rgba(0,36,70,.28); background: repeating-linear-gradient(135deg, transparent 0 4px, rgba(0,36,70,.04) 4px 8px); border: 1.5px dashed transparent; }
  .calgrid button.alt:hover { box-shadow: inset 0 0 0 1.5px var(--orange); color: var(--orange-deep); }
  .calgrid button.preview { background: rgba(255,201,91,.22); border-radius: 0; color: var(--navy); }
  .calhint { margin: 12px 2px 0; font-size: 14px; color: var(--navy); line-height: 1.45; }
  .calhint .warn { color: #B92D0A; font-weight: 600; }
  .colist { display: grid; gap: 6px; margin-top: 10px; }
  .colist button { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; text-align: left; background: #F4F8FC; border: 1.5px solid rgba(0,85,167,.35); border-radius: 12px; padding: 10px 12px; font: 600 14.5px var(--sans); color: var(--navy); cursor: pointer; }
  .colist button:hover { border-color: var(--blue); background: var(--blue-soft); }
  .colist small { display: block; font-weight: 500; color: #4A6178; font-size: 12.5px; margin-top: 2px; }
  .colist .pr { font-weight: 700; white-space: nowrap; }
  .calfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 12px; font-size: 12px; color: #4A6178; }
  .legend { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
  .legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-left: 6px; }
  .legend i:first-child { margin-left: 0; }
  .lg-ok { box-shadow: inset 0 0 0 1.5px var(--blue); background: var(--blue-soft); } .lg-sel { background: var(--orange); } .lg-in { background: rgba(255,201,91,.45); }
  .linkbtn { border: 0; background: none; color: var(--orange-deep); font: 700 13px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 4px 0; }
  .calhint b { color: var(--blue); }
  .acts { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 34px; }
  @media (min-width: 640px) { .acts { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1000px) { .acts { grid-template-columns: repeat(3, 1fr); } }
  .acts .card h3 { font-size: 1.25rem; }
  .acts .card p { font-size: 15px; margin: 0; }
  .acts .when { display: block; font: 700 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 8px; }
  .acts .when.soon { color: #E3EEF8; }
  .booklead { margin-top: 70px; }
  .courses { margin-top: 70px; }
  .ladder { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 26px; counter-reset: lv; }
  @media (min-width: 760px) { .ladder { grid-template-columns: repeat(4, 1fr); } }
  .lv { position: relative; background: rgba(4,23,45,.55); border: 1px solid var(--glass-line); border-radius: 18px; padding: 18px; }
  .lv::before { counter-increment: lv; content: "Level " counter(lv); display: block; font: 700 11px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 8px; }
  .lv h3 { font-size: 1.2rem; margin-bottom: 6px; }
  .lv p { margin: 0 0 10px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
  .lv .meta { font-size: 12.5px; color: var(--ink-dim); }
  @media (min-width: 760px) { .lv:not(:last-child)::after { content: "\2192"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--yellow); font-size: 18px; z-index: 2; } }
  .specs { display: grid; gap: 10px; grid-template-columns: 1fr; margin-top: 18px; }
  @media (min-width: 640px) { .specs { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 1000px) { .specs { grid-template-columns: repeat(3, 1fr); } }
  .spec { display: flex; gap: 12px; align-items: flex-start; background: rgba(255,255,255,.05); border: 1px solid var(--glass-line); border-radius: 14px; padding: 14px; }
  .spec b { display: block; font-weight: 600; font-size: 15px; }
  .spec span { font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; }
  .spec.star { background: rgba(229,104,19,.14); border-color: rgba(229,104,19,.45); }
  .spec .ic { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,201,91,.18); color: var(--yellow); font-weight: 700; font-size: 13px; }
  .crs { margin-top: 4px; }
  .crsnote { margin: 0 0 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255,201,91,.12); border: 1px solid rgba(255,201,91,.35); font-size: 14px; color: #FFE9B8; line-height: 1.45; }
  .crshead { font: 700 12.5px var(--sans); color: var(--ink); margin: 14px 0 8px; }
  .crshead span { font-weight: 600; color: var(--yellow); margin-left: 6px; }
  .crsopts { display: grid; gap: 6px; }
  .copt { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--glass-line); background: rgba(255,255,255,.04); cursor: pointer; font-size: 14.5px; }
  .copt input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #FFC95B; }
  .copt b { font-weight: 600; }
  .copt small { display: block; color: var(--ink-dim); font-size: 12.5px; margin-top: 2px; line-height: 1.35; }
  .copt.on { border-color: var(--yellow); background: rgba(255,201,91,.12); }
  .copt.off { opacity: .45; cursor: not-allowed; }
  .copt.off small.why { color: #FFD3B8; }
  .spec em { display: block; font-style: normal; font-weight: 700; font-size: 13px; color: var(--yellow); margin-top: 6px; }
  .gcard { border: 1.5px solid var(--glass-line); border-radius: 16px; background: rgba(255,255,255,.04); margin-top: 10px; }
  .gcard[open] { border-color: rgba(255,201,91,.55); }
  .gcard > summary { list-style: none; cursor: pointer; padding: 14px 16px; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15.5px; }
  .gcard > summary::-webkit-details-marker { display: none; }
  .gcard > summary::after { content: "+"; margin-left: 8px; font-size: 20px; color: var(--yellow); }
  .gcard[open] > summary::after { content: "\2212"; }
  .gcard .gname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .gcard .gname small { display: block; font-weight: 500; font-size: 12.5px; color: var(--ink-dim); }
  .gcard .gsub { font-weight: 700; white-space: nowrap; }
  .gcard .gtodo { color: #FFD3B8; }
  .gbody { padding: 0 16px 18px; }
  .ghead { font: 700 12.5px var(--sans); color: var(--ink); margin: 16px 0 8px; }
  .ghead:first-child { margin-top: 2px; }
  .gch .ghead:first-child { margin-top: 18px; }
  .ghead span { font-weight: 600; color: var(--yellow); margin-left: 6px; }
  .gtype { display: flex; flex-wrap: wrap; gap: 8px; }
  .pill { position: relative; border: 1.5px solid var(--glass-line); border-radius: 999px; padding: 9px 15px; cursor: pointer; font-size: 14.5px; background: rgba(255,255,255,.04); }
  .pill input { position: absolute; opacity: 0; pointer-events: none; }
  .pill.on { border-color: var(--yellow); background: rgba(255,201,91,.16); font-weight: 600; }
  .pill:focus-within { outline: 2px solid var(--yellow); outline-offset: 2px; }
  .gfields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  @media (max-width: 560px) { .gfields { grid-template-columns: 1fr; } }
  .gfields .full { grid-column: 1 / -1; }
  .field .opt { font-weight: 500; color: var(--ink-dim); font-size: 12px; }
  .field.miss input, .field.miss select { box-shadow: 0 0 0 2px #FFC95B; }
  .gnote { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(255,201,91,.12); border: 1px solid rgba(255,201,91,.35); font-size: 13.5px; color: #FFE9B8; line-height: 1.45; }
  .specpick { margin-top: 6px; border: 1.5px solid var(--glass-line); border-radius: 12px; }
  .specpick > summary { cursor: pointer; padding: 10px 12px; font-size: 14.5px; font-weight: 600; }
  .specpick .crsopts { padding: 0 8px 8px; }
  .crspick { margin-top: 16px; }
  .crspick > summary { color: var(--yellow); }
  .crspick .crsin { padding: 0 10px 10px; }
  .crspick .crsin .crsopts { padding: 0; }
  .crspick .ghead:first-child { margin-top: 4px; }
  .copt .pr { font-weight: 700; color: var(--yellow); }
  .summary .who { font-weight: 700; margin-top: 10px; font-size: 14px; }
  .summary .todo { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #FFF4DD; color: #7A4A00; font-size: 13.5px; line-height: 1.45; }

  /* footer */
  footer { padding: 70px 24px 40px; text-align: center; }
  footer h2 { margin-left: auto; margin-right: auto; }
  footer .lede { margin-left: auto; margin-right: auto; }
  footer .btns { justify-content: center; }
  .footlinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 50px auto 16px; font-size: 14px; }
  .footlinks a { color: var(--ink-soft); text-decoration: none; } .footlinks a:hover { color: #fff; }
  .credit { font-size: 12.5px; color: var(--ink-dim); }

  @media (max-width: 700px) {
    .chapter { padding: 12vh 20px; }
    .band { margin: 10px -20px 24px; }
    #top { padding-top: 100px; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .rv .w > span, .js .fade, .js .photo, .js .photo img { transition: none !important; transform: none !important; opacity: 1 !important; clip-path: none !important; }
  }

  /* the current page in the menu */
  .top nav a[aria-current="page"] { color: var(--orange-deep); }
  .top nav a.bookbtn-top[aria-current="page"] { color: #fff !important; }
  /* home: short teasers that lead to the other pages */
  .teaser { display: grid; gap: 28px; align-items: center; grid-template-columns: 1fr; }
  @media (min-width: 900px) { .teaser { grid-template-columns: 1.05fr 1fr; gap: 48px; } .teaser.flip > :first-child { order: 2; } }
  .teaser .photo { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; }
  .teaser .photo img { width: 100%; height: 100%; object-fit: cover; }
  .teaser .pricecards { margin-top: 18px; }
  .chapter.slim { padding-top: 40px; }
  .pagehead { padding-top: 140px; }
