:root {
  --espresso: #3E2018;
  --espresso-2: #4A281E;
  --ivory: #F8F4EF;
  --paper: #FFFDFA;
  --ink: #2A1B16;
  --muted: #7D6A62;
  --line: rgba(42, 27, 22, .14);
  --burgundy: #7A1F24;
  --gold: #A47F50;
  --serif: "Libre Baskerville", Georgia, serif;
  --script: "Herr Von Muellerhoff", cursive;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--espresso);
  background-image: radial-gradient(120% 80% at 50% 0%, var(--espresso-2) 0%, var(--espresso) 70%);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; }

/* ---------- Floating garments (desktop backdrop) ---------- */
.floaters { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.floater {
  position: absolute;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
  padding: 6px;
  transition: opacity .9s var(--ease), transform 1.2s var(--ease);
  animation: drift 9s ease-in-out infinite alternate;
}
.floater img { width: 100%; height: 100%; object-fit: contain; transition: opacity .7s var(--ease); }
.floater.swap img { opacity: 0; }
@keyframes drift { from { translate: 0 -6px; } to { translate: 0 8px; } }
body.result-mode .floaters { opacity: 0; transition: opacity .6s; }

/* ---------- Card ---------- */
.card {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2 * clamp(0px, 3vw, 40px)));
  min-height: calc(100vh - 2 * clamp(0px, 5vh, 56px));
  margin: clamp(0px, 5vh, 56px) auto;
  background: var(--ivory);
  background-image:
    radial-gradient(60% 50% at 50% 55%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(40% 40% at 70% 45%, rgba(176, 138, 90, .07) 0%, rgba(176, 138, 90, 0) 70%);
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
body.result-mode .card { min-height: 0; }

.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px var(--gutter) 10px;
}
.topbar > :first-child { justify-self: start; }
.topbar > :last-child { justify-self: end; }
.link-btn {
  background: none; border: 0; padding: 8px 0;
  font-size: 14px; letter-spacing: .04em; color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.link-btn:hover { border-bottom-color: currentColor; }
.wordmark { grid-column: 2; text-decoration: none; text-align: center; position: relative; display: block; line-height: 1; }
.wm-main { font-family: var(--serif); font-size: clamp(18px, 2.2vw, 22px); letter-spacing: .42em; padding-left: .42em; }
.wm-script {
  display: block; font-family: var(--script); color: var(--gold);
  font-size: clamp(26px, 3vw, 34px); margin-top: -6px; letter-spacing: 0;
}

.lead-strip { display: flex; height: 3px; margin: 0 var(--gutter); opacity: 0; transition: opacity .8s var(--ease); }
.lead-strip.on { opacity: 1; }
.lead-strip i { flex: 1; transition: background-color 1s var(--ease); }

/* ---------- Screens & transitions ---------- */
.screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 5vh, 56px) var(--gutter);
}
.screen > .view { animation: viewIn .7s var(--ease) both; }
.screen > .view.out { animation: viewOut .32s ease-in both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes viewOut { to { opacity: 0; transform: translateY(-10px); } }

.eyebrow { font-family: var(--script); color: var(--gold); font-size: clamp(34px, 5vw, 46px); line-height: 1; margin: 0 0 4px; }
.kicker { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.01em; }

/* ---------- Welcome ---------- */
.welcome { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 72px); align-items: center; max-width: 1040px; margin: 0 auto; width: 100%; }
.welcome h1 { font-size: clamp(38px, 6vw, 72px); line-height: 1.05; }
.welcome h1 em { font-style: italic; color: var(--burgundy); }
.welcome .lede { font-size: clamp(16px, 1.6vw, 18px); color: var(--muted); max-width: 30em; margin: 22px 0 32px; }
.meta-row { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.meta-row span::before { content: ""; display: inline-block; width: 18px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 34px;
  border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--ivory);
  font-size: 15px; letter-spacing: .06em; text-decoration: none;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(42, 27, 22, .18); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--ivory); }
.btn.burgundy { background: var(--burgundy); border-color: var(--burgundy); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.fan { position: relative; height: clamp(320px, 46vh, 460px); }
.fan figure {
  position: absolute; top: 50%; left: 50%; margin: 0;
  width: clamp(130px, 15vw, 190px); aspect-ratio: 3 / 4;
  background: #fff; padding: 8px;
  box-shadow: 0 20px 40px rgba(42, 27, 22, .16);
  transform-origin: 50% 120%;
  transition: transform 1.1s var(--ease);
}
.fan figure img { width: 100%; height: 100%; object-fit: contain; }
.fan-swatches { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; gap: 6px; }
.fan-swatches i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }

.welcome-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.know-hint { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; max-width: 26em; }

/* ---------- Season picker ---------- */
.picker { text-align: center; max-width: 1000px; margin: 0 auto; width: 100%; }
.picker h2 { font-size: clamp(28px, 4vw, 44px); margin: 4px 0 12px; }
.picker-lede { color: var(--muted); max-width: 34em; margin: 0 auto 34px; }
.fam-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: left; }
.fam { display: grid; gap: 10px; align-content: start; animation: optIn .7s var(--ease) both; }
.fam-name { font-family: var(--script); color: var(--gold); font-size: 34px; line-height: 1; margin: 0 0 2px 4px; }
.picker-alt { margin: 30px 0 0; font-size: 14px; color: var(--muted); }
.picker-alt button { background: none; border: 0; padding: 0; border-bottom: 1px solid currentColor; color: var(--ink); font-size: 14px; }
.looks-more { text-align: center; margin-top: 28px; }
#jumpLooks { font-size: 15px; }

/* ---------- Question ---------- */
.question { text-align: center; max-width: 760px; margin: 0 auto; width: 100%; }
.question h2 { font-size: clamp(26px, 3.6vw, 42px); line-height: 1.2; margin: 6px auto 36px; max-width: 17em; }
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; max-width: 680px; margin: 0 auto; }
.options.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 12px 22px;
  border: 1.5px solid var(--ink); border-radius: 999px;
  background: transparent; text-align: center;
  font-size: 15px; line-height: 1.3;
  transition: background .3s, color .3s, transform .35s var(--ease), box-shadow .35s;
  animation: optIn .6s var(--ease) both;
}
.opt:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(42, 27, 22, .1); }
.opt.selected { background: var(--ink); color: var(--ivory); }
.opt.selected .sw i { box-shadow: 0 0 0 1.5px var(--ivory); }
@keyframes optIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sw { display: inline-flex; flex-shrink: 0; }
.sw i { width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(42, 27, 22, .18); }
.sw i + i { margin-left: -7px; }

.opt.metal { flex-direction: column; border-radius: 22px; min-height: 0; padding: 22px 12px 18px; }
.metal-orb { width: 64px; height: 64px; border-radius: 50%; box-shadow: inset 0 -6px 12px rgba(0,0,0,.12), 0 6px 14px rgba(42,27,22,.12); }
.opt.metal.selected .metal-orb { box-shadow: 0 0 0 2px var(--ivory), 0 0 0 3.5px var(--gold); }

.quiz-foot { display: flex; justify-content: space-between; align-items: center; padding: 0 var(--gutter) 20px; }
.back-btn { background: none; border: 0; font-size: 14px; padding: 8px 0; display: inline-flex; gap: 8px; align-items: center; }
.back-btn span { font-size: 22px; line-height: 1; }
.back-btn[disabled] { opacity: .3; cursor: default; }
.counter { font-family: var(--serif); font-size: 14px; color: var(--muted); letter-spacing: .08em; }
.progress { height: 3px; background: rgba(42, 27, 22, .08); }
.progress i { display: block; height: 100%; width: 0; background: var(--burgundy); transition: width .7s var(--ease); }
body.result-mode .progress { display: none; }

/* ---------- Analysing ---------- */
.analysing { text-align: center; }
.orbit { position: relative; width: 180px; height: 180px; margin: 0 auto 34px; animation: spin 3.2s linear infinite; }
.orbit i { position: absolute; top: 50%; left: 50%; width: 26px; height: 26px; margin: -13px; border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,.12); }
@keyframes spin { to { transform: rotate(360deg); } }
.analysing h2 { font-size: clamp(24px, 3vw, 32px); }
.analysing p { color: var(--muted); }

/* ---------- Result ---------- */
.screen.result-screen { padding-top: 8px; justify-content: flex-start; }
.compare-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--ink); color: var(--ivory); padding: 14px 20px; border-radius: 14px; margin-bottom: 28px; font-size: 14px;
}
.compare-banner button { background: none; border: 1px solid rgba(255,255,255,.5); color: var(--ivory); border-radius: 999px; padding: 8px 16px; font-size: 13px; }

.r-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding: 8px 0 40px; }
.r-hero .family { position: absolute; }
.r-name { font-size: clamp(44px, 7vw, 86px); line-height: 1; margin: 0 0 18px; }
.r-hero .eyebrow { margin-bottom: 0; }
.traits { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.traits span + span::before { content: "·"; margin-right: 18px; color: var(--gold); }
.r-desc { font-size: clamp(16px, 1.5vw, 18px); max-width: 32em; margin: 0 0 22px; }
.r-quote { font-family: var(--serif); font-style: italic; font-size: clamp(17px, 1.7vw, 20px); color: var(--burgundy); margin: 0; }
.near-note { margin-top: 26px; font-size: 14px; color: var(--muted); }
.near-note button { background: none; border: 0; padding: 0; border-bottom: 1px solid currentColor; color: var(--ink); font-size: 14px; }

.arch {
  position: relative; margin: 0 auto; width: min(100%, 400px);
  padding: 12px; border: 1px solid var(--line); border-radius: 220px 220px 6px 6px; background: var(--paper);
}
.arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; border-radius: 210px 210px 2px 2px; }
.arch::before, .arch::after { content: "✦"; position: absolute; top: 58%; color: var(--ink); font-size: 14px; }
.arch::before { left: -22px; } .arch::after { right: -22px; }
.arch-palette { position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); display: flex; background: var(--paper); padding: 6px; border-radius: 999px; box-shadow: 0 10px 24px rgba(42,27,22,.12); }
.arch-palette i { width: 22px; height: 22px; border-radius: 50%; margin: 0 -3px; box-shadow: 0 0 0 2px var(--paper); }

.r-sec { padding: clamp(40px, 7vh, 72px) 0; border-top: 1px solid var(--line); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.sec-head h3 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; }
.sec-head p { margin: 0; color: var(--muted); max-width: 30em; }

/* profile axes */
.axes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.axis .lbl { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.axis .name { font-family: var(--serif); font-size: 18px; margin-bottom: 10px; }
.axis .track { position: relative; height: 10px; border-radius: 999px; }
.axis .dot { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); left: 50%; transition: left 1.4s var(--ease) .2s; }

/* palette */
.palette { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1000px) { .palette { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.chip {
  background: var(--paper); border: 1px solid var(--line); padding: 8px 8px 12px; text-align: left; border-radius: 4px;
  transition: transform .4s var(--ease), box-shadow .4s; animation: optIn .7s var(--ease) both;
}
.chip:hover { transform: translateY(-4px); box-shadow: 0 14px 26px rgba(42,27,22,.12); }
.chip .c { aspect-ratio: 1 / 1; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
.chip .n { display: block; font-family: var(--serif); font-size: 14px; margin-top: 10px; }
.chip .h { display: block; font-size: 11px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.avoid-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.avoid-row .chip .c { position: relative; overflow: hidden; }
.avoid-row .chip .c::after { content: ""; position: absolute; left: -10%; right: -10%; top: 50%; height: 1.5px; background: rgba(255,255,255,.9); transform: rotate(-35deg); box-shadow: 0 0 0 1px rgba(42,27,22,.35); }

.metals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metal-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px 12px; text-align: center; }
.metal-card .metal-orb { margin: 0 auto 12px; width: 56px; height: 56px; }
.metal-card .mn { font-family: var(--serif); font-size: 16px; }
.metal-card .mv { display: inline-block; margin-top: 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.mv.l2 { background: var(--ink); color: var(--ivory); }
.mv.l1 { border: 1px solid var(--ink); }
.mv.l0 { color: var(--muted); text-decoration: line-through; }
.metal-card.l0 .metal-orb { opacity: .55; }
.jewel-tip { margin: 18px 0 0; font-family: var(--serif); font-style: italic; color: var(--burgundy); }

/* mirror test */
.mirror { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 3vw, 36px); max-width: 620px; margin: 0 auto; }
.drape { text-align: center; }
.drape-frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: 50% 50% 18px 18px / 40% 40% 18px 18px;
  overflow: hidden; transition: background-color .6s var(--ease);
  display: flex; align-items: flex-end; justify-content: center;
}
.drape-frame .face { position: absolute; left: 14%; right: 14%; top: 8%; bottom: 22%; border-radius: 50% 50% 46% 46%; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.drape-frame .face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.drape-frame .cloth { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: inherit; filter: brightness(.94); border-radius: 50% 50% 0 0 / 30% 30% 0 0; }
.drape-label { margin: 14px 0 10px; font-family: var(--serif); font-size: 16px; }
.drape-label small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.mini-sw { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.mini-sw button { width: 28px; height: 28px; border-radius: 50%; border: 0; box-shadow: 0 0 0 1px rgba(42,27,22,.18); transition: transform .3s var(--ease), box-shadow .3s; }
.mini-sw button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ivory), 0 0 0 3.5px var(--ink); transform: scale(1.08); }
.mirror-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.privacy { text-align: center; font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }

/* looks */
.looks { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 36px); }
.look { background: var(--paper); border: 1px solid var(--line); padding: clamp(14px, 2vw, 22px); }
.look-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; gap: 12px; }
.look-head .no { font-family: var(--script); color: var(--gold); font-size: 34px; line-height: .8; }
.look-head h4 { font-family: var(--serif); font-weight: 400; font-size: 17px; margin: 0; flex: 1; }
.look-grid { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; }
.look-grid a:first-child { grid-row: 1 / span 2; }
.piece { position: relative; display: block; background: #fff; text-decoration: none; overflow: hidden; }
.piece .im { aspect-ratio: 3 / 4; background: #fff; }
.look-grid a:first-child .im { aspect-ratio: auto; }
.piece img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.piece:hover img { transform: scale(1.04); }
.look-grid a:first-child { display: flex; flex-direction: column; }
.look-grid a:first-child .im { flex: 1; min-height: 0; }
.piece .cap { padding: 8px 4px 2px; background: var(--paper); font-size: 12.5px; line-height: 1.3; }
.piece .cap b { display: block; font-weight: 400; }
.piece .cap span { color: var(--muted); }
.piece .go { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--ivory); display: grid; place-items: center; font-size: 14px; opacity: 0; transform: translateY(-4px); transition: .35s var(--ease); }
.piece:hover .go { opacity: 1; transform: none; }
.look-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; font-size: 14px; }
.look-foot .total { font-family: var(--serif); }

/* rehberden daha fazla takım */
#guideSec .sec-head { margin-top: 8px; }
.gchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.gchip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-size: 13.5px; cursor: pointer; transition: background .3s var(--ease), color .3s, border-color .3s; }
.gchip i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(42,27,22,.18); }
.gchip small { color: var(--muted); font-size: 11.5px; }
.gchip:hover { border-color: var(--ink); }
.gchip[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.gchip[aria-pressed="true"] small { color: rgba(248,244,239,.7); }
.gsets { display: grid; gap: clamp(18px, 3vw, 30px); }
.gset { background: var(--paper); border: 1px solid var(--line); padding: clamp(14px, 2vw, 22px); animation: gIn .5s var(--ease) both; }
@keyframes gIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.gset-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.gsw { width: 26px; height: 26px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(42,27,22,.15); }
.gset-head h4 { font-family: var(--serif); font-weight: 400; font-size: 18px; margin: 0; flex: 1; }
.gset-head h4 em { font-family: var(--script); font-style: normal; color: var(--gold); font-size: 1.5em; line-height: .6; margin-left: 2px; }
.gcount { font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.gset-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gset-grid .piece .cap s { opacity: .6; }
.gset-all { display: block; margin: 14px auto 0; }
.looks-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 820px) { .gset-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .gchips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 20px; padding: 0 16px 6px; scrollbar-width: none; }
  .gchips::-webkit-scrollbar { display: none; }
  .gchip { flex: none; }
}

/* seasons compare */
.seasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.season-card {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px; text-align: left; transition: transform .4s var(--ease), box-shadow .4s;
}
.season-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(42,27,22,.1); }
.season-card.me { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.season-card .strip { display: flex; height: 34px; border-radius: 6px; overflow: hidden; margin-bottom: 12px; }
.season-card .strip i { flex: 1; }
.season-card .sn { font-family: var(--serif); font-size: 15px; display: block; }
.season-card .st { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.season-card .badge { position: absolute; top: -9px; right: 12px; background: var(--ink); color: var(--ivory); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }

/* sonucu e-postayla gönder */
.mail-form { max-width: 560px; display: grid; gap: 12px; }
.mail-label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.mail-row { display: flex; gap: 10px; }
.mail-row input {
  flex: 1; min-width: 0; min-height: 54px; padding: 0 22px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper);
  color: var(--ink); font: inherit; font-size: 16px;
  transition: border-color .3s;
}
.mail-row input:focus { outline: none; border-color: var(--ink); }
.mail-row input[aria-invalid="true"] { border-color: var(--burgundy); }
.mail-row .btn { flex: none; }
.mail-row .btn:disabled { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.mail-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.mail-consent input { margin: 4px 0 0; accent-color: var(--burgundy); width: 16px; height: 16px; flex: none; }
.mail-msg { margin: 0; min-height: 1.4em; font-size: 14.5px; color: var(--ink); }
.mail-msg:empty { display: none; }
.mail-msg.bad { color: var(--burgundy); }
.mail-form .privacy { text-align: left; margin: 0; }
.mail-form .privacy a { color: inherit; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 560px) {
  .mail-row { flex-direction: column; }
  .mail-row .btn { width: 100%; }
}

.r-cta { text-align: center; padding: clamp(48px, 8vh, 80px) 0 24px; border-top: 1px solid var(--line); }
.r-cta h3 { font-size: clamp(28px, 4vw, 46px); margin: 6px 0 14px; }
.r-cta p { color: var(--muted); max-width: 34em; margin: 0 auto 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.disclaimer { font-size: 12px; color: var(--muted); text-align: center; margin: 36px auto 0; max-width: 40em; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 10; transform: translate(-50%, 20px);
  background: var(--ink); color: var(--ivory); padding: 12px 20px; border-radius: 999px; font-size: 14px;
  opacity: 0; pointer-events: none; transition: .4s var(--ease);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.share-dialog { width: min(440px, calc(100% - 32px)); padding: 24px; color: var(--ink); background: var(--ivory); border: 1px solid var(--line); }
.share-dialog::backdrop { background: rgba(42, 27, 22, .55); }
.share-dialog form { display: grid; gap: 14px; justify-items: start; }
.share-dialog input { width: 100%; padding: 10px; font: inherit; border: 1px solid var(--muted); }

/* reveal on scroll */
.reveal.will-reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.will-reveal:not(.in):not(:focus-within) { opacity: 0; transform: translateY(22px); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .seasons { grid-template-columns: repeat(3, 1fr); }
  .fam-grid { grid-template-columns: repeat(2, 1fr); }
  .floaters { display: none; }
}
@media (max-width: 820px) {
  .card { width: 100%; margin: 0; min-height: 100vh; min-height: 100dvh; box-shadow: none; }
  .welcome { grid-template-columns: 1fr; text-align: center; gap: 8px; }
  .welcome .lede { margin-left: auto; margin-right: auto; }
  .meta-row, .welcome-ctas { justify-content: center; }
  .know-hint { margin-left: auto; margin-right: auto; }
  .fan { order: -1; height: 250px; }
  .fan figure { width: min(120px, 28vw); }
  .r-hero { grid-template-columns: 1fr; text-align: center; }
  .r-hero .arch { order: -1; width: min(78%, 320px); }
  .traits { justify-content: center; }
  .r-desc { margin-left: auto; margin-right: auto; }
  .axes { grid-template-columns: 1fr; gap: 22px; }
  .two-col, .looks { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .topbar { padding-top: 16px; }
  .link-btn { font-size: 13px; }
  .screen { padding-top: 20px; }
  .options, .options.cols-3 { grid-template-columns: 1fr; gap: 10px; }
  .welcome-ctas .btn { width: 100%; }
  .fam-grid { grid-template-columns: 1fr 1fr; gap: 14px 10px; }
  .fam-name { font-size: 30px; }
  .picker .season-card { padding: 10px; }
  .picker .season-card .strip { height: 26px; }
  .options.metal-opts { grid-template-columns: repeat(3, 1fr); }
  .opt { min-height: 52px; justify-content: flex-start; text-align: left; padding: 12px 20px; }
  .opt.metal { justify-content: center; text-align: center; padding: 16px 6px 14px; }
  .metal-orb { width: 52px; height: 52px; }
  .question h2 { margin-bottom: 26px; }
  .palette { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .avoid-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .avoid-row .chip .n { overflow-wrap: anywhere; }
  .avoid-row .chip .h { letter-spacing: 0; }
  .metals { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .metal-card { padding-inline: 6px; }
  .metal-card .mv { letter-spacing: .07em; padding-inline: 6px; }
  .chip .n { font-size: 12.5px; }
  .seasons { grid-template-columns: repeat(2, 1fr); }
  .mirror { gap: 12px; }
  .mini-sw { gap: 6px; }
  .mini-sw button { width: 24px; height: 24px; }
  .piece .cap { font-size: 11.5px; }
  .cta-row { flex-direction: column; align-items: center; }
  .cta-row .btn { width: 100%; max-width: 340px; }
  .look-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 360px) {
  .avoid-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal.will-reveal:not(.in):not(:focus-within) { opacity: 1; transform: none; }
}
