/* Little India — site shell */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --bg: #0f0e0c;
  --bg-elevated: #1a1814;
  --bg-soft: #241f1a;
  --text: #f2ebe0;
  --text-muted: #b5a99a;
  --accent: #e09a3c;
  --accent-hot: #d4552a;
  --line: rgba(242, 235, 224, 0.12);
  --max: 1100px;
  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;
  --radius: 2px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 55% at 10% -10%, rgba(224, 154, 60, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(212, 85, 42, 0.12), transparent 50%),
    linear-gradient(180deg, #16130f 0%, var(--bg) 40%, #0c0b09 100%);
  min-height: 100vh;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #f0b65a;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.35rem, 3vw, 1.8rem); }

p { margin: 0 0 1em; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 14, 12, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
  padding: 0.65rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  flex-shrink: 0;
}

.brand:hover { color: var(--text); opacity: 0.9; }

.brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.45rem 0.7rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list > li {
  position: relative;
}

.nav-list a {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-list a:hover,
.nav-list a.is-active {
  color: var(--text);
}

.nav-item--dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.35rem;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  vertical-align: middle;
  opacity: 0.7;
}

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  min-width: 160px;
  padding: 0.55rem 0;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  list-style: none;
  margin: 0;
}

.nav-item--dropdown:hover > .dropdown,
.nav-item--dropdown:focus-within > .dropdown {
  display: block;
  animation: dropIn 0.22s ease;
}

.dropdown a {
  display: block;
  padding: 0.45rem 1rem;
  white-space: nowrap;
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes softPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #000 center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 9, 8, 0.88) 0%, rgba(10, 9, 8, 0.45) 48%, rgba(10, 9, 8, 0.25) 100%),
    linear-gradient(0deg, rgba(10, 9, 8, 0.92) 0%, transparent 45%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 3.5rem;
  animation: fadeUp 0.8s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 12vw, 7.5rem);
  letter-spacing: 0.08em;
  line-height: 0.92;
  margin: 0 0 0.35em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.6rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--accent);
  color: #1a1208;
}

.btn--primary:hover {
  background: #f0b65a;
  color: #1a1208;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Sections */
.section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--line);
}

.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  animation: softPulse 3.5s ease-in-out infinite;
}

.section-head {
  margin-bottom: 2rem;
  max-width: 38rem;
}

.section-head p {
  color: var(--text-muted);
  margin: 0;
}

.page-header {
  padding: 3rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}

.page-header p {
  color: var(--text-muted);
  margin: 0;
  max-width: 40rem;
}

.prose {
  max-width: 42rem;
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose ul,
.prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.25rem;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.news-item {
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
  animation: fadeUp 0.6s ease both;
}

.news-item:nth-child(2) { animation-delay: 0.08s; }
.news-item:nth-child(3) { animation-delay: 0.16s; }

.news-date {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.news-item h3 {
  margin-bottom: 0.4rem;
}

.news-item h3 a { color: var(--text); }
.news-item h3 a:hover { color: var(--accent); }

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.gallery img {
  flex: 1 1 calc(33.333% - 0.75rem);
  min-width: 180px;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.gallery img:hover {
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.08);
}

.embed-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.embed-card {
  flex: 1 1 280px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  overflow: hidden;
}

.embed-card iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  display: block;
}

.embed-card figcaption,
.embed-card .caption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.soundcloud-wrap iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
}

.split > * {
  flex: 1 1 280px;
}

.split img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-row a {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.social-row a:hover { color: var(--accent); }

.contact-box {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 1.75rem;
  max-width: 32rem;
}

.contact-box a.email {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

.note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Blog list (r-template_blog) */
.blog-container {
  padding: 1rem 0 3rem;
}

.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.blog-card {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.blog-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  margin: 0 0 0.4rem;
}

.blog-title a { color: var(--text); }
.blog-title a:hover { color: var(--accent); }

.blog-preview p {
  color: var(--text-muted);
  margin: 0;
}

/* Article / romlicontainer extras live in r-template_article */
.romlicontainer {
  max-width: 720px;
  margin: 0 auto 3rem;
  padding: 0 1.25rem 2rem;
  color: var(--text-muted);
}

main {
  min-height: 50vh;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: var(--bg-elevated);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  color: var(--text);
}

.footer-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-meta a { color: var(--text); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.sitewide-wrap {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    width: 100%;
  }

  .site-nav.is-open {
    display: block;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 0.5rem 0 1rem;
    gap: 0.65rem;
  }

  .dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0.35rem 0 0.35rem 0.85rem;
  }

  .nav-item--dropdown.is-open > .dropdown,
  .nav-item--dropdown:hover > .dropdown {
    display: block;
  }

  .gallery img {
    flex: 1 1 calc(50% - 0.75rem);
  }

  .hero {
    min-height: 78vh;
  }
}

@media (max-width: 520px) {
  .gallery img {
    flex: 1 1 100%;
  }
}
