@font-face{font-family:Fraunces;src:url('./fonts/fraunces.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
@font-face{font-family:'DM Sans';src:url('./fonts/dm-sans.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root {
  --paper:#fbf5ee;--surface:#fffdf9;--ink:#34262d;--soft:#594a4e;--muted:#6d5e62;
  --line:#ddcfc8;--line-dark:#988481;--accent:#6b354f;--deep:#51263d;--wash:#f3e5e6;
  --peach:#f2c8a9;--radius:9px;--serif:Fraunces,Georgia,'Times New Roman',serif;
  --sans:'DM Sans','Avenir Next','Segoe UI',Arial,sans-serif;
  color:var(--ink);background:var(--paper);font:16px/1.5 var(--sans);font-synthesis:none;
}
*{box-sizing:border-box}body{margin:0;min-height:100vh;display:flex;flex-direction:column}main{flex:1 0 auto}button,input,textarea,select{font:inherit}
button,summary,a,select,.choices label{touch-action:manipulation}
.wrap{width:min(1248px,calc(100% - 112px));margin-inline:auto}
.site-band{background:var(--accent);color:var(--paper)}
.mast,.site-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}
.mast{padding-block:24px}
.brand{display:flex;align-items:center;gap:12px;font:580 27px/1 var(--serif);letter-spacing:-.055em;color:inherit;text-decoration:none}
.brand img{width:40px;height:40px;flex:none}
.about{position:relative;z-index:2}
.about summary{list-style:none}.about summary::-webkit-details-marker{display:none}
.about-body{position:absolute;right:0;top:calc(100% + 8px);padding:20px 24px;width:min(320px,80vw);border:1px solid var(--line-dark);border-radius:var(--radius);background:var(--surface);color:var(--ink);box-shadow:0 6px 20px #20221f12;font-size:15px}
.about-body p{margin:8px 0 0;color:var(--soft)}
.spread{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);align-items:center;gap:clamp(40px,6.5vw,100px);padding-block:clamp(48px,5.5vw,80px)}
.intro{min-width:0}h1,h2,h3,p,blockquote,figure{margin:0}
h1{font:480 clamp(56px,5.25vw,80px)/1.035 var(--serif);font-variation-settings:"SOFT" 52,"WONK" 1;letter-spacing:-.062em}
.quoted{color:var(--accent);position:relative;white-space:nowrap;display:inline-block}
.quoted svg{position:absolute;left:3%;bottom:-.015em;width:94%;height:.15em;fill:none;stroke:#ad685d;stroke-width:3;stroke-linecap:round;pointer-events:none}
.intro>p{font-size:clamp(18px,1.5vw,21px);line-height:1.55;max-width:43ch;color:var(--soft);margin-top:24px}
#finder{position:relative;min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:clamp(24px,2.5vw,40px);scroll-margin-top:16px;box-shadow:0 4px 0 -1px #f4e3d8,0 5px 0 -1px #d4b8aa}
h2{font:465 clamp(32px,2.8vw,42px)/1.1 var(--serif);font-variation-settings:"SOFT" 45;letter-spacing:-.05em}
#brief{margin-top:28px;display:grid;gap:20px}
fieldset{border:0;padding:0;margin:0;min-width:0}
legend,label:not(.choices label){font-size:15px;font-weight:600;line-height:1.4}
legend{padding:0;margin-bottom:8px}
.choices{display:flex;gap:4px;flex-wrap:wrap;background:#f6eee7;border-radius:12px;padding:4px}
.choices label{position:relative;cursor:pointer}
.choices input{position:absolute;opacity:0;width:1px;height:1px}
.choices span,.ghost,.cue,.primary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:var(--radius);font:600 14px/1.2 var(--sans);padding:8px 14px}
.choices label{flex:1 1 auto}
.choices span{width:100%;border:1px solid transparent;font-weight:500;color:var(--soft);padding-inline:8px}
.choices input:checked+span{color:var(--deep);background:var(--surface);border-color:var(--accent);box-shadow:0 1px 2px #51263d12;font-weight:650}
.choices label:hover span,.ghost:hover,summary.ghost:hover,.card:hover .cue{background:var(--wash);border-color:var(--accent)}
.pair{display:grid;grid-template-columns:1.1fr 1fr;gap:16px}.pair label{min-width:0}
.pair small{font-weight:400;color:var(--muted);font-size:13px}
input:not([type=radio]),select,textarea,.money{border:1px solid var(--line-dark);border-radius:var(--radius);background:var(--surface);color:var(--ink);width:100%;font:400 16px/1.45 var(--sans)}
input:not([type=radio]),select,textarea{padding:10px 12px}.pair select,.money{margin-top:8px;height:44px}
.money{display:flex;align-items:center;padding-left:12px;gap:4px}.money input:not([type=radio]){border:0;min-width:0;padding:8px 8px 8px 2px;background:transparent;height:100%}
input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}.note-head,.refrow{display:flex;align-items:center;gap:12px}
.note-head{justify-content:space-between;flex-wrap:wrap;row-gap:4px}
.ghost,.cue{border:1px solid var(--line-dark);background:transparent;color:var(--deep);cursor:pointer}
.site-band .ghost{border-color:#fbf5eea6;color:var(--paper);text-decoration:none;white-space:nowrap}
.site-band .ghost:hover,.site-band .ghost[aria-current=page]{background:#fbf5ee1a;border-color:var(--paper)}
.site-band :focus-visible{outline-color:var(--paper)}
textarea{resize:vertical;min-height:100px;background:#fcf8f4;line-height:1.55}
.primary{width:100%;background:var(--accent);color:#fff;border:1px solid var(--deep);box-shadow:0 2px 0 var(--deep);min-height:52px;font-size:17px;padding-inline:12px;cursor:pointer}
.primary:hover{background:var(--deep)}
.step-progress{margin:0;color:var(--muted);font:500 13px/1.5 var(--sans)}
#brief{position:relative}
#step-progress{position:absolute;inset:0 0 auto auto;text-align:right}
#brief legend,.clue-step .note-head{max-width:100%;padding-right:76px}
.clue-step{display:grid;gap:8px}
.clue-actions{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:stretch;gap:8px;justify-self:stretch}
.clue-actions button{min-height:52px}
.clue-actions .ghost{padding-inline:10px}
.clue-actions .primary{box-shadow:inset 0 -2px 0 var(--deep)}
.step-picks{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;align-items:end}
.featured-occasion{flex:0 0 100%}
#brief .step-actions{display:grid;justify-items:end;gap:4px;margin-top:-10px}
#brief .step-actions:has(.clue-actions[hidden]):has(#step-back[hidden]){display:none}
#step-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 3px 0 10px;border:0;background:transparent;color:var(--accent);font:600 14px var(--sans);cursor:pointer}
.back-chevron{width:7px;height:7px;border:solid currentColor;border-width:0 0 2px 2px;transform:rotate(45deg)}
.step-picks button[aria-pressed=true]{background:var(--accent);color:white}
#season-hint:empty{display:none}
@media(prefers-reduced-motion:no-preference){[data-step]:not([hidden]){animation:step-in 220ms ease-out both}@keyframes step-in{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:translateX(0)}}}
.primary:disabled,.ghost:disabled{opacity:.6;cursor:wait}.footnote{color:var(--muted);font-size:12px;line-height:1.5;margin-top:-8px}
:focus-visible,.choices input:focus-visible+span{outline:3px solid var(--accent);outline-offset:3px}
#brief textarea:focus,#refine input:focus,#budget:focus{outline:none;border-color:var(--accent)}
#budget-custom .money:focus-within{border-color:var(--accent)}
.skip{position:absolute;top:8px;left:-200vw;z-index:3}.skip:focus{left:12px;background:white;padding:8px}
.results{border-top:1px solid var(--line-dark);padding:40px 0 48px;scroll-margin-top:8px}
.results:focus{outline:0}.results h2{margin-bottom:8px}#status{color:var(--soft);font-size:15px}
#cards:not(:empty){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px;margin-top:24px}
.card{display:flex;flex-direction:column;align-items:flex-start;color:var(--ink);text-decoration:none;padding:24px;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:0 2px 0 #e9d9ce}
.card:hover{border-color:var(--line-dark)}
.shop-line{color:var(--accent);font-size:13px;font-weight:600}.card h3{margin:12px 0 8px;font:480 28px/1.14 var(--serif);letter-spacing:-.04em;text-wrap:pretty}
.price{font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}
.reason{margin-block:16px 12px}.caveat{width:100%;border-top:1px solid var(--line);padding-top:12px;font-size:14px;color:var(--soft);margin-bottom:20px}.caveat strong{color:var(--accent)}
.cue{margin-top:auto}
.gift-result{display:flex;flex-direction:column;min-width:0}
.gift-result .card{flex:1}
.gift-art{display:grid;place-items:center;width:68px;height:68px;border-radius:12px;background:var(--peach);margin-bottom:16px}
.offer-box{display:grid;gap:6px;justify-items:start;padding:12px 0;color:var(--muted)}
.amazon-offer{text-decoration:none}
.results-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:start;gap:14px 28px}
#refine{flex:0 1 400px;max-width:100%}.refrow{margin-top:8px}.refrow button{white-space:nowrap}
.site-footer{padding-block:16px;font-size:13px}
.footer-brand{font:500 18px var(--serif);letter-spacing:-.035em}
#associate-disclosure{max-width:42ch}
.privacy{max-width:720px;padding-block:clamp(36px,6vw,80px)}
.privacy-lede{margin-top:16px;font-size:clamp(18px,2vw,21px)}
.privacy section{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}
.privacy section h2{font-size:clamp(24px,3vw,30px);margin-bottom:8px}
.privacy section p{color:var(--soft);max-width:64ch}
[hidden]{display:none!important}
@media(max-width:1040px){
  .wrap{width:calc(100% - 64px)}.spread{gap:32px}.choices{gap:4px}.choices span{padding-inline:10px}
  .intro>p{font-size:18px}#finder{padding:24px}
}
@media(max-width:800px){
  .wrap{width:min(600px,calc(100% - 40px))}.mast{padding-block:16px}.brand{font-size:22px;gap:8px}.brand img{width:32px;height:32px}
  .spread{display:grid;grid-template-columns:1fr;gap:24px;padding:32px 0}
  .intro{display:contents}h1{font-size:clamp(43px,8.5vw,63px);grid-row:1}.intro>p{margin-top:-8px;grid-row:2}
  #finder{grid-row:3}.about summary,.mast-action{font-size:13px;padding:8px 10px}
}
@media(max-width:460px){
  .wrap{width:calc(100% - 32px)}.brand{font-size:20px;gap:6px}.brand img{width:28px;height:28px}
  .site-footer{display:grid;grid-template-columns:1fr auto;gap:8px 12px}.site-footer .ghost{grid-column:2;grid-row:1}.site-footer #associate-disclosure{grid-column:1/-1}
  .spread{padding:24px 0;gap:20px}.intro>p{font-size:16px;line-height:1.5}
  #finder{padding:20px 16px}.choices{display:grid;grid-template-columns:1fr 1fr;gap:6px}.choices span{width:100%}
  #brief{margin-top:20px;gap:16px}.pair{gap:8px}.pair label,.note-head label{font-size:14px}.pair small{font-size:11px}
  .note-head{gap:4px}textarea{min-height:96px}.results{padding-block:24px}
  .refrow{align-items:stretch}.refrow button{padding-inline:10px}
}

/* After a search: results replace the hero and form, the brief collapses to one line. */
body.searched .spread{display:none}
body.searched .results{border-top:0;padding-top:20px}
.brief-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 10px 10px 14px;margin-bottom:20px;background:var(--surface);border:1px solid var(--line);border-radius:12px}
.brief-summary p{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;min-width:0;font-size:14px}
.sum-label{font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
#sum-facts{font-weight:600;color:var(--deep)}
.sum-note{flex-basis:100%;color:var(--soft);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.brief-summary .ghost{min-height:40px;padding-inline:14px;flex:none}
.card.placeholder{min-height:220px;background:linear-gradient(90deg,var(--surface),#f6eee7,var(--surface));background-size:200% 100%;box-shadow:none}
@media(prefers-reduced-motion:no-preference){.card.placeholder{animation:shimmer 1.2s linear infinite}@keyframes shimmer{to{background-position:-200% 0}}}
@media(max-width:800px){
  body.searched .results{padding-top:14px}
  .brief-summary{margin-bottom:14px}
  .results h2{font-size:28px}
  /* Compact cards: icon beside the title so a whole pick fits in one glance. */
  #cards:not(:empty){gap:12px;margin-top:14px}
  .card{display:grid;grid-template-columns:44px 1fr;column-gap:12px;padding:16px;border-radius:12px}
  .card>*{grid-column:2}
  .card .gift-art{grid-column:1;grid-row:1/span 3;width:44px;height:44px;border-radius:10px;margin:0}
  .card .gift-art img{width:30px;height:30px}
  .card h3{margin:2px 0 2px;font-size:20px;line-height:1.18}
  .card .reason{grid-column:1/-1;margin:10px 0 8px;font-size:15px}
  .card .caveat{grid-column:1/-1;padding-top:8px;margin-bottom:12px;font-size:13px}
  .card .cue,.card .affiliate-note{grid-column:1/-1;justify-self:start}
  .card .affiliate-note{margin-top:6px;font-size:12px;color:var(--muted)}
  .card.placeholder{min-height:150px}
  /* Keep the refine box on screen while scrolling the picks. */
  #refine{position:sticky;bottom:0;max-width:none;z-index:2;flex-basis:100%;margin-inline:-16px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:var(--paper);border-top:1px solid var(--line);box-shadow:0 -6px 16px #34262d10;order:2}
  #refine label{font-size:13px}.refrow{margin-top:6px}
  .results-heading{display:contents}
  .results{display:flex;flex-direction:column}
  .results-heading>div{order:0}#cards{order:1}
}
