:root {
  --sand: #f7efe4;
  --ink: #1f1914;
  --muted: #74685c;
  --sun: #e38b4a;
  --white: #fffaf3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", sans-serif;
}

h1, h2, h3, .navbar-brand { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }

.site-nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  background: transparent;
  padding: 0.9rem 0;
}
.navbar-brand { font-size: 2rem; color: var(--white) !important; }
.nav-link { color: rgba(255,250,243,.84) !important; font-weight: 600; }
.navbar-toggler { filter: invert(1); border: 0; }
.btn-ink, .btn-light, .notes-form button, .add-btn, .checkout-btn {
  border-radius: 999px;
  font-weight: 700;
}
.btn-ink { background: var(--white); color: var(--ink); }
.btn-ink:hover { background: #ffe9d2; color: var(--ink); }

.hero { position: relative; min-height: 92vh; }
.carousel, .carousel-inner, .carousel-item, .carousel-item img {
  min-height: 92vh;
}
.carousel-item img { width: 100%; object-fit: cover; filter: brightness(0.72); }
.hero-copy {
  position: absolute;
  left: 8%;
  bottom: 10%;
  max-width: 16ch;
  color: var(--white);
}
.hero-copy p { letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.75rem; font-weight: 700; }
h1 { font-size: clamp(3.4rem, 8vw, 6.4rem); line-height: 0.92; }

.lookbook, .shop, .story, .notes { padding: 5rem 0; }
.cat-card { position: relative; overflow: hidden; border-radius: 28px; }
.cat-card img { width: 100%; height: 420px; object-fit: cover; transition: transform 0.45s ease; }
.cat-card:hover img { transform: scale(1.04); }
.cat-card h3 {
  position: absolute;
  left: 1.1rem;
  bottom: 1rem;
  margin: 0;
  color: var(--white);
  font-size: 2.2rem;
}

.eyebrow { color: var(--sun); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
h2 { font-size: clamp(2.3rem, 5vw, 4rem); }
.filters { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter {
  border: 1px solid rgba(31, 25, 20, 0.14);
  background: var(--white);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
}
.filter.active, .filter:hover { background: var(--ink); color: var(--white); }

.product-card { background: var(--white); border-radius: 24px; overflow: hidden; height: 100%; }
.product-card img { width: 100%; height: 280px; object-fit: cover; }
.product-card .body { padding: 1.1rem 1.15rem 1.3rem; }
.product-card p { color: var(--sun); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.2rem; }
.product-card h3 { font-size: 1.5rem; }
.product-card .desc { color: var(--muted); }
.price-row { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; }
.add-btn { border: 0; background: #f3e2cf; padding: 0.4rem 0.8rem; }
.add-btn:hover { background: var(--ink); color: var(--white); }

.story img { width: 100%; height: 520px; object-fit: cover; border-radius: 32px; }
.story p:not(.eyebrow) { color: var(--muted); line-height: 1.75; }

.notes-card {
  background: #1f1914;
  color: var(--white);
  border-radius: 36px;
  padding: clamp(2rem, 6vw, 4.2rem);
  text-align: center;
}
.notes-card .eyebrow { color: #f0b27a; }
.notes-card p:not(.eyebrow) { color: rgba(255,250,243,.72); max-width: 32rem; margin: 0 auto 1.4rem; }
.notes-form { display: flex; gap: 0.7rem; max-width: 480px; margin: 0 auto; }
.notes-form input {
  flex: 1;
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.1rem;
  outline: 0;
}
.notes-form button { border: 0; background: var(--sun); color: #fff; padding: 0.9rem 1.2rem; }
.success { font-family: "Instrument Serif", serif; font-size: 1.5rem; }

footer { padding: 0 0 2.2rem; color: var(--muted); }
.offcanvas { background: var(--sand); }
.bag-line { display: flex; justify-content: space-between; padding: 0.85rem 0; border-bottom: 1px solid rgba(31,25,20,.12); }
.bag-total { display: flex; justify-content: space-between; margin: 1.1rem 0; }
.checkout-btn { width: 100%; border: 0; background: var(--ink); color: var(--white); padding: 0.9rem; }
.empty-bag { min-height: 42vh; display: grid; place-content: center; text-align: center; gap: 0.7rem; }
.empty-bag button { border: 0; background: transparent; color: var(--sun); font-weight: 700; }

@media (max-width: 767.98px) {
  .hero-copy { left: 6%; right: 6%; max-width: none; }
  .story img { height: 360px; }
  .notes-form { flex-direction: column; }
  .navbar-brand, .nav-link { color: var(--ink) !important; }
  .site-nav { position: sticky; top: 0; background: var(--sand); }
  .navbar-toggler { filter: none; }
  .btn-ink { background: var(--ink); color: var(--white); }
}
