:root {
  --ink: #1a1612;
  --ivory: #f4efe6;
  --ivory-deep: #e7dfd2;
  --gold: #c6a15a;
  --gold-soft: rgba(198, 161, 90, 0.45);
  --night: #100e0c;
  --panel: #181512;
  --muted: #8d8274;
  --danger: #a6533c;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--night);
  color: var(--ivory);
  font-family: "Outfit", "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
  overflow: hidden;
}

.wall {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(198, 161, 90, 0.16), transparent 55%),
    var(--night);
}

.timer-track {
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
}

#timer-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #8c6232, var(--gold));
  transform-origin: left center;
  transform: scaleX(1);
}

header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 28px 10px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.seal {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(198, 161, 90, 0.12);
}

.brand strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.brand small,
.region,
.counter,
.clock {
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
}

.region {
  margin: 0;
  color: var(--gold);
}

.header-meta {
  justify-self: end;
  display: flex;
  gap: 22px;
  align-items: baseline;
}

.counter, .clock, .region { margin: 0; }

.clock {
  color: var(--ivory);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
}

.stage {
  flex: 1;
  min-height: 0;
  padding: 8px 22px 22px;
}

.spread, .searching {
  height: 100%;
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 18px;
  animation: rise 700ms ease;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.frame {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #f7f3ec;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.photo {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f3ec;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 28px;
}

.shop {
  flex: 1.15;
  min-height: 180px;
  background: #211c17;
}

.shop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: drift 10s linear forwards;
}

@keyframes drift {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}

.caption {
  background: #14110e;
  padding: 20px 24px 18px;
}

.kicker {
  margin: 0 0 8px;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
}

h1, h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 460;
  letter-spacing: -0.03em;
  margin: 0;
}

h1 { font-size: clamp(34px, 4vw, 64px); line-height: 0.96; max-width: 16ch; }
h2 { font-size: clamp(30px, 3vw, 48px); line-height: 1; color: var(--ink); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chip {
  border: 1px solid rgba(243, 234, 220, 0.24);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #f3eadc;
}

.spec {
  margin: 12px 0 0;
  max-width: 62ch;
  color: rgba(244, 239, 230, 0.82);
  font-weight: 300;
  line-height: 1.45;
}

.vendor {
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: 12px;
}

.shop .tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(16, 14, 12, 0.72);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dossier {
  background: var(--ivory);
  color: var(--ink);
  border-radius: 22px;
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.dossier:only-child {
  justify-content: center;
  min-height: 100%;
}

.city {
  margin: 6px 0 0;
  color: #6d6256;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

.contacts {
  display: grid;
  gap: 10px;
  margin: 0;
}

.contacts div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  align-items: baseline;
  border-top: 1px solid rgba(26, 22, 18, 0.08);
  padding-top: 10px;
}

.contacts dt {
  margin: 0;
  color: #8a7d6e;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contacts dd {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  word-break: break-word;
}

.contacts dd.missing { color: #a3988c; font-weight: 400; }

.ledger {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #6d6256;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.ledger strong { color: #2f6b45; font-weight: 600; }
.ledger em { color: var(--danger); font-style: normal; }

.searching {
  grid-template-columns: 1.1fr 0.9fr;
}

.search-copy, .phases {
  border-radius: 22px;
  min-height: 0;
}

.search-copy {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(520px 320px at 28% 42%, rgba(198, 161, 90, 0.2), transparent 70%),
    linear-gradient(180deg, rgba(16, 14, 12, 0.15), rgba(16, 14, 12, 0.72)),
    #1c1814;
  position: relative;
  overflow: hidden;
}

.search-copy img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}

.search-copy .copy {
  position: relative;
  z-index: 1;
}

.phases {
  background: #211c17;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.phases ol {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.phases li {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 16px;
}

.phases li.on { color: var(--ivory); }
.phases li .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.phases li.on .dot { background: var(--gold); box-shadow: 0 0 0 6px rgba(198, 161, 90, 0.15); }

.why {
  margin: 0;
  color: #6d6256;
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 900px) {
  body { overflow: auto; }
  .wall { height: auto; min-height: 100vh; }
  header { grid-template-columns: 1fr; gap: 8px; }
  .header-meta { justify-self: start; }
  .spread, .searching { grid-template-columns: 1fr; height: auto; }
  .frame { min-height: 420px; }
  .shop { min-height: 240px; }
}
