:root {
  --ink: #101010;
  --paper: #f2f1ed;
  --white: #ffffff;
  --muted: #74746f;
  --line: #d8d7d1;
  --green: #a8c77a;
  --pad: clamp(20px, 4vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.bag-open {
  overflow: hidden;
}

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

button {
  color: inherit;
  font: inherit;
}

.site-header {
  align-items: center;
  background: rgba(242, 241, 237, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 88px;
  padding: 16px var(--pad);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.wordmark span {
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.wordmark small {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-top: 6px;
}

nav {
  align-items: center;
  display: flex;
  gap: clamp(18px, 3vw, 44px);
}

nav a,
.bag-trigger {
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 8px 0;
  text-transform: uppercase;
}

.bag-trigger span {
  background: var(--ink);
  border-radius: 999px;
  color: var(--white);
  display: inline-grid;
  font-size: 0.66rem;
  height: 22px;
  margin-left: 6px;
  place-items: center;
  width: 22px;
}

.hero {
  display: grid;
  grid-template-columns: 0.83fr 1.17fr;
  min-height: calc(100vh - 88px);
}

.hero-copy {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 8vw, 118px) var(--pad);
}

.daily-meta {
  align-items: center;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.daily-date {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0 0 28px;
  text-align: right;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin: 0 0 28px;
  text-transform: uppercase;
}

.eyebrow span {
  background: var(--green);
  display: inline-block;
  margin-right: 12px;
  padding: 7px 9px 6px;
}

h1,
h2 {
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.84;
  margin: 0;
}

h1 {
  font-size: clamp(3.5rem, 7vw, 7.8rem);
  max-width: 10ch;
}

.hero-intro {
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  line-height: 1.5;
  margin: clamp(30px, 5vw, 64px) 0 32px;
  max-width: 31rem;
}

.text-link {
  border-bottom: 1px solid var(--ink);
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 800;
  justify-content: space-between;
  letter-spacing: 0.12em;
  padding: 0 0 10px;
  text-transform: uppercase;
  width: min(100%, 240px);
}

.hero-image {
  background: #171717;
  margin: 0;
  min-height: 680px;
  overflow: hidden;
  position: relative;
}

.hero-image img {
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  width: 100%;
}

.hero-image figcaption {
  bottom: 0;
  color: var(--white);
  display: flex;
  font-size: 0.65rem;
  font-weight: 700;
  justify-content: space-between;
  left: 0;
  letter-spacing: 0.14em;
  padding: 24px;
  position: absolute;
  right: 0;
}

.shop-section {
  background: var(--white);
  padding: clamp(76px, 10vw, 148px) var(--pad);
}

.purpose {
  background: var(--ink);
  color: var(--white);
  padding: clamp(88px, 12vw, 170px) var(--pad);
}

.purpose > div {
  align-items: end;
  display: grid;
  gap: clamp(52px, 9vw, 150px);
  grid-template-columns: 1.45fr 0.55fr;
}

.purpose h2 {
  font-size: clamp(3.2rem, 7vw, 7.8rem);
}

.purpose-copy {
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.55;
}

.purpose-copy p {
  margin: 0;
}

.purpose-copy .care-note {
  border-top: 1px solid #444;
  color: #aaa;
  font-size: 0.75rem;
  margin-top: 34px;
  padding-top: 22px;
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 40px;
  grid-template-columns: 1.35fr 0.65fr;
}

.section-heading h2 {
  font-size: clamp(3.2rem, 7.2vw, 7.7rem);
  max-width: 860px;
}

.section-heading > p {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.5;
  margin: 0 0 8px;
  max-width: 330px;
}

.category-line {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: flex;
  gap: 44px;
  margin: clamp(52px, 7vw, 96px) 0 30px;
  padding: 20px 0;
}

.category-line span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.product-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--line);
}

.product-card {
  background: var(--white);
  min-width: 0;
}

.product-image-wrap {
  aspect-ratio: 4 / 5;
  background: #d7d6d0;
  overflow: hidden;
  position: relative;
}

.product-image {
  filter: saturate(0.55) contrast(1.04);
  height: 100%;
  object-fit: cover;
  transform: scale(var(--image-scale, 1.02));
  transform-origin: var(--image-origin, 50% 50%);
  transition: transform 600ms ease;
  width: 100%;
}

.product-card:hover .product-image {
  transform: scale(calc(var(--image-scale, 1.02) + 0.025));
}

.product-number,
.product-category,
.run-tag {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  position: absolute;
  top: 22px;
}

.product-number {
  background: var(--white);
  left: 22px;
  padding: 8px 10px;
}

.product-category {
  bottom: 22px;
  left: 22px;
  top: auto;
}

.run-tag {
  background: var(--green);
  padding: 8px 10px;
  right: 22px;
}

.garment-badge {
  background: rgba(15, 15, 15, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  bottom: 22px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  padding: 11px 14px 10px;
  position: absolute;
  right: 22px;
}

.garment-badge strong {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.garment-badge small {
  font-size: 0.36rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.product-info {
  padding: 26px 24px 34px;
}

.product-title-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.product-title-row h3,
.product-title-row strong {
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin: 0;
}

.product-title-row p,
.product-description {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.45;
  margin: 8px 0 0;
}

.product-description {
  max-width: 460px;
  min-height: 40px;
}

fieldset {
  border: 0;
  margin: 24px 0 14px;
  padding: 0;
}

legend {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

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

.sizes button {
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 0.68rem;
  min-height: 46px;
  margin-right: -1px;
}

.sizes button:hover,
.sizes button.selected {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.add-button {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--ink);
  cursor: pointer;
  display: flex;
  font-size: 0.72rem;
  font-weight: 800;
  justify-content: space-between;
  letter-spacing: 0.14em;
  min-height: 60px;
  padding: 0 18px;
  width: 100%;
}

.add-button:hover {
  background: var(--ink);
  color: var(--white);
}

.product-message {
  font-size: 0.75rem;
  margin: 10px 0 0;
  min-height: 18px;
}

.standard {
  background: var(--green);
  padding: clamp(88px, 12vw, 180px) var(--pad);
}

.standard-line {
  font-size: clamp(3.4rem, 8.4vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.9;
  margin: 0;
}

.standard-copy {
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  line-height: 1.5;
  margin: 44px 0 0 auto;
  max-width: 380px;
}

footer {
  align-items: end;
  background: var(--ink);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  min-height: 280px;
  padding: var(--pad);
}

footer p {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0;
}

.bag-backdrop {
  background: rgba(0, 0, 0, 0.52);
  inset: 0;
  position: fixed;
  z-index: 50;
}

.bag {
  background: var(--paper);
  bottom: 0;
  max-width: 520px;
  padding: 28px;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(0);
  width: 100%;
  z-index: 60;
}

.bag[aria-hidden="true"] {
  display: none;
}

.bag-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
}

.bag-header h2 {
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.bag-header button {
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 2rem;
}

.bag-items {
  max-height: calc(100vh - 310px);
  overflow: auto;
}

.bag-item {
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.bag-item > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bag-item > div:last-child {
  align-items: flex-end;
}

.bag-item span,
.bag-item button {
  color: var(--muted);
  font-size: 0.75rem;
}

.bag-item button {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.bag-empty {
  padding: 72px 0;
}

.bag-empty p {
  font-size: 1.4rem;
}

.bag-empty a {
  border-bottom: 1px solid var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding-bottom: 6px;
  text-transform: uppercase;
}

.bag-summary {
  border-top: 1px solid var(--line);
  bottom: 0;
  left: 28px;
  padding: 22px 0 28px;
  position: absolute;
  right: 28px;
}

.bag-summary > div {
  display: flex;
  font-size: 1rem;
  justify-content: space-between;
  margin-bottom: 20px;
}

.bag-summary button {
  background: var(--ink);
  border: 0;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  min-height: 58px;
  opacity: 0.75;
  width: 100%;
}

.bag-summary p {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.4;
  margin-bottom: 0;
}

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

  .hero-copy {
    min-height: 580px;
  }

  .hero-image {
    min-height: 86vh;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .purpose > div {
    align-items: start;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 74px;
  }

  nav a {
    display: none;
  }

  .wordmark span {
    font-size: 0.96rem;
  }

  .wordmark small {
    font-size: 0.43rem;
  }

  .hero-copy {
    min-height: 520px;
  }

  h1 {
    font-size: clamp(3.15rem, 15vw, 5rem);
    max-width: 100%;
  }

  .hero-image {
    min-height: 72vh;
  }

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

  .daily-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .daily-date {
    margin-top: -12px;
    text-align: left;
  }

  .section-heading h2 {
    font-size: clamp(3.1rem, 17vw, 5.5rem);
  }

  .category-line {
    gap: 28px;
  }

  .product-info {
    padding-inline: 0;
  }

  .garment-badge {
    right: 14px;
  }

  .product-number,
  .product-category {
    left: 14px;
  }

  .run-tag {
    right: 14px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-between;
  }
}

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

  .product-image {
    transition: none;
  }
}
