:root {
  color-scheme: dark;
  --black: #050505;
  --ink: #101010;
  --charcoal: #181818;
  --graphite: #2a2927;
  --gray: #8b8780;
  --paper: #f4efe7;
  --white: #fffdf8;
  --orange: #ef4f1f;
  --orange-deep: #9d2a13;
  --line: rgba(255, 253, 248, 0.16);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 14%, rgba(239, 79, 31, 0.17), transparent 34rem),
    linear-gradient(180deg, #050505 0%, #101010 45%, #050505 100%);
  color: var(--paper);
  overflow-x: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  align-items: start;
  gap: 1.25rem;
  padding: clamp(1rem, 2vw, 1.7rem) clamp(1rem, 3vw, 3rem);
  color: var(--white);
  mix-blend-mode: normal;
  transition: transform 260ms ease, opacity 220ms ease;
  will-change: transform, opacity;
}

.site-header.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-115%);
}

.brand-mark {
  grid-column: 1;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  width: clamp(4.8rem, 8vw, 7.8rem);
}

.brand-mark img {
  width: 100%;
  height: auto;
  filter: invert(1);
}

.nav-pills {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  margin-top: 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.nav-pills a,
.bag-link,
.button {
  min-height: 2.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.nav-pills a {
  min-height: auto;
  padding: 0;
  background: transparent;
  color: rgba(255, 253, 248, 0.72);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  letter-spacing: 0.08em;
  line-height: 1.25;
}

.button:hover,
.bag-link:hover {
  transform: translateY(-2px);
}

.nav-pills a:hover {
  color: var(--orange);
}

.bag-link {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  color: var(--orange);
  gap: 0.5rem;
  text-shadow: 0 0 24px rgba(239, 79, 31, 0.4);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 8rem clamp(1rem, 5vw, 4.5rem) clamp(2rem, 6vw, 5rem);
}

.hero-image,
.hero-scrim,
.grain {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-scrim {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 42%, rgba(0, 0, 0, 0.22) 100%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.72) 0%, rgba(5, 5, 5, 0.08) 55%, rgba(5, 5, 5, 0.48) 100%);
}

.grain {
  z-index: -1;
  pointer-events: none;
  opacity: 0.19;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}

.hero-content {
  width: min(760px, 100%);
  margin-inline: auto;
  transform: translateY(12vh);
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-left: auto;
  margin-bottom: 1.2rem;
  color: var(--white);
  font-size: clamp(4.7rem, 12vw, 11.5rem);
  font-weight: 950;
  line-height: 0.78;
  letter-spacing: 0;
}

.hero-copy {
  min-height: 4.2em;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 1.8rem;
  color: rgba(255, 253, 248, 0.86);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(1.05rem, 1.7vw, 1.42rem);
  line-height: 1.45;
}

.hero-copy.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.55em;
  height: 1em;
  margin-left: 0.15em;
  border-right: 2px solid var(--orange);
  transform: translateY(0.16em);
  animation: cursor-blink 850ms steps(1) infinite;
}

.hero-actions {
  position: absolute;
  left: clamp(1rem, 3vw, 3rem);
  top: auto;
  bottom: clamp(2rem, 5vw, 4.5rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.8rem;
  transform: none;
}

.button {
  padding: 0 1.45rem;
  border: 1px solid transparent;
}

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

.button-secondary {
  border-color: rgba(255, 253, 248, 0.26);
  background: rgba(255, 253, 248, 0.08);
  color: var(--white);
  backdrop-filter: blur(16px);
}

.hero-side-note {
  position: absolute;
  right: clamp(1rem, 3vw, 3rem);
  bottom: clamp(2rem, 5vw, 4.5rem);
  display: grid;
  gap: 0.5rem;
  color: rgba(255, 253, 248, 0.62);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.hero-side-note span:last-child {
  letter-spacing: 0;
  word-spacing: -0.28em;
}

.shop-preview,
.site-footer {
  padding-inline: clamp(1rem, 5vw, 4.5rem);
}

.shop-preview {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(5rem, 10vw, 8rem);
  padding-bottom: clamp(5rem, 10vw, 8rem);
  background: #080808;
}

.shop-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0.58) 45%, rgba(5, 5, 5, 0.9)),
    linear-gradient(90deg, rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0.18), rgba(5, 5, 5, 0.72)),
    url("assets/mmol-parking-lot.png") center / cover;
  filter: grayscale(1);
  transform: scale(1.03);
}

.shop-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.6;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.3rem;
}

.shop-heading {
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.section-heading h2 {
  max-width: 920px;
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(2.6rem, 5.5vw, 5.9rem);
  font-weight: 920;
  line-height: 0.98;
  letter-spacing: 0;
}

.text-link {
  color: var(--orange);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.8rem);
}

.product-card {
  min-height: 29rem;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03)),
    rgba(16, 16, 16, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 32px 90px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(18px) saturate(120%);
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  margin: clamp(1.2rem, 2.5vw, 2rem) clamp(1.2rem, 2.5vw, 2rem) 0;
  min-height: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0;
  background:
    radial-gradient(circle at 42% 36%, rgba(255, 255, 255, 0.92), rgba(225, 226, 219, 0.94) 60%, rgba(195, 198, 188, 0.9));
}

.product-media::before {
  content: "";
  position: absolute;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(34, 68, 39, 0.18);
  filter: blur(22px);
  transform: translate(8%, 12%);
}

.garment {
  position: relative;
  z-index: 1;
  width: min(58%, 14rem);
  aspect-ratio: 0.82;
  border: 1px solid rgba(5, 5, 5, 0.12);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.garment-tee {
  background: linear-gradient(180deg, #f5f2ea, #d9d6cd);
  clip-path: polygon(22% 0, 38% 0, 45% 10%, 55% 10%, 62% 0, 78% 0, 100% 24%, 82% 38%, 78% 100%, 22% 100%, 18% 38%, 0 24%);
}

.garment-hoodie {
  width: min(60%, 17rem);
  background: linear-gradient(180deg, #101010, #050505);
  clip-path: polygon(34% 0, 66% 0, 78% 13%, 92% 100%, 8% 100%, 22% 13%);
}

.garment-cap {
  width: min(58%, 15rem);
  aspect-ratio: 2.1;
  border-radius: 100% 100% 24% 24%;
  background: linear-gradient(180deg, #42643b, #142516);
}

.product-info {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1.6rem 1rem;
  padding: 1.15rem clamp(1.2rem, 2.5vw, 2rem) 1.4rem;
  color: var(--white);
}

.product-info h3 {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-info p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 253, 248, 0.86);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  line-height: 1.45;
  opacity: 1;
}

.product-info span {
  justify-self: end;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9rem;
  font-weight: 900;
}

.values-section {
  min-height: 240vh;
  position: relative;
  background: var(--black);
}

.values-sticky {
  --values-spot-width: clamp(225px, 35vw, 450px);
  --values-spot-height: clamp(210px, 32vw, 410px);
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: clamp(5rem, 10vw, 8rem) clamp(1rem, 5vw, 4.5rem);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.values-sticky::before,
.values-sticky::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.values-sticky::before {
  inset: 0;
  z-index: -2;
  background: url("assets/mmol-breeze-editorial.png") center / cover no-repeat;
  filter: grayscale(1);
  opacity: 0.32;
  /* The photo stays stationary and proportional; only the reveal moves. */
  -webkit-mask-image: radial-gradient(ellipse var(--values-spot-width) var(--values-spot-height) at calc(50% + var(--values-glow-x, 0px)) calc(46% + var(--values-glow-y, 0px)), #000 0%, rgba(0, 0, 0, 0.92) 18%, rgba(0, 0, 0, 0.7) 38%, rgba(0, 0, 0, 0.38) 60%, rgba(0, 0, 0, 0.12) 80%, rgba(0, 0, 0, 0.025) 94%, transparent 100%);
  mask-image: radial-gradient(ellipse var(--values-spot-width) var(--values-spot-height) at calc(50% + var(--values-glow-x, 0px)) calc(46% + var(--values-glow-y, 0px)), #000 0%, rgba(0, 0, 0, 0.92) 18%, rgba(0, 0, 0, 0.7) 38%, rgba(0, 0, 0, 0.38) 60%, rgba(0, 0, 0, 0.12) 80%, rgba(0, 0, 0, 0.025) 94%, transparent 100%);
}

.values-sticky::after {
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse var(--values-spot-width) var(--values-spot-height) at calc(50% + var(--values-glow-x, 0px)) calc(46% + var(--values-glow-y, 0px)), rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.02) 26%, rgba(82, 4, 18, 0.1) 46%, rgba(94, 4, 22, 0.2) 64%, rgba(56, 2, 12, 0.08) 82%, rgba(35, 1, 8, 0.02) 94%, transparent 100%);
}

/* Desktop-only breathing light; mobile remains entirely scroll-driven. */
@media (min-width: 861px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .values-sticky::after {
    animation: values-spotlight-pulse 7s ease-in-out infinite;
    animation-play-state: paused;
  }

  .is-spotlight-visible .values-sticky::after {
    animation-play-state: running;
  }
}

@keyframes values-spotlight-pulse {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}

@supports not ((mask-image: radial-gradient(#000, transparent)) or (-webkit-mask-image: radial-gradient(#000, transparent))) {
  .values-sticky::before {
    display: none;
  }
}

.flip-stage {
  position: relative;
  width: min(1100px, 100%);
  min-height: clamp(9rem, 18vw, 15rem);
  perspective: 900px;
}

.value-word {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: clamp(3rem, 12vw, 10rem);
  font-weight: 950;
  line-height: 0.82;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(35%) rotateX(-58deg) scale(0.82);
  transform-origin: center;
  transition: opacity 520ms ease, transform 720ms cubic-bezier(0.2, 0.82, 0.2, 1), filter 520ms ease;
  filter: blur(8px);
}

.value-word.is-active {
  opacity: 1;
  transform: translateY(0) rotateX(0deg) scale(1);
  filter: blur(0);
}

.closing-section {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(5rem, 8vw, 7rem) clamp(1rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3rem);
}

.closing-image,
.closing-scrim {
  position: absolute;
  inset: 0;
}

.closing-image {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.08);
}

.closing-scrim {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.14) 50%, rgba(0, 0, 0, 0.44) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.06) 48%, rgba(0, 0, 0, 0.48) 100%);
}

.closing-logo-stack {
  position: absolute;
  top: clamp(4rem, 7vw, 6rem);
  left: clamp(1.2rem, 4vw, 3.5rem);
  display: grid;
  gap: 0.05em;
  color: #ffd767;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  font-weight: 950;
  line-height: 0.78;
  letter-spacing: -0.05em;
  text-shadow: 0 0 8px rgba(255, 197, 59, 0.82), 0 0 24px rgba(239, 79, 31, 0.44);
}

.closing-center {
  transform: translateY(5vh);
}

.closing-shop {
  min-width: 9.5rem;
  min-height: 2.35rem;
  background: rgba(17, 15, 13, 0.72);
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  backdrop-filter: blur(12px);
}

.closing-social {
  position: absolute;
  left: 50%;
  bottom: clamp(2rem, 8vw, 5.5rem);
  transform: translateX(-50%);
  text-align: center;
  text-transform: uppercase;
  color: var(--white);
}

.closing-social p {
  margin: 0 0 0.35rem;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 950;
  letter-spacing: 0.03em;
}

.closing-social div {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 850;
}

.closing-social a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-block: 2rem;
  border-top: 1px solid var(--line);
  color: rgba(244, 239, 231, 0.76);
}

.brand-word {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 950;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.footer-links {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 1rem;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

@keyframes cursor-blink {
  50% {
    opacity: 0;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
    padding-inline: 0.85rem;
  }

  .nav-pills {
    justify-self: start;
    max-width: none;
    overflow: visible;
  }

  .nav-pills a {
    padding: 0;
    font-size: 0.68rem;
  }

  .bag-link {
    font-size: 0.66rem;
  }

  .hero {
    min-height: 100svh;
    padding-top: 7rem;
  }

  .hero-image {
    object-position: 60% center;
  }

  .hero-side-note {
    display: none;
  }

  .hero-content,
  .hero-copy {
    margin-inline: auto;
    text-align: center;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .product-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .product-media {
    min-height: 18rem;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .site-footer,
  .site-footer p,
  .footer-links {
    justify-items: start;
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: start;
    row-gap: 0.55rem;
  }

  .brand-mark {
    width: 3.2rem;
  }

  .nav-pills {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    width: auto;
    flex-wrap: nowrap;
    overflow: visible;
  }

  .nav-pills a {
    flex: 0 0 auto;
    min-height: auto;
    padding-inline: 0;
  }

  .bag-link {
    align-self: center;
  }

  .hero {
    padding-top: 10.5rem;
  }

  h1 {
    font-size: clamp(4.1rem, 23vw, 6rem);
  }

  .hero-copy {
    min-height: 5.8em;
  }

  .button {
    min-height: 2.8rem;
    padding-inline: 1.1rem;
  }

  .story-panel {
    min-height: 18rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .values-sticky {
    --values-glow-x: 0px !important;
    --values-glow-y: 0px !important;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .value-word {
    transform: none;
    filter: none;
  }
}
