@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/fonts/PlusJakartaSans.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f7f5ef;
  --white: #fffefa;
  --ink: #292e26;
  --muted: #656c5e;
  --line: #dedfd2;
  --green: #40513b;
  --orange: #c65b35;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  color-scheme: light;
}

* { box-sizing: border-box; }
body { margin: 0; }
button { font: inherit; cursor: pointer; }
input { font: inherit; }
button:disabled { cursor: default; opacity: .48; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
[tabindex="-1"]:focus { outline: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.16; text-wrap: balance; }
h1 { font-size: clamp(34px, 4.1vw, 56px); font-weight: 600; letter-spacing: -2px; }
h2 { font-size: 27px; letter-spacing: -.8px; font-weight: 600; }
p { line-height: 1.75; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; z-index: 10; left: 16px; top: -100px; padding: 12px; background: var(--white); }
.skip-link:focus { top: 12px; }
.site-header { max-width: 1430px; margin: auto; padding: 28px 45px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 13px; letter-spacing: 1.6px; font-weight: 800; }
.brand-mark { font-size: 46px; line-height: 1; color: var(--orange); font-weight: 500; }
.brand-sub { display: block; font-size: 9px; letter-spacing: 1.3px; color: var(--muted); margin-top: 5px; font-weight: 600; }
.header-note { font-size: 12px; color: var(--muted); }
.section { max-width: 1340px; margin: auto; padding: 56px 45px 60px; }
.site-footer { max-width: 1430px; margin: 20px auto 0; padding: 24px 45px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font-size: 11px; line-height: 1.7; color: var(--muted); }
.eyebrow, .tiny-label { font-size: 11px; font-weight: 750; letter-spacing: 1.6px; }
.eyebrow { color: var(--green); }
.tiny-label { font-size: 10px; color: var(--muted); letter-spacing: 1px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.fine-print { font-size: 11px; line-height: 1.8; color: var(--muted); margin: 20px 0 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid transparent; border-radius: 8px; padding: 15px 21px; min-height: 49px; font-size: 13px; font-weight: 650; text-decoration: none; transition: background .15s; }
.primary { background: var(--green); color: var(--white); }
.primary:hover:not(:disabled) { background: #2e3e2b; }
.secondary { border-color: var(--line); color: var(--ink); background: var(--white); }
.secondary:hover:not(:disabled) { background: #eeeee5; }
.full { width: 100%; }
.text-button { border: 0; background: none; color: var(--green); font-weight: 650; font-size: 12px; padding: 10px 0; min-height: 44px; text-align: left; text-decoration: underline; text-underline-offset: 4px; }
.message { max-width: 1250px; margin: 22px auto 0; padding: 15px 20px; background: #eaf0e1; border: 1px solid #b6c8a6; border-radius: 8px; font-size: 13px; line-height: 1.7; }
.message.error { background: #fae9e2; color: #8e3c22; border-color: #e1b29e; }
.loading, .empty { padding: 45px 20px; text-align: center; color: var(--muted); line-height: 1.8; }

.intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 90px; align-items: center; padding-top: 65px; }
.intro h1 { font-size: clamp(56px, 6vw, 84px); letter-spacing: -4px; margin: 23px 0; }
.intro .lead { font-size: 16px; max-width: 400px; }
.intro-facts { display: flex; gap: 12px; margin: 24px 0; }
.intro-facts span, .pill { border: 1px solid var(--line); border-radius: 30px; padding: 9px 14px; font-size: 11px; font-weight: 650; white-space: nowrap; }
.intro-mosaic { display: flex; gap: 13px; padding: 15px 8px 0; max-width: 390px; }
.intro-mosaic img { width: 30%; aspect-ratio: 3/4; object-fit: contain; border: 5px solid var(--white); box-shadow: 0 8px 25px #292e2615; transform: rotate(-6deg); }
.intro-mosaic img:nth-child(2) { transform: rotate(3deg) translateY(10px); }
.intro-mosaic img:nth-child(3) { transform: rotate(8deg); }
.welcome-card { background: var(--white); border: 1px solid var(--line); border-radius: 15px; padding: 38px; box-shadow: 0 16px 50px #29322408; }
.welcome-card h2 { font-size: 35px; margin: 18px 0 23px; }
.welcome-card > p { font-size: 14px; }
.welcome-card .fine-print { font-size: 11px; margin-bottom: 0; }
.private-note { background: #f0f0e6; border-left: 3px solid var(--green); padding: 16px 18px; margin: 25px 0; font-size: 12px; line-height: 1.7; }
.private-note p { margin: 6px 0 0; }

.vote-section { padding-top: 30px; }
.vote-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
#progress-text { font-size: 12px; color: var(--muted); white-space: nowrap; }
progress { display: block; width: 100%; height: 4px; border: none; background: #e5e5db; color: var(--green); accent-color: var(--green); margin: 18px 0 35px; border-radius: 8px; overflow: hidden; }
progress::-webkit-progress-bar { background: #e5e5db; }
progress::-webkit-progress-value { background: var(--green); }
progress::-moz-progress-bar { background: var(--green); }
.voting-layout { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); gap: 75px; align-items: center; }
.art-wrap { background: #eeeee5; border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.art-button { display: block; width: 100%; padding: 0; background: none; border: 0; cursor: zoom-in; }
.art-button img { display: block; height: min(67vh, 760px); width: 100%; object-fit: contain; }
.art-caption { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; font-size: 9px; color: var(--muted); letter-spacing: 1px; }
.art-caption > span { letter-spacing: 0; }
.vote-panel { min-width: 0; }
.concept-number { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--orange); margin-bottom: 18px; }
.vote-panel h1 { font-size: clamp(32px, 3vw, 43px); letter-spacing: -1.5px; margin-bottom: 30px; }
.vote-question { font-size: 19px; font-weight: 650; margin-bottom: 4px; }
.vote-panel > .small { margin-bottom: 22px; }
#rating-options { display: grid; gap: 12px; border: 0; padding: 0; margin: 0; min-width: 0; }
.rating-choice { display: block; position: relative; cursor: pointer; }
.rating-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.rating-content { display: flex; align-items: center; gap: 17px; background: var(--white); border: 1px solid var(--line); padding: 17px 20px; border-radius: 9px; min-height: 86px; }
.rating-choice input:checked + .rating-content { background: #e9efdf; border: 2px solid var(--green); padding: 16px 19px; }
.rating-choice.dislike input:checked + .rating-content { background: #fbebe4; border-color: var(--orange); }
.rating-choice input:focus-visible + .rating-content { outline: 3px solid var(--orange); outline-offset: 4px; }
.rating-choice:hover .rating-content { border-color: #86917a; }
.rating-sign { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; font-size: 23px; color: var(--green); }
.dislike .rating-sign { color: #9b4528; }
.rating-copy strong { display: block; font-size: 14px; }
.rating-copy > span { display: block; font-size: 11px; color: var(--muted); margin-top: 5px; }
.vote-controls { display: flex; justify-content: space-between; gap: 15px; margin-top: 28px; }
.vote-panel > .text-button { margin-top: 17px; }

.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 32px; }
.section-heading h1 { margin: 14px 0 15px; }
.section-heading p { margin-bottom: 0; font-size: 14px; }
.review-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 23px; }
.review-card { background: var(--white); border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.review-art { display: block; width: 100%; background: #eeeee5; border: 0; padding: 17px; cursor: zoom-in; }
.review-art img { display: block; width: 100%; aspect-ratio: 3/4; object-fit: contain; }
.review-body { padding: 19px; }
.review-body h2 { font-size: 15px; line-height: 1.5; letter-spacing: -.2px; margin: 9px 0 16px; min-height: 45px; }
.review-score { font-weight: 650; font-size: 12px; padding: 9px 10px; border-radius: 6px; margin-bottom: 5px; }
.review-score.like { color: var(--green); background: #e9efdf; }
.review-score.dislike { color: #923f24; background: #fbebe4; }
.review-score.unanswered { color: var(--muted); background: #eeeee5; }
.review-body .text-button { font-size: 11px; }
.submit-panel { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 29px; margin-top: 36px; background: var(--white); border: 1px solid var(--line); border-radius: 11px; }
.submit-panel h2 { font-size: 24px; margin-bottom: 10px; }
.submit-panel p { margin-bottom: 0; }
.submit-panel .button { flex-shrink: 0; }
.review-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 15px; }

.saved-note { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 13px 20px; border: 1px solid #bdc9ae; background: #edf1e6; border-radius: 9px; }
.saved-note p { margin: 0; font-size: 13px; }
.saved-note .text-button { flex-shrink: 0; }
.result-stats { display: flex; align-items: center; gap: 50px; margin: 35px 0; }
.result-stats > div { display: flex; flex-direction: column; gap: 8px; }
.result-stats strong { font-size: 38px; font-weight: 600; letter-spacing: -1.5px; }
.result-stats span { font-size: 11px; color: var(--muted); }
.result-stats p { font-size: 11px; color: var(--muted); margin: 0 0 0 auto; }
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.podium-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); }
.podium-card:first-child { border-color: var(--green); }
.podium-art { display: block; position: relative; width: 100%; padding: 23px; background: #eeeee5; border: 0; cursor: zoom-in; }
.podium-art img { display: block; width: 100%; height: 330px; object-fit: contain; }
.rank-badge { display: grid; place-items: center; position: absolute; top: 13px; left: 13px; width: 36px; height: 36px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.podium-card:first-child .rank-badge { background: var(--green); color: var(--white); border-color: var(--green); }
.podium-copy { padding: 24px; }
.podium-copy h2 { font-size: 18px; letter-spacing: -.4px; min-height: 43px; margin: 10px 0 20px; }
.podium-score { display: flex; gap: 9px; align-items: baseline; color: var(--green); }
.podium-score strong { font-size: 37px; font-weight: 600; letter-spacing: -1px; }
.podium-score span { font-size: 12px; }
.podium-copy p { font-size: 11px; margin: 7px 0 0; }
.ranking-title { margin: 42px 0 20px; }
.ranking-title h2 { margin: 0; }
.ranking-row { display: flex; align-items: center; gap: 22px; border-top: 1px solid var(--line); padding: 17px 0; }
.ranking-position { min-width: 28px; font-size: 18px; font-weight: 600; color: var(--muted); }
.ranking-art { background: none; padding: 0; border: 0; flex-shrink: 0; cursor: zoom-in; }
.ranking-art img { width: 56px; height: 75px; object-fit: contain; display: block; }
.ranking-name { min-width: 0; }
.ranking-name h3 { font-size: 15px; line-height: 1.5; margin: 5px 0; }
.ranking-name > .small { font-size: 11px; }
.ranking-score { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; margin-left: auto; flex-shrink: 0; color: var(--green); }
.ranking-score strong { font-size: 26px; font-weight: 650; }
.ranking-score span { font-size: 11px; }

dialog { width: min(95vw, 1100px); height: 95dvh; max-height: 95dvh; padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); color: var(--ink); }
dialog[open] { display: flex; flex-direction: column; }
dialog::backdrop { background: #20251de0; }
.zoom-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-shrink: 0; margin-bottom: 15px; }
.zoom-head h2 { font-size: 18px; line-height: 1.4; margin: 0; letter-spacing: -.2px; }
.zoom-head button { flex-shrink: 0; }
#zoom-image { display: block; min-height: 0; width: 100%; flex: 1; object-fit: contain; }

.admin-login-section { display: flex; justify-content: center; padding-top: 70px; }
.admin-login-card { width: 100%; max-width: 480px; }
.admin-login-card h1 { font-size: 38px; margin: 20px 0; }
.admin-label { display: block; font-size: 13px; font-weight: 650; margin: 25px 0 10px; }
.admin-input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--white); margin-bottom: 20px; }
.admin-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.admin-ranking-image { display: block; width: 56px; height: 75px; object-fit: contain; flex-shrink: 0; }
.admin-stats { justify-content: flex-start; }

@media (max-width: 1050px) {
  .intro { gap: 40px; }
  .section, .site-header, .site-footer { padding-left: 30px; padding-right: 30px; }
  .voting-layout { gap: 35px; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); }
  .vote-panel h1 { font-size: 34px; }
  .review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .podium-art { padding: 15px; }
  .podium-art img { height: 270px; }
  .podium-copy { padding: 18px; }
  .message { margin-left: 30px; margin-right: 30px; }
}

@media (max-width: 760px) {
  .intro { grid-template-columns: 1fr; gap: 35px; max-width: 620px; padding-top: 38px; }
  .intro h1 { font-size: 68px; margin: 17px 0; }
  .intro-mosaic { display: none; }
  .intro-facts { margin-bottom: 0; }
  .welcome-card { padding: 28px; }
  .site-header { padding-top: 22px; padding-bottom: 22px; }
  .site-footer { flex-direction: column; gap: 5px; }
  .section { padding-top: 32px; }
  .vote-section { padding-top: 23px; }
  .vote-top > .eyebrow { font-size: 9px; letter-spacing: .8px; }
  #progress-text { font-size: 10px; }
  progress { margin: 14px 0 23px; }
  .voting-layout { grid-template-columns: 1fr; gap: 28px; }
  .art-wrap { padding: 15px; }
  .art-button img { height: 52vh; max-height: 650px; }
  .vote-panel h1 { font-size: 32px; margin-bottom: 18px; }
  .concept-number { margin-bottom: 13px; }
  #rating-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .rating-content { flex-direction: column; gap: 10px; text-align: center; padding: 15px 8px; min-height: 130px; }
  .rating-choice input:checked + .rating-content { padding: 14px 7px; }
  .rating-copy > span { margin-top: 7px; font-size: 10px; }
  .vote-controls { margin-top: 23px; }
  .vote-panel > .text-button { margin-top: 10px; }
  .vote-panel .fine-print { margin-top: 7px; }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .review-body { padding: 15px; }
  .review-art { padding: 12px; }
  .submit-panel { flex-direction: column; align-items: stretch; padding: 24px; }
  .section-heading { align-items: flex-start; flex-wrap: wrap; }
  .section-heading h1 { font-size: 38px; }
  .saved-note { flex-direction: column; align-items: flex-start; gap: 0; }
  .result-stats { flex-wrap: wrap; gap: 30px; }
  .result-stats p { width: 100%; margin: 0; }
  .podium { gap: 14px; }
  .podium-art img { height: 190px; }
  .podium-art { padding: 12px; }
  .podium-copy { padding: 13px; }
  .podium-copy h2 { font-size: 13px; min-height: 45px; }
  .podium-score { gap: 4px; flex-wrap: wrap; }
  .podium-score strong { font-size: 28px; }
  .podium-score span { font-size: 10px; }
  .rank-badge { width: 29px; height: 29px; font-size: 12px; top: 8px; left: 8px; }
  .ranking-title h2 { font-size: 23px; }
  .ranking-row { gap: 16px; }
  .zoom-head h2 { font-size: 14px; }
  dialog { padding: 15px; }
}

@media (max-width: 450px) {
  .section, .site-header, .site-footer { padding-left: 20px; padding-right: 20px; }
  .brand { font-size: 11px; }
  .brand-sub { font-size: 8px; }
  .brand-mark { font-size: 39px; }
  .header-note { display: none; }
  .intro h1 { font-size: 58px; letter-spacing: -3px; }
  .intro .eyebrow { font-size: 9px; }
  .intro .lead { font-size: 14px; }
  .welcome-card { padding: 24px; }
  .welcome-card h2 { font-size: 31px; }
  .welcome-card > p { font-size: 13px; }
  .message { margin-left: 20px; margin-right: 20px; }
  .review-grid { gap: 12px; }
  .review-body { padding: 12px; }
  .review-body h2 { font-size: 13px; min-height: 59px; }
  .review-score { font-size: 10px; padding: 9px; }
  .review-body .text-button { font-size: 10px; }
  .tiny-label { font-size: 9px; }
  .podium { grid-template-columns: 1fr; }
  .podium-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); }
  .podium-art img { height: 155px; }
  .podium-copy { padding: 19px; }
  .podium-copy h2 { font-size: 14px; min-height: 0; margin-bottom: 10px; }
  .ranking-row { gap: 12px; }
  .ranking-position { min-width: 19px; font-size: 14px; }
  .ranking-art img { width: 40px; height: 55px; }
  .admin-ranking-image { width: 40px; height: 55px; }
  .admin-login-card h1 { font-size: 31px; }
  .ranking-name h3 { font-size: 12px; }
  .ranking-name > .small { font-size: 10px; }
  .ranking-score strong { font-size: 22px; }
  .ranking-score span { font-size: 9px; }
  .vote-controls .button { padding-left: 15px; padding-right: 15px; font-size: 11px; }
  .zoom-head .button { padding: 10px 12px; min-height: 44px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
