/* ============================================
   AARAAMAM RESTAURANT — RESKIN
   Kerala cuisine, Karama Dubai. Since 2005.
   Palette: banana-leaf green + terracotta + cream
   Fonts: DM Serif Display + Inter Tight
   ============================================ */

:root {
  --charcoal: #1B2016;          /* deep jungle ink */
  --charcoal-soft: #252D1E;     /* soft jungle */
  --ember: #C4572A;             /* terracotta clay */
  --ember-deep: #A44521;        /* deep terracotta */
  --saffron: #E8A838;           /* curry saffron */
  --cream: #FAF3E2;             /* coconut cream */
  --cream-soft: #FDF8EF;        /* rice white */
  --olive: #3E7859;             /* banana-leaf mid */
  --bone: #EDE2CA;              /* raw rice */
  --line: rgba(27, 32, 22, 0.12);
  --line-dark: rgba(250, 243, 226, 0.14);

  --serif: 'DM Serif Display', 'Georgia', serif;
  --sans: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  --malayalam: 'Noto Serif Malayalam', serif;
  --mono: 'JetBrains Mono', monospace;

  --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(--charcoal);
  background: var(--cream);
  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: 400;
  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);
  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;
}
.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(27,32,22,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(250, 243, 226, 0.96);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 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; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12)); }
.logo-img.footer-logo { height: 84px; filter: drop-shadow(0 4px 14px rgba(0,0,0,0.4)); opacity: 0.92; }
.logo-wordmark {
  font-family: var(--serif);
  font-size: 1.55rem; font-weight: 400;
  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;
}
@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-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; overflow: hidden; }
.nav-links a:hover { color: var(--ember); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1.5px; background: var(--ember);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.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.4s cubic-bezier(0.22, 1, 0.36, 1);
  letter-spacing: 0.01em; position: relative; overflow: hidden;
  will-change: transform;
}
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s cubic-bezier(0.22,1,0.36,1);
}
.btn:hover::after { left: 130%; }
.btn-primary { background: var(--ember); color: var(--cream); }
.btn-primary:hover { background: var(--ember-deep); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(196, 87, 42, 0.35); }
.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(250,243,226,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 {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(95deg,
      rgba(27,32,22,0.97) 0%, rgba(27,32,22,0.88) 25%,
      rgba(27,32,22,0.55) 50%, rgba(27,32,22,0.18) 72%, rgba(27,32,22,0.0) 100%
    ),
    linear-gradient(0deg, rgba(27,32,22,0.65) 0%, transparent 35%);
}
.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(27,32,22,0.55) 0%, rgba(27,32,22,0.93) 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: 16ch; 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: 400;
  display: block; color: var(--saffron);
  font-feature-settings: "lnum" 1, "tnum" 1; letter-spacing: -0.01em;
}
.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; }
.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; }
}

/* ---------- 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; }
section + section { padding-top: clamp(5rem, 11vw, 9rem); }
@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(27,32,22,0.35));
}
.story-text h2 { margin-bottom: 2rem; }
.story-text p { margin-bottom: 1.2rem; color: rgba(27,32,22,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 ---------- */
.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, var(--charcoal-soft), var(--charcoal));
  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(27,32,22,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(27,32,22,0.55) 0%, rgba(27,32,22,0.88) 100%),
    linear-gradient(0deg, rgba(27,32,22,0.55), rgba(27,32,22,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(250,243,226,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(27,32,22,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(27,32,22,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; position: relative; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.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;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-card:hover .product-img { transform: scale(1.03); }
.product-img::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(27,32,22,0.28));
  opacity: 0; transition: opacity 0.4s; z-index: 1;
}
.product-card:hover .product-img::before { opacity: 1; }
.product-img.placeholder {
  background: linear-gradient(135deg, var(--bone), #d6c8aa); display: grid; place-items: center;
}
.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: 400;
  letter-spacing: -0.01em; margin-bottom: 0.3rem; transition: color 0.3s;
}
.product-card:hover .product-name { color: var(--ember); }
.product-desc { font-size: 0.88rem; color: rgba(27,32,22,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: 400; }
.product-price .currency { font-size: 0.78rem; color: rgba(27,32,22,0.5); margin-right: 0.2rem; }
.product-cal { font-size: 0.78rem; color: rgba(27,32,22,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(27,32,22,0.7); margin-bottom: 0.4rem; }

/* ---------- STORY / 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(27,32,22,0.93) 0%, rgba(27,32,22,0.7) 35%, rgba(27,32,22,0.25) 65%, rgba(27,32,22,0.05) 100%),
    linear-gradient(0deg, rgba(27,32,22,0.45), transparent 40%);
}
.heritage-hero .container { position: relative; z-index: 2; 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: 400; color: var(--ember); line-height: 1; }
.timeline-content h3 { font-family: var(--serif); margin-bottom: 1rem; }
.timeline-content p { color: rgba(27,32,22,0.75); max-width: 60ch; }
@media (max-width: 700px) { .timeline { grid-template-columns: 1fr; gap: 1rem; } }
.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(27,32,22,0.7); font-size: 0.95rem; }
@media (max-width: 800px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- GALLERY ---------- */
.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); transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s;
  background-size: cover; background-position: center;
  display: block;
}
.gallery-tile:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -10px rgba(0,0,0,0.18); }
.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(27,32,22,0.88), 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; }
}

/* ---------- PROOF / STATS ---------- */
.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: 400;
  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(27,32,22,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(250,243,226,0.85); margin: 0 auto 2rem; }

/* ---------- FOOTER ---------- */
footer { background: var(--charcoal); color: var(--cream); padding: 5rem 0 2rem; position: relative; overflow: hidden; }
.footer-watermark {
  position: absolute; bottom: -3.5rem; right: -1rem; left: 0;
  text-align: center; font-family: var(--malayalam);
  font-size: clamp(8rem, 26vw, 24rem); line-height: 0.8;
  color: var(--cream); opacity: 0.04; pointer-events: none; white-space: nowrap; z-index: 0;
}
footer .container { position: relative; z-index: 1; }
.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(27,32,22,0.7); }
.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(--cream-soft); font: inherit; color: var(--charcoal); 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; }
}

/* ---------- MOCKUP BANNER ---------- */
.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; }

/* ---------- 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(250,243,226,0.08); border-bottom: 1px solid rgba(250,243,226,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: 400;
  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%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- MALAYALAM TYPOGRAPHIC MOMENT ---------- */
.malayalam-moment {
  background: var(--cream-soft); padding: clamp(5rem, 12vw, 10rem) 0;
  text-align: center; position: relative; overflow: hidden;
}
.malayalam-moment::before, .malayalam-moment::after {
  content: ""; position: absolute; left: 50%; width: 1px; height: 60px; background: var(--charcoal); opacity: 0.18;
}
.malayalam-moment::before { top: 0; }
.malayalam-moment::after { bottom: 0; }
.malayalam-word {
  font-family: var(--malayalam); font-size: clamp(5rem, 18vw, 14rem); line-height: 1.0; font-weight: 600;
  color: var(--charcoal); letter-spacing: -0.02em; 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;
}
.malayalam-translit {
  font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(27,32,22,0.55); margin-bottom: 0.5rem;
}
.malayalam-meaning {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: rgba(27,32,22,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(196,87,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-style: italic; font-weight: 400; }
.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(27,32,22,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: 400;
  letter-spacing: -0.005em; color: rgba(27,32,22,0.55); transition: color 0.3s; white-space: nowrap; font-style: italic;
}
.press-item:hover { color: var(--charcoal); }
.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(27,32,22,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: 400; }
.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(27,32,22,0.7); line-height: 1.55; }
.process-ml { font-family: var(--malayalam); font-size: 1.6rem; color: rgba(196,87,42,0.4); margin-top: 1.5rem; display: block; }
@media (max-width: 800px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- DISPLAY TYPOGRAPHY REFINEMENTS ---------- */
.display, h1, h2, h3 { text-wrap: balance; }
.lede, p { text-wrap: pretty; }
.display { font-feature-settings: "liga" 1, "kern" 1; }
.display em { font-style: italic; }

/* ---------- LOC page extras ---------- */
.loc-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  margin: 3rem 0 1rem; text-align: center;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 3rem 0;
}
.loc-stats .proof-stat { display: block; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 400; color: var(--ember); line-height: 1; }
.loc-stats .proof-stat-label { display: block; margin-top: 0.7rem; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(27,32,22,0.55); }
.loc-region-title { margin-top: 4.5rem; margin-bottom: 1.8rem; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.loc-link { color: var(--ember); border-bottom: 1px solid currentColor; }
@media (max-width: 800px) { .loc-stats { grid-template-columns: 1fr 1fr; gap: 2.4rem 1rem; } }

/* ---------- SEC-INDEX LABEL ---------- */
.sec-index {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.22em; color: var(--ember);
  display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1.2rem;
}
.sec-index::before { content: ""; width: 2rem; height: 1px; background: var(--ember); opacity: 0.6; }

/* ---------- RULE DIVIDER ---------- */
.rule { display: flex; align-items: center; gap: 1.2rem; margin: 0 auto; max-width: var(--max-w); padding: 0 var(--pad-x); }
.rule::before, .rule::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.rule-node { width: 7px; height: 7px; transform: rotate(45deg); background: var(--ember); flex: 0 0 auto; }
