:root {
  --bg: #11100e;
  --paper: #e7e0d1;
  --muted: #aaa294;
  --line: rgba(231, 224, 209, .18);
  --accent: #d7c5a3;
  --max: 1180px;
  --gutter: 48px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Prevent the full-bleed funding band (below) from ever causing sideways scroll */
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Full-screen backdrop for the whole page, behind all content.
   Fixed (not background-attachment) so it works on mobile too.
   Solid section backgrounds (.funding, .person) still paint over it. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(17, 16, 14, .85), rgba(17, 16, 14, .9)),
    url("../images/background-2.jpg") center / cover no-repeat;
}

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

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

.wrap { width: min(calc(100% - (var(--gutter) * 2)), var(--max)); margin: 0 auto; }

/* ---------- Header / hero ---------- */
header {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 0 40px;
  border-bottom: 1px solid var(--line);
}

/* Full-bleed hero background image behind the title, synopsis and menu.
   A dark gradient sits over it so the paper-coloured text stays readable. */
header::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  height: 100%;
  z-index: 0;
  background:
    linear-gradient(to bottom, rgba(17, 16, 14, .55), rgba(17, 16, 14, .82)),
    url("../images/background.jpg") center / cover no-repeat;
}

/* Keep the hero content above the image layer. */
header > * { position: relative; z-index: 1; }

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

nav .links { display: flex; flex-wrap: wrap; gap: 24px; color: var(--muted); }

/* margin-bottom:auto pins the hero under the nav; spare height falls below it. */
.hero { padding: 6vh 0 8vh; margin-bottom: auto; }

.eyebrow {
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  font-size: clamp(60px, 15vw, 190px);
  font-weight: 400;
  line-height: .78;
  letter-spacing: -.07em;
  margin: 28px 0 42px;
  overflow-wrap: break-word;
}

.logline {
  max-width: 690px;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.16;
  margin: 0;
}

.hero-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 30px;
  align-items: end;
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: var(--muted);
}

.scroll { letter-spacing: .16em; text-transform: uppercase; }

/* ---------- Generic section ---------- */
section {
  padding: 130px 0;
  border-bottom: 1px solid var(--line);
}

.section-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 70px; }

.section-label {
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

h2 {
  font-size: clamp(38px, 6vw, 78px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.04em;
  margin: 0 0 38px;
}

.copy { max-width: 760px; font-size: 20px; color: #d8d0c1; }
.copy p { margin: 0 0 28px; }

.quote {
  border-left: 1px solid var(--accent);
  padding-left: 28px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.2;
  margin: 55px 0;
  color: var(--paper);
}

/* ---------- Media ---------- */
.media-placeholder {
  border: 1px solid var(--line);
  background: #191816;
  overflow: hidden;
  line-height: 0;
}
.media-placeholder img { width: 100%; height: auto; }
.media-placeholder + .media-placeholder { margin-top: 10px; }

.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 10px; }

.shot {
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #191816;
}
.shot video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Funding (full-bleed band) ---------- */
.funding {
  background: #e7e0d1;
  color: #171512;
  /* Full-bleed without the 100vw scrollbar bug */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0;
}
.funding .section-label,
.funding .small { color: #625d54; }
.funding .section-grid {
  width: min(calc(100% - (var(--gutter) * 2)), var(--max));
  margin: 0 auto;
  padding: 130px 0;
  align-items: start;
}

.amount { font-size: clamp(55px, 8vw, 105px); letter-spacing: -.06em; line-height: .9; margin: 10px 0 25px; }
.progress { height: 5px; background: rgba(23, 21, 18, .16); margin: 30px 0 12px; overflow: hidden; }
.goal { font-family: Arial, sans-serif; font-size: 12px; }

.button {
  display: inline-block;
  padding: 15px 22px;
  border: 1px solid #171512;
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Support block: QR + copy */
.support {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 34px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(23, 21, 18, .22);
}
.support-copy { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.support-copy strong { font-size: 18px; }
.support-copy .button { align-self: flex-start; margin-top: 8px; }

.qr img { display: block; width: 150px; height: 150px; border: 1px solid #222; background: #fff; }

.upi {
  margin: 14px 0 0;
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.5;
}
.upi-label {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .7;
}
.upi-id {
  color: #9a3412;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: .02em;
  text-decoration: underline;
  text-underline-offset: 3px;
  user-select: all;
}
.upi-name strong { color: #9a3412; }

.producer-note {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid rgba(23, 21, 18, .22);
  max-width: 720px;
}
.producer-note h3 { margin: 0 0 10px; font-size: 20px; font-weight: 500; }
.producer-note p { margin: 0 0 12px; max-width: 650px; font-size: 17px; line-height: 1.65; }
.producer-note a { color: inherit; text-underline-offset: 3px; text-decoration: underline; }

/* ---------- Status & budget ---------- */
.status-bar { height: 5px; background: var(--line); margin: 34px 0 12px; overflow: hidden; }
.status-bar span { display: block; height: 100%; background: var(--accent); }
.status-meta { display: flex; justify-content: space-between; font-family: Arial, sans-serif; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.status-sub { font-size: clamp(24px, 2.4vw, 34px); font-weight: 400; margin: 56px 0 18px; }
.uses { list-style: none; margin: 0; padding: 0; font-size: 18px; line-height: 1.6; color: #aaa294; }
.uses li { padding: 18px 0; border-top: 1px solid var(--line); }
.uses li:last-child { border-bottom: 1px solid var(--line); }
.uses strong { display: block; font-weight: 400; font-size: 22px; color: var(--paper); margin-bottom: 4px; }

.status-note { margin: 40px 0 0; font-size: 18px; color: #aaa294; }
.status-note a { color: var(--paper); text-underline-offset: 3px; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1px; background: var(--line); margin-top: 40px; }
.person { position: relative; background: var(--bg); padding: 44px 48px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.person h3 { font-size: clamp(30px, 3vw, 46px); font-weight: 400; line-height: 1; margin: 0 0 12px; }
.role { font-family: Arial, sans-serif; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.social { position: absolute; top: 44px; right: 48px; display: inline-flex; align-items: center; gap: 8px; font-family: Arial, sans-serif; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color .2s; }
.social svg { width: 18px; height: 18px; }
.social:hover, .social:focus-visible { color: var(--paper); }
.person p { font-size: 18px; line-height: 1.65; color: #aaa294; max-width: 760px; margin: 0; }

/* ---------- Footer ---------- */
footer {
  padding: 55px 0;
  font-family: Arial, sans-serif;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
footer a { color: inherit; text-underline-offset: 3px; }
footer a svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1050px) {
  .team { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --gutter: 15px; }
  .hero { padding-top: 6vh; }
  h1 { font-size: 30vw; }
  header { min-height: 0; }
  .hero { padding-bottom: 18vh; }
  section { padding: 85px 0; }
  .section-grid { grid-template-columns: 1fr; gap: 35px; }
  .funding .section-grid { padding: 85px 0; }
  .shots { grid-template-columns: 1fr; }
  nav .links { display: none; }
  .person { gap: 14px; padding: 32px 24px; }
  .social { top: 32px; right: 24px; }
}

@media (max-width: 640px) {
  .support { grid-template-columns: 1fr; }
  .qr img { width: 130px; height: 130px; }
  footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 460px) {
  nav .links { gap: 16px; }
}
