:root {
  --ink: #080808;
  --paper: #f4f1e9;
  --muted: #77716a;
  --line: #d8d1c5;
  --white: #ffffff;
  --accent: #b43022;
  --charcoal: #1b1b1b;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
}

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

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

button,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px clamp(16px, 4vw, 52px);
  border-bottom: 1px solid rgba(244, 241, 233, 0.2);
  color: var(--white);
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(14px);
}

.brand-mark {
  display: block;
  width: clamp(124px, 17vw, 210px);
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.brand-mark img {
  width: 100%;
  height: 48px;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.site-nav a {
  position: relative;
  padding-block: 10px;
}

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

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero-image {
  width: 100%;
  height: 92vh;
  min-height: 620px;
  object-fit: cover;
  filter: contrast(1.08) grayscale(1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.22) 45%, rgba(0, 0, 0, 0.62)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.8), transparent 44%);
}

.hero-overlay {
  position: absolute;
  z-index: 1;
  left: clamp(18px, 6vw, 78px);
  bottom: clamp(88px, 15vh, 160px);
  width: min(820px, calc(100% - 36px));
}

.drop-label,
.eyebrow,
.section-heading p,
.lookbook-copy p {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 8ch;
  font-size: clamp(84px, 18vw, 238px);
  line-height: 0.78;
  font-weight: 950;
}

.hero-copy {
  margin: 24px 0 0;
  max-width: 560px;
  font-size: clamp(19px, 2.4vw, 34px);
  line-height: 1.1;
  font-weight: 900;
}

.hero-actions,
.cart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid currentColor;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

.button.ghost {
  background: transparent;
  color: inherit;
}

.ticker {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.72);
}

.ticker span {
  min-height: 58px;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  font-size: clamp(10px, 1.3vw, 14px);
  font-weight: 900;
  text-align: center;
}

.intro-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1px;
  background: var(--ink);
  color: var(--white);
}

.intro-band p {
  margin: 0;
  min-height: 118px;
  display: flex;
  align-items: center;
  padding: clamp(22px, 4vw, 54px);
  background: var(--charcoal);
  font-size: clamp(22px, 4vw, 54px);
  line-height: 0.98;
  font-weight: 950;
  text-transform: uppercase;
}

.section-shell,
.info-grid,
.order-panel {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--ink);
}

.section-heading h2,
.lookbook-copy h2,
.info-grid h2,
.order-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 6vw, 76px);
  line-height: 0.92;
  font-weight: 950;
  text-transform: uppercase;
}

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

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  background: #e9e4da;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.035);
  filter: contrast(1.08);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 8px 10px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.product-name-row,
.product-actions,
.cart-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-name-row h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.price {
  white-space: nowrap;
  font-size: 15px;
  font-weight: 900;
}

.product-meta {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.size-select {
  min-width: 94px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
}

.product-actions .button {
  min-height: 44px;
  flex: 1;
}

.lookbook {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  min-height: 620px;
  background: var(--ink);
  color: var(--white);
}

.lookbook-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 6vw, 78px);
}

.lookbook-copy span {
  display: block;
  max-width: 540px;
  color: #cfc7bd;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.55;
}

.lookbook img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.12);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--ink);
}

.info-grid article {
  min-height: 330px;
  padding: clamp(22px, 4vw, 42px);
  background: var(--paper);
}

.info-grid p:not(.eyebrow),
.order-panel p {
  color: #504b45;
  font-size: 16px;
  line-height: 1.75;
}

.order-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.cart-box {
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
}

.cart-items {
  min-height: 160px;
}

.empty-cart {
  margin: 0;
  padding: 28px;
}

.cart-line {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.cart-line strong {
  display: block;
  font-size: 16px;
}

.cart-line span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.remove-item {
  min-width: 42px;
  min-height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 20px;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-top: 2px solid var(--ink);
  font-size: 22px;
  font-weight: 950;
}

.cart-actions {
  padding: 0 20px 20px;
  margin: 0;
}

.cart-actions .button {
  flex: 1;
}

.copy-status {
  min-height: 24px;
  margin: 0;
  padding: 0 20px 20px;
  color: var(--accent);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(16px, 4vw, 52px);
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
}

.site-footer img {
  width: min(220px, 48vw);
  height: 64px;
  object-fit: cover;
  background: var(--paper);
}

.site-footer p {
  margin: 0 0 6px;
  font-weight: 950;
}

.site-footer span {
  color: #b8afa5;
  font-size: 13px;
}

.page-main {
  padding-top: 76px;
}

.page-hero {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(70px, 10vw, 132px) 0 clamp(44px, 7vw, 86px);
}

.page-hero h1 {
  margin: 0;
  max-width: 960px;
  font-size: clamp(52px, 10vw, 132px);
  line-height: 0.88;
  font-weight: 950;
  text-transform: uppercase;
}

.page-hero p:not(.drop-label) {
  max-width: 680px;
  color: #504b45;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.6;
}

.split-hero {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.split-hero img,
.art-band img {
  width: 100%;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.page-lookbook {
  margin-top: 0;
}

.brand-hero {
  border-bottom: 2px solid var(--ink);
}

.brand-grid {
  padding-top: clamp(42px, 7vw, 88px);
}

.art-band {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 clamp(64px, 9vw, 120px);
}

.standalone-order {
  min-height: calc(100vh - 76px);
  align-items: center;
}

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    background: rgba(8, 8, 8, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 18px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero,
  .hero-image {
    min-height: 740px;
  }

  .hero-image {
    object-position: 58% center;
  }

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

  .intro-band,
  .lookbook,
  .info-grid,
  .order-panel,
  .split-hero {
    grid-template-columns: 1fr;
  }

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

  .lookbook,
  .lookbook img {
    min-height: auto;
  }

  .lookbook img {
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 640px) {
  .brand-mark {
    width: 138px;
  }

  .brand-mark img {
    height: 42px;
  }

  .hero-overlay {
    bottom: 150px;
  }

  .hero h1 {
    font-size: clamp(74px, 29vw, 128px);
  }

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

  .product-actions,
  .product-name-row,
  .cart-line,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .cart-line {
    align-items: flex-start;
  }
}
