/* ==========================================================================
   Can Goods Supply Inc.
   Single stylesheet. No build step, no dependencies.
   ========================================================================== */

:root {
  --ink:        #131A22;
  --slate:      #4A5561;
  --line:       #E2E6EA;
  --paper:      #FFFFFF;
  --wash:       #F6F8F9;
  --navy:       #1B3A5C;
  --navy-deep:  #12283F;
  --accent:     #B8860B;   /* rules and marks only — never text */
  --accent-ink: #8C6608;   /* darker goldenrod, for accent-coloured text (AA) */

  --footer-text: #C3CDD8;

  --wrap:  1160px;
  --prose: 68ch;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

/* --------------------------------------------------------------- reset -- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  color: var(--ink);
}

h1 { font-size: clamp(2.05rem, 1.45rem + 2.3vw, 3rem); letter-spacing: -0.028em; }
h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); letter-spacing: -0.022em; }
h3 { font-size: 1.18rem; letter-spacing: -0.01em; }
h4 { font-size: 1rem; }

p  { margin: 0 0 20px; max-width: var(--prose); }
ul, ol { max-width: var(--prose); }

a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-deep); }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

/* -------------------------------------------------------------- layout -- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.section        { padding: 88px 0; }
.section--tight { padding: 60px 0; }
.section--wash  { background: var(--wash); border-block: 1px solid var(--line); }

.section + .section--wash { border-top: 0; }

.lede {
  font-size: 1.2rem;
  line-height: 1.62;
  color: var(--slate);
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--accent);
}

.section-head { margin-bottom: 44px; }
.section-head p:last-child { margin-bottom: 0; }

hr.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ------------------------------------------------------------- buttons -- */

.btn {
  display: inline-block;
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  padding: 14px 26px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn:hover  { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }

.btn--outline { background: transparent; color: var(--navy); }
.btn--outline:hover { background: rgba(27,58,92,.06); color: var(--navy-deep); }

.btn--onimage {
  background: transparent;
  border-color: rgba(255,255,255,.75);
  color: #fff;
}
.btn--onimage:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }

.btn--sm { padding: 10px 18px; font-size: 0.92rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(27,58,92,.3);
  padding-bottom: 2px;
}
.arrow-link:hover { border-bottom-color: var(--navy); }
.arrow-link svg { flex: none; }

/* ------------------------------------------------------------- top bar -- */

.top-bar {
  background: var(--navy-deep);
  color: #C3CDD8;
  font-size: 0.95rem;
  line-height: 1.45;
}
.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 30px;
  padding-block: 13px;
}
.top-bar ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}
.top-bar li {
  display: flex;
  align-items: center;
  gap: 11px;
}
/* separator dots between claims, not before the first */
.top-bar li + li::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  margin-right: 13px;
}
.top-bar strong { color: #fff; font-weight: 600; }
.maple { flex: none; color: #D8452F; }

/* -------------------------------------------------------------- header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.brand-mark {
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand-name {
  display: block;
  font-weight: 600;
  font-size: 1.14rem;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.brand-sub {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  line-height: 1.3;
}

.site-nav { margin-left: auto; }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}
.site-nav a {
  font-size: 0.96rem;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--line); }
.site-nav a[aria-current="page"] { font-weight: 600; border-bottom-color: var(--navy); }

.header-cta { flex: none; }

/* the in-menu quote button is a mobile-only duplicate of .header-cta */
.site-nav .nav-cta { display: none; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 9px 14px;
  color: var(--ink);
  cursor: pointer;
}

/* ---------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  background: var(--navy-deep);
  color: #fff;
  overflow: hidden;
}
.hero picture, .hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
              rgba(9,20,33,.90) 0%,
              rgba(9,20,33,.80) 45%,
              rgba(9,20,33,.55) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 104px 0 108px;
  max-width: 760px;
}
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero p {
  color: #DCE3EA;
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 62ch;
  margin-bottom: 0;
}

.page-hero {
  background: var(--navy-deep);
  color: #fff;
  padding: 76px 0;
}
/* optional photographic backing for a page header */
.page-hero--image { position: relative; overflow: hidden; }
.page-hero--image picture, .page-hero--image > picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero--image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(9,20,33,.93) 0%, rgba(9,20,33,.84) 50%, rgba(9,20,33,.62) 100%);
}
.page-hero--image .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 18px; }
.page-hero p  { color: #DCE3EA; font-size: 1.18rem; margin-bottom: 0; }
.page-hero .eyebrow { color: #A9BACB; }

/* -------------------------------------------------------- trust strip -- */

.trust-strip {
  background: var(--wash);
  border-bottom: 1px solid var(--line);
}
.trust-strip ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}
.trust-strip li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px 26px;
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  border-left: 1px solid var(--line);
}
/* first item of each row loses its divider and its left inset */
.trust-strip li:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
.trust-strip li:nth-child(n + 4)  { border-top: 1px solid var(--line); }
.trust-strip svg { flex: none; color: var(--navy); }

/* --------------------------------------------------------------- grids -- */

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  padding: 28px;
}
.card h3 { margin-bottom: 10px; }
.card p:last-child  { margin-bottom: 0; }
.card ul:last-child { margin-bottom: 0; }
.card svg { color: var(--navy); margin-bottom: 16px; }

.card--link { display: block; text-decoration: none; color: inherit; transition: border-color .15s ease; }
.grid--3 .card--link, .grid--3 .card { height: 100%; }
.card--link:hover { border-color: var(--navy); color: inherit; }

.col h3 { margin-bottom: 12px; }
.col p:last-child { margin-bottom: 0; }
.col-rule { border-top: 2px solid var(--navy); padding-top: 20px; }

.muted { color: var(--slate); }
.small { font-size: 0.95rem; }

/* --------------------------------------------------------------- lists -- */

.list-check {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.list-check li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 11px;
  color: var(--slate);
}
/* industry name leading a list item, with examples after the dash */
.list-check li strong { color: var(--ink); font-weight: 600; }

.list-check li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 9px;
  height: 1px;
  background: var(--navy);
}

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  max-width: none;
  border-top: 1px solid var(--line);
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-ink);
  letter-spacing: 0.04em;
  padding-top: 2px;
}
.steps h3 { margin-bottom: 6px; font-size: 1.05rem; }
.steps p  { margin-bottom: 0; color: var(--slate); }

/* ------------------------------------------------------------- services -- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.service {
  padding: 30px 28px 30px 0;
  border-bottom: 1px solid var(--line);
}
.service + .service { border-left: 1px solid var(--line); padding-left: 28px; }
.service svg { color: var(--navy); margin-bottom: 14px; }
.service h3 { font-size: 1.05rem; margin-bottom: 8px; }
.service p  { color: var(--slate); font-size: 0.97rem; margin-bottom: 0; }

/* ------------------------------------------------------------ ops grid -- */

/* image beside text, the same arrangement as the Sourcing and import split,
   at a quarter of the scale so four stages fit without dominating */
.ops-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 48px;
}
.ops {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
  margin: 0;
}
.ops img {
  border-radius: 4px;
  aspect-ratio: 7 / 4;
  object-fit: cover;
}
.ops h3 { font-size: 1.05rem; margin-bottom: 8px; }
.ops p  { color: var(--slate); font-size: 0.95rem; margin-bottom: 0; }

/* -------------------------------------------------------------- sectors -- */

.sector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}
.sector img {
  border-radius: 4px;
  margin-bottom: 26px;
  aspect-ratio: 7 / 4;
  object-fit: cover;
}
.sector h3 {
  font-size: 1.42rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.sector p { color: var(--slate); }
.sector .list-check { margin-bottom: 20px; }
.sector .list-check li { color: var(--slate); }

/* --------------------------------------------------------------- split -- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split + .split { margin-top: 88px; }
.split--top { align-items: start; }
.split img { border-radius: 4px; }
.split-body p:last-child { margin-bottom: 0; }
.split--flip .split-media { order: 2; }

/* ---------------------------------------------------------- categories -- */

.cat-block {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 48px;
  align-items: start;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.cat-block:first-of-type { border-top: 0; padding-top: 0; }
.cat-block img { border-radius: 4px; }
.cat-block h2 { font-size: 1.5rem; margin-bottom: 10px; }

/* --------------------------------------------------------------- table -- */

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  text-align: left;
}
.data-table th,
.data-table td {
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.data-table th {
  width: 210px;
  font-weight: 600;
  color: var(--slate);
  white-space: nowrap;
}

/* ------------------------------------------------------------ callouts -- */

.callout {
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy);
  border-radius: 4px;
  background: var(--paper);
  padding: 26px 28px;
}
.callout p:last-child { margin-bottom: 0; }


/* ------------------------------------------------------------- cta band -- */

/* one shade lighter than the footer, so the two dark bands read as separate */
.cta-band {
  background: var(--navy);
  color: #fff;
  padding: 76px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p  { color: #DCE3EA; margin-bottom: 0; }
.cta-band .btn {
  background: #fff;
  border-color: #fff;
  color: var(--navy-deep);
  margin-top: 28px;
}
.cta-band .btn:hover { background: #E8EDF2; border-color: #E8EDF2; color: var(--navy-deep); }

/* --------------------------------------------------------- email lockup -- */

.email-lockup {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy);
  border-radius: 4px;
  background: var(--wash);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.email-lockup:hover { background: #EEF2F5; border-color: var(--navy); color: var(--ink); }
.email-lockup svg { flex: none; color: var(--navy); }
.email-lockup-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 3px;
}
.email-lockup-address {
  display: block;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  word-break: break-word;
}

/* -------------------------------------------------------------- footer -- */

.site-footer {
  background: var(--navy-deep);
  color: var(--footer-text);
  padding: 64px 0 32px;
  font-size: 0.98rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h2, .site-footer h3 {
  color: #fff;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid address { font-style: normal; line-height: 1.7; }
.footer-brand-name { color: #fff; font-weight: 600; font-size: 1.02rem; display: block; margin-bottom: 12px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: 0.87rem;
}
.footer-bottom p { margin: 0; max-width: none; }

/* ------------------------------------------------------------------ 404 -- */

.center-page { padding: 120px 0; }
.center-page p { margin-inline: 0; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 980px) {
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .ops-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service:nth-child(odd)  { border-left: 0; padding-left: 0; }
  .service:nth-child(even) { border-left: 1px solid var(--line); padding-left: 28px; }
  .split { gap: 40px; }
  .cat-block { grid-template-columns: 340px 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .trust-strip ul { grid-template-columns: 1fr 1fr; }
  .trust-strip li { border-left: 1px solid var(--line); border-top: 0; }
  .trust-strip li:nth-child(odd)   { border-left: 0; padding-left: 0; }
  .trust-strip li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 768px) {
  body { font-size: 17px; }

  .section        { padding: 60px 0; }
  .section--tight { padding: 44px 0; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(19,26,34,.06);
    padding: 8px 24px 20px;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-top: 1px solid var(--line); }
  .site-nav a { display: block; padding: 14px 0; border-bottom: 0; }
  .site-nav a[aria-current="page"] { border-bottom: 0; }

  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }

  /* the enlarged mark and the menu button both have to fit at 375px */
  .header-inner { min-height: 74px; gap: 12px; }
  .brand { gap: 10px; }
  .brand-mark { width: 42px; height: 42px; font-size: 0.84rem; }
  .brand-name { font-size: 1rem; }
  .brand-sub  { font-size: 0.66rem; letter-spacing: 0.08em; }
  .site-nav .nav-cta { display: block; margin-top: 18px; border-top: 0; }
  .site-nav .nav-cta .btn {
    display: block;
    text-align: center;
    color: #fff;          /* .site-nav a would otherwise win over .btn */
    padding: 14px 26px;
  }

  .hero-inner { padding: 72px 0 76px; }
  .hero::after {
    background: linear-gradient(180deg, rgba(9,20,33,.86) 0%, rgba(9,20,33,.82) 100%);
  }
  .page-hero { padding: 54px 0; }

  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  /* 150px of text beside a 150px image is unreadable at this width, so the
     image goes back above the copy */
  .ops-grid { grid-template-columns: 1fr; gap: 34px; }
  .ops { grid-template-columns: 1fr; gap: 16px; }
  .ops img { max-width: 320px; }

  .service-grid { grid-template-columns: 1fr; }
  .service, .service + .service {
    border-left: 0;
    padding: 24px 0;
  }

  .top-bar { font-size: 0.88rem; }
  .top-bar-inner { padding-block: 11px; }
  .top-bar li + li::before { display: none; }
  .top-bar ul { gap: 5px 18px; }
  /* the bar must not eat the fold: the importer line appears again in the
     trust strip immediately below */
  .top-bar li:nth-child(2) { display: none; }
  .grid { gap: 20px; }

  .split, .split + .split { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; }
  .sector-grid { grid-template-columns: 1fr; gap: 48px; }
  .split--flip .split-media { order: 0; }

  .cat-block { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }

  .steps li { grid-template-columns: 42px 1fr; gap: 14px; }

  .email-lockup { width: 100%; padding: 16px 18px; gap: 13px; }

  .data-table th { width: auto; white-space: normal; }
  .data-table th, .data-table td { display: block; padding-right: 0; }
  .data-table th { border-bottom: 0; padding-bottom: 2px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .center-page { padding: 72px 0; }
}

@media (max-width: 460px) {
  .trust-strip ul { grid-template-columns: 1fr; }
  .trust-strip li { border-left: 0; padding: 15px 0; border-top: 1px solid var(--line); }
  .trust-strip li:first-child { border-top: 0; }
  .btn-row .btn { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .site-header, .cta-band, .btn-row, .nav-toggle { display: none; }
  body { font-size: 12pt; color: #000; }
  .hero::after { display: none; }
}
