/* ==========================================================
   Livo Materia — Premium Interior & Architectural Materials
   Palette: #0d2c1d (deep green) · #e19b28 (gold) · #fbd280 (light gold)
   ========================================================== */

:root {
  --dark: #0d2c1d;
  --dark-soft: #16412b;
  --dark-softer: #1e4f34;

  --gold-light: #fbd280;
  --gold: #e19b28;
  --gold-deep: #c47f16;

  --cream: #faf6ec;
  --cream-dark: #f1e6cd;
  --white: #ffffff;

  --text: #33402f;
  --text-soft: #5c6b56;

  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Jost', 'Segoe UI', sans-serif;

  --max-width: 1160px;
  --radius: 14px;
  --transition: 0.3s ease;
  --gold-grad: linear-gradient(120deg, var(--gold-light), var(--gold));
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.15;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin-bottom: 14px;
}

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

.light-heading { color: var(--cream); }

.section-head {
  max-width: 640px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  margin-bottom: 16px;
}

.section-lead {
  color: var(--text-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition);
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--gold-grad);
  color: var(--dark);
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(225, 155, 40, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(225, 155, 40, 0.45);
}

.btn-outline {
  border-color: var(--dark);
  color: var(--dark);
  background: transparent;
}

.btn-outline:hover {
  background: var(--dark);
  color: var(--cream);
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 44, 29, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(251, 210, 128, 0.18);
  transition: box-shadow var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: rgba(250, 246, 236, 0.65);
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a {
  color: var(--cream);
  position: relative;
  transition: color var(--transition);
}

.nav a:not(.nav-cta):hover { color: var(--gold-light); }

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  background: var(--gold-grad);
  color: var(--dark) !important;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 999px;
}

.nav-cta:hover { filter: brightness(1.06); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gold-light);
  transition: transform var(--transition), opacity var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 90px;
  background:
    radial-gradient(circle at 85% 10%, rgba(225, 155, 40, 0.16), transparent 55%),
    radial-gradient(circle at 8% 95%, rgba(251, 210, 128, 0.22), transparent 50%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(13, 44, 29, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 760px;
  text-align: left;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: italic;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--text-soft);
  max-width: 600px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- About ---------- */
.about { padding: 110px 0; }

.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  margin-bottom: 22px;
}

.about-text p {
  color: var(--text-soft);
  margin-bottom: 18px;
}

.about-text .btn { margin-top: 10px; }

.about-visual,
.curated-visual { display: flex; justify-content: center; }

.visual-card {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 420px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0) 40%),
    linear-gradient(160deg, var(--dark-softer) 0%, var(--dark-soft) 45%, var(--dark) 100%);
  box-shadow: 0 30px 60px -20px rgba(13, 44, 29, 0.45);
  position: relative;
  overflow: hidden;
}

.visual-card::after {
  content: "LIVO MATERIA";
  position: absolute;
  bottom: 26px;
  left: 26px;
  color: var(--gold-light);
  font-family: var(--font-heading);
  letter-spacing: 0.18em;
  font-size: 0.85rem;
}

.visual-card--alt::after { content: "SHOWROOM · BANGALORE"; letter-spacing: 0.1em; font-size: 0.72rem; }

/* ---------- Materials ---------- */
.materials { padding: 110px 0; background: var(--cream-dark); }

.materials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.material-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: 0 14px 34px -18px rgba(13, 44, 29, 0.25);
  border-top: 3px solid var(--gold);
}

.material-icon {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-deep);
  background: rgba(225, 155, 40, 0.12);
  width: 38px;
  height: 38px;
  line-height: 38px;
  text-align: center;
  border-radius: 50%;
  margin-bottom: 16px;
}

.material-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.material-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.materials-note {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-soft);
}

/* ---------- Story (logo philosophy) ---------- */
.story {
  padding: 110px 0;
  background: linear-gradient(165deg, var(--dark) 0%, var(--dark-soft) 100%);
  color: var(--cream);
}

.story .section-head { margin-bottom: 56px; }

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 50px;
}

.story-card {
  text-align: center;
  padding: 10px 14px;
}

.story-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(251, 210, 128, 0.08);
  color: var(--gold-light);
  margin-bottom: 20px;
}

.story-mark svg { width: 30px; height: 30px; }

.story-card h3 {
  color: var(--gold-light);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.story-card p {
  color: rgba(250, 246, 236, 0.75);
  font-size: 0.96rem;
}

.story-close {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--cream);
}

/* ---------- Curated ---------- */
.curated { padding: 110px 0; }

.curated-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.curated-text h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  margin-bottom: 22px;
}

.curated-text p {
  color: var(--text-soft);
  margin-bottom: 18px;
}

/* ---------- Approach ---------- */
.approach { padding: 110px 0; background: var(--cream-dark); }

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.approach-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: center;
  box-shadow: 0 14px 34px -18px rgba(13, 44, 29, 0.25);
  position: relative;
}

.approach-card::before {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: var(--gold-grad);
  margin: 0 auto 18px;
  border-radius: 3px;
}

.approach-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.approach-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* ---------- Character ---------- */
.character { padding: 100px 0; }

.character-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.character-inner h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin-bottom: 22px;
  position: relative;
  display: inline-block;
}

.character-inner p {
  color: var(--text-soft);
  font-size: 1.05rem;
}

/* ---------- Vision & Promise ---------- */
.vision { padding: 0 0 110px; }

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.vision-card {
  background: var(--cream-dark);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 40px 36px;
}

.vision-card p:not(.eyebrow) {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--dark);
  font-weight: 500;
}

/* ---------- Follow ---------- */
.follow {
  padding: 100px 0;
  background: linear-gradient(165deg, var(--dark) 0%, var(--dark-soft) 100%);
  color: var(--cream);
  text-align: center;
}

.follow h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin-bottom: 14px;
}

.follow-sub {
  max-width: 520px;
  margin: 0 auto 40px;
  color: rgba(250, 246, 236, 0.75);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  background: rgba(251, 210, 128, 0.08);
  border: 1px solid rgba(251, 210, 128, 0.35);
  color: var(--cream);
  font-weight: 500;
  transition: background var(--transition), transform var(--transition), color var(--transition);
}

.social-btn svg { width: 20px; height: 20px; }

.social-btn:hover {
  background: var(--gold-grad);
  color: var(--dark);
  transform: translateY(-3px);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--cream-dark);
  padding: 50px 0 34px;
  text-align: center;
  color: var(--text-soft);
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-brand .brand-logo { width: 36px; height: 36px; }
.footer-brand .brand-name {
  font-size: 1.2rem;
  -webkit-text-fill-color: initial;
  background: none;
  color: var(--dark);
}

.footer-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--gold-deep);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.footer-unit {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 18px;
}

.site-footer p { margin-bottom: 6px; font-size: 0.92rem; }

.footer-copy {
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--gold-deep);
  opacity: 0.85;
}

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
  z-index: 200;
  transition: transform var(--transition);
  animation: waPulse 2.4s ease-in-out infinite;
}

.whatsapp-float svg { width: 30px; height: 30px; }

.whatsapp-float:hover { transform: scale(1.08); }

@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45), 0 0 0 10px rgba(37, 211, 102, 0.12); }
}

/* ---------- Reveal on scroll ---------- */
/* Only hide content pre-emptively when JS is available (class added in <head>);
   without JS the content is fully visible from the start (progressive enhancement). */
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .materials-grid,
  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .about-visual { order: -1; }
  .curated-visual { order: -1; }

  .visual-card { max-width: 320px; }

  .story-grid { grid-template-columns: 1fr; gap: 40px; }

  .vision-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .brand-tagline { display: none; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(251, 210, 128, 0.18);
    transition: max-height var(--transition);
  }

  .nav.is-open { max-height: 340px; }

  .nav a {
    width: 100%;
    padding: 14px 24px;
  }

  .nav a.nav-cta {
    width: calc(100% - 48px);
    margin: 10px 24px 16px;
    text-align: center;
    border-radius: 999px;
    padding: 12px 20px;
  }

  .nav-toggle { display: flex; }

  .nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 90px 0 70px; }

  .about, .materials, .story, .curated, .approach, .character, .follow {
    padding: 70px 0;
  }

  .vision { padding-bottom: 70px; }

  .materials-grid, .approach-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 18px;
    right: 18px;
  }

  .vision-card { padding: 30px 26px; }
}
