/* Knitling brand palette */
:root {
  --knitling-cashmere: #f5f2f0;
  --knitling-cream: #eae2dc;
  --knitling-rose-dust: #ceb2a5;
  --knitling-mocha-meringue: #9f8d82;
  --knitling-affogato: #8b6c5c;
  --knitling-fondant: #3d251d;

  --color-text: var(--knitling-fondant);
  --color-text-muted: var(--knitling-mocha-meringue);
  --color-text-secondary: var(--knitling-affogato);
  --color-text-on-dark: var(--knitling-cashmere);
  --color-bg: var(--knitling-cashmere);
  --color-bg-section: var(--knitling-cream);
  --color-bg-inverse: var(--knitling-fondant);
  --color-surface-elevated: #ffffff;
  --color-border: var(--knitling-rose-dust);
  --color-border-subtle: rgba(61, 37, 29, 0.1);
  --color-border-fondant: rgba(61, 37, 29, 0.22);
  --color-placeholder-start: var(--knitling-cream);
  --color-placeholder-end: var(--knitling-rose-dust);
  --color-bubble: var(--knitling-cashmere);
  --color-fondant-hover: #5a3d34;
  --color-like: #ff3040;
  /* Tint logo.png to --knitling-fondant (#3d251d) */
  --knitling-logo-filter: brightness(0) saturate(100%) invert(11%) sepia(37%)
    saturate(1152%) hue-rotate(314deg) brightness(95%) contrast(91%);
}

@font-face {
  font-family: "Raleway";
  src: url("fonts/Raleway-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("fonts/Raleway-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Parisienne";
  src: url("fonts/Parisienne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  font-family: "Raleway", system-ui, sans-serif;
  font-weight: 300;
  color: var(--color-text);
  background: var(--knitling-cream) url("images/background-portrait-color.webp") center /
    cover no-repeat fixed;
}

body.home-page {
  background: var(--knitling-cream) url("images/background-portrait-color.webp") center /
    cover no-repeat fixed;
}

@media (min-width: 48rem) and (max-width: 63.99rem) and (orientation: portrait) {
  body,
  body.home-page {
    background-size: 185%;
    background-position: calc(50% + 30px) 42%;
  }
}

@media (min-width: 48rem) and (max-width: 63.99rem) and (orientation: landscape) {
  body,
  body.home-page {
    background-size: 130%;
    background-position: calc(50% + 30px) center;
  }
}

@media (min-width: 64rem) {
  body,
  body.home-page {
    background-image: url("images/background-desktop-color.webp");
    background-size: 110%;
    background-position: calc(50% - 20px) center;
  }
}

body.preview-page,
body.product-page {
  display: block;
  height: auto;
  min-height: 100%;
  background: var(--color-bg-section);
}

body.product-page {
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--knitling-cashmere);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.page-transition.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .page-transition {
    display: none;
  }
}

/* Homepage */

.page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

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

.logo,
.scroll-header__logo img,
.site-header__logo {
  filter: var(--knitling-logo-filter);
}

.logo {
  display: block;
  width: min(80vw, 28rem);
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.coming-soon {
  margin-top: 1.25rem;
  font-size: clamp(0.875rem, 2.5vw, 1.125rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--knitling-fondant);
}

/* Preview grounding moment */

body.preview-page:has(#grounding),
body.preview-page.is-grounding {
  overflow: hidden;
}

.preview-main {
  opacity: 0;
}

.preview-main.is-visible {
  opacity: 1;
  transition: opacity 1.2s ease;
}

.grounding {
  --intro-duration: 4s;
  --inhale-duration: 3.75s;
  --hold-duration: 3.75s;
  --exhale-duration: 3.75s;
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--knitling-cashmere);
  transition: opacity 1.2s ease;
}

.grounding.is-breathing {
  cursor: pointer;
}

.grounding.is-breathing .grounding__atmosphere {
  opacity: 0;
  visibility: hidden;
  animation: grounding-atmosphere-in 0s linear forwards;
  animation-delay: var(--intro-duration);
}

.grounding.is-breathing .grounding__fog {
  animation:
    fog-inhale var(--inhale-duration) ease-in forwards,
    fog-hold var(--hold-duration) ease-in-out forwards,
    fog-exhale var(--exhale-duration) ease-out forwards;
  animation-delay:
    var(--intro-duration),
    calc(var(--intro-duration) + var(--inhale-duration)),
    calc(var(--intro-duration) + var(--inhale-duration) + var(--hold-duration));
}

.grounding.is-fading {
  opacity: 0;
  pointer-events: none;
}

.grounding__atmosphere {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.grounding__fog {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.5;
  animation: fog-drift 14s ease-in-out infinite;
}

.grounding__fog--a {
  width: 90vmax;
  height: 70vmax;
  left: -20%;
  top: -20%;
  background: radial-gradient(
    ellipse at center,
    rgba(206, 178, 165, 0.5) 0%,
    rgba(234, 226, 220, 0.2) 50%,
    transparent 72%
  );
}

.grounding__fog--b {
  width: 75vmax;
  height: 55vmax;
  right: -25%;
  top: 10%;
  animation-delay: -5s;
  animation-duration: 18s;
  background: radial-gradient(
    ellipse at center,
    rgba(159, 141, 130, 0.42) 0%,
    rgba(234, 226, 220, 0.15) 55%,
    transparent 75%
  );
}

.grounding__fog--c {
  width: 65vmax;
  height: 50vmax;
  left: 5%;
  bottom: -20%;
  animation-delay: -9s;
  animation-duration: 16s;
  background: radial-gradient(
    ellipse at center,
    rgba(206, 178, 165, 0.32) 0%,
    transparent 70%
  );
}

.grounding__smoke {
  position: absolute;
  inset: 0;
}

.grounding__smoke::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 60%,
    rgba(234, 226, 220, 0.35) 0%,
    transparent 65%
  );
  opacity: 0;
}

.grounding.is-breathing .grounding__smoke::before {
  animation:
    smoke-veil-inhale var(--inhale-duration) ease-in forwards,
    smoke-veil-hold var(--hold-duration) ease-in-out forwards,
    smoke-veil-exhale var(--exhale-duration) ease-out forwards;
  animation-delay:
    var(--intro-duration),
    calc(var(--intro-duration) + var(--inhale-duration)),
    calc(var(--intro-duration) + var(--inhale-duration) + var(--hold-duration));
}

.grounding__wisp {
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  width: var(--size, 6rem);
  height: var(--size, 6rem);
  display: block;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(159, 141, 130, 0.5) 0%,
    rgba(206, 178, 165, 0.22) 50%,
    transparent 75%
  );
  filter: blur(22px);
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  opacity: 0;
}

.grounding.is-breathing .grounding__wisp {
  animation:
    smoke-inhale var(--inhale-duration) ease-in forwards,
    smoke-hold var(--hold-duration) ease-in-out forwards,
    smoke-exhale var(--exhale-duration) ease-out forwards;
  animation-delay:
    var(--intro-duration),
    calc(var(--intro-duration) + var(--inhale-duration)),
    calc(var(--intro-duration) + var(--inhale-duration) + var(--hold-duration));
}

.grounding__wisp:nth-child(1) {
  --x: 22%;
  --y: 30%;
  --size: 7rem;
}

.grounding__wisp:nth-child(2) {
  --x: 78%;
  --y: 25%;
  --size: 5.5rem;
}

.grounding__wisp:nth-child(3) {
  --x: 50%;
  --y: 55%;
  --size: 9rem;
}

.grounding__wisp:nth-child(4) {
  --x: 12%;
  --y: 68%;
  --size: 6rem;
}

.grounding__wisp:nth-child(5) {
  --x: 88%;
  --y: 62%;
  --size: 8rem;
}

.grounding__wisp:nth-child(6) {
  --x: 35%;
  --y: 18%;
  --size: 5rem;
}

.grounding__wisp:nth-child(7) {
  --x: 65%;
  --y: 42%;
  --size: 10rem;
}

.grounding__wisp:nth-child(8) {
  --x: 8%;
  --y: 45%;
  --size: 6.5rem;
}

.grounding__wisp:nth-child(9) {
  --x: 92%;
  --y: 38%;
  --size: 7.5rem;
}

.grounding__wisp:nth-child(10) {
  --x: 42%;
  --y: 75%;
  --size: 8.5rem;
}

.grounding__wisp:nth-child(11) {
  --x: 58%;
  --y: 12%;
  --size: 5.25rem;
}

.grounding__wisp:nth-child(12) {
  --x: 28%;
  --y: 52%;
  --size: 6rem;
}

.grounding__wisp:nth-child(13) {
  --x: 72%;
  --y: 78%;
  --size: 9.5rem;
}

.grounding__wisp:nth-child(14) {
  --x: 18%;
  --y: 82%;
  --size: 7rem;
}

.grounding__wisp:nth-child(15) {
  --x: 82%;
  --y: 15%;
  --size: 6.25rem;
}

.grounding__wisp:nth-child(16) {
  --x: 48%;
  --y: 88%;
  --size: 8rem;
}

@keyframes fog-drift {
  0%,
  100% {
    opacity: 0.35;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  33% {
    opacity: 0.6;
    transform: translate(5%, -6%) rotate(3deg) scale(1.06);
  }

  66% {
    opacity: 0.45;
    transform: translate(-4%, 5%) rotate(-2deg) scale(1.03);
  }
}

@keyframes grounding-atmosphere-in {
  to {
    opacity: 1;
    visibility: visible;
  }
}

@keyframes fog-inhale {
  from {
    opacity: 0.28;
    transform: scale(0.88);
  }

  to {
    opacity: 0.55;
    transform: scale(1.1);
  }
}

@keyframes fog-hold {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1.08) translate(0, 0);
  }

  50% {
    opacity: 0.56;
    transform: scale(1.12) translate(1.2%, -0.6%);
  }
}

@keyframes fog-exhale {
  from {
    opacity: 0.55;
    transform: scale(1.1);
  }

  to {
    opacity: 0.28;
    transform: scale(0.88);
  }
}

@keyframes smoke-veil-inhale {
  from {
    opacity: 0.2;
    transform: scale(0.7);
  }

  to {
    opacity: 0.72;
    transform: scale(1.35);
  }
}

@keyframes smoke-veil-hold {
  0%,
  100% {
    opacity: 0.66;
    transform: scale(1.3);
  }

  50% {
    opacity: 0.74;
    transform: scale(1.38);
  }
}

@keyframes smoke-veil-exhale {
  from {
    opacity: 0.72;
    transform: scale(1.35);
  }

  to {
    opacity: 0.2;
    transform: scale(0.7);
  }
}

@keyframes smoke-inhale {
  from {
    left: 50%;
    top: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }

  to {
    left: var(--x, 50%);
    top: var(--y, 50%);
    opacity: 0.65;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

@keyframes smoke-hold {
  0%,
  100% {
    left: var(--x, 50%);
    top: var(--y, 50%);
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.12);
  }

  33% {
    opacity: 0.68;
    transform: translate(calc(-50% + 0.9vw), calc(-50% - 0.55vh))
      scale(1.16);
  }

  66% {
    opacity: 0.62;
    transform: translate(calc(-50% - 0.65vw), calc(-50% + 0.75vh))
      scale(1.1);
  }
}

@keyframes smoke-exhale {
  from {
    left: var(--x, 50%);
    top: var(--y, 50%);
    opacity: 0.65;
    transform: translate(-50%, -50%) scale(1.15);
  }

  to {
    left: 50%;
    top: 50%;
    opacity: 0.28;
    transform: translate(-50%, -50%) scale(0.5);
  }
}

.grounding__text {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 10rem;
  min-height: 1.25em;
  margin: 0;
  font-size: clamp(1rem, 3.5vw, 1.375rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: lowercase;
  color: var(--color-text);
}

.grounding__cue {
  grid-area: 1 / 1;
  opacity: 0;
}

.grounding__cue--moment {
  max-width: min(20rem, 88vw);
  font-size: clamp(0.8125rem, 2.6vw, 1rem);
  text-align: center;
  line-height: 1.65;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--color-text-secondary);
}

.grounding__cue--inhale,
.grounding__cue--hold,
.grounding__cue--exhale {
  font-size: clamp(1.0625rem, 3.8vw, 1.375rem);
  letter-spacing: 0.24em;
  text-transform: lowercase;
  color: var(--color-text);
}

.grounding__brand {
  position: absolute;
  left: 0;
  right: 0;
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  z-index: 2;
  display: flex;
  justify-content: center;
  margin: 0;
  pointer-events: none;
}

.grounding__logo {
  display: block;
  width: min(42vw, 7.5rem);
  height: auto;
  filter: var(--knitling-logo-filter);
  opacity: 0;
}

.grounding.is-breathing .grounding__logo {
  animation: grounding-logo-in var(--intro-duration) ease-in-out forwards;
}

@keyframes grounding-logo-in {
  0%,
  8% {
    opacity: 0;
    transform: translateY(6px);
  }

  18%,
  100% {
    opacity: 0.38;
    transform: translateY(0);
  }
}

.grounding.is-breathing .grounding__cue--moment {
  animation: cue-moment var(--intro-duration) ease-in-out forwards;
}

.grounding.is-breathing .grounding__cue--inhale {
  animation: cue-inhale var(--inhale-duration) ease-in-out forwards;
  animation-delay: var(--intro-duration);
}

.grounding.is-breathing .grounding__cue--hold {
  animation: cue-hold var(--hold-duration) ease-in-out forwards;
  animation-delay: calc(var(--intro-duration) + var(--inhale-duration));
}

.grounding.is-breathing .grounding__cue--exhale {
  animation: cue-exhale var(--exhale-duration) ease-in-out forwards;
  animation-delay: calc(
    var(--intro-duration) + var(--inhale-duration) + var(--hold-duration)
  );
}

@keyframes cue-moment {
  0%,
  8% {
    opacity: 0;
  }

  16%,
  84% {
    opacity: 1;
  }

  94%,
  100% {
    opacity: 0;
  }
}

@keyframes cue-inhale {
  0%,
  8% {
    opacity: 0;
  }

  14%,
  86% {
    opacity: 1;
  }

  94%,
  100% {
    opacity: 0;
  }
}

@keyframes cue-hold {
  0%,
  8% {
    opacity: 0;
  }

  14%,
  86% {
    opacity: 1;
  }

  94%,
  100% {
    opacity: 0;
  }
}

@keyframes cue-exhale {
  0%,
  8% {
    opacity: 0;
  }

  14%,
  86% {
    opacity: 1;
  }

  94%,
  100% {
    opacity: 0;
  }
}

.preview-replay {
  display: flex;
  justify-content: center;
  padding: 0 clamp(1rem, 4vw, 3rem) clamp(2.5rem, 6vw, 4rem);
  background: var(--color-bg-section);
}

.grounding-replay {
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--color-border-fondant);
  border-radius: 999px;
  background: color-mix(in srgb, var(--knitling-cashmere) 92%, transparent);
  font-family: inherit;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text);
  cursor: pointer;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.grounding-replay:hover {
  background: var(--color-surface-elevated);
  opacity: 0.85;
}

@media (prefers-reduced-motion: reduce) {
  .grounding__wisp,
  .grounding__fog,
  .grounding__smoke::before,
  .grounding__cue,
  .grounding__logo {
    animation: none;
  }

  .grounding__logo {
    opacity: 0.38;
    transform: none;
  }

  .grounding.is-breathing .grounding__cue--moment {
    opacity: 1;
  }

  .preview-main.is-visible {
    transition: none;
  }

  .grounding.is-fading {
    transition: none;
  }
}

/* Preview scroll page */

.preview-hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: max(1.5rem, env(safe-area-inset-top, 0px)) 1.5rem 1.5rem;
  background: var(--knitling-cream) url("images/background-portrait-color.webp") center /
    cover no-repeat;
}

@media (min-width: 48rem) {
  .preview-hero {
    align-items: center;
    padding: 1.5rem;
  }
}

@media (min-width: 48rem) and (max-width: 63.99rem) and (orientation: portrait) {
  .preview-hero {
    background-size: 280%;
    background-position: calc(50% + 30px) 38%;
  }
}

@media (min-width: 48rem) and (max-width: 63.99rem) and (orientation: landscape) {
  .preview-hero {
    background-size: 215%;
    background-position: calc(50% + 30px) 38%;
  }
}

@media (min-width: 64rem) {
  .preview-hero {
    background-image: url("images/background-desktop-color.webp");
    background-size: 130%;
    background-position: calc(50% + 20px) center;
  }
}

.preview-hero__scroll {
  position: absolute;
  bottom: clamp(1.5rem, 4vw, 2.5rem);
  left: 50%;
  transform: translateX(-50%);
  line-height: 0;
  color: var(--color-text);
  animation: scroll-hint-color 2.5s ease-in-out infinite;
}

.preview-hero__scroll-icon {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  animation: scroll-hint-move 2.5s ease-in-out infinite;
}

@keyframes scroll-hint-color {
  0%,
  100% {
    color: var(--color-text);
  }

  50% {
    color: var(--knitling-cashmere);
  }
}

@keyframes scroll-hint-move {
  0%,
  100% {
    transform: rotate(45deg) translate(0, 0);
  }

  50% {
    transform: rotate(45deg) translate(3px, 3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .preview-hero__scroll,
  .preview-hero__scroll-icon {
    animation: none;
  }
}

.preview-hero .logo {
  filter: none;
}

.preview-hero__tagline {
  margin-top: 0rem;
  max-width: 22rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--knitling-fondant);
  text-shadow:
    0 0 20px rgba(255, 255, 255, 1),
    0 0 48px rgba(245, 242, 240, 0.9),
    0 0 80px rgba(255, 255, 255, 0.75),
    0 0 120px rgba(245, 242, 240, 0.5);
}

@media (min-width: 48rem) {
  .preview-hero__tagline {
    max-width: none;
    white-space: nowrap;
  }
}

.scroll-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 0.75rem clamp(1rem, 4vw, 2rem);
  background: color-mix(in srgb, var(--knitling-cashmere) 94%, transparent);
  border-bottom: 1px solid var(--color-border-subtle);
  box-shadow: 0 4px 24px rgba(61, 37, 29, 0.06);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

.scroll-header--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.scroll-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

.scroll-header__logo {
  display: block;
  line-height: 0;
  flex-shrink: 0;
}

.scroll-header__logo img {
  display: block;
  width: min(7.5rem, 32vw);
  height: auto;
  object-fit: contain;
}

.scroll-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 2rem);
}

.scroll-header__nav a {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.scroll-header__nav a:hover {
  opacity: 0.65;
}

.scroll-header__lang {
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-header {
    transition: none;
  }
}

/* Language switcher */

/* Hidden until translations are ready — remove to show language toggle */
.footer__lang,
.scroll-header__lang,
.site-header__lang {
  display: none;
}

/* Events page hidden until ready — remove to show Events links */
a[href="/events/"],
a[href="/events"] {
  display: none;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.lang-switcher--labeled {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.lang-switcher__label {
  text-transform: uppercase;
  opacity: 0.75;
}

.lang-switcher__dropdown {
  position: relative;
}

.lang-switcher__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.55rem;
  font: inherit;
  font-size: inherit;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: inherit;
  background: transparent;
  border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.lang-switcher__trigger:hover,
.lang-switcher.is-open .lang-switcher__trigger {
  background: color-mix(in srgb, currentColor 8%, transparent);
}

.lang-switcher__trigger:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.lang-switcher__code {
  min-width: 1.5rem;
  text-align: center;
}

.lang-switcher__chevron {
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}

.lang-switcher.is-open .lang-switcher__chevron {
  transform: rotate(225deg) translateY(1px);
}

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 600;
  min-width: 10.5rem;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border-subtle);
  box-shadow: 0 8px 28px rgba(61, 37, 29, 0.12);
}

.lang-switcher--labeled .lang-switcher__menu {
  left: 0;
  right: auto;
}

.lang-switcher__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.15s ease;
}

.lang-switcher__option:hover,
.lang-switcher__option.is-selected {
  background: var(--knitling-cashmere);
}

.lang-switcher__option-name {
  flex: 1;
}

.lang-switcher__option-code {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.scroll-header__lang .lang-switcher__menu {
  top: calc(100% + 0.5rem);
}

.footer__lang {
  margin-bottom: 0.75rem;
}

.footer__lang .lang-switcher__label,
.footer__lang .lang-switcher__trigger {
  color: var(--color-text-on-dark);
}

.footer__lang .lang-switcher__trigger {
  border-color: color-mix(in srgb, var(--color-text-on-dark) 40%, transparent);
}

.footer__lang .lang-switcher__trigger:hover,
.footer__lang .lang-switcher.is-open .lang-switcher__trigger {
  background: color-mix(in srgb, var(--color-text-on-dark) 12%, transparent);
}

.footer__lang .lang-switcher__menu {
  color: var(--color-text);
}

.preview-collection {
  background: var(--color-bg-section);
  padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 4vw, 3rem);
}

.preview-collection__inner {
  width: min(72rem, 100%);
  margin: 0 auto;
}

/* Inbox hidden until ready — remove display:none when restoring */
.preview-dms {
  display: none;
  background: var(--knitling-cashmere);
  padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 4vw, 3rem);
}

.preview-dms__inner {
  width: min(72rem, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 52rem) {
  .preview-dms__inner {
    grid-template-columns: 1fr min(22rem, 100%);
    gap: clamp(2rem, 6vw, 4rem);
  }
}

.preview-dms__title {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ig-thread {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  max-width: 22rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 1.5rem;
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border-subtle);
  border-radius: 1.25rem;
}

@media (min-width: 52rem) {
  .ig-thread {
    margin: 0;
    justify-self: end;
  }
}

.ig-msg {
  --ig-bubble-pad-inline: 0.85rem;
  position: relative;
  display: inline-block;
  max-width: 88%;
  margin-bottom: 0.15rem;
}

.ig-msg__bubble {
  padding: 0.65rem var(--ig-bubble-pad-inline) 0.7rem;
  background: var(--color-bubble);
  border-radius: 1.25rem;
  border-end-start-radius: 0.25rem;
  cursor: default;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.ig-msg__bubble p {
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--color-text);
  user-select: none;
  -webkit-user-select: none;
}

.ig-msg__hearts {
  position: absolute;
  left: var(--ig-bubble-pad-inline);
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  pointer-events: none;
  transform: translateY(42%);
}

.ig-msg__heart {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 0.15rem;
  color: var(--color-like);
  line-height: 0;
  background: var(--color-surface-elevated);
  border-radius: 50%;
}

.ig-msg__heart + .ig-msg__heart {
  margin-left: -0.35rem;
}

/* Cashmere while inbox is hidden; use var(--color-bg-section) when inbox returns */
.preview-signup {
  background: var(--knitling-cashmere);
  padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 4vw, 3rem);
}

.preview-signup__inner {
  width: min(36rem, 100%);
  margin: 0 auto;
  text-align: center;
}

.preview-signup__title {
  font-size: clamp(1.125rem, 2.8vw, 1.5rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.preview-signup__form {
  margin-top: 1.75rem;
}

.preview-signup__inner:has(.preview-signup__form.is-success) .preview-signup__title {
  display: none;
}

.preview-signup__form.is-success .preview-signup__fields {
  display: none;
}

.preview-signup__inner:has(.preview-signup__form.is-success) .preview-signup__form {
  margin-top: 0;
}

.preview-signup__fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 36rem) {
  .preview-signup__fields {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .preview-signup__input--name {
    flex: 0 1 10rem;
  }

  .preview-signup__input--email {
    flex: 1 1 12rem;
  }
}

.preview-signup__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.preview-signup__input {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: var(--color-text);
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  border-radius: 0;
  transition: border-color 0.2s ease;
}

.preview-signup__input::placeholder {
  color: var(--color-text-muted);
}

.preview-signup__input:focus {
  outline: none;
  border-color: var(--color-bg-inverse);
}

.preview-signup__input:invalid:not(:placeholder-shown) {
  border-color: var(--color-like);
}

.preview-signup__submit {
  flex-shrink: 0;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-on-dark);
  background: var(--color-bg-inverse);
  border: 1px solid var(--color-bg-inverse);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.preview-signup__submit:hover {
  background: var(--color-fondant-hover);
  border-color: var(--color-fondant-hover);
}

.preview-signup__status {
  margin-top: 0;
}

.preview-signup__status.is-error {
  margin-top: 1rem;
  font-size: clamp(0.9375rem, 2.2vw, 1.0625rem);
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: #8b3a3a;
}

.preview-signup__note {
  max-width: 22rem;
  margin: 0 auto;
  font-size: clamp(1.0625rem, 2.6vw, 1.1875rem);
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0.03em;
  color: var(--color-text);
  text-wrap: pretty;
}

.preview-signup__signature {
  margin: 1.25rem auto 0;
  font-family: inherit;
  font-size: clamp(1.0625rem, 2.6vw, 1.1875rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.75;
  letter-spacing: 0.03em;
  color: var(--color-text);
}

.preview-signup__form.is-loading .preview-signup__submit {
  opacity: 0.75;
  cursor: wait;
}

.preview-connect {
  background: var(--color-bg-section);
  padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 4vw, 3rem);
}

.preview-connect__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: min(40rem, 100%);
  margin: 0 auto;
  text-align: center;
}

.preview-connect__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preview-connect__photo {
  width: min(11rem, 70vw);
  height: min(11rem, 70vw);
  border-radius: 50%;
  object-fit: cover;
}

.preview-connect__title {
  font-size: clamp(0.6875rem, 1.8vw, 0.8125rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: none;
}

.preview-connect__link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  transition: opacity 0.2s ease;
}

.preview-connect__link:hover {
  opacity: 0.7;
}

/* Shop / product pages */

.site-header {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
  text-align: center;
}

.site-header > a {
  display: inline-block;
  line-height: 0;
}

.site-header__lang {
  position: absolute;
  top: 1.5rem;
  right: clamp(1rem, 4vw, 3rem);
}

.site-header__logo {
  display: block;
  width: min(12rem, 40vw);
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.site-main {
  flex: 1;
  width: min(72rem, 100%);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem) 3rem;
}

body.product-page .site-main {
  padding-top: 3rem;
}

.section-title {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 2.5rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
}

@media (min-width: 48rem) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-card__image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    var(--color-placeholder-start) 0%,
    var(--color-placeholder-end) 100%
  );
}

.product-card__photo,
.product-detail__image {
  transition: filter 0.45s ease;
}

/* Flag off: always black & white */
.product-hover-bw--off .product-card__photo,
.product-hover-bw--off .product-detail__image,
.product-hover-bw--off .product-card:hover .product-card__photo,
.product-hover-bw--off .product-card:focus-visible .product-card__photo,
.product-hover-bw--off .product-detail__image-wrap:hover .product-detail__image,
.product-hover-bw--off .product-detail__image-wrap:focus-visible .product-detail__image,
.product-hover-bw--off .product-detail__thumb img,
.product-hover-bw--off .product-detail__thumb:hover img,
.product-hover-bw--off .product-detail__thumb.is-active img {
  filter: grayscale(100%);
}

/* Flag on: color by default; black & white on hover/focus */
.product-hover-bw--on .product-card__photo,
.product-hover-bw--on .product-detail__image {
  filter: grayscale(0);
}

.product-hover-bw--on .product-card:hover .product-card__photo,
.product-hover-bw--on .product-card:focus-visible .product-card__photo,
.product-hover-bw--on .product-detail__image-wrap:hover .product-detail__image,
.product-hover-bw--on .product-detail__image-wrap:focus-visible .product-detail__image {
  filter: grayscale(100%);
}

/* Carousel thumbs when on: color when active or hovered */
.product-hover-bw--on .product-detail__thumb img {
  filter: grayscale(100%);
}

.product-hover-bw--on .product-detail__thumb:hover img,
.product-hover-bw--on .product-detail__thumb.is-active img {
  filter: none;
}

.product-card__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .product-card__photo,
  .product-detail__image {
    transition: none;
  }
}

.product-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.875rem;
}

.product-card__name,
.product-card__price {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.product-card__name {
  text-transform: none;
}

.product-card__price {
  flex-shrink: 0;
  text-transform: uppercase;
}

.product-detail {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  max-width: min(72rem, 100%);
  margin: 0 auto;
}

@media (min-width: 48rem) {
  .product-detail {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 4rem);
  }
}

.product-detail__gallery {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: min(100%, 20rem);
  margin-inline: auto;
}

.product-detail__image-wrap {
  display: block;
  width: 100%;
  max-height: min(58dvh, calc(100dvh - 11rem));
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  font: inherit;
  text-align: inherit;
}

.product-detail__image-wrap:focus-visible {
  outline: 2px solid var(--color-bg-inverse);
  outline-offset: 4px;
}

.product-detail__image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: inherit;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  background: linear-gradient(
    145deg,
    var(--color-placeholder-start) 0%,
    var(--color-placeholder-end) 100%
  );
}

.product-detail__carousel {
  --product-thumb-gap: 0.5rem;
  --product-thumb-count: 4;
  display: flex;
  gap: var(--product-thumb-gap);
  width: 100%;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.product-detail__thumb {
  flex: 0 0
    calc(
      (100% - (var(--product-thumb-count) - 1) * var(--product-thumb-gap)) /
        var(--product-thumb-count)
    );
  aspect-ratio: 1;
  min-width: 0;
  padding: 0;
  border: 1px solid var(--color-border-subtle);
  background: var(--color-placeholder-start);
  cursor: pointer;
  overflow: hidden;
  scroll-snap-align: start;
  transition: border-color 0.2s ease;
}

.product-detail__thumb:focus-visible {
  outline: 2px solid var(--color-bg-inverse);
  outline-offset: 2px;
}

.product-detail__thumb.is-active {
  border-color: var(--color-text);
}

.product-detail__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: filter 0.25s ease;
}

/* Hidden until additional product photos are ready — remove to show carousel */
.product-detail__carousel {
  display: none;
}

@media (min-width: 48rem) {
  .product-detail__gallery {
    max-width: 100%;
    margin-inline: 0;
    justify-self: stretch;
  }

  .product-detail__image-wrap {
    max-height: min(90vh, 58rem);
  }
}

@media (min-width: 64rem) {
  .product-detail__image-wrap {
    max-height: min(100vh, 62rem);
  }
}

body.product-lightbox-open {
  overflow: hidden;
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
  background: rgba(42, 42, 42, 0.78);
}

.product-lightbox[hidden] {
  display: none;
}

.product-lightbox__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: zoom-out;
}

.product-lightbox__backdrop:focus-visible {
  outline: none;
}

.product-lightbox__img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.product-detail__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: none;
}

.product-detail__price {
  margin-top: 0.5rem;
  font-size: 1.125rem;
  letter-spacing: 0.06em;
}

.product-detail__description {
  margin-top: 1rem;
  line-height: 1.7;
  color: var(--color-text);
}

.product-detail__description p + p {
  margin-top: 0.75rem;
}

.product-detail__sizes {
  width: 100%;
  margin-top: 1.5rem;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.5;
}

.product-detail__sizes th,
.product-detail__sizes td {
  padding: 0.625rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.product-detail__sizes th {
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

.product-detail__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.product-btn {
  display: block;
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
}

.product-btn--primary {
  color: var(--color-text-on-dark);
  background: var(--color-bg-inverse);
  border: 1px solid var(--color-bg-inverse);
}

.product-btn--primary:hover {
  background: var(--color-fondant-hover);
  border-color: var(--color-fondant-hover);
}

.product-btn--secondary {
  color: var(--color-text);
  background: transparent;
  border: 1px solid var(--color-bg-inverse);
}

.product-btn--secondary:hover {
  background: var(--color-bg-inverse);
  color: var(--color-text-on-dark);
}

.product-detail__back {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

/* Footer */

.footer {
  flex-shrink: 0;
  background: var(--color-bg-inverse);
  color: var(--color-text-on-dark);
  padding: 1rem 1.5rem 1.125rem;
  text-align: center;
  font-size: clamp(0.625rem, 1.8vw, 0.75rem);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.625rem;
  font-weight: 400;
}

.footer__nav a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: opacity 0.2s ease;
}

.footer__nav a:hover {
  opacity: 0.75;
}

.footer__sep {
  opacity: 0.45;
  user-select: none;
}

.footer__copy {
  font-weight: 400;
  opacity: 0.85;
}

/* Legal pages */

body.legal-page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background: var(--color-bg-section);
}

.legal-main {
  flex: 1;
  width: min(42rem, 100%);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem) 3rem;
}

.legal-content {
  line-height: 1.75;
  color: var(--color-text);
}

.legal-content h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.legal-meta {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-content p,
.legal-content ul {
  margin-bottom: 1rem;
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-content li {
  margin-bottom: 0.35rem;
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.legal-table {
  width: 100%;
  margin: 1rem 0 1.5rem;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.legal-table th,
.legal-table td {
  padding: 0.625rem 0.75rem;
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--color-border);
}

.legal-table th {
  font-weight: 400;
  background: var(--knitling-cream);
  letter-spacing: 0.04em;
}

.legal-form {
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--knitling-cashmere);
  border: 1px solid var(--color-border);
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-x: auto;
}

.legal-btn {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-bg-inverse);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.legal-btn:hover {
  background: var(--color-bg-inverse);
  color: var(--color-text-on-dark);
}

.legal-contact-list {
  list-style: none;
  padding-left: 0;
}

.legal-contact-list li {
  margin-bottom: 0.5rem;
}

.legal-back {
  margin-top: 2.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-content code {
  font-size: 0.875em;
  background: var(--knitling-cashmere);
  padding: 0.1em 0.35em;
}

/* Cookie banner */

body.is-grounding .cookie-banner {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 10002;
  padding: 0.5rem clamp(0.75rem, 3vw, 1.25rem);
  background: color-mix(in srgb, var(--knitling-cashmere) 92%, transparent);
  color: var(--color-text);
  border-top: 1px solid var(--color-border-subtle);
  backdrop-filter: blur(10px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  max-width: 40rem;
  margin: 0 auto;
}

.cookie-banner__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.6875rem;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--color-text-secondary);
}

.cookie-banner__text a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.cookie-banner__btn {
  padding: 0.3rem 0.55rem;
  font-family: inherit;
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--color-border-subtle);
  border-radius: 999px;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cookie-banner__btn:hover {
  color: var(--color-text);
  border-color: var(--color-border);
}

.cookie-banner__btn--primary {
  color: var(--color-text-on-dark);
  background: var(--color-bg-inverse);
  border-color: var(--color-bg-inverse);
}

.cookie-banner__btn--primary:hover {
  background: var(--color-fondant-hover);
  border-color: var(--color-fondant-hover);
}

.cookie-banner__prefs {
  padding: 0.35rem 0 0.15rem;
  font-size: 0.6875rem;
  color: var(--color-text-secondary);
}

.cookie-banner__prefs-title {
  margin-bottom: 0.5rem;
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.cookie-pref {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.35rem;
  cursor: pointer;
}

.cookie-pref input {
  flex-shrink: 0;
}

.cookie-banner__prefs-actions {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.5rem;
}
