:root {
  --green: #205C39;
  --cream: #F2EDE2;
  --muted: rgba(242, 237, 226, 0.66);
  --faint: rgba(242, 237, 226, 0.42);
  --line: rgba(242, 237, 226, 0.16);
  --gold: #D9B970;
  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--green);
  color: var(--cream);
  font-family: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* Fine paper grain over the flat green */
body::before {
  content: "";
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: soft-light;
}
main, header, footer { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
a[x-apple-data-detectors] { color: inherit !important; text-decoration: none !important; font: inherit !important; }
img { display: block; max-width: 100%; }
::selection { background: var(--cream); color: var(--green); }

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Top bar */
.topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 28px var(--gutter);
}
.topbar a { transition: color 0.3s var(--ease); }
.topbar a:hover { color: var(--cream); }

/* Hero */
.hero {
  min-height: calc(100svh - 82px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--gutter) 96px;
}
.hero .logo { width: clamp(170px, 18vw, 240px); height: auto; }
.br-m { display: none; }
.hero .since {
  margin-top: clamp(48px, 7vh, 80px);
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.hero .since::before, .hero .since::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--faint);
}
.hero h1 {
  margin: 22px 0 0;
  font-weight: 300;
  font-size: clamp(44px, 8.2vw, 124px);
  line-height: 1;
  letter-spacing: -0.025em;
}
.hero .lede {
  margin: 28px auto 0;
  max-width: 34em;
  text-wrap: balance;
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 300;
  color: var(--muted);
}
.scroll-cue {
  margin-top: clamp(48px, 9vh, 96px);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 48px;
  background: linear-gradient(var(--faint), transparent);
}

/* Brands */
.brands { padding: 0 var(--gutter) clamp(96px, 14vh, 160px); }
.brands-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  max-width: 1280px;
  margin: 0 auto;
}
.grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1280px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.grid li { border-bottom: 1px solid var(--line); }
.grid li:not(:nth-child(3n)) { border-right: 1px solid var(--line); }

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: clamp(48px, 6vw, 80px) clamp(24px, 3vw, 48px) clamp(40px, 4.5vw, 56px);
  transition: background-color 0.5s var(--ease);
}
.brand:hover, .brand:focus-visible { background-color: rgba(242, 237, 226, 0.035); }
.brand.featured { background-color: rgba(242, 237, 226, 0.035); }
.brand.featured:hover { background-color: rgba(242, 237, 226, 0.06); }
.brand.featured .visit u { background-size: 100% 1px; }
.brand.featured .visit svg { transform: translate(3px, -3px); }
.brand:focus-visible { outline: 1px solid var(--muted); outline-offset: -1px; }

.brand .mark {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s var(--ease);
}
.brand:hover .mark { transform: translateY(-4px); }
.brand .mark img { height: var(--h, 56px); width: auto; max-width: 100%; }

.mark-badge { position: relative; display: inline-flex; }
.badge {
  position: absolute;
  top: 0;
  left: 100%;
  transform: translate(-30%, -70%);
  padding: 4px 10px 3px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.4;
  white-space: nowrap;
}

.wordmark { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.wordmark b { font-weight: 600; font-size: 46px; letter-spacing: 0.02em; }
.wordmark b { position: relative; }
.wordmark .tm {
  position: absolute;
  top: 4.6px; /* TM cap top aligned with the M cap top */
  left: 100%;
  margin-left: -4px;
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}
.wordmark span { margin-top: 8px; font-size: 11.5px; font-weight: 500; letter-spacing: 0.3em; padding-left: 0.3em; }

.brand h2 {
  margin: 40px 0 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.brand p {
  margin: 14px 0 0;
  max-width: 30ch;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--muted);
}
.brand .visit {
  margin-top: auto;
  padding-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.brand .visit u {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.5s var(--ease);
}
.brand:hover .visit u { background-size: 100% 1px; }
.brand .visit svg { width: 11px; height: 11px; transition: transform 0.5s var(--ease); }
.brand:hover .visit svg { transform: translate(3px, -3px); }

/* Footer */
footer {
  padding: 0 var(--gutter) 48px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
footer .logo { width: 150px; height: auto; }
footer address, footer .contact { font-style: normal; font-size: 15px; font-weight: 300; line-height: 1.8; color: var(--muted); }
footer .eyebrow { display: block; margin-bottom: 14px; }
footer .contact a { transition: color 0.3s var(--ease); }
footer .contact a:hover { color: var(--cream); }
.legal {
  max-width: 1280px;
  margin: 64px auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.04em;
}

/* Reveal on load / scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .brand, .brand .mark, .brand .visit svg, .brand .visit u { transition: none; }
}

@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid li:not(:nth-child(3n)) { border-right: 0; }
  .grid li:nth-child(odd) { border-right: 1px solid var(--line); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .topbar { padding-top: 22px; padding-bottom: 22px; }
  .hero { min-height: calc(100svh - 70px); padding-bottom: 64px; }
  .br-m { display: inline; }
  .hero h1 { font-size: 15vw; line-height: 1.02; }
  .grid { grid-template-columns: 1fr; }
  .grid li:nth-child(odd) { border-right: 0; }
  .brand .mark { height: 84px; }
  .brand .mark img { height: calc(var(--h, 56px) * 0.88); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .legal { flex-direction: column; gap: 6px; margin-top: 48px; }
}

/* Contact page */
.topbar.split { justify-content: space-between; }
.topbar .home img { width: 104px; height: auto; }
.topbar .back { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); }
.topbar .back svg { width: 14px; height: 10px; transition: transform 0.4s var(--ease); }
.topbar .back:hover svg { transform: translateX(-4px); }
.page-contact { min-height: 100svh; display: flex; flex-direction: column; }
.page-contact main { flex: 1; }
.page-contact footer { padding-bottom: 32px; }
.contact-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px var(--gutter) 48px;
}
.contact-page .wrap { width: 100%; max-width: 1280px; margin: 0 auto; }
.contact-page h1 {
  margin: 20px 0 0;
  font-weight: 300;
  font-size: clamp(48px, 8.2vw, 124px);
  line-height: 1;
  letter-spacing: -0.025em;
}
.contact-page .lede {
  margin: 28px 0 0;
  max-width: 30em;
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 300;
  color: var(--muted);
}
.channels {
  margin-top: clamp(40px, 7vh, 80px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.channel { padding: 32px 32px 8px 0; }
.channel + .channel { padding-left: 32px; border-left: 1px solid var(--line); }
.channel .eyebrow { display: block; margin-bottom: 16px; }
.channel .value { font-size: clamp(18px, 1.6vw, 22px); font-weight: 400; line-height: 1.5; font-style: normal; }
.channel a.value u, .channel .more u {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.5s var(--ease);
}
.channel a.value:hover u, .channel .more:hover u { background-size: 100% 1px; }
.channel .more {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}
.channel .more:hover { color: var(--cream); }
.channel .more svg { width: 11px; height: 11px; transition: transform 0.5s var(--ease); }
.channel .more:hover svg { transform: translate(3px, -3px); }
.contact-page + footer .legal { margin-top: 0; padding-top: 28px; border-top: 1px solid var(--line); }
@media (max-width: 860px) {
  .channels { grid-template-columns: 1fr; }
  .channel, .channel + .channel { padding: 28px 0; border-left: 0; }
  .channel + .channel { border-top: 1px solid var(--line); }
}

/* Facility / private label */
.facility { padding: 0 var(--gutter) clamp(96px, 14vh, 160px); }
.facility-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.facility-head h2 {
  margin: 20px 0 0;
  font-weight: 300;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.facility-media { margin: clamp(40px, 6vh, 64px) 0 0; width: 100%; max-width: 860px; }
.facility-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  opacity: 0.92;
}
.facility-copy p {
  margin: clamp(32px, 5vh, 48px) auto 0;
  text-wrap: balance;
  max-width: 28em;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
}
.pill {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--green);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.pill:hover { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px var(--cream); }

/* Made in Canada badge */
.legal { align-items: center; }
.mic { display: inline-flex; align-items: flex-start; gap: 9px; }
.mic-badge { width: 27px; height: 27px; color: var(--cream); flex: none; }
/* Two lines sized so the ascender top and the baseline line up with the icon edges */
.mic-text {
  --icon: 27px;
  font-size: 14.25px;
  line-height: 1;
  height: calc(var(--icon) + 0.21em);
  margin-top: -0.062em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--cream);
}
/* Phones: badge without text; on the homepage it sits beside "Canada" in the address instead */
.mic-inline { display: none; }
@media (max-width: 620px) {
  .legal { align-items: flex-start; }
  .mic-text { display: none; }
  .footer-inner + .legal .mic { display: none; }
  .mic-inline { display: inline-block; width: 16px; height: 16px; margin-right: 9px; vertical-align: -2px; opacity: 0.66; }
  .contact-page + footer .legal { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* Desktop: photo left, text right */
@media (min-width: 961px) {
  .facility-inner {
    max-width: 1280px;
    display: grid;
    grid-template-columns: 7fr 5fr;
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas: "media ." "media head" "media copy" "media .";
    column-gap: clamp(48px, 6vw, 96px);
    align-items: start;
    text-align: left;
  }
  .facility-head { grid-area: head; }
  .facility-media { grid-area: media; margin: 0; max-width: none; }
  .facility-copy { grid-area: copy; }
  .facility-head h2 { font-size: clamp(36px, 4.2vw, 60px); }
  .facility-copy p { margin: 24px 0 0; max-width: 28em; }
}

/* Phones: iPhone OLED screens render the brand green brighter, so darken it slightly */
@media (max-width: 620px), (pointer: coarse) and (max-height: 500px) {
  :root { --green: #163F27; }
}
