:root {
  color-scheme: dark;
  --bg: #070706;
  --panel: #11100f;
  --panel-strong: #181512;
  --ink: #f8efe1;
  --muted: #bda98e;
  --line: rgba(248, 239, 225, 0.14);
  --amber: #ffb34d;
  --amber-soft: rgba(255, 179, 77, 0.18);
  --teal: #58e0cf;
  --red: #d6533f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 5%, rgba(214, 83, 63, 0.18), transparent 30rem),
    radial-gradient(circle at 90% 8%, rgba(88, 224, 207, 0.12), transparent 28rem),
    linear-gradient(180deg, #070706 0%, #0d0b0a 42%, #070706 100%);
  color: var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.75), transparent 82%);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 118px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(7, 7, 6, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: clamp(92px, 8vw, 112px);
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.9rem;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(4, 1fr);
  min-width: 202px;
  padding: 4px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.language-button {
  min-height: 34px;
  padding: 0 8px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.language-button.active {
  color: #17110a;
  background: var(--amber);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 84vh;
  padding: 92px clamp(18px, 5vw, 72px) 34px;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28vh;
  content: "";
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 28%, rgba(255, 179, 77, 0.26), transparent 22rem),
    radial-gradient(circle at 52% 72%, rgba(88, 224, 207, 0.13), transparent 26rem),
    linear-gradient(115deg, rgba(7, 7, 6, 0.98) 0%, rgba(15, 12, 10, 0.9) 46%, rgba(7, 7, 6, 0.98) 100%);
  overflow: hidden;
}

.hero-media img {
  position: absolute;
  right: clamp(0px, 4vw, 70px);
  bottom: -5vh;
  width: min(48vw, 720px);
  height: min(88vh, 900px);
  object-fit: contain;
  object-position: right bottom;
  filter: saturate(1.06) contrast(1.08);
}

.hero-media::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 7, 6, 0.98) 0%, rgba(7, 7, 6, 0.78) 42%, rgba(7, 7, 6, 0.12) 76%),
    linear-gradient(180deg, rgba(7, 7, 6, 0.08), rgba(7, 7, 6, 0.84));
  z-index: 1;
}

.hero-media::after {
  position: absolute;
  right: -12vw;
  bottom: -18vh;
  width: min(68vw, 960px);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(255, 179, 77, 0.24);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(255, 179, 77, 0.14) 50%, transparent 50.2%),
    linear-gradient(0deg, transparent 49.8%, rgba(88, 224, 207, 0.1) 50%, transparent 50.2%);
  opacity: 0.58;
}

.scanline {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.12;
  background: repeating-linear-gradient(180deg, transparent 0 7px, rgba(255,255,255,0.25) 8px);
  mix-blend-mode: screen;
}

.hero-content {
  width: min(740px, 100%);
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker,
.fact-label {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 560px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 4.7vw, 4.45rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.hero-copy,
.section-heading p,
.impact-copy p,
.contact p,
.fact-card p,
.process-grid p,
.product-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 650px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.button.primary {
  color: #150f09;
  border-color: var(--amber);
  background: linear-gradient(135deg, var(--amber), #ffd18a);
  box-shadow: 0 0 30px rgba(255, 179, 77, 0.24);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.05);
}

.button.large {
  min-width: min(100%, 280px);
}

section:not(.hero) {
  padding: 90px clamp(18px, 5vw, 72px);
}

.mission,
.products,
.sources {
  max-width: 1240px;
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
  max-width: 820px;
}

.process-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-grid article,
.product-grid article,
.fact-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
  box-shadow: var(--shadow);
}

.process-grid article,
.product-grid article {
  min-height: 220px;
  padding: 26px;
}

.card-number {
  display: block;
  margin-bottom: 34px;
  color: var(--amber);
  font-weight: 900;
}

.impact {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  max-width: 1380px;
  margin: 0 auto;
}

.impact-copy {
  position: sticky;
  top: 112px;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fact-card {
  min-height: 260px;
  padding: 26px;
}

.fact-card.featured {
  grid-row: span 2;
  min-height: 536px;
  background:
    linear-gradient(180deg, rgba(255, 179, 77, 0.15), rgba(255,255,255,0.035)),
    var(--panel);
}

.fact-card strong {
  display: block;
  margin-bottom: 18px;
  color: var(--amber);
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.9;
}

.product-grid span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 34px;
  color: var(--teal);
  border: 1px solid rgba(88, 224, 207, 0.4);
  background: rgba(88, 224, 207, 0.08);
  font-size: 1.45rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.75fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
  max-width: 1240px;
  margin: 0 auto 36px;
  border: 1px solid rgba(255, 179, 77, 0.36);
  background:
    linear-gradient(135deg, rgba(214, 83, 63, 0.16), rgba(88, 224, 207, 0.08)),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.contact h2 {
  max-width: 850px;
}

.contact p {
  max-width: 760px;
}

.contact-copy-block {
  position: sticky;
  top: 112px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row label,
.form-consent {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: rgba(7, 7, 6, 0.62);
  font: inherit;
  padding: 12px 14px;
  outline: none;
}

.form-row textarea {
  min-height: 150px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 179, 77, 0.16);
}

.form-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
  line-height: 1.55;
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--amber);
}

.form-note {
  margin-bottom: 0;
  font-size: 0.88rem;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.form-status.success {
  color: var(--teal);
}

.form-status.error {
  color: #ff8f7e;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.sources {
  padding-top: 0 !important;
}

.sources-toggle {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.sources-panel {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 0;
  background: rgba(0, 0, 0, 0.22);
}

.sources-panel a {
  color: var(--muted);
  overflow-wrap: anywhere;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-page {
  min-height: 100vh;
  padding-top: 118px;
}

.legal-hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 92px clamp(18px, 5vw, 72px) 44px;
}

.legal-hero h1 {
  max-width: 760px;
}

.legal-hero p:last-child {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.legal-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 72px) 90px;
}

.legal-card {
  padding: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
  box-shadow: var(--shadow);
}

.legal-card-wide {
  grid-column: 1 / -1;
}

.legal-card h2 {
  margin-bottom: 16px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.1;
}

.legal-card p {
  color: var(--muted);
  line-height: 1.7;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card a {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 860px;
    align-items: end;
  }

  .hero-media img {
    right: -10vw;
    bottom: -3vh;
    width: min(78vw, 680px);
    height: min(74vh, 780px);
  }

  .hero-media::before {
    background:
      linear-gradient(180deg, rgba(7, 7, 6, 0.16), rgba(7, 7, 6, 0.96) 70%),
      linear-gradient(90deg, rgba(7, 7, 6, 0.86), rgba(7, 7, 6, 0.18));
  }

  .section-heading,
  .impact,
  .contact {
    grid-template-columns: 1fr;
  }

  .impact-copy {
    position: static;
  }

  .contact-copy-block {
    position: static;
  }

  .product-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 94px;
  }

  .brand-logo {
    height: 74px;
  }

  .language-switch {
    min-width: 176px;
  }

  .language-button {
    padding: 0 3px;
    font-size: 0.66rem;
  }

  .hero {
    min-height: 840px;
    padding-top: 92px;
  }

  .hero-media img {
    right: -52vw;
    bottom: 20vh;
    width: min(112vw, 560px);
    height: min(58vh, 560px);
    opacity: 0.58;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.2rem);
    max-width: 12ch;
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 3rem);
  }

  .hero-actions,
  footer,
  .footer-links {
    flex-direction: column;
  }

  .button,
  .hero-actions .button {
    width: 100%;
  }

  .fact-grid,
  .product-grid,
  .process-grid,
  .legal-content {
    grid-template-columns: 1fr;
  }

  .fact-card.featured {
    min-height: 300px;
  }

  section:not(.hero) {
    padding-top: 68px;
    padding-bottom: 68px;
  }
}
