:root {
  --kk-green: #0d4d38;
  --kk-green-dark: #073728;
  --kk-lime: #d4e64f;
  --kk-ink: #151b17;
  --kk-muted: #5c655f;
  --kk-surface: #f2f3ed;
  --kk-line: #dfe3dc;
  --kk-page: min(1380px, calc(100vw - 48px));
}

.kk-section,
.kk-footer {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: clip;
  color: var(--kk-ink);
  font-family: var(--font-body--family, "Helvetica Neue", Arial, sans-serif);
}

.kk-section *,
.kk-footer * { box-sizing: border-box; }

.kk-inner {
  width: var(--kk-page);
  margin-inline: auto;
}

.kk-heading {
  margin: 0;
  font-size: clamp(2rem, 3.35vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.kk-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border: 2px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .06em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.kk-button:hover,
.kk-button:focus-visible {
  border-color: var(--kk-lime);
  background: var(--kk-lime);
  color: var(--kk-green-dark);
}

/* Hero */
.kk-hero {
  position: relative;
  isolation: isolate;
  height: clamp(540px, 48vw, 760px);
  min-height: 0;
  background: var(--kk-green-dark);
  color: #fff;
}

.kk-hero__slides,
.kk-hero__slide,
.kk-hero__media,
.kk-hero__media picture,
.kk-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.kk-hero__slide {
  display: block;
  visibility: hidden;
  opacity: 0;
  color: inherit;
  text-decoration: none;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.kk-hero__slide[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
}

.kk-hero__media img {
  object-fit: cover;
  object-position: center;
}

.kk-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 34, 25, .58) 0%, rgba(4, 34, 25, .18) 46%, rgba(4, 34, 25, .04) 70%);
}

.kk-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  width: var(--kk-page);
  height: 100%;
  margin-inline: auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 70px 0 94px;
}

.kk-hero__eyebrow {
  margin: 0 0 12px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.kk-hero__title {
  max-width: 650px;
  margin: 0;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 750;
  letter-spacing: -.055em;
  line-height: .95;
}

.kk-hero__subtitle {
  max-width: 530px;
  margin: 18px 0 28px;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.45;
}

.kk-hero__button {
  border-color: #fff;
  background: #fff;
  color: var(--kk-green-dark);
}

.kk-hero__controls {
  position: absolute;
  z-index: 4;
  right: max(24px, calc((100vw - var(--kk-page)) / 2));
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.kk-hero__arrow,
.kk-hero__dot {
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.75);
  background: rgba(4,34,25,.2);
  color: #fff;
  cursor: pointer;
}

.kk-hero__arrow { width: 38px; height: 38px; border-radius: 50%; font-size: 1.25rem; }
.kk-hero__dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; }
.kk-hero__dot[aria-current="true"] { background: #fff; }

/* Product shelf */
.kk-products { padding: clamp(68px, 7vw, 108px) 0; }
.kk-products__header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.kk-products__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; }
.kk-product-card { min-width: 0; }
.kk-product-card__media { display: block; aspect-ratio: 1; overflow: hidden; background: var(--kk-surface); }
.kk-product-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform 260ms ease; }
.kk-product-card:hover .kk-product-card__media img { transform: scale(1.035); }
.kk-product-card__title { display: inline-block; margin: 15px 0 8px; color: var(--kk-ink); font-size: .98rem; font-weight: 650; line-height: 1.32; text-decoration: none; }
.kk-product-card__price { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; font-size: .94rem; }
.kk-product-card__compare { color: #858b87; text-decoration: line-through; }

/* Category rail */
.kk-categories { padding: clamp(62px, 6.5vw, 96px) 0; background: var(--kk-surface); }
.kk-categories .kk-heading { margin-bottom: 34px; text-align: center; }
.kk-categories__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.kk-category { display: block; min-width: 0; color: var(--kk-ink); text-align: center; text-decoration: none; }
.kk-category__image { aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: #fff; }
.kk-category__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 320ms ease; }
.kk-category:hover .kk-category__image img { transform: scale(1.045); }
.kk-category h3 { margin: 15px 0 0; font-size: .92rem; font-weight: 750; letter-spacing: .03em; text-transform: uppercase; }

/* Editorial */
.kk-editorial { padding: clamp(68px, 7vw, 108px) 0; }
.kk-editorial .kk-heading { margin-bottom: 34px; text-align: center; }
.kk-editorial__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kk-editorial-card { position: relative; min-height: 540px; overflow: hidden; color: #fff; text-decoration: none; }
.kk-editorial-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 450ms ease; }
.kk-editorial-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(180deg, transparent, rgba(5,39,28,.76)); }
.kk-editorial-card:hover img { transform: scale(1.03); }
.kk-editorial-card__content { position: absolute; z-index: 2; inset: auto 26px 26px; }
.kk-editorial-card h3 { margin: 0 0 8px; font-size: clamp(1.7rem, 2.5vw, 2.65rem); font-weight: 750; letter-spacing: -.04em; }
.kk-editorial-card p { margin: 0 0 18px; line-height: 1.45; }
.kk-editorial-card .kk-button { border-color: #fff; }

/* Mission */
.kk-mission { padding: clamp(72px, 8vw, 124px) 0; background: var(--kk-lime); color: var(--kk-green-dark); text-align: center; }
.kk-mission__content { max-width: 900px; margin-inline: auto; }
.kk-mission__eyebrow { margin: 0 0 14px; font-size: .78rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.kk-mission p:not(.kk-mission__eyebrow) { max-width: 690px; margin: 20px auto 28px; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.55; }

/* Footer */
.kk-footer { padding: 64px 0 22px; background: var(--kk-green-dark); color: #fff; }
.kk-footer__main { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(180px, .55fr) minmax(260px, .9fr); gap: 64px; width: var(--kk-page); margin-inline: auto; }
.kk-footer__logo { width: auto; height: 38px; filter: brightness(0) invert(1); }
.kk-footer__brand p,
.kk-footer__newsletter p { max-width: 430px; margin: 19px 0 0; color: rgba(255,255,255,.78); line-height: 1.55; }
.kk-footer h2 { margin: 0 0 18px; font-size: .85rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.kk-footer__menu ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.kk-footer__menu a { color: rgba(255,255,255,.82); text-decoration: none; }
.kk-footer__menu a:hover { color: var(--kk-lime); }
.kk-footer__form { display: flex; border-bottom: 1px solid rgba(255,255,255,.48); }
.kk-footer__form input { min-width: 0; flex: 1; border: 0; background: transparent; color: #fff; font: inherit; padding: 12px 0; }
.kk-footer__form input::placeholder { color: rgba(255,255,255,.58); }
.kk-footer__form button { width: 44px; border: 0; background: transparent; color: #fff; font-size: 1.5rem; cursor: pointer; }
.kk-footer__message { margin-top: 12px !important; }
.kk-footer__bottom { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; width: var(--kk-page); margin: 54px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); }
.kk-footer__bottom p { margin: 0; color: rgba(255,255,255,.7); font-size: .78rem; }
.kk-footer__payments { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.kk-footer__payments svg { width: 38px; height: 24px; }

@media (max-width: 989px) {
  :root { --kk-page: min(100% - 32px, 900px); }
  .kk-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kk-categories__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 14px; }
  .kk-editorial-card { min-height: 440px; }
  .kk-footer__main { grid-template-columns: minmax(0, 1.2fr) minmax(190px, .8fr); }
  .kk-footer__newsletter { grid-column: 1 / -1; }
}

@media (max-width: 749px) {
  :root { --kk-page: calc(100% - 28px); }
  .kk-heading { font-size: clamp(1.9rem, 9vw, 2.7rem); }
  .kk-hero { height: min(145vw, 720px); }
  .kk-hero__shade { background: linear-gradient(180deg, rgba(4,34,25,.06) 32%, rgba(4,34,25,.76) 100%); }
  .kk-hero__content { justify-content: flex-end; padding: 56px 0 82px; }
  .kk-hero__title { max-width: 350px; font-size: clamp(2.55rem, 13vw, 4rem); }
  .kk-hero__subtitle { max-width: 330px; margin: 13px 0 21px; font-size: .96rem; }
  .kk-hero__controls { right: 14px; bottom: 18px; }
  .kk-hero__arrow { width: 34px; height: 34px; }
  .kk-products,
  .kk-categories,
  .kk-editorial { padding: 54px 0; }
  .kk-products__header { align-items: flex-start; margin-bottom: 25px; }
  .kk-products__header .kk-button { min-height: 38px; padding: 9px 14px; font-size: .7rem; }
  .kk-products__grid { gap: 22px 10px; }
  .kk-product-card__title { font-size: .9rem; }
  .kk-categories__grid { display: flex; width: auto; margin-inline: -14px; padding: 0 14px 10px; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .kk-categories__grid::-webkit-scrollbar { display: none; }
  .kk-category { flex: 0 0 38vw; scroll-snap-align: start; }
  .kk-editorial__grid { grid-template-columns: 1fr; gap: 10px; }
  .kk-editorial-card { min-height: 470px; }
  .kk-mission { padding: 68px 0; }
  .kk-footer { padding-top: 46px; }
  .kk-footer__main,
  .kk-footer__bottom { grid-template-columns: 1fr; gap: 36px; }
  .kk-footer__newsletter { grid-column: auto; }
  .kk-footer__bottom { margin-top: 42px; text-align: center; }
  .kk-footer__payments { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .kk-section *, .kk-footer * { scroll-behavior: auto !important; transition: none !important; }
}
