:root { color-scheme: light; --ink: #183c2c; --paper: #fffaf0; --cream: #f7f0d8; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif; }
a { color: inherit; text-underline-offset: 5px; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .6; }
a:focus-visible, button:focus-visible { outline: 3px solid #bb632d; outline-offset: 6px; }
.skip-link { position: absolute; top: -100px; padding: 12px; background: var(--paper); z-index: 10; }
.skip-link:focus { top: 10px; }
header, main, footer { max-width: 1120px; margin: auto; padding-inline: 30px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 100px; font-size: 13px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; text-decoration: none; letter-spacing: -.03em; }
.intro { padding: 38px 0 32px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 0 40px; align-items: end; }
.eyebrow { grid-column: 1/-1; margin: 0 0 22px; color: #536d46; font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h1 { margin: 0; font: 500 clamp(52px, 6.5vw, 80px)/.98 Georgia, serif; letter-spacing: -.055em; }
h1 em { color: #647d3e; font-weight: 400; }
.intro > p:last-child { margin: 0 0 5px; color: #52675b; line-height: 1.7; font-size: 18px; }
.instrument { overflow: hidden; border: 1px solid #c4cfb6; border-radius: 28px; background: #eee9d7; box-shadow: 0 20px 55px #183c2c10; }
.pond-top { display: flex; justify-content: space-between; gap: 15px; padding: 18px 28px; color: #d1dcc5; background: #234b3b; font-size: 10px; letter-spacing: .15em; }
.pond-top > span:last-child { font-family: Georgia, serif; font-style: italic; letter-spacing: .02em; font-size: 13px; }
.pond { position: relative; isolation: isolate; height: 370px; overflow: hidden; background: radial-gradient(ellipse at 15% 100%, #63866a90, transparent 50%), linear-gradient(160deg, #53756a, #294f46 65%, #1b3d35); }
.pond::before, .pond::after { content: ""; position: absolute; width: 75%; height: 40%; border: 1px solid #b3cdb22a; border-radius: 50%; left: 10%; top: 32%; transform: rotate(-9deg); z-index: -1; }
.pond::after { left: 27%; top: 42%; width: 72%; }
.rain-marks { position: absolute; inset: 0; opacity: .26; background: 7% 16% / 100px 130px repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='130'%3E%3Cpath d='M20 15l-3 12m65 60l-2 8' stroke='%23dce2c7' stroke-linecap='round'/%3E%3C/svg%3E"); pointer-events: none; }
.pad { position: absolute; width: 112px; height: 88px; border: 1px solid #d8e79e8a; border-radius: 52% 47% 50% 43%; color: #183c2c; background: #b5ce79; box-shadow: inset -7px -7px 0 #3053371a, 0 12px 0 -6px #102c304f, 0 20px 25px #0a2f2526; transform: rotate(var(--turn, -8deg)); -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.pad::before { content: ""; position: absolute; top: 0; left: 46%; width: 1px; height: 42%; background: #5b743c6b; transform: rotate(25deg); }
.pad::after { content: ""; position: absolute; left: -15px; top: -13px; right: -15px; bottom: -13px; border: 1px solid transparent; border-radius: 50%; pointer-events: none; }
.pad span { display: block; transform: rotate(calc(-1 * var(--turn, -8deg))); font: 24px Georgia, serif; }
.pad small { display: block; margin-top: 3px; font: 9px "Segoe UI", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.pad:hover:not(:disabled) { filter: brightness(1.09); }
.pad:focus-visible { outline-color: #fff5ca; z-index: 2; }
.pad-0 { left: 10%; top: 48%; --turn: -12deg; background: #cfaf64; }
.pad-1 { left: 27%; top: 23%; --turn: 8deg; background: #d8c885; }
.pad-2 { left: 44%; top: 46%; --turn: -5deg; }
.pad-3 { left: 62%; top: 20%; --turn: 12deg; background: #b7c77d; }
.pad-4 { left: 79%; top: 47%; --turn: -11deg; background: #e2b27a; }
.pad.is-ringing { background: #f4e5a6; box-shadow: inset -5px -5px 0 #30533712, 0 0 0 7px #e5e9b21c; }
.pad.is-ringing::after { animation: ripple 850ms ease-out both; }
@keyframes ripple { from { transform: scale(.8); border-color: #f1eed1a0; } to { transform: scale(1.65); border-color: transparent; } }
.fallen-leaf { position: absolute; width: 33px; height: 18px; background: #c58b50; border-radius: 0 90% 0 90%; transform: rotate(-30deg); }
.fallen-leaf::after { content: ""; position: absolute; top: 9px; width: 30px; border-top: 1px solid #825e3c; transform: rotate(25deg); }
.leaf-one { top: 20%; left: 8%; }
.leaf-two { top: 72%; left: 66%; transform: rotate(35deg) scale(.65); }
.pond-reed { position: absolute; bottom: -40px; left: 18px; height: 140px; width: 30px; border-radius: 100% 0; background: #a0aa63; transform: rotate(-16deg); box-shadow: 21px 20px 0 #71845d; }
.pond-caption { position: absolute; bottom: 23px; right: 28px; color: #d9e1ce; font: italic 15px Georgia, serif; }
.pond-caption span { margin-right: 7px; }
.controls { display: flex; justify-content: center; gap: 14px; padding: 24px 24px 10px; flex-wrap: wrap; }
.controls button { min-height: 48px; padding: 12px 23px; border: 1px solid #768463; border-radius: 50px; background: transparent; color: var(--ink); font-size: 13px; font-weight: 750; }
.controls button[aria-pressed="true"] { background: #234b3b; color: var(--cream); border-color: #234b3b; }
.controls button:hover:not(:disabled) { box-shadow: 0 3px 0 #183c2c24; }
.instructions, #status { text-align: center; padding-inline: 24px; line-height: 1.6; color: #4d6152; font-size: 12px; }
.instructions { margin: 10px 0 6px; }
#status { margin: 0 0 24px; min-height: 20px; color: #314d3c; }
.footnote { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin: 22px 0 48px; color: #536658; font-size: 12px; }
footer { display: flex; gap: 12px; align-items: center; border-top: 1px solid #cfd6bd; padding-block: 24px; color: #536658; font-size: 11px; }
footer a { margin-left: auto; }
@media (max-width: 640px) {
  header, main, footer { padding-inline: 20px; }
  header { min-height: 84px; gap: 16px; }
  .brand { font-size: 16px; }
  header > a:last-child { font-size: 11px; }
  .intro { grid-template-columns: 1fr; gap: 22px; padding-top: 28px; }
  .eyebrow { margin-bottom: 0; font-size: 9px; }
  .intro > p:last-child { font-size: 16px; }
  .pond-top { padding: 17px 20px; font-size: 9px; }
  .pond-top > span:last-child { display: none; }
  .pond { height: 410px; }
  .pad { width: 82px; height: 72px; }
  .pad-0 { left: 8%; top: 19%; }
  .pad-1 { left: 57%; top: 12%; }
  .pad-2 { left: 32%; top: 42%; }
  .pad-3 { left: 5%; top: 65%; }
  .pad-4 { left: 65%; top: 64%; }
  .pond-caption { font-size: 12px; bottom: 18px; right: 20px; }
  .controls { gap: 10px; padding: 20px 14px 8px; }
  .controls button { font-size: 12px; padding-inline: 18px; }
  footer { flex-wrap: wrap; }
  footer a { margin-left: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
