@font-face { font-family: "GS Handwriting"; src: url("assets/voices-handwriting-v3.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
.voices-section { border-top: 1px solid #d7eaf5; overflow: hidden; background: radial-gradient(ellipse at 85% 86%, #e8f6fd, #fff 67%); }
.voices-heading-row { display: flex; align-items: center; gap: 28px; }
.voices-eyebrow { color: #3d91bf; font: 10px/1.5 Arial,sans-serif; letter-spacing: .22em; margin-bottom: 10px; }
.voices-heading-line { flex: 1; max-width: 150px; height: 1px; background: linear-gradient(90deg,#73bfe7,transparent); }
.voices-intro { margin-top: 10px; font: 18px/1.7 var(--serif); color: #335e77; }
.voices-sample-note { margin-top: 10px; font-size: 11px; line-height: 1.7; color: #647b89; }
.voice-reader { max-width: 495px; width: 100%; margin: 20px auto 0; padding: 0 6px; }
.voice-direction { text-align: right; font-size: 11px; color: #537e97; margin-bottom: 11px; }
.voice-direction span { margin-left: 8px; }
.voice-deck { position: relative; isolation: isolate; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.voice-deck:active { cursor: grabbing; }
.voice-deck:focus-visible { outline: 2px solid #279bd6; outline-offset: 8px; border-radius: 20px; }
.voice-deck::before, .voice-deck::after { content: ""; position: absolute; inset: 0 0 -6px; border: 1px solid #d6e7f0; border-radius: 20px; background: #f4faff; z-index: -1; transform: rotate(1deg); }
.voice-deck::before { inset: 0 2px -11px; transform: rotate(-1deg); box-shadow: 0 14px 35px #22628b16; }
.voice-stage { position: relative; height: 495px; perspective: 1800px; border-radius: 20px; overflow: hidden; background: #f3f8fb; }
.voice-card { position: absolute; inset: 0; transform-origin: 100% 50%; transform-style: preserve-3d; }
.voice-card[hidden] { display: none; }
.voice-card.is-turning { will-change: transform; }
.voice-front, .voice-back { position: absolute; inset: 0; border-radius: 20px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #fff; }
.voice-front { transform: translateZ(.2px); }
.voice-full-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; pointer-events: none; }
.voice-front::after { content: ""; pointer-events: none; position: absolute; inset: 0; opacity: var(--turn-shade,0); background: linear-gradient(90deg,#143f6540,transparent 65%); }
.voice-back { display: grid; place-items: center; transform: rotateY(180deg); color: #76abc7; font: 26px var(--serif); background: linear-gradient(105deg,#cae2ef,#f4faff 45%,#e2f1f9); }
.voice-letter { position: absolute; bottom: 14px; left: 14px; right: 14px; padding: 13px 13px 9px; background: #ffffffdf; backdrop-filter: blur(3px); border: 1px solid #ffffffc9; border-radius: 15px; color: #1e2b30; text-align: center; }
.voice-person-name { font: 600 15px/1.55 var(--sans); }
.voice-person-name span { font-size: 12px; font-weight: 400; }
.voice-comment { margin-top: 5px; font: 400 18px/1.6 "GS Handwriting", cursive; letter-spacing: 0; }
.voice-photo-note { margin-top: 6px; font: 9px/1.4 var(--sans); color: #526975; }
.voice-controls { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 25px; }
.voice-controls button { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 98px; min-height: 42px; padding: 7px 14px; border: 1px solid #a6cfe5; border-radius: 100px; background: #fff; color: #22648b; font-size: 12px; }
.voice-controls button:hover:not(:disabled) { background: #eaf6fd; }
.voice-controls button:disabled { opacity: .38; cursor: default; }
.voice-status { font: italic 17px Georgia,serif; color: #4783a4; letter-spacing: .1em; }
.voice-autoplay { display: block; margin: 12px auto 0; border: 1px solid #c4dce9; background: #ffffffb3; color: #49748d; border-radius: 100px; min-width: 90px; min-height: 32px; padding: 5px 12px; font-size: 11px; }
.voice-index { display: flex; justify-content: center; margin-top: 2px; gap: 4px; }
.voice-index button { width: 38px; height: 32px; background: none; border: 0; position: relative; }
.voice-index button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.voice-index button::after { content: ""; position: absolute; width: 6px; height: 6px; left: 16px; top: 13px; border-radius: 100px; background: #c0dae8; }
.voice-index button[aria-current=step]::after { width: 21px; left: 9px; background: #369ed6; }
@media(max-width:700px) {
 .voices-section { padding: 30px 17px 21px; }
 .voices-eyebrow { font-size: 9px; margin-bottom: 8px; }
 .voices-intro { font-size: 15px; margin-top: 8px; }
 .voices-sample-note { font-size: 10px; margin-top: 9px; }
 .voice-reader { margin-top: 16px; padding: 0 3px; }
 .voice-direction { font-size: 10px; }
 .voice-stage { height: 430px; border-radius: 17px; }
 .voice-front,.voice-back,.voice-deck::before,.voice-deck::after { border-radius: 17px; }
 .voice-letter { left: 10px; right: 10px; bottom: 11px; padding: 10px 8px 8px; border-radius: 13px; }
 .voice-person-name { font-size: 13px; }
 .voice-person-name span { font-size: 11px; }
 .voice-comment { font-size: 16px; line-height: 1.55; margin-top: 4px; }
 .voice-photo-note { font-size: 8px; margin-top: 5px; }
 .voice-controls { gap: 10px; margin-top: 24px; }
 .voice-controls button { min-width: 88px; font-size: 11px; padding: 6px 12px; }
 .voice-status { font-size: 15px; }
}
@media(max-width:360px) {
 .voices-section { padding-left: 14px; padding-right: 14px; }
 .voice-stage { height: 416px; }
 .voice-comment { font-size: 14px; }
 .voice-letter { left: 8px; right: 8px; padding-left: 5px; padding-right: 5px; }
}
@media(prefers-reduced-motion:reduce) { .voice-card { will-change: auto; } }
