/* Coatine presentation site. Plain CSS, no build step, no external dependencies. */

/* ---------- Fonts ---------- */

@font-face {
  font-family: "Campton";
  src: url("assets/Campton-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Campton";
  src: url("assets/Campton-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Campton";
  src: url("assets/Campton-Semibold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
  /* Brand colours */
  --red: #eb2328;
  --black: #000;
  --grey: #aaa;
  --white: #fff;

  /* Neutral helpers derived from black */
  --tile: #f3f3f3;
  --rule: #dcdcdc;
  --rule-dark: #2c2c2c;
  --text-soft: #4a4a4a;

  --font: "Campton", "Avenir Next", "Avenir", "Montserrat", "Century Gothic", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 4.4vw, 4rem);
  --container: 82rem;
  --header-h: 4.5rem;

  /* The diagonal of the brand motif. Every slanted shape uses this angle. */
  --skew: -12deg;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font);
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

[hidden] {
  display: none !important;
}

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

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
address {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  border-radius: 0;
}

strong {
  font-weight: 600;
}

:focus-visible {
  outline: 3px solid var(--focus, var(--black));
  outline-offset: 3px;
}

::selection {
  background: var(--red);
  color: var(--black);
}

.on-dark {
  --focus: var(--white);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--white);
  color: var(--black);
  font-weight: 600;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

html.is-locked {
  overflow: hidden;
}

html.is-locked body,
html.is-locked .site-header {
  padding-right: var(--scrollbar-gap, 0px);
}

/* ---------- Type and shared pieces ---------- */

.eyebrow,
.label {
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 1.375rem;
  color: var(--black);
}

/* Double slash, the small form of the brand diagonal */
.eyebrow::before {
  content: "";
  flex: none;
  width: 0.4375rem;
  height: 1.125rem;
  background: var(--red);
  box-shadow: 0.6875rem 0 0 var(--red);
  transform: skewX(var(--skew));
}

.label {
  color: var(--text-soft);
}

.on-dark .eyebrow,
.on-dark .label {
  color: var(--grey);
}

.section {
  padding-block: clamp(4.5rem, 10vw, 9rem);
}

.section-head {
  display: grid;
  gap: 1.25rem;
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-title {
  font-weight: 600;
  font-size: clamp(2.375rem, 1.35rem + 3.9vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section-lead {
  max-width: 36rem;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.5;
  color: var(--text-soft);
}

.dot {
  color: var(--red);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chips li {
  padding: 0.375rem 0.875rem;
  border: 1.5px solid currentColor;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.3;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.75rem 1.75rem;
  border: 2px solid transparent;
  background: transparent;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

/* Black on brand red keeps text contrast above 4.5:1 */
.btn--red {
  background: var(--red);
  color: var(--black);
}

.btn--red:hover {
  background: var(--black);
  color: var(--white);
}

.on-dark .btn--red:hover {
  background: var(--white);
  color: var(--black);
}

.btn--dark {
  background: var(--black);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--red);
  color: var(--black);
}

.btn--outline {
  border-color: var(--black);
  color: var(--black);
}

.btn--outline:hover {
  background: var(--black);
  color: var(--white);
}

.on-dark .btn--outline {
  border-color: var(--white);
  color: var(--white);
}

.on-dark .btn--outline:hover {
  background: var(--white);
  color: var(--black);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--black);
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--rule-dark);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--white);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.logo img {
  width: auto;
  height: 1.75rem;
  max-width: 11rem;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.6vw, 2.75rem);
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.4rem;
  left: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-nav__link:hover::after,
.site-nav__link[aria-current]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
}

@media (min-width: 53.75em) {
  .site-nav__link--cta {
    padding: 0 1.375rem;
    background: var(--red);
    color: var(--black);
    font-weight: 600;
    transition: background-color 0.2s;
  }

  .site-nav__link--cta::after {
    display: none;
  }

  .site-nav__link--cta:hover {
    background: var(--white);
  }
}

@media (max-width: 53.74em) {
  :root {
    --header-h: 4rem;
  }

  /* Without JavaScript the links stay visible as a simple wrapping row */
  html:not(.js) .site-header {
    position: static;
    height: auto;
    padding-block: 0.5rem;
  }

  html:not(.js) .site-header__inner {
    flex-wrap: wrap;
  }

  html:not(.js) .site-nav__list {
    flex-wrap: wrap;
    gap: 0 1.5rem;
  }

  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 2.75rem;
    margin-right: -0.5rem;
    padding: 0 0.5rem;
    border: 0;
    background: none;
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
  }

  .nav-toggle__bars {
    position: relative;
    width: 1.625rem;
    height: 0.875rem;
  }

  .nav-toggle__bars span {
    position: absolute;
    right: 0;
    left: 0;
    height: 2px;
    background: currentColor;
    transition: transform 0.3s var(--ease), top 0.3s var(--ease);
  }

  .nav-toggle__bars span:nth-child(1) {
    top: 1px;
  }

  .nav-toggle__bars span:nth-child(2) {
    top: 11px;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
    top: 6px;
    transform: rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
    top: 6px;
    transform: rotate(-45deg);
  }

  .js .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    padding: 1.5rem var(--gutter) 2.5rem;
    background: var(--black);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.5rem);
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0s 0.25s;
  }

  .js .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0s;
  }

  .js .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .js .site-nav__link {
    display: flex;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--rule-dark);
    font-weight: 600;
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
  }

  .js .site-nav__link::after {
    display: none;
  }

  .js .site-nav__link:hover,
  .js .site-nav__link--cta {
    color: var(--red);
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  background: var(--black);
  color: var(--white);
}

/* White stage with a red band on its slanted edge; it bleeds off the right side */
.hero__stage {
  --band: clamp(1.25rem, 2.6vw, 2.75rem);
  position: absolute;
  inset: 0 0 0 auto;
  width: 47%;
  pointer-events: none;
}

.hero__stage::before {
  content: "";
  position: absolute;
  inset: 0 -45% 0 0;
  background: var(--white);
  transform: skewX(var(--skew));
  transform-origin: bottom left;
}

.hero__band {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(1px - var(--band));
  width: var(--band);
  background: var(--red);
  transform: skewX(var(--skew));
  transform-origin: bottom left;
}

.hero__band::before {
  content: "";
  position: absolute;
  top: 0;
  right: calc(100% + var(--band) * 0.45);
  bottom: 0;
  width: calc(var(--band) * 0.2);
  background: var(--red);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: max(38rem, min(100vh, 58rem));
  min-height: max(38rem, min(100svh, 58rem));
  padding-top: calc(var(--header-h) + clamp(2rem, 5vh, 4rem));
  padding-bottom: clamp(2.5rem, 6vh, 5rem);
}

.hero__copy {
  display: grid;
  gap: clamp(1.25rem, 2.4vw, 2rem);
  justify-items: start;
}

.hero__title {
  font-weight: 600;
  font-size: clamp(3.5rem, 1.6rem + 7vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.hero__line {
  display: block;
}

.hero__lead {
  max-width: 27rem;
  font-size: clamp(1.125rem, 1rem + 0.55vw, 1.4375rem);
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.hero__visual {
  align-self: end;
  justify-self: end;
  width: 86%;
  aspect-ratio: 1 / 1;
}

/* multiply lets artwork on a white ground sit seamlessly on the stage */
.hero__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  mix-blend-mode: multiply;
}

.hero__copy > * {
  animation: rise 0.9s var(--ease) backwards;
}

.hero__copy > :nth-child(2) {
  animation-delay: 0.08s;
}

.hero__copy > :nth-child(3) {
  animation-delay: 0.16s;
}

.hero__copy > :nth-child(4) {
  animation-delay: 0.24s;
}

.hero__image {
  animation: rise 1.1s 0.2s var(--ease) backwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
}

@media (max-width: 56.24em) {
  .hero__stage {
    display: none;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2.5rem, 8vw, 4rem);
    min-height: 0;
    padding-bottom: 0;
  }

  .hero__lead {
    max-width: 30rem;
  }

  /* Stacked: the stage becomes a full-width block with a slanted top edge */
  .hero__visual {
    --band: clamp(0.75rem, 3vw, 1.5rem);
    position: relative;
    isolation: isolate;
    justify-self: stretch;
    width: auto;
    min-height: 60vw;
    aspect-ratio: auto;
    margin-inline: calc(-1 * var(--gutter));
    padding: calc(12vw + var(--band) + 1.5rem) var(--gutter) clamp(1.5rem, 5vw, 3rem);
  }

  .hero__visual::before,
  .hero__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
  }

  .hero__visual::before {
    background: var(--red);
    clip-path: polygon(0 12vw, 100% 0, 100% 100%, 0 100%);
  }

  .hero__visual::after {
    background: var(--white);
    clip-path: polygon(0 calc(12vw + var(--band)), 100% var(--band), 100% 100%, 0 100%);
  }

  .hero__image {
    max-height: 70vh;
    margin-inline: auto;
    aspect-ratio: 4 / 3;
    height: auto;
    object-position: center;
  }
}

/* ---------- Product areas strip ---------- */

.areas {
  background: var(--black);
  color: var(--white);
  border-top: 1px solid var(--rule-dark);
}

.areas__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.areas__list > li + li {
  border-left: 1px solid var(--rule-dark);
}

.areas__link {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  height: 100%;
  padding: 1.5rem clamp(1rem, 2vw, 1.75rem);
  text-decoration: none;
  transition: background-color 0.25s, color 0.25s;
}

.areas__list > li:first-child .areas__link {
  padding-left: 0;
}

.areas__name {
  font-weight: 600;
  font-size: clamp(1.125rem, 0.95rem + 0.6vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.areas__count {
  color: var(--grey);
  font-size: 1rem;
}

.areas__link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.areas__link:hover::after,
.areas__link:focus-visible::after {
  transform: scaleX(1);
}

.areas__link:focus-visible {
  outline-offset: -3px;
}

@media (max-width: 43.74em) {
  .areas__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .areas__list > li:nth-child(odd) {
    border-left: 0;
  }

  .areas__list > li:nth-child(odd) .areas__link {
    padding-left: 0;
  }

  .areas__list > li:nth-child(n + 3) {
    border-top: 1px solid var(--rule-dark);
  }

  .areas__link {
    padding-block: 1.125rem;
  }
}

/* ---------- Products ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.filter {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 3rem;
  padding: 0.5rem 1.25rem;
  border: 1.5px solid var(--black);
  background: var(--white);
  color: var(--black);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.filter:hover {
  background: var(--tile);
}

.filter[aria-pressed="true"] {
  background: var(--black);
  color: var(--white);
}

.filter__count {
  font-weight: 300;
}

.products__status {
  min-height: 1.6em;
  margin-bottom: 1.5rem;
  color: var(--text-soft);
  font-size: 1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}

.product-grid.is-animating .product-card {
  animation: card-in 0.5s var(--ease) backwards;
  animation-delay: calc(min(var(--i, 0), 11) * 45ms);
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--rule);
  background: var(--white);
  transition: border-color 0.25s;
}

.card:hover,
.card:focus-within {
  border-color: var(--black);
}

.card::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  left: -1px;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.card:hover::after,
.card:focus-within::after {
  transform: scaleX(1);
}

.card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--tile);
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  padding: 9%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.6s var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.04);
}

/* Shown when a product image is not available: the brand slashes, no stand-in photo */
.is-missing::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.875rem;
  height: 4.5rem;
  margin: -2.25rem 0 0 -1.5rem;
  background: var(--red);
  box-shadow: 1.625rem 0 0 var(--black);
  transform: skewX(var(--skew));
}

.card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1.5rem 1.5rem 1.25rem;
}

.card__category {
  color: var(--text-soft);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card__title {
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}

.card__desc {
  display: -webkit-box;
  overflow: hidden;
  color: #333;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

.card__packs {
  margin-top: auto;
  padding-top: 0.5rem;
  font-weight: 500;
  font-size: 1rem;
}

.card__open {
  align-self: flex-start;
  min-height: 2.75rem;
  margin-top: auto;
  padding: 0;
  border: 0;
  background: none;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
  cursor: pointer;
}

.card__packs + .card__open {
  margin-top: 0;
}

/* One control per card: the button's hit area covers the whole card */
.card__open::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card__open:focus-visible {
  outline: none;
}

.card__open:focus-visible::before {
  outline: 3px solid var(--black);
  outline-offset: 3px;
}

.card--skeleton {
  pointer-events: none;
}

.card--skeleton .card__media,
.skeleton-line {
  background: linear-gradient(100deg, #ececec 30%, #f7f7f7 50%, #ececec 70%) 0 0 / 300% 100%;
  animation: shimmer 1.5s linear infinite;
}

.skeleton-line {
  display: block;
  height: 1rem;
}

.skeleton-line:nth-child(1) {
  width: 35%;
}

.skeleton-line:nth-child(2) {
  width: 70%;
  height: 1.5rem;
}

.skeleton-line:nth-child(3) {
  width: 90%;
}

@keyframes shimmer {
  to {
    background-position: -150% 0;
  }
}

.products__notice {
  display: grid;
  gap: 1rem;
  justify-items: start;
  max-width: 40rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--red);
}

.products__notice-title {
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
}

.products__notice a {
  font-weight: 500;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

/* ---------- Product dialog ---------- */

.product-dialog {
  position: fixed;
  inset: 0;
  width: min(100% - 2rem, 62rem);
  max-width: none;
  height: fit-content;
  max-height: min(100% - 2rem, 44rem);
  margin: auto;
  padding: 0;
  border: 0;
  background: var(--white);
  color: var(--black);
  overflow: hidden;
}

.product-dialog[open] {
  display: flex;
  animation: dialog-in 0.35s var(--ease);
}

.product-dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
  animation: fade-in 0.25s ease;
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

.dialog-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  min-width: 3rem;
  min-height: 3rem;
  padding: 0 1.25rem;
  border: 0;
  background: var(--black);
  color: var(--white);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.dialog-close:hover {
  background: var(--red);
  color: var(--black);
}

.dialog-close:focus-visible {
  outline-offset: -6px;
  outline-color: var(--white);
}

.product-dialog__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  width: 100%;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.product-dialog__media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 20rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--tile);
}

.product-dialog__media img {
  width: 100%;
  max-height: 28rem;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-dialog__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(3.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
}

.product-dialog__title {
  font-weight: 600;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.product-dialog__desc {
  display: grid;
  gap: 0.75rem;
  line-height: 1.55;
}

.product-dialog__packs {
  display: grid;
  gap: 0.75rem;
}

.product-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.product-dialog__note {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 47.49em) {
  .product-dialog {
    width: min(100% - 1rem, 62rem);
    max-height: calc(100% - 1rem);
  }

  .product-dialog__panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-dialog__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .product-dialog__media img {
    height: 100%;
    max-height: none;
  }

  .product-dialog__content {
    padding-top: 1.75rem;
  }

  .product-dialog__actions .btn {
    flex: 1 1 100%;
  }
}

/* ---------- Professional feature ---------- */

.pro {
  background: var(--black);
  color: var(--white);
}

.pro__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.pro__copy {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}

.pro__title {
  font-size: clamp(2.75rem, 1.3rem + 5.6vw, 6.25rem);
  line-height: 0.92;
}

.pro__lead {
  max-width: 34rem;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.5;
}

.pro__packs {
  display: grid;
  gap: 0.75rem;
}

.pro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* White slanted panel with a red band. In a square box 21.26% equals tan(12deg). */
.pro__visual {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 34rem;
  aspect-ratio: 1 / 1;
  justify-self: end;
}

.pro__visual::before,
.pro__visual::after,
.pro__line {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.pro__visual::before {
  background: var(--white);
  clip-path: polygon(21.26% 0, 84% 0, 62.74% 100%, 0 100%);
}

.pro__visual::after {
  background: var(--red);
  clip-path: polygon(83.9% 0, 93% 0, 71.74% 100%, 62.64% 100%);
}

.pro__line {
  background: var(--red);
  clip-path: polygon(96.5% 0, 98.5% 0, 77.24% 100%, 75.24% 100%);
}

.pro__mark {
  margin-right: 16%;
  color: var(--black);
  font-weight: 600;
  font-size: clamp(6rem, 22vw, 13rem);
  line-height: 1;
  letter-spacing: -0.05em;
  transform: skewX(var(--skew));
}

.pro__visual.has-image .pro__mark {
  display: none;
}

.pro__image {
  width: 46%;
  height: 84%;
  margin-right: 16%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.pro__audience {
  display: grid;
  gap: 1.75rem;
  margin-top: clamp(3.5rem, 8vw, 7rem);
  padding-top: 2rem;
  border-top: 1px solid var(--rule-dark);
}

.audience {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
}

.audience__title {
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.audience p {
  max-width: 22rem;
  color: var(--grey);
  font-size: 1.0625rem;
  line-height: 1.5;
}

@media (max-width: 56.24em) {
  .pro__top {
    grid-template-columns: minmax(0, 1fr);
  }

  .pro__visual {
    max-width: 26rem;
    justify-self: center;
  }
}

@media (max-width: 43.74em) {
  .audience {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Brand story ---------- */

.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.story__statement {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}

.story__logo {
  width: auto;
  height: 2.25rem;
  max-width: 14rem;
  margin-top: clamp(1rem, 3vw, 2.5rem);
}

.story__body {
  display: grid;
  gap: 1.25rem;
  max-width: 36rem;
}

.story__lead {
  font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.story__steps {
  display: grid;
  gap: 1.75rem;
  margin-top: clamp(3.5rem, 8vw, 7rem);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
  counter-reset: step;
}

.steps li {
  padding-top: 1.25rem;
  border-top: 2px solid var(--black);
  counter-increment: step;
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 0.75rem;
  color: var(--red);
  font-weight: 600;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.steps__title {
  margin-bottom: 0.375rem;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.steps p {
  max-width: 22rem;
  color: #333;
  font-size: 1.0625rem;
  line-height: 1.5;
}

@media (max-width: 50em) {
  .story__grid,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Contact ---------- */

.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  background: var(--black);
  color: var(--white);
}

.contact__slashes {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: clamp(9rem, 27vw, 27rem);
  pointer-events: none;
}

.contact__slashes span {
  position: absolute;
  top: 0;
  bottom: 0;
  background: var(--red);
  transform: skewX(var(--skew));
  transform-origin: bottom left;
}

.contact__slashes span:nth-child(1) {
  left: 12%;
  width: 3%;
}

.contact__slashes span:nth-child(2) {
  left: 24%;
  width: 9%;
}

.contact__slashes span:nth-child(3) {
  right: -70%;
  left: 44%;
}

.contact__inner {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}

.contact__title {
  max-width: 11ch;
  font-weight: 600;
  font-size: clamp(2.75rem, 1.3rem + 6vw, 6.75rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.contact__lead {
  max-width: 32rem;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.5;
}

.contact__details {
  display: grid;
  gap: 2rem;
  justify-items: start;
  margin-top: clamp(1rem, 3vw, 2.5rem);
}

.contact__email {
  font-weight: 600;
  font-size: clamp(1.625rem, 1rem + 3.4vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
  transition: color 0.2s;
}

.contact__email:hover {
  color: var(--red);
}

.contact__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem clamp(2rem, 6vw, 5rem);
}

.contact__list dt {
  margin-bottom: 0.25rem;
  color: var(--grey);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact__list dd {
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1.3;
}

.contact__list a {
  text-decoration: none;
}

.contact__list a:hover {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

@media (max-width: 56.24em) {
  .contact {
    padding-top: clamp(7rem, 22vw, 9rem);
  }

  .contact__slashes {
    bottom: auto;
    width: 10rem;
    height: 4.5rem;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--rule-dark);
  background: var(--black);
  color: var(--white);
  font-size: 1rem;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.site-footer__brand {
  display: grid;
  gap: 0.5rem;
  justify-items: start;
}

.site-footer__slogan {
  color: var(--grey);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(1.25rem, 3vw, 2.5rem);
}

.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 500;
  text-decoration: none;
}

.site-footer__nav a:hover {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

.site-footer__meta {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-dark);
  color: var(--grey);
}

@media (max-width: 43.74em) {
  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Scroll reveal (enabled by app.js only when motion is welcome) ---------- */

/* The transition lives on the visible state only, so hiding on load is instant */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(1.25rem);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

/* ---------- Reduced motion and print ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .card:hover .card__media img {
    transform: none;
  }
}

@media print {
  .site-header,
  .nav-toggle,
  .filters,
  .contact__slashes {
    display: none !important;
  }

  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero__inner {
    min-height: 0;
  }
}

/* Eden integration: balance the original single-pack hero artwork. */
@media (min-width: 53.75em) { .hero__visual { width: 110%; align-self: center; } }

/* Language selection remains reachable without opening the mobile menu. */
.site-nav { margin-left: auto; order: 1; }
.language-switch { display: inline-flex; align-items: center; flex: 0 0 auto; order: 2; gap: .125rem; border: 1px solid #555; padding: .125rem; }
.language-switch button { min-width: 2.1rem; min-height: 2.5rem; padding: .35rem; background: transparent; border: 0; color: #fff; font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; }
.language-switch button[aria-pressed="true"] { background: var(--red); color: #000; }
.language-switch button:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.nav-toggle { order: 3; }
html[lang="sq"] .hero__title { font-size: clamp(2.4rem, 1.2rem + 5.1vw, 6.1rem); line-height: 1.01; }
@media (max-width: 53.749em) {
 .site-header__inner { gap: .75rem; }
 .logo { margin-right: auto; }
 .site-nav { margin-left: 0; }
 .language-switch { order: 1; }
 .nav-toggle { order: 2; }
}
@media (max-width: 23em) {
 .logo img { height: 1.4rem; }
 .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
 .nav-toggle { min-width: 2.75rem; }
}
