@font-face {
  font-family: Bricolage Grotesque;
  src: url("./bricolage-grotesque.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: Instrument Sans;
  src: url("./instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f7f9;
  --white: #fff;
  --ink: #151822;
  --muted: #5a6272;
  --line: #d8dde6;
  --blue: #2545cd;
  --blue-hover: #1933a6;
  --blue-soft: #e9edff;
  --display: "Bricolage Grotesque", sans-serif;
  --body: "Instrument Sans", sans-serif;
  --motion: cubic-bezier(.2, .75, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--body); }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.wrap { width: min(100% - 96px, 1200px); margin-inline: auto; }
.muted { color: var(--muted); }

.skip { position: fixed; z-index: 2; top: 12px; left: 12px; padding: 8px 16px; background: var(--white); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.top { background: var(--white); border-bottom: 1px solid var(--line); }
.top-inner { min-height: 69px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; font: 720 18px/1.2 var(--display); letter-spacing: -.035em; }
.brand img { display: block; border-radius: 7px; }
.top nav { display: flex; align-items: center; gap: 25px; }
.top nav a { font-size: 14px; font-weight: 550; color: var(--muted); }
.top nav a:hover, .top nav [aria-current] { color: var(--blue); }
.quiet, .button, .price-button {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-size: 14px;
  font-weight: 650;
  transition: background-color 170ms ease, border-color 170ms ease, color 170ms ease;
}
.quiet:hover, .price-button:hover { color: var(--blue); border-color: var(--blue); background: var(--blue-soft); }
.account-button { max-width: 220px; }
#account-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arrow { display: inline-block; transition: transform 180ms var(--motion); }
button:hover .arrow { transform: translate(2px, -2px); }
.button { color: var(--white); border-color: var(--blue); background: var(--blue); }
.button:hover { border-color: var(--blue-hover); background: var(--blue-hover); }

.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 88px); align-items: center; padding-block: 51px 39px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.hero-copy .eyebrow { color: var(--blue); }
.hero h1 {
  margin-block: 10px 16px;
  font-size: clamp(49px, 6.9vw, 99px);
  line-height: .94;
  letter-spacing: -.047em;
  font-weight: 700;
}
.hero h1 span { color: var(--blue); }
.hero-description { color: var(--muted); max-width: 345px; font-size: 16px; text-wrap: pretty; }
.hero-copy > * { animation: enter .5s var(--motion) both; }
.hero-copy h1 { animation-delay: 65ms; }
.hero-description { animation-delay: 130ms; }

.featured {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #0b131f;
  border: 1px solid #192636;
  border-radius: 12px;
  animation: enter .55s var(--motion) 100ms both;
}
.featured-slide {
  position: relative;
  min-height: 253px;
  display: grid;
  align-items: center;
  padding: 26px 30px 56px;
  isolation: isolate;
  animation: featured-in .42s var(--motion) both;
}
.featured-copy { position: relative; width: 64%; }
.featured .eyebrow { color: #b4c6fa; }
.featured h2 { margin-top: 11px; font-size: clamp(27px, 3vw, 41px); line-height: .99; letter-spacing: -.055em; text-wrap: balance; }
.featured-detail { margin-top: 8px; color: #d2dbea; font-size: 14px; }
.featured .button { margin-top: 19px; background: #fff; color: #111b2a; border-color: #fff; white-space: nowrap; }
.featured .button:hover { background: #dce5ff; border-color: #dce5ff; }
.featured :focus-visible { outline-color: #b4c6fa; }
.featured-art {
  position: absolute;
  z-index: -1;
  width: 68%;
  height: auto;
  max-width: 368px;
  right: -3%;
  top: 47%;
  translate: 0 -50%;
  mask-image: radial-gradient(ellipse 67% 62%, #000 44%, transparent 76%);
}
.featured-slide.badge .featured-art { width: 57%; right: 0; }
.outfit-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.outfit { position: relative; overflow: hidden; margin: 0; border-radius: 5px; background: #172233; }
.outfit img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.outfit figcaption { position: absolute; inset: auto 0 0; padding: 4px 1px; text-align: center; color: #fff; background: #0b131fdc; font-size: 11px; }
.featured .outfit-pair { position: absolute; inset: 15px 15px 15px auto; width: 50%; }
.featured-slide:is(.sakura, .hip-hop) .featured-copy { width: 47%; }
.featured-slide:is(.sakura, .hip-hop) h2 { font-size: clamp(26px, 2.6vw, 38px); text-wrap: wrap; }
.featured-controls {
  position: absolute;
  inset: auto auto 8px 21px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.featured-pages { display: flex; align-items: center; }
.featured-control {
  display: grid;
  place-items: center;
  width: 28px;
  height: 30px;
  border: 0;
  padding: 0;
  color: #fff;
  background: transparent;
  border-radius: 4px;
}
.featured-control:hover { background: #ffffff24; }
.featured-toggle { font-size: 13px; font-weight: 700; }
.featured-page::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 6px;
  background: #b5c0d4;
  transition: width 180ms var(--motion), background-color 180ms ease;
}
.featured-page[aria-current]::after { width: 16px; background: #fff; }
@keyframes featured-in { from { opacity: .35; transform: translateX(12px); } to { opacity: 1; transform: none; } }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.test-notice { display: flex; align-items: baseline; gap: 10px; padding: 13px 15px; border: 1px solid #d9e0f7; border-radius: 6px; background: #edf1fc; color: #37466f; font-size: 13px; }
.test-notice p { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 12px; }
.test-notice strong { font-weight: 700; color: #243d8a; }
.test-indicator { flex: 0 0 6px; height: 6px; align-self: baseline; border-radius: 50%; background: #4965d4; transform: translateY(-2px); }

.catalogue { padding-top: 38px; scroll-margin-top: 16px; }
.catalogue-heading, .category-info { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.catalogue-heading h2, .delivery h2, .policies h1 { font-size: clamp(35px, 4vw, 50px); line-height: 1; letter-spacing: -.045em; }
.catalogue-heading > span, .category-info p { color: var(--muted); font-size: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 5px 22px; margin-block: 12px 18px; border-bottom: 1px solid var(--line); }
.filters button, .filters a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 10px 1px 13px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  transition: color 180ms ease;
}
.filters button::after, .filters a::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--motion);
}
.filters button:hover, .filters button[aria-pressed="true"], .filters a:hover { color: var(--blue); }
.filters button[aria-pressed="true"]::after, .filters a:hover::after { transform: scaleX(1); }
.category-info { justify-content: flex-start; margin-bottom: 13px; }
.category-info h3 { font-size: 24px; line-height: 1.15; letter-spacing: -.04em; }
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 12px; }
.card {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 86px;
  padding: 10px 13px 10px 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  animation: enter 330ms var(--motion) both;
  transition: border-color 180ms ease;
}
.card:nth-child(2) { animation-delay: 25ms; }
.card:nth-child(3) { animation-delay: 50ms; }
.card:nth-child(4) { animation-delay: 75ms; }
.card:nth-child(5) { animation-delay: 100ms; }
.card:nth-child(6) { animation-delay: 125ms; }
.card:nth-child(n + 7) { animation-delay: 150ms; }
.card:hover, .card:focus-within { border-color: #9dacdf; }
.card-art, .order-summary img { aspect-ratio: 1; overflow: hidden; border-radius: 5px; background: #0b131f; }
.card-art img, .order-summary img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card.elite { grid-template-columns: 135px minmax(0, 1fr) auto; }
.card.elite .card-art { aspect-ratio: 1.25; background: transparent; border-radius: 0; }
.card.elite .outfit-pair { height: 100%; }
.card-body h4 { font-size: 20px; line-height: 1.08; letter-spacing: -.035em; }
.card-meta { color: var(--muted); font-size: 13px; margin-top: 4px; }
.price-button { gap: 9px; min-width: 70px; font-variant-numeric: tabular-nums; }
.price-button .arrow { color: var(--blue); }

.delivery { margin-top: 46px; padding-block: 27px 36px; border-top: 1px solid var(--line); }
.delivery h2 { font-size: 30px; }
.delivery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; margin-block: 16px; }
.delivery-grid h3 { margin-bottom: 3px; font-size: 17px; }
.delivery p { color: var(--muted); font-size: 14px; max-width: 490px; }
.delivery > p { font-size: 13px; }
.footer { background: var(--white); border-top: 1px solid var(--line); }
.footer-inner { padding-block: 23px; display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; }
.footer strong { font-family: var(--display); }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer a, .footer p { color: var(--muted); font-size: 13px; }
.footer a:hover, .policies section a:hover { color: var(--blue); text-decoration: underline; }

dialog { width: min(calc(100% - 32px), 455px); max-height: calc(100% - 32px); padding: 24px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--white); box-shadow: 0 24px 70px #121c3533; }
dialog[open] { animation: enter .28s var(--motion) both; }
dialog::backdrop { background: #0a122c80; animation: backdrop-in .25s ease both; }
@keyframes backdrop-in { from { opacity: 0; } }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.panel-head h2 { font-size: 29px; letter-spacing: -.04em; }
.close { display: grid; place-items: center; width: 43px; height: 43px; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; font-size: 25px; }
.close:hover { color: var(--blue); background: var(--blue-soft); }
.order-summary { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 10px; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); }
.order-summary small { display: block; color: var(--muted); font-size: 13px; }
#signin { display: grid; gap: 12px; margin-top: 13px; }
#signin label { display: grid; gap: 4px; font-size: 14px; font-weight: 650; }
#signin input { width: 100%; min-height: 43px; padding: 8px 10px; border: 1px solid #aab3c5; border-radius: 5px; background: var(--white); font-size: 16px; }
.full { width: 100%; }
dialog .quiet.full, dialog #pay { margin-top: 10px; }
.sandbox-note { color: var(--muted); font-size: 14px; margin-top: 8px; }
.notice:not(:empty) { margin-top: 12px; padding: 9px 12px; color: #243d8a; background: var(--blue-soft); border-radius: 5px; font-size: 14px; }
.policies { max-width: 820px; padding-block: 46px; }
.policies h1 { margin-bottom: 13px; }
.policies section { padding-block: 18px; border-bottom: 1px solid var(--line); scroll-margin-top: 12px; }
.policies section h2 { margin-bottom: 6px; letter-spacing: -.03em; }
.policies section a { color: var(--blue); }

@media (max-width: 950px) {
  .wrap { width: calc(100% - 56px); }
  .featured-slide { padding-inline: 22px; }
  .featured-controls { left: 13px; }
}

@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .top-inner { gap: 15px; min-height: 61px; }
  .top nav { gap: 12px; }
  .top nav [aria-current] { display: none; }
  .hero { grid-template-columns: 1fr; gap: 18px; padding-block: 25px 18px; }
  .hero h1 { font-size: clamp(55px, 13vw, 80px); }
  .featured-slide { min-height: 209px; padding: 18px 18px 48px; }
  .featured-controls { left: 10px; }
  .featured-copy { width: 62%; }
  .featured h2 { font-size: 25px; text-wrap: wrap; }
  .featured .button { margin-top: 13px; }
  .featured-art { right: -3%; width: 60%; }
  .featured .outfit-pair { inset: 12px 10px 40px auto; width: 47%; }
  .catalogue { padding-top: 29px; }
  .products { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
  .top-inner { gap: 8px; flex-wrap: wrap; padding-block: 8px; }
  .top nav { order: 2; width: 100%; }
  .top nav a { padding-block: 4px; }
  .account-button { max-width: 123px; }
  .hero h1 { font-size: clamp(44px, 13.75vw, 56px); }
  .category-info { flex-direction: column; align-items: flex-start; }
  .filters { column-gap: 13px; }
  .filters button { font-size: 13px; }
  .card { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 8px; padding: 8px; min-height: 72px; }
  .card.elite { grid-template-columns: 97px minmax(0, 1fr) auto; }
  .card-body h4 { font-size: 17px; }
  .price-button { min-width: 0; padding-inline: 9px; gap: 6px; }
  .delivery-grid { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .featured-copy { width: 72%; }
  .featured h2 { font-size: 22px; }
  .featured-slide:is(.sakura, .hip-hop) h2 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
