:root {
  --barrett-ink: #111827;
  --barrett-navy: #0b1f33;
  --barrett-blue: #1f6feb;
  --barrett-steel: #52616f;
  --barrett-panel: #f5f7fa;
  --barrett-line: #d8dee8;
  --barrett-amber: #ffb703;
  --barrett-green: #1f8a70;
  --barrett-white: #ffffff;
}

.barrett-body {
  color: var(--barrett-ink);
  font-family: "Open Sans", Arial, sans-serif;
  background: #fff;
}

.barrett-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.barrett-site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  color: #fff;
  transition: background .25s ease, box-shadow .25s ease;
}

.barrett-topline {
  background: rgba(11, 31, 51, .62);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  font-size: 13px;
}

.barrett-topline .barrett-container,
.barrett-nav-inner,
.barrett-top-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.barrett-topline a,
.barrett-primary-menu a,
.barrett-header-cta {
  color: inherit;
  text-decoration: none;
}

.barrett-topline .barrett-container {
  min-height: 36px;
}

.barrett-nav-shell {
  background: rgba(11, 31, 51, .18);
  backdrop-filter: blur(12px);
}

.barrett-site-header.is-scrolled .barrett-nav-shell,
.barrett-site-header.is-scrolled .barrett-topline {
  background: rgba(11, 31, 51, .96);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}

.barrett-nav-inner {
  min-height: 78px;
}

.barrett-brand img,
.barrett-footer-brand img {
  max-width: 170px;
  height: auto;
}

.barrett-site-title {
  color: #fff;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.barrett-menu,
.barrett-footer-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.barrett-menu a {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0;
  position: relative;
}

.barrett-menu a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 3px;
  background: var(--barrett-amber);
  transition: width .2s ease;
}

.barrett-menu a:hover:after,
.barrett-menu .current-menu-item > a:after {
  width: 100%;
}

.barrett-header-cta,
.barrett-button,
.button,
.woocommerce button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 4px;
  background: var(--barrett-amber);
  color: #101820;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(255, 183, 3, .25);
}

.barrett-button-dark {
  background: var(--barrett-navy);
  color: #fff;
  box-shadow: none;
}

.barrett-language-slot:empty {
  width: 94px;
  height: 34px;
  border: 1px dashed rgba(255, 255, 255, .45);
  border-radius: 4px;
}

.barrett-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.35);
  background: transparent;
  border-radius: 4px;
}

.barrett-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.barrett-home-hero,
.barrett-page-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.barrett-page-hero {
  min-height: 360px;
  padding-top: 130px;
  background: linear-gradient(135deg, #0b1f33 0%, #143f5f 62%, #1f8a70 100%);
}

.barrett-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,31,51,.92), rgba(11,31,51,.54) 55%, rgba(11,31,51,.08));
}

.barrett-hero-content {
  position: relative;
  max-width: 760px;
  margin-left: max(20px, calc((100vw - 1180px) / 2));
}

.barrett-hero-content span,
.barrett-section-head span,
.barrett-about-band span,
.barrett-product-summary span {
  color: var(--barrett-amber);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}

.barrett-hero-content h1,
.barrett-page-hero h1 {
  margin: 12px 0 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
}

.barrett-hero-content p,
.barrett-page-hero p {
  max-width: 680px;
  font-size: 18px;
  line-height: 1.65;
}

.barrett-section {
  padding: 92px 0;
}

.barrett-section-muted {
  background: var(--barrett-panel);
}

.barrett-section-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.barrett-section-head h2,
.barrett-product-section h2 {
  margin: 8px 0 0;
  color: var(--barrett-navy);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

.barrett-grid {
  display: grid;
  gap: 26px;
}

.barrett-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.barrett-card,
.barrett-feature-card,
.barrett-feedback-card,
.barrett-stat,
.barrett-contact-cards > div {
  background: #fff;
  border: 1px solid var(--barrett-line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(11, 31, 51, .08);
}

.barrett-card-media,
.barrett-card-img,
.barrett-image-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 1.52 / 1;
}

.barrett-card-img,
.barrett-feature-card img,
.barrett-split img,
.barrett-sample-grid img,
.barrett-feedback-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.barrett-image-placeholder {
  background: linear-gradient(135deg, #d9e2ec, #f0f4f8);
}

.barrett-card-body,
.barrett-feature-card,
.barrett-feedback-card {
  padding: 24px;
}

.barrett-card h3,
.barrett-feature-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.24;
}

.barrett-card h3 a,
.barrett-text-link,
.barrett-footer a {
  color: inherit;
  text-decoration: none;
}

.barrett-card p,
.barrett-feature-card p,
.barrett-rich-text,
.barrett-term-description {
  color: var(--barrett-steel);
  line-height: 1.72;
}

.barrett-text-link {
  color: var(--barrett-blue);
  font-weight: 800;
}

.barrett-feature-card img {
  height: 180px;
  margin: -24px -24px 22px;
  width: calc(100% + 48px);
}

.barrett-process-tabs,
.barrett-archive-filter,
.barrett-product-nav .barrett-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.barrett-process-tabs button,
.barrett-archive-filter a,
.barrett-blog-categories a,
.barrett-product-nav a {
  border: 1px solid var(--barrett-line);
  border-radius: 999px;
  padding: 12px 18px;
  background: #fff;
  color: var(--barrett-navy);
  font-weight: 800;
  text-decoration: none;
}

.barrett-process-tabs .is-active,
.barrett-archive-filter .is-active,
.barrett-blog-categories .is-active,
.barrett-product-nav .is-active {
  border-color: var(--barrett-navy);
  background: var(--barrett-navy);
  color: #fff;
}

.barrett-process-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  margin-top: 32px;
}

.barrett-process-panel.is-active {
  display: grid;
}

.barrett-process-panel img {
  width: 100%;
  aspect-ratio: 1.4 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.barrett-split,
.barrett-product-layout,
.barrett-contact-layout,
.barrett-reading-layout,
.barrett-blog-layout,
.barrett-blog-feature-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: start;
}

.barrett-about-band {
  background: #10243b;
  color: #fff;
}

.barrett-about-band h2 {
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
}

.barrett-about-band p {
  color: #dbe7f4;
  line-height: 1.72;
}

.barrett-blog-feature-layout {
  grid-template-columns: 1.1fr .9fr;
}

.barrett-blog-small-list {
  display: grid;
  gap: 16px;
}

.barrett-page-hero .barrett-container {
  padding-top: 20px;
}

.barrett-term-description {
  max-width: 900px;
  margin: 0 0 30px;
  text-align: left;
}

.barrett-pagination ul {
  display: flex;
  gap: 8px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
}

.barrett-pagination a,
.barrett-pagination span {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--barrett-line);
  border-radius: 4px;
  text-decoration: none;
  color: var(--barrett-navy);
  font-weight: 800;
}

.barrett-pagination .current {
  background: var(--barrett-amber);
  border-color: var(--barrett-amber);
}

.barrett-product-top {
  padding: 170px 0 70px;
  background: #f7f9fc;
}

.barrett-product-media img {
  border-radius: 6px;
}

.barrett-product-thumbs,
.barrett-sample-grid,
.barrett-contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.barrett-product-thumbs img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
  border-radius: 4px;
}

.barrett-product-summary h1 {
  color: var(--barrett-navy);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.1;
}

.barrett-price {
  color: var(--barrett-green);
  font-weight: 900;
  font-size: 24px;
  margin-bottom: 18px;
}

.barrett-product-nav {
  position: sticky;
  top: 114px;
  z-index: 900;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--barrett-line);
  padding: 12px 0;
}

.barrett-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 6px;
}

.barrett-reading-layout {
  grid-template-columns: 260px minmax(0, 1fr);
  padding: 70px 0;
}

.barrett-contents-sidebar {
  position: sticky;
  top: 140px;
  max-height: calc(100vh - 160px);
  overflow: auto;
  border: 1px solid var(--barrett-line);
  border-radius: 6px;
  padding: 18px;
  background: #fff;
}

.barrett-toc-list {
  padding-left: 18px;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.barrett-toc-list a {
  color: var(--barrett-navy);
  text-decoration: none;
}

.toc-level-3 { margin-left: 10px; }
.toc-level-4, .toc-level-5 { margin-left: 18px; }

.barrett-recommended {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--barrett-line);
  display: grid;
  gap: 8px;
}

.barrett-recommended img {
  width: 100%;
  border-radius: 4px;
}

.barrett-blog-layout {
  grid-template-columns: 240px 1fr;
}

.barrett-blog-categories {
  position: sticky;
  top: 140px;
  display: grid;
  gap: 10px;
}

.barrett-contact-cards {
  margin: 0 0 32px;
}

.barrett-contact-cards > div,
.barrett-stat {
  padding: 24px;
}

.barrett-contact-cards span,
.barrett-stat span {
  display: block;
  color: var(--barrett-steel);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.barrett-stat strong {
  display: block;
  color: var(--barrett-navy);
  font-size: 44px;
  line-height: 1;
}

.barrett-feedback-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 52px) / 3);
  gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 18px;
}

.barrett-feedback-card {
  scroll-snap-align: start;
}

.barrett-feedback-card header {
  display: flex;
  gap: 14px;
  align-items: center;
}

.barrett-feedback-card header img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.barrett-footer {
  background: #071522;
  color: #d9e6f2;
  padding-top: 72px;
}

.barrett-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr .8fr 1.1fr;
  gap: 34px;
}

.barrett-footer h2,
.barrett-footer h3 {
  margin: 0 0 18px;
  color: #fff;
}

.barrett-footer p,
.barrett-footer li {
  color: #b6c6d7;
  line-height: 1.7;
}

.barrett-footer-menu {
  display: grid;
  gap: 10px;
}

.barrett-footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.barrett-footer-bottom {
  margin-top: 52px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 18px 0;
  color: #92a5b7;
}

.barrett-floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1001;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: #18a058;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(24, 160, 88, .3);
}

.barrett-archive-results.is-loading {
  opacity: .45;
  pointer-events: none;
}

@media (max-width: 980px) {
  .barrett-grid-3,
  .barrett-grid-2,
  .barrett-split,
  .barrett-product-layout,
  .barrett-contact-layout,
  .barrett-reading-layout,
  .barrett-blog-layout,
  .barrett-blog-feature-layout,
  .barrett-footer-grid,
  .barrett-process-panel,
  .barrett-contact-cards {
    grid-template-columns: 1fr;
  }

  .barrett-feedback-track {
    grid-auto-columns: 82%;
  }

  .barrett-menu-toggle {
    display: block;
  }

  .barrett-primary-menu {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 116px;
    padding: 18px;
    background: var(--barrett-navy);
    border-radius: 6px;
  }

  .barrett-primary-menu.is-open {
    display: block;
  }

  .barrett-menu {
    display: grid;
  }

  .barrett-language-slot,
  .barrett-header-cta {
    display: none;
  }

  .barrett-home-hero {
    min-height: 560px;
  }
}

@media (max-width: 640px) {
  .barrett-container {
    width: min(100% - 28px, 1180px);
  }

  .barrett-topline {
    display: none;
  }

  .barrett-nav-inner {
    min-height: 68px;
  }

  .barrett-hero-content h1,
  .barrett-page-hero h1 {
    font-size: 40px;
  }

  .barrett-section {
    padding: 62px 0;
  }

  .barrett-product-nav {
    top: 68px;
  }
}
