:root {
  --bg: #0e1013;
  --bg-alt: #16191d;
  --card: #1b1f24;
  --border: #2a2f36;
  --text: #f5f6f7;
  --text-mid: #a4abb3;
  --text-dim: #6b7178;
  --accent: #ff6a13;
  --accent-2: #ffffff;
  --radius: 12px;
  --shadow: 0 20px 45px rgba(0,0,0,0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, .logo {
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.kicker {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { margin-bottom: 40px; }
.section-head h2 { font-size: 32px; margin: 0 0 14px; font-weight: 700; letter-spacing: 0.02em; }
.section-lead { font-size: 17px; color: var(--text-mid); max-width: 680px; margin: 0; }
.section-lead + .section-lead { margin-top: 16px; }

.subsection-head { margin: 56px 0 32px; padding-top: 40px; border-top: 1px solid var(--border); }
.subsection-head h3 { font-size: 24px; margin: 0 0 14px; font-weight: 700; letter-spacing: 0.02em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(14,16,19,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  margin: 0;
}
.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav a.nav-link {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.header-nav a.nav-link:hover,
.header-nav a.nav-link.is-current { color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px; height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero { padding: 140px 0 96px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-text .lead {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 560px;
}
h1 {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  margin: 0 0 18px;
}

.hero-facts { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 32px; }
.fact { display: flex; flex-direction: column; gap: 4px; }
.fact-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); }
.fact-value { font-size: 14px; font-weight: 600; }

.hero-photo { justify-self: center; }
.hero-photo img {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-bottom: 4px solid var(--accent);
}

/* ---------- Story photo ---------- */
.story-grid {
  display: flex;
  gap: 20px;
  margin: 0 0 48px;
  flex-wrap: wrap;
}
.story-photo {
  flex: 1 1 320px;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--card);
  border: 1px solid var(--border);
}
.story-photo img { width: 100%; height: 360px; object-fit: cover; display: block; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.gallery-item {
  grid-column: span 2;
  margin: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.gallery-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery-item--feature { grid-column: span 3; border-color: var(--accent); }
.gallery-item--feature img { aspect-ratio: 4 / 3; object-position: center 35%; }

/* ---------- Tags ---------- */
.tag-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.tag {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
}
.tag-featured {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  font-weight: 700;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); padding: 56px 0 28px; border-top: 1px solid var(--border); }
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
}
.footer-tagline { color: var(--text-mid); margin: 6px 0 0; font-size: 14px; text-transform: none; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.footer-contact span { color: var(--text-dim); font-size: 13px; }
.copyright { color: var(--text-dim); font-size: 13px; margin: 0; border-top: 1px solid var(--border); padding-top: 20px; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  box-shadow: var(--shadow);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 40;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-text .lead { margin: 0 auto; }
  .hero-facts { justify-content: center; }
  .hero-photo { order: -1; }

  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-item { grid-column: span 2; }
  .gallery-item--feature { grid-column: span 2; }

  .nav-toggle { display: flex; }
  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
  }
  .header-nav.is-open { display: flex; }
  .header-nav a.nav-link { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border); }
}

@media (max-width: 600px) {
  .hero { padding: 120px 0 64px; }
  h1 { font-size: 46px; }
  .section { padding: 64px 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; }
  .footer-contact { align-items: flex-start; }
}
