/* FizzCats — editorial house style
   Serif display + quiet sans, ivory paper, ink, and a single brass accent. */

:root {
  --ink: #101a26;
  --ink-2: #1d2c3d;
  --body: #303c4a;
  --muted: #7a8794;
  --paper: #faf7f2;
  --paper-2: #ffffff;
  --rule: rgba(16, 26, 38, 0.12);
  --rule-soft: rgba(16, 26, 38, 0.07);
  --brass: #9a7b34;
  --brass-lt: #c3a463;
  --fizz: #1a6b74;
  --serif: "Cormorant Garamond", "Iowan Old Style", Garamond, Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow: 0 1px 2px rgba(16, 26, 38, 0.04), 0 12px 32px -20px rgba(16, 26, 38, 0.35);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

a { color: var(--ink); text-decoration-color: var(--rule); text-underline-offset: 3px; }
a:hover { color: var(--brass); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 14px;
}

.muted { color: var(--muted); }
.centered { text-align: center; }

/* ---------- Top strip ---------- */

.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 40px;
}
.topbar-note {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  white-space: nowrap;
}
.topbar-center { color: rgba(255, 255, 255, 0.4); }
.topbar-link {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--brass-lt);
  text-decoration: none;
  white-space: nowrap;
}
.topbar-link:hover { color: #fff; }
@media (max-width: 780px) { .topbar-center { display: none; } }

/* ---------- Masthead ---------- */

.masthead {
  background:
    radial-gradient(120% 90% at 50% -30%, rgba(26, 107, 116, 0.07), transparent 60%),
    var(--paper);
  text-align: center;
  padding: 56px 0 40px;
}
.masthead .eyebrow { color: var(--muted); }
.wordmark {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 9vw, 5.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark:hover { color: var(--ink); }
.masthead-sub {
  max-width: 42rem;
  margin: 18px auto 0;
  font-family: var(--serif);
  font-size: 1.22rem;
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- Navigation ---------- */

.site-nav {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: saturate(140%) blur(6px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 54px;
}
.site-nav a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-decoration: none;
  padding: 8px 18px;
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--brass); }
.nav-dot { color: var(--rule); font-size: 0.6rem; }
@media (max-width: 640px) { .nav-dot { display: none; } }

.main { padding: 64px 0 88px; }

/* ---------- Page heads ---------- */

.page-head {
  max-width: 46rem;
  margin: 0 auto 52px;
  text-align: center;
}
.display {
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  line-height: 1.12;
  margin: 0 0 18px;
  font-weight: 500;
}
.lede {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ---------- Filters ---------- */

.filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 34px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--rule-soft);
}
.filters-label {
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 10px;
}
.chip {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-decoration: none;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 7px 18px;
  background: var(--paper-2);
  transition: all 0.2s ease;
}
.chip:hover { border-color: var(--brass-lt); color: var(--brass); }
.chip.on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ---------- Layout ---------- */

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 72px;
  align-items: start;
}
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; gap: 48px; } }

/* ---------- Journal entries ---------- */

.entry {
  padding: 0 0 38px;
  margin-bottom: 38px;
  border-bottom: 1px solid var(--rule-soft);
}
.entry:last-child { border-bottom: 0; margin-bottom: 0; }

.entry-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.entry-meta.centered { justify-content: center; }
.dot { color: var(--rule); }
.byline { color: var(--muted); }

.entry-title {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 12px;
}
.entry-lead .entry-title { font-size: 2.7rem; }
.entry-title a { color: var(--ink); text-decoration: none; }
.entry-title a:hover { color: var(--brass); }

.entry-summary {
  font-family: var(--serif);
  font-size: 1.24rem;
  font-weight: 300;
  color: var(--body);
  margin: 0 0 16px;
  line-height: 1.62;
}
.entry-lead .entry-summary { font-size: 1.35rem; }

.more {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  text-decoration: none;
}
.more:hover { color: var(--ink); }
.more .arrow { display: inline-block; transition: transform 0.2s ease; }
.more:hover .arrow { transform: translateX(4px); }

.badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 3px 10px;
  border: 1px solid currentColor;
  border-radius: 2px;
}
.topic-cats { color: #8a5a3b; }
.topic-sparkling { color: var(--fizz); }
.topic-both { color: var(--brass); }

/* ---------- Panels & sidebar ---------- */

.panel {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.panel-head {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--ink);
  margin: 0 0 4px;
}
.panel-sub {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.55;
}

.ranking { list-style: none; margin: 0 0 20px; padding: 0; }
.ranking li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--rule-soft);
}
.ranking li:first-child { border-top: 0; }
.rank {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--brass-lt);
  min-width: 18px;
}
.rank-body { display: block; }
.rank-flavor {
  display: block;
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--ink);
  line-height: 1.3;
}
.rank-brand {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 2px 0 6px;
}

.rating { display: inline-flex; align-items: center; gap: 5px; }
.pip {
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  border: 1px solid var(--brass-lt);
  display: inline-block;
}
.pip.on { background: var(--brass); border-color: var(--brass); }

.panel-quote {
  background: var(--ink);
  border-color: var(--ink);
  text-align: center;
  padding: 34px 28px;
}
.pull {
  font-family: var(--serif);
  font-size: 1.38rem;
  font-style: italic;
  color: #f3efe7;
  line-height: 1.5;
  margin: 0 0 14px;
}
.pull-attr {
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-lt);
  margin: 0;
}

.empty-state { text-align: center; }
.empty-state p:last-child { margin-bottom: 0; }

/* ---------- Article ---------- */

.article { max-width: 44rem; margin: 0 auto; }
.article-head { text-align: center; margin-bottom: 40px; }
.article-title { margin-bottom: 20px; }
.standfirst {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 auto;
  max-width: 36rem;
}
.ornament {
  display: block;
  margin-top: 28px;
  color: var(--brass-lt);
  font-size: 0.9rem;
}

.prose { font-size: 1.12rem; line-height: 1.85; color: var(--body); }
.prose p { margin: 0 0 1.5em; }
.prose > p:first-of-type::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 3.9rem;
  line-height: 0.82;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 12px 0 0;
}

/* ---------- Comments ---------- */

.comments { max-width: 44rem; margin: 72px auto 0; }
.section-rule {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
  color: var(--muted);
}
.section-rule::before,
.section-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.section-rule span {
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.comment {
  border-left: 2px solid var(--brass-lt);
  padding: 2px 0 2px 20px;
  margin-bottom: 26px;
}
.comment-meta {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}
.comment-body { font-family: var(--serif); font-size: 1.12rem; }
.comment-body p { margin: 0 0 0.8em; }

.form-panel { margin-top: 40px; }
.comment-form p { margin: 0 0 18px; }
.comment-form label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--paper);
  font-family: var(--sans);
  font-size: 0.97rem;
  font-weight: 300;
  color: var(--ink);
}
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--brass-lt);
  box-shadow: 0 0 0 3px rgba(195, 164, 99, 0.16);
}
.comment-form .helptext,
.comment-form ul.errorlist {
  font-size: 0.78rem;
  color: var(--muted);
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
}
.comment-form ul.errorlist { color: #a3392f; }
.comment-form button {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 13px 30px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.comment-form button:hover { background: var(--brass); border-color: var(--brass); }
.fineprint { font-size: 0.78rem; color: var(--muted); margin: 16px 0 0; }

.back-link { margin-top: 56px; }

/* ---------- Tiles (reviews & staff) ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.tile {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 30px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.tile:hover {
  transform: translateY(-3px);
  border-color: var(--brass-lt);
  box-shadow: 0 1px 2px rgba(16, 26, 38, 0.05), 0 22px 44px -26px rgba(16, 26, 38, 0.5);
}
.tile-brand {
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}
.tile-title {
  font-size: 1.75rem;
  line-height: 1.2;
  margin: 0 0 14px;
}
.rating-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule-soft);
}
.score { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.score-of { color: var(--muted); font-size: 0.85rem; }
.tile-notes {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--body);
  margin: 0 0 18px;
}
.tile-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.tile-foot strong { color: var(--ink); font-weight: 500; }
.seal {
  border: 1px solid var(--brass-lt);
  color: var(--brass);
  border-radius: 999px;
  padding: 3px 11px;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
}

.tile-cat { text-align: center; }
.tile-cat .tile-foot { justify-content: center; }
.cat-photo {
  width: 108px;
  height: 108px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: block;
  border: 1px solid var(--rule);
}
.monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border: 1px solid var(--brass-lt);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--brass);
}

/* ---------- Messages ---------- */

.messages { list-style: none; padding: 0; margin: 0 0 36px; }
.msg {
  border: 1px solid var(--rule);
  border-left: 2px solid var(--fizz);
  background: var(--paper-2);
  border-radius: 2px;
  padding: 14px 18px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.msg.error { border-left-color: #a3392f; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  padding: 64px 0 28px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 44px;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 34px; } }
.footer-mark {
  font-family: var(--serif);
  font-size: 1.9rem;
  color: #f3efe7;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.footer-blurb { margin: 0 0 14px; line-height: 1.7; color: rgba(255, 255, 255, 0.55); }
.footer-head {
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-lt);
  margin: 0 0 14px;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 8px; }
.footer-list a,
.footer-cta,
.site-footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.footer-list a:hover,
.footer-cta:hover,
.site-footer a:hover { color: var(--brass-lt); }
.footer-cta {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-lt);
}
.footer-rule {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
}
.footer-rule p {
  margin: 0;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}
