:root {
  --outfit-bg: #f3eee4;
  --outfit-bg-soft: #ded4c2;
  --outfit-red: #252116;
  --outfit-red-dark: #15130e;
  --outfit-black: #0c0b08;
  --outfit-muted: rgba(37, 33, 22, .68);
  --outfit-border: rgba(37, 33, 22, .34);
  --outfit-white: #fbf7ef;
  --outfit-gold: #a98449;
  --outfit-olive: #39402a;
  --font-display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --container-x: clamp(14px, 1.6vw, 28px);
  --section-y: clamp(70px, 12vw, 180px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--outfit-bg);
  color: var(--outfit-red);
  font-family: var(--font-body);
  line-height: 1;
  letter-spacing: -.04em;
}

body.outfit-theme {
  --color-bg: var(--outfit-bg);
  --color-bg-soft: var(--outfit-bg-soft);
  --color-ink: var(--outfit-red);
  --color-muted: var(--outfit-muted);
  --color-line: var(--outfit-red);
  --color-invert: var(--outfit-bg);
  --color-dark: var(--outfit-red);
  --color-accent: var(--outfit-red);
  --color-accent-2: var(--outfit-red);
}

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

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

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--outfit-red);
  outline-offset: 4px;
}

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

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--outfit-bg);
  color: var(--outfit-red);
  font-family: var(--font-display);
  font-size: clamp(60px, 18vw, 280px);
  font-weight: 900;
  letter-spacing: -.09em;
  transition: transform .8s var(--ease-out), opacity .5s var(--ease-out);
}

.page-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 18px var(--container-x);
  color: var(--outfit-red);
  pointer-events: none;
  transition: background .3s var(--ease-out), border-color .3s var(--ease-out), padding .3s var(--ease-out);
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(37, 33, 22, .18);
  background: color-mix(in srgb, var(--outfit-bg) 88%, transparent);
  backdrop-filter: blur(8px);
}

.site-header a,
.site-header button {
  pointer-events: auto;
}

.site-header__brand {
  color: var(--outfit-olive);
  font-size: clamp(24px, 2vw, 38px);
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.18em;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
}

.site-header__nav a,
.menu-toggle,
.menu-overlay__close {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--outfit-red);
  font-size: clamp(12px, .85vw, 15px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: .95;
  text-transform: uppercase;
}

.site-header__nav a:hover,
.site-header__nav a:focus-visible,
.menu-toggle:hover,
.menu-overlay__close:hover {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  align-content: space-between;
  gap: 2rem;
  padding: clamp(18px, 4vw, 64px);
  background: var(--outfit-bg);
  color: var(--outfit-red);
  border-bottom: 2px solid var(--outfit-border);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(calc(-100% - 16px));
  transition: transform .65s var(--ease-out), opacity .25s var(--ease-out), visibility 0s linear .65s;
  will-change: transform;
}

.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: transform .65s var(--ease-out), opacity .25s var(--ease-out);
}

.menu-overlay__close {
  justify-self: end;
}

.menu-overlay nav {
  display: grid;
  gap: 0;
}

.menu-overlay nav a {
  width: max-content;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: clamp(62px, 15vw, 230px);
  font-weight: 900;
  line-height: .76;
  letter-spacing: -.095em;
  text-transform: uppercase;
  transition: transform .25s var(--ease-out);
}

.menu-overlay nav a:hover {
  transform: translateX(.08em);
}

.menu-overlay p {
  max-width: 520px;
  margin: 0;
  color: var(--outfit-red);
  font-size: clamp(14px, 1.3vw, 24px);
  font-weight: 900;
  line-height: .95;
}

.hero-section {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  align-content: end;
  padding: clamp(80px, 7vw, 120px) var(--container-x) 0;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../img/hero.png") center bottom / cover no-repeat;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(243, 238, 228, .76), rgba(243, 238, 228, .58)),
    rgba(243, 238, 228, .42);
}

.ecom-hero__copy {
  min-width: 0;
}

.hero-title,
.ecom-hero__title,
.section-heading h2,
.feature-split__content h2,
.spotlight__copy h2,
.bag-hero h1,
.empty-bag h2,
.shipping-hero h1,
.product-buybox h1,
.site-footer__statement,
.site-footer__logo {
  margin: 0;
  color: var(--outfit-red);
  font-family: var(--font-display);
  font-weight: 900;
  line-height: .76;
  letter-spacing: -.095em;
  text-transform: uppercase;
}

.hero-title {
  width: 100%;
  max-width: none;
  font-size: clamp(86px, 23vw, 390px);
  white-space: nowrap;
  transform-origin: left bottom;
  clip-path: inset(0 0 100% 0);
  animation: heroReveal 1.15s var(--ease-out) .25s forwards;
}

@keyframes heroReveal {
  to { clip-path: inset(0 0 0 0); }
}

.hero-rule,
.footer-rule {
  width: 100%;
  height: 1px;
  margin-top: clamp(8px, 1vw, 18px);
  background: var(--outfit-gold);
  transform: scaleX(0);
  transform-origin: left center;
  animation: ruleIn .9s var(--ease-out) .45s forwards;
}

@keyframes ruleIn {
  to { transform: scaleX(1); }
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr .9fr;
  gap: var(--container-x);
  padding-top: 16px;
}

.intro-grid p {
  max-width: 420px;
  margin: 12px 0 0;
  color: var(--outfit-red);
  font-size: clamp(12px, .82vw, 15px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.055em;
}

.eyebrow,
.microcopy,
.micro-link,
.section-heading p,
.product-card__badge,
.product-card__quick,
.return-link,
.option-group span,
.product-buybox__label,
.bag-summary p,
.policy-card span {
  display: block;
  margin: 0;
  color: var(--outfit-gold);
  font-family: var(--font-body);
  font-size: clamp(9px, .65vw, 12px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.micro-link {
  color: var(--outfit-olive);
}

.eyebrow {
  margin-bottom: 12px;
}

.micro-link + .micro-link {
  margin-top: 22px;
}

.micro-link:hover {
  text-decoration: underline;
}

.product-section,
.products-section {
  padding: clamp(46px, 6vw, 90px) var(--container-x) var(--section-y);
}

.section-heading {
  display: grid;
  grid-template-columns: .35fr 1fr;
  gap: var(--container-x);
  margin-bottom: clamp(34px, 6vw, 88px);
}

.section-heading h2 {
  font-size: clamp(44px, 8vw, 140px);
  line-height: .82;
  letter-spacing: -.08em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(28px, 5vw, 100px) clamp(16px, 1.5vw, 28px);
  align-items: start;
}

.product-card {
  position: relative;
  grid-column: span 3;
  color: var(--outfit-red);
  opacity: 0;
  transform: translateY(46px);
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
}

.product-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card.is-large {
  grid-column: span 6;
}

.product-card.is-medium {
  grid-column: span 4;
}

.product-card.is-small {
  grid-column: span 2;
}

.product-card.is-wide .product-card__media {
  aspect-ratio: 1.4 / 1;
}

.product-card.is-offset {
  margin-top: clamp(60px, 12vw, 220px);
}

.product-card__media,
.feature-split__media,
.spotlight-card {
  display: block;
  overflow: hidden;
  background: var(--outfit-bg-soft);
}

.product-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.28;
}

.product-card__media img,
.feature-split__media img,
.spotlight-card img,
.product-gallery img,
.bag-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
}

.product-card__media img {
  transform: scale(1.001);
  transition: transform .8s var(--ease-out), filter .8s var(--ease-out);
}

.product-card:hover .product-card__media img {
  filter: contrast(1.03);
  transform: scale(1.045);
}

.product-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  border: 1px solid var(--outfit-border);
  padding: 4px 6px;
  background: var(--outfit-white);
  font-size: 9px;
}

.product-card__info p,
.product-card__info h3::after {
  color: var(--outfit-gold);
}

.product-card__quick {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
}

.product-card:hover .product-card__quick {
  opacity: 1;
  transform: translateY(0);
}

.product-card__info {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 14px;
  padding-top: 8px;
  color: var(--outfit-red);
  font-weight: 900;
  font-size: clamp(11px, .8vw, 14px);
  line-height: .95;
  letter-spacing: -.05em;
  text-transform: uppercase;
}

.product-card__info h3,
.product-card__info p {
  margin: 0;
  font: inherit;
}

.product-card__info h3::after {
  content: "\A" attr(data-category);
  white-space: pre;
  display: block;
  margin-top: 3px;
  font-size: clamp(8px, .58vw, 10px);
}

.feature-split {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: var(--container-x);
  align-items: start;
  padding: 0 var(--container-x) var(--section-y);
}

.feature-split__media {
  aspect-ratio: 1 / 1.28;
}

.feature-split__content {
  max-width: 980px;
}

.feature-split__content h2,
.spotlight__copy h2 {
  font-size: clamp(44px, 8vw, 140px);
  line-height: .82;
  letter-spacing: -.08em;
}

.feature-split__content p:not(.eyebrow) {
  max-width: 520px;
  color: var(--outfit-red);
  font-size: clamp(14px, 1.3vw, 24px);
  font-weight: 900;
  line-height: .95;
}

.text-button,
.checkout-button,
.empty-bag a,
.bag-item button,
.option-group button,
.quantity-control button,
.add-to-bag {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--outfit-red);
  border-radius: 0;
  padding: 12px 16px;
  background: transparent;
  color: var(--outfit-red);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  text-transform: uppercase;
  transition: background .25s var(--ease-out), color .25s var(--ease-out), transform .25s var(--ease-out);
}

.text-button:hover,
.checkout-button:hover,
.empty-bag a:hover,
.bag-item button:hover,
.option-group button:hover,
.option-group button.is-selected,
.quantity-control button:hover,
.add-to-bag:hover {
  background: var(--outfit-red);
  color: var(--outfit-bg);
  transform: translateY(-2px);
}

.spotlight {
  display: grid;
  grid-template-columns: .65fr 1fr;
  gap: var(--container-x);
  padding: 0 var(--container-x) var(--section-y);
}

.spotlight__copy {
  position: sticky;
  top: 90px;
}

.spotlight__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--container-x);
}

.spotlight-card {
  position: relative;
  min-height: clamp(360px, 52vw, 720px);
}

.spotlight-card--dark {
  margin-top: clamp(50px, 10vw, 160px);
}

.spotlight-card span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  border: 1px solid var(--outfit-border);
  padding: 4px 6px;
  background: var(--outfit-bg);
  color: var(--outfit-gold);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer {
  padding: 0 var(--container-x) 28px;
  color: var(--outfit-red);
}

.footer-rule {
  height: 1px;
  margin: 0 0 18px;
}

.site-footer__statement {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 70px);
  font-size: clamp(44px, 9vw, 160px);
  line-height: .82;
  letter-spacing: -.08em;
}

.site-footer__statement p,
.site-footer__grid p {
  margin: 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1.1fr 1fr 1fr;
  gap: 20px;
  border-top: 1px solid var(--outfit-border);
  padding-top: 18px;
}

.site-footer__grid,
.site-footer__grid a,
.site-footer__grid strong {
  color: var(--outfit-muted);
  font-size: clamp(9px, .65vw, 12px);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.site-footer__grid strong,
.site-footer__grid a:hover {
  color: var(--outfit-gold);
}

.site-footer__grid a {
  display: block;
  margin-bottom: 7px;
}

.site-footer__grid a:hover {
  text-decoration: underline;
}

.site-footer__logo {
  margin-top: clamp(34px, 8vw, 120px);
  font-size: clamp(64px, 21vw, 300px);
  line-height: .7;
  white-space: nowrap;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(18px, 3vw, 42px);
  padding-top: 10px;
  border-top: .5px solid var(--outfit-border);
  color: var(--outfit-muted);
  font-size: clamp(9px, .65vw, 12px);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: var(--outfit-gold);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.product-page,
.bag-page,
.shipping-page,
.checkout-page {
  min-height: 100svh;
  padding: clamp(92px, 8vw, 130px) var(--container-x) var(--section-y);
}

.return-link {
  display: inline-flex;
  margin-bottom: clamp(28px, 5vw, 84px);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: var(--container-x);
  align-items: start;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--container-x);
}

.product-gallery img {
  aspect-ratio: 1 / 1.28;
  background: var(--outfit-bg-soft);
}

.product-gallery img:first-child {
  grid-column: span 2;
}

.product-buybox {
  position: sticky;
  top: 92px;
  border-top: 1px solid var(--outfit-border);
  padding-top: 16px;
}

.product-buybox h1 {
  font-size: clamp(58px, 8vw, 140px);
}

.product-buybox__price {
  margin: 18px 0 0;
  color: var(--outfit-gold);
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 80px);
  font-weight: 900;
  letter-spacing: -.08em;
}

.product-buybox__description,
.bag-summary small,
.empty-bag p,
.policy-card p {
  color: var(--outfit-red);
  font-size: clamp(13px, 1vw, 18px);
  font-weight: 900;
  line-height: 1;
}

.option-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.option-group span {
  width: 100%;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}

.quantity-control strong {
  min-width: 2rem;
  text-align: center;
  font-weight: 900;
}

.add-to-bag {
  width: 100%;
  margin-top: 22px;
}

.product-grid--related .product-card {
  grid-column: span 3;
}

.bag-hero h1,
.empty-bag h2,
.shipping-hero h1 {
  font-size: clamp(72px, 17vw, 280px);
}

.checkout-hero h1 {
  max-width: none;
  color: var(--outfit-red);
  font-family: var(--font-display);
  font-weight: 900;
  line-height: .76;
  letter-spacing: -.095em;
  text-transform: uppercase;
  font-size: clamp(72px, 17vw, 280px);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: var(--container-x);
  align-items: start;
  margin-top: clamp(34px, 6vw, 90px);
}

.checkout-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--container-x);
  margin: clamp(24px, 4vw, 54px) 0 0;
  padding: 0;
  list-style: none;
}

.checkout-steps li {
  border-top: 1px solid var(--outfit-border);
  padding-top: 10px;
  color: var(--outfit-red);
  font-size: clamp(12px, 1vw, 16px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.checkout-steps span {
  display: block;
  margin-bottom: 6px;
  color: var(--outfit-gold);
  font-size: 11px;
}

.checkout-form,
.checkout-summary {
  border-top: 1px solid var(--outfit-border);
  padding-top: 18px;
}

.checkout-form {
  display: grid;
  gap: clamp(34px, 5vw, 74px);
}

.checkout-form fieldset {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0 0 clamp(18px, 3vw, 34px);
  border: 0;
  border-bottom: 1px solid var(--outfit-border);
}

.checkout-form legend {
  width: 100%;
  margin-bottom: clamp(18px, 3vw, 32px);
  padding: clamp(12px, 1.6vw, 22px);
  background: var(--outfit-red);
  color: var(--outfit-bg);
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 86px);
  font-weight: 900;
  line-height: .82;
  letter-spacing: -.08em;
  text-transform: uppercase;
}

.checkout-form label {
  display: grid;
  gap: 8px;
  color: var(--outfit-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.checkout-form fieldset > label,
.checkout-form__row {
  padding-inline: clamp(2px, .5vw, 8px);
}

.checkout-form input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--outfit-border);
  padding: 12px 0;
  background: transparent;
  color: var(--outfit-red);
  font-size: clamp(16px, 1.55vw, 26px);
  font-weight: 900;
  letter-spacing: -.06em;
  outline: 0;
}

.checkout-form input::placeholder {
  color: rgba(37, 33, 22, .34);
}

.checkout-form input:focus {
  border-color: var(--outfit-gold);
}

.checkout-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--container-x);
}

.checkout-submit {
  appearance: none;
  width: 100%;
  border: 1px solid var(--outfit-red);
  padding: 18px;
  background: var(--outfit-olive);
  color: var(--outfit-bg);
  font-size: clamp(14px, 1.1vw, 20px);
  font-weight: 900;
  letter-spacing: -.04em;
  text-transform: uppercase;
  transition: background .25s var(--ease-out), color .25s var(--ease-out), transform .25s var(--ease-out);
}

.checkout-submit:hover {
  background: transparent;
  color: var(--outfit-red);
  transform: translateY(-2px);
}

.checkout-submit:disabled {
  cursor: not-allowed;
  opacity: .42;
}

.checkout-note {
  margin: -36px 0 0;
  color: var(--outfit-muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.checkout-summary {
  position: sticky;
  top: 92px;
}

.checkout-summary .empty-bag h2 {
  font-size: clamp(38px, 5vw, 86px);
}

.checkout-summary-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--outfit-border);
}

.checkout-summary-item img {
  width: 72px;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--outfit-bg-soft);
}

.checkout-summary-item h3,
.checkout-summary-item p,
.checkout-totals p {
  margin: 0;
  color: var(--outfit-red);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.checkout-summary-item strong,
.checkout-totals strong {
  color: var(--outfit-gold);
}

.checkout-summary-item p {
  color: var(--outfit-muted);
}

.checkout-totals {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.checkout-totals p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.checkout-totals p:last-child {
  padding-top: 14px;
  border-top: 1px solid var(--outfit-border);
  font-size: clamp(16px, 1.35vw, 24px);
  letter-spacing: -.07em;
}

.checkout-totals p:last-child span {
  color: var(--outfit-olive);
}

.checkout-confirmation {
  border-top: 1px solid var(--outfit-border);
  padding-top: 18px;
}

.checkout-confirmation h2 {
  margin: 0;
  color: var(--outfit-red);
  font-family: var(--font-display);
  font-size: clamp(46px, 7vw, 110px);
  font-weight: 900;
  line-height: .78;
  letter-spacing: -.09em;
  text-transform: uppercase;
}

.checkout-confirmation p {
  max-width: 560px;
  color: var(--outfit-red);
  font-size: clamp(16px, 1.4vw, 28px);
  font-weight: 900;
  line-height: .95;
}

.bag-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: var(--container-x);
  margin-top: clamp(34px, 6vw, 90px);
}

.bag-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--outfit-border);
  color: var(--outfit-red);
  font-size: 12px;
  font-weight: 900;
}

.bag-item img {
  aspect-ratio: 1;
  background: var(--outfit-bg-soft);
}

.bag-item h3,
.bag-item p {
  margin: 0 0 6px;
  color: var(--outfit-red);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.bag-item__actions {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.bag-item__qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bag-item__qty button {
  width: 28px;
  height: 28px;
  padding: 0;
}

.bag-summary {
  position: sticky;
  top: 92px;
  height: max-content;
  border: 1px solid var(--outfit-red);
  padding: 18px;
}

.bag-summary strong {
  display: block;
  max-width: 100%;
  margin: 8px 0 22px;
  color: var(--outfit-gold);
  font-family: var(--font-display);
  font-size: clamp(32px, 3.2vw, 52px);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: .9;
  overflow-wrap: anywhere;
  white-space: normal;
}

.checkout-button {
  width: 100%;
  background: var(--outfit-red);
  color: var(--outfit-bg);
}

.checkout-button:hover {
  background: transparent;
  color: var(--outfit-red);
}

.empty-bag {
  max-width: 760px;
  border-top: 1px solid var(--outfit-border);
  padding-top: 18px;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--container-x);
  margin-top: clamp(34px, 6vw, 90px);
}

.policy-card {
  min-height: 320px;
  display: grid;
  align-content: space-between;
  border-top: 1px solid var(--outfit-border);
  padding-top: 14px;
}

.policy-card--dark {
  background: transparent;
  color: var(--outfit-red);
}

.policy-card h2 {
  margin: auto 0 16px;
  color: var(--outfit-red);
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 90px);
  font-weight: 900;
  line-height: .82;
  letter-spacing: -.08em;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  right: var(--container-x);
  bottom: var(--container-x);
  z-index: 300;
  border: 1px solid var(--outfit-red);
  padding: 12px 16px;
  background: var(--outfit-white);
  color: var(--outfit-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -.04em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s var(--ease-out);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--outfit-gold);
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fallback-page {
  min-height: 100svh;
  display: grid;
  place-content: center;
  gap: 1rem;
  padding: 2rem;
  background: var(--outfit-bg);
  color: var(--outfit-red);
  text-align: center;
}

@media (max-width: 900px) {
  .hero-title {
    font-size: clamp(78px, 24vw, 180px);
    white-space: normal;
    letter-spacing: -.105em;
  }

  .intro-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 28px;
  }

  .product-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .product-card,
  .product-card.is-small,
  .product-card.is-medium,
  .product-grid--related .product-card {
    grid-column: span 3;
  }

  .product-card.is-large,
  .product-card.is-wide {
    grid-column: span 6;
  }

  .product-card.is-offset {
    margin-top: 0;
  }

  .feature-split,
  .spotlight,
  .product-detail,
  .bag-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .spotlight__copy,
  .product-buybox,
  .bag-summary,
  .checkout-summary {
    position: static;
  }

  .policy-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: center;
  }

  .site-header__nav {
    gap: 16px;
  }

  .site-header__nav a:first-child {
    display: none;
  }

  .hero-section {
    padding-top: 72px;
  }

  .hero-title {
    font-size: clamp(64px, 25vw, 120px);
  }

  .intro-grid,
  .section-heading,
  .spotlight__grid,
  .product-gallery,
  .checkout-form__row,
  .checkout-steps,
  .policy-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }

  .product-grid {
    display: block;
  }

  .product-card,
  .product-card.is-large,
  .product-card.is-medium,
  .product-card.is-wide {
    display: block;
    width: 100%;
    margin: 0 0 44px;
  }

  .product-card:nth-child(even) {
    width: 78%;
    margin-left: auto;
  }

  .product-card.is-small {
    width: 72%;
  }

  .product-gallery img:first-child {
    grid-column: auto;
  }

  .spotlight-card,
  .spotlight-card--dark {
    min-height: 360px;
    margin-top: 0;
  }

  .bag-item {
    grid-template-columns: 80px 1fr;
  }

  .bag-item__actions {
    grid-column: 1 / -1;
    justify-items: start;
  }

  .bag-summary strong {
    font-size: clamp(28px, 10vw, 42px);
  }

  .checkout-hero h1 {
    font-size: clamp(64px, 20vw, 140px);
  }

  .checkout-form legend {
    font-size: clamp(34px, 12vw, 58px);
  }
}

@media (pointer: coarse) {
  .cursor-dot {
    display: none;
  }
}

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