/* /taste-game: the taste game + the six drinker types (moved off the home page). Hand-written; base styles come from cocktails.css. */
section { padding: 70px 0; }
.tg-hero { padding: 26px 0 10px; }
.tg-hero h1 { font-size: clamp(56px, 8vw, 112px); line-height: .92; margin: 14px 0 20px; }
.tg-hero .lead { max-width: 52ch; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(40px, 5.5vw, 68px); line-height: 1; }
.sec-head p { color: var(--ink-soft); font-size: 19px; margin: 0; max-width: 42ch; }
.btn.line { background: transparent; color: var(--ink) !important; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.line:hover { background: var(--ink); color: var(--paper) !important; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s, transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
@media (max-width: 800px) { .sec-head { grid-template-columns: 1fr; } section { padding: 54px 0; } }

/* taste game */
.play-grid { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: start; }
.controls { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 30px; }
.ctl { margin-bottom: 26px; }
.ctl label { display: flex; justify-content: space-between; font: 600 15px var(--sans); margin-bottom: 12px; }
.ctl label span { font: italic 400 16px var(--serif); color: var(--accent); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--l), var(--r)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); box-shadow: 0 4px 12px color-mix(in srgb, var(--shadow) 25%, transparent); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); cursor: grab; }
input[type=range]:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--accent); outline-offset: 2px; }
.ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-soft); margin-top: 8px; }
.fams { display: flex; flex-wrap: wrap; gap: 8px; }
.fams button { font: 500 14px var(--sans); border: 1px solid var(--line); color: var(--ink); background: transparent; padding: 7px 13px; border-radius: 999px; cursor: pointer; }
.fams button.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.you { margin-top: 4px; padding: 20px; border-radius: 20px; background: var(--ink); color: var(--paper); text-align: center; }
.you small { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--line); }
.you b { display: block; font: 500 24px/1.2 var(--serif); margin: 6px 0 6px; }
.you p { margin: 0; font-size: 14px; color: var(--paper-2); }
.yourmenu { background: var(--card); border-radius: 6px; padding: 44px 44px 30px; box-shadow: 0 1px 0 var(--line), 0 40px 80px -36px color-mix(in srgb, var(--shadow) 35%, transparent); position: relative; }
.yourmenu h3, .yourmenu h2 { font: 500 14px var(--serif); letter-spacing: .5em; text-align: center; margin: 0 0 4px; }
.yourmenu .for { text-align: center; font: italic 300 18px var(--serif); color: var(--ink-soft); margin-bottom: 8px; }
.yourmenu .rule { width: 46px; height: 2px; background: var(--accent); margin: 0 auto 18px; }
.row { display: grid; grid-template-columns: 64px 1fr auto auto; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.row:last-of-type { border-bottom: 0; }
.row img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.row b { font: 600 21px/1.15 var(--serif); display: block; }
.row span { font: italic 14px var(--serif); color: var(--ink-soft); }
.row em { font-style: normal; }
.note { color: var(--ink-soft); font-size: 13px; margin: 18px 0 0; text-align: center; }
@media (max-width: 1000px) { .play-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .yourmenu { padding: 34px 20px 22px; } .row { grid-template-columns: 48px 1fr auto; gap: 12px; } .row .go { grid-column: 2 / -1; margin-top: -6px; } .row img { width: 48px; height: 48px; } .row b { font-size: 18px; } }

.pct { font: 600 13px var(--sans); padding: 6px 11px; border-radius: 999px; color: #fff; white-space: nowrap; background: var(--tan); }
.pct.best { background: var(--accent); } .pct.good { background: var(--amber); }

/* menu rows link to each drink's own recipe page */
a.row { color: inherit; text-decoration: none; border-radius: 12px; transition: background .2s; }
a.row:hover { background: color-mix(in srgb, var(--shadow) 4%, transparent); }
.row .go { font: 600 13px var(--sans); color: var(--accent); white-space: nowrap; }
a.row:hover .go { text-decoration: underline; text-underline-offset: 3px; }
a.row:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* taste profiles */
.profile { background: var(--ink); color: var(--paper); border-radius: 40px; margin: 0 16px 90px; padding: 100px 0; }
.profile .eyebrow { color: var(--amber); }
.profile .sec-head p { color: var(--tan); }
.personas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
/* "The pour" (palette + effect) lives in /site.css; .persona and .you add the .pour class. */
.persona { border-radius: 24px; padding: 28px 28px 0; min-height: 270px; transition: transform .3s; }
.persona:hover { transform: translateY(-4px); }
.persona h3 { font: 500 25px/1.15 var(--serif); margin: 0 0 8px; }
.persona p { color: var(--line); margin: 0 0 18px; font-size: 15px; }
.persona .fam { position: absolute; left: 28px; bottom: 22px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 6px rgb(0 0 0 / .35); }
.you[data-p] { --fill: 24%; padding-bottom: 56px; }
.you-more { display: block; margin-top: 12px; text-align: center; font: 600 14px var(--sans); color: var(--accent); text-decoration: none; }
.you-more:hover { text-decoration: underline; text-underline-offset: 3px; }
a.persona { display: block; text-decoration: none; color: var(--paper); }
a.persona:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.persona-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
.profile .btn.quiz-btn { background: var(--paper); color: var(--ink) !important; } .profile .btn.quiz-btn:hover { background: #fff; }
.profile .btn.line { color: var(--paper) !important; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--on-deep) 60%, transparent); } .profile .btn.line:hover { background: var(--paper); color: var(--ink) !important; }
@media (max-width: 900px) { .personas { grid-template-columns: 1fr 1fr; } .profile { margin: 0 8px; border-radius: 28px; } }
@media (max-width: 600px) { .personas { grid-template-columns: 1fr; } .persona { min-height: 220px; } }

