/* Detroit Salsa Co. Brand marks come from the current tub label and lid badge
   (black, white caps DETROIT, the white Salsa Company bar, the red O and red
   skyline, green for guacamole). Everything around them is kept soft and warm:
   sentence case, a friendly sans, rounded corners, mostly light sections. */
:root {
  --black: #161514;
  --black-2: #24221f;
  --white: #fff;
  --light: #faf7f2;
  --light-2: #f2ede5;
  --red: #d8262c;
  --green: #1f8f68;
  --mango: #f0a21a;
  --on-dark: #f6f3ee;
  --on-dark-muted: #bdb7ae;
  --text: #22201d;
  --muted: #6b645c;
  --line: rgb(34 32 29 / 0.12);
  --brand: "Oswald", "Arial Narrow", sans-serif;
  --body: "Figtree", system-ui, sans-serif;
  --radius: 14px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--light); color: var(--text); font: 400 1.125rem/1.65 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
figure { margin: 0; }
figcaption { margin-top: 10px; font-size: 0.95rem; color: var(--muted); }
.wrap { display: block; width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.dark { background: var(--black); color: var(--on-dark); }
.dark figcaption { color: var(--on-dark-muted); }
.light { background: var(--light); }
.light-2 { background: var(--light-2); }
section { padding: clamp(52px, 8vw, 100px) 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--white); color: var(--text); padding: 8px 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

h1, h2, h3 { margin: 0 0 0.45em; font-family: var(--body); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
.kicker { margin: 0 0 8px; color: var(--red); font-weight: 700; font-size: 1rem; }
.lede { font-size: 1.15rem; max-width: 34em; color: var(--muted); }
.dark .lede { color: var(--on-dark-muted); }
.section-head { margin-bottom: 36px; }

.btn { display: inline-block; padding: 12px 22px; border: 2px solid var(--text); border-radius: 999px; font: 700 1rem/1.2 var(--body); text-decoration: none; }
.btn.solid { background: var(--red); border-color: var(--red); color: var(--white); }
.btn.solid:hover { background: #e9393f; border-color: #e9393f; }
.btn.line { color: var(--text); }
.btn.line:hover { background: rgb(0 0 0 / 0.05); }
.dark .btn.line, .shop .btn.line { border-color: rgb(255 255 255 / 0.7); color: var(--white); }
.dark .btn.line:hover, .shop .btn.line:hover { background: rgb(255 255 255 / 0.1); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }

/* Header */
.top { background: var(--black); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 10px 0; }
.badge { display: block; width: 54px; height: 54px; }
.nav ul { display: flex; gap: 4px 26px; margin: 0; padding: 0; list-style: none; }
.nav ul a { display: block; padding: 6px 0; color: var(--on-dark-muted); font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap; }
.nav ul a:hover { color: var(--white); }

/* Hero: the tub label, full width, then a friendly welcome. */
.hero { padding: clamp(36px, 6vw, 68px) 0 clamp(48px, 7vw, 84px); background: var(--black); color: var(--on-dark); }
.mark { margin: 0 0 clamp(28px, 5vw, 52px); letter-spacing: 0; }
.mark-row { line-height: 0.82; }
.word { position: relative; isolation: isolate; display: inline-block; padding-top: 0.14em; color: var(--white); font: 700 clamp(4.2rem, 16vw, 11.5rem)/0.82 var(--brand); letter-spacing: 0.01em; }
.word .o { color: var(--red); }
/* The Detroit skyline from the tub label: a red outline behind the letters, RenCen rising near the I. */
.skyline { position: absolute; z-index: -1; right: -0.9em; bottom: 0.02em; width: 2.85em; height: 0.95em; overflow: visible; }
.skyline path { fill: none; stroke: var(--red); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.mark-bar { display: block; margin-top: 0.12em; background: var(--white); color: var(--black); font: 600 clamp(1.5rem, 4.6vw, 3.3rem)/1.3 var(--brand); }
.hero-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.tagline { margin: 0 0 14px; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; letter-spacing: -0.02em; }
.hero-photo { justify-self: end; max-width: 440px; }
.hero-photo img { width: 100%; border-radius: var(--radius); }
.open { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1rem; color: var(--on-dark-muted); }
.open b { color: var(--white); font-weight: 600; }
.dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #4cc38a; }

/* Products: each card ends in a small tub-label band. */
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product { --accent: var(--red); display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: 0 1px 2px rgb(0 0 0 / 0.06), 0 8px 24px rgb(0 0 0 / 0.06); }
.product.green { --accent: var(--green); }
.product.mango { --accent: var(--mango); }
.product img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.label-band { background: var(--black); color: var(--white); padding-top: 12px; }
.label-band h3 { margin: 0 16px 8px; font: 600 1.35rem/1.15 var(--brand); letter-spacing: 0.01em; }
.label-band .bar { margin: 0; padding: 4px 16px; background: var(--accent); color: var(--white); font-weight: 700; font-size: 0.92rem; }
.product.mango .bar { color: var(--black); }
.pdfs { margin: 0; padding: 12px 16px 14px; font-size: 0.95rem; color: var(--muted); }

/* Story */
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.family img, .building img { width: 100%; border-radius: var(--radius); }
.story-text p { max-width: 36em; }
.pull { margin: 28px 0 0; padding: 18px 22px; border-radius: var(--radius); background: var(--white); border-left: 5px solid var(--red); }
.pull p { margin: 0; font-weight: 700; font-size: 1.3rem; line-height: 1.35; }
.pull cite { display: block; margin-top: 8px; color: var(--muted); font-style: normal; font-size: 0.95rem; }
.building { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 20px; margin-top: clamp(36px, 6vw, 64px); }

/* Shop */
.shop-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.shop-grid img { width: 100%; border-radius: var(--radius); }
.shop { padding: 26px; border-radius: var(--radius); background: var(--black); color: var(--on-dark); }
.shop h3 { margin-bottom: 14px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0 0 18px; font-size: 1rem; }
.hours dt { color: var(--on-dark-muted); }
.hours dd { margin: 0; }
.addr { margin: 0 0 18px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / 0.14); font-size: 1.05rem; }
.shop-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.extra { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: center; padding: 14px; border-radius: var(--radius); background: var(--white); box-shadow: 0 1px 2px rgb(0 0 0 / 0.05); }
.extra img { width: 150px; border-radius: 10px; }
.extra h3 { margin-bottom: 4px; }
.extra .kicker { margin-bottom: 2px; font-size: 0.9rem; }
.extra p:last-child { margin: 0; color: var(--muted); }

/* Store list */
.areas { columns: 3 260px; column-gap: 40px; }
.area { break-inside: avoid; margin-bottom: 28px; }
.area h3 { margin: 0 0 6px; padding-bottom: 6px; border-bottom: 2px solid var(--red); font-size: 1.05rem; letter-spacing: 0; }
.area ul { margin: 0; padding: 0; list-style: none; }
.area li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.area li span { color: var(--muted); text-align: right; }

/* Wholesale */
.wholesale-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.wholesale-grid p:not(.kicker) { color: var(--muted); max-width: 34em; }
.wholesale figure { justify-self: end; max-width: 420px; }
.wholesale img { width: 100%; border-radius: var(--radius); }

/* Press */
.press-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.press-grid img { width: 100%; border-radius: var(--radius); }
.press ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.press ul a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 700; text-decoration: none; }
.press ul a:hover { border-color: var(--red); color: var(--red); }

/* Footer */
.foot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 44px 0 8px; font-size: 1rem; }
.foot-brand .badge { width: 72px; height: 72px; margin-bottom: 12px; }
.foot p { color: var(--on-dark-muted); }
.foot .kicker { color: var(--on-dark); }
.legal { padding-bottom: 32px; font-size: 0.85rem; color: var(--on-dark-muted); }

@media (max-width: 960px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop { grid-column: 1 / -1; }
  .extras { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .hero-body, .story-grid, .wholesale-grid, .press-grid, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-photo, .wholesale figure { justify-self: stretch; max-width: none; }
  .hero-photo { order: -1; }
  /* One quiet row of links that scrolls sideways instead of wrapping. */
  .nav ul { overflow-x: auto; scrollbar-width: none; gap: 20px; }
  .nav ul::-webkit-scrollbar { display: none; }
}

@media (max-width: 480px) {
  body { font-size: 1.0625rem; }
  .nav { gap: 14px; }
  .badge { width: 46px; height: 46px; }
  .nav ul a { font-size: 0.95rem; }
  .products { gap: 14px; }
  .label-band h3 { margin-inline: 12px; font-size: 1.1rem; }
  .label-band .bar, .pdfs { padding-inline: 12px; font-size: 0.85rem; }
  .extra { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .extra img { width: 96px; }
}
