/* ============================================================
   Waterloo Antique Mall — nostalgic Americana ephemera
   Aged paper sepia · mustard gold · faded teal · brick red · walnut ink
   Fonts: Abril Fatface (poster display) + Special Elite (typewriter tags)
   + Lora (body)
   Signature motifs: ticket-stub cards (dashed perforation edges),
   price-tag pills, double-rule frames, sepia photo treatment
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Special+Elite&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --paper: #f6efdf;
  --paper-deep: #ece1c8;
  --panel: #fdf9ef;
  --line: #d9caa8;
  --mustard: #c9962a;
  --mustard-deep: #a67a1b;
  --teal: #4e8578;
  --teal-deep: #38635a;
  --teal-soft: #e2ece8;
  --brick: #9c4632;
  --brick-deep: #7b3323;
  --ink: #3b2f26;
  --muted: #7d6f5c;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(59, 47, 38, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Lora', Georgia, serif;
  font-size: 1.04rem;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
::selection { background: var(--mustard); color: #fff; }

h1, h2, h3 { font-family: 'Abril Fatface', Georgia, serif; font-weight: 400; line-height: 1.12; letter-spacing: 0.01em; }
.type { font-family: 'Special Elite', monospace; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.4rem; }
a { color: var(--teal-deep); }

/* ---------- double-rule divider ---------- */
.rule2 {
  height: 7px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  opacity: 0.65;
}

/* ---------- topbar & header ---------- */
.topbar {
  background: var(--ink);
  color: #e9ddc6;
  font-size: 0.88rem;
  text-align: center;
  padding: 0.45rem 1rem;
  font-family: 'Special Elite', monospace;
}
.topbar strong { color: var(--mustard); }
.topbar a { color: #ecc978; font-weight: 700; text-decoration: none; }

header.site {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 14px rgba(59,47,38,0.08);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.65rem 1.4rem; max-width: 1180px; margin: 0 auto; flex-wrap: wrap;
}
.brand { text-decoration: none; display: flex; align-items: center; gap: 0.75rem; }
.brand-mark {
  width: 52px; height: 46px; flex-shrink: 0;
  background: var(--mustard);
  border: 2px solid var(--ink);
  border-radius: 6px;
  position: relative;
  display: grid; place-items: center;
  font-size: 1.3rem;
  /* ticket-stub notches */
  -webkit-mask: radial-gradient(circle 7px at 0 50%, transparent 6px, #000 7px) left / 51% 100% no-repeat,
                radial-gradient(circle 7px at 100% 50%, transparent 6px, #000 7px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 7px at 0 50%, transparent 6px, #000 7px) left / 51% 100% no-repeat,
        radial-gradient(circle 7px at 100% 50%, transparent 6px, #000 7px) right / 51% 100% no-repeat;
}
.brand-name {
  font-family: 'Abril Fatface', Georgia, serif;
  font-size: 1.45rem; color: var(--brick-deep); line-height: 1;
}
.brand-tag {
  display: block; font-family: 'Special Elite', monospace;
  font-size: 0.66rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); margin-top: 0.25rem;
}
nav.main { display: flex; align-items: center; gap: 0.25rem; flex-wrap: wrap; }
nav.main a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.96rem;
  font-family: 'Lora', serif;
  padding: 0.45rem 0.9rem; border-radius: 6px; transition: background 0.15s, color 0.15s;
}
nav.main a:hover { background: var(--teal-soft); color: var(--teal-deep); }
nav.main a.active { background: var(--ink); color: var(--paper); }
nav.main a.cta { background: var(--brick); color: #fff; margin-left: 0.35rem; }
nav.main a.cta:hover { background: var(--brick-deep); color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 76vh;
  display: flex; align-items: flex-end;
  color: #fff; isolation: isolate; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: sepia(0.25) saturate(0.9); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(38,29,21,0.35) 0%, rgba(38,29,21,0.1) 40%, rgba(30,23,16,0.88) 100%);
}
.hero-inner { padding-top: 5.5rem; padding-bottom: 3.2rem; width: 100%; }
.hero .kicker {
  display: inline-block; background: var(--mustard);
  color: var(--ink); font-family: 'Special Elite', monospace; font-size: 0.8rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.4rem 1.05rem; border-radius: 4px; margin-bottom: 1.1rem;
}
.hero h1 {
  color: #fff; font-size: clamp(2.3rem, 5.2vw, 3.9rem);
  max-width: 17ch; text-shadow: 0 3px 22px rgba(0,0,0,0.55);
}
.hero h1 em { font-style: normal; color: #ecc978; }
.hero p.lede {
  max-width: 56ch; margin: 1.1rem 0 1.8rem;
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  color: #f1e7d2; text-shadow: 0 2px 12px rgba(0,0,0,0.55);
}
.hero .btns { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1rem; }
.hero--page { min-height: 44vh; }
.hero--page .hero-inner { padding-top: 4rem; padding-bottom: 2.4rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  font-family: 'Lora', serif; font-size: 1rem;
  padding: 0.8rem 1.7rem; border-radius: 6px;
  transition: transform 0.12s, box-shadow 0.12s, background 0.15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.22); }
.btn-brick { background: var(--brick); color: #fff; }
.btn-brick:hover { background: var(--brick-deep); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-deep); }
.btn-mustard { background: var(--mustard); color: var(--ink); }
.btn-mustard:hover { background: var(--mustard-deep); color: #fff; }
.btn-cream { background: var(--panel); color: var(--brick-deep); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.75); }
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* ---------- info strip ---------- */
.info-strip { background: var(--teal-deep); color: #e7efeb; }
.info-strip .wrap {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.5rem 2rem; padding: 1.1rem 1.4rem;
}
.info-strip .cell { display: flex; align-items: center; gap: 0.75rem; font-size: 0.96rem; }
.info-strip .cell strong { display: block; font-family: 'Special Elite', monospace; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: #ecc978; }
.info-strip a { color: #e7efeb; text-decoration: none; }
.info-strip a:hover { color: #fff; text-decoration: underline; }
.info-ico { font-size: 1.5rem; line-height: 1; }

/* ---------- sections ---------- */
section.block { padding: 4.4rem 0; }
section.block--deep { background: var(--paper-deep); }
section.block--teal { background: var(--teal-soft); }
.eyebrow {
  font-family: 'Special Elite', monospace; font-size: 0.9rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brick); margin-bottom: 0.4rem;
}
.block h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); margin-bottom: 0.6rem; color: var(--ink); }
.block h2 em { font-style: normal; color: var(--brick); }
.block .sub { color: var(--muted); max-width: 63ch; margin-bottom: 2.2rem; font-size: 1.06rem; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

/* ---------- ticket-stub cards ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
  background: var(--panel); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 1px solid var(--line);
}
.card:hover { transform: translateY(-5px) rotate(0.4deg); box-shadow: 0 16px 40px rgba(59,47,38,0.22); }
.card img { height: 210px; width: 100%; object-fit: cover; filter: sepia(0.15); }
.card .pad { padding: 1.2rem 1.3rem 1.4rem; flex: 1; }
.card h3 { font-size: 1.25rem; margin-bottom: 0.35rem; color: var(--brick-deep); }
.card p { color: var(--muted); font-size: 0.96rem; }
/* dashed "perforation" between image and pad */
.card .pad { border-top: 2px dashed var(--line); position: relative; }
.card .pad::before, .card .pad::after {
  content: ""; position: absolute; top: -9px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--paper);
  border: 1px solid var(--line);
}
.card .pad::before { left: -9px; }
.card .pad::after { right: -9px; }

/* ---------- price-tag pill ---------- */
.tag {
  display: inline-block; background: var(--mustard); color: var(--ink);
  font-family: 'Special Elite', monospace; font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 3px 999px 999px 3px; padding: 0.15rem 0.8rem 0.15rem 0.55rem;
  margin-left: 0.45rem; vertical-align: 2px; position: relative;
}
.tag::before {
  content: "•"; color: var(--panel); margin-right: 0.35rem;
}

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.split.rev { grid-template-columns: 1fr 1.05fr; }
.split-img {
  border-radius: 4px; overflow: hidden; box-shadow: var(--shadow);
  border: 10px solid #fff; outline: 1px solid var(--line); transform: rotate(-1deg);
}
.split.rev .split-img { transform: rotate(1deg); }
.split-img img { width: 100%; height: 100%; object-fit: cover; filter: sepia(0.18); }
@media (max-width: 840px) { .split, .split.rev { grid-template-columns: 1fr; gap: 1.8rem; } }

ul.checks { list-style: none; margin-top: 1rem; }
ul.checks li { padding-left: 2rem; position: relative; margin-bottom: 0.65rem; }
ul.checks li::before { content: "🎟️"; position: absolute; left: 0; top: 0.05rem; font-size: 0.95rem; }

/* ---------- reviews ---------- */
.review {
  background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.8rem 1.7rem 1.5rem; position: relative; border: 1px solid var(--line);
  border-bottom: 4px solid var(--mustard);
}
.review::before {
  content: "\201C"; font-family: 'Abril Fatface', serif; font-size: 3.4rem;
  color: var(--paper-deep); position: absolute; top: 0.5rem; left: 1.1rem; line-height: 1;
}
.review p { position: relative; font-size: 1rem; margin-bottom: 1rem; padding-top: 0.9rem; }
.review .who { font-family: 'Special Elite', monospace; color: var(--teal-deep); font-size: 0.88rem; }
.review .stars { color: var(--mustard-deep); letter-spacing: 0.12em; margin-bottom: 0.2rem; }

/* ---------- timeline (the story) ---------- */
.timeline { list-style: none; position: relative; margin: 2rem 0 0; padding-left: 2.2rem; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px;
  width: 3px; border-radius: 2px; background: var(--line);
}
.timeline li { position: relative; margin-bottom: 1.6rem; }
.timeline li::before {
  content: ""; position: absolute; left: -2.2rem; top: 0.35rem;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--mustard); border: 3px solid var(--panel);
  box-shadow: 0 0 0 1px var(--line);
}
.timeline .yr {
  font-family: 'Special Elite', monospace; font-size: 0.85rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--brick);
}
.timeline h3 { font-size: 1.15rem; margin: 0.1rem 0 0.25rem; }
.timeline p { color: var(--muted); font-size: 0.97rem; }

/* ---------- category chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chips span {
  background: var(--panel); border: 1px solid var(--line);
  font-family: 'Special Elite', monospace; font-size: 0.88rem;
  color: var(--ink); border-radius: 4px; padding: 0.4rem 0.95rem;
  box-shadow: 0 2px 6px rgba(59,47,38,0.08);
}

/* ---------- banner ---------- */
.banner {
  position: relative; color: #fff; isolation: isolate; overflow: hidden;
  border-radius: var(--radius);
}
.banner img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: sepia(0.25); }
.banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(30,23,16,0.9) 0%, rgba(30,23,16,0.55) 60%, rgba(30,23,16,0.25) 100%);
}
.banner .pad { padding: 3.2rem 2.6rem; max-width: 62%; }
.banner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 0.7rem; }
.banner p { color: #efe5d0; margin-bottom: 1.5rem; }
@media (max-width: 720px) { .banner .pad { max-width: 100%; padding: 2.4rem 1.6rem; } }

/* ---------- hours & visit ---------- */
table.hours { width: 100%; border-collapse: collapse; }
table.hours td { padding: 0.7rem 0.4rem; border-bottom: 2px dotted var(--line); font-size: 1.02rem; }
table.hours td:last-child { text-align: right; font-weight: 700; }
table.hours tr.today td { color: var(--brick-deep); font-weight: 700; }
table.hours tr.closed td { color: var(--muted); }

.map-frame {
  border-radius: 4px; overflow: hidden; box-shadow: var(--shadow);
  border: 10px solid #fff; outline: 1px solid var(--line);
}
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }

.loc-card {
  background: var(--panel); border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow); padding: 1.8rem 1.7rem;
}
.loc-card h3 { color: var(--brick-deep); font-size: 1.3rem; margin-bottom: 0.4rem; }

.tip {
  background: var(--teal-soft); border-left: 5px solid var(--teal);
  border-radius: 0 10px 10px 0; padding: 1rem 1.3rem;
  font-size: 0.97rem; margin: 1.6rem 0;
}
.tip strong { color: var(--teal-deep); }

/* ---------- open badge ---------- */
.open-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 0.9rem; border-radius: 999px;
  padding: 0.35rem 1rem; margin-top: 0.9rem; font-family: 'Lora', serif;
}
.open-badge .dot { width: 10px; height: 10px; border-radius: 50%; }
.open-badge.is-open { background: rgba(78, 133, 120, 0.15); color: var(--teal-deep); }
.open-badge.is-open .dot { background: var(--teal); box-shadow: 0 0 0 4px rgba(78,133,120,0.25); }
.open-badge.is-closed { background: rgba(156, 70, 50, 0.1); color: var(--brick-deep); }
.open-badge.is-closed .dot { background: var(--brick); }

/* ---------- footer ---------- */
footer.site { background: var(--ink); color: #e9ddc6; }
footer.site .cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.2rem; padding: 3rem 0 2rem;
}
@media (max-width: 860px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { footer.site .cols { grid-template-columns: 1fr; } }
footer.site h4 { font-family: 'Special Elite', monospace; color: #fff; font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.8rem; }
footer.site a { color: #e9ddc6; text-decoration: none; }
footer.site a:hover { color: #fff; text-decoration: underline; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 0.45rem; font-size: 0.95rem; }
footer.site .brand-foot { font-family: 'Abril Fatface', serif; font-size: 1.5rem; color: var(--mustard); }
footer.site p.small { font-size: 0.9rem; color: #c3b391; margin-top: 0.6rem; }
.footnote {
  border-top: 1px solid rgba(233,221,198,0.25);
  padding: 1.2rem 0 1.6rem; font-size: 0.85rem; color: #ab9a76; text-align: center;
}
.footnote strong { color: #e9ddc6; }
.footnote a { color: #ecc978; }

@media (max-width: 640px) {
  .hero { min-height: 62vh; }
  nav.main { justify-content: center; width: 100%; }
  .nav-row { justify-content: center; }
}
