:root {
  color-scheme: light dark;
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  color: #18343b;
  background: #f4f6f6;
  --brand: #163b43;
  --action: #c84f27;
  --accent: #08707b;
  --text: #18343b;
  --muted: #577078;
  --border: #c8d5d7;
  --surface: #fff;
  --sunken: #eaf0f1;
  --page: 1240px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  min-width: 320px;
  margin: 0;
  background: #f4f6f6;
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #086775;
  text-underline-offset: 3px;
}
a:hover {
  color: #a63d1c;
}
:focus-visible {
  outline: 3px solid #0c6d8a;
  outline-offset: 3px;
  border-radius: 0.35rem;
}
h1,
h2,
h3 {
  margin: 0;
  color: #102c33;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  letter-spacing: -0.05em;
}
h2 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}
h3 {
  font-size: 1.05rem;
}
p,
ul,
dl {
  margin: 0;
}
.page {
  width: 100%;
  max-width: var(--page);
  margin: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
}
.skip-link {
  position: fixed;
  z-index: 10;
  left: 1rem;
  top: -5rem;
  padding: 0.7rem 1rem;
  background: #fff;
}
.skip-link:focus {
  top: 1rem;
}
.site-header {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid var(--border);
  background: rgb(255 255 255/0.96);
  box-shadow: 0 1px 0 rgb(16 37 45/0.03);
}
.site-header__inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.site-header__brand {
  display: inline-flex;
  flex: 0 0 auto;
}
.site-header__brand img {
  display: block;
  width: 150px;
}
.site-nav {
  margin-left: auto;
}
.site-nav ul,
.site-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.site-nav a,
.site-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.75rem;
  border-radius: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current='page'],
.site-menu a:hover,
.site-menu a[aria-current='page'] {
  color: var(--brand);
  background: var(--sunken);
}
.site-nav a[aria-current='page'] {
  box-shadow: inset 0 -2px var(--action);
}
.theme-toggle {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  background: var(--surface);
  color: var(--brand);
  cursor: pointer;
}
.theme-toggle:hover,
.site-menu summary:hover {
  border-color: var(--accent);
  background: var(--sunken);
}
.site-menu {
  display: none;
  margin-left: auto;
}
.site-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding-inline: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.site-menu summary::-webkit-details-marker {
  display: none;
}
.site-menu__icon {
  display: inline-flex;
  width: 1rem;
  justify-content: center;
}
.site-menu__icon--close,
.site-menu[open] .site-menu__icon--open {
  display: none;
}
.site-menu[open] .site-menu__icon--close {
  display: inline-flex;
}
.site-menu nav {
  position: absolute;
  inset: 64px clamp(1rem, 3vw, 2rem) auto;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 0 0 0.65rem 0.65rem;
  background: var(--surface);
  box-shadow: 0 14px 34px rgb(16 37 45/0.12);
}
.site-menu:not([open]) nav {
  display: none;
}
.site-menu ul {
  display: grid;
  gap: 0.25rem;
}
.site-menu a {
  width: 100%;
}
main {
  flex: 1 0 auto;
  padding-block: 3rem 5rem;
}
.supplier-page {
  display: grid;
  gap: 2rem;
}
.profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 0.55fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--surface), var(--sunken));
}
.profile-hero--single {
  grid-template-columns: minmax(0, 1fr);
}
.eyebrow,
.section-label {
  color: var(--action);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.profile-hero h1 {
  max-width: 17ch;
  margin: 0.5rem 0;
}
.branch {
  font-weight: 700;
}
.location {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 0.45rem;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  gap: 0.4rem;
}
.button.primary {
  background: var(--accent);
  color: #fff;
}
.button.secondary {
  background: var(--surface);
}
.button.quiet {
  border-color: var(--border);
}
.profile-summary {
  padding: 1.3rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
  box-shadow: 0 8px 24px rgb(15 43 50/0.08);
}
.verified {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: #14633c;
}
.profile-summary dl {
  display: grid;
  gap: 0.5rem;
  margin-block: 1rem;
}
.profile-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}
.profile-summary dt {
  color: var(--muted);
  font-size: 0.82rem;
}
.profile-summary dd {
  margin: 0;
  font-weight: 800;
}
.profile-summary > p:last-child {
  color: var(--muted);
  font-size: 0.78rem;
}
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  background: var(--surface);
}
.jump a {
  padding: 0.45rem 0.7rem;
  border-radius: 0.35rem;
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 750;
  text-decoration: none;
}
.jump a:hover {
  background: var(--sunken);
}
.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(18rem, 0.65fr);
  gap: 1.5rem;
  align-items: start;
}
.profile-grid > div,
.profile-grid > aside {
  display: grid;
  gap: 1rem;
}
.card {
  padding: clamp(1.15rem, 2.5vw, 1.65rem);
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  background: var(--surface);
  box-shadow: 0 3px 12px rgb(18 48 55/0.04);
}
.card .section-label,
.card .eyebrow {
  margin-bottom: 0.35rem;
}
.card h2 + * {
  margin-top: 1rem;
}
.card h3 {
  margin-top: 1.25rem;
}
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.facts div {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--sunken);
}
.facts dt {
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.facts dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
}
.note {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-left: 3px solid var(--action);
  background: #fff5ef;
  color: #654336;
  font-size: 0.88rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: var(--sunken);
  font-size: 0.82rem;
}
.product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1rem;
  padding-left: 1.1rem;
}
.muted {
  color: var(--muted);
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}
.tool-card {
  display: grid;
  height: 100%;
  gap: 0.4rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.55rem;
  color: inherit;
  text-decoration: none;
}
.tool-card:hover {
  border-color: var(--action);
  box-shadow: 0 8px 20px rgb(19 52 59/0.08);
}
.tool-card span {
  color: var(--muted);
  font-size: 0.82rem;
}
.sources,
.action-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}
.sources {
  margin-block: 1rem;
}
.sources li {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem;
  border-left: 3px solid var(--accent);
  background: var(--sunken);
}
.sources span {
  color: var(--muted);
  font-size: 0.78rem;
}
.source-details {
  padding: clamp(1.15rem, 2.5vw, 1.65rem);
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  background: var(--surface);
  box-shadow: 0 3px 12px rgb(18 48 55/0.04);
}
.source-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--brand);
  font-weight: 800;
  cursor: pointer;
}
.source-details summary small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
}
.source-details__content {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(16rem, 1.2fr);
  gap: 1.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.source-details__content > div {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}
.source-details__content > div p {
  color: var(--muted);
}
.action-list li + li {
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
}
.site-footer {
  border-top: 4px solid var(--action);
  background: #163b43;
  color: rgb(238 244 245/0.8);
  padding-block: 2.5rem 1.5rem;
  font-size: 0.86rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.8fr;
  gap: 2.5rem;
}
.site-footer__brand {
  display: grid;
  gap: 1.3rem;
}
.site-footer__brand img {
  width: 173px;
}
.site-footer h2 {
  margin-bottom: 0.75rem;
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.site-footer nav {
  align-content: start;
}
.footer-links,
.site-footer__legal {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links {
  display: grid;
  gap: 0.45rem;
}
.site-footer .footer-partnership-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin-top: 1rem;
  min-height: 44px;
  padding-inline: 0.75rem;
  border: 1px solid #f7a17c;
  border-radius: 0.4rem;
  background: rgb(247 161 124/0.1);
  color: #fff;
  font-weight: 750;
}
.site-footer .footer-partnership-link:hover {
  background: rgb(247 161 124/0.2);
  text-decoration: none;
}
.site-footer a {
  color: rgb(255 255 255/0.9);
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}
.site-footer__bottom {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(255 255 255/0.15);
}
.site-footer__bottom nav {
  display: flex;
  gap: 1rem;
}
.site-footer__legal {
  display: flex;
}
.site-footer__legal li + li::before {
  content: '·';
  margin-inline: 0.625rem;
  color: rgb(203 217 221/0.46);
}
.supplier-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.supplier-results .card {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}
.supplier-results .card .chips {
  margin-top: 0;
}
.supplier-results .card .eyebrow::before {
  display: none;
}
.supplier-results .actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}
.supplier-results .actions:has(> :nth-child(3)) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.supplier-results .actions .button {
  min-width: 0;
  padding-inline: 0.4rem;
  font-size: 0.76rem;
  white-space: nowrap;
}
@media (max-width: 992px) {
  .site-nav {
    display: none;
  }
  .site-menu {
    display: block;
    margin-left: 0;
  }
  .theme-toggle {
    margin-left: auto;
  }
  .profile-hero,
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer__brand,
  .site-footer__bottom {
    grid-column: 1/-1;
  }
}
@media (max-width: 620px) {
  .site-header__inner {
    min-height: 4rem;
  }
  .site-header__brand img {
    width: 145px;
  }
  .site-menu nav {
    inset-block-start: 64px;
  }
  .profile-hero {
    padding: 1.25rem;
  }
  .actions .button {
    width: 100%;
  }
  .facts,
  .tool-grid,
  .product-list,
  .supplier-results {
    grid-template-columns: 1fr;
  }
  .source-details__content {
    grid-template-columns: 1fr;
  }
  .jump {
    overflow: auto;
    flex-wrap: nowrap;
  }
  .jump a {
    white-space: nowrap;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
  .site-footer__brand,
  .site-footer__bottom {
    grid-column: auto;
  }
  .site-footer__bottom {
    display: grid;
  }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --text: #eaf1f2;
    --muted: #aac0c4;
    --border: #3d565c;
    --surface: #18343b;
    --sunken: #203f46;
    --brand: #edf5f6;
  }
  :root:not([data-theme]) body {
    background: #10262c;
  }
  :root:not([data-theme]) .site-header {
    background: rgb(16 38 44/0.96);
  }
  :root:not([data-theme]) h1,
  :root:not([data-theme]) h2,
  :root:not([data-theme]) h3 {
    color: #f5f8f8;
  }
  :root:not([data-theme]) .site-header__brand img {
    filter: brightness(0) invert(1);
  }
  :root:not([data-theme]) .note {
    background: #3b2a24;
    color: #f2c3b0;
  }
  :root:not([data-theme]) .button.secondary,
  :root:not([data-theme]) .button.quiet {
    background: var(--surface);
  }
}
:root[data-theme='dark'] {
  --text: #eaf1f2;
  --muted: #aac0c4;
  --border: #3d565c;
  --surface: #18343b;
  --sunken: #203f46;
  --brand: #edf5f6;
  background: #10262c;
}
:root[data-theme='dark'] body {
  background: #10262c;
}
:root[data-theme='dark'] .site-header {
  background: rgb(16 38 44/0.96);
}
:root[data-theme='dark'] h1,
:root[data-theme='dark'] h2,
:root[data-theme='dark'] h3 {
  color: #f5f8f8;
}
:root[data-theme='dark'] .site-header__brand img {
  filter: brightness(0) invert(1);
}
:root[data-theme='dark'] .note {
  background: #3b2a24;
  color: #f2c3b0;
}
