/* ============================================================
   UNBOXED by terdòô — stylesheet
   Palette:  ink #121110, bone #EDE6D8, brass #B8863B,
             deep amber #7A4E23, oxblood #4A1E1E (reviews only)
   Type:     Cormorant Garamond (display) + Manrope (body/UI)
   ============================================================ */

:root{
  --ink: #121110;
  --ink-soft: #1B1917;
  --ink-line: #2A2724;
  --bone: #EDE6D8;
  --bone-dim: #C9C1B2;
  --brass: #B8863B;
  --brass-bright: #D6A75A;
  --amber-deep: #7A4E23;
  --oxblood: #4A1E1E;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --edge: clamp(20px, 6vw, 64px);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

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

html {
  overflow-x: hidden;
}

body{
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
overflow-x: hidden;
}

img{ max-width: 100%; display: block; }

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

h1, h2, h3, h4{
  font-family: var(--serif);
  font-weight: 500;
  margin: 0;
  color: var(--bone);
}

p{ margin: 0; }

::selection{ background: var(--brass); color: var(--ink); }

:focus-visible{
  outline: 1.5px solid var(--brass-bright);
  outline-offset: 3px;
}

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--edge);
  padding-right: var(--edge);
}

.hairline{
  border: none;
  border-top: 1px solid var(--ink-line);
  margin: 0;
}

.eyebrow{
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--bone-dim);
  margin-bottom: 0.9rem;
}

.btn{
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--brass);
  color: var(--bone);
  background: transparent;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}
.btn:hover{ background: var(--brass); color: var(--ink); }

.btn.solid{
  background: var(--brass);
  color: var(--ink);
}
.btn.solid:hover{
  background: var(--brass-bright);
  border-color: var(--brass-bright);
}

.btn.quiet{
  border-color: var(--ink-line);
  color: var(--bone-dim);
}
.btn.quiet:hover{
  border-color: var(--brass);
  background: transparent;
  color: var(--brass-bright);
}

.btn[disabled]{
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---------------- Nav ---------------- */

.site-nav{
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(18, 17, 16, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-line);
}

.site-nav .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}


.site-nav .logo img {
  width: 50px;
  height: auto;
  display: block;
}

.nav-mark{
  display: flex;
  align-items: baseline;
  gap: 0.40rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}
.nav-mark .dot{ color: var(--brass); font-size: 1.1rem; }

.nav-links{
  display: flex;
  gap: clamp(1.1rem, 2vw, 2.1rem);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--bone-dim);
}
.nav-links a{
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after{
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--brass);
  transition: right 220ms ease;
}
.nav-links a:hover{ color: var(--bone); }
.nav-links a:hover::after{ right: 0; }

.nav-right{ display: flex; align-items: center; gap: 1.1rem; }

.bag-btn{
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--bone);
  background: none;
  border: 1px solid var(--ink-line);
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  transition: border-color 200ms ease;
}
.bag-btn:hover{ border-color: var(--brass); }
.bag-count{
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 50%;
  background: var(--brass);
  color: var(--ink);
  font-size: 0.68rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.nav-toggle{
  display: none;
  background: none;
  border: none;
  color: var(--bone);
  font-size: 1.5rem;
  cursor: pointer;
}


@media (max-width: 820px){
  .nav-links{
    position: fixed;
    inset: 76px 0 auto 0;
    background: var(--ink-soft);
    flex-direction: column;
    padding: 1.5rem var(--edge) 2rem;
    gap: 1.1rem;
    border-bottom: 1px solid var(--ink-line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease;
  }
  .nav-links.open{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-toggle{ display: block; }
}

/* ---------------- Hero ---------------- */

.hero{
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--ink-line);
}

.hero-mark{
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(48vw, 620px);
  opacity: 0.07;
  filter: grayscale(1);
  pointer-events: none;
}

.hero .wrap{
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 6rem;
  padding-bottom: 5rem;
}

.hero-heading{
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 1.02;
  max-width: 14ch;
  overflow: hidden;
}
.hero-heading span{
  display: block;
  transform: translateY(110%);
  animation: rise 900ms cubic-bezier(.2,.8,.2,1) forwards;
}
.hero-heading span:nth-child(1){ animation-delay: 120ms; }
.hero-heading span:nth-child(2){ animation-delay: 240ms; }
.hero-heading span em{
  font-style: italic;
  color: var(--brass-bright);
}

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

.hero-sub{
  margin-top: 1.8rem;
  max-width: 46ch;
  color: var(--bone-dim);
  font-size: 1.05rem;
  opacity: 0;
  animation: fadein 700ms ease forwards;
  animation-delay: 520ms;
}

@keyframes fadein{
  from{ opacity: 0; transform: translateY(6px); }
  to{ opacity: 1; transform: translateY(0); }
}

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
  opacity: 0;
  animation: fadein 700ms ease forwards;
  animation-delay: 700ms;
}

.hero-facts{
  display: flex;
  gap: clamp(1.4rem, 4vw, 3rem);
  margin-top: 4.2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ink-line);
  max-width: 640px;
  opacity: 0;
  animation: fadein 700ms ease forwards;
  animation-delay: 850ms;
}
.hero-fact b{
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--brass-bright);
  font-weight: 500;
}
.hero-fact span{
  display: block;
  font-size: 0.78rem;
  color: var(--bone-dim);
  margin-top: 0.2rem;
}

/* ============================================================
   Add these rules to your existing style.css.
   They make the product photos, bag thumbnails, hero photo,
   and logo display correctly instead of breaking the layout.
   ============================================================ */

/* Product card photos */
.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Bag panel thumbnail photos */
.bag-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}


/* ---------------- Section shell ---------------- */

section{ position: relative; }

.section-pad{
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.section-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: clamp(2.2rem, 5vw, 3.6rem);
  flex-wrap: wrap;
}

.section-head h2{
  font-size: clamp(2rem, 4vw, 2.9rem);
  max-width: 16ch;
}

.section-head p{
  max-width: 38ch;
  color: var(--bone-dim);
  font-size: 0.95rem;
}

/* ---------------- Services ---------------- */

.services{ background: var(--ink-soft); border-bottom: 1px solid var(--ink-line); }

.service-list{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink-line);
}

.service-item{
  padding: 2.2rem 1.6rem 2.2rem 0;
  border-right: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
}
.service-item:last-child{ border-right: none; }

.service-num{
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--brass);
  display: block;
  margin-bottom: 1.6rem;
}

.service-item h3{
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}

.service-item p{
  color: var(--bone-dim);
  font-size: 0.92rem;
}

@media (max-width: 900px){
  .service-list{ grid-template-columns: repeat(2, 1fr); }
  .service-item:nth-child(2n){ border-right: none; }
}
@media (max-width: 560px){
  .service-list{ grid-template-columns: 1fr; }
  .service-item{ border-right: none !important; padding-right: 0; }
}

/* ---------------- Products ---------------- */

.filter-row{
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.6rem;
}
.chip{
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  padding: 0.5rem 1rem;
  border: 1px solid var(--ink-line);
  background: transparent;
  color: var(--bone-dim);
  cursor: pointer;
  transition: all 180ms ease;
}
.chip:hover{ border-color: var(--brass); color: var(--bone); }
.chip.active{
  background: var(--brass);
  border-color: var(--brass);
  color: var(--ink);
}

.product-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
}

.product-card{
  background: var(--ink);
  padding: 0;
  display: flex;
  flex-direction: column;
}

.product-photo{
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(140% 120% at 50% 0%, rgba(184,134,59,0.12), transparent 60%),
    var(--ink-soft);
  border-bottom: 1px solid var(--ink-line);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-photo .ph-label{
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--ink-line);
  border: 1px dashed var(--ink-line);
  padding: 0.5rem 0.8rem;
  text-align: center;
}

.product-tag{
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.55rem;
  background: var(--ink);
  border: 1px solid var(--brass);
  color: var(--brass-bright);
}

.product-body{
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.product-kind{
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--bone-dim);
}

.product-body h3{
  font-size: 1.4rem;
  font-weight: 500;
}

.product-notes{
  font-size: 0.85rem;
  color: var(--bone-dim);
  flex: 1;
}

.product-foot{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.6rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--ink-line);
}

.price{
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--brass-bright);
}

.add-btn{
  background: none;
  border: none;
  color: var(--bone-dim);
  font-size: 0.8rem;
  cursor: pointer;
  position: relative;
  padding-bottom: 2px;
}
.add-btn::after{
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--brass);
  transition: right 200ms ease;
}
.add-btn:hover{ color: var(--brass-bright); }
.add-btn:hover::after{ right: 0; }

@media (max-width: 900px){
  .product-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .product-grid{ grid-template-columns: 1fr; }
}

.products-more{
  margin-top: 2.4rem;
  text-align: center;
  color: var(--bone-dim);
  font-size: 0.88rem;
}

/* ---------------- Order ---------------- */

.order{ background: var(--ink-soft); border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); }

.order-grid{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.order-steps{
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-bottom: 2.4rem;
}
.order-step{
  display: flex;
  gap: 1rem;
}
.order-step .step-mark{
  font-family: var(--serif);
  color: var(--brass);
  font-size: 1.1rem;
  min-width: 1.6rem;
}
.order-step h4{
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  font-family: var(--sans);
  font-weight: 600;
}
.order-step p{
  color: var(--bone-dim);
  font-size: 0.88rem;
}

.bag-panel{
  background: var(--ink);
  border: 1px solid var(--ink-line);
  padding: 1.8rem;
}

.bag-panel h3{
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.bag-items{
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 0.3rem;
}

.bag-empty{
  color: var(--bone-dim);
  font-size: 0.88rem;
  padding: 1.2rem 0;
}

.bag-row{
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--ink-line);
}
.bag-row .bag-thumb{
  width: 44px;
  height: 54px;
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  flex-shrink: 0;
}
.bag-row .bag-info{ flex: 1; min-width: 0; }
.bag-row .bag-info b{
  display: block;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bag-row .bag-info span{
  font-size: 0.78rem;
  color: var(--bone-dim);
}
.qty-control{
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.qty-control button{
  width: 22px; height: 22px;
  border: 1px solid var(--ink-line);
  background: none;
  color: var(--bone);
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
}
.qty-control button:hover{ border-color: var(--brass); color: var(--brass-bright); }
.bag-remove{
  background: none;
  border: none;
  color: var(--bone-dim);
  font-size: 0.75rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.bag-remove:hover{ color: var(--brass-bright); }

.bag-summary{
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--ink-line);
}
.bag-summary-row{
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--bone-dim);
  margin-bottom: 0.5rem;
}
.bag-summary-row.total{
  color: var(--bone);
  font-family: var(--serif);
  font-size: 1.25rem;
  margin-top: 0.8rem;
}
.bag-summary-row.total b{ color: var(--brass-bright); font-weight: 500; }

.order-form{
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.order-form input, .order-form textarea{
  width: 100%;
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 0.88rem;
  padding: 0.7rem 0.85rem;
  resize: vertical;
}
.order-form input::placeholder, .order-form textarea::placeholder{ color: var(--bone-dim); }
.order-form input:focus, .order-form textarea:focus{ border-color: var(--brass); outline: none; }

.bag-panel .btn{ width: 100%; justify-content: center; margin-top: 1rem; }

.form-note{
  font-size: 0.76rem;
  color: var(--bone-dim);
  margin-top: 0.7rem;
}

@media (max-width: 900px){
  .order-grid{ grid-template-columns: 1fr; }
}

/* ---------------- Reviews ---------------- */

.reviews{ position: relative; }
.reviews::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(74,30,30,0.12));
  pointer-events: none;
}

.review-track{
  display: flex;
  gap: 1.4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  margin: 0 calc(var(--edge) * -1);
  padding-left: var(--edge);
  padding-right: var(--edge);
  scrollbar-width: thin;
  scrollbar-color: var(--ink-line) transparent;
}

.review-card{
  scroll-snap-align: start;
  flex: 0 0 min(340px, 82vw);
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-stars{ color: var(--brass); font-size: 0.9rem; letter-spacing: 0.15em; }

.review-quote{
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.5;
  font-style: italic;
  color: var(--bone);
}

.review-who{
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: auto;
}
.review-avatar{
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ink-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--brass-bright);
}
.review-who b{ display: block; font-size: 0.86rem; font-weight: 600; }
.review-who span{ font-size: 0.76rem; color: var(--bone-dim); }

/* ---------------- Visit / map callout ---------------- */

.visit{
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
}
.visit-inner{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.visit-map{
  aspect-ratio: 16/11;
  background:
    repeating-linear-gradient(0deg, var(--ink-line) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, var(--ink-line) 0 1px, transparent 1px 42px),
    var(--ink-soft);
  border: 1px solid var(--ink-line);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.visit-map .pin{
  width: 14px; height: 14px;
  background: var(--brass);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 0 0 6px rgba(184,134,59,0.16);
}
.visit-details{ display: flex; flex-direction: column; gap: 1.4rem; }
.visit-details .addr{ font-family: var(--serif); font-size: 1.5rem; }
.visit-details .hours{ color: var(--bone-dim); font-size: 0.9rem; }
.visit-details .hours div{ display: flex; justify-content: space-between; max-width: 280px; padding: 0.35rem 0; border-bottom: 1px solid var(--ink-line); }

@media (max-width: 860px){
  .visit-inner{ grid-template-columns: 1fr; }
}

/* ---------------- Footer ---------------- */

footer{ background: var(--ink-soft); }
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 2.5rem;
  padding-top: 4rem;
  padding-bottom: 3rem;
}
.footer-brand .nav-mark{ margin-bottom: 1rem; }
.footer-brand p{ color: var(--bone-dim); font-size: 0.88rem; max-width: 34ch; }
.footer-col h5{
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--bone-dim);
  margin-bottom: 1rem;
}
.footer-col ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.65rem; font-size: 0.9rem; }
.footer-col a:hover{ color: var(--brass-bright); }
.footer-bottom{
  border-top: 1px solid var(--ink-line);
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.76rem;
  color: var(--bone-dim);
}

@media (max-width: 760px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px){
  .footer-grid{ grid-template-columns: 1fr; }
}

/* ---------------- Toast ---------------- */

.toast{
  position: fixed;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  background: var(--bone);
  color: var(--ink);
  padding: 0.85rem 1.4rem;
  font-size: 0.85rem;
  border-radius: 2px;
  z-index: 90;
  transition: transform 320ms cubic-bezier(.2,.8,.2,1);
}
.toast.show{ transform: translateX(-50%) translateY(0); }

/* ---------------- Bag drawer ---------------- */

.drawer-overlay{
  position: fixed;
  inset: 0;
  background: rgba(10,9,8,0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
  z-index: 80;
}
.drawer-overlay.open{ opacity: 1; pointer-events: auto; }

/* Reveal-on-scroll */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.in{ opacity: 1; transform: translateY(0); }
