:root {
  --ink: #0b0b0b;
  --paper: #f7f5ef;
  --cream: #ebe6da;
  --gold: #b99650;
  --gold-light: #d8c18a;
  --line: rgba(11, 11, 11, 0.16);
  --muted: #68645d;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

button { font: inherit; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 50;
  padding: 10px 14px;
  background: #fff;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  padding: 28px clamp(22px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  width: min(230px, 55vw);
  text-decoration: none;
}

.wordmark-main {
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.wordmark-main strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35em;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.wordmark-main sup { font-size: 7px; vertical-align: top; }

.wordmark-rule {
  display: block;
  height: 1px;
  width: 100%;
  margin: 7px 0 5px;
  background: var(--gold-light);
}

.wordmark-tag {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.wordmark-tag i { color: var(--gold-light); font-style: normal; }

.store-link {
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,.55);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero {
  min-height: 88vh;
  padding: 165px clamp(22px, 9vw, 138px) 90px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: #fff;
  background:
    radial-gradient(circle at 73% 34%, rgba(185,150,80,.2), transparent 26%),
    linear-gradient(112deg, rgba(0,0,0,.98) 0%, rgba(7,7,7,.93) 55%, rgba(20,18,14,.88) 100%),
    #090909;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "888";
  position: absolute;
  right: -0.08em;
  top: 47%;
  transform: translateY(-50%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(190px, 31vw, 500px);
  line-height: .7;
  letter-spacing: -.11em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(216,193,138,.14);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: 8vw;
  bottom: 0;
  width: 1px;
  height: 24%;
  background: linear-gradient(transparent, var(--gold));
}

.eyebrow, .kicker, .panel-heading p, .result-kicker {
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
}

.hero h1 {
  max-width: 920px;
  margin: 24px 0 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 7.4vw, 108px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.045em;
}

.hero h1 em, .closing h2 em {
  color: var(--gold-light);
  font-weight: 400;
}

.hero > p {
  max-width: 590px;
  margin: 0 0 38px;
  color: rgba(255,255,255,.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.begin-link {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-decoration: none;
  text-transform: uppercase;
}

.guide-section { padding: clamp(70px, 9vw, 140px) clamp(20px, 7vw, 108px); }

.guide-intro {
  max-width: 1220px;
  margin: 0 auto 52px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 26px;
  align-items: start;
}

.section-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  color: var(--gold);
}

.kicker { margin: 4px 0 15px; color: #8b713d; }

.guide-intro h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(37px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: -.035em;
}

.guide-copy {
  max-width: 610px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.finder-shell {
  max-width: 1220px;
  min-height: 590px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 58px);
  background: #fff;
  border: 1px solid rgba(185,150,80,.26);
  box-shadow: 0 24px 70px rgba(25,20,9,.08);
}

.progress {
  max-width: 570px;
  margin: 0 auto 56px;
  display: flex;
  align-items: flex-start;
}

.progress-item {
  min-width: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #a7a39c;
}

.progress-item span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid #d6d2ca;
  border-radius: 50%;
  background: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

.progress-item small {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.progress-item.is-active { color: var(--ink); }
.progress-item.is-active span { border-color: var(--gold); background: var(--gold); color: #fff; }

.progress-line { flex: 1; height: 1px; margin-top: 15px; background: #ddd8cf; }

.panel { animation: fadeUp .35s ease both; }
.panel[hidden] { display: none; }

.panel-heading { margin-bottom: 30px; text-align: center; }
.panel-heading p { margin: 0 0 10px; color: #8b713d; }
.panel-heading h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 47px);
  font-weight: 400;
}

.option-grid {
  display: grid;
  gap: 13px;
}

.intention-grid { grid-template-columns: repeat(3, 1fr); }
.type-grid { max-width: 850px; margin: 0 auto; grid-template-columns: repeat(2, 1fr); }

.option-card {
  min-height: 132px;
  padding: 23px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.option-card:hover, .option-card:focus-visible {
  outline: none;
  transform: translateY(-3px);
  border-color: var(--gold);
  background: #fbfaf6;
}

.option-icon { color: var(--gold); font-family: Georgia, "Times New Roman", serif; font-size: 26px; }
.option-title { font-family: Georgia, "Times New Roman", serif; font-size: 21px; }
.option-copy { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.45; }

.back-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}

.message-list {
  max-width: 850px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.message-button {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, padding .2s ease, background .2s ease;
}

.message-button span { color: var(--gold); font-family: Inter, sans-serif; font-size: 15px; }
.message-button:hover, .message-button:focus-visible { outline: none; border-color: var(--gold); background: #fbfaf6; padding-left: 26px; }

.result-layout {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) 1.1fr;
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.result-image-wrap {
  min-height: 420px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #efede8;
}

.result-image-wrap::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(185,150,80,.35);
  pointer-events: none;
}

#result-image { width: 100%; height: 100%; max-height: 500px; object-fit: contain; mix-blend-mode: multiply; }

.result-stamp {
  position: absolute;
  z-index: 2;
  top: 28px;
  left: 28px;
  padding: 8px 10px;
  background: var(--ink);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .17em;
}

.result-kicker { color: #8b713d; }
.result-content h3 {
  margin: 12px 0 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 400;
  line-height: 1.02;
}

.result-type { margin: 0 0 25px; color: #8b713d; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.result-reason { max-width: 570px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.result-content blockquote { margin: 26px 0; padding-left: 18px; border-left: 2px solid var(--gold); font-family: Georgia, "Times New Roman", serif; font-size: 18px; font-style: italic; line-height: 1.5; }

.primary-button {
  display: inline-flex;
  gap: 34px;
  align-items: center;
  padding: 17px 20px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, transform .2s ease;
}

.primary-button:hover, .primary-button:focus-visible { outline: none; background: #8b713d; transform: translateY(-2px); }

.text-button {
  display: block;
  margin-top: 18px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
}

.closing {
  padding: clamp(82px, 11vw, 160px) 24px;
  color: #fff;
  background: var(--ink);
  text-align: center;
}

.closing > p { margin: 0 0 24px; color: var(--gold-light); font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.closing h2 { margin: 0 0 38px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 7vw, 92px); font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.closing a { display: inline-block; padding-bottom: 7px; border-bottom: 1px solid var(--gold-light); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; }

footer {
  padding: 25px clamp(22px, 5vw, 76px);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background: #050505;
  color: rgba(255,255,255,.45);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 800px) {
  .store-link { display: none; }
  .hero { min-height: 760px; padding-top: 150px; }
  .hero::before { top: 33%; right: -.2em; font-size: 60vw; }
  .guide-intro { grid-template-columns: 1fr; }
  .section-number { font-size: 25px; }
  .intention-grid, .type-grid, .message-list { grid-template-columns: 1fr; }
  .option-card { min-height: 112px; }
  .result-layout { grid-template-columns: 1fr; }
  .result-image-wrap { min-height: 330px; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
