@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&family=IBM+Plex+Mono:wght@400;500;600&family=Noto+Sans+KR:wght@400;500;600;700&display=swap");

:root {
  --paper: #f3f0e8;
  --paper-deep: #e7e2d7;
  --ink: #11110f;
  --muted: #737067;
  --line: rgba(17, 17, 15, 0.22);
  --line-strong: #11110f;
  --accent: #ff3b22;
  --cobalt: #1648d8;
  --white: #fffdf8;
  --display: "Archivo Black", "Arial Black", sans-serif;
  --body: "Noto Sans KR", Arial, sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --page: clamp(16px, 3.2vw, 52px);
  --ease: cubic-bezier(0.2, 0.75, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background:
    linear-gradient(rgba(17, 17, 15, 0.022) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 32px;
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

button,
select {
  color: inherit;
  font: inherit;
}

button {
  padding: 0;
  border: 0;
  cursor: pointer;
  background: none;
}

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

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

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  transform: translateY(-150%);
  color: var(--white);
  background: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
}

.shop-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  min-height: 76px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 var(--page);
  border-bottom: 1px solid var(--line-strong);
  background: rgba(243, 240, 232, 0.96);
  backdrop-filter: blur(14px);
}

.shop-logo {
  justify-self: start;
  font-family: var(--display);
  font-size: clamp(26px, 2.6vw, 40px);
  letter-spacing: -0.07em;
}

.shop-logo sup {
  margin-left: 3px;
  font-family: var(--mono);
  font-size: 7px;
  vertical-align: top;
}

.category-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
}

.category-nav a {
  position: relative;
  display: flex;
  min-height: 54px;
  align-items: center;
  padding: 0 clamp(13px, 1.8vw, 28px);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.category-nav a::after {
  position: absolute;
  right: 13px;
  bottom: 17px;
  left: 13px;
  height: 3px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
  transition: transform 180ms var(--ease);
}

.category-nav a:hover::after,
.category-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-tools {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 18px;
}

.bag-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
}

.bag-count {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--accent);
  font-size: 9px;
}

.home-hero {
  position: relative;
  min-height: min(820px, calc(100svh - 76px));
  overflow: hidden;
  border-bottom: 1px solid var(--line-strong);
  background: var(--paper-deep);
}

.home-hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(243, 240, 232, 0.96) 0%, rgba(243, 240, 232, 0.76) 31%, rgba(243, 240, 232, 0.08) 64%),
    linear-gradient(0deg, rgba(17, 17, 15, 0.1), transparent 34%);
  content: "";
}

.home-hero > img {
  width: 100%;
  height: 100%;
  min-height: min(820px, calc(100svh - 76px));
  object-fit: cover;
  object-position: center center;
}

.home-hero-copy {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: var(--page);
  width: min(720px, 58vw);
  transform: translateY(-48%);
}

.home-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.home-hero h1 {
  margin: 28px 0 26px;
  font-family: var(--display);
  font-size: clamp(70px, 9.6vw, 156px);
  letter-spacing: -0.085em;
  line-height: 0.78;
}

.home-hero h1 em {
  display: inline-block;
  color: var(--paper);
  font-style: normal;
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 9px 9px 0 var(--accent);
}

.home-hero-copy > p:not(.home-eyebrow) {
  max-width: 34ch;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 600;
  line-height: 1.7;
  word-break: keep-all;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.home-button {
  display: inline-flex;
  min-width: 170px;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: rgba(243, 240, 232, 0.88);
  font-size: 13px;
  font-weight: 700;
  transition:
    color 180ms var(--ease),
    background 180ms var(--ease),
    transform 180ms var(--ease);
}

.home-button:hover {
  transform: translateY(-2px);
}

.home-button-dark {
  color: var(--white);
  background: var(--ink);
}

.home-button-dark:hover {
  color: var(--ink);
  background: var(--accent);
}

.home-new-head {
  padding: clamp(54px, 7vw, 96px) var(--page) 28px;
  border-bottom: 1px solid var(--line-strong);
}

.home-new-head h2 {
  font-family: var(--display);
  font-size: clamp(54px, 8vw, 112px);
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.board-hero {
  padding: clamp(46px, 7vw, 92px) var(--page) 28px;
  border-bottom: 1px solid var(--line-strong);
}

.board-hero h1 {
  font-family: var(--display);
  font-size: clamp(42px, 6vw, 86px);
  letter-spacing: -0.065em;
  line-height: 0.95;
  word-break: keep-all;
}

.catalog-shell {
  padding: clamp(34px, 5vw, 72px) var(--page) clamp(70px, 8vw, 120px);
}

.sub-category-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

.sub-category-nav::-webkit-scrollbar {
  display: none;
}

.sub-category-nav button {
  min-height: 44px;
  flex: 0 0 auto;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    color 160ms var(--ease),
    background 160ms var(--ease);
}

.sub-category-nav button:hover,
.sub-category-nav button[aria-pressed="true"] {
  color: var(--white);
  background: var(--ink);
}

.board-toolbar {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line-strong);
}

.board-total {
  font-family: var(--mono);
  font-size: 10px;
}

.board-total strong {
  margin: 0 4px;
  color: var(--accent);
  font-size: 22px;
}

.sort-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 9px;
}

.sort-wrap select {
  min-height: 42px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
}

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

.product-card {
  position: relative;
  min-width: 0;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.product-open {
  display: block;
  width: 100%;
  color: inherit;
  text-align: left;
}

.product-visual {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--line-strong);
  background: var(--paper-deep);
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms var(--ease), filter 300ms ease;
}

.product-visual img.sheet-image,
.quick-media img.sheet-image,
.detail-gallery img.sheet-image {
  position: absolute;
  top: 0;
  width: 400%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center !important;
}

.product-visual img.sheet-0,
.quick-media img.sheet-0,
.detail-gallery img.sheet-0 {
  left: 0;
}

.product-visual img.sheet-1,
.quick-media img.sheet-1,
.detail-gallery img.sheet-1 {
  left: -150%;
}

.product-visual img.sheet-2,
.quick-media img.sheet-2,
.detail-gallery img.sheet-2 {
  left: -300%;
}

.product-open:hover .product-visual img {
  transform: scale(1.025);
  filter: saturate(1.05);
}

.product-copy {
  min-height: 112px;
  padding: 16px 15px 18px;
}

.product-title-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
}

.product-title-row h2 {
  font-size: 15px;
  letter-spacing: -0.025em;
  line-height: 1.4;
}

.product-price {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.product-swatches {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 13px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.swatch {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(17, 17, 15, 0.35);
  border-radius: 50%;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

.pagination span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
}

.empty-board {
  grid-column: 1 / -1;
  min-height: 320px;
  padding: 50px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.shop-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 36px;
  padding: clamp(44px, 6vw, 78px) var(--page) 26px;
  color: var(--white);
  background: var(--ink);
}

.footer-wordmark {
  font-family: var(--display);
  font-size: clamp(48px, 9vw, 132px);
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.footer-side {
  display: grid;
  gap: 28px;
  min-width: 250px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 8px 26px;
  font-size: 12px;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--mono);
  font-size: 8px;
}

.detail-back {
  display: flex;
  min-height: 54px;
  align-items: center;
  padding: 0 var(--page);
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(380px, 0.55fr);
  align-items: start;
  border-bottom: 1px solid var(--line-strong);
}

.detail-gallery {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-right: 1px solid var(--line-strong);
}

.detail-gallery figure {
  position: relative;
  min-width: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper-deep);
}

.detail-gallery figure + figure {
  border-left: 1px solid var(--line-strong);
}

.detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-secondary img:not(.sheet-image) {
  transform: scale(1.28);
}

.detail-purchase {
  position: sticky;
  top: 76px;
  min-width: 0;
  padding: clamp(34px, 4vw, 64px);
}

.detail-category {
  margin-bottom: 14px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
}

.detail-purchase h1 {
  max-width: 10ch;
  font-family: var(--display);
  font-size: clamp(38px, 4vw, 64px);
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.detail-price {
  margin: 22px 0 18px;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
}

.detail-description {
  margin: 0 0 42px;
  max-width: 36ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.detail-option {
  padding: 17px 0;
  border-top: 1px solid var(--line-strong);
}

.detail-option-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 12px;
}

.detail-option-head span {
  color: var(--muted);
  text-align: right;
}

.detail-swatches {
  display: flex;
  gap: 7px;
  margin-top: 14px;
}

.detail-swatch {
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.detail-size {
  margin: 0;
  padding: 18px 0 0;
  border: 0;
  border-top: 1px solid var(--line-strong);
}

.detail-size legend {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
}

.detail-add {
  width: 100%;
  min-height: 56px;
  margin-top: 18px;
  color: var(--white);
  background: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.detail-add:hover {
  background: var(--ink);
}

.detail-notes {
  margin-top: 30px;
  border-top: 1px solid var(--line-strong);
}

.detail-notes details {
  border-bottom: 1px solid var(--line-strong);
}

.detail-notes summary {
  min-height: 50px;
  padding: 16px 0;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.detail-notes p {
  padding: 0 0 14px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
  word-break: keep-all;
}

.story-hero {
  display: grid;
  min-height: min(760px, calc(100dvh - 76px));
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  border-bottom: 1px solid var(--line-strong);
}

.story-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(38px, 6vw, 92px) var(--page);
  border-right: 1px solid var(--line-strong);
}

.story-hero-copy h1 {
  max-width: 8ch;
  font-family: var(--display);
  font-size: clamp(64px, 9vw, 146px);
  letter-spacing: -0.08em;
  line-height: 0.78;
}

.story-hero-copy h1 span {
  color: var(--accent);
}

.story-hero-copy p {
  max-width: 24ch;
  font-size: clamp(18px, 2vw, 30px);
  font-weight: 600;
  line-height: 1.45;
  word-break: keep-all;
}

.story-hero-media {
  min-height: 520px;
  background: var(--paper-deep);
}

.story-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-exclusive {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(40px, 8vw, 140px);
  padding: clamp(58px, 9vw, 132px) var(--page);
  color: var(--white);
  background: var(--ink);
}

.story-exclusive-label {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.story-exclusive h2 {
  max-width: 13ch;
  font-family: var(--display);
  font-size: clamp(44px, 6vw, 90px);
  letter-spacing: -0.065em;
  line-height: 1;
  word-break: keep-all;
}

.story-exclusive div > p {
  max-width: 36ch;
  margin-top: clamp(30px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(17px, 1.55vw, 24px);
  line-height: 1.7;
  word-break: keep-all;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line-strong);
}

.story-grid article {
  min-height: 260px;
  padding: clamp(28px, 4vw, 58px) var(--page);
  border-right: 1px solid var(--line-strong);
}

.story-grid article:last-child {
  border-right: 0;
}

.story-grid strong {
  display: block;
  margin-bottom: 34px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
}

.story-grid h2 {
  margin-bottom: 14px;
  font-family: var(--display);
  font-size: clamp(25px, 3vw, 48px);
  letter-spacing: -0.055em;
}

.story-grid p {
  max-width: 30ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  word-break: keep-all;
}

dialog {
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: var(--paper);
}

dialog::backdrop {
  background: rgba(17, 17, 15, 0.65);
  backdrop-filter: blur(5px);
}

.quick-dialog {
  top: 50%;
  left: 50%;
  width: min(960px, calc(100vw - 40px));
  height: min(680px, calc(100dvh - 40px));
  transform: translate(-50%, -50%);
}

.quick-layout {
  display: grid;
  height: 100%;
  grid-template-columns: 1fr 0.92fr;
}

.quick-media {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-right: 1px solid var(--line-strong);
  background: var(--paper-deep);
}

.quick-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dialog-close {
  position: absolute;
  z-index: 5;
  top: 14px;
  right: 14px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  font-size: 24px;
}

.quick-copy {
  position: relative;
  overflow-y: auto;
  padding: clamp(28px, 4vw, 58px);
}

.quick-copy h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 58px);
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.quick-price {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
}

.quick-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 24px 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.quick-details span {
  padding: 12px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 8px;
}

.size-field {
  padding: 0;
  border: 0;
}

.size-field legend {
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
}

.size-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}

.size-list label {
  display: grid;
  min-height: 44px;
  place-items: center;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 9px;
  cursor: pointer;
}

.size-list input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.size-list label:has(input:checked) {
  color: var(--white);
  background: var(--ink);
}

.add-button {
  width: 100%;
  min-height: 52px;
  margin-top: 20px;
  color: var(--white);
  background: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.size-error {
  margin-top: 8px;
  color: var(--accent);
  font-size: 10px;
}

.bag-dialog {
  right: 0;
  left: auto;
  width: min(460px, 100vw);
  height: 100dvh;
}

.bag-layout {
  display: grid;
  height: 100%;
  grid-template-rows: auto 1fr auto;
}

.bag-head {
  position: relative;
  padding: 24px;
  border-bottom: 1px solid var(--line-strong);
}

.bag-head h2 {
  font-family: var(--display);
  font-size: 48px;
  letter-spacing: -0.07em;
}

.bag-items {
  overflow-y: auto;
  padding: 18px 24px;
}

.bag-empty {
  padding: 40px 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.bag-item {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.bag-item img {
  width: 74px;
  height: 88px;
  object-fit: cover;
  background: var(--paper-deep);
}

.bag-item h3 {
  margin-bottom: 6px;
  font-size: 12px;
}

.bag-item p,
.bag-remove {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.bag-remove {
  align-self: start;
  text-decoration: underline;
}

.bag-summary {
  padding: 22px 24px;
  border-top: 1px solid var(--line-strong);
}

.bag-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 13px;
}

.bag-total strong {
  font-family: var(--mono);
}

.checkout-button {
  width: 100%;
  min-height: 52px;
  color: var(--white);
  background: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.toast {
  position: fixed;
  z-index: 150;
  right: 18px;
  bottom: 18px;
  max-width: min(360px, calc(100vw - 36px));
  padding: 15px 18px;
  color: var(--white);
  background: var(--ink);
  font-size: 11px;
  box-shadow: 5px 5px 0 var(--accent);
}

@media (max-width: 1100px) {
  .shop-header {
    grid-template-columns: 1fr auto;
    padding-top: 10px;
  }

  .category-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: calc(100% + var(--page) * 2);
    margin-left: calc(var(--page) * -1);
    overflow-x: auto;
    border-top: 1px solid var(--line);
    scrollbar-width: none;
  }

  .category-nav::-webkit-scrollbar {
    display: none;
  }

  .category-nav a {
    flex: 1 0 auto;
    justify-content: center;
  }

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

  .story-hero {
    min-height: auto;
  }

  .product-detail {
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  }

}

@media (max-width: 720px) {
  :root {
    --page: 15px;
  }

  .shop-header {
    min-height: 104px;
    gap: 4px;
    padding-top: 7px;
  }

  .shop-logo {
    font-size: 25px;
  }

  .header-tools {
    gap: 8px;
  }

  .bag-button {
    font-size: 9px;
  }

  .bag-count {
    width: 25px;
    height: 25px;
  }

  .category-nav {
    height: 43px;
    margin-top: 5px;
  }

  .category-nav a {
    min-height: 43px;
    padding: 0 12px;
    font-size: 11px;
  }

  .category-nav a::after {
    right: 11px;
    bottom: 5px;
    left: 11px;
  }

  .home-hero {
    min-height: 650px;
  }

  .home-hero > img {
    min-height: 650px;
    object-position: 59% center;
  }

  .home-hero::after {
    background: linear-gradient(0deg, rgba(17, 17, 15, 0.8) 0%, rgba(17, 17, 15, 0.28) 48%, rgba(17, 17, 15, 0.04) 82%);
  }

  .home-hero-copy {
    top: auto;
    right: var(--page);
    bottom: 32px;
    left: var(--page);
    width: auto;
    color: var(--white);
    transform: none;
  }

  .home-eyebrow {
    color: rgba(255, 255, 255, 0.78);
  }

  .home-hero h1 {
    margin: 16px 0 20px;
    font-size: clamp(58px, 19vw, 82px);
  }

  .home-hero h1 em {
    color: var(--white);
    -webkit-text-stroke: 0;
    text-shadow: 5px 5px 0 var(--accent);
  }

  .home-hero-copy > p:not(.home-eyebrow) {
    max-width: 29ch;
    font-size: 13px;
  }

  .home-hero-actions {
    margin-top: 18px;
  }

  .home-button {
    min-width: 0;
    min-height: 48px;
    flex: 1;
    padding: 0 14px;
    border-color: var(--white);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.88);
    font-size: 12px;
  }

  .home-button-dark {
    color: var(--white);
    border-color: var(--ink);
    background: var(--ink);
  }

  .home-new-head {
    padding-top: 48px;
    padding-bottom: 22px;
  }

  .board-hero {
    padding-top: 32px;
    padding-bottom: 24px;
  }

  .board-hero h1 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .catalog-shell {
    padding-top: 24px;
    padding-right: 0;
    padding-left: 0;
  }

  .sub-category-nav {
    margin-bottom: 16px;
    padding: 0 var(--page);
  }

  .sub-category-nav button {
    min-height: 42px;
    padding: 0 18px;
    font-size: 11px;
  }

  .board-toolbar {
    padding: 0 var(--page) 12px;
  }

  .sort-wrap > span {
    display: none;
  }

  .sort-wrap select {
    min-height: 40px;
  }

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

  .product-copy {
    min-height: 106px;
    padding: 12px 10px 14px;
  }

  .product-title-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .product-title-row h2 {
    min-height: 39px;
    font-size: 12px;
    line-height: 1.45;
  }

  .product-price {
    font-size: 10px;
  }

  .product-swatches {
    margin-top: 8px;
  }

  .shop-footer {
    grid-template-columns: 1fr;
  }

  .detail-back {
    min-height: 48px;
  }

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

  .detail-gallery {
    grid-template-columns: 1fr;
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .detail-gallery figure {
    aspect-ratio: 4 / 5;
  }

  .detail-secondary {
    display: none;
  }

  .detail-purchase {
    position: static;
    padding: 30px var(--page) 52px;
  }

  .detail-purchase h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .detail-price {
    margin-bottom: 32px;
  }

  .detail-add {
    box-shadow: 0 0 0 1px var(--ink);
  }

  .story-hero {
    grid-template-columns: 1fr;
  }

  .story-hero-copy {
    min-height: 390px;
    padding-top: 52px;
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .story-hero-copy h1 {
    font-size: clamp(62px, 20vw, 88px);
  }

  .story-hero-copy p {
    font-size: 17px;
  }

  .story-hero-media {
    min-height: 118vw;
  }

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

  .story-exclusive {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 64px;
    padding-bottom: 72px;
  }

  .story-exclusive h2 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .story-exclusive div > p {
    font-size: 17px;
  }

  .story-grid article {
    min-height: 210px;
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .story-grid article:last-child {
    border-bottom: 0;
  }

  .footer-side {
    min-width: 0;
  }

  .quick-dialog {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: min(88dvh, 760px);
    transform: none;
  }

  .quick-layout {
    grid-template-columns: 1fr;
    grid-template-rows: 42% 1fr;
  }

  .quick-media {
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .quick-copy {
    padding: 24px 18px 32px;
  }

  .quick-copy h2 {
    padding-right: 38px;
    font-size: 34px;
  }

  .dialog-close {
    top: 10px;
    right: 10px;
  }

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

  .bag-item img {
    width: 64px;
    height: 78px;
  }
}

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

.account-link {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.account-link:hover {
  color: var(--accent);
}

.auth-page {
  display: grid;
  min-height: calc(100vh - 180px);
  place-items: center;
  padding: clamp(48px, 8vw, 96px) var(--page);
}

.auth-panel {
  width: min(100%, 460px);
}

.auth-eyebrow {
  margin-bottom: 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.auth-panel h1 {
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: clamp(42px, 8vw, 64px);
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.auth-lead {
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.auth-form {
  display: grid;
  gap: 18px;
}

.auth-field {
  display: grid;
  gap: 8px;
}

.auth-field span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.auth-field span em {
  color: var(--muted);
  font-style: normal;
  font-weight: 400;
}

.auth-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-size: 15px;
}

.auth-field input:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 2px;
}

.auth-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.auth-check input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--ink);
}

.auth-error {
  color: var(--accent);
  font-size: 13px;
  line-height: 1.5;
}

.auth-submit {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--ink);
  color: var(--white);
  background: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition:
    color 180ms var(--ease),
    background 180ms var(--ease),
    transform 180ms var(--ease);
}

.auth-submit:hover:not(:disabled) {
  color: var(--ink);
  background: var(--accent);
}

.auth-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

.auth-submit-ghost {
  color: var(--ink);
  background: transparent;
}

.auth-submit-ghost:hover {
  color: var(--white);
  background: var(--ink);
}

.auth-switch {
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

.auth-switch a {
  margin-left: 6px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-card {
  padding-top: 8px;
}

.account-dl {
  display: grid;
  gap: 0;
  margin: 0 0 28px;
  border-top: 1px solid var(--line-strong);
}

.account-dl > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.account-dl dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.account-dl dd {
  margin: 0;
  font-size: 15px;
}

.account-actions {
  display: grid;
  gap: 12px;
}

@media (max-width: 720px) {
  .account-dl > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

