:root {
    --paper: #f5f2ec;
    --paper-deep: #ebe6dd;
    --ink: #112e2c;
    --ink-soft: #49615e;
    --white: #fffdf9;
    --teal: #087d76;
    --teal-dark: #075f5a;
    --teal-pale: #dceeea;
    --line: #d8d5cd;
    --navy: #1e3448;
    --terracotta: #c7654f;
    --blue: #2c91a8;
    --gold: #bd9560;
    --shadow: 0 24px 70px rgba(31, 48, 45, .10);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 10px;
    --font-sans: "DM Sans", system-ui, sans-serif;
    --font-serif: "Newsreader", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-sans); line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.shell { width: min(1480px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 2000; top: 12px; left: 12px; padding: 10px 14px; color: white; background: var(--ink); border-radius: 6px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid rgba(17,46,44,.12); background: rgba(245,242,236,.92); backdrop-filter: blur(12px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; color: var(--teal); border: 1px solid rgba(8,125,118,.2); border-radius: 50%; background: var(--white); }
.brand-mark svg { width: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.brand strong { display: block; font-size: 15px; letter-spacing: -.01em; }
.brand small { display: block; margin-top: 1px; color: var(--ink-soft); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.review-meta { display: flex; align-items: center; gap: 0; color: var(--ink-soft); font-size: 12px; }
.review-meta span { display: inline-flex; align-items: center; gap: 7px; padding: 0 15px; border-right: 1px solid var(--line); }
.review-meta span:last-child { padding-right: 0; border: 0; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #41a86d; box-shadow: 0 0 0 4px rgba(65,168,109,.12); }

.hero { position: relative; overflow: hidden; padding: 92px 0 100px; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; width: 560px; height: 560px; right: -150px; top: -300px; border: 1px solid rgba(8,125,118,.14); border-radius: 50%; box-shadow: 0 0 0 80px rgba(8,125,118,.035), 0 0 0 160px rgba(8,125,118,.025); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 900px) 320px; align-items: end; justify-content: space-between; gap: 80px; }
.eyebrow { margin: 0 0 18px; color: var(--teal); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; }
.hero h1, .section-intro h2, .poll-heading-row h2, .direction-guide h2 { margin: 0; font-family: var(--font-serif); font-weight: 500; letter-spacing: -.035em; }
.hero h1 { max-width: 850px; font-size: clamp(54px, 6.2vw, 94px); line-height: .98; }
.hero-intro { max-width: 700px; margin: 28px 0 32px; color: var(--ink-soft); font-size: 18px; line-height: 1.75; }
.primary-action { display: inline-flex; align-items: center; gap: 26px; padding: 14px 18px 14px 22px; color: white; background: var(--ink); border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 700; }
.primary-action span { width: 30px; height: 30px; display: grid; place-items: center; color: var(--ink); background: white; border-radius: 50%; transition: transform .2s ease; }
.primary-action:hover span { transform: translateY(2px); }
.hero-note { position: relative; padding: 22px 0 0 58px; border-top: 1px solid rgba(17,46,44,.25); color: var(--ink-soft); font-family: var(--font-serif); font-size: 19px; line-height: 1.55; }
.hero-note p { margin: 0; }
.note-number { position: absolute; top: 24px; left: 0; color: var(--teal); font: 700 11px var(--font-sans); letter-spacing: .12em; }

.review-workspace { padding-top: 90px; padding-bottom: 110px; }
.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 42px; }
.section-intro h2, .poll-heading-row h2, .direction-guide h2 { font-size: clamp(38px, 4vw, 58px); line-height: 1.02; }
.section-intro > p, .poll-heading-row > p { max-width: 500px; margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.section-intro .eyebrow { margin-bottom: 12px; }

.controls-panel { display: flex; align-items: end; gap: 34px; padding: 18px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 12px 30px rgba(31,48,45,.05); }
.control-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.control-group legend, .control-group > span { display: block; margin-bottom: 7px; color: var(--ink-soft); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.segmented-control { display: flex; gap: 3px; padding: 3px; background: var(--paper); border-radius: 9px; }
.segmented-btn { min-height: 38px; padding: 7px 14px; color: var(--ink-soft); background: transparent; border: 0; border-radius: 7px; cursor: pointer; font-size: 12px; font-weight: 600; transition: .2s ease; }
.segmented-btn:hover { color: var(--ink); }
.segmented-btn.active { color: white; background: var(--ink); box-shadow: 0 4px 10px rgba(17,46,44,.14); }
.theme-select-group { margin-left: auto; min-width: 210px; }
.custom-select { width: 100%; min-height: 44px; padding: 0 38px 0 13px; color: var(--ink); background: var(--paper); border: 0; border-radius: 9px; cursor: pointer; outline: 0; }
.custom-select:focus-visible { box-shadow: 0 0 0 3px rgba(8,125,118,.2); }
.hidden { display: none !important; }

.page-tabs-nav { margin-top: 24px; overflow-x: auto; scrollbar-width: thin; }
.tabs-wrapper { min-width: max-content; display: flex; gap: 0; border-bottom: 1px solid var(--line); }
.page-tab { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 17px 22px; color: var(--ink-soft); background: transparent; border: 0; cursor: pointer; font-size: 13px; font-weight: 600; }
.page-tab span { color: #9ba7a4; font-size: 9px; }
.page-tab::after { content: ""; position: absolute; height: 2px; left: 16px; right: 16px; bottom: -1px; background: var(--teal); transform: scaleX(0); transition: transform .2s; }
.page-tab:hover, .page-tab.active { color: var(--teal); }
.page-tab.active::after { transform: scaleX(1); }
.page-info-banner { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 34px 0 20px; }
.page-kicker { margin: 0 0 3px; color: var(--ink-soft); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.page-info-banner h3 { margin: 0; font: 500 34px var(--font-serif); }
.page-info-banner > p { max-width: 620px; margin: 0; color: var(--ink-soft); font-size: 13px; text-align: right; }

.matrix-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.single-theme-grid { display: grid; }
.theme-card { min-width: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 14px 44px rgba(31,48,45,.07); }
.theme-card-header { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 18px; border-bottom: 1px solid var(--line); }
.theme-identity { display: flex; align-items: center; gap: 11px; min-width: 0; }
.theme-letter { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--blue); font-size: 11px; font-weight: 700; }
.theme-card[data-theme="harley-navy"] .theme-letter { background: var(--navy); }
.theme-card[data-theme="warm-editorial"] .theme-letter { background: var(--terracotta); }
.theme-card-header h4 { margin: 0; font-size: 14px; }
.theme-card-header small { display: block; margin-top: 2px; color: var(--ink-soft); font-size: 10px; }
.live-concept-link { flex: 0 0 auto; color: var(--ink-soft); text-decoration: none; font-size: 11px; font-weight: 700; }
.live-concept-link:hover { color: var(--teal); }
.theme-card-body { display: flex; flex-direction: column; gap: 20px; padding: 15px; }
.device-wrapper { display: flex; flex-direction: column; gap: 8px; }
.device-label { display: flex; justify-content: space-between; color: #738683; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.desktop-frame { overflow: hidden; border: 1px solid #c6cecc; border-radius: 9px; background: #e8edec; box-shadow: 0 10px 24px rgba(27,50,46,.10); }
.desktop-bar { height: 27px; display: flex; align-items: center; gap: 8px; padding: 0 9px; background: #263d3b; }
.browser-dots { display: flex; gap: 4px; }
.browser-dot { width: 5px; height: 5px; border-radius: 50%; background: #78908d; }
.browser-dot:first-child { background: #d67969; }
.url-bar { min-width: 0; flex: 1; overflow: hidden; padding: 3px 8px; color: #b6c4c2; background: rgba(255,255,255,.08); border-radius: 3px; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.viewport-container { position: relative; overflow: hidden; background: #e6ecea; cursor: zoom-in; }
.desktop-frame .viewport-container { aspect-ratio: 16 / 10; }
.viewport-image { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .45s ease; }
.viewport-container:hover .viewport-image { transform: scale(1.018); }
.zoom-overlay { position: absolute; inset: 0; display: grid; place-items: center; color: white; background: rgba(17,46,44,.58); opacity: 0; transition: opacity .2s; font-size: 11px; font-weight: 700; }
.viewport-container:hover .zoom-overlay, .viewport-container:focus-visible .zoom-overlay { opacity: 1; }
.mobile-frame { position: relative; width: min(238px, 78%); margin: 0 auto; padding: 8px; border: 2px solid #243c3a; border-radius: 26px; background: #243c3a; box-shadow: 0 14px 30px rgba(17,46,44,.18); }
.mobile-notch { position: absolute; z-index: 2; width: 68px; height: 13px; top: 6px; left: 50%; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #243c3a; }
.mobile-frame .viewport-container { aspect-ratio: 390 / 844; border-radius: 18px; }
.single-theme-grid .theme-card-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .36fr); align-items: start; }
.single-theme-grid .theme-card-header { padding-inline: 26px; }
.single-theme-grid .theme-card-body { padding: 24px; }

.direction-guide { padding: 100px 0 110px; color: #f6f3ed; background: var(--ink); }
.direction-guide .eyebrow { color: #86c7c0; }
.section-intro.light > p { color: #b6c5c2; }
.overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.overview-card { position: relative; min-height: 410px; padding: 36px; background: var(--ink); }
.overview-card::before { content: ""; position: absolute; height: 3px; top: -1px; left: -1px; right: -1px; background: var(--blue); }
.overview-card.harley::before { background: var(--gold); }
.overview-card.warm::before { background: var(--terracotta); }
.direction-index { position: absolute; top: 30px; right: 34px; color: #77908d; font: 500 52px var(--font-serif); }
.card-kicker { margin: 40px 0 8px; color: #8fb3af; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; }
.overview-card h3 { margin: 0 0 18px; font: 500 34px var(--font-serif); }
.overview-card > p:not(.card-kicker) { min-height: 90px; margin: 0; color: #b6c5c2; font-size: 14px; line-height: 1.7; }
.overview-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0; padding: 20px 0; border-block: 1px solid rgba(255,255,255,.12); }
.overview-card dl div { display: grid; gap: 3px; }
.overview-card dt { color: #819895; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.overview-card dd { margin: 0; font-size: 13px; }
.overview-card a { display: inline-flex; gap: 10px; color: white; text-decoration: none; font-size: 12px; font-weight: 700; }
.overview-card a:hover { color: #9ed1cb; }

.poll-section { padding-top: 110px; padding-bottom: 120px; }
.poll-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 48px; }
.poll-heading-row .eyebrow { margin-bottom: 12px; }
.poll-container { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.poll-form { display: flex; flex-direction: column; gap: 25px; padding: 42px; }
.form-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-group > label, .form-group > legend { display: block; margin: 0 0 9px; color: var(--ink); font-size: 12px; font-weight: 700; }
.form-group > label span { float: right; color: #879693; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.form-group input[type="text"], .form-group textarea { width: 100%; color: var(--ink); background: var(--paper); border: 1px solid transparent; border-radius: 10px; outline: 0; transition: .2s; }
.form-group input[type="text"] { height: 50px; padding: 0 15px; }
.form-group textarea { min-height: 112px; padding: 13px 15px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(8,125,118,.1); }
.theme-vote-options { display: grid; gap: 8px; }
.vote-option-card { position: relative; display: grid; grid-template-columns: 36px 1fr 18px; align-items: center; gap: 12px; min-height: 66px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; transition: .2s; }
.vote-option-card:hover { border-color: #9fb2af; transform: translateX(2px); }
.vote-option-card input { position: absolute; opacity: 0; pointer-events: none; }
.vote-letter { width: 32px; height: 32px; display: grid; place-items: center; color: white; background: var(--blue); border-radius: 50%; font-size: 10px; font-weight: 700; }
.vote-option-card.harley .vote-letter { background: var(--navy); }
.vote-option-card.warm .vote-letter { background: var(--terracotta); }
.vote-option-card strong { display: block; font-size: 13px; }
.vote-option-card small { display: block; margin-top: 1px; color: var(--ink-soft); font-size: 10px; }
.vote-option-card i { width: 16px; height: 16px; border: 1px solid #aebbb9; border-radius: 50%; }
.vote-option-card:has(input:checked) { border-color: var(--teal); background: #f0f8f6; box-shadow: inset 3px 0 var(--teal); }
.vote-option-card:has(input:checked) i { border: 5px solid var(--teal); }
.submit-vote-btn { min-height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; color: white; background: var(--teal); border: 0; border-radius: 10px; cursor: pointer; font-size: 13px; font-weight: 700; transition: .2s; }
.submit-vote-btn:hover { background: var(--teal-dark); transform: translateY(-1px); }
.submit-vote-btn:disabled { cursor: wait; opacity: .6; transform: none; }
.form-status { min-height: 20px; margin: -12px 0 0; color: var(--ink-soft); font-size: 12px; }
.form-status.error { color: #a0392f; }
.form-status.success { color: var(--teal-dark); }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(1px,1px,1px,1px) !important; }

.poll-results { min-width: 0; padding: 42px; color: white; background: #173d3a; }
.results-title-row { display: flex; align-items: center; justify-content: space-between; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.14); }
.results-title-row p { margin: 0 0 4px; color: #94b5b1; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.results-title-row h3 { margin: 0; font: 500 30px var(--font-serif); }
.total-votes { min-width: 74px; display: flex; flex-direction: column; align-items: center; padding: 10px; color: var(--ink); background: #dceeea; border-radius: 12px; }
.total-votes strong { font: 600 26px var(--font-serif); line-height: 1; }
.total-votes span { margin-top: 3px; font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.results-bars { display: grid; gap: 20px; padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.results-loading, .empty-state { padding: 22px 0; color: #9bb7b4; font-size: 12px; }
.result-item { display: grid; gap: 8px; }
.result-header { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; font-size: 12px; }
.result-header strong { font-weight: 600; }
.result-header span { color: #a9bfbd; font-size: 10px; }
.progress-track { height: 5px; overflow: hidden; background: rgba(255,255,255,.13); border-radius: 999px; }
.progress-fill { height: 100%; min-width: 0; border-radius: inherit; background: var(--blue); transition: width .55s cubic-bezier(.2,.8,.2,1); }
.progress-fill.harley { background: var(--gold); }
.progress-fill.warm { background: #e27c63; }
.recent-votes-container { padding-top: 28px; }
.recent-votes-container h4 { margin: 0 0 14px; color: #9bb7b4; font-size: 9px; text-transform: uppercase; letter-spacing: .14em; }
.recent-votes-list { max-height: 248px; display: grid; gap: 8px; overflow-y: auto; padding-right: 4px; }
.recent-vote-item { padding: 13px 14px; color: #c9d8d6; background: rgba(255,255,255,.055); border-radius: 9px; font-size: 11px; }
.recent-vote-meta { display: flex; justify-content: space-between; gap: 15px; }
.recent-voter-name { color: white; font-weight: 700; }
.recent-voter-choice { color: #9ed1cb; }
.recent-voter-comment { margin-top: 6px; color: #afc3c1; font-family: var(--font-serif); font-size: 13px; font-style: italic; }

.site-footer { padding: 34px 0; color: #a7bab7; background: #0e2927; }
.site-footer .shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { color: white; }
.footer-brand .brand-mark { width: 34px; height: 34px; color: #8ac8c1; background: transparent; border-color: rgba(255,255,255,.14); }
.footer-brand .brand-mark svg { width: 22px; }
.footer-brand strong { font-size: 12px; }
.site-footer p { margin: 0; font-size: 10px; }

.lightbox-modal { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 28px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.lightbox-modal.active { opacity: 1; pointer-events: auto; }
.lightbox-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; background: rgba(8,24,23,.88); border: 0; backdrop-filter: blur(8px); cursor: zoom-out; }
.lightbox-content { position: relative; z-index: 1; width: min(1500px, 94vw); max-height: 92vh; display: flex; flex-direction: column; overflow: hidden; background: var(--white); border-radius: 18px; box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.lightbox-header { min-height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--line); }
.lightbox-title { font-size: 13px; font-weight: 700; }
.lightbox-close { width: 36px; height: 36px; color: var(--ink); background: var(--paper); border: 0; border-radius: 50%; cursor: pointer; font-size: 24px; line-height: 1; }
.lightbox-body { overflow: auto; padding: 18px; }
.lightbox-body img { width: 100%; height: auto; border: 1px solid var(--line); }
body.modal-open { overflow: hidden; }
.toast { position: fixed; z-index: 1500; right: 24px; bottom: 24px; max-width: 340px; padding: 14px 18px; color: white; background: var(--ink); border-radius: 10px; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .25s; font-size: 12px; }
.toast.active { opacity: 1; transform: none; }

:focus-visible { outline: 3px solid rgba(8,125,118,.35); outline-offset: 3px; }
@media (max-width: 1120px) {
    .hero-grid { grid-template-columns: 1fr 280px; gap: 50px; }
    .matrix-grid { grid-template-columns: 1fr; }
    .theme-card-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .35fr); align-items: start; }
    .overview-card { padding: 28px; }
}
@media (max-width: 860px) {
    .shell { width: min(100% - 34px, 720px); }
    .review-meta span:not(:first-child) { display: none; }
    .hero { padding: 68px 0 72px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-note { max-width: 520px; }
    .section-intro, .poll-heading-row { align-items: start; flex-direction: column; gap: 18px; }
    .controls-panel { align-items: stretch; flex-direction: column; gap: 18px; }
    .theme-select-group { width: 100%; margin-left: 0; }
    .page-info-banner { align-items: start; flex-direction: column; gap: 10px; }
    .page-info-banner > p { text-align: left; }
    .overview-grid, .poll-container { grid-template-columns: 1fr; }
    .overview-card { min-height: auto; }
    .overview-card > p:not(.card-kicker) { min-height: 0; }
}
@media (max-width: 620px) {
    .shell { width: min(100% - 24px, 560px); }
    .header-inner { min-height: 70px; }
    .brand-mark { width: 36px; height: 36px; }
    .review-meta { display: none; }
    .hero h1 { font-size: 48px; }
    .hero-intro { font-size: 16px; }
    .review-workspace, .poll-section { padding-top: 70px; padding-bottom: 80px; }
    .direction-guide { padding: 72px 0 80px; }
    .section-intro h2, .poll-heading-row h2, .direction-guide h2 { font-size: 40px; }
    .page-tab { padding: 14px; }
    .theme-card-body, .single-theme-grid .theme-card-body { display: flex; padding: 12px; }
    .theme-card-header { min-height: 70px; padding: 13px; }
    .mobile-frame { width: 72%; }
    .poll-form, .poll-results { padding: 28px 20px; }
    .site-footer .shell { align-items: start; flex-direction: column; }
    .toast { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
