/* ==========================================================================
   AHINSA TRADERS — brand stylesheet
   Tokens: ink #251E15, walnut #5C4630, gold #D9A431, saffron #A83D24, almond #F8F2E4
   ========================================================================== */

:root{
  --ink:        #251E15;
  --ink-soft:   #3A2F22;
  --walnut:     #5C4630;
  --gold:       #D9A431;
  --gold-deep:  #B8842198;
  --gold-solid: #C9932A;
  --saffron:    #A83D24;
  --almond:     #F8F2E4;
  --paper:      #FFFDF7;
  --line:       #E4D8BE;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Libre Franklin", "Segoe UI", sans-serif;

  --container-pad: clamp(1.25rem, 5vw, 4rem);
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--almond);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a{ text-decoration: none; }

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

h1,h2,h3,h4,.font-display{
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.01em;
}

.eyebrow{
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--saffron);
}

.eyebrow.on-dark{ color: var(--gold); }

.container-wide{
  max-width: 1320px;
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* ---------------------------------------------------------------- Focus */
a:focus-visible, button:focus-visible{
  outline: 3px solid var(--saffron);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------- Nav */
.site-nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.site-nav .container-wide{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-nav.scrolled{
  background: rgba(37,30,21,0.96);
  padding: 0.65rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  backdrop-filter: blur(6px);
}
.nav-brand{
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: #fff;
}
.nav-brand img{
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}
.nav-brand .sub{
  display:block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 600;
}
.nav-links{
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a{
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after{
  content:"";
  position: absolute;
  left:0; bottom:0;
  width:0; height:2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-links a:hover::after{ width: 100%; }
.nav-links a:hover{ color: #fff; }

.nav-cta{
  border: 1.5px solid var(--gold);
  color: var(--gold) !important;
  padding: 0.5rem 1.1rem;
  border-radius: 2px;
  font-size: 0.78rem !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.nav-cta:hover{ background: var(--gold); color: var(--ink) !important; }
.nav-cta::after{ display:none; }

.nav-toggle{
  display:none;
  background:none;
  border:none;
  color:#fff;
  font-size:1.5rem;
}

@media (max-width: 991px){
  .nav-links{
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--ink);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem var(--container-pad);
    transform: translateX(100%);
    transition: transform 0.4s ease;
    gap: 1.6rem;
  }
  .nav-links.open{ transform: translateX(0); }
  .nav-toggle{ display:block; }
}

/* ---------------------------------------------------------------- Hero */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background: #000;
}
.hero-media{
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-media img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 65%;
  transform: scale(1.06);
  animation: heroZoom 16s ease-out forwards;
}
@keyframes heroZoom{ to{ transform: scale(1); } }

.hero-media::after{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(20,15,8,0.35) 0%, rgba(20,15,8,0.45) 35%, rgba(18,13,7,0.92) 92%),
    linear-gradient(90deg, rgba(15,11,6,0.55) 0%, rgba(15,11,6,0.05) 55%);
}

.hero-content{
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  padding-top: 9rem;
  color: #fff;
}

.hero-kicker{
  display:flex;
  align-items:center;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}
.hero-kicker .rule{
  width: 46px; height: 1px;
  background: var(--gold);
  display:inline-block;
}

.hero h1{
  color: #fff;
  font-weight: 600;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.98;
  margin-bottom: 1.1rem;
}
.hero h1 span{
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
}

.hero-tagline{
  max-width: 640px;
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  color: rgba(255,255,255,0.88);
  margin-bottom: 2.4rem;
  font-weight: 300;
}

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.6rem;
}

.btn-brand{
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--gold);
  padding: 0.85rem 1.7rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.btn-brand:hover{ background: transparent; color: var(--gold); }

.btn-ghost{
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  padding: 0.85rem 1.7rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.25s ease;
}
.btn-ghost:hover{ background: #fff; color: var(--ink); border-color: #fff; }

/* --- signage strip (signature element: recreated shop signboard pills) --- */
.signage-strip{
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.7rem;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 1.6rem;
}
.signage-pill{
  border: 1px solid;
  padding: 0.42rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  white-space: nowrap;
}
.signage-pill:nth-child(6n+1){ border-color: var(--gold); color: var(--gold); }
.signage-pill:nth-child(6n+2){ border-color: #C77A4B; color: #E39A6B; }
.signage-pill:nth-child(6n+3){ border-color: var(--gold); color: var(--gold); }
.signage-pill:nth-child(6n+4){ border-color: #C77A4B; color: #E39A6B; }
.signage-pill:nth-child(6n+5){ border-color: var(--gold); color: var(--gold); }
.signage-pill:nth-child(6n+6){ border-color: #C77A4B; color: #E39A6B; }

/* ---------------------------------------------------------------- Ledger / trust strip */
.ledger-strip{
  background: var(--ink);
  color: var(--almond);
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(217,164,49,0.25);
}
.ledger-strip .container-wide{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  align-items: center;
  justify-content: space-between;
}
.ledger-item{
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: rgba(248,242,228,0.82);
}
.ledger-item strong{
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold);
  font-weight: 600;
}
.ledger-divider{
  width: 1px; height: 22px;
  background: rgba(217,164,49,0.3);
}
@media (max-width: 767px){ .ledger-divider{ display:none; } }

/* ---------------------------------------------------------------- Section basics */
section{ position: relative; }
.section-pad{ padding: clamp(4rem, 9vw, 8rem) 0; }
.bg-paper{ background: var(--paper); }
.bg-almond{ background: var(--almond); }
.bg-ink{ background: var(--ink); color: var(--almond); }

.section-head{
  max-width: 680px;
  margin-bottom: 3.2rem;
}
.section-head h2{
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 600;
  margin: 0.6rem 0 0;
  line-height: 1.05;
}
.bg-ink .section-head h2{ color: #fff; }

.eyebrow-row{
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.eyebrow-row .rule{
  width: 32px; height: 1px;
  background: var(--saffron);
}

/* ---------------------------------------------------------------- About */
.about-figure{
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(37,30,21,0.45);
}
.about-figure img{ width:100%; height:100%; object-fit:cover; display:block; }
.about-figure .tag{
  position: absolute;
  bottom: 1.2rem; left: 1.2rem;
  background: rgba(37,30,21,0.85);
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border-radius: 2px;
}
.about-copy p{
  font-size: 1.03rem;
  line-height: 1.75;
  color: var(--walnut);
}
.about-list{
  list-style: none;
  padding: 0; margin: 1.8rem 0 0;
  display: grid;
  gap: 0.9rem;
}
.about-list li{
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.about-list li::before{
  content: "";
  width: 7px; height: 7px;
  margin-top: 0.5rem;
  background: var(--saffron);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------------------------------------------------------------- Category cards */
.cat-card{
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  height: 320px;
  isolation: isolate;
}
.cat-card img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.cat-card::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(37,30,21,0) 40%, rgba(20,14,8,0.92) 100%);
  z-index: 1;
}
.cat-card:hover img{ transform: scale(1.08); }
.cat-body{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1.5rem;
  color: #fff;
}
.cat-num{
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  display:block;
  margin-bottom: 0.35rem;
}
.cat-body h3{
  color: #fff;
  font-size: 1.35rem;
  margin: 0 0 0.3rem;
}
.cat-body p{
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

/* ---------------------------------------------------------------- Own brand feature */
.brand-feature{
  background: var(--ink);
  border-radius: 8px;
  overflow: hidden;
  color: var(--almond);
}
.brand-feature .bf-media{
  position: relative;
  min-height: 340px;
}
.brand-feature .bf-media img{
  position:absolute; inset:0;
  width:100%; height:100%; object-fit:cover;
}
.brand-feature .bf-copy{
  padding: clamp(2.2rem, 4vw, 3.6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.brand-feature .bf-logo{
  width: 92px;
  margin-bottom: 1.4rem;
  border-radius: 50%;
  border: 2px solid var(--gold);
}
.brand-feature h2{
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}
.brand-feature p{
  color: rgba(248,242,228,0.78);
  line-height: 1.75;
  font-size: 0.98rem;
}
.bf-tags{
  display:flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 1.4rem;
}
.bf-tags span{
  border: 1px solid rgba(217,164,49,0.5);
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
}

/* ---------------------------------------------------------------- Gallery */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 0.6rem;
}
.gallery-grid figure{
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  position: relative;
}
.gallery-grid img{
  width:100%; height:100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-grid figure:hover img{ transform: scale(1.07); }
.gallery-grid figure figcaption{
  position: absolute; left:0; right:0; bottom:0;
  background: linear-gradient(0deg, rgba(20,14,8,0.85), transparent);
  color:#fff; font-size:0.72rem; letter-spacing:0.05em;
  padding: 0.6rem 0.8rem 0.5rem;
  opacity:0; transition: opacity 0.3s ease;
}
.gallery-grid figure:hover figcaption{ opacity: 1; }

.gi-a{ grid-column: span 2; grid-row: span 2; }
.gi-b{ grid-column: span 2; grid-row: span 1; }
.gi-c{ grid-column: span 1; grid-row: span 1; }
.gi-d{ grid-column: span 1; grid-row: span 2; }

@media (max-width: 900px){
  .gallery-grid{ grid-template-columns: repeat(2,1fr); grid-auto-rows: 170px; }
  .gi-a{ grid-column: span 2; grid-row: span 2; }
  .gi-d{ grid-row: span 1; }
}

/* ---------------------------------------------------------------- Locations */
.loc-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.9rem;
  height: 100%;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.loc-card:hover{
  box-shadow: 0 18px 40px -20px rgba(37,30,21,0.35);
  transform: translateY(-3px);
}
.loc-tag{
  display:inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--saffron);
  border: 1px solid var(--saffron);
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.loc-card h3{
  font-size: 1.28rem;
  margin-bottom: 0.6rem;
}
.loc-card address{
  font-style: normal;
  color: var(--walnut);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.map-frame{
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  filter: sepia(8%) saturate(92%);
}
.map-frame iframe{ width:100%; height: 100%; display:block; border:0; }

/* ---------------------------------------------------------------- CTA band */
.cta-band{
  background: linear-gradient(120deg, var(--ink) 0%, #382C1D 100%);
  color: #fff;
  text-align: center;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}
.cta-band h2{
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.cta-band p{
  color: rgba(248,242,228,0.75);
  max-width: 560px;
  margin: 0 auto 2.2rem;
}

/* ---------------------------------------------------------------- Footer */
.site-footer{
  background: #1C1610;
  color: rgba(248,242,228,0.7);
  padding: 3.5rem 0 1.6rem;
  font-size: 0.9rem;
}
.footer-brand{
  display:flex; align-items:center; gap:0.8rem;
  font-family: var(--font-display);
  color: #fff; font-size: 1.3rem;
  margin-bottom: 1rem;
}
.footer-brand img{ height:38px; width:38px; border-radius:50%; border:2px solid var(--gold); }
.site-footer h4{
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.site-footer ul{ list-style:none; padding:0; margin:0; display:grid; gap:0.6rem; }
.site-footer a{ color: rgba(248,242,228,0.7); }
.site-footer a:hover{ color: var(--gold); }
.footer-bottom{
  border-top: 1px solid rgba(217,164,49,0.15);
  margin-top: 2.6rem;
  padding-top: 1.5rem;
  display:flex; flex-wrap:wrap; gap:0.8rem;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(248,242,228,0.45);
}

/* ---------------------------------------------------------------- Reveal on scroll */
.reveal{
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------------- Utilities */
.text-saffron{ color: var(--saffron); }
.text-gold{ color: var(--gold); }
