:root {
  --ink: #090909;
  --paper: #f5f2ec;
  --white: #fff;
  --muted: #6f6a63;
  --line: #d9d3ca;
  --accent: #aa4037;
  --shadow: 0 22px 55px rgba(20, 16, 12, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 12px 16px; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.shop-announcement { min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 8px 18px; color: var(--white); background: #24211e; font: 500 11px/1.2 "IBM Plex Mono", monospace; letter-spacing: .03em; text-align: center; }
.shop-announcement strong { color: #f4d3a2; }
.shop-header { position: sticky; top: 0; z-index: 30; min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 12px clamp(20px, 4vw, 64px); color: var(--white); background: rgba(8, 8, 8, .96); backdrop-filter: blur(14px); }
.shop-brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; color: inherit; text-decoration: none; font-weight: 700; text-transform: lowercase; }
.shop-brand img { width: 36px; height: 36px; object-fit: contain; }
.shop-header nav { display: flex; align-items: center; gap: 28px; }
.shop-header nav a, .shop-footer nav a { color: inherit; font: 500 12px/1.2 "IBM Plex Mono", monospace; text-decoration: none; text-transform: uppercase; }
.shop-header nav a[aria-current="page"] { color: #f4d3a2; }
.shop-header-cta { justify-self: end; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; color: var(--white); text-decoration: none; font-weight: 600; }
.shop-header-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.ready-cart-button { min-width: 78px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 15px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; color: var(--white); background: transparent; font: 600 12px/1 "DM Sans", sans-serif; cursor: pointer; text-transform: uppercase; }
.ready-cart-button b { min-width: 22px; min-height: 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--ink); background: var(--white); font-size: 11px; }
.shop-header a:focus-visible, .ready-made-card a:focus-visible, .shop-footer a:focus-visible { outline: 3px solid #f4d3a2; outline-offset: 4px; }
.ready-cart-button:focus-visible, .ready-cart-drawer button:focus-visible, .ready-cart-drawer a:focus-visible { outline: 3px solid #f4d3a2; outline-offset: 3px; }

.shop-hero { min-height: calc(100vh - 110px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: var(--ink); color: var(--white); }
.shop-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(50px, 7vw, 120px); }
.shop-kicker { margin: 0 0 20px; font: 500 11px/1.4 "IBM Plex Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.shop-hero h1 { max-width: 760px; margin: 0; font-size: clamp(58px, 7.2vw, 126px); line-height: .86; letter-spacing: -.07em; }
.shop-lede { max-width: 580px; margin: 34px 0 0; color: #d8d4ce; font-size: clamp(16px, 1.25vw, 20px); line-height: 1.6; }
.shop-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.primary-action, .secondary-action { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 24px; border-radius: 999px; text-decoration: none; font-weight: 650; transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.primary-action { background: var(--white); color: var(--ink); }
.secondary-action { border: 1px solid rgba(255,255,255,.34); color: var(--white); }
.primary-action:hover, .secondary-action:hover { transform: translateY(-2px); }
.shop-trust-list { display: flex; flex-wrap: wrap; gap: 18px; padding: 0; margin: 38px 0 0; color: #c9c5bf; list-style: none; font: 500 11px/1.4 "IBM Plex Mono", monospace; text-transform: uppercase; }
.shop-trust-list li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #f4d3a2; vertical-align: 1px; }
.shop-hero-visual { position: relative; min-height: 720px; margin: 0; overflow: hidden; background: #d6e0e5; }
.shop-hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.shop-hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 65%, rgba(0,0,0,.42)); pointer-events: none; }
.shop-hero-visual figcaption { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 28px; display: flex; justify-content: space-between; align-items: end; color: var(--white); }
.shop-hero-visual figcaption span { font: 500 11px/1.2 "IBM Plex Mono", monospace; }
.shop-hero-visual figcaption strong { font-size: clamp(24px, 3vw, 48px); letter-spacing: -.04em; }

.bracelet-collection { padding: clamp(72px, 9vw, 150px) clamp(20px, 4vw, 64px); }
.collection-header { display: grid; grid-template-columns: 1fr minmax(280px, 470px); align-items: end; gap: 40px; margin-bottom: 48px; }
.collection-header h2, .shop-service h2 { margin: 0; font-size: clamp(48px, 7vw, 104px); line-height: .92; letter-spacing: -.065em; }
.collection-header > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.ready-made-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.ready-made-card { grid-column: span 4; min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: rgba(255,255,255,.72); transition: transform .24s ease, box-shadow .24s ease; }
.ready-made-card:nth-child(4), .ready-made-card:nth-child(5) { grid-column: span 6; }
.ready-made-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-image-wrap { position: relative; aspect-ratio: 1; overflow: hidden; background: #ebe8e2; }
.card-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.ready-made-card:hover .card-image-wrap img { transform: scale(1.025); }
.card-index { position: absolute; top: 16px; left: 16px; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(255,255,255,.88); font: 500 11px/1 "IBM Plex Mono", monospace; backdrop-filter: blur(10px); }
.card-body { flex: 1; display: flex; flex-direction: column; padding: 22px; }
.card-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font: 500 11px/1.3 "IBM Plex Mono", monospace; text-transform: uppercase; }
.ready-made-card h3 { margin: 18px 0 6px; font-size: clamp(26px, 2.2vw, 38px); line-height: 1; letter-spacing: -.045em; }
.ready-made-card h3 a { color: inherit; text-decoration: none; }
.card-symbol { margin: 0; color: var(--muted); }
.card-purchase { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-top: 28px; }
.card-price { display: flex; flex-direction: column; }
.card-price del { color: var(--muted); font-size: 13px; }
.card-price strong { font-size: 28px; }
.card-buy { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border-radius: 999px; background: var(--ink); color: var(--white); text-decoration: none; font-weight: 650; text-align: center; }
.card-buy:hover { background: var(--accent); }
.card-buy[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.shop-notice { padding: 18px; border: 1px solid var(--line); border-radius: 12px; }

.shop-service { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); padding: clamp(72px, 9vw, 140px) clamp(20px, 4vw, 64px); border-top: 1px solid var(--line); background: #e9e5dd; }
.shop-service dl { margin: 0; }
.shop-service dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid #c9c2b8; }
.shop-service dt { font: 500 11px/1.4 "IBM Plex Mono", monospace; text-transform: uppercase; }
.shop-service dd { margin: 0; color: #49443f; font-size: 16px; line-height: 1.6; }
.symbolism-note { margin: 0; padding: 26px clamp(20px, 4vw, 64px); color: #5e5750; background: #e9e5dd; font-size: 13px; text-align: center; }
.shop-footer { min-height: 190px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; padding: 36px clamp(20px, 4vw, 64px); color: var(--white); background: var(--ink); }
.shop-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.shop-footer > p { justify-self: end; color: #aaa49d; font: 500 11px/1.3 "IBM Plex Mono", monospace; }

.ready-cart-open { overflow: hidden; }
.ready-cart-backdrop { position: fixed; z-index: 1000; inset: 0; background: rgba(0,0,0,.5); }
.ready-cart-backdrop[hidden] { display: none; }
.ready-cart-drawer { position: absolute; top: 0; right: 0; width: min(100%, 460px); height: 100%; display: grid; grid-template-rows: auto minmax(0,1fr) auto; color: var(--ink); background: #faf9f6; box-shadow: -24px 0 70px rgba(0,0,0,.2); }
.ready-cart-drawer > header { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.ready-cart-drawer > header p { margin: 0 0 5px; color: var(--muted); font: 500 10px/1.3 "IBM Plex Mono", monospace; }
.ready-cart-drawer h2 { margin: 0; font-size: 30px; letter-spacing: -.045em; }
.ready-cart-close { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 26px; cursor: pointer; }
.ready-cart-items { overflow-y: auto; overscroll-behavior: contain; padding: 10px 22px; }
.ready-cart-line { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ready-cart-line img { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; background: #e8e4dd; }
.ready-cart-line > div { min-width: 0; display: grid; align-content: start; gap: 3px; }
.ready-cart-line a { color: inherit; font-size: 16px; font-weight: 700; text-decoration: none; }
.ready-cart-line span { color: var(--muted); font-size: 12px; }
.ready-cart-line strong { margin-top: 4px; }
.ready-cart-quantity { display: flex; align-items: center; gap: 7px; margin-top: 8px; }
.ready-cart-quantity button { min-width: 36px; min-height: 36px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; }
.ready-cart-quantity .ready-cart-remove { width: auto; padding: 0 10px; margin-left: auto; border: 0; color: #7d2c25; background: transparent; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.ready-cart-empty { display: grid; place-items: center; align-content: center; gap: 12px; min-height: 260px; text-align: center; }
.ready-cart-empty a { text-underline-offset: 4px; }
.ready-cart-drawer > footer { padding: 20px 22px max(20px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.ready-cart-total { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ready-cart-total span { color: var(--muted); font-size: 13px; }
.ready-cart-total strong { font-size: 26px; }
.ready-cart-drawer > footer p { margin: 10px 0 16px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.ready-cart-checkout { min-height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 999px; color: #fff; background: #111; font-weight: 700; text-decoration: none; }
.ready-cart-checkout[aria-disabled="true"] { opacity: .45; pointer-events: none; }

@media (max-width: 980px) {
  .shop-header { grid-template-columns: 1fr auto; }
  .shop-header nav { display: none; }
  .shop-hero { grid-template-columns: 1fr; }
  .shop-hero-copy { padding: 70px 24px; }
  .shop-hero-visual { min-height: auto; aspect-ratio: 1; }
  .ready-made-card { grid-column: span 6; }
  .ready-made-card:last-child { grid-column: 4 / span 6; }
  .shop-service { grid-template-columns: 1fr; }
  .shop-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .shop-footer > p { justify-self: center; }
}

@media (max-width: 640px) {
  .shop-announcement { gap: 8px; font-size: 9px; }
  .shop-announcement span:first-child { display: none; }
  .shop-header { min-height: 66px; padding: 10px 14px; }
  .shop-brand img { width: 32px; height: 32px; }
  .shop-header-cta { display: none; }
  .shop-header-actions { gap: 6px; }
  .ready-cart-button { min-width: 70px; padding: 0 11px; }
  .shop-hero { min-height: auto; }
  .shop-hero-copy { padding: 54px 18px; }
  .shop-hero h1 { font-size: clamp(54px, 18vw, 78px); }
  .shop-hero-actions { align-items: stretch; }
  .primary-action, .secondary-action { width: 100%; }
  .shop-trust-list { display: grid; gap: 10px; }
  .shop-hero-visual figcaption { left: 18px; right: 18px; bottom: 18px; }
  .bracelet-collection { padding: 64px 14px; }
  .collection-header { grid-template-columns: 1fr; gap: 18px; margin-bottom: 30px; }
  .ready-made-grid { grid-template-columns: 1fr; gap: 14px; }
  .ready-made-card, .ready-made-card:nth-child(4), .ready-made-card:nth-child(5), .ready-made-card:last-child { grid-column: 1; }
  .card-body { padding: 18px; }
  .card-purchase { align-items: center; }
  .card-buy { min-height: 50px; }
  .shop-service { padding: 64px 18px; }
  .shop-service dl > div { grid-template-columns: 1fr; gap: 8px; }
  .shop-footer nav { display: grid; grid-template-columns: 1fr 1fr; }
  .ready-cart-drawer { width: 100%; }
}

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