@font-face {
  font-family: "Work Sans";
  src: url("fonts/WorkSans.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IM FELL English";
  src: url("fonts/IMFellEnglish.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Help";
  src: url("fonts/CormorantGaramond-Question.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+003F;
}
@property --reveal-edge { syntax: '<percentage>'; inherits: false; initial-value: 0%; }

:root {
  --paper: #e6e3da;
  --muted: #b5b4a8;
  --brass: #bfa776;
  --quote-font: "IM FELL English", Georgia, serif;
  font-family: "Work Sans", system-ui, sans-serif;
  color: var(--paper);
}
[hidden] { display: none !important; }
body { padding-block: clamp(3rem, 7vh, 5rem) max(6rem, calc(env(safe-area-inset-bottom) + 5rem)); }
main { width: min(100%, 38rem); }
.terms { text-align: center; }
button, textarea, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:focus-visible, a:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--brass); outline-offset: 4px;
}
.quotation-section { position: relative; margin: 3.5rem auto 0; max-width: 35.5rem; }
.quote-stage { position: relative; margin-inline: 3rem; touch-action: pan-y pinch-zoom; }
.quote { margin: 0; padding-bottom: .4rem; font-family: var(--quote-font); font-size: clamp(1.9375rem, 4vw, 2.5rem); font-weight: 400; line-height: 1.24; text-align: center; overflow-wrap: anywhere; text-wrap: pretty; }
.quote::before { content: '“'; display: block; color: var(--brass); opacity: .85; font-size: 4rem; line-height: .65; height: 2.9rem; }
.quote p { margin: 0; white-space: pre-wrap; }
.quote-list .quote + .quote { margin-top: 3rem; padding-top: 2.3rem; border-top: 1px solid #e2d3ac25; }
.quote-list.revealing { mask-image: linear-gradient(to bottom, #000 calc(var(--reveal-edge) - 9%), transparent var(--reveal-edge)); animation: quotes-reveal 1400ms cubic-bezier(.28,.15,.28,1) both; }
@keyframes quotes-reveal { from { --reveal-edge: 0%; } to { --reveal-edge: 112%; } }
.chevron { position: absolute; top: calc(50% - 5px); transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 65px; padding: 0; border: 0; background: transparent; color: #b7a781; font: 400 58px/1 var(--quote-font); direction: ltr; unicode-bidi: isolate; cursor: pointer; transition: color 180ms, translate 180ms; }
.chevron.previous { left: -.25rem; }
.chevron.next { right: -.25rem; }
.chevron:hover { color: #e7d4a7; }
.chevron.previous:hover { translate: -2px 0; }
.chevron.next:hover { translate: 2px 0; }
.all-link-wrap { text-align: center; margin-top: 1.4rem; }
.text-link { display: inline-block; border: 0; border-bottom: 1px solid #bfa77650; padding: 4px 0; background: none; color: #c3b699; font-size: .6875rem; letter-spacing: .025em; text-decoration: none; cursor: pointer; transition: color 180ms, border-color 180ms; }
.text-link:hover { color: #f2dfb6; border-color: var(--brass); }
.contribution-area { max-width: 26.25rem; margin: 4rem auto 0; scroll-margin-top: 2rem; }
.contribution fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.contribution label { display: block; margin-bottom: .875rem; color: #c3c1b3; font-size: .75rem; line-height: 1.7; text-align: center; }
.contribution textarea { display: block; width: 100%; min-height: 82px; resize: vertical; padding: 13px 15px; border: 0; border-radius: 4px; background: #ffffff08; color: var(--paper); font-size: 1rem; line-height: 1.6; transition: background 180ms; }
.contribution textarea:focus { background: #ffffff0b; }
.form-actions { display: flex; justify-content: center; margin-top: 17px; }
.send { position: relative; min-height: 36px; padding: 7px 18px; border: 1px solid #bfa77640; border-radius: 4px; background: #36392e; color: #d5c6a5; font-size: .75rem; letter-spacing: .015em; cursor: pointer; transition: color 180ms, background 180ms, border-color 180ms, transform 180ms; }
.send::before { content: ''; position: absolute; inset: -4px; }
.send:hover { color: #f0dfbb; background: #414435; border-color: #bfa77680; }
.send:active { transform: translateY(2px); }
.send:disabled { opacity: .5; cursor: wait; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.return-today { text-align: center; margin-top: 3.8rem; }
.return-today .text-link { font-size: .8125rem; }
.help-trigger { font-family: "Cormorant Help", Georgia, serif; font-size: 1.5rem; font-weight: 400; }
.review-status { display: flex; align-items: center; justify-content: center; gap: .875rem; margin-top: 1.5rem; color: #c3b699; font-size: .8125rem; line-height: 1.6; text-align: center; }
.review-status[data-state='pending'] { min-height: 5rem; margin: 0; }
.review-status p { margin: 0; }
.review-spinner { flex: none; width: 1.125rem; height: 1.125rem; border: 1px solid #bfa77630; border-top-color: var(--brass); border-radius: 50%; animation: review-turn 1600ms linear infinite; }
@keyframes review-turn { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
  .quotation-section { margin-top: 3rem; }
  .quote-stage { margin-inline: 1.6rem; }
  .quote::before { font-size: 3.3125rem; height: 2.375rem; }
  .chevron { font-size: 47px; }
  .chevron.previous { left: -1rem; }
  .chevron.next { right: -1rem; }
  .contribution-area { margin-top: 3.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .quote-list.revealing { mask-image: none; animation: none; }
  .chevron, .text-link, .send, .contribution textarea { transition: none; }
  .review-spinner { animation: none; }
}
