/* ============================================
   LEVEL APPARELS — Dark editorial-luxury
   ============================================ */

:root {
  /* Dark palette — warm near-black, not pure black */
  --bg: #0e0e0c;
  --bg-soft: #141411;
  --surface: #181815;
  --surface-2: #1f1f1b;
  --line: #2a2a25;
  --line-soft: #22221d;

  /* Text */
  --text: #f5f1ea;
  --text-2: #c9c4ba;
  --muted: #8a857c;
  --muted-2: #5e5a52;

  /* Accent — warmer terracotta, brighter for dark bg */
  --accent: #d4604a;
  --accent-2: #e0735a;
  --accent-soft: rgba(212, 96, 74, 0.14);

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --maxw: 1440px;
  --header-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--text); }

a { color: inherit; }

/* Grain overlay — subtle, warm */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ============================================
   Announcement bar
   ============================================ */
.announce {
  background: var(--bg-soft);
  color: var(--text-2);
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.65rem 1rem;
  font-weight: 500;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

/* ============================================
   Header
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 14, 12, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(14, 14, 12, 0.94);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1rem var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.logo-mark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.18em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  justify-self: center;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  justify-self: center;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-2);
  text-decoration: none;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.cart-btn {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
  padding: 0.4rem 0.6rem;
  transition: color 0.2s;
}
.cart-btn:hover { color: var(--accent); }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.3rem;
  height: 1.3rem;
  background: var(--accent);
  color: var(--bg);
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0 0.3rem;
  transition: transform 0.2s, background 0.2s;
}
.cart-btn:hover .cart-count { transform: scale(1.08); }
.cart-count.bump { animation: bump 0.4s ease; }
@keyframes bump {
  0% { transform: scale(1); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  justify-self: start;
}
.menu-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - 40px);
  padding: 3rem var(--gutter) 0;
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  padding-bottom: 4rem;
}
.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.5rem, 11vw, 11rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--text);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: rise 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-title .line:nth-child(1) { animation-delay: 0.1s; }
.hero-title .line:nth-child(2) { animation-delay: 0.25s; }
.hero-title .line:nth-child(3) { animation-delay: 0.4s; }
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 2rem;
  padding: 3rem 0 5rem;
}
.hero-lede {
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-2);
  font-weight: 300;
}
.hero-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--text);
  transition: gap 0.3s, color 0.2s, border-color 0.2s;
}
.hero-cta:hover {
  gap: 1.4rem;
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.hero-cta svg { transition: transform 0.3s; }
.hero-cta:hover svg { transform: translateX(4px); }

.hero-marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
  margin-bottom: 3rem;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--text-2);
  padding-right: 2rem;
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ============================================
   Section heads
   ============================================ */
.section-head {
  max-width: var(--maxw);
  margin: 0 auto 3rem;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0.5rem 2rem;
  align-items: baseline;
}
.section-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--accent);
  grid-row: 1;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.01em;
  grid-row: 1;
}
.section-desc {
  grid-column: 2;
  grid-row: 2;
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   Collection / Product grid
   ============================================ */
.collection {
  padding: 6rem 0 4rem;
}
.product-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2.5rem;
}

.product-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s, transform 0.7s;
  background: none;
  border: none;
  text-align: left;
  padding: 0;
  font: inherit;
  color: inherit;
  width: 100%;
}
.product-card.visible { opacity: 1; transform: translateY(0); }

.product-image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin-bottom: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
}
.product-image .look {
  position: absolute;
  inset: 0;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-image .look { transform: scale(1.04); }

.product-image .look-num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
  color: rgba(245, 241, 234, 0.85);
  z-index: 2;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.product-image .look-cta {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.92);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.product-card:hover .look-cta { opacity: 1; transform: translateY(0); }

.product-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.product-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.product-price {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
}
.product-tag {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
}

/* ============================================
   Story
   ============================================ */
.story {
  padding: 6rem var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
.story-text .section-num { display: block; margin-bottom: 1.5rem; }
.story-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  color: var(--text);
}
.story-title em { font-style: italic; font-weight: 400; color: var(--accent); }
.story-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 1.2rem;
  max-width: 30rem;
  font-weight: 300;
}

.story-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.story-card {
  padding: 2.2rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 180px;
  border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.3s;
}
.story-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.story-card--a { background: var(--surface); color: var(--text); }
.story-card--b { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.story-card--b:hover { border-color: var(--accent-2); }
.story-card--c {
  background: var(--surface-2);
  color: var(--text);
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 120px;
}
.story-stat {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 3.2rem;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.story-card--c .story-stat { margin-bottom: 0; }
.story-cap {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ============================================
   Journal
   ============================================ */
.journal {
  padding: 4rem 0 6rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
.journal-grid {
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.journal-item {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: border-color 0.3s;
}
.journal-item:hover { border-top-color: var(--accent); }
.journal-date {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--accent);
}
.journal-item h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}
.journal-item p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 300;
  flex-grow: 1;
}
.journal-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  margin-top: 0.5rem;
  transition: color 0.2s, letter-spacing 0.2s;
}
.journal-link:hover { color: var(--accent); letter-spacing: 0.1em; }

/* ============================================
   Contact / Newsletter
   ============================================ */
.contact {
  padding: 6rem var(--gutter);
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contact-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}
.contact .section-num { color: var(--accent); display: block; margin-bottom: 1.5rem; }
.contact-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.contact-inner p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2rem;
  font-weight: 300;
}
.newsletter {
  display: flex;
  max-width: 28rem;
  margin: 0 auto;
  border-bottom: 1px solid var(--muted-2);
  transition: border-color 0.3s;
}
.newsletter:focus-within { border-bottom-color: var(--accent); }
.newsletter input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem 0;
  outline: none;
}
.newsletter input::placeholder { color: var(--muted-2); }
.newsletter button {
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.8rem 0 0.8rem 1rem;
  transition: color 0.2s;
}
.newsletter button:hover { color: var(--accent); }
.newsletter-msg {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--accent);
  font-style: italic;
  font-family: var(--font-display);
  min-height: 1.2rem;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  padding: 4rem var(--gutter) 2rem;
  background: var(--bg);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand .logo-mark { font-size: 2rem; }
.footer-brand p {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
  font-family: var(--font-display);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.footer-col a {
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-base {
  max-width: var(--maxw);
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}

/* ============================================
   Product modal
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 6, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }

.modal {
  background: var(--bg-soft);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
}
.modal-close:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  transform: rotate(90deg);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.modal-look {
  aspect-ratio: 3 / 4;
  position: relative;
  min-height: 400px;
}
.modal-look .look-num {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: rgba(245, 241, 234, 0.85);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.modal-detail {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
}
.modal-detail .product-tag { margin-bottom: 0.5rem; }
.modal-detail h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.2rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.modal-price {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--text-2);
}
.modal-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 2rem;
  font-weight: 300;
}
.modal-section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
}
.size-options {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.size-option {
  min-width: 3rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.size-option:hover { border-color: var(--text-2); }
.size-option.selected {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.add-to-cart {
  background: var(--text);
  color: var(--bg);
  border: none;
  padding: 1.1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.1s;
  margin-top: auto;
}
.add-to-cart:hover { background: var(--accent); color: var(--bg); }
.add-to-cart:active { transform: scale(0.98); }
.add-to-cart:disabled {
  background: var(--surface-2);
  color: var(--muted-2);
  cursor: not-allowed;
}

/* ============================================
   Cart drawer
   ============================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 6, 0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--bg-soft);
  z-index: 160;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  box-shadow: -10px 0 40px rgba(0,0,0,0.4);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.8rem;
  border-bottom: 1px solid var(--line);
}
.cart-header h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--text);
}
.cart-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text);
  line-height: 1;
  transition: transform 0.2s, color 0.2s;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-close:hover { transform: rotate(90deg); color: var(--accent); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.8rem;
}
.cart-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--muted);
}
.cart-empty p { font-size: 0.95rem; margin-bottom: 0.5rem; }
.cart-empty em {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-2);
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
}
.cart-item-look {
  width: 64px;
  height: 80px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.cart-item-info { display: flex; flex-direction: column; gap: 0.2rem; }
.cart-item-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
}
.cart-item-meta {
  font-size: 0.78rem;
  color: var(--muted);
}
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.4rem;
}
.qty-btn {
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.qty-btn:hover { border-color: var(--accent); color: var(--accent); }
.cart-item-qty {
  font-size: 0.85rem;
  font-weight: 500;
  min-width: 1.2rem;
  text-align: center;
  color: var(--text);
}
.cart-item-price {
  font-size: 0.9rem;
  font-weight: 500;
  align-self: flex-start;
  color: var(--text-2);
}
.cart-item-remove {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.72rem;
  cursor: pointer;
  text-decoration: underline;
  margin-top: 0.3rem;
  transition: color 0.2s;
  font-family: var(--font-body);
}
.cart-item-remove:hover { color: var(--accent); }

.cart-footer {
  padding: 1.5rem 1.8rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.cart-subtotal span:last-child { font-family: var(--font-display); font-weight: 500; }
.cart-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
  line-height: 1.5;
}
.checkout-btn {
  width: 100%;
  background: var(--text);
  color: var(--bg);
  border: none;
  padding: 1.1rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.1s;
}
.checkout-btn:hover { background: var(--accent); color: var(--bg); }
.checkout-btn:active { transform: scale(0.98); }
.checkout-btn:disabled { background: var(--surface-2); color: var(--muted-2); cursor: not-allowed; }

/* ============================================
   Toast
   ============================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--text);
  color: var(--bg);
  padding: 0.9rem 1.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  z-index: 300;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  white-space: nowrap;
  border-radius: 2px;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .header-inner { grid-template-columns: auto 1fr auto; }

  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 90;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a {
    font-size: 1.5rem;
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--text);
  }
  .menu-toggle { display: flex; z-index: 95; }

  .hero-title { font-size: clamp(3rem, 14vw, 6rem); }
  .hero-footer { grid-template-columns: 1fr; gap: 2rem; }
  .hero-cta { justify-self: start; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .section-head { grid-template-columns: 1fr; }
  .section-desc { grid-column: 1; }

  .story-grid { grid-template-columns: 1fr; gap: 3rem; }
  .journal-grid { grid-template-columns: 1fr; gap: 2rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-cols { grid-template-columns: 1fr 1fr; }

  .modal-overlay { padding: 0; }
  .modal { max-height: 100vh; max-width: 100vw; }
  .modal-body { grid-template-columns: 1fr; }
  .modal-look { min-height: 280px; aspect-ratio: 4/3; }
  .modal-detail { padding: 2rem 1.5rem; }
}

@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; gap: 0.5rem; text-align: center; }
  .hero-meta { padding-bottom: 2rem; }
  .hero-footer { padding: 2rem 0 3rem; }
  .modal-detail { padding: 1.5rem 1.25rem; }
  .modal-look { min-height: 240px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-title .line { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* Scrollbar styling */
.cart-items::-webkit-scrollbar { width: 6px; }
.cart-items::-webkit-scrollbar-track { background: transparent; }
.cart-items::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.cart-items::-webkit-scrollbar-thumb:hover { background: var(--muted-2); }

.modal::-webkit-scrollbar { width: 6px; }
.modal::-webkit-scrollbar-track { background: transparent; }
.modal::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
