/* =============================================
   Noam Jewellery — Stylesheet
   Kogecha palette · Heebo · RTL · Mobile-first
   ============================================= */

/* ---------- Design Tokens ---------- */
:root {
  --bg:         #3E2723;  /* Kogecha — primary background */
  --bg-soft:    #48302B;  /* subtle lift */
  --bg-deep:    #2E1D1A;  /* header / footer / contrast wells */
  --text:       #F5EBE0;  /* cream — primary (~11:1 on bg) */
  --text-mute:  #C9A883;  /* muted tan — body copy (~5.6:1) */
  --brown:      #8B6F47;  /* small labels, copyright */
  --brown-deep: #6D4C41;  /* hairlines, borders */
  --aka:        #D32F2F;  /* Aka red — CTA + active nav */
  --shinku:     #9B2C2C;  /* hover / pressed state */
  --gold:       #C9A55F;  /* sparing accent */

  --sans: 'Heebo', system-ui, sans-serif;
  --transition: 160ms ease-in-out;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul { list-style: none; padding: 0; margin: 0; }
p  { margin: 0; }
h2 { margin: 0; }
a  { color: inherit; text-decoration: none; }

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

/* ---------- Focus ---------- */
*:focus { outline: none; }
*:focus-visible {
  outline: 2px solid var(--aka);
  outline-offset: 3px;
  border-radius: 1px;
}

/* =============================================
   WORDMARK
   ============================================= */
.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  font-family: var(--sans);
}
.wordmark__noam {
  font-weight: 900;
  color: var(--text);
  letter-spacing: 1.5px;
}
.wordmark__jewellery {
  font-weight: 500;
  color: var(--aka);
}

/* sm — mobile header */
.wordmark--sm             { gap: 1px; }
.wordmark--sm .wordmark__noam      { font-size: 18px; }
.wordmark--sm .wordmark__jewellery { font-size: 9px; letter-spacing: 2px; }

/* md — desktop header */
.wordmark--md             { gap: 2px; }
.wordmark--md .wordmark__noam      { font-size: 26px; }
.wordmark--md .wordmark__jewellery { font-size: 10px; letter-spacing: 3px; }

/* lg — footer */
.wordmark--lg             { gap: 3px; }
.wordmark--lg .wordmark__noam      { font-size: 32px; }
.wordmark--lg .wordmark__jewellery { font-size: 11px; letter-spacing: 4px; }

.wordmark-link { text-decoration: none; display: inline-flex; }

/* =============================================
   ICON BUTTON
   ============================================= */
.icon-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: color var(--transition);
}
.icon-btn:hover { color: var(--text-mute); }

.badge {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--aka);
  color: var(--text);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* =============================================
   MOBILE HEADER
   ============================================= */
.mobile-header {
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--brown-deep);
  background: var(--bg-deep);
  position: sticky;
  top: 0;
  z-index: 100;
}

.hamburger {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 1px;
}

.mobile-wordmark {
  display: flex;
  justify-content: center;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Desktop header hidden on mobile */
.desktop-header { display: none; }

/* =============================================
   DRAWER (mobile slide-in from right)
   ============================================= */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(280px, 85vw);
  height: 100%;
  background: var(--bg-deep);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  padding: 16px 20px 32px;
  border-left: 1px solid var(--brown-deep);
}
.drawer--open { transform: translateX(0); }

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.drawer-overlay--visible {
  opacity: 1;
  pointer-events: auto;
}

.drawer__header {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 28px;
}
.drawer__close {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
}
.drawer__link {
  display: block;
  padding: 16px 4px;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--brown-deep);
  transition: color var(--transition);
}
.drawer__link:hover         { color: var(--text-mute); }
.drawer__link--active       { color: var(--aka); }

/* =============================================
   MAIN — reset from any browser defaults
   ============================================= */
main { margin: 0; padding: 0; }

/* =============================================
   LABEL-GOLD (small uppercase accent text)
   ============================================= */
.label-gold {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--gold);
  font-weight: 500;
  margin: 0;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  padding: 56px 24px 64px;
  text-align: center;
}

.hero__eyebrow { margin-bottom: 24px; }

.hero__mark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  gap: 8px;
  margin-bottom: 28px;
}
.hero__noam {
  font-family: var(--sans);
  font-weight: 900;
  font-size: 84px;
  letter-spacing: 2px;
  color: var(--text);
}
.hero__jewellery {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 10px;
  color: var(--aka);
}

.hero__copy {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-mute);
  margin: 0 auto 32px;
  max-width: 300px;
}

.btn-primary {
  min-height: 52px;
  padding: 0 36px;
  background: var(--aka);
  color: var(--text);
  border: none;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  display: block;
  transition: background var(--transition);
}
.btn-primary:hover  { background: var(--shinku); }
.btn-primary:active { background: var(--shinku); }

.gold-rule {
  width: 36px;
  height: 1px;
  background: var(--gold);
  margin: 40px auto 0;
  opacity: 0.85;
}

/* =============================================
   SECTION LABEL
   ============================================= */
.section-label {
  padding: 0 24px 24px;
  text-align: center;
}
.section-label .label-gold {
  font-size: 12px;
  letter-spacing: 5px;
}

/* =============================================
   CATEGORY GRID
   ============================================= */
.categories { padding: 0 12px 56px; }

.categories__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cat-tile {
  position: relative;
  display: block;
  height: 240px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  background: var(--bg-soft);
}
.cat-tile:hover .cat-tile__he { opacity: 0.85; }

.cat-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(46, 29, 26, 0.80) 0%,
    rgba(46, 29, 26, 0.30) 40%,
    rgba(46, 29, 26, 0.00) 70%
  );
  pointer-events: none;
}

.cat-tile__labels {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 20px;
  padding: 0 16px;
  text-align: right;
  pointer-events: none;
}
.cat-tile__he {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: 0.5px;
  transition: opacity var(--transition);
}
.cat-tile__en {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10px;
  color: var(--aka);
  letter-spacing: 2.5px;
  margin-top: 6px;
}

/* =============================================
   BRAND PROMISE — desktop only
   ============================================= */
.brand-promise { display: none; }

/* =============================================
   STUDIO TEASER
   ============================================= */
.studio-teaser {
  padding: 48px 24px 56px;
  border-top: 1px solid var(--brown-deep);
  background: var(--bg-deep);
}

.studio-teaser .label-gold { margin-bottom: 14px; }

.studio-teaser__heading {
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 16px;
  color: var(--text);
}
.studio-teaser__heading-mute {
  color: var(--text-mute);
  font-weight: 300;
}

.studio-teaser__copy {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-mute);
  margin: 0 0 24px;
}

.studio-teaser__link {
  display: inline-block;
  color: var(--aka);
  text-decoration: none;
  border-bottom: 1px solid var(--aka);
  padding-bottom: 3px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  min-height: 44px;
  line-height: 44px;
  transition: color var(--transition), border-color var(--transition);
}
.studio-teaser__link:hover {
  color: var(--shinku);
  border-color: var(--shinku);
}

/* Image hidden on mobile */
.studio-teaser__image { display: none; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-deep);
  padding: 36px 24px 30px;
  font-family: var(--sans);
  color: var(--text-mute);
  border-top: 1px solid var(--brown-deep);
}

.footer__brand { margin-bottom: 28px; }
.footer__brand .wordmark { margin-bottom: 20px; }

.footer__brand-copy {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mute);
}

.footer__col-title {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--gold);
  font-weight: 500;
  margin: 0 0 12px;
}

.footer__col-list {
  display: grid;
  gap: 14px;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 24px;
}
.footer__col-list a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}
.footer__col-list a:hover { color: var(--gold); }

/* Service column hidden on mobile */
.footer__col--service { display: none; }

.footer__copy {
  padding-top: 20px;
  border-top: 1px solid var(--brown-deep);
  font-size: 11px;
  color: var(--brown);
  letter-spacing: 1px;
}
.footer__copy-extra { display: none; }

/* =============================================
   DESKTOP  ≥ 900px
   ============================================= */
@media (min-width: 900px) {

  /* Hide mobile nav, show desktop */
  .mobile-header  { display: none; }
  .desktop-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
    padding: 20px 56px;
    border-bottom: 1px solid var(--brown-deep);
    background: var(--bg-deep);
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 500;
    justify-content: flex-start;
  }
  .desktop-nav__link {
    position: relative;
    color: var(--text);
    text-decoration: none;
    padding: 10px 4px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    transition: color var(--transition);
  }
  .desktop-nav__link:hover { color: var(--text-mute); }
  .desktop-nav__link--active { color: var(--aka); }
  .desktop-nav__link--active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -1px;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: var(--aka);
  }

  /* Hero */
  .hero {
    padding: 100px 56px 110px;
  }
  .hero__eyebrow {
    font-size: 13px;
    letter-spacing: 6px;
    margin-bottom: 36px;
  }
  .hero__mark {
    gap: 14px;
    margin-bottom: 48px;
  }
  .hero__noam {
    font-size: 152px;
    letter-spacing: 4px;
  }
  .hero__jewellery {
    font-size: 22px;
    letter-spacing: 16px;
  }
  .hero__copy {
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 48px;
    max-width: 560px;
  }
  .btn-primary {
    min-height: 56px;
    padding: 0 48px;
    font-size: 17px;
    letter-spacing: 0.5px;
    width: auto;
    display: inline-block;
  }
  .gold-rule {
    width: 64px;
    margin-top: 70px;
  }

  /* Section label */
  .section-label {
    padding: 20px 56px 36px;
  }
  .section-label .label-gold {
    font-size: 13px;
    letter-spacing: 6px;
  }

  /* Categories: 3 columns, taller tiles */
  .categories { padding: 0 16px 80px; }
  .categories__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .cat-tile { height: 520px; }
  .cat-tile__labels {
    padding: 0 28px;
    bottom: 24px;
  }
  .cat-tile__he { font-size: 30px; }
  .cat-tile__en { font-size: 12px; letter-spacing: 3px; }

  /* Brand promise */
  .brand-promise {
    display: block;
    padding: 100px 56px 110px;
    border-top: 1px solid var(--brown-deep);
    border-bottom: 1px solid var(--brown-deep);
    text-align: center;
    background: var(--bg-deep);
  }
  .brand-promise__rule {
    width: 48px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto 32px;
    opacity: 0.85;
  }
  .brand-promise__text {
    font-family: var(--sans);
    font-size: 36px;
    line-height: 1.45;
    font-weight: 300;
    color: var(--text);
    margin: 0 auto;
    max-width: 720px;
  }
  .brand-promise__mute { color: var(--text-mute); }

  /* Studio teaser: split layout */
  .studio-teaser {
    padding: 110px 56px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    background: var(--bg);
    border-top: none;
  }
  .studio-teaser .label-gold {
    font-size: 13px;
    letter-spacing: 6px;
    margin-bottom: 22px;
  }
  .studio-teaser__heading {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 26px;
    letter-spacing: -0.5px;
  }
  .studio-teaser__copy {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
  }
  .studio-teaser__link { font-size: 15px; }
  .studio-teaser__image { display: block; }

  /* Footer: 4-col grid */
  .footer {
    padding: 64px 56px 40px;
  }
  .footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--brown-deep);
    align-items: start;
  }
  .footer__brand { margin-bottom: 0; }
  .footer__brand-copy { margin-top: 22px; max-width: 320px; }
  .footer__col-list  { margin-bottom: 0; }
  .footer__col--service { display: block; }
  .footer__copy {
    padding-top: 22px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
  }
  .footer__copy-extra { display: block; }
}

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
