:root {
  --bg: #070708;
  --bg-elev: #0e0e10;
  --ink: #f4f1ea;
  --muted: rgba(244, 241, 234, 0.55);
  --faint: rgba(244, 241, 234, 0.28);
  --gold: #f0c93a;
  --gold-soft: #c9a227;
  --gold-deep: #8a6e14;
  --line: rgba(255, 255, 255, 0.1);
  --ok: #7dba6a;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Sora", system-ui, sans-serif;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  background:
    radial-gradient(1200px 700px at 70% -10%, rgba(240, 201, 58, 0.08), transparent 55%),
    radial-gradient(900px 600px at -10% 40%, rgba(90, 60, 20, 0.18), transparent 50%),
    linear-gradient(165deg, #0b0b0c 0%, #050505 45%, #0a0908 100%);
  background-attachment: fixed;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--gold);
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--pad);
  background: linear-gradient(to bottom, rgba(7, 7, 8, 0.92), rgba(7, 7, 8, 0));
}

.header-end {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-wrap select {
  appearance: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.4rem 1.75rem 0.4rem 0.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23a8a59c' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  cursor: pointer;
}

.lang-wrap select:hover,
.lang-wrap select:focus {
  color: var(--ink);
  border-color: rgba(240, 201, 58, 0.35);
  outline: none;
}

.lang-wrap select option {
  color: #111;
  background: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-mark {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav .nav-cta {
  color: var(--ink);
}

.nav-cta {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

@media (max-width: 720px) {
  .site-nav a:not(.nav-cta) {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 6.5rem var(--pad) 3.5rem;
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: min(70vw, 640px);
  height: min(70vw, 640px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 201, 58, 0.16), transparent 68%);
  filter: blur(8px);
  animation: pulse-glow 6s ease-in-out infinite;
}

.m6 {
  width: min(92vw, 560px);
  opacity: 0.92;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.65));
  animation: rise-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lever {
  transform-origin: 0px 1px;
  animation: lever-wave 3.6s ease-in-out infinite;
}

.film-strip .sprockets {
  animation: film-crawl 4.5s linear infinite;
}

.lens-glass {
  animation: shutter-blink 7s ease-in-out infinite;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  animation: rise-in 1s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand-hero {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 10vw, 5.5rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 0.95;
  background: linear-gradient(135deg, #ffe9a0 0%, var(--gold) 45%, var(--gold-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-hero.compact {
  font-size: clamp(2.4rem, 7vw, 3.5rem);
}

.hero h1,
.section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 4.2vw, 2.6rem);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.hero-lede,
.lede {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 36rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--gold);
  color: #14110a;
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: #ffe07a;
  color: #14110a;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
}

.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 10vw, 7rem) var(--pad);
  border-top: 1px solid var(--line);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-inner.wide {
  max-width: 960px;
}

.section-inner.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-inner.center .lede {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.feature-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.35rem;
}

.feature-list li {
  display: grid;
  gap: 0.25rem;
  padding-left: 1rem;
  border-left: 2px solid var(--gold-deep);
}

.feature-list strong {
  font-weight: 600;
  font-size: 1.02rem;
}

.feature-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

.section-meter {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.section-meter .section-inner {
  margin: 0;
}

.meter-panel {
  justify-self: end;
  width: min(100%, 280px);
  padding: 1.5rem 1.35rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.meter-chip {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: rgba(125, 186, 106, 0.15);
  color: var(--ok);
}

.meter-ev {
  margin: 1.25rem 0 0.35rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.meter-ev span {
  color: var(--faint);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.meter-ev em {
  font-style: normal;
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold);
}

.meter-status {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.meter-status.ok {
  color: var(--ok);
}

.meter-modes {
  display: flex;
  gap: 0.4rem;
}

.meter-modes span {
  flex: 1;
  text-align: center;
  padding: 0.45rem 0.2rem;
  font-size: 0.75rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.meter-modes .on {
  color: #14110a;
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 600;
}

@media (max-width: 840px) {
  .section-meter {
    grid-template-columns: 1fr;
  }

  .meter-panel {
    justify-self: start;
  }
}

.exposure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 2.5rem;
  margin-top: 2.25rem;
}

.exposure-grid h3 {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.exposure-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .exposure-grid {
    grid-template-columns: 1fr;
  }
}

.section-privacy {
  background: linear-gradient(180deg, transparent, rgba(240, 201, 58, 0.04), transparent);
}

.fineprint {
  margin: 1rem 0 0;
  color: var(--faint);
  font-size: 0.85rem;
  max-width: 36rem;
}

.section-download .fineprint {
  margin-top: 1.25rem;
}

/* Footer */
.site-footer {
  display: grid;
  gap: 1rem;
  padding: 2.5rem var(--pad) 3rem;
  border-top: 1px solid var(--line);
  max-width: calc(var(--max) + 2 * var(--pad));
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.88rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-copy {
  margin: 0;
  color: var(--faint);
  font-size: 0.8rem;
}

/* Legal pages */
.legal-page {
  padding: 6.5rem var(--pad) 4rem;
  max-width: 720px;
  margin: 0 auto;
}

.legal-page h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2.2rem;
  margin: 0 0 1.5rem;
}

.legal-page pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--muted);
}

.legal-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.9rem;
}

/* Motion */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes lever-wave {
  0%,
  55%,
  100% {
    transform: rotate(0deg);
  }
  62% {
    transform: rotate(-28deg);
  }
  70% {
    transform: rotate(0deg);
  }
  78% {
    transform: rotate(-34deg);
  }
  88% {
    transform: rotate(0deg);
  }
}

@keyframes film-crawl {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-16px);
  }
}

@keyframes shutter-blink {
  0%,
  88%,
  100% {
    opacity: 1;
  }
  90%,
  92% {
    opacity: 0.15;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .m6,
  .hero-copy,
  .hero-glow,
  .lever,
  .sprockets,
  .lens-glass {
    animation: none !important;
  }
}
