/* Shared art direction: forest, ivory and real editorial photography. */
:root {
  --forest: #14251d;
  --olive: #435b38;
  --sandstone: #d4bd91;
  --container: 1280px;
  --measure: 66ch;
}
html {
  scroll-padding-top: 110px;
}
body {
  background: var(--paper);
}
h1,
h2,
h3 {
  letter-spacing: -0.025em;
}
h1 {
  font-weight: 600;
}
a {
  transition:
    color 0.16s ease,
    background-color 0.16s ease;
}
button,
.button,
.button-secondary {
  border-radius: 3px;
}
.container {
  width: min(var(--container), calc(100% - 80px));
}
.button,
.button-secondary {
  text-transform: none;
  font-size: 0.9rem;
  gap: 14px;
  min-height: 48px;
  padding: 12px 21px;
}
.button .icon,
.button-secondary .icon {
  width: 18px;
  height: 18px;
}
.site-header {
  position: sticky;
  top: 0;
  background: var(--forest);
  color: white;
  border: 0;
  z-index: 50;
  box-shadow: 0 1px 0 #ffffff18;
}
.header-inner {
  min-height: 86px;
  gap: 26px;
  display: flex;
  justify-content: space-between;
}
.brand {
  gap: 12px;
  color: white;
  flex: none;
  letter-spacing: 0;
  text-decoration: none;
}
.brand:hover {
  color: white;
}
.brand > .icon {
  width: 54px;
  height: 54px;
  stroke: var(--sandstone);
  stroke-width: 1.25;
}
.brand-wordmark {
  font: 600 24px/1.05 var(--font-display);
  white-space: nowrap;
  letter-spacing: 0.015em;
}
.brand-wordmark > span {
  color: var(--sandstone);
}
.brand-wordmark small {
  display: block;
  font: 500 8px/1.5 var(--font-body);
  letter-spacing: 0.19em;
  text-transform: uppercase;
  margin-top: 7px;
  color: #eee9dc;
}
.main-nav {
  display: flex;
  gap: 23px;
  font-size: 0.85rem;
}
.main-nav > a:not(.button) {
  color: #f7f5ef;
  padding: 14px 0;
}
.main-nav > a:hover,
.main-nav > a[aria-current] {
  color: var(--sandstone);
}
.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.header-saved {
  color: #f7f5ef;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}
.header-saved:hover {
  color: var(--sandstone);
}
.header-saved .icon {
  width: 22px;
  height: 22px;
}
.global-search {
  position: static;
}
.global-search > summary {
  gap: 10px;
  border: 1px solid #f7f5ef40;
  border-radius: 24px;
  padding: 10px 14px;
  color: #f7f5ef;
  font-size: 0.72rem;
  min-height: 42px;
  list-style: none;
}
.global-search > summary::-webkit-details-marker {
  display: none;
}
.global-search > summary .icon {
  width: 18px;
  height: 18px;
}
.global-search-panel {
  position: absolute;
  top: 100%;
  right: 40px;
  width: min(650px, calc(100vw - 80px));
  max-height: calc(100dvh - 100px);
  overflow: auto;
  padding: 28px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.global-search-panel nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.global-search-panel form > label {
  font: 500 1.4rem var(--font-display);
  margin-bottom: 16px;
}
.global-search-panel .button {
  white-space: nowrap;
}
.mobile-nav {
  display: none;
}
.mobile-nav summary {
  color: white;
  gap: 8px;
}
.mobile-nav summary .icon {
  height: 23px;
  width: 23px;
}
.mobile-nav nav {
  background: var(--forest);
  color: #fff;
}
.mobile-nav nav a {
  color: #fff;
}
.cinematic-hero {
  position: relative;
  isolation: isolate;
  color: white;
  overflow: hidden;
  background: var(--forest);
}
.hero-photo,
.community-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-photo img,
.community-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
  display: block;
}
.cinematic-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(8, 18, 12, 0.86),
    rgba(8, 18, 12, 0.58) 45%,
    rgba(8, 18, 12, 0.14) 78%
  );
}
.hero-content {
  padding-block: 66px 35px;
  min-height: 560px;
}
.hero-content > .eyebrow {
  font-size: 0.7rem;
  color: #e5d8bc;
  letter-spacing: 0.2em;
  margin-bottom: 22px;
}
.hero-content h1 {
  font-size: clamp(3.2rem, 5.6vw, 5.1rem);
  line-height: 1.02;
  max-width: 12ch;
  margin: 0 0 22px;
  letter-spacing: -0.025em;
}
.hero-description {
  max-width: 49ch;
  font-size: 1.13rem;
  line-height: 1.55;
  margin-bottom: 28px;
}
.hero-actions {
  margin: 0 0 40px;
  gap: 16px;
}
.hero-actions .button,
.hero-actions .button-secondary {
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding-inline: 24px;
  background: var(--olive);
  color: white;
  border-color: var(--olive);
}
.hero-actions .button-secondary {
  background: #10201766;
  border-color: #f7f5efb0;
}
.hero-actions .button:hover {
  background: #526c45;
  color: #fff;
}
.hero-actions .button-secondary:hover {
  background: #14251d;
}
.hero-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 730px;
  gap: 24px;
}
.hero-values > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.hero-values .icon {
  height: 30px;
  width: 30px;
  margin-bottom: 2px;
  stroke-width: 1.4;
}
.hero-values strong {
  font-size: 0.69rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  font-weight: 650;
}
.hero-values span {
  font-size: 0.72rem;
  color: #eee9df;
}
.hero-credit {
  position: absolute;
  bottom: 12px;
  right: 22px;
  color: #fff;
  font-size: 0.65rem;
  background: #102017c9;
  padding: 4px 8px;
  text-decoration: none;
}
.hero-credit:hover {
  color: #fff;
  text-decoration: underline;
}
.premium-section {
  padding-block: 30px 8px;
}
.premium-section > .section-label,
.home-editorial-split .section-label {
  margin-bottom: 18px;
  align-items: center;
  gap: 16px;
}
.premium-section .section-label h2 {
  font-size: 1.65rem;
  font-weight: 650;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: -0.025em;
}
.section-label > a {
  font-size: 0.78rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  white-space: nowrap;
  text-decoration: none;
}
.section-label > a:hover {
  text-decoration: underline;
}
.section-label > a > .icon {
  width: 17px;
  height: 17px;
}
.photo-topics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.photo-topic {
  position: relative;
  display: flex;
  align-items: end;
  min-height: 224px;
  isolation: isolate;
  overflow: hidden;
  border-radius: 4px;
  color: white;
  text-decoration: none;
  background: var(--forest);
}
.photo-topic:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    0deg,
    rgba(8, 18, 12, 0.96),
    rgba(8, 18, 12, 0.2) 82%
  );
}
.photo-topic > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.3s ease;
}
.photo-topic:hover > img {
  transform: scale(1.035);
}
.photo-topic:hover {
  color: #fff;
}
.photo-topic > div {
  padding: 16px;
  width: 100%;
}
.photo-topic .icon {
  width: 27px;
  height: 27px;
  margin-bottom: 11px;
  stroke-width: 1.7;
}
.photo-topic h3 {
  font-size: 1.12rem;
  line-height: 1.18;
  letter-spacing: 0;
  margin: 0;
  text-wrap: pretty;
  color: #fff;
}
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.editorial-card {
  background: var(--surface-soft);
  overflow: hidden;
  border-radius: 4px;
  min-width: 0;
}
.editorial-card-image {
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--line);
}
.editorial-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.editorial-card:hover .editorial-card-image img {
  transform: scale(1.025);
}
.card-category {
  position: absolute;
  left: 13px;
  bottom: 0;
  background: var(--olive);
  color: #fff;
  text-transform: uppercase;
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.055em;
  padding: 5px 9px;
}
.editorial-card-copy {
  padding: 16px 16px 10px;
}
.editorial-card h3 {
  font-size: 1.3rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.editorial-card h3 a {
  color: var(--ink);
  text-decoration: none;
}
.editorial-card h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}
.editorial-card-copy > p {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.editorial-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.73rem;
}
.editorial-card-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.editorial-card-meta .icon {
  width: 15px;
  height: 15px;
}
.card-bookmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  color: var(--ink-soft);
}
.card-bookmark .icon {
  height: 19px;
  width: 19px;
}
.card-bookmark[aria-pressed="true"] .icon {
  fill: var(--brand);
  stroke: var(--brand);
}
.card-bookmark:hover {
  background: var(--brand-pale);
}
.home-editorial-split {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 30px;
  padding-bottom: 36px;
}
.news-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.editorial-card-compact {
  background: transparent;
}
.editorial-card-compact .editorial-card-copy {
  padding: 12px 0 0;
}
.editorial-card-compact h3 {
  font-size: 1.03rem;
  line-height: 1.23;
}
.editorial-card-compact .editorial-card-copy > p {
  display: none;
}
.editorial-card-compact .editorial-card-meta {
  font-size: 0.68rem;
}
.editorial-card-compact .card-category {
  font-size: 0.57rem;
  left: 8px;
  padding: 4px 6px;
}
.news-date-note,
.affiliate-caption {
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 12px;
  margin-bottom: 0;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.product-card {
  min-width: 0;
  background: var(--surface);
  border-radius: 4px;
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-image {
  display: block;
  aspect-ratio: 4/3;
  background: #fff;
  padding: 16px;
}
.product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}
.product-card-body > .eyebrow {
  font-size: 0.6rem;
  margin: 0;
}
.product-card h3 {
  font-size: 1.2rem;
  line-height: 1.2;
  margin: 0;
}
.product-card h3 a {
  color: var(--ink);
  text-decoration: none;
}
.product-card h3 a:hover {
  text-decoration: underline;
}
.product-card-body > p:not(.eyebrow) {
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 auto;
}
.product-card .button {
  font-size: 0.8rem;
  min-height: 44px;
  padding: 10px 12px;
  gap: 8px;
}
.product-review {
  font-size: 0.75rem;
  line-height: 1.5;
}
.image-credit {
  font-size: 0.65rem;
  color: var(--muted);
}
.home-editorial-split .product-card-body {
  padding: 11px;
  gap: 8px;
}
.home-editorial-split .product-card h3 {
  font-size: 1rem;
}
.home-editorial-split .product-card-body > .eyebrow {
  display: none;
}
.home-editorial-split .product-card-body > p:not(.eyebrow) {
  font-size: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-editorial-split .product-card .button {
  font-size: 0.7rem;
  padding: 9px 5px;
  white-space: nowrap;
}
.home-editorial-split .product-image {
  padding: 10px;
  aspect-ratio: 1;
}
.home-editorial-split .product-review {
  font-size: 0.65rem;
}
.community-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: var(--forest);
}
.community-banner:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(8, 18, 12, 0.86),
    rgba(8, 18, 12, 0.5) 60%,
    rgba(8, 18, 12, 0.2)
  );
}
.community-banner > .container {
  padding-block: 45px;
}
.community-banner .eyebrow {
  color: #e5d8bc;
  margin-bottom: 14px;
  font-size: 0.68rem;
}
.community-banner h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  margin-bottom: 16px;
}
.community-banner p:not(.eyebrow) {
  max-width: 54ch;
  font-size: 1rem;
}
.community-banner .button {
  background: var(--olive);
  color: #fff;
  border-color: var(--olive);
  text-transform: uppercase;
  font-size: 0.75rem;
}
.photo-credits-link {
  text-align: right;
  font-size: 0.7rem;
  padding-block: 8px;
  margin-bottom: 0;
  color: var(--muted);
}
.photo-credits-link a {
  color: inherit;
}
.footer {
  margin-top: 40px;
  padding: 40px 0 22px;
  background: var(--forest);
  color: #eee9dc;
  border: 0;
}
.footer-grid {
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
  gap: 38px;
}
.footer .brand {
  margin-bottom: 18px;
}
.footer .brand > .icon {
  width: 44px;
  height: 44px;
}
.footer .brand-wordmark {
  font-size: 20px;
}
.footer-grid p {
  font-size: 0.82rem;
  max-width: 35ch;
  color: #c8d0c7;
}
.footer-grid h2 {
  font: 600 0.68rem var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 6px 0 17px;
  color: white;
}
.footer a {
  color: #eee9dc;
}
.footer a:hover {
  color: var(--sandstone);
}
.footer-grid li {
  margin: 0;
}
.footer-grid li a {
  font-size: 0.78rem;
  display: inline-flex;
  padding-block: 5px;
  text-decoration: none;
  min-height: 32px;
}
.footer-grid li a:hover {
  text-decoration: underline;
}
.footer-line {
  border-top: 1px solid #ffffff26;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 22px;
  margin-top: 30px;
}
.footer-line p {
  font-size: 0.72rem;
  max-width: 64ch;
  color: #c8d0c7;
  margin: 0;
}
.footer .theme-toggle {
  color: #eee9dc;
  background: transparent;
  border-color: #ffffff4d;
  font-size: 0.75rem;
}
.footer .newsletter-panel {
  border: 0;
  background: transparent;
  padding: 0;
}
.footer .newsletter-panel h2 {
  font-size: 0.68rem;
}
.footer .newsletter-panel a {
  color: var(--sandstone);
}
/* Every article shares an image, a compact byline and a comfortable reading measure. */
.page-hero {
  padding-block: 30px 38px;
  margin-bottom: 32px;
}
.page-hero .breadcrumbs {
  font-size: 0.75rem;
  margin-bottom: 30px;
  line-height: 1.5;
}
.page-hero h1 {
  font-size: clamp(2.5rem, 4.3vw, 4rem);
  max-width: 26ch;
  line-height: 1.08;
}
.page-hero > .eyebrow {
  font-size: 0.7rem;
  margin-bottom: 18px;
}
.page-hero .standfirst {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 64ch;
}
.page-hero .article-meta {
  display: flex;
  gap: 7px 20px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.8rem;
}
.article-cover {
  margin: 0 auto 30px;
}
.article-cover img {
  width: 100%;
  aspect-ratio: 21/8;
  object-fit: cover;
  display: block;
  border-radius: 3px;
}
.article-cover figcaption {
  font-size: 0.72rem;
  color: var(--muted);
  padding-block: 10px;
  line-height: 1.5;
}
.article-cover figcaption a {
  color: inherit;
}
.article-layout {
  grid-template-columns: minmax(0, 1fr) 255px;
  gap: 9%;
  max-width: 1120px;
  margin-inline: auto;
}
.article-body {
  font-size: 1.0625rem;
  line-height: 1.85;
  max-width: 66ch;
}
.article-body h2 {
  scroll-margin-top: 110px;
  font-size: 2rem;
  line-height: 1.18;
  margin-top: 2.5rem;
}
.article-body h3 {
  font-size: 1.5rem;
  line-height: 1.3;
}
.toc {
  top: 115px;
  padding: 20px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: 3px;
  font-size: 0.8rem;
  max-height: calc(100dvh - 140px);
  overflow: auto;
}
.toc li {
  padding: 8px 0;
}
.toc a {
  display: block;
  line-height: 1.5;
}
.article-layout-wide {
  max-width: none;
}
.quick-answer {
  max-width: none;
  background: var(--surface-soft);
  border-left-color: var(--olive);
  font-size: 1rem;
  padding: 22px 26px;
}
.reader-tools {
  margin-bottom: 25px;
}
.reading-progress {
  top: 86px;
}
.related-reading {
  padding-block: 30px;
  border-top: 1px solid var(--line);
}
.related-reading h2 {
  font-size: 1.8rem;
}
.related-reading > ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
  list-style: none;
}
.related-reading li {
  padding: 20px;
  background: var(--surface-soft);
}
.related-reading li > a {
  font: 500 1.3rem/1.25 var(--font-display);
  color: var(--ink);
  text-decoration: none;
}
.related-reading li > p {
  font-size: 0.85rem;
  margin: 12px 0 0;
  color: var(--muted);
}
.library {
  max-width: var(--container);
}
.library-search {
  max-width: none;
  padding: 24px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.library-search > div {
  max-width: 750px;
}
.library-search-help {
  font-size: 0.8rem;
}
.publication-tabs {
  gap: 24px;
}
.publication-tabs a {
  font-size: 0.9rem;
}
.guide-directory {
  border: 0;
}
.library .guide-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.editorial-row {
  padding: 0 0 20px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.editorial-row-image {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  margin-bottom: 18px;
}
.editorial-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.editorial-row h2 {
  font-size: 1.5rem;
  line-height: 1.2;
}
.editorial-row > p {
  font-size: 0.9rem;
  line-height: 1.65;
}
.editorial-row-meta {
  font-size: 0.75rem;
}
.editorial-row-meta .eyebrow {
  font-size: 0.65rem;
}
.editorial-row > a.editorial-row-image {
  display: block;
}
.hub-directory {
  display: block;
}
.hub-directory > .section-heading {
  max-width: none;
  margin-bottom: 24px;
}
.hub-directory .guide-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.hub-directory .directory-row {
  grid-template-columns: 1fr;
  display: block;
  background: var(--surface-soft);
  padding: 0;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
}
.hub-directory .directory-row > img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.hub-directory .directory-row > span {
  display: block;
  padding: 18px;
}
.hub-directory .directory-row h3 {
  font-size: 1.4rem;
}
.topic-browser {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.topic-browser article {
  border: 0;
  padding: 0 0 20px;
  background: var(--surface-soft);
  border-radius: 4px;
  overflow: hidden;
}
.topic-browser article > img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.topic-browser article > p,
.topic-browser article > h2 {
  margin-inline: 20px;
}
.topic-browser article > .eyebrow {
  margin-top: 18px;
}
.topic-browser h2 {
  font-size: 1.55rem;
}
.topic-browser h2 a {
  color: var(--ink);
  text-decoration: none;
}
.topic-browser article > p:last-child {
  font-size: 0.88rem;
}
.page-hero-compact {
  padding-bottom: 25px;
}
.page-hero-compact h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}
.tools-form,
.household-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 26px;
}
.tool-result {
  border-left: 4px solid var(--olive);
}
.article-body input:not([type="checkbox"]):not([type="radio"]),
.article-body select,
.article-body textarea {
  background: var(--surface);
  border-color: #aeb6ac;
  border-radius: 3px;
  min-height: 48px;
}
.article-body fieldset {
  border-color: var(--line);
}
.article-body label {
  font-size: 0.9rem;
}
.newsletter-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface-soft);
}
.newsletter-panel h2 {
  font-size: 1.7rem;
}
.newsletter-input-row {
  display: flex;
  gap: 8px;
}
.newsletter-input-row input {
  min-width: 0;
  flex: 1;
}
.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  line-height: 1.6;
  margin-top: 14px;
}
.newsletter-consent input {
  flex: none;
  margin-top: 6px;
}
.newsletter-status {
  padding: 14px;
  border-left: 3px solid var(--olive);
  background: var(--surface-soft);
  font-size: 0.9rem;
}
.newsletter-alternative {
  font-size: 0.85rem;
}
.community-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.community-grid .card {
  padding: 24px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}
.community-grid .card p {
  font-size: 0.92rem;
}
.community-intro {
  margin-bottom: 30px;
}
.privacy-controls {
  background: var(--surface);
  border-radius: 4px;
}
@media (max-width: 1250px) {
  .header-inner {
    gap: 18px;
  }
  .main-nav {
    gap: 18px;
  }
  .global-search > summary > span {
    display: none;
  }
  .global-search > summary {
    border: 0;
    padding: 10px;
    min-width: 44px;
  }
  .brand-wordmark {
    font-size: 22px;
  }
  .brand > .icon {
    width: 46px;
    height: 46px;
  }
  .hero-values {
    max-width: 690px;
  }
}
@media (max-width: 1000px) {
  .container {
    width: calc(100% - 48px);
  }
  .main-nav {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
  .mobile-nav nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 20px 24px;
    background: var(--forest);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 24px;
    border-top: 1px solid #ffffff30;
  }
  .mobile-nav nav a {
    padding: 13px 0;
    color: #fff;
    border-bottom: 1px solid #ffffff26;
    text-decoration: none;
  }
  .mobile-nav nav a:hover {
    color: var(--sandstone);
  }
  .header-inner {
    min-height: 76px;
  }
  .hero-content {
    padding-top: 50px;
    min-height: 540px;
  }
  .hero-content h1 {
    font-size: 4.1rem;
  }
  .hero-description {
    max-width: 43ch;
  }
  .hero-values {
    max-width: 650px;
    gap: 20px;
  }
  .photo-topics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  .photo-topic {
    min-height: 230px;
  }
  .editorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
  .home-editorial-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .home-editorial-split .editorial-card-compact h3 {
    font-size: 1.25rem;
  }
  .home-editorial-split .product-card h3 {
    font-size: 1.2rem;
  }
  .home-editorial-split .product-card-body > p:not(.eyebrow) {
    font-size: 0.85rem;
  }
  .home-editorial-split .product-card .button {
    font-size: 0.8rem;
  }
  .home-editorial-split .product-review {
    font-size: 0.75rem;
  }
  .home-editorial-split .product-image {
    aspect-ratio: 4/3;
  }
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 26px;
  }
  .footer-grid > .footer-newsletter {
    grid-column: 1/-1;
    max-width: 600px;
  }
  .article-layout {
    gap: 5%;
    grid-template-columns: minmax(0, 1fr) 220px;
  }
  .toc {
    top: 100px;
    padding: 16px;
  }
  .reading-progress {
    top: 76px;
  }
  .library .guide-directory,
  .hub-directory .guide-directory,
  .topic-browser {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .container {
    width: calc(100% - 36px);
  }
  .header-inner {
    min-height: 70px;
    gap: 8px;
  }
  .brand {
    gap: 8px;
  }
  .brand > .icon {
    width: 34px;
    height: 38px;
  }
  .brand-wordmark {
    font-size: 18px;
  }
  .brand-wordmark small {
    font-size: 6px;
    letter-spacing: 0.13em;
    margin-top: 5px;
  }
  .header-actions {
    gap: 0;
  }
  .header-saved {
    min-width: 40px;
  }
  .global-search > summary {
    min-width: 40px;
    padding: 8px;
  }
  .mobile-nav summary {
    min-width: 40px;
    justify-content: center;
    gap: 0;
  }
  .mobile-nav summary > span {
    display: none;
  }
  .global-search-panel {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    max-height: calc(100dvh - 80px);
    padding: 22px 18px;
  }
  .global-search-panel form > div {
    gap: 8px;
  }
  .global-search-panel .button {
    padding-inline: 15px;
  }
  .hero-content {
    padding-block: 38px 34px;
    min-height: 0;
  }
  .hero-content > .eyebrow {
    font-size: 0.57rem;
    letter-spacing: 0.12em;
    max-width: 35ch;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  .hero-content h1 {
    font-size: clamp(2.9rem, 10.3vw, 4rem);
    line-height: 1.03;
    max-width: 11.5ch;
    margin-bottom: 20px;
  }
  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 33ch;
    margin-bottom: 24px;
  }
  .hero-photo img {
    object-position: 67% center;
  }
  .cinematic-hero:before {
    background: linear-gradient(
      90deg,
      rgba(8, 18, 12, 0.86),
      rgba(8, 18, 12, 0.62) 65%,
      rgba(8, 18, 12, 0.36)
    );
  }
  .hero-actions {
    gap: 10px;
    flex-wrap: nowrap;
    margin-bottom: 32px;
  }
  .hero-actions .button,
  .hero-actions .button-secondary {
    padding: 13px 14px;
    font-size: 0.65rem;
    gap: 10px;
    width: auto;
    flex: 1;
    justify-content: center;
  }
  .hero-actions .icon {
    width: 14px;
    height: 14px;
  }
  .hero-values {
    grid-template-columns: 1fr 1fr;
    gap: 22px 16px;
    max-width: none;
    padding-bottom: 18px;
  }
  .hero-values .icon {
    height: 27px;
    width: 27px;
  }
  .hero-values strong {
    font-size: 0.64rem;
  }
  .hero-values span {
    font-size: 0.7rem;
  }
  .hero-credit {
    font-size: 0.58rem;
    right: 14px;
    bottom: 8px;
  }
  .premium-section {
    padding-top: 24px;
  }
  .premium-section .section-label {
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
  }
  .premium-section .section-label h2 {
    font-size: 1.45rem;
  }
  .section-label > a {
    font-size: 0.72rem;
    gap: 5px;
    min-height: 40px;
  }
  .photo-topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .photo-topic {
    min-height: 204px;
  }
  .photo-topic > div {
    padding: 14px;
  }
  .photo-topic h3 {
    font-size: 1.14rem;
  }
  .photo-topic .icon {
    width: 25px;
    height: 25px;
    margin-bottom: 10px;
  }
  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .editorial-grid .editorial-card {
    display: grid;
    grid-template-columns: 36% minmax(0, 1fr);
  }
  .editorial-grid .editorial-card-image {
    aspect-ratio: auto;
    height: 100%;
    min-height: 190px;
  }
  .editorial-grid .editorial-card-image > img {
    height: 100%;
  }
  .editorial-card-copy {
    padding: 15px 14px 8px;
  }
  .editorial-grid .editorial-card h3 {
    font-size: 1.25rem;
    line-height: 1.18;
  }
  .editorial-grid .editorial-card-copy > p {
    font-size: 0.82rem;
    line-height: 1.55;
    margin-bottom: 6px;
  }
  .editorial-card-meta {
    font-size: 0.68rem;
  }
  .card-category {
    left: 9px;
    bottom: 10px;
    font-size: 0.57rem;
  }
  .home-editorial-split {
    padding-bottom: 26px;
    gap: 28px;
  }
  .news-card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .news-card-grid .editorial-card {
    display: grid;
    grid-template-columns: 35% minmax(0, 1fr);
    gap: 16px;
  }
  .news-card-grid .editorial-card-image {
    aspect-ratio: 1;
    height: 100%;
    min-height: 128px;
  }
  .news-card-grid .editorial-card-copy {
    padding: 0;
  }
  .home-editorial-split .editorial-card-compact h3 {
    font-size: 1.2rem;
  }
  .news-card-grid .editorial-card-meta {
    font-size: 0.7rem;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-card {
    display: grid;
    grid-template-columns: 35% minmax(0, 1fr);
  }
  .product-image,
  .home-editorial-split .product-image {
    aspect-ratio: auto;
    min-height: 160px;
    display: flex;
    align-items: center;
    padding: 12px;
  }
  .product-image img {
    height: auto;
    aspect-ratio: 1;
  }
  .product-card-body,
  .home-editorial-split .product-card-body {
    padding: 16px;
    gap: 9px;
  }
  .product-card-body > .eyebrow {
    display: none;
  }
  .home-editorial-split .product-card h3 {
    font-size: 1.2rem;
  }
  .home-editorial-split .product-card-body > p:not(.eyebrow) {
    font-size: 0.8rem;
  }
  .home-editorial-split .product-card .button {
    font-size: 0.78rem;
  }
  .home-editorial-split .product-review {
    font-size: 0.72rem;
  }
  .community-banner > .container {
    padding-block: 34px;
  }
  .community-banner h2 {
    font-size: 2.1rem;
  }
  .community-banner p:not(.eyebrow) {
    font-size: 0.95rem;
    max-width: 33ch;
  }
  .community-banner:before {
    background: rgba(8, 18, 12, 0.75);
  }
  .photo-credits-link {
    font-size: 0.66rem;
  }
  .footer {
    padding-top: 30px;
    margin-top: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 18px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-grid > .footer-newsletter {
    grid-column: 1/-1;
  }
  .footer-grid > div:last-child ul {
    columns: 1;
  }
  .footer-grid p {
    max-width: 45ch;
  }
  .footer-grid h2 {
    font-size: 0.72rem;
  }
  .footer-grid li a {
    font-size: 0.83rem;
    min-height: 40px;
  }
  .footer-line {
    margin-top: 24px;
    padding-top: 20px;
  }
  .footer-line p {
    font-size: 0.72rem;
    line-height: 1.6;
  }
  .page-hero {
    padding-block: 23px 26px;
    margin-bottom: 24px;
  }
  .page-hero .breadcrumbs {
    font-size: 0.7rem;
    margin-bottom: 25px;
    gap: 6px;
  }
  .page-hero h1 {
    font-size: clamp(2.2rem, 8.4vw, 3rem);
    max-width: none;
    line-height: 1.1;
  }
  .page-hero .standfirst {
    font-size: 1rem;
    line-height: 1.7;
  }
  .page-hero .article-meta {
    gap: 8px 16px;
    font-size: 0.75rem;
  }
  .article-cover {
    margin-bottom: 24px;
  }
  .article-cover img {
    aspect-ratio: 16/10;
  }
  .article-cover figcaption {
    font-size: 0.68rem;
  }
  .article-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .toc {
    position: static;
    max-height: none;
    width: 100%;
    padding: 17px;
  }
  .article-body {
    max-width: none;
    font-size: 1rem;
    line-height: 1.85;
    width: 100%;
  }
  .article-body h2 {
    font-size: 1.75rem;
    scroll-margin-top: 95px;
  }
  .article-body h3 {
    font-size: 1.4rem;
  }
  .quick-answer {
    padding: 20px;
    font-size: 0.94rem;
  }
  .reading-progress {
    top: 70px;
  }
  .reader-tools {
    margin-bottom: 20px;
  }
  .related-reading > ul {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .library-search {
    padding: 18px;
    margin-bottom: 24px;
  }
  .library-options-grid {
    grid-template-columns: 1fr;
  }
  .publication-tabs {
    gap: 6px 18px;
  }
  .publication-tabs a {
    font-size: 0.85rem;
  }
  .library .guide-directory,
  .hub-directory .guide-directory,
  .topic-browser {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .editorial-row h2 {
    font-size: 1.6rem;
  }
  .editorial-row > p {
    font-size: 0.94rem;
  }
  .editorial-row-image {
    margin-bottom: 16px;
  }
  .hub-directory {
    padding-bottom: 35px;
  }
  .hub-directory .directory-row h3 {
    font-size: 1.45rem;
  }
  .tools-form,
  .household-form {
    padding: 18px;
  }
  .community-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }
  .newsletter-panel {
    padding: 20px;
  }
  .newsletter-input-row {
    flex-wrap: wrap;
  }
  .newsletter-input-row > button {
    width: 100%;
  }
}
@media (max-width: 359px) {
  .brand-wordmark {
    font-size: 15px;
  }
  .brand > .icon {
    width: 28px;
  }
  .brand-wordmark small {
    font-size: 5px;
  }
  .hero-actions .button,
  .hero-actions .button-secondary {
    padding-inline: 10px;
    font-size: 0.6rem;
  }
  .photo-topic {
    min-height: 190px;
  }
  .photo-topic h3 {
    font-size: 1.05rem;
  }
  .editorial-grid .editorial-card {
    grid-template-columns: 32% minmax(0, 1fr);
  }
  .editorial-grid .editorial-card h3 {
    font-size: 1.15rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .photo-topic > img,
  .editorial-card-image img,
  a,
  button {
    transition: none;
  }
  .photo-topic:hover > img,
  .editorial-card:hover .editorial-card-image img {
    transform: none;
  }
}
@media print {
  .site-header,
  .footer,
  .hero-values,
  .card-bookmark,
  .community-banner,
  .hero-credit {
    display: none !important;
  }
  .cinematic-hero:before {
    display: none;
  }
  .hero-photo {
    display: none;
  }
  .hero-content {
    color: #000;
    padding: 0;
    min-height: 0;
  }
  .article-cover img {
    max-height: 220px;
    width: auto;
  }
  .article-layout {
    display: block;
  }
  .toc {
    position: static;
  }
  .reading-progress {
    display: none !important;
  }
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  border-top: 1px solid #ffffff26;
  margin-top: 28px;
  padding-top: 20px;
}
.footer-legal-links a {
  font-size: 0.72rem;
  min-height: 32px;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.footer-legal-links a:hover {
  text-decoration: underline;
}
.footer .newsletter-status {
  padding: 0;
  border: 0;
  background: transparent;
  color: #c8d0c7;
  font-size: 0.82rem;
}
.footer .newsletter-signup .button {
  font-size: 0.75rem;
  min-height: 44px;
  padding: 10px 14px;
  color: white;
}
.footer .newsletter-consent {
  font-size: 0.72rem;
  color: #d8dfd5;
}
.footer .newsletter-form input[type="email"] {
  background: #ffffff0d;
  color: white;
  border-color: #ffffff40;
}
.footer .newsletter-form input::placeholder {
  color: #c8d0c7;
}
.footer .newsletter-form button {
  background: var(--olive);
  color: white;
  border-color: var(--olive);
  font-size: 0.75rem;
  padding: 9px;
}
.footer .newsletter-input-row {
  flex-wrap: wrap;
}
.footer .newsletter-input-row > button {
  min-height: 44px;
}
.footer .newsletter-form > label {
  font-size: 0.75rem;
}
.photo-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 40px;
}
.photo-directory figure {
  margin: 0 0 15px;
}
.photo-directory img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}
.photo-directory h2 {
  font-size: 1.35rem;
}
.photo-directory p {
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.tool-directory .guide-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.tool-directory .directory-row {
  padding: 22px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  grid-template-columns: 20px minmax(0, 1fr);
}
.tool-directory .directory-row h2 {
  font-size: 1.5rem;
}
.tool-directory .featured-tool {
  background: var(--forest);
  color: white;
  border-radius: 4px;
}
.tool-directory .featured-tool .eyebrow {
  color: var(--sandstone);
}
@media (max-width: 680px) {
  .photo-directory,
  .tool-directory .guide-directory {
    grid-template-columns: 1fr;
  }
}

.mobile-nav nav {
  max-height: calc(100dvh - 86px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.footer .newsletter-signup .button {
  background: #435b38;
  border-color: #435b38;
  color: #fff;
}
.footer .newsletter-signup .button:hover {
  background: #526c45;
  border-color: #526c45;
  color: #fff;
}
