:root {
  color-scheme: light;
  --paper:#f8f2e8;
  --cream:#fffcf6;
  --ink:#2b251e;
  --muted:#63564a;
  --brown:#6c422d;
  --dark:#4a2d20;
  --gold:#ac7950;
  --line:#e1d2bd;
  --soft:#f0e4d2;
  --serif:Georgia,"Times New Roman",serif;
  --sans:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
* {box-sizing:border-box}
html {min-height:100%}
body {margin:0;min-height:100svh;display:flex;flex-direction:column;background:radial-gradient(ellipse at 18% 5%,#fffaf0 0%,transparent 48%),var(--paper);color:var(--ink);font:1rem/1.5 var(--sans);-webkit-font-smoothing:antialiased}
[hidden] {display:none!important}
button,a {-webkit-tap-highlight-color:transparent}
button {font:inherit;cursor:pointer}
button:focus-visible,a:focus-visible,[tabindex="-1"]:focus-visible {outline:3px solid #b27a46;outline-offset:4px}
.brandbar {border-bottom:1px solid #e7dbc9;background:#fdf8ee}
.brand-inner {max-width:1120px;margin:auto;display:flex;align-items:center;gap:16px;padding:12px 30px;min-height:85px}
.brand {display:block;flex:0 0 auto;line-height:0}
.brand img {width:72px;height:64px;object-fit:contain}
.brand-copy {display:flex;flex-direction:column;justify-content:center;gap:1px}
.brand-copy span {font-size:.76rem;letter-spacing:.13em;font-weight:650;color:var(--dark)}
.brand-copy small {font-family:var(--serif);font-style:italic;font-size:1.02rem;color:var(--muted)}
.brand-tag {margin-left:auto;font-size:.72rem;letter-spacing:.12em;font-weight:600;color:#695644}
.app {flex:1;display:grid;place-items:center;max-width:1120px;width:100%;margin:auto;padding:36px 28px}
.panel {width:100%;background:var(--cream);border:1px solid var(--line);border-radius:24px;box-shadow:0 12px 42px #4a302013;overflow:hidden}
.welcome {display:grid;grid-template-columns:1.13fr .87fr;min-height:520px}
.welcome-text {padding:clamp(36px,6vw,68px);align-self:center}
.eyebrow {display:inline-flex;align-items:center;gap:9px;font-size:.77rem;line-height:1.4;font-weight:700;letter-spacing:.13em;color:#805131}
.tiny-diamond {display:inline-block;width:9px;height:9px;transform:rotate(45deg);background:var(--gold);border-radius:1px}
h1,h2,h3,p {margin-top:0}
h1 {font:400 clamp(3.4rem,6.2vw,5.3rem)/.98 var(--serif);letter-spacing:-.045em;margin:18px 0 25px}
h1 em {color:var(--brown);font-weight:400}
.intro {color:var(--muted);font-size:1.08rem;max-width:39ch;line-height:1.65;margin-bottom:28px}
.details {display:flex;align-items:center;flex-wrap:wrap;gap:7px 18px;margin:0 0 25px;color:var(--muted);font-size:.85rem;font-weight:600}
.details span {display:flex;gap:9px;align-items:center;white-space:nowrap}
.details span:not(:first-child)::before {content:"";width:4px;height:4px;border-radius:50%;background:var(--gold)}
.primary,.secondary {padding:14px 24px;min-height:54px;border-radius:12px;font-size:1rem;font-weight:650;transition:background .16s,border-color .16s,transform .16s;display:inline-flex;align-items:center;justify-content:center;line-height:1.3;text-align:center}
.primary {color:white;background:var(--brown);border:1px solid var(--brown)}
.primary:hover:not(:disabled) {background:var(--dark);border-color:var(--dark)}
.primary:active:not(:disabled),.secondary:active {transform:scale(.99)}
.primary:disabled {background:#d6c8ba;border-color:#d6c8ba;color:#5b5045;cursor:not-allowed}
.secondary {color:var(--brown);background:#fffaf2;border:1px solid #c9b295}
.secondary:hover {background:var(--soft);border-color:var(--gold)}
.welcome .primary {min-width:230px}
.small-note {color:var(--muted);font-size:.8rem;margin:13px 0 0}
.welcome-photo {position:relative;min-height:440px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:20px;background:#eee8df}
.welcome-photo img {display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;border-radius:12px}
.photo-caption {width:100%;color:#35271e;background:#fffcf2ed;border:1px solid #fff8eeaa;border-radius:60px;padding:11px 18px;text-align:center;font-family:var(--serif);font-style:italic;font-size:1rem;backdrop-filter:blur(6px)}
.quiz,.result {max-width:710px;padding:36px 40px}
.quiz-top {display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}
.step-label {font-size:.82rem;font-weight:650;color:var(--muted)}
.progress {width:100%;height:6px;background:#e9ded0;border-radius:12px;overflow:hidden;margin-bottom:28px}
.progress span {display:block;height:100%;width:25%;background:linear-gradient(90deg,#916647,#b58a58);border-radius:12px;transition:width .25s ease}
h2 {font:400 clamp(2rem,4.8vw,3rem)/1.13 var(--serif);letter-spacing:-.03em;margin-bottom:10px;color:var(--dark)}
.hint {color:var(--muted);font-size:.96rem;line-height:1.5;margin-bottom:24px}
.options {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.option {position:relative;min-height:100px;padding:14px 31px 14px 14px;display:flex;gap:12px;align-items:center;text-align:left;color:var(--ink);border:1px solid var(--line);border-radius:14px;background:#fffdf9;transition:background .15s,border-color .15s,box-shadow .15s;overflow:hidden}
.option:hover {background:#f9f2e8;border-color:#c1a180}
.option[aria-checked="true"] {background:#f1e3d1;border-color:#9b6c47;box-shadow:inset 0 0 0 1px #9b6c47}
.option .icon {display:grid;place-items:center;width:39px;height:39px;flex:0 0 39px;background:#f3e9dc;border:1px solid #e6d5bf;border-radius:50%;color:#805131}
.option[aria-checked="true"] .icon {background:#e7d2b6}
.icon svg {width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.choice-content {display:block;min-width:0}
.choice-content strong {display:block;font-size:.99rem;font-weight:660;line-height:1.34}
.choice-content small {display:block;color:var(--muted);font-size:.82rem;line-height:1.35;margin-top:5px}
.radio {position:absolute;right:12px;top:13px;border:1.5px solid #b69f83;width:16px;height:16px;border-radius:50%;background:var(--cream)}
.option[aria-checked="true"] .radio {border-color:#8f6042;background:#8f6042}
.option[aria-checked="true"] .radio:after {content:"";display:block;width:6px;height:6px;border-radius:50%;background:white;position:absolute;inset:3.5px}
.quiz-actions,.result-actions {display:grid;grid-template-columns:1fr 1.6fr;gap:12px;margin-top:23px}
.text-button {display:block;text-align:center;margin:13px auto 0;padding:10px 9px;min-height:44px;border:0;background:transparent;color:var(--brown);font-size:.88rem;font-weight:600;text-decoration:underline;text-underline-offset:4px}
.text-button:hover {color:var(--dark)}
.result-top {text-align:center}
.result-top h2 {margin:10px 0 9px}
.result-top .hint {margin-bottom:24px}
.recommendations {display:grid;gap:12px}
.scent-card {position:relative;overflow:hidden;border:1px solid var(--line);background:#fffdf9;border-radius:15px;padding:16px 18px 16px 24px}
.scent-card:before {position:absolute;content:"";inset:0 auto 0 0;width:5px;background:var(--accent,#b58a58)}
.scent-card.top {padding:20px 22px 20px 24px;background:linear-gradient(124deg,#fffaf0,#fbf2e5);border-color:#c9ab86}
.scent-rank {font-size:.73rem;color:#795237;letter-spacing:.09em;text-transform:uppercase;font-weight:700;margin-bottom:5px}
.scent-card h3 {font:400 1.6rem/1.15 var(--serif);letter-spacing:-.025em;color:var(--dark);margin:0 0 6px}
.scent-card.top h3 {font-size:2rem}
.scent-notes {font-size:.88rem;font-weight:650;color:#7f5337;margin:0 0 8px}
.scent-reason {font-size:.94rem;line-height:1.5;color:var(--muted);margin:0}
.booth-note {display:flex;align-items:center;gap:12px;background:#f2e8d9;border:1px solid #e6d9c5;border-radius:12px;padding:13px 15px;font-size:.87rem;color:#534335;margin:20px 0 0}
.booth-note>span:first-child {font-size:1.7rem;color:#9d7048}
.result-actions {grid-template-columns:1.2fr 1fr;margin-top:17px}
.share-status {text-align:center;margin:7px 0 0;color:var(--muted);font-size:.82rem}
.share-status:empty {display:none}
.site-footer {text-align:center;padding:0 16px max(16px,env(safe-area-inset-bottom));color:#766350;font-size:.78rem}
.site-footer p {margin:0}
.site-footer span {padding:0 5px;color:var(--gold)}
@media(max-width:680px) {
 .brand-inner {min-height:68px;padding:7px 17px;gap:12px}
 .brand img {width:56px;height:51px}
 .brand-tag {display:none}
 .brand-copy span {font-size:.72rem}
 .brand-copy small {font-size:.95rem}
 .app {padding:15px 12px 20px;align-items:start}
 .panel {border-radius:19px}
 .welcome {display:flex;flex-direction:column;min-height:0}
 .welcome-photo {order:-1;min-height:0;height:auto;gap:8px;padding:10px}
 .welcome-photo img {max-height:220px}
 .photo-caption {width:auto;font-size:.81rem;padding:6px 12px}
 .welcome-text {padding:24px 22px 25px;width:100%}
 h1 {font-size:clamp(3.1rem,13vw,4.1rem);margin:10px 0 15px;line-height:1.02}
 h1 br {display:none}
 .intro {font-size:1rem;line-height:1.52;margin-bottom:20px}
 .details {gap:7px 14px;margin:0 0 20px;font-size:.81rem}
 .welcome .primary {width:100%;min-width:0}
 .small-note {text-align:center}
 .quiz,.result {padding:22px 16px}
 .progress {margin-bottom:21px}
 h2 {font-size:clamp(2rem,8.2vw,2.5rem)}
 .hint {margin-bottom:19px}
 .options {gap:9px}
 .option {min-height:116px;padding:12px 10px;flex-direction:column;gap:7px;align-items:flex-start;justify-content:flex-start}
 .option .icon {width:33px;height:33px;flex:0 0 33px}
 .icon svg {width:19px;height:19px}
 .option .radio {top:11px;right:10px}
 .choice-content strong {font-size:.91rem}
 .choice-content small {font-size:.78rem;margin-top:3px}
 .quiz-actions,.result-actions {gap:9px;margin-top:18px}
 .primary,.secondary {padding:13px 12px;min-height:52px}
 .result-top .hint {margin-bottom:17px}
 .scent-card {padding:15px 14px 15px 19px}
 .scent-card.top {padding:17px 15px 17px 20px}
 .scent-card.top h3 {font-size:1.83rem}
 .site-footer {font-size:.72rem}
}
@media(max-width:350px) {
 .option {padding:10px 8px}
 .quiz,.result {padding:18px 12px}
 .details {gap:6px}
 .result-actions {grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce) {*,*::before,*::after {transition:none!important;scroll-behavior:auto!important}}
@media(max-width:350px) {
 h1 {font-size:2.85rem}
 .welcome-text {padding:20px 18px}
 .welcome-photo {gap:5px;padding:8px}
 .welcome-photo img {max-height:158px}
 .option {min-height:103px;gap:4px}
 .option .icon {width:29px;height:29px;flex-basis:29px}
 .option .choice-content small {font-size:.77rem}
}
