:root {
  --bg: #fafafa;
  --paper: #ffffff;
  --ink: #1a2540;
  --accent: #1a2540;
  --copper: #b8755a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 2px rgba(26,37,64,.04);
  --shadow-md: 0 6px 24px rgba(26,37,64,.08);
  --radius: 6px;
  --sidebar-w: 240px;
  --maxw: 1200px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== Layout grid: fixed sidebar + flowing main ===== */
.layout {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
}

.sidebar {
  background: var(--paper);
  border-right: 1px solid var(--border);
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  z-index: 5;
}

.sidebar .brand {
  display: block;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.1;
}
.sidebar .brand .amp { color: var(--copper); font-weight: 500; padding: 0 2px; }
.sidebar .brand-sub {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 36px;
}

.sidebar nav { display: flex; flex-direction: column; gap: 4px; }
.sidebar nav .nav-section {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin: 18px 0 6px;
  font-weight: 600;
}
.sidebar nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  transition: background 120ms ease, color 120ms ease;
}
.sidebar nav a:hover { background: rgba(26,37,64,0.05); }
.sidebar nav a.active { background: var(--ink); color: var(--paper); }
.sidebar nav a small { color: var(--muted); font-weight: 500; font-size: 12px; }
.sidebar nav a.active small { color: rgba(255,255,255,0.6); }

.sidebar .side-foot {
  margin-top: auto;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.sidebar .side-foot a { color: var(--ink); }

.main { min-width: 0; }

/* Mobile top bar (hidden on desktop) */
.topbar {
  display: none;
  position: sticky;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  padding: 14px 18px;
  align-items: center;
  justify-content: space-between;
  z-index: 6;
}
.topbar .brand { font-weight: 600; letter-spacing: 0.04em; }
.topbar .menu-btn {
  background: none;
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: var(--radius);
  font: inherit;
  cursor: pointer;
  font-size: 13px;
}

@media (max-width: 1023px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    transform: translateX(-100%);
    transition: transform 200ms ease;
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar-scrim {
    position: fixed; inset: 0;
    background: rgba(26,37,64,0.4);
    z-index: 4;
    opacity: 0; pointer-events: none;
    transition: opacity 200ms ease;
  }
  .sidebar-scrim.show { opacity: 1; pointer-events: auto; }
  .topbar { display: flex; }
}

/* ===== Containers / utilities ===== */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.text-center { text-align: center; }
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 10px;
}
.section-head { margin-bottom: 28px; }
.section-head h2 {
  font-family: var(--font);
  font-size: 36px;
  line-height: 1.15;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}

/* Buttons */
.cta, button.cta {
  display: inline-block;
  padding: 13px 28px;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: background 150ms ease;
  letter-spacing: 0.01em;
}
.cta:hover { background: var(--copper); }
.cta.outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.cta.outline:hover { background: var(--ink); color: var(--paper); }

/* ===== Full-bleed hero with overlay ===== */
.hero-fullbleed {
  position: relative;
  min-height: 78vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  overflow: hidden;
}
.hero-fullbleed::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,37,64,0) 30%, rgba(26,37,64,0.78) 100%);
}
.hero-fullbleed .hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 64px 48px;
}
.hero-fullbleed .eyebrow { color: rgba(255,255,255,0.85); }
.hero-fullbleed h1 {
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.05;
  font-weight: 500;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.hero-fullbleed p {
  font-size: 17px;
  max-width: 560px;
  margin: 0 0 28px;
  color: rgba(255,255,255,0.92);
}
.hero-fullbleed .cta {
  background: var(--copper);
}
.hero-fullbleed .cta:hover { background: var(--paper); color: var(--ink); }

@media (max-width: 720px) {
  .hero-fullbleed { min-height: 64vh; }
  .hero-fullbleed .hero-inner { padding: 36px 24px; }
}

/* ===== Featured horizontal carousel ===== */
.carousel-wrap {
  padding: 80px 0 24px;
}
.carousel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  padding: 0 32px;
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}
.carousel-controls { display: flex; gap: 8px; }
.carousel-controls button {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  background: var(--paper);
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: background 120ms;
}
.carousel-controls button:hover { background: var(--ink); color: var(--paper); }

.carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 32px 28px;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}
.carousel::-webkit-scrollbar { height: 8px; }
.carousel::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.carousel-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.carousel-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.carousel-card .img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: #f0eee9;
}
.carousel-card .body { padding: 16px 18px 18px; }
.carousel-card .cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.carousel-card .name {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.35;
  margin-bottom: 10px;
  min-height: 2.7em;
}
.carousel-card .price {
  color: var(--copper);
  font-weight: 600;
  font-size: 15px;
}

@media (max-width: 720px) {
  .carousel-card { flex: 0 0 240px; }
  .carousel { padding-left: 24px; padding-right: 24px; }
  .carousel-head { padding: 0 24px; }
}

/* ===== Press strip ===== */
.press-strip {
  background: var(--paper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
  margin: 60px 0 0;
}
.press-strip .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px 56px;
}
.press-strip .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.press-strip .name {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink);
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}

/* ===== Giant brand footer ===== */
.giant-footer {
  background: var(--paper);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
  text-align: center;
  overflow: hidden;
}
.giant-footer .wordmark {
  font-size: clamp(56px, 14vw, 200px);
  line-height: 0.95;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
  white-space: nowrap;
  margin-bottom: 28px;
}
.giant-footer .wordmark .amp { color: var(--copper); font-weight: 500; }
.giant-footer .footer-meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 0 24px;
}
.giant-footer .footer-meta a { color: var(--ink); }
.giant-footer .footer-meta a:hover { color: var(--copper); }
.giant-footer .copyright {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
}

/* ===== Shop page grid (kept symmetric, distinct from homepage carousel) ===== */
.shop-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 44px;
}
.shop-filters button {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink);
  padding: 8px 18px;
  border-radius: var(--radius);
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 120ms;
}
.shop-filters button:hover { border-color: var(--ink); }
.shop-filters button.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px 22px;
}
.product-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 180ms, transform 180ms;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.product-card .img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: #f0eee9;
}
.product-card .body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.product-card .cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.product-card h3 {
  font-weight: 500;
  font-size: 15.5px;
  line-height: 1.35;
  margin: 0 0 8px;
  flex: 1;
}
.product-card .price { color: var(--copper); font-weight: 600; font-size: 15px; margin-top: 4px; }

/* ===== Product detail page ===== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 56px 0;
}
.product-detail .img-wrap {
  background: #f0eee9;
  border-radius: var(--radius);
  overflow: hidden;
}
.product-detail .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
.product-detail .copy h1 {
  font-size: 34px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 8px 0 14px;
}
.product-detail .copy .price {
  font-size: 22px;
  color: var(--copper);
  font-weight: 600;
  margin: 0 0 24px;
}
.product-detail .copy p { color: var(--ink); white-space: pre-line; }
.product-detail .features { list-style: none; padding: 0; margin: 24px 0; }
.product-detail .features li {
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
  color: var(--ink);
}
.product-detail .features li::before { content: '·'; color: var(--copper); padding-right: 10px; font-weight: 700; }

@media (max-width: 880px) {
  .product-detail { grid-template-columns: 1fr; gap: 32px; padding: 32px 0; }
}

/* ===== Cart / checkout / forms ===== */
.cart-list { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); }
.cart-row { display: grid; grid-template-columns: 80px 1fr auto auto; gap: 18px; align-items: center; padding: 16px; border-bottom: 1px solid var(--border); }
.cart-row:last-child { border-bottom: 0; }
.cart-row .img { width: 80px; height: 80px; background-size: cover; background-position: center; border-radius: var(--radius); background-color: #f0eee9; }
.cart-row .name { font-weight: 500; }
.cart-row .price { color: var(--copper); font-weight: 600; }
.cart-row .qty { display: flex; align-items: center; gap: 6px; }
.cart-row .qty button { width: 28px; height: 28px; border: 1px solid var(--border); background: var(--paper); border-radius: 4px; cursor: pointer; font: inherit; }
.cart-totals { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-top: 20px; }
.cart-totals .row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14.5px; }
.cart-totals .row.total { font-size: 18px; font-weight: 600; padding-top: 14px; border-top: 1px solid var(--border); margin-top: 8px; }

.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 11px 13px;
  font: inherit;
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; }

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }

/* About / contact / legal pages */
.page-body {
  max-width: 760px;
  margin: 56px auto;
  padding: 0 32px;
}
.page-body h1 {
  font-size: 36px;
  font-weight: 500;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}
.page-body h2 {
  font-size: 22px;
  font-weight: 500;
  margin: 36px 0 12px;
}
.page-body p { color: var(--ink); margin: 0 0 14px; line-height: 1.65; }
.page-body a { color: var(--copper); text-decoration: underline; text-underline-offset: 3px; }

/* ===== Empty states ===== */
.empty {
  text-align: center;
  padding: 64px 24px;
  color: var(--muted);
}
.empty h2 { color: var(--ink); margin-bottom: 12px; }
