:root {
  /* Color system */
  --color-bg: #090b0d;
  --color-surface: #111417;
  --color-text: #f1ede4;
  --color-muted: #9b9a95;
  --color-accent: #d9c3a0;
  --color-border: rgba(241, 237, 228, 0.18);

  /* Typography */
  --font-display: "Helvetica Neue", "Neue Haas Grotesk Text Pro",
    "Inter", "Arial Nova", Arial, sans-serif;
  --font-body: "Helvetica Neue", "Inter", "Arial Nova", Arial, sans-serif;

  /* Layout */
  --content-max: 1480px;
  --gutter-desktop: clamp(2.75rem, 5vw, 6rem);
  --gutter-tablet: clamp(2rem, 4vw, 3.5rem);
  --gutter-mobile: 1.25rem;

  /* Geometry */
  --radius-card: 0.9rem;
  --radius-button: 999px;

  /* Spacing */
  --space-section: clamp(6rem, 10vw, 11rem);
  --space-block: clamp(2rem, 4vw, 4.5rem);

  /* Hairlines */
  --hairline: 1px solid var(--color-border);
}

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

html {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.55;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-shell {
  min-height: 100svh;
  overflow-x: clip;
  background: var(--color-bg);
}

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

.section {
  padding-block: var(--space-section);
}

.rule {
  width: 100%;
  height: 1px;
  background: var(--color-border);
}

.display,
h1,
h2,
h3,
p {
  margin: 0;
}

.display,
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.display {
  max-width: 12ch;
  font-size: clamp(3.9rem, 8.6vw, 9.5rem);
  line-height: 0.92;
}

h1 {
  max-width: 14ch;
  font-size: clamp(3.2rem, 6vw, 7.25rem);
  line-height: 0.95;
}

h2 {
  max-width: 18ch;
  font-size: clamp(2.35rem, 4.3vw, 5.25rem);
  line-height: 1;
}

h3 {
  max-width: 26ch;
  font-size: clamp(1.55rem, 2.25vw, 2.75rem);
  line-height: 1.08;
}

.eyebrow,
.metadata {
  font-size: clamp(0.66rem, 0.68vw, 0.76rem);
  line-height: 1.3;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--color-text);
}

.metadata {
  color: var(--color-muted);
}

.body-large {
  max-width: 46ch;
  font-size: clamp(1.15rem, 1.5vw, 1.65rem);
  line-height: 1.45;
}

p {
  max-width: 62ch;
  color: var(--color-muted);
  font-size: clamp(0.98rem, 1.05vw, 1.125rem);
}

.type-preview {
  display: grid;
  gap: var(--space-block);
  padding-block: var(--space-section);
}

.control-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-top: var(--space-block);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  min-height: 3.15rem;
  padding: 0.85rem 1.35rem;
  border: var(--hairline);
  border-radius: var(--radius-button);
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.button-primary {
  border-color: var(--color-text);
  background: var(--color-text);
  color: var(--color-bg);
}

.button-outline {
  background: transparent;
  color: var(--color-text);
}

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

.button-primary:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.button-outline:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

.button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

::selection {
  background: var(--color-accent);
  color: var(--color-bg);
}

@media (max-width: 1024px) {
  .container {
    width: min(
      calc(100% - (var(--gutter-tablet) * 2)),
      var(--content-max)
    );
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - (var(--gutter-mobile) * 2));
  }

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

  .display {
    font-size: clamp(3.4rem, 16vw, 5.2rem);
  }

  .control-preview {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* Header / Navigation — Prompt 02 */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
  padding-top: max(1.1rem, env(safe-area-inset-top));
  background: transparent;
}

.header-inner {
  min-height: 5.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(2rem, 4vw, 5rem);
  border-bottom: 1px solid rgba(241, 237, 228, 0.12);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  color: var(--color-text);
  text-decoration: none;
  line-height: 1;
}

.brand-word {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand-sub {
  color: var(--color-muted);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.24em;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 2.5vw, 2.8rem);
}

.desktop-nav a,
.mobile-nav a {
  color: var(--color-text);
  text-decoration: none;
}

.desktop-nav a {
  position: relative;
  padding-block: 0.5rem;
  color: rgba(241, 237, 228, 0.82);
  font-size: 0.9rem;
  transition: color 160ms ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--color-text);
  transition: right 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--color-text);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.icon-button {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  border-radius: 50%;
}

.icon-button svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.icon-button:hover {
  background: rgba(241, 237, 228, 0.06);
}

.header-cta,
.mobile-menu-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.15rem;
  border: var(--hairline);
  border-radius: var(--radius-button);
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.88rem;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible,
.mobile-menu-cta:hover,
.mobile-menu-cta:focus-visible {
  border-color: var(--color-text);
  background: var(--color-text);
  color: var(--color-bg);
}

.menu-button {
  display: none;
  gap: 0.28rem;
}

.menu-line {
  display: block;
  width: 1.15rem;
  height: 1px;
  background: currentColor;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(9, 11, 13, 0.98);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu-panel {
  min-height: 100svh;
  padding:
    max(1.25rem, env(safe-area-inset-top))
    var(--gutter-mobile)
    max(1.5rem, env(safe-area-inset-bottom));
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--color-bg);
}

.mobile-menu-header {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: var(--hairline);
}

.menu-close {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 200;
}

.mobile-nav {
  display: grid;
  align-content: center;
}

.mobile-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 1rem;
  border-bottom: var(--hairline);
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 11vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
}

.mobile-nav a span {
  color: var(--color-muted);
  font-size: 1.15rem;
}

.mobile-menu-cta {
  width: 100%;
  margin-top: 2rem;
}

.icon-button:focus-visible,
.header-cta:focus-visible,
.desktop-nav a:focus-visible,
.mobile-nav a:focus-visible,
.mobile-menu-cta:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 4.75rem;
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: inline-grid;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-top: max(0.65rem, env(safe-area-inset-top));
  }

  .header-inner {
    min-height: 4.25rem;
  }

  .header-actions {
    gap: 0.15rem;
  }

  .icon-button {
    width: 2.5rem;
    height: 2.5rem;
  }

  .brand-word {
    font-size: 0.92rem;
  }

  .brand-sub {
    font-size: 0.48rem;
  }
}


/* Editorial Hero — Prompt 03 */
.hero {
  position: relative;
  min-height: min(760px, 100svh);
  overflow: hidden;
  isolation: isolate;
  background: var(--color-bg);
}

.hero-media {
  position: absolute;
  inset: 0 0 0 32%;
  z-index: -3;
  overflow: hidden;
  background: #0a0c0e;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  filter: saturate(0.78) contrast(1.05) brightness(0.82);
  transform: scale(1.015);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(9, 11, 13, 1) 0%,
      rgba(9, 11, 13, 0.98) 22%,
      rgba(9, 11, 13, 0.76) 39%,
      rgba(9, 11, 13, 0.17) 59%,
      rgba(9, 11, 13, 0.10) 73%,
      rgba(9, 11, 13, 0.72) 100%
    ),
    linear-gradient(
      180deg,
      rgba(9, 11, 13, 0.18) 0%,
      rgba(9, 11, 13, 0.02) 55%,
      rgba(9, 11, 13, 0.50) 100%
    );
  pointer-events: none;
}

.hero-inner {
  min-height: min(760px, 100svh);
  padding-top: clamp(8.2rem, 13vh, 10rem);
  padding-bottom: clamp(3rem, 6vh, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 18rem);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: stretch;
}

.hero-copy {
  align-self: center;
  max-width: 42rem;
}

.hero-title {
  max-width: 7.7ch;
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: clamp(4.8rem, 7.55vw, 8.7rem);
  line-height: 0.87;
  letter-spacing: -0.055em;
}

.hero-title span {
  display: block;
}

.hero-accent {
  color: var(--color-accent);
}

.hero-eyebrow {
  margin-top: clamp(2rem, 3.2vw, 3rem);
  color: var(--color-text);
  font-size: clamp(0.66rem, 0.7vw, 0.78rem);
  line-height: 1.35;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.hero-body {
  margin-top: 1.15rem;
  max-width: 39rem;
  color: rgba(241, 237, 228, 0.78);
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  line-height: 1.55;
}

.hero-actions {
  margin-top: clamp(1.75rem, 2.7vw, 2.45rem);
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 3.1rem;
  padding: 0.78rem 1.35rem;
  border: 1px solid var(--color-text);
  border-radius: var(--radius-button);
  background: var(--color-text);
  color: var(--color-bg);
  text-decoration: none;
  font-size: 0.9rem;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.hero-primary:hover,
.hero-primary:focus-visible {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-bg);
  transform: translateY(-1px);
}

.hero-story {
  padding: 0;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  font: inherit;
}

.hero-play {
  width: 2.2rem;
  height: 2.2rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(241, 237, 228, 0.9);
  border-radius: 50%;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.hero-play svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: currentColor;
}

.hero-story:hover .hero-play,
.hero-story:focus-visible .hero-play {
  transform: scale(1.055);
  border-color: var(--color-accent);
  background: rgba(217, 195, 160, 0.08);
}

.hero-primary:focus-visible,
.hero-story:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.hero-side {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: clamp(2.2rem, 6vh, 4.3rem);
  padding-bottom: 0.5rem;
}

.hero-side-line {
  width: 1px;
  height: 2.25rem;
  margin-left: 0.35rem;
  background: rgba(241, 237, 228, 0.54);
}

.hero-principles,
.hero-quote {
  margin-left: auto;
  max-width: 13rem;
  color: rgba(241, 237, 228, 0.82);
  font-size: 0.67rem;
  line-height: 1.55;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-principles {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.hero-quote {
  margin-top: auto;
  padding-top: 6rem;
  padding-bottom: 0.2rem;
}

@media (max-width: 1100px) {
  .hero-media {
    inset-left: 26%;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 12rem;
  }

  .hero-title {
    font-size: clamp(4rem, 8vw, 6.7rem);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 100svh;
  }

  .hero-media {
    inset: 0;
  }

  .hero-media img {
    object-position: 55% center;
    filter: saturate(0.75) contrast(1.06) brightness(0.72);
  }

  .hero-shade {
    background:
      linear-gradient(
        90deg,
        rgba(9, 11, 13, 0.92) 0%,
        rgba(9, 11, 13, 0.72) 42%,
        rgba(9, 11, 13, 0.19) 78%,
        rgba(9, 11, 13, 0.26) 100%
      ),
      linear-gradient(
        180deg,
        rgba(9, 11, 13, 0.25) 0%,
        rgba(9, 11, 13, 0.12) 58%,
        rgba(9, 11, 13, 0.70) 100%
      );
  }

  .hero-inner {
    min-height: 100svh;
    padding-top: clamp(8rem, 15vh, 10rem);
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .hero-copy {
    align-self: start;
    max-width: 34rem;
  }

  .hero-side {
    align-self: end;
    min-height: 9rem;
    padding: 0;
    display: block;
  }

  .hero-side-line,
  .hero-quote {
    display: none;
  }

  .hero-principles {
    margin-left: auto;
    width: max-content;
    padding-bottom: 0.5rem;
  }
}

@media (max-width: 640px) {
  .hero-media img {
    object-position: 56% center;
    transform: scale(1.08);
  }

  .hero-shade {
    background:
      linear-gradient(
        90deg,
        rgba(9, 11, 13, 0.92) 0%,
        rgba(9, 11, 13, 0.67) 50%,
        rgba(9, 11, 13, 0.14) 100%
      ),
      linear-gradient(
        180deg,
        rgba(9, 11, 13, 0.33) 0%,
        rgba(9, 11, 13, 0.08) 53%,
        rgba(9, 11, 13, 0.77) 100%
      );
  }

  .hero-inner {
    padding-top: clamp(7.4rem, 15vh, 8.8rem);
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-title {
    max-width: 7.1ch;
    font-size: clamp(4.05rem, 17.4vw, 5.8rem);
    line-height: 0.88;
  }

  .hero-eyebrow {
    max-width: 18rem;
    margin-top: 2.15rem;
    font-size: 0.64rem;
    line-height: 1.55;
  }

  .hero-body {
    max-width: 20rem;
    margin-top: 1.15rem;
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 1.65rem;
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .hero-primary {
    min-height: 3rem;
  }

  .hero-story {
    font-size: 0.95rem;
  }

  .hero-principles {
    font-size: 0.61rem;
    letter-spacing: 0.19em;
  }
}


/* Product Showcase — Prompt 04 */
.products {
  position: relative;
  background: var(--color-bg);
  border-top: 1px solid rgba(241, 237, 228, 0.12);
}

.products-inner {
  padding-block: clamp(2.1rem, 3.8vw, 4rem) clamp(3.8rem, 6vw, 6.5rem);
}

.products-head {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(16rem, 1fr) auto;
  align-items: center;
  gap: 2rem;
  margin-bottom: clamp(1.75rem, 2.8vw, 2.8rem);
}

.products-label-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.products-label {
  flex: 0 0 auto;
  color: var(--color-text);
  font-size: 0.67rem;
  line-height: 1.3;
  letter-spacing: 0.27em;
  text-transform: uppercase;
}

.products-rule {
  width: min(4rem, 12vw);
  height: 1px;
  background: rgba(241, 237, 228, 0.38);
}

.products-thought {
  justify-self: center;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.products-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  justify-self: end;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.82rem;
}

.products-view-all span:last-child {
  transition: transform 180ms ease;
}

.products-view-all:hover span:last-child,
.products-view-all:focus-visible span:last-child {
  transform: translateX(3px);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.65rem, 1vw, 1rem);
}

.product-card {
  position: relative;
  min-height: clamp(16.5rem, 21vw, 22rem);
  overflow: hidden;
  display: block;
  border: 1px solid rgba(241, 237, 228, 0.18);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  color: var(--color-text);
  text-decoration: none;
  isolation: isolate;
}

.product-card-media,
.product-card-shade {
  position: absolute;
  inset: 0;
}

.product-card-media {
  z-index: -2;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.001);
  filter: saturate(0.88) contrast(1.03) brightness(0.86);
  transition:
    transform 420ms cubic-bezier(.2,.7,.2,1),
    filter 420ms ease;
}

.product-card-shade {
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(9, 11, 13, 0.03) 34%,
      rgba(9, 11, 13, 0.18) 53%,
      rgba(9, 11, 13, 0.88) 100%
    );
}

.product-card-copy {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 1.05rem;
}

.product-card-copy h3 {
  margin: 0;
  max-width: none;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.05vw, 1.18rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.product-card-copy p {
  margin-top: 0.3rem;
  color: rgba(241, 237, 228, 0.72);
  font-size: clamp(0.72rem, 0.78vw, 0.84rem);
  line-height: 1.3;
}

.product-card-arrow {
  flex: 0 0 auto;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(241, 237, 228, 0.78);
  border-radius: 50%;
  font-size: 1rem;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.product-card:hover .product-card-media img,
.product-card:focus-visible .product-card-media img {
  transform: scale(1.045);
  filter: saturate(0.94) contrast(1.03) brightness(0.92);
}

.product-card:hover .product-card-arrow,
.product-card:focus-visible .product-card-arrow {
  transform: translateX(3px);
  border-color: var(--color-accent);
  background: rgba(217, 195, 160, 0.08);
}

.product-card:focus-visible,
.products-view-all:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.product-card-more .product-card-media img {
  filter: saturate(0.68) contrast(1.08) brightness(0.74);
}

@media (max-width: 1220px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-card {
    min-height: 20rem;
  }
}

@media (max-width: 900px) {
  .products-head {
    grid-template-columns: 1fr auto;
  }

  .products-thought {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .products-inner {
    padding-top: 1.7rem;
    padding-bottom: 3.75rem;
  }

  .products-head {
    grid-template-columns: 1fr auto;
    gap: 0.9rem 1rem;
    margin-bottom: 1.35rem;
  }

  .products-label-wrap {
    gap: 0.8rem;
  }

  .products-rule {
    width: 2.6rem;
  }

  .products-thought {
    display: none;
  }

  .products-view-all {
    font-size: 0.78rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .product-card {
    min-height: 8.8rem;
    border-radius: 0.95rem;
  }

  .product-card-media img {
    object-position: center 46%;
  }

  .product-card-shade {
    background:
      linear-gradient(
        90deg,
        rgba(9, 11, 13, 0.62) 0%,
        rgba(9, 11, 13, 0.18) 62%,
        rgba(9, 11, 13, 0.10) 100%
      ),
      linear-gradient(
        180deg,
        rgba(9, 11, 13, 0.06) 25%,
        rgba(9, 11, 13, 0.58) 100%
      );
  }

  .product-card-copy {
    min-height: 100%;
    padding: 1rem 1rem 0.95rem;
  }

  .product-card-copy h3 {
    font-size: 1rem;
  }

  .product-card-copy p {
    font-size: 0.78rem;
  }

  .product-card-arrow {
    width: 2.25rem;
    height: 2.25rem;
  }
}


/* Kelbric Approach — Prompt 05 */
.approach {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.015), transparent 20%),
    var(--color-bg);
  border-top: 1px solid rgba(241, 237, 228, 0.10);
}

.approach-inner {
  padding-block: clamp(4.8rem, 7vw, 7.8rem);
  display: grid;
  grid-template-columns: minmax(17rem, 0.82fr) minmax(0, 1.65fr);
  gap: clamp(3.5rem, 7vw, 8rem);
  align-items: start;
}

.approach-copy {
  position: sticky;
  top: 2.5rem;
}

.approach-eyebrow-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.approach-eyebrow {
  color: var(--color-text);
  font-size: 0.67rem;
  line-height: 1.3;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.approach-eyebrow-line {
  display: none;
  width: 4rem;
  height: 1px;
  background: rgba(217, 195, 160, 0.62);
}

.approach-title {
  margin-top: 1.3rem;
  display: flex;
  flex-direction: column;
  max-width: 8.5ch;
  font-size: clamp(3.6rem, 5.6vw, 6.7rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.approach-accent {
  color: var(--color-accent);
}

.approach-body {
  margin-top: 1.6rem;
  max-width: 28rem;
  color: rgba(241, 237, 228, 0.72);
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  line-height: 1.55;
}

.approach-cta {
  margin-top: 1.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 3rem;
  padding: 0.78rem 1.25rem;
  border: 1px solid var(--color-text);
  border-radius: var(--radius-button);
  background: var(--color-text);
  color: var(--color-bg);
  text-decoration: none;
  font-size: 0.88rem;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.approach-cta:hover,
.approach-cta:focus-visible {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-1px);
}

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

.approach-feature {
  min-width: 0;
}

.approach-feature-image {
  aspect-ratio: 1.14 / 1;
  overflow: hidden;
  border: 1px solid rgba(241, 237, 228, 0.16);
  background: var(--color-surface);
}

.approach-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.03) brightness(0.9);
  transition: transform 420ms cubic-bezier(.2,.7,.2,1);
}

.approach-feature:hover .approach-feature-image img {
  transform: scale(1.025);
}

.approach-number {
  margin-top: 1.1rem;
  color: var(--color-muted);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.approach-feature h3 {
  margin-top: 0.65rem;
  max-width: none;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.15vw, 1.22rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.approach-feature > p:last-child {
  margin-top: 0.55rem;
  color: rgba(241, 237, 228, 0.66);
  font-size: 0.84rem;
  line-height: 1.45;
}

.mobile-approach-visual,
.mobile-principles {
  display: none;
}

.approach-cta:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

@media (max-width: 1000px) {
  .approach-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .approach-copy {
    position: static;
    max-width: 42rem;
  }

  .approach-title {
    max-width: 8ch;
  }
}

@media (max-width: 760px) {
  .approach-inner {
    padding-block: 4.5rem 4.8rem;
    gap: 2.3rem;
  }

  .approach-eyebrow-line {
    display: block;
  }

  .approach-title {
    margin-top: 1.1rem;
    max-width: 7.4ch;
    font-size: clamp(3.7rem, 15vw, 5.5rem);
    line-height: 0.9;
  }

  .approach-body {
    max-width: 22rem;
    margin-top: 1.35rem;
    font-size: 1rem;
  }

  .approach-cta {
    margin-top: 1.45rem;
  }

  .desktop-approach-features {
    display: none;
  }

  .mobile-approach-visual,
  .mobile-principles {
    display: block;
  }

  .mobile-approach-visual {
    position: relative;
    min-height: 17rem;
    overflow: hidden;
    border: 1px solid rgba(241, 237, 228, 0.14);
  }

  .mobile-approach-visual img {
    width: 100%;
    height: 100%;
    min-height: 17rem;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.8) contrast(1.03) brightness(0.84);
  }

  .mobile-approach-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        180deg,
        rgba(9, 11, 13, 0.05) 35%,
        rgba(9, 11, 13, 0.52) 100%
      );
    pointer-events: none;
  }

  .mobile-approach-quote {
    position: absolute;
    z-index: 2;
    right: 1rem;
    bottom: 1rem;
    max-width: 12.5rem;
    color: var(--color-text);
    font-size: 0.63rem;
    line-height: 1.55;
    letter-spacing: 0.19em;
    text-align: left;
    text-transform: uppercase;
  }

  .mobile-principles {
    margin-top: 2rem;
  }

  .mobile-principles-label {
    margin-bottom: 0.85rem;
    color: var(--color-muted);
    font-size: 0.64rem;
    line-height: 1.4;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }

  .mobile-principle {
    display: grid;
    grid-template-columns: 4rem 1fr;
    gap: 1rem;
    padding-block: 1.25rem;
    border-top: 1px solid rgba(241, 237, 228, 0.14);
  }

  .mobile-principle:last-child {
    border-bottom: 1px solid rgba(241, 237, 228, 0.14);
  }

  .mobile-principle-number {
    color: var(--color-text);
    font-family: var(--font-display);
    font-size: 1.6rem;
    line-height: 1;
  }

  .mobile-principle h3 {
    max-width: none;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  .mobile-principle div > p {
    margin-top: 0.4rem;
    color: rgba(241, 237, 228, 0.66);
    font-size: 0.82rem;
    line-height: 1.45;
  }
}


/* Responsive & Interaction QA — Prompt 07 */
html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 5.5rem;
}

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

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(9, 11, 13, 0.985);
}

.search-overlay[hidden] {
  display: none;
}

.search-overlay-inner {
  width: min(calc(100% - 2 * var(--gutter-desktop)), var(--content-max));
  min-height: 100svh;
  margin-inline: auto;
  padding-top: max(1.25rem, env(safe-area-inset-top));
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
  display: grid;
  grid-template-rows: auto 1fr;
}

.search-overlay-head {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: var(--hairline);
}

.search-overlay-label {
  color: var(--color-muted);
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.search-close {
  font-size: 1.7rem;
  font-weight: 200;
}

.search-form {
  align-self: center;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: end;
}

.search-input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(241, 237, 228, 0.28);
  background: transparent;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 7vw, 6.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.04em;
  outline: none;
  padding: 0.35rem 0 0.6rem;
}

.search-input::placeholder {
  color: rgba(241, 237, 228, 0.22);
}

.search-input:focus {
  border-bottom-color: var(--color-accent);
}

.search-submit {
  min-height: 3rem;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--color-text);
  border-radius: var(--radius-button);
  background: var(--color-text);
  color: var(--color-bg);
  cursor: pointer;
}

.search-submit:hover,
.search-submit:focus-visible {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.search-submit:focus-visible,
.search-close:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

/* Large desktop refinements */
@media (min-width: 1280px) {
  .hero-copy {
    max-width: 44rem;
  }

  .products-grid {
    align-items: stretch;
  }
}

/* Tablet / small laptop */
@media (max-width: 1024px) {
  .search-overlay-inner {
    width: min(calc(100% - 2 * var(--gutter-tablet)), var(--content-max));
  }

  .hero-title {
    max-width: 7.4ch;
  }

  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .approach-title {
    max-width: 7.8ch;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .hero-inner {
    gap: 1.8rem;
  }

  .hero-body {
    max-width: 31rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card {
    min-height: 17rem;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .search-submit {
    justify-self: start;
  }
}

/* Mobile */
@media (max-width: 640px) {
  html {
    scroll-padding-top: 4.5rem;
  }

  .search-overlay-inner {
    width: calc(100% - 2 * var(--gutter-mobile));
  }

  .search-overlay-head {
    min-height: 4.25rem;
  }

  .search-form {
    gap: 1.2rem;
  }

  .search-input {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .hero {
    min-height: 100svh;
  }

  .hero-inner {
    padding-bottom: max(1.6rem, env(safe-area-inset-bottom));
  }

  .hero-title {
    max-width: 7.05ch;
  }

  .hero-primary,
  .hero-story,
  .header-actions .icon-button,
  .product-card-arrow,
  .approach-cta {
    min-width: 44px;
    min-height: 44px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 9rem;
  }

  .product-card-copy {
    gap: 0.75rem;
  }

  .approach-title {
    max-width: 7.3ch;
  }

  .mobile-principle {
    grid-template-columns: 3.4rem 1fr;
  }
}

/* Narrow mobile */
@media (max-width: 390px) {
  .hero-title {
    font-size: clamp(3.8rem, 17vw, 4.8rem);
  }

  .hero-body {
    max-width: 18.5rem;
  }

  .products-label-wrap {
    gap: 0.6rem;
  }

  .products-rule {
    width: 2rem;
  }

  .mobile-principle {
    gap: 0.75rem;
  }
}

@media (max-width: 375px) {
  .hero-title {
    max-width: 6.9ch;
    font-size: clamp(3.65rem, 16.6vw, 4.55rem);
  }

  .hero-eyebrow {
    max-width: 15.5rem;
  }

  .product-card-copy {
    padding-inline: 0.85rem;
  }

  .approach-title {
    font-size: clamp(3.45rem, 14.8vw, 4.9rem);
  }
}

/* Prevent accidental overflow across all breakpoints */
body,
.site-shell,
.hero,
.products,
.approach {
  max-width: 100%;
}

.hero-title,
.approach-title,
.product-card-copy,
.mobile-principle,
.products-head {
  min-width: 0;
}

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

  .product-card-media img,
  .product-card-arrow,
  .hero-primary,
  .hero-play,
  .approach-cta {
    transition: none !important;
    transform: none !important;
  }
}


/* Closing Visual & Footer — Prompt 06 */
.closing-visual {
  display: none;
  background: var(--color-bg);
}

.closing-visual-inner {
  padding-bottom: 2rem;
}

.closing-card {
  position: relative;
  min-height: 19rem;
  overflow: hidden;
  display: block;
  border: 1px solid rgba(241, 237, 228, 0.16);
  border-radius: 1.2rem;
  color: var(--color-text);
  text-decoration: none;
  isolation: isolate;
}

.closing-card img,
.closing-card-shade {
  position: absolute;
  inset: 0;
}

.closing-card img {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  filter: saturate(0.78) contrast(1.04) brightness(0.78);
  transition: transform 420ms cubic-bezier(.2,.7,.2,1);
}

.closing-card-shade {
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(9, 11, 13, 0.2) 0%,
      rgba(9, 11, 13, 0.18) 38%,
      rgba(9, 11, 13, 0.66) 100%
    ),
    linear-gradient(
      180deg,
      rgba(9, 11, 13, 0.08) 30%,
      rgba(9, 11, 13, 0.62) 100%
    );
}

.closing-card-copy {
  position: absolute;
  inset: auto 1.1rem 1.1rem auto;
  max-width: 15rem;
  display: grid;
  justify-items: end;
  gap: 1rem;
  text-align: left;
}

.closing-card-copy p {
  color: var(--color-text);
  font-size: 0.67rem;
  line-height: 1.6;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.closing-card-arrow {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(241, 237, 228, 0.78);
  border-radius: 50%;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.closing-card:hover img,
.closing-card:focus-visible img {
  transform: scale(1.025);
}

.closing-card:hover .closing-card-arrow,
.closing-card:focus-visible .closing-card-arrow {
  transform: translateX(3px);
  border-color: var(--color-accent);
  background: rgba(217, 195, 160, 0.08);
}

.closing-card:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.site-footer {
  background: var(--color-bg);
  border-top: 1px solid rgba(217, 195, 160, 0.38);
}

.footer-inner {
  min-height: 8.8rem;
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) auto auto;
  grid-template-areas:
    "brand nav socials"
    "bottom bottom bottom";
  gap: 1.4rem 3rem;
  align-items: center;
  padding-block: 1.9rem 1.3rem;
}

.footer-brand-block {
  grid-area: brand;
}

.footer-brand {
  width: max-content;
}

.footer-tagline {
  margin-top: 0.45rem;
  color: var(--color-muted);
  font-size: 0.8rem;
}

.footer-nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.4rem, 2.5vw, 2.8rem);
}

.footer-nav a,
.footer-socials a {
  color: rgba(241, 237, 228, 0.76);
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-nav a {
  font-size: 0.8rem;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-socials a:hover,
.footer-socials a:focus-visible {
  color: var(--color-text);
}

.footer-socials {
  grid-area: socials;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9rem;
}

.footer-socials a {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.footer-socials svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-socials .fill-dot {
  fill: currentColor;
  stroke: none;
}

.footer-bottom {
  grid-area: bottom;
}

.footer-bottom-rule {
  display: none;
  height: 1px;
  background: var(--color-border);
}

.footer-copyright {
  margin-top: 0.25rem;
  color: rgba(155, 154, 149, 0.72);
  font-size: 0.68rem;
}

.footer-nav a:focus-visible,
.footer-socials a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand socials"
      "nav nav"
      "bottom bottom";
    align-items: start;
  }

  .footer-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .closing-visual {
    display: block;
  }

  .closing-visual-inner {
    padding-top: 0.2rem;
    padding-bottom: 2.4rem;
  }

  .closing-card {
    min-height: 18.5rem;
  }

  .closing-card-arrow,
  .footer-socials a {
    min-width: 44px;
    min-height: 44px;
  }

  .site-footer {
    border-top-color: rgba(217, 195, 160, 0.34);
  }

  .footer-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "socials"
      "nav"
      "bottom";
    gap: 1.25rem;
    padding-top: 1.8rem;
    padding-bottom: max(1.2rem, env(safe-area-inset-bottom));
  }

  .footer-socials {
    justify-content: flex-start;
    gap: 0.4rem;
  }

  .footer-nav {
    padding-top: 1rem;
    border-top: 1px solid rgba(241, 237, 228, 0.14);
    gap: 0.95rem 1.3rem;
  }

  .footer-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
  }

  .footer-bottom-rule {
    display: none;
  }

  .footer-copyright {
    margin-top: 0.1rem;
    line-height: 1.45;
  }
}


/* Footer-inclusive QA refinements — Prompt 07 rerun */

/* Ensure full-page sections never create horizontal spill. */
.site-footer,
.footer-inner,
.closing-visual,
.closing-visual-inner,
.closing-card {
  max-width: 100%;
  min-width: 0;
}

.footer-nav,
.footer-socials,
.footer-brand-block,
.footer-bottom {
  min-width: 0;
}

/* Desktop footer rhythm */
@media (min-width: 1280px) {
  .footer-inner {
    gap: 1.4rem clamp(2.5rem, 4vw, 5rem);
  }

  .footer-nav {
    gap: clamp(1.7rem, 2.2vw, 2.9rem);
  }
}

/* Small laptop / tablet footer compaction */
@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: minmax(15rem, 1fr) auto;
    grid-template-areas:
      "brand socials"
      "nav nav"
      "bottom bottom";
    align-items: start;
    gap: 1.3rem 2rem;
  }

  .footer-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 0.8rem;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .footer-inner {
    padding-top: 1.7rem;
  }

  .footer-brand-block {
    max-width: 20rem;
  }

  .footer-nav {
    gap: 0.75rem 1.45rem;
  }

  .footer-socials {
    align-self: start;
  }
}

/* Mobile footer + closing card */
@media (max-width: 640px) {
  .closing-visual-inner {
    padding-inline: 0;
  }

  .closing-card {
    min-height: clamp(17rem, 72vw, 20rem);
    border-radius: 1rem;
  }

  .closing-card-copy {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
    grid-template-columns: 1fr auto;
    align-items: end;
    justify-items: initial;
    gap: 1rem;
  }

  .closing-card-copy p {
    max-width: 14rem;
  }

  .closing-card-arrow {
    justify-self: end;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    padding-inline: 0;
  }

  .footer-tagline {
    max-width: 19rem;
  }

  .footer-socials {
    gap: 0.3rem;
  }

  .footer-nav {
    gap: 0.45rem 1rem;
    padding-top: 0.9rem;
  }

  .footer-nav a {
    min-height: 44px;
    padding-block: 0.35rem;
  }

  .footer-copyright {
    max-width: 23rem;
  }
}

/* Narrow mobile */
@media (max-width: 430px) {
  .closing-card {
    min-height: 17rem;
  }

  .closing-card-copy p {
    max-width: 12rem;
    font-size: 0.61rem;
    line-height: 1.55;
  }
}

@media (max-width: 390px) {
  .footer-nav {
    gap: 0.3rem 0.85rem;
  }

  .footer-nav a {
    font-size: 0.8rem;
  }

  .footer-tagline {
    font-size: 0.78rem;
  }
}

@media (max-width: 375px) {
  .closing-card-copy {
    gap: 0.65rem;
  }

  .closing-card-copy p {
    max-width: 11rem;
  }

  .footer-nav {
    max-width: 18rem;
  }
}

/* Respect reduced motion for closing visual too. */
@media (prefers-reduced-motion: reduce) {
  .closing-card img,
  .closing-card-arrow {
    transition: none !important;
    transform: none !important;
  }
}
