:root {
  --ink: #1a1916;
  --paper: #f6f2e8;
  --paper-soft: #eee8dc;
  --greige: #d2c7b8;
  --greige-dark: #b9ad9c;
  --black: #151512;
  --charcoal: #2a2925;
  --white: #f8f3e8;
  --muted: #625b50;
  --border: rgba(26, 25, 22, 0.18);
  --border-strong: rgba(26, 25, 22, 0.42);
  --shadow: 0 20px 70px rgba(26, 25, 22, 0.14);
  --header-height: 62px;
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

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

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

button {
  font: inherit;
}

.scroll-meter {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--ink);
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-height);
  padding: 0 24px;
  background: rgba(246, 242, 232, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-group-right {
  justify-content: flex-end;
}

.nav-group a,
.nav-brand {
  position: relative;
  padding: 20px 0;
}

.nav-group a::after,
.nav-brand::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-group a:hover::after,
.nav-brand:hover::after {
  transform: scaleX(1);
}

.nav-brand {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

main {
  max-width: var(--max);
  margin: 0 auto;
}

.hero-section {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  border-bottom: 1px solid var(--border);
}

.hero-copy {
  display: grid;
  align-content: end;
  gap: 20px;
  min-height: 680px;
  padding: 56px 44px 64px;
  background: var(--greige);
}

.hero-label,
.section-kicker {
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.24em;
  line-height: 1.4;
  text-transform: uppercase;
  color: rgba(26, 25, 22, 0.62);
}

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

h1 {
  max-width: 650px;
  margin-bottom: 0;
  font-size: 64px;
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.hero-body {
  max-width: 480px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 10px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.text-link.secondary {
  color: rgba(26, 25, 22, 0.6);
}

.hero-media {
  position: relative;
  min-height: 680px;
  margin: 0;
  overflow: hidden;
  background: var(--black);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 680px;
  object-fit: cover;
  object-position: center;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 21, 18, 0.18), transparent 35%),
    linear-gradient(0deg, rgba(21, 21, 18, 0.52), transparent 42%);
  pointer-events: none;
}

.hero-media figcaption {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 24px;
  max-width: 390px;
  color: rgba(248, 243, 232, 0.78);
  font-size: 12px;
  line-height: 1.55;
}

.identity-section,
.shop-section,
.editorial-section,
.site-section {
  border-bottom: 1px solid var(--border);
}

.identity-section {
  padding: 76px 24px 30px;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 680px;
  margin: 0 0 32px;
}

.section-heading.wide {
  max-width: 800px;
  padding: 0 24px;
}

.section-heading h2,
.editorial-copy h2 {
  margin-bottom: 0;
  font-size: 44px;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.section-heading p:not(.section-kicker),
.editorial-copy p:not(.section-kicker) {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.mark-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--border);
}

.mark-tile {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 250px;
  padding: 0;
  color: var(--ink);
  background: var(--greige);
  border: 0;
  border-right: 1px solid var(--border);
  cursor: pointer;
  text-align: center;
}

.mark-tile:last-child {
  border-right: 0;
}

.mark-tile:hover,
.mark-tile.selected {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}

.mark-dark {
  color: var(--white);
  background: var(--black);
}

.mark {
  display: grid;
  place-items: center;
  min-height: 200px;
  padding: 24px;
  font-weight: 800;
  text-transform: uppercase;
}

.mark-word {
  font-size: 28px;
  letter-spacing: 0.18em;
}

.mark-l4 {
  font-size: 84px;
  line-height: 0.85;
  letter-spacing: 0.02em;
}

.mark-four {
  font-size: 98px;
  line-height: 0.8;
  letter-spacing: 0;
}

.mark-lockup {
  font-size: 20px;
  letter-spacing: 0.16em;
  line-height: 1.1;
}

.mark-lockup span {
  margin: 10px 0 8px;
  font-size: 34px;
  letter-spacing: 0.06em;
}

.mark-lockup small,
.mark-formal small {
  display: block;
  font-size: 8px;
  letter-spacing: 0.3em;
}

.mark-formal {
  font-size: 21px;
  letter-spacing: 0.16em;
  line-height: 1.2;
}

.mark-formal small {
  margin-top: 10px;
}

.mark-caption {
  display: block;
  min-height: 48px;
  padding: 14px;
  border-top: 1px solid currentColor;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
  opacity: 0.72;
}

.usage-note {
  min-height: 58px;
  margin: 18px 0 0;
  padding: 17px 18px;
  background: var(--paper-soft);
  border-left: 3px solid var(--ink);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.shop-section {
  padding: 76px 0 0;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 24px 28px;
}

.filter-button {
  min-height: 38px;
  padding: 0 14px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--border-strong);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover {
  color: var(--white);
  background: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}

.product-card {
  display: grid;
  grid-template-rows: 280px auto;
  min-height: 400px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--paper);
}

.product-card:nth-child(4n) {
  border-right: 0;
}

.product-card.is-hidden {
  display: none;
}

.product-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 280px;
  overflow: hidden;
}

.product-visual.greige {
  color: var(--ink);
  background: var(--greige);
}

.product-visual.black {
  color: var(--white);
  background: var(--black);
}

.product-visual.offwhite {
  color: var(--ink);
  background: var(--paper-soft);
}

.garment {
  position: absolute;
  border: 1px solid currentColor;
  opacity: 0.36;
}

.jacket {
  width: 150px;
  height: 170px;
  clip-path: polygon(28% 0, 72% 0, 95% 20%, 89% 100%, 11% 100%, 5% 20%);
}

.pants {
  width: 128px;
  height: 178px;
  clip-path: polygon(17% 0, 83% 0, 93% 100%, 57% 100%, 50% 34%, 43% 100%, 7% 100%);
}

.hoodie {
  width: 158px;
  height: 158px;
  clip-path: polygon(36% 0, 64% 0, 76% 18%, 96% 31%, 84% 49%, 78% 43%, 82% 100%, 18% 100%, 22% 43%, 16% 49%, 4% 31%, 24% 18%);
}

.tee {
  width: 148px;
  height: 148px;
  clip-path: polygon(26% 0, 74% 0, 98% 24%, 84% 38%, 84% 100%, 16% 100%, 16% 38%, 2% 24%);
}

.shorts {
  width: 136px;
  height: 92px;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 57% 100%, 50% 38%, 43% 100%, 12% 100%);
}

.brief {
  width: 142px;
  height: 90px;
  clip-path: polygon(0 0, 100% 0, 84% 100%, 16% 100%);
}

.cap {
  width: 142px;
  height: 66px;
  border-radius: 78px 78px 20px 20px;
}

.product-print {
  position: relative;
  z-index: 1;
  max-width: 78%;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.product-print-large {
  font-size: 30px;
  letter-spacing: 0.06em;
}

.product-lockup {
  font-size: 13px;
  letter-spacing: 0.16em;
}

.product-lockup span {
  display: block;
  margin: 8px 0 7px;
  font-size: 35px;
  letter-spacing: 0.05em;
}

.product-lockup small {
  display: block;
  font-size: 7px;
  letter-spacing: 0.28em;
}

.product-copy {
  min-height: 120px;
  padding: 18px;
  background: var(--paper);
}

.product-copy h3 {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.product-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.editorial-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  background: var(--black);
  color: var(--white);
}

.editorial-copy {
  display: grid;
  align-content: end;
  gap: 14px;
  padding: 70px 44px;
}

.editorial-copy .section-kicker {
  color: rgba(248, 243, 232, 0.58);
}

.editorial-copy p:not(.section-kicker) {
  color: rgba(248, 243, 232, 0.7);
}

.editorial-rules {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  border-left: 1px solid rgba(248, 243, 232, 0.18);
}

.editorial-rules div {
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 170px;
  padding: 32px;
  border-bottom: 1px solid rgba(248, 243, 232, 0.18);
}

.editorial-rules div:last-child {
  border-bottom: 0;
}

.editorial-rules span {
  color: rgba(248, 243, 232, 0.46);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.editorial-rules p {
  max-width: 460px;
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.site-section {
  padding: 76px 0 82px;
}

.sitemap {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 26px 24px 0;
  border: 1px solid var(--border);
}

.sitemap a {
  display: grid;
  place-items: center;
  min-height: 108px;
  padding: 16px;
  border-right: 1px solid var(--border);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.sitemap a:last-child {
  border-right: 0;
}

.sitemap a:hover {
  color: var(--white);
  background: var(--ink);
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--max);
  min-height: 86px;
  margin: 0 auto;
  color: var(--white);
  background: var(--black);
  border-top: 1px solid rgba(248, 243, 232, 0.18);
}

.site-footer span {
  display: grid;
  place-items: center;
  padding: 18px;
  border-right: 1px solid rgba(248, 243, 232, 0.18);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
}

.site-footer span:last-child {
  border-right: 0;
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 1180px) {
  h1 {
    font-size: 54px;
  }

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

  .mark-tile:nth-child(2n) {
    border-right: 0;
  }

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

  .product-card:nth-child(4n) {
    border-right: 1px solid var(--border);
  }

  .product-card:nth-child(2n) {
    border-right: 0;
  }

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

  .sitemap a:nth-child(3n) {
    border-right: 0;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: start;
    padding: 16px 18px;
  }

  .nav-brand {
    grid-column: 2;
    grid-row: 1;
    padding: 0;
  }

  .nav-brand::after {
    display: none;
  }

  .nav-group {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 12px 16px;
    font-size: 10px;
  }

  .nav-group-right {
    justify-content: flex-start;
  }

  .nav-group a {
    padding: 0 0 5px;
  }

  .nav-group a::after {
    bottom: 0;
  }

  .hero-section,
  .editorial-section {
    grid-template-columns: 1fr;
  }

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

  .hero-media,
  .hero-media img {
    min-height: 540px;
  }

  h1 {
    font-size: 42px;
    line-height: 0.98;
  }

  .section-heading h2,
  .editorial-copy h2 {
    font-size: 35px;
    line-height: 1.02;
  }

  .identity-section,
  .shop-section,
  .site-section {
    padding-top: 54px;
  }

  .section-heading.wide,
  .identity-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .filter-bar {
    padding-right: 18px;
    padding-left: 18px;
  }

  .editorial-copy {
    padding: 54px 22px;
  }

  .editorial-rules {
    border-top: 1px solid rgba(248, 243, 232, 0.18);
    border-left: 0;
  }
}

@media (max-width: 620px) {
  .mark-grid,
  .product-grid,
  .sitemap,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .mark-tile,
  .product-card,
  .sitemap a,
  .site-footer span {
    border-right: 0 !important;
  }

  .mark-tile {
    min-height: 220px;
  }

  .mark {
    min-height: 170px;
  }

  .product-card {
    grid-template-rows: 250px auto;
  }

  .product-visual {
    min-height: 250px;
  }

  .hero-media figcaption {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .site-footer span {
    border-bottom: 1px solid rgba(248, 243, 232, 0.18);
  }
}
