/* Klean Kanteen storefront mock for /demo, modeled on kleankanteen.com (Montserrat, #1c1c1c on
   white, light-gray product tiles, black square badges). */
:root {
  --kk-ink: #1c1c1c;
  --kk-muted: #6d6a6a;
  --kk-tile: #f5f5f5;
  --kk-panel: #efefef;
  --kk-line: rgba(28, 28, 28, 0.15);
  --kk-green: #7dbd04;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-weight: 500;
  color: var(--kk-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.announcement {
  background: var(--kk-ink);
  color: #fff;
  text-align: center;
  font-size: 0.8125rem;
  padding: 15px 16px;
}

/* Header: nav left, logo centered, icons right. */
.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 22px 48px;
  border-bottom: 1px solid var(--kk-line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
}

.site-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9375rem;
}

.site-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-logo img {
  display: block;
  width: 162px;
  height: auto;
}

.site-icons {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.icon-btn {
  border: 0;
  background: none;
  padding: 6px;
  display: grid;
  place-items: center;
}

.icon-btn svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Hero: full-bleed photo, white headline on the left. */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #2b3326;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-img {
  object-fit: cover;
  object-position: 30% center;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgb(0 0 0 / 0.45), rgb(0 0 0 / 0) 65%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  margin-left: auto;
  margin-right: 4%;
  padding: 48px 16px;
  text-align: center;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  font-weight: 800;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 32px;
  font-weight: 700;
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  line-height: 1.12;
  text-shadow: 0 2px 18px rgb(0 0 0 / 0.25);
}

.pill {
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--kk-ink);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  transition: transform 0.15s ease;
}

.pill:hover {
  transform: translateY(-1px);
}

.hero-hint {
  margin: 18px 0 0;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Shop: "Bottles · Tumblers · Cups · Kids" tabs over a 4-up grid. */
.shop {
  max-width: 1344px;
  margin: 0 auto;
  padding: 72px 48px 88px;
}

.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 36px;
  margin-bottom: 48px;
}

.tabs [role='tab'] {
  border: 0;
  background: none;
  padding: 4px 0;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: rgb(28 28 28 / 0.3);
  transition: color 0.15s ease;
}

.tabs [role='tab']:hover,
.tabs [role='tab'][aria-selected='true'] {
  color: var(--kk-ink);
}

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

.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tile-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background: var(--kk-tile);
  margin-bottom: 18px;
}

.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.tile-media:hover img {
  transform: scale(1.04);
}

.tile-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--kk-ink);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 6px;
}

.tile-title {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.65;
  text-decoration: none;
}

.tile-title:hover {
  text-decoration: underline;
}

.tile-price {
  margin: 4px 0 0;
  color: var(--kk-muted);
  font-weight: 600;
  font-size: 0.875rem;
}

.tile-price s {
  margin-left: 6px;
  font-weight: 500;
}

.tile-meta {
  margin: 2px 0 0;
  min-height: 1.4em;
  color: var(--kk-muted);
  font-size: 0.8125rem;
}

.tile-ask {
  margin-top: 12px;
  border: 1px solid var(--kk-ink);
  border-radius: 0.75rem;
  background: #fff;
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 9px 16px;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.tile-ask:hover {
  background: var(--kk-ink);
  color: #fff;
}

/* Assistant band. */
.assist {
  background: var(--kk-panel);
  padding: 80px 16px;
}

.assist-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.assist h2 {
  margin: 0 0 14px;
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.assist p {
  margin: 0 auto 30px;
  max-width: 600px;
  line-height: 1.65;
}

.prompts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.prompt {
  border: 0;
  border-radius: 0.75rem;
  background: var(--kk-ink);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 13px 20px;
  transition: background 0.15s ease;
}

.prompt:hover {
  background: #3e3e3e;
}

.site-footer {
  background: var(--kk-ink);
  color: #fff;
  padding: 48px 16px 64px;
  text-align: center;
  font-size: 0.8125rem;
}

.site-footer img {
  width: 150px;
  height: auto;
}

.site-footer p {
  margin: 18px 0 0;
  color: rgb(255 255 255 / 0.7);
}

:focus-visible {
  outline: 2px solid var(--kk-green);
  outline-offset: 2px;
}

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: auto 1fr;
    padding: 16px;
  }
  .site-nav {
    display: none;
  }
  .site-logo img {
    width: 130px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 16px;
  }
  .shop {
    padding: 48px 16px 64px;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 560px;
    align-items: flex-end;
  }
  .hero::after {
    background: linear-gradient(0deg, rgb(0 0 0 / 0.45), rgb(0 0 0 / 0) 65%);
  }
  .hero-img {
    object-position: 20% center;
  }
  .hero-copy {
    margin: 0;
    padding: 32px 16px 40px;
  }
  .eyebrow {
    font-size: 0.875rem;
  }
  .tabs {
    gap: 4px 14px;
    margin-bottom: 32px;
  }
  .tabs [role='tab'] {
    font-size: clamp(1.05rem, 5vw, 1.25rem);
  }
}

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