/* ============================================
   ANANTHAPURI RESTAURANT — MUSCAT MOCKUP
   Luxury-Dark · Kerala heritage editorial
   ============================================ */

:root {
  /* Luxury-Dark ground — pitch-black showroom */
  --charcoal: #0E0E10;
  --charcoal-soft: #17171A;
  /* Amber/turmeric accent — Kerala gold */
  --ember: #D4A017;
  --ember-deep: #B8880E;
  --saffron: #E8C14A;
  /* Cream text palette */
  --cream: #F4F1EA;
  --cream-soft: #F8F5EE;
  --olive: #4a5239;
  --bone: #E0D8C8;
  --line: rgba(244, 241, 234, 0.10);
  --line-dark: rgba(244, 241, 234, 0.14);

  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --arabic: 'Noto Naskh Arabic', 'Amiri', serif;

  --max-w: 1320px;
  --pad-x: clamp(1.25rem, 4vw, 4rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--sans);
  color: var(--cream);
  background: var(--charcoal);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ---------- TYPOGRAPHY ---------- */
.display {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember);
}
.eyebrow-light { color: var(--saffron); }
h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: rgba(244,241,234,0.7); max-width: 60ch; }

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
section { padding: clamp(4rem, 10vw, 8rem) 0; }

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(14, 14, 16, 0.90);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 0.7rem; }
.logo-img {
  height: 60px;
  width: auto;
  display: block;
  /* Square badge — render at 1:1 with crisp edges */
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
}
.logo-wordmark {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  line-height: 1;
}
.logo-wordmark small {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember);
  margin-top: 0.3rem;
}
.logo-img.footer-logo {
  height: 84px;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.4));
}
@media (max-width: 880px) {
  .logo-img { height: 48px; }
  .logo-wordmark { font-size: 1.25rem; }
  .logo-wordmark small { font-size: 0.55rem; }
  .logo-img.footer-logo { height: 64px; }
}
.nav-inner { padding-top: 0.7rem; padding-bottom: 0.7rem; }
.nav { background: rgba(14, 14, 16, 0.96); }
.nav-links { display: flex; gap: 2.2rem; align-items: center; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ember); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ember);
}
.nav-cta {
  background: var(--charcoal);
  color: var(--cream);
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--ember); transform: translateY(-1px); }
.menu-toggle { display: none; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.25s;
  letter-spacing: 0.01em;
}
.btn-primary { background: var(--ember); color: var(--cream); }
.btn-primary:hover { background: var(--ember-deep); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(212, 98, 42, 0.3); }
.btn-ghost { border: 1px solid var(--charcoal); color: var(--charcoal); }
.btn-ghost:hover { background: var(--charcoal); color: var(--cream); }
.btn-light { border: 1px solid rgba(245,237,224,0.3); color: var(--cream); }
.btn-light:hover { background: var(--cream); color: var(--charcoal); }

/* ---------- HERO ---------- */
.hero {
  min-height: 92vh;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--cream);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.hero-bg::before {
  /* Left-side ink wash for headline readability — keep the right half
     mostly transparent so the food photography stays the hero. */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg,
      rgba(20,16,14,0.96) 0%,
      rgba(20,16,14,0.88) 25%,
      rgba(20,16,14,0.55) 50%,
      rgba(20,16,14,0.18) 72%,
      rgba(20,16,14,0.0) 100%
    ),
    linear-gradient(0deg,
      rgba(20,16,14,0.65) 0%,
      transparent 35%
    );
}
/* Crisper headline against busy food photography */
.hero h1, .hero .lede, .hero .eyebrow {
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);
}
@media (max-width: 800px) {
  .hero-bg { background-position: 75% center; }
  .hero-bg::before {
    background:
      linear-gradient(180deg,
        rgba(26,22,20,0.55) 0%,
        rgba(26,22,20,0.92) 75%
      );
  }
}
.hero-inner {
  position: relative;
  padding: 6rem 0 5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.hero h1 { max-width: 14ch; margin-top: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--saffron); font-weight: 400; }
.hero-meta {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-dark);
  flex-wrap: wrap;
  align-items: end;
}
.hero-meta-item .num {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 500;
  display: block;
  color: var(--saffron);
}
.hero-meta-item .lbl {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
}
.hero-actions { display: flex; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }

/* ---------- SECTIONS ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: end;
}
.section-head h2 { max-width: 14ch; }
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ---------- STORY ---------- */
.story {
  background: var(--cream-soft);
  position: relative;
}
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.story-img {
  aspect-ratio: 3/4;
  background-color: var(--charcoal);
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.25);
  min-height: 480px;
}
.story-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26,22,20,0.35));
}
.story-text h2 { margin-bottom: 2rem; }
.story-text p { margin-bottom: 1.2rem; color: rgba(26,22,20,0.78); }
.story-sig {
  margin-top: 2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
}
@media (max-width: 800px) { .story-grid { grid-template-columns: 1fr; } }

/* ---------- SIGNATURE DISHES (homepage feature grid) ---------- */
.signatures { background: var(--charcoal); color: var(--cream); }
.signatures .eyebrow { color: var(--saffron); }
.sig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}
.sig-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #2a1410, #1a1614);
  cursor: pointer;
  transition: transform 0.4s;
}
.sig-card:hover { transform: translateY(-6px); }
.sig-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s;
}
.sig-card:hover .sig-card-img { transform: scale(1.06); }
.sig-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26,22,20,0.95));
}
.sig-card-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem;
  z-index: 2;
}
.sig-card-content h3 {
  font-family: var(--serif);
  margin-bottom: 0.4rem;
}
.sig-card-content p {
  font-size: 0.92rem;
  opacity: 0.78;
}
@media (max-width: 800px) { .sig-grid { grid-template-columns: 1fr; } }

/* ---------- MENU PAGE ---------- */
.menu-hero {
  background-color: var(--charcoal);
  background-image: url(../images/hero/hero-banner.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--cream);
  padding: 8rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.menu-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(26,22,20,0.55) 0%, rgba(26,22,20,0.85) 100%),
    linear-gradient(0deg, rgba(26,22,20,0.55), rgba(26,22,20,0.25));
}
.menu-hero .container { position: relative; z-index: 1; }
.menu-hero h1 {
  font-family: var(--serif);
  margin: 1.5rem auto;
  max-width: 16ch;
}
.menu-hero h1 em { color: var(--saffron); font-style: italic; }
.menu-hero .lede { color: rgba(245,237,224,0.75); margin: 0 auto; }

.category-nav {
  position: sticky;
  top: 64px;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.category-nav-inner {
  display: flex;
  gap: 2rem;
  padding: 1rem var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  white-space: nowrap;
}
.category-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(26,22,20,0.6);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.category-nav a:hover, .category-nav a.active {
  color: var(--charcoal);
  border-bottom-color: var(--ember);
}

.cat-section { padding: 5rem 0 3rem; scroll-margin-top: 130px; }
.cat-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.cat-header h2 { font-family: var(--serif); }
.cat-count {
  font-size: 0.85rem;
  color: rgba(26,22,20,0.5);
  font-variant-numeric: tabular-nums;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem 1.8rem;
}
.product-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s;
}
.product-card:hover { transform: translateY(-4px); }
.product-img {
  aspect-ratio: 1;
  background: var(--bone);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.1rem;
  background-size: cover;
  background-position: center;
}
.product-img.placeholder {
  background: linear-gradient(135deg, var(--bone), #d6c8aa);
  display: grid;
  place-items: center;
}
.product-img.placeholder svg { width: 48%; opacity: 0.4; }
.product-tag {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: var(--charcoal);
  color: var(--cream);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-weight: 500;
}
.product-tag.signature { background: var(--ember); }
.product-tag.spicy { background: #c93a1d; }
.product-tag.new { background: var(--olive); }
.product-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
}
.product-desc {
  font-size: 0.88rem;
  color: rgba(26,22,20,0.6);
  margin-bottom: 0.8rem;
  line-height: 1.5;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.product-price {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
}
.product-price .currency { font-size: 0.78rem; color: rgba(26,22,20,0.5); margin-right: 0.2rem; }
.product-cal { font-size: 0.78rem; color: rgba(26,22,20,0.5); }

/* ---------- LOCATIONS ---------- */
.loc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.loc-card {
  padding: 2rem;
  background: var(--cream-soft);
  border-radius: 8px;
  border: 1px solid var(--line);
  transition: all 0.3s;
}
.loc-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.06); }
.loc-card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.loc-card .loc-region {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 0.8rem;
}
.loc-card p { font-size: 0.92rem; color: rgba(26,22,20,0.7); margin-bottom: 0.4rem; }

/* ---------- ABOUT/HERITAGE PAGE ---------- */
.heritage-hero {
  min-height: 70vh;
  background-color: var(--charcoal);
  background-image: url(../images/hero/hero-banner.jpg);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: var(--cream);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.heritage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(26,22,20,0.92) 0%, rgba(26,22,20,0.7) 35%, rgba(26,22,20,0.25) 65%, rgba(26,22,20,0.05) 100%),
    linear-gradient(0deg, rgba(26,22,20,0.45), transparent 40%);
}
.heritage-hero .container { position: relative; z-index: 2; }
.heritage-hero .container { position: relative; padding-top: 4rem; padding-bottom: 4rem; }
.heritage-hero h1 { max-width: 18ch; margin: 1.5rem 0; }
.heritage-hero h1 em { color: var(--saffron); font-style: italic; }

.heritage-section { background: var(--cream-soft); }
.heritage-section + .heritage-section { background: var(--cream); }
.timeline {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem;
  align-items: start;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}
.timeline:first-of-type { border-top: 0; }
.timeline-year {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 500;
  color: var(--ember);
  line-height: 1;
}
.timeline-content h3 {
  font-family: var(--serif);
  margin-bottom: 1rem;
}
.timeline-content p { color: rgba(26,22,20,0.75); max-width: 60ch; }
@media (max-width: 700px) {
  .timeline { grid-template-columns: 1fr; gap: 1rem; }
}

/* ---------- VALUES/PILLARS ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}
.pillar {
  padding: 2.5rem 0 0;
  border-top: 2px solid var(--charcoal);
}
.pillar-num {
  font-family: var(--serif);
  font-size: 0.9rem;
  color: var(--ember);
  margin-bottom: 1rem;
  display: block;
}
.pillar h3 { font-family: var(--serif); margin-bottom: 1rem; }
.pillar p { color: rgba(26,22,20,0.7); font-size: 0.95rem; }
@media (max-width: 800px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- GALLERY STRIP ---------- */
.gallery {
  background: var(--cream);
  padding-top: 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}
.gallery-tile {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bone);
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-tile:hover img { transform: scale(1.05); }
.gallery-tile.tall { grid-row: span 2; }
.gallery-tile.wide { grid-column: span 2; }
.gallery-tile-label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(0deg, rgba(26,22,20,0.85), transparent);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.gallery-tile-label small {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 0.2rem;
}
@media (max-width: 800px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-tile.wide { grid-column: span 2; }
}

/* ---------- PRESS / SOCIAL PROOF STRIP ---------- */
.proof {
  background: var(--cream-soft);
  padding: 4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  align-items: center;
  text-align: center;
}
.proof-stat {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
}
.proof-stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26,22,20,0.55);
  margin-top: 0.6rem;
  display: block;
}
@media (max-width: 700px) { .proof-row { grid-template-columns: 1fr 1fr; gap: 2rem; } }

/* ---------- CTA STRIP ---------- */
.cta-strip {
  background: var(--ember);
  color: var(--cream);
  padding: 5rem 0;
  text-align: center;
}
.cta-strip h2 { font-family: var(--serif); max-width: 18ch; margin: 0 auto 1rem; }
.cta-strip .lede { color: rgba(245,237,224,0.85); margin: 0 auto 2rem; }

/* ---------- FOOTER ---------- */
footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--line-dark);
}
.footer-grid h4 {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 1.5rem;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.8rem; }
.footer-grid a {
  font-size: 0.92rem;
  opacity: 0.78;
  transition: opacity 0.2s;
}
.footer-grid a:hover { opacity: 1; color: var(--saffron); }
.footer-brand p { opacity: 0.7; max-width: 36ch; margin-top: 1rem; font-size: 0.92rem; }
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h2 { font-family: var(--serif); margin-bottom: 1.5rem; }
.contact-info-item {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}
.contact-info-item h4 {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 0.5rem;
}
.form-field { margin-bottom: 1.5rem; }
.form-field label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: rgba(244,241,234,0.65);
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--charcoal-soft);
  font: inherit;
  color: var(--cream);
  transition: border-color 0.2s;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--ember);
}
.form-field textarea { min-height: 130px; resize: vertical; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; } }

/* ---------- MOBILE NAV ---------- */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .menu-toggle {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--charcoal);
    color: var(--cream);
  }
  .nav-cta { display: none; }
}

/* ---------- BANNER MOCKUP NOTICE ---------- */
.mockup-banner {
  background: var(--saffron);
  color: var(--charcoal);
  text-align: center;
  padding: 0.5rem var(--pad-x);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.mockup-banner strong { letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
.fade-in-2 { animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both; }
.fade-in-3 { animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.36s both; }

/* ---------- BILINGUAL EN/AR TOGGLE ---------- */
.lang-btn {
  background: transparent;
  border: 1px solid var(--line-dark);
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--sans);
}
.lang-btn:hover { background: var(--ember); border-color: var(--ember); color: #000; }

/* Hide AR content by default; show when html.lang-ar */
[data-ar] { display: none; }
html.lang-ar [data-en] { display: none !important; }
html.lang-ar [data-ar] { display: inline !important; }
html.lang-ar .ar-block { display: block !important; }
html.lang-ar [dir="rtl"] { text-align: right; }

/* RTL layout adjustments */
html.lang-ar .hero-inner,
html.lang-ar .story-text,
html.lang-ar .contact-info { direction: rtl; }
html.lang-ar .eyebrow { letter-spacing: 0.08em; }

/* Story section dark ground */
.story { background: var(--charcoal-soft); }
.process { background: var(--charcoal-soft); }
.gallery { background: var(--charcoal); }
.press { background: var(--charcoal-soft); }

/* WhatsApp CTA button */
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-whatsapp:hover { background: #1ebe5c; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37,211,102,0.3); }

/* ---------- SCROLL REVEAL ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"].is-revealed { transition-delay: 0.10s; }
[data-reveal-delay="2"].is-revealed { transition-delay: 0.22s; }
[data-reveal-delay="3"].is-revealed { transition-delay: 0.34s; }
[data-reveal-delay="4"].is-revealed { transition-delay: 0.46s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- MARQUEE STRIP ---------- */
.marquee {
  background: var(--charcoal);
  color: var(--cream);
  padding: 1.4rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(245,237,224,0.08);
  border-bottom: 1px solid rgba(245,237,224,0.08);
}
.marquee-track {
  display: flex;
  gap: 4rem;
  animation: marquee-slide 40s linear infinite;
  width: max-content;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 4rem;
  white-space: nowrap;
  color: var(--saffron);
}
.marquee-item::after {
  content: "✦";
  color: var(--ember);
  font-size: 0.7em;
  font-style: normal;
}
@keyframes marquee-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- ARABIC TYPOGRAPHIC MOMENT ---------- */
.arabic-moment {
  background: var(--cream-soft);
  padding: clamp(5rem, 12vw, 10rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.arabic-moment::before, .arabic-moment::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 60px;
  background: var(--charcoal);
  opacity: 0.18;
}
.arabic-moment::before { top: 0; }
.arabic-moment::after { bottom: 0; }
.arabic-word {
  font-family: 'Noto Naskh Arabic', 'Amiri', serif;
  font-size: clamp(7rem, 22vw, 18rem);
  line-height: 0.9;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -0.03em;
  margin: 1rem 0;
  background: linear-gradient(180deg, var(--charcoal) 0%, var(--ember) 90%, var(--saffron));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.arabic-translit {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(26,22,20,0.55);
  margin-bottom: 0.5rem;
}
.arabic-meaning {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: rgba(26,22,20,0.7);
  max-width: 50ch;
  margin: 1.5rem auto 0;
}

/* ---------- MANIFESTO ---------- */
.manifesto {
  background: var(--charcoal);
  color: var(--cream);
  padding: clamp(6rem, 14vw, 12rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(212,98,42,0.18), transparent 50%),
    radial-gradient(circle at 80% 100%, rgba(232,168,56,0.12), transparent 50%);
  pointer-events: none;
}
.manifesto .container { position: relative; z-index: 1; }
.manifesto h2 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 22ch;
  margin: 0 auto;
}
.manifesto h2 em { color: var(--saffron); font-weight: 500; }
.manifesto-attr {
  margin-top: 4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--saffron);
  opacity: 0.85;
}

/* ---------- PRESS STRIP ---------- */
.press {
  background: var(--cream);
  padding: 4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.press-label {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(26,22,20,0.5);
  margin-bottom: 2.5rem;
}
.press-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.press-item {
  font-family: var(--serif);
  font-size: clamp(0.95rem, 1.4vw, 1.3rem);
  font-weight: 500;
  letter-spacing: -0.005em;
  color: rgba(26,22,20,0.55);
  transition: color 0.3s, opacity 0.3s;
  white-space: nowrap;
  font-style: italic;
}
.press-item:hover { color: var(--charcoal); opacity: 1; }
.press-item .press-meta {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26,22,20,0.4);
  margin-top: 0.3rem;
}
@media (max-width: 800px) {
  .press-row { justify-content: center; gap: 1.8rem 2.4rem; }
}

/* ---------- PROCESS STRIP ---------- */
.process { background: var(--cream); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}
.process-step {
  position: relative;
  padding-top: 2rem;
  border-top: 2px solid var(--charcoal);
}
.process-step::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 30%;
  height: 2px;
  background: var(--ember);
}
.process-num {
  font-family: var(--serif);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 1rem;
  display: block;
  font-weight: 600;
}
.process-step h3 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  margin-bottom: 0.8rem;
}
.process-step p {
  font-size: 0.92rem;
  color: rgba(26,22,20,0.7);
  line-height: 1.55;
}
.process-arabic {
  font-family: 'Noto Naskh Arabic', serif;
  font-size: 1.6rem;
  color: rgba(212,98,42,0.4);
  margin-top: 1.5rem;
  display: block;
  letter-spacing: -0.02em;
}
@media (max-width: 800px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ---------- ORNAMENT (Islamic geometric divider) ---------- */
.ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 4rem 0;
  background: var(--cream);
}
.ornament-divider .ornament-line {
  height: 1px;
  flex: 0 0 100px;
  background: linear-gradient(90deg, transparent, var(--charcoal) 50%, transparent);
  opacity: 0.25;
}
.ornament-divider svg {
  width: 36px;
  height: 36px;
  color: var(--ember);
  opacity: 0.85;
}

/* ---------- HERO SCROLL CUE ---------- */
.scroll-cue {
  position: absolute;
  bottom: 2.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--saffron) 50%, transparent);
  overflow: hidden;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(180deg, transparent, var(--cream));
  animation: scroll-flow 2.4s ease-in-out infinite;
}
@keyframes scroll-flow {
  0% { transform: translateY(0); opacity: 0.8; }
  60% { transform: translateY(120px); opacity: 0; }
  100% { transform: translateY(120px); opacity: 0; }
}

/* ---------- SIGNATURE LINE ---------- */
.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ember);
  display: inline-block;
  position: relative;
  padding-bottom: 0.5rem;
}
.signature::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 30%;
  height: 1px;
  background: var(--ember);
  opacity: 0.4;
}

/* Premium nav scrolled state */
.nav.scrolled {
  background: rgba(245, 237, 224, 0.99);
  box-shadow: 0 6px 30px -10px rgba(0,0,0,0.08);
  border-bottom-color: transparent;
}

/* ---------- PREMIUM POLISH ---------- */
/* Editorial display refinements */
.display { font-feature-settings: "liga" 1, "dlig" 1, "kern" 1; }
.display em { font-feature-settings: "swsh" 1, "ss01" 1; }

/* Tighter eyebrow rhythm */
.eyebrow {
  display: inline-block;
  position: relative;
  padding-left: 1.6rem;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* Subtle decorative ornament between sections — Arabic-style geometric mark */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 0;
  background: var(--cream);
}
.ornament::before, .ornament::after {
  content: "";
  height: 1px;
  width: 80px;
  background: var(--charcoal);
  opacity: 0.18;
}
.ornament-mark {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--ember);
  opacity: 0.7;
}
.ornament-mark svg { width: 100%; height: 100%; }

/* Premium card hover */
.product-card { transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.product-img { transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); overflow: hidden; }
.product-card:hover .product-img { transform: scale(1.03); }

/* Buttons get a more luxurious press feel */
.btn { transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1); will-change: transform; }
.btn-primary:hover { box-shadow: 0 18px 40px -10px rgba(212, 98, 42, 0.45); transform: translateY(-3px); }
.btn-light:hover { transform: translateY(-3px); }

/* Smoother sticky nav */
.nav { transition: box-shadow 0.3s; }
.nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.06); }

/* Footer logo refinement — tone the wide lockup down so it sits on dark elegantly */
footer .logo-img.footer-logo { opacity: 0.92; }

/* Bigger breathing room between sections */
section + section { padding-top: clamp(5rem, 11vw, 9rem); }

/* Hero meta refinement */
.hero-meta-item .num {
  font-feature-settings: "lnum" 1, "tnum" 1;
  letter-spacing: -0.01em;
}

/* Editorial product card refinements */
.product-name { transition: color 0.3s; }
.product-card:hover .product-name { color: var(--ember); }

/* Gallery tile lift */
.gallery-tile { transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s; }
.gallery-tile:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -10px rgba(0,0,0,0.18); }
