:root {
  --bg: #ffffff;
  --text: #000000;
  --muted: #444444;
  --line: #000000;
  --line-soft: rgba(0, 0, 0, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  padding: 0 24px 80px;
  color: var(--text);
  background: var(--bg);
  font-family: "Times New Roman", Times, serif;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  animation: slideDown 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand,
.site-nav a,
.inline-link {
  color: var(--text);
  text-decoration: none;
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 1rem;
  position: relative;
}

main {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section {
  display: grid;
  justify-items: center;
  padding-block: clamp(72px, 12vw, 128px);
  padding-inline: 0;
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
  scroll-margin-top: 96px;
}

.hero {
  min-height: calc(100vh - 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: none;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2 {
  margin: 0;
  line-height: 0.95;
  font-weight: 600;
}

h1 {
  max-width: 11ch;
  font-size: clamp(4rem, 10vw, 7.5rem);
}

h2 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.copy,
.section-copy {
  margin: 28px 0 0;
  max-width: 46ch;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
}

.reviews-shell {
  width: 100%;
  margin-top: 40px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  text-align: left;
}

.review-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.9);
}

.review-card h3 {
  margin: 0;
  max-width: none;
  font-size: 1.65rem;
  line-height: 1.05;
}

.review-meta,
.review-date {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.review-rating {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.review-link {
  margin-top: auto;
  width: fit-content;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--text);
  padding-bottom: 2px;
}

.review-card--placeholder {
  grid-column: 1 / -1;
  min-height: 160px;
  place-items: center;
  text-align: center;
}

.show-more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 12px 22px;
  border: 1px solid var(--text);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.reveal {
  opacity: 0.28;
  transform: translateY(28px);
  transition:
    opacity 1200ms ease,
    transform 1200ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-nav a:hover,
.brand:hover,
.inline-link:hover,
.show-more-button:hover {
  opacity: 0.65;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.inline-link {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.site-footer {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding-top: 24px;
}

.site-footer p {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-header,
  .reveal {
    animation: none;
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  body {
    padding: 0 16px 48px;
  }

  .site-header {
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 0;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    gap: 18px;
  }

  .section {
    padding-block: 52px;
    scroll-margin-top: 104px;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  .eyebrow,
  .section-label {
    margin-bottom: 12px;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
  }

  h1 {
    max-width: 8.5ch;
    font-size: clamp(3.2rem, 15vw, 4.8rem);
    line-height: 0.98;
  }

  h2 {
    max-width: 11ch;
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1;
  }

  .copy,
  .section-copy {
    max-width: 100%;
    margin-top: 20px;
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .reviews-shell {
    margin-top: 28px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .review-card {
    min-height: 0;
    padding: 18px;
  }

  .review-card h3 {
    font-size: 1.4rem;
  }

  .show-more-button {
    width: 100%;
    margin-top: 18px;
  }

  .site-footer {
    padding-top: 18px;
  }

  .site-footer p {
    font-size: 0.88rem;
  }
}

@media (min-width: 641px) and (max-width: 960px) {
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
