:root {
  color-scheme: light;
  --bg: #f4f0e8;
  --surface: #fffaf0;
  --surface-strong: #101820;
  --text: #1d252c;
  --muted: #626b72;
  --line: #d8d0c2;
  --accent: #9f3219;
  --accent-2: #0f766e;
  --glow: #f7c948;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--glow);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  background: var(--surface-strong);
  border-radius: 6px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 250, 240, 0.94);
  border-bottom: 1px solid var(--line);
  z-index: 10;
  box-shadow: 0 1px 0 rgba(16, 24, 32, 0.03);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.88rem;
}

.nav-all-guides {
  color: var(--text);
}

.nav a {
  text-decoration: none;
}

.nav nav a {
  min-height: 44px;
  padding: 11px 2px 8px;
  border-bottom: 2px solid transparent;
}

.nav nav a:hover,
.nav nav a:focus-visible,
.nav nav a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.nav nav a[aria-current="page"] {
  color: var(--text);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 900;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.hero {
  padding: 72px 0 56px;
  background:
    linear-gradient(135deg, rgba(16, 24, 32, 0.92), rgba(22, 57, 55, 0.9)),
    radial-gradient(circle at 78% 20%, rgba(247, 201, 72, 0.34), transparent 34%);
  color: #fff7e6;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 32px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--glow);
}

h1,
h2 {
  line-height: 1.12;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.15rem, 6vw, 4.3rem);
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.lede {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 247, 230, 0.82);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 26px;
}

.hero-button,
.hero-text-link {
  min-height: 44px;
  padding: 10px 15px;
  font-weight: 900;
  text-decoration: none;
  border-radius: 6px;
}

.hero-button {
  color: var(--surface-strong);
  background: var(--glow);
}

.hero-text-link {
  color: #fff7e6;
  border: 1px solid rgba(255, 247, 230, 0.42);
}

.hero-product-card {
  overflow: hidden;
  background: rgba(255, 250, 240, 0.1);
  border: 1px solid rgba(255, 250, 240, 0.24);
  border-radius: 8px;
}

.hero-product-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-product-card div {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.hero-product-card a {
  display: block;
  padding: 10px 12px;
  color: #fff7e6;
  font-weight: 900;
  text-decoration: none;
  background: rgba(255, 250, 240, 0.14);
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: 6px;
}

.product-kicker {
  margin: 0;
  color: var(--glow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 34px 0 18px;
}

.product-strip article {
  min-height: 0;
}

.product-strip img,
.article-hero img {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.product-strip img {
  aspect-ratio: 16 / 10;
  margin-bottom: 16px;
}

.decision-finder {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: 28px;
  align-items: start;
  padding: 34px 0 12px;
}

#choose-a-path,
.hub-grid article[id] {
  scroll-margin-top: 92px;
}

.decision-finder h2 {
  max-width: 440px;
}

.decision-finder p {
  margin: 14px 0 0;
  color: var(--muted);
}

.finder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.finder-grid a {
  min-height: 132px;
  padding: 16px;
  color: var(--muted);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.finder-grid a:hover,
.finder-grid a:focus-visible {
  border-color: var(--accent-2);
  box-shadow: 0 8px 18px rgba(16, 24, 32, 0.08);
  transform: translateY(-2px);
}

.finder-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 900;
}

.browse-hub {
  display: grid;
  grid-template-columns: minmax(240px, 0.6fr) minmax(0, 1.4fr);
  gap: 24px;
  align-items: start;
  padding: 28px 0 18px;
}

.browse-hub-intro p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
}

.browse-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.browse-hub-grid a {
  min-height: 150px;
  padding: 16px;
  color: var(--muted);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.browse-hub-grid a:hover,
.browse-hub-grid a:focus-visible {
  border-color: var(--accent-2);
  box-shadow: 0 8px 18px rgba(16, 24, 32, 0.08);
  transform: translateY(-2px);
}

.browse-hub-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 900;
}

.latest-guides {
  padding: 42px 0 18px;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.latest-guides-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.latest-guides-grid a {
  min-height: 190px;
  padding: 18px;
  color: var(--muted);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent-2);
  border-radius: 8px;
}

.latest-guides-grid a:hover,
.latest-guides-grid a:focus-visible {
  border-color: var(--accent-2);
  box-shadow: 0 8px 18px rgba(16, 24, 32, 0.08);
  transform: translateY(-2px);
}

.latest-guides-grid strong {
  display: block;
  margin: 7px 0 9px;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.25;
}

.guide-label {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.library-link {
  margin: 18px 0 0;
}

.article-hero {
  margin: 28px 0 22px;
}

.article-hero img {
  aspect-ratio: 16 / 9;
}

.article-hero figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 56px 0 34px;
}

.split-section p,
.content-page p,
.list-section li {
  color: var(--muted);
  font-size: 1.04rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 18px 0 64px;
}

article {
  min-height: 208px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

article h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

article p {
  margin: 0;
  color: var(--muted);
}

.topic-band {
  margin-bottom: 64px;
  padding: 28px;
  background: var(--surface-strong);
  color: #fff7e6;
  border-radius: 8px;
}

.topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.topic-list a {
  padding: 10px 14px;
  color: #fff7e6;
  text-decoration: none;
  border: 1px solid rgba(255, 247, 230, 0.28);
  border-radius: 6px;
}

.content-page {
  max-width: 920px;
  padding: 56px 0 72px;
}

.content-page h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.content-page > .eyebrow + h1 {
  max-width: 18ch;
}

.content-page > h1 + p {
  margin-top: 18px;
  font-size: 1.12rem;
}

.content-page section + section {
  margin-top: 38px;
}

.content-page section > h2 {
  max-width: 28ch;
  margin-bottom: 12px;
}

.content-page li + li {
  margin-top: 9px;
}

.content-page > p:not(.disclosure),
.article-shell > p,
.article-shell > ul,
.article-shell > ol {
  max-width: 72ch;
}

.list-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.disclosure {
  padding: 12px 14px;
  color: var(--text);
  background: #fff4d1;
  border: 1px solid #e4c768;
  border-radius: 6px;
}

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

article .text-link {
  display: inline-block;
  margin-top: 10px;
}

.product-route-panel,
.decision-paths,
.product-cta-panel,
.guide-hub,
.quick-router {
  margin-top: 30px;
}

.product-route-panel h2,
.product-cta-panel h2,
.guide-hub h2,
.quick-router h2 {
  font-size: 1.45rem;
}

.route-list,
.decision-paths,
.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.guide-hub {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hub-intro {
  max-width: 760px;
}

.hub-intro p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.hub-grid article {
  min-height: 0;
  padding: 18px;
}

.hub-grid article > .text-link,
.route-list article > .text-link {
  display: block;
  padding: 9px 0;
  margin-top: 0;
  line-height: 1.35;
  border-top: 1px solid var(--line);
}

.hub-grid article > p + .text-link,
.route-list article > p + .text-link {
  margin-top: 12px;
}

.quick-router {
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.38fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
  background: #fffaf0;
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent-2);
  border-radius: 8px;
}

.quick-router .eyebrow {
  margin-bottom: 8px;
}

.router-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.router-list a {
  min-height: 124px;
  padding: 14px;
  color: var(--muted);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.router-list a:hover,
.router-list a:focus-visible {
  border-color: var(--accent-2);
  box-shadow: 0 8px 18px rgba(16, 24, 32, 0.08);
}

.router-list span {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 900;
  line-height: 1.25;
}

.hub-grid h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  line-height: 1.2;
}

.route-list article,
.decision-paths article,
.product-list article {
  min-height: 0;
  padding: 18px;
}

.product-list img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 14px;
  object-fit: cover;
  border-radius: 6px;
}

.route-list h3,
.product-list h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  line-height: 1.2;
}

.route-status {
  font-weight: 800;
}

.button-link {
  display: inline-block;
  margin-top: 4px;
  padding: 10px 13px;
  color: #fff7e6;
  font-weight: 900;
  text-decoration: none;
  background: var(--accent-2);
  border-radius: 6px;
}

.button-link:hover,
.button-link:focus-visible {
  background: #0b5f59;
  box-shadow: 0 8px 18px rgba(16, 24, 32, 0.16);
  transform: translateY(-1px);
}

.product-cta-panel {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-cta-panel > p {
  max-width: 68ch;
  margin: 10px 0 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.cta-grid a {
  padding: 12px;
  color: #fff7e6;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  background: var(--surface-strong);
  border-radius: 6px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.shopping-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.shopping-list a {
  display: block;
  min-height: 100%;
  padding: 12px;
  color: #fff7e6;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  background: var(--surface-strong);
  border-radius: 6px;
}

footer {
  padding: 28px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: start;
}

.footer-brand {
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
}

.footer-disclosure {
  max-width: 620px;
  margin: 8px 0 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer-nav a {
  padding: 8px 10px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  border-color: var(--accent-2);
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .topic-list {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    min-height: 0;
    width: 100%;
    padding: 10px 0 8px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .nav nav {
    display: flex;
    width: calc(100% + 28px);
    margin-left: -14px;
    padding: 2px 14px 5px;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-2) transparent;
    -webkit-overflow-scrolling: touch;
  }

  .nav nav::after {
    content: "";
    flex: 0 0 8px;
  }

  .nav nav a {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 11px 13px 8px;
    text-align: center;
    white-space: nowrap;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 6px;
    scroll-snap-align: start;
  }

  .nav nav a[aria-current="page"] {
    background: #fff4d1;
    border-color: var(--accent);
  }

  .hero {
    padding: 48px 0 36px;
  }

  .content-page {
    padding-top: 38px;
  }

  .content-page section + section {
    margin-top: 30px;
  }

  .content-page article,
  .product-strip article {
    padding: 19px;
  }

  .hero-grid,
  .split-section,
    .grid,
    .decision-finder,
    .finder-grid,
    .browse-hub,
    .browse-hub-grid,
    .latest-guides-grid,
    .product-strip,
    .route-list,
    .decision-paths,
    .product-list,
    .hub-grid,
    .quick-router,
    .router-list,
    .shopping-list,
    .cta-grid,
    .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .nav {
    padding: 10px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .nav nav {
    width: 100%;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .finder-grid a,
  .browse-hub-grid a,
  .router-list a,
  .button-link {
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  }
}

@media (max-width: 760px) {
  .brand {
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }
}

.product-first-hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(280px, 1.05fr);
  gap: 20px;
  align-items: stretch;
  margin: 24px 0;
  padding: 18px;
  border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, Canvas 88%, currentColor 4%);
}

.product-first-image {
  display: block;
  min-height: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: color-mix(in srgb, currentColor 8%, transparent);
}

.product-first-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.product-first-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.product-first-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 0.72;
}

.product-first-copy h2,
.product-first-copy p {
  margin: 0;
}

.product-first-links {
  display: grid;
  gap: 10px;
}

.product-first-links a {
  display: block;
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: color-mix(in srgb, currentColor 18%, #0f5f4a 82%);
}

.product-first-related {
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .product-first-hero {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .product-first-image img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

.product-first-related a {
  font-weight: 700;
}


/* portfolio-content-standard-v1 */
.editorial-meta,.editorial-policy{border:1px solid color-mix(in srgb,currentColor 18%,transparent);border-radius:14px;background:color-mix(in srgb,currentColor 4%,transparent);padding:1rem 1.15rem;margin:1rem 0 1.5rem}.editorial-meta p,.editorial-policy p{margin:.35rem 0}.editorial-policy-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.editorial-policy-grid>div{min-width:0}.editorial-policy h3{margin-bottom:.35rem}.category-route-label{display:inline-block;font-size:.72rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;margin-right:.45rem;opacity:.78}img{max-width:100%;height:auto}
