:root {
  --ink: #24211f;
  --muted: #6c625c;
  --paper: #f6f8f7;
  --panel: #ffffff;
  --line: #dfe6e2;
  --accent: #007f91;
  --accent-dark: #075867;
  --wine: #9b3142;
  --gold: #c08b35;
  --shadow: 0 24px 70px rgba(33, 47, 48, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(246, 248, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a,
.button,
.filter,
.social-links a,
.featured-review a,
.email-link {
  border-radius: 8px;
  text-decoration: none;
}

.main-nav a {
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 700;
}

.main-nav a:hover {
  color: var(--ink);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: clamp(42px, 7vw, 100px) clamp(18px, 5vw, 72px) 56px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 10vw, 8.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.12;
}

.lede {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.36rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  font-weight: 800;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.ghost {
  color: var(--ink);
}

.featured-review {
  display: grid;
  gap: 18px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.featured-review img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  border-radius: 6px;
  background: #edf2ef;
}

.featured-review span {
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.featured-review p {
  color: var(--muted);
}

.featured-review a {
  display: inline-flex;
  padding: 10px 12px;
  background: #eef7f8;
  color: var(--accent-dark);
  font-weight: 800;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.stats div {
  padding: 24px clamp(18px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: 0;
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
}

.stats span {
  color: var(--muted);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 78px clamp(18px, 5vw, 72px) 22px;
}

.search {
  display: grid;
  gap: 8px;
  min-width: min(360px, 100%);
  color: var(--muted);
  font-weight: 800;
}

.search input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 clamp(18px, 5vw, 72px) 28px;
}

.filter {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.filter.active,
.filter:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 0 clamp(18px, 5vw, 72px) 90px;
}

.review-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(33, 47, 48, 0.08);
}

.review-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: contain;
  background: #edf2ef;
}

.cover-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 11;
  padding: 22px;
  background: #182224;
  color: #fff;
  text-align: center;
}

.cover-placeholder span {
  max-width: 16ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  line-height: 1;
}

.review-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.meta,
.tags {
  color: var(--muted);
  font-size: 0.82rem;
}

.meta {
  margin-bottom: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.review-card p {
  color: var(--muted);
}

.tags {
  margin-top: auto;
  padding-top: 12px;
}

.review-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.review-card a {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.review-count {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.reader {
  padding: 0 clamp(18px, 5vw, 72px) 90px;
}

.reader[hidden] {
  display: none;
}

.reader-close {
  min-height: 42px;
  margin-bottom: 18px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.reader-article {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(22px, 5vw, 58px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.reader-header h1 {
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 6vw, 5rem);
  line-height: 0.98;
}

.reader-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.reader-tags span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.reader-body {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.75;
}

.reader-body h1,
.reader-body h2,
.reader-body h3 {
  margin-top: 1.2em;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  line-height: 1.1;
}

.reader-body p,
.reader-body div {
  max-width: 74ch;
}

.reader-body img {
  display: block;
  max-width: min(100%, 520px);
  max-height: 760px;
  margin: 28px auto;
  object-fit: contain;
  border-radius: 8px;
  background: #edf2ef;
}

.reader-body a {
  color: var(--accent-dark);
  font-weight: 800;
}

.comments {
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.comments-head h2 {
  margin-bottom: 18px;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
}

.comment-form {
  display: grid;
  gap: 14px;
  max-width: 720px;
  padding: 18px;
  background: #f6f8f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.comment-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.comment-form textarea {
  resize: vertical;
}

.comment-form button {
  justify-self: start;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.comment-list {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin-top: 18px;
}

.comment-empty,
.comment-item {
  margin: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.comment-empty {
  color: var(--muted);
}

.comment-item header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 8px;
}

.comment-item span {
  color: var(--muted);
  font-size: 0.84rem;
}

.comment-item p {
  margin: 0;
  color: var(--ink);
}

.reader-footer {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.reader-footer a {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.about,
.contact {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  padding: 76px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.about p,
.contact p {
  color: var(--muted);
  font-size: 1.1rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  grid-column: 2;
}

.social-links a,
.email-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--accent-dark);
  font-weight: 800;
}

.email-link {
  justify-self: start;
  font-size: clamp(1.15rem, 3vw, 2rem);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: #fff;
}

.site-footer a {
  color: #dff8fb;
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-header,
  .section-head,
  .about,
  .contact {
    align-items: stretch;
    flex-direction: column;
  }

  .site-header {
    position: static;
  }

  .hero,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .stats,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-links {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .brand small {
    display: none;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
  }

  .main-nav a {
    padding-inline: 8px;
  }

  .stats,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats div:last-child {
    border-bottom: 0;
  }
}
