:root {
  --bg: #f4efe6;
  --surface: rgba(255, 251, 245, 0.82);
  --surface-strong: #fffaf1;
  --ink: #0e1b1d;
  --muted: #5b6864;
  --line: rgba(14, 27, 29, 0.12);
  --accent: #0f766e;
  --accent-deep: #0b4d4f;
  --accent-soft: #d7efe9;
  --warm: #b8642d;
  --shadow: 0 24px 60px rgba(24, 39, 45, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.2), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(184, 100, 45, 0.16), transparent 26%),
    linear-gradient(180deg, #f7f2e9 0%, #efe8db 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

iframe {
  border: 0;
}

.site-header,
.page-shell,
.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  background: linear-gradient(145deg, var(--accent-deep), var(--accent));
  color: white;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-text strong,
.hero h1,
.section-heading h1,
.section-heading h2,
.product-summary h1,
.guide-card h3,
.product-meta h3 {
  font-family: 'Fraunces', serif;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.brand-text span:last-child {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.nav-link,
.category-chip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  padding: 0.72rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  transition: 180ms ease;
}

.nav-link:hover,
.category-chip:hover,
.nav-link.is-active,
.category-chip.is-active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.page-shell {
  padding: 2rem 0 4rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: 1.5rem;
  align-items: stretch;
  padding: 2rem 0 1rem;
}

.hero-copy,
.hero-panel,
.product-card,
.guide-card,
.comparison-block,
.article-card,
.search-bar,
.product-summary,
.product-gallery,
.table-wrap {
  backdrop-filter: blur(12px);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 1.75rem;
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 2.25rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--accent-deep);
}

.hero h1,
.section-heading h1,
.section-heading h2,
.product-summary h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-text,
.section-heading p,
.product-summary-copy,
.product-meta p,
.guide-card p,
.article-card p,
.site-footer p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
}

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

.button-secondary {
  background: transparent;
  border: 1px solid var(--line);
}

.hero-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(15, 118, 110, 0.14), rgba(255, 255, 255, 0.55)),
    var(--surface);
}

.metric-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  min-height: 8rem;
  padding: 1.25rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(14, 27, 29, 0.08);
}

.metric-card span,
.detail-strip span,
.product-category,
.guide-tag {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
}

.metric-card strong,
.detail-strip strong {
  font-size: 1.8rem;
  line-height: 1.1;
}

.search-shell,
.category-ribbon,
.section-heading,
.product-grid,
.guide-grid,
.content-columns {
  margin-top: 1.5rem;
}

.search-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  padding: 0.8rem;
}

.search-bar input,
.search-bar button {
  font: inherit;
  border: 0;
}

.search-bar input {
  min-width: 0;
  padding: 1rem 1.1rem;
  background: white;
  border-radius: 1rem;
}

.search-bar button {
  padding: 0 1.25rem;
  border-radius: 1rem;
  background: var(--accent-deep);
  color: white;
  font-weight: 800;
}

.category-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.category-chip strong {
  display: inline-grid;
  place-items: center;
  min-width: 2rem;
  min-height: 2rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.12);
  color: var(--accent-deep);
}

.section-heading {
  display: grid;
  gap: 0.6rem;
}

.section-heading-spacious {
  padding-top: 1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.product-card,
.guide-card,
.article-card {
  overflow: hidden;
}

.product-visual {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.product-visual img,
.product-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.score-pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(14, 27, 29, 0.85);
  color: white;
  font-size: 0.82rem;
  font-weight: 800;
}

.product-meta,
.guide-card,
.article-card {
  padding: 1.35rem;
}

.product-meta h3 {
  margin: 0.45rem 0 0.8rem;
  font-size: 1.65rem;
  line-height: 1.12;
}

.feature-list,
.guide-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink);
}

.feature-list li,
.guide-card li {
  margin-top: 0.6rem;
  line-height: 1.55;
}

.text-link {
  font-weight: 800;
  color: var(--accent-deep);
}

.comparison-block {
  padding: 1.4rem;
}

.table-wrap {
  overflow-x: auto;
  padding: 0.4rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.comparison-table th {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.guide-card {
  background:
    linear-gradient(180deg, rgba(15, 118, 110, 0.08), rgba(255, 255, 255, 0.78)),
    var(--surface);
}

.guide-card h3 {
  margin: 0.55rem 0 0.7rem;
  font-size: 2rem;
  line-height: 1.02;
}

.site-footer {
  padding: 0 0 2.5rem;
}

.product-page {
  padding-top: 1.5rem;
}

.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.product-gallery,
.product-summary {
  padding: 1rem;
}

.product-main-image {
  border-radius: 1.25rem;
  aspect-ratio: 1 / 1;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.thumb-row img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.9rem;
}

.detail-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.25rem 0;
}

.detail-strip > div {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.video-card {
  margin-top: 1.25rem;
}

.video-embed {
  overflow: hidden;
  border-radius: 1.2rem;
  aspect-ratio: 16 / 9;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
}

.content-columns {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.2rem;
}

.feature-list-large li {
  margin-top: 0.85rem;
}

@media (max-width: 980px) {
  .hero,
  .product-hero,
  .content-columns,
  .guide-cards,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header,
  .page-shell,
  .site-footer {
    width: min(100% - 1.2rem, 1180px);
  }

  .hero-copy,
  .product-meta,
  .guide-card,
  .article-card,
  .product-gallery,
  .product-summary {
    padding: 1rem;
  }

  .hero h1,
  .section-heading h1,
  .section-heading h2,
  .product-summary h1 {
    font-size: clamp(2rem, 11vw, 3.25rem);
  }

  .search-bar {
    grid-template-columns: 1fr;
  }

  .detail-strip,
  .thumb-row {
    grid-template-columns: 1fr 1fr;
  }
}
