/* Baulord main website. Review presentation lives in review.css. */
:root {
  --green: #0c624d;
  --dark: #074836;
  --ink: #171b1e;
  --muted: #535f5a;
  --line: #dce3e6;
  --soft: #f6f8f9;
  --white: #fff;
  --radius: 12px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font:
    18px/1.7 Arial,
    Helvetica,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--green);
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0 0 20px;
}
h1,
h2,
h3 {
  line-height: 1.14;
  letter-spacing: -0.04em;
}
h1 {
  font-size: clamp(42px, 5.4vw, 72px);
  font-weight: 650;
}
h2 {
  font-size: clamp(30px, 3vw, 42px);
}
h3 {
  font-size: 24px;
}
.wrap {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-row {
  min-height: 94px;
  display: flex;
  align-items: center;
  gap: 34px;
}
.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -1px;
}
.site-header nav {
  margin-left: auto;
  display: flex;
  gap: 30px;
  font-size: 16px;
  font-weight: 600;
}
.header-search {
  font-size: 30px;
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.menu-toggle {
  display: none;
}
.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 18px;
}
.small-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 8px;
}
.hero-home {
  padding-top: 80px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 76px;
  align-items: center;
}
.hero-home h1 {
  max-width: 650px;
}
.hero-home p {
  color: var(--muted);
  max-width: 570px;
  font-size: 20px;
}
.search-box {
  display: flex;
  border: 1px solid #bdcdc5;
  border-radius: 8px;
  background: #fff;
  padding: 7px;
  max-width: 590px;
  margin-top: 30px;
}
.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: none;
  padding: 12px;
  outline-offset: 0;
}
.search-box button {
  border: 0;
  border-radius: 5px;
  background: var(--green);
  color: #fff;
  padding: 9px 20px;
  min-width: 56px;
}
.hero-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  font-size: 18px;
}
.hero-links a {
  border-bottom: 1px solid #a5b5ad;
}
.hero-links span {
  color: #aab6ae;
}
.hero-note {
  background: var(--green);
  color: #fff;
  border-radius: 16px;
  padding: 34px 38px;
  position: relative;
  overflow: hidden;
  box-shadow: 18px 18px 0 #edf3ee;
}
.hero-note:after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border: 1px solid #ffffff16;
  border-radius: 50%;
  top: -115px;
  right: -90px;
  box-shadow:
    0 0 0 42px #ffffff04,
    0 0 0 84px #ffffff04;
}
.note-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.note-top span {
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: #dce9e2;
}
.hero-note h2 {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.13;
  margin-bottom: 25px;
}
.note-row {
  display: flex;
  gap: 20px;
  border-top: 1px solid #ffffff33;
  padding: 17px 0;
  font-size: 20px;
}
.note-row > span {
  font-size: 18px;
  color: #bbd5c8;
}
.note-row small {
  display: block;
  font-size: 18px;
  color: #d3e3da;
}
.section {
  padding-top: 68px;
  padding-bottom: 68px;
}
.soft {
  background: var(--soft);
  border-block: 1px solid #e7ece8;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 30px;
}
.section-head h2 {
  margin: 0;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 350px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.category-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px;
  position: relative;
  border-radius: 8px;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.category-card:hover {
  transform: translateY(-3px);
  border-color: var(--green);
}
.category-number {
  display: block;
  font-size: 18px;
  color: #7a8e81;
  margin-bottom: 24px;
}
.category-card h3 {
  font-size: 23px;
  margin: 0;
  padding-right: 25px;
}
.category-arrow {
  position: absolute;
  bottom: 24px;
  right: 25px;
  font-size: 26px;
  color: var(--green);
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.review-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: white;
}
.card-image {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f1;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 25px;
}
.card-image img.brand-placeholder {
  width: 100px;
  height: 100px;
  opacity: 0.4;
  padding: 0;
}
.card-body {
  padding: 25px;
}
.card-body .eyebrow {
  font-size: 18px;
}
.card-body h3 {
  font-size: 25px;
  line-height: 1.3;
}
.card-body p {
  color: var(--muted);
  font-size: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.text-link {
  font-weight: 600;
  color: var(--green);
  font-size: 18px;
  display: inline-flex;
  gap: 22px;
  align-items: center;
}
.empty {
  border: 1px solid var(--line);
  background: #fafcf9;
  border-radius: 12px;
  padding: 38px;
  max-width: 100%;
}
.empty p {
  color: var(--muted);
  max-width: 650px;
}
.empty h3 {
  font-size: 30px;
}
.approach {
  background: #edf3ef;
}
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.approach-grid h2 {
  font-weight: 550;
}
.approach-grid p {
  color: var(--muted);
}
.approach-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.approach-points span {
  border: 1px solid #cbd9cf;
  padding: 5px 12px;
  border-radius: 5px;
  font-size: 18px;
}
.site-footer {
  padding: 55px 0 25px;
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 16px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 70px;
  padding-bottom: 30px;
}
.footer-top p {
  font-size: 16px;
  color: var(--muted);
  max-width: 350px;
  margin-top: 20px;
}
.footer-top nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  align-content: start;
  font-size: 16px;
}
.disclosures {
  border-block: 1px solid var(--line);
  padding: 24px 0;
  color: #5b665f;
}
.disclosures p {
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 12px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  font-size: 16px;
}
.site-footer a {
  font-size: 16px;
}
.site-footer .brand {
  font-size: 26px;
}
.page-intro {
  padding-top: 65px;
  padding-bottom: 38px;
}
.page-intro h1 {
  font-size: clamp(36px, 4.5vw, 56px);
}
.page-intro p {
  max-width: 800px;
  color: var(--muted);
}
.page-intro .eyebrow {
  letter-spacing: 0.02em;
  text-transform: none;
}
.prose {
  max-width: 850px;
  padding-bottom: 70px;
}
.prose h2 {
  font-size: 29px;
  margin-top: 30px;
}
.prose a {
  color: var(--green);
  text-decoration: underline;
}
.library-content {
  padding-bottom: 70px;
}
.library-search {
  margin: 0 0 35px;
  max-width: 100%;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.pagination a {
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.pagination [aria-current] {
  background: var(--green);
  color: white;
}
.author-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.author-card img,
.author-profile img {
  border-radius: 50%;
  object-fit: cover;
}
.author-card h2 {
  font-size: 27px;
  margin-top: 20px;
}
.author-profile {
  display: flex;
  gap: 25px;
  margin-bottom: 30px;
  align-items: center;
}
.button {
  display: inline-block;
  padding: 12px 22px;
  background: var(--green);
  color: white;
  border-radius: 6px;
}
.button:hover {
  background: var(--dark);
  color: white;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip {
  position: absolute;
  left: 10px;
  top: -80px;
  background: #fff;
  padding: 15px;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
:focus-visible {
  outline: 3px solid #b89227;
  outline-offset: 4px;
}
@media (max-width: 900px) {
  .hero-home {
    gap: 35px;
    padding-top: 50px;
  }
  .hero-note {
    padding: 28px;
  }
  .hero-note h2 {
    font-size: 38px;
  }
  .note-top span {
    font-size: 18px;
    letter-spacing: 0;
  }
  .site-header nav {
    gap: 20px;
  }
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .approach-grid {
    gap: 35px;
  }
  .header-row {
    gap: 20px;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 650px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .header-row {
    min-height: 80px;
    flex-wrap: wrap;
    gap: 15px;
  }
  .brand {
    font-size: 26px;
  }
  .brand img {
    width: 36px;
    height: 36px;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
    background: none;
    border: 0;
    color: var(--green);
    font-size: 16px;
    padding: 12px;
  }
  .site-header nav {
    display: none;
    order: 4;
    width: 100%;
    padding-bottom: 20px;
    margin: 0;
    flex-direction: column;
    font-size: 16px;
  }
  .site-header nav.open {
    display: flex;
  }
  .header-search {
    padding-left: 14px;
    font-size: 27px;
  }
  .hero-home {
    grid-template-columns: 1fr;
    padding-top: 40px;
    padding-bottom: 48px;
    gap: 35px;
  }
  .hero-home h1 {
    font-size: 46px;
  }
  .hero-home p {
    font-size: 18px;
  }
  .eyebrow {
    font-size: 18px;
    letter-spacing: 0.07em;
  }
  .hero-links {
    gap: 12px;
    flex-wrap: wrap;
  }
  .hero-note {
    margin-right: 10px;
  }
  .hero-note h2 {
    font-size: 40px;
  }
  .section {
    padding-block: 45px;
  }
  .section-head {
    display: block;
  }
  .section-head p,
  .section-head > a {
    margin-top: 18px;
  }
  .category-card {
    padding: 20px 17px;
  }
  .category-card h3 {
    font-size: 21px;
  }
  .category-arrow {
    right: 12px;
    bottom: 16px;
  }
  .category-number {
    margin-bottom: 18px;
  }
  .review-grid,
  .approach-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }
  .approach-grid {
    gap: 20px;
  }
  .footer-top {
    gap: 20px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .site-footer {
    padding-top: 35px;
  }
  .card-image {
    height: 240px;
  }
  .empty {
    padding: 25px;
  }
  .page-intro {
    padding-top: 40px;
  }
  .search-box button {
    padding-inline: 15px;
  }
  .prose {
    padding-bottom: 45px;
  }
}

/* Consistent content image spacing. */
.card-image img {
  padding-top: 20px;
  padding-bottom: 20px;
}
