@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --clay: #1a1a1a;
  --clay-dark: #000000;
  --cream: #ffffff;
  --cream-deep: #f2f1ee;
  --ink: #141414;
  --moss: #6b7a52;
  --line: rgba(20,20,20,0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

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

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  max-width: 1400px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}
.brand span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
nav ul {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
nav a {
  position: relative;
  padding-bottom: 4px;
  color: #555;
}
nav a.active { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 26px; }
.cart-link {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #555;
}
.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: 13px 28px;
  border-radius: 0;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s ease, opacity 0.2s ease;
}
.btn:hover { background: #000; opacity: 0.85; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  min-height: 640px;
}
.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 70px 50px 50px;
  border-right: 1px solid var(--line);
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #777;
  font-weight: 600;
  margin-bottom: 18px;
  display: block;
}
.hero h1 {
  font-size: 3.4rem;
  line-height: 1;
  margin-bottom: 18px;
  font-weight: 700;
}
.hero h1 em { font-style: normal; color: var(--ink); }
.hero p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  max-width: 360px;
  margin-bottom: 0;
  text-transform: none;
}
.hero-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 28px;
}
.hero-meta .price {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: #555;
}
.hero-ctas { display: flex; gap: 14px; margin-top: 28px; }
.hero-photo {
  position: relative;
  overflow: hidden;
  background: var(--cream-deep);
}
.hero-photo img { width: 100%; height: 100%; min-height: 640px; object-fit: cover; object-position: center; display: block; }
.hero-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255,255,255,0.92);
  padding: 10px 16px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #333;
}

/* Section heading */
.section-head { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.section-head .eyebrow { display: block; text-align: center; }
.section-head h2 { font-size: 2.1rem; margin-bottom: 14px; }
.section-head p { color: #555; line-height: 1.6; margin: 0; text-transform: none; }

section { padding: 100px 0; }
section.alt { background: var(--cream-deep); }

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-grid a, .gallery-grid figure { margin: 0; }
.g-item {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 1/1;
  display: block;
  background: var(--cream-deep);
  cursor: pointer;
}
.g-item img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: filter 0.3s ease;
}
.g-item:hover img { filter: brightness(1.04); }
.g-item .cap {
  position: absolute; inset: auto 0 0 0;
  padding: 16px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(20,15,12,0.78));
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.3;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.g-item:hover .cap { opacity: 1; }

.gallery-more { text-align: center; margin-top: 48px; }

/* Featured row / shop teaser */
.shop-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 50px;
}
.shop-card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--line);
}
.shop-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center; display: block; background: var(--cream-deep); }
.shop-card .meta { padding: 16px 18px 20px; }
.shop-card .meta span { font-size: 0.72rem; color: #888; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.shop-card .meta h3 { font-size: 0.95rem; margin-top: 6px; text-transform: none; font-weight: 600; }

/* Three-up info cards (events/popups/retail) */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.info-card {
  background: #fff;
  padding: 36px 30px;
  border-radius: 0;
  border: 1px solid var(--line);
}
.info-card .icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cream-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.2rem;
}
.info-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.info-card p { color: #555; line-height: 1.6; font-size: 0.92rem; margin-bottom: 16px; text-transform: none; }
.info-card a { font-weight: 600; color: var(--ink); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* About page */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 70px;
  align-items: start;
}
.about-photo {
  position: relative;
  border-radius: 0;
  overflow: hidden;
}
.about-photo img { width: 100%; display: block; }
.about-copy .eyebrow { margin-bottom: 14px; }
.about-copy h1 { font-size: 2.3rem; margin-bottom: 22px; line-height: 1.1; }
.about-copy p { font-size: 0.98rem; line-height: 1.7; color: #555; margin-bottom: 20px; text-transform: none; }
.about-quote {
  border-left: 2px solid var(--ink);
  padding-left: 22px;
  font-family: 'Space Grotesk', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  margin: 30px 0;
  text-transform: none;
}
.process-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.process-tags span {
  background: var(--cream-deep);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 0;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}
.contact-side h2 { font-size: 1.9rem; margin-bottom: 16px; }
.contact-side p { color: #555; line-height: 1.65; margin-bottom: 28px; text-transform: none; }
.contact-links { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contact-links a {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600;
  font-size: 0.92rem;
}
.contact-links .dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
}
.contact-loc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 24px 26px;
}
.contact-loc h3 { font-size: 0.85rem; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-loc p { margin: 0; font-size: 0.9rem; color: #555; line-height: 1.5; }

form.kkc-form {
  background: #fff;
  padding: 40px;
  border-radius: 0;
  border: 1px solid var(--line);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; }
.field input, .field select, .field textarea {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--clay);
}
.kkc-form button { width: 100%; margin-top: 6px; border: none; cursor: pointer; font-size: 0.95rem; }

/* Footer */
footer {
  background: var(--ink);
  color: #efe5d4;
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; object-position: center; }
.footer-brand span { font-family: 'Space Grotesk', sans-serif; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; }
footer p { color: rgba(239,229,212,0.65); font-size: 0.9rem; line-height: 1.6; max-width: 320px; text-transform: none; }
footer h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; color: rgba(239,229,212,0.85); }
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
footer ul a { color: rgba(239,229,212,0.75); font-size: 0.92rem; }
footer ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(239,229,212,0.15);
  padding-top: 22px;
  font-size: 0.82rem;
  color: rgba(239,229,212,0.5);
  text-align: center;
}

@media (max-width: 900px) {
  nav { display: none; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.3rem; }
  .gallery-grid, .shop-strip { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---- Animation ---- */

/* Scroll reveal: elements start hidden/offset, JS adds .in-view on intersect */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* Each reveal-item is observed individually so tall grids (many rows) don't
   need their entire bounding box to clear the intersection threshold. */
.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-item.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-item:nth-child(4n+1) { transition-delay: 0s; }
.reveal-item:nth-child(4n+2) { transition-delay: 0.08s; }
.reveal-item:nth-child(4n+3) { transition-delay: 0.16s; }
.reveal-item:nth-child(4n+4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-item, .reveal.in-view, .reveal-item.in-view {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Hover polish */
.btn, .btn-outline { transition: background 0.25s ease, color 0.25s ease, opacity 0.25s ease, transform 0.2s ease; }
.btn:active, .btn-outline:active { transform: scale(0.97); }

nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -6px;
  height: 1px;
  background: var(--ink);
  transition: right 0.3s ease;
}
nav a:hover::after { right: 0; }
nav a.active::after { right: 0; }

.shop-card { transition: transform 0.35s ease, box-shadow 0.35s ease; }
.shop-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px -22px rgba(20,20,20,0.35); }
.shop-card img { transition: transform 0.5s ease; }
.shop-card:hover img { transform: scale(1.04); }

.info-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.info-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -22px rgba(20,20,20,0.3); }

.cart-link {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-family: inherit;
  appearance: none;
}
.cart-link:hover { color: var(--ink); }

/* Cart drawer */
.cart-backdrop {
  position: fixed; inset: 0;
  background: rgba(20,20,20,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 90;
}
.cart-backdrop.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 420px; max-width: 92vw;
  background: #fff;
  z-index: 91;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}
.cart-drawer-head h3 { font-size: 1.1rem; }
.cart-close {
  background: none; border: none; font-size: 1.6rem; line-height: 1; cursor: pointer;
  color: var(--ink);
}

.cart-drawer-body { flex: 1; overflow-y: auto; padding: 12px 28px; }
.cart-empty { color: #777; font-size: 0.95rem; padding: 30px 0; text-transform: none; }

.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr 24px;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  position: relative;
}
.cart-line-img { position: relative; overflow: hidden; width: 72px; height: 72px; background: var(--cream-deep); }
.cart-line img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  background: var(--cream-deep);
}
.cart-line-info h4 { font-size: 0.92rem; font-weight: 600; text-transform: none; margin-bottom: 4px; }
.cart-line-price { font-size: 0.85rem; color: #777; display: block; margin-bottom: 10px; }
.cart-qty { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; }
.qty-btn {
  width: 24px; height: 24px;
  border: 1px solid var(--line);
  background: #fff; cursor: pointer;
  font-size: 0.9rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.qty-btn:hover { background: var(--ink); color: #fff; }
.cart-remove {
  background: none; border: none; cursor: pointer;
  font-size: 1.2rem; color: #999; line-height: 1;
}
.cart-remove:hover { color: var(--ink); }

.cart-drawer-footer { padding: 20px 28px 28px; border-top: 1px solid var(--line); }
.cart-subtotal {
  display: flex; justify-content: space-between;
  font-size: 0.95rem; font-weight: 600;
  margin-bottom: 16px;
}
.cart-checkout-btn { display: block; width: 100%; text-align: center; box-sizing: border-box; }

/* Shop product grid */
.product-card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.product-img-wrap { position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--cream-deep); }
.product-card img { width: 100%; height: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center; display: block; background: var(--cream-deep); }
.product-card .meta { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.product-card .meta span.cat { font-size: 0.72rem; color: #888; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.product-card .meta h3 { font-size: 0.95rem; margin-top: 6px; text-transform: none; font-weight: 600; }
.product-card .price { font-size: 0.9rem; color: #555; margin-top: 8px; margin-bottom: 16px; }
.product-card .add-btn { margin-top: auto; width: 100%; border: none; cursor: pointer; }

/* Checkout page */
.checkout-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; }
.order-line { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.order-line-img { position: relative; overflow: hidden; width: 56px; height: 56px; background: var(--cream-deep); flex-shrink: 0; }
.order-line img { width: 100%; height: 100%; object-fit: cover; object-position: center; background: var(--cream-deep); }
.order-line .name { font-size: 0.9rem; font-weight: 600; text-transform: none; }
.order-line .qty { font-size: 0.82rem; color: #777; }
.order-line .line-total { margin-left: auto; font-size: 0.9rem; }
.order-subrow { display: flex; justify-content: space-between; font-size: 0.88rem; color: #555; padding-top: 14px; text-transform: none; }
.order-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.05rem; padding-top: 16px; margin-top: 4px; border-top: 1px solid var(--line); }
.confirm-box { text-align: center; padding: 60px 20px; }
.confirm-box h2 { margin-bottom: 14px; }
.confirm-box p { color: #555; text-transform: none; }
.confirm-order-number { font-size: 0.85rem; color: #888; letter-spacing: 0.06em; margin-top: 10px; }

.checkout-subhead {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin: 8px 0 20px;
}
.checkout-secure-note {
  font-size: 0.78rem;
  color: #888;
  margin-top: 14px;
  text-transform: none;
  text-align: center;
}

/* Gallery lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(15,14,13,0.92);
  display: flex; align-items: center; justify-content: center;
  z-index: 200;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease;
  padding: 40px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-figure { margin: 0; max-width: 90vw; max-height: 90vh; text-align: center; }
.lightbox-img {
  max-width: 90vw; max-height: 80vh;
  width: auto; height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.lightbox-caption {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  margin-top: 18px;
  text-transform: none;
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.lightbox-close:hover, .lightbox-nav:hover { opacity: 0.6; }
.lightbox-close {
  top: 24px; right: 32px;
  font-size: 2rem;
  line-height: 1;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  line-height: 1;
  padding: 0 14px;
}
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

@media (max-width: 700px) {
  .lightbox { padding: 20px; }
  .lightbox-nav { font-size: 2.2rem; }
}
