:root {
  --serif: var(--font-display), Georgia, serif;
  --sans: var(--font-sans), Arial, sans-serif;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 72px;
  --space-8: 104px;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font-family: var(--sans);
}

h1,
h2,
.product h3,
.drawer-head h2,
.toast-copy strong {
  font-family: var(--serif);
  font-variation-settings: "SOFT" 50, "WONK" 1;
}

.eyebrow {
  margin-bottom: 18px;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.15em;
}

.main-nav a.active {
  color: var(--red-dark);
}

.main-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.story {
  min-height: 660px;
}

.story-copy {
  max-width: 700px;
  padding: clamp(72px, 8vw, 112px) clamp(44px, 8vw, 124px);
}

.story h2 {
  max-width: 9.5ch;
  font-size: clamp(52px, 5.5vw, 82px);
  font-weight: 580;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.story-copy > p:not(.eyebrow) {
  max-width: 43ch;
  margin: 24px 0 0;
  color: #5f564f;
  font-size: 15px;
  line-height: 1.72;
}

.story-copy > p:not(.eyebrow) + p {
  margin-top: 14px;
}

.ticker {
  height: 54px;
  padding-inline: 5vw;
  font-size: 10px;
  letter-spacing: 0.14em;
}

.shop-section {
  max-width: 1700px;
  margin-inline: auto;
  padding: clamp(84px, 8vw, 120px) clamp(28px, 7vw, 112px) clamp(96px, 9vw, 140px);
}

.section-heading {
  gap: clamp(44px, 7vw, 112px);
  margin-bottom: clamp(44px, 5vw, 68px);
}

.section-heading h2,
.impact h2 {
  font-size: clamp(52px, 5.4vw, 82px);
  font-weight: 580;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.section-intro {
  max-width: 37ch;
  margin: 0 3vw 5px 0;
  color: #655c54;
  font-size: 15px;
  line-height: 1.68;
}

.order-note {
  gap: 12px;
  margin-bottom: 32px;
  padding: 17px 0;
  font-size: 12px;
  line-height: 1.55;
}

.shop-toolbar {
  margin-bottom: 34px;
  padding-bottom: 20px;
}

.filters {
  gap: 28px;
}

.filter {
  font-size: 13px;
  font-weight: 600;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 64px 24px;
}

.product {
  content-visibility: auto;
  contain-intrinsic-size: 560px;
}

.product-visual {
  margin-bottom: 14px;
  border-radius: 10px;
}

.image-thumbs {
  gap: 7px;
  margin: 11px 0 17px;
}

.image-thumb {
  width: 46px;
  height: 46px;
  border-radius: 5px;
  overflow: hidden;
}

.product-meta {
  min-height: 0;
  gap: 18px;
}

.product h3 {
  margin-bottom: 7px;
  font-size: clamp(22px, 1.7vw, 27px);
  font-weight: 620;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.product p {
  font-size: 12px;
  line-height: 1.45;
}

.product-meta small.product-card-description {
  min-height: 59px;
  max-width: 40ch;
  margin-top: 10px;
  color: #655c54;
  font-size: 12px;
  line-height: 1.55;
}

.price {
  font-size: 16px;
}

.product-specs {
  gap: 13px;
  margin-top: 13px;
}

.product-specs span {
  padding-left: 9px;
  font-size: 10px;
  line-height: 1.45;
}

.product-specs strong {
  margin-bottom: 2px;
  font-size: 9px;
  letter-spacing: 0.07em;
}

.product-actions {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid rgba(120, 94, 74, 0.16);
}

.add-button,
.details-link {
  font-size: 11px;
  font-weight: 700;
}

.load-more {
  margin-top: 72px;
  text-align: center;
}

.home-shop-section {
  padding-block: clamp(76px, 7vw, 104px);
}

.home-shop-section .section-heading {
  margin-bottom: clamp(38px, 4vw, 54px);
}

.home-shop-section .image-thumbs,
.home-shop-section .product-meta small.product-card-description,
.home-shop-section .product-specs,
.home-shop-section .gallery-label {
  display: none !important;
}

.home-shop-section .product-visual {
  margin-bottom: 18px;
}

.home-shop-section .product-actions {
  justify-content: flex-start;
  gap: 22px;
}

.home-shop-link {
  margin-top: 58px;
  text-align: center;
}

.impact-copy {
  padding: clamp(80px, 8vw, 116px) clamp(48px, 8vw, 128px);
}

.impact-copy > p:not(.eyebrow) {
  max-width: 42ch;
  margin-top: 28px;
  font-size: 15px;
  line-height: 1.72;
}

main > .impact:first-child:last-child {
  min-height: calc(100svh - 78px);
}

.giveback-hero {
  min-height: min(720px, calc(100svh - 78px));
}

.giveback-process,
.giveback-note {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(460px, 1.15fr);
  gap: clamp(64px, 9vw, 150px);
  padding: clamp(90px, 9vw, 136px) clamp(32px, 8vw, 130px);
}

.giveback-process {
  background: var(--cream);
}

.giveback-process-heading {
  align-self: start;
  position: sticky;
  top: 126px;
}

.giveback-process h2,
.giveback-note h2 {
  max-width: 10ch;
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 580;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.giveback-process h2 em,
.giveback-note h2 em {
  color: var(--red);
  font-style: italic;
}

.giveback-process-heading > p:last-child {
  max-width: 41ch;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.giveback-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.giveback-steps li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 24px;
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--line);
}

.giveback-steps li > span {
  padding-top: 5px;
  color: var(--red);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.giveback-steps h3 {
  margin: 0 0 9px;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.giveback-steps p {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.giveback-note {
  align-items: start;
  color: #fff0dc;
  background: #2c2521;
}

.giveback-note .eyebrow {
  color: #ef8a76;
}

.giveback-note h2 em {
  color: #ef8a76;
}

.giveback-note-copy {
  max-width: 560px;
}

.giveback-note-copy p {
  margin: 0 0 18px;
  color: #d9cfc4;
  font-size: 15px;
  line-height: 1.75;
}

.giveback-note-copy .button {
  margin-top: 18px;
  color: var(--ink);
  background: #fff0dc;
}

.drawer-head h2 {
  font-weight: 600;
  letter-spacing: -0.045em;
}

.cart-line h3 {
  font-size: 20px;
  line-height: 1.1;
}

.cart-line p,
.empty-cart {
  line-height: 1.55;
}

.checkout-form {
  padding: 24px;
}

.checkout-form input,
.checkout-form textarea {
  min-height: 44px;
  border-radius: 7px;
  font-size: 13px;
}

.customizer label,
.size-options legend {
  font-size: 12px;
  letter-spacing: 0.005em;
}

.product-detail-copy h1 {
  font-weight: 580;
  letter-spacing: -0.055em;
}

.product-detail-description {
  font-size: 15px;
  line-height: 1.75;
}

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

@media (max-width: 900px) {
  .story-copy {
    padding: 72px 36px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px 18px;
  }

  .giveback-process,
  .giveback-note {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .giveback-process-heading {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    display: grid;
    height: auto;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 12px 18px 0;
  }

  .site-header .brand,
  .site-header .cart-button {
    margin-bottom: 12px;
  }

  .site-header .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .site-header .cart-button {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .main-nav {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    height: 43px;
    gap: 0;
    border-top: 1px solid rgba(112, 88, 69, 0.14);
  }

  .main-nav a {
    justify-content: center;
    font-size: 12px;
  }

  .main-nav a::after {
    right: 18px;
    bottom: 0;
    left: 18px;
  }

  .story {
    min-height: 0;
  }

  .story-image {
    min-height: 420px;
  }

  .story-copy {
    padding: 64px 24px 72px;
  }

  .story h2,
  .section-heading h2,
  .impact h2 {
    font-size: clamp(46px, 14vw, 64px);
    line-height: 0.95;
  }

  .story-copy > p:not(.eyebrow),
  .section-intro,
  .impact-copy > p:not(.eyebrow) {
    font-size: 14px;
  }

  .shop-section {
    padding: 72px 20px 96px;
  }

  .home-shop-section {
    padding-block: 64px 80px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-intro {
    margin-top: 24px;
  }

  .order-note {
    margin-bottom: 28px;
  }

  .filters {
    gap: 18px 22px;
  }

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

  .home-shop-section .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 14px;
  }

  .home-shop-section .product h3 {
    font-size: 21px;
  }

  .home-shop-section .product p {
    font-size: 11px;
  }

  .home-shop-section .product-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .home-shop-link {
    margin-top: 48px;
  }

  .product h3 {
    font-size: 25px;
  }

  .product-meta small.product-card-description {
    min-height: 0;
  }

  .impact-copy {
    padding: 72px 24px 80px;
  }

  main > .impact:first-child:last-child {
    min-height: auto;
  }

  .giveback-hero {
    min-height: 0;
  }

  .giveback-process,
  .giveback-note {
    gap: 42px;
    padding: 72px 24px 80px;
  }

  .giveback-process h2,
  .giveback-note h2 {
    font-size: clamp(44px, 13vw, 60px);
  }

  .giveback-steps li {
    grid-template-columns: 38px 1fr;
    gap: 14px;
    padding: 27px 0 30px;
  }

  .giveback-steps h3 {
    font-size: 25px;
  }
}

@media (max-width: 390px) {
  .home-shop-section .product-grid {
    grid-template-columns: 1fr;
  }
}
