/* =====================================================
   LAYAK — Credentials You Own
   Site stylesheet
   ===================================================== */

/* =====================================================
   FONTS & CUSTOM PROPERTIES
   ===================================================== */

:root {
  --black:       #0A0A0A;
  --black-deep:  #070707;
  --white:       #FFFFFF;
  --grey:        #9A9A9A;
  --gold:        #E0B64A;
  --gold-deep:   #D99A00;
  --hairline:    rgba(255, 255, 255, 0.14);
  --hairline-strong: rgba(255, 255, 255, 0.22);

  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --max-w:      1160px;
  --gutter:     clamp(1.5rem, 5vw, 4rem);
}

/* =====================================================
   RESET & BASE
   ===================================================== */

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

html {
  scroll-behavior: smooth;
}

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

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* =====================================================
   TYPOGRAPHY UTILITIES
   ===================================================== */

.eyebrow {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 1.25rem;
}

.eyebrow--center {
  text-align: center;
}

.section-heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.section-lead {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  color: var(--grey);
  max-width: 60ch;
}

.gold {
  color: var(--gold);
  font-style: italic;
}

/* =====================================================
   LAYOUT HELPERS
   ===================================================== */

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) var(--gutter);
}

.section-inner--narrow {
  max-width: 780px;
}

/* =====================================================
   HEADER
   ===================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.header-lockup {
  height: 68px;
  width: auto;
  object-fit: contain;
  display: block;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--grey);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--white);
}

.nav-cta {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--black-deep);
  background: var(--gold);
  padding: 0.45rem 1.05rem;
  border-radius: 2px;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--gold-deep);
}

/* Mobile menu toggle — min 44×44 touch target */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  min-width: 44px;
  min-height: 44px;
  flex-shrink: 0;
}

.menu-bar {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--hairline);
  background: var(--black-deep);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.mobile-nav.is-open {
  max-height: 420px;
}

.mobile-nav-link {
  padding: 1rem var(--gutter);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--grey);
  border-bottom: 1px solid var(--hairline);
  transition: color 0.2s ease;
}

.mobile-nav-link:hover {
  color: var(--white);
}

.mobile-nav-cta {
  color: var(--gold);
}

/* =====================================================
   LANGUAGE TOGGLE
   Intentionally minimal — swap .lang-toggle-id href
   and remove the JS block to upgrade to a real /id/ page.
   ===================================================== */

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.lang-toggle-active {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
  cursor: default;
  user-select: none;
}

.lang-toggle-sep {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.18);
  user-select: none;
}

.lang-toggle-link {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--grey);
  transition: color 0.2s ease;
}

.lang-toggle-link:hover {
  color: var(--white);
}

/* Mobile variant — sits as its own row at the bottom of the slide-down menu */
.mobile-lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem var(--gutter);
  border-bottom: 1px solid var(--hairline);
}

/* =====================================================
   HERO
   ===================================================== */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 100svh;
  padding-top: 76px; /* header height */
  display: flex;
  align-items: center;
}

/* Full-bleed Balinese gate art — shifted right so gate is centred in right half */
.art-hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% top;
  opacity: 0.38;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* Gold spear — lava/power rising from volcano through the temple gate.
   Spans from volcano level (~78% from top) up to gate top (~5% from top).
   Gradient reads bottom-up: fades in at volcano, solid gold through gate, fades at sky. */
.hero::before {
  content: '';
  position: absolute;
  top: 5%;
  bottom: 20%;
  left: 51.5%;
  width: 2px;
  background: linear-gradient(
    to top,
    transparent 0%,
    var(--gold) 12%,
    var(--gold) 82%,
    transparent 100%
  );
  z-index: 3;
  pointer-events: none;
}

/* No left-side overlay — art shows through equally on both halves */

/* Text column — left-aligned, limited width so it stays in the dark zone */
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 5rem var(--gutter) 5rem clamp(2rem, 6vw, 6rem);
  max-width: min(600px, 52%);
  position: relative;
  z-index: 2;
}

.hero-gate {
  width: auto;
  height: clamp(170px, 20vw, 240px);
  object-fit: contain;
}

.hero-heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
}

@media (min-width: 1400px) {
  .hero-text {
    max-width: min(760px, 52%);
  }
}

.hero-sub {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.90);
  max-width: 44ch;
  text-shadow: 0 1px 10px rgba(0,0,0,0.9);
}

.hero-sub-2 {
  margin-top: 0.5rem;
}

/* CTA button inside hero text column */
.hero-cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  color: var(--black-deep);
  background: var(--gold);
  padding: 0.75rem 1.625rem;
  border-radius: 2px;
  transition: background 0.2s ease;
  margin-top: 0.5rem;
  align-self: flex-start;
}

.hero-cta:hover {
  background: var(--gold-deep);
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.625rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
}

/* Scroll cue — absolutely positioned at bottom-left */
.hero-scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: clamp(2rem, 6vw, 6rem);
  z-index: 2;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  animation: scroll-cue 2.4s ease-in-out infinite;
}

@keyframes scroll-cue {
  0%, 100% { opacity: 0.2; transform: translateX(-50%) scaleY(0.6); }
  50%        { opacity: 0.7; transform: translateX(-50%) scaleY(1); }
}

/* Hero entrance animations */
.hero-animate {
  opacity: 0;
  transform: translateY(18px);
}

.hero-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.hero-delay-1.is-visible { transition-delay: 0.12s; }
.hero-delay-2.is-visible { transition-delay: 0.24s; }
.hero-delay-3.is-visible { transition-delay: 0.36s; }
.hero-delay-4.is-visible { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .hero-animate {
    opacity: 1;
    transform: none;
  }
  .hero-scroll-cue { animation: none; }
}

/* =====================================================
   BALINESE LINE-ART ILLUSTRATIONS
   ===================================================== */

/* Hero art — fills right column absolutely */
.art-hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.38;
  pointer-events: none;
  display: block;
}

/* Seam candi bentar — true background; section height set by content */
.art-seam {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.22;
  pointer-events: none;
  display: block;
  z-index: 0;
}

/* Footer palms — covers band; positioned to show palms and mid-scene, not just sky */
.art-footer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.38;
  pointer-events: none;
  display: block;
}

/* Seam content sits above the gate illustration */
.seam-inner {
  position: relative;
  z-index: 1;
}

/* =====================================================
   PROBLEM
   ===================================================== */

.problem {
  background: var(--black);
  position: relative;
}

.problem::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  opacity: 0.55;
}

.problem-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
}

.problem-body {
  max-width: 72ch;
}

.problem-heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--gold);
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
  max-width: 22ch;
}

.problem-body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.75;
  color: var(--grey);
  max-width: 55ch;
}

/* =====================================================
   WORKER LAYER
   ===================================================== */

.workers {
  background: var(--black);
  border-top: 1px solid var(--hairline);
}

.worker-items {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.worker-item {
  padding: 2rem 2rem 0 0;
  border-top: 1px solid var(--hairline-strong);
}

.worker-item:not(:first-child) {
  padding-left: 1.5rem;
  border-left: 1px solid var(--hairline);
}

/* Seal stamp — full-width band above the four-column grid */
.worker-seal {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 2.5rem;
  padding: 2rem 0;
  position: relative;
}

.worker-seal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--gold), rgba(224,182,74,0.3) 60%, transparent);
  opacity: 0.7;
}

.worker-seal-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  opacity: 0.85;
  flex-shrink: 0;
}

.worker-seal-text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.worker-seal-label {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.worker-seal-caption {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--grey);
  max-width: 52ch;
}

.item-kicker {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.item-heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.item-body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--grey);
}

/* =====================================================
   HOW IT WORKS
   ===================================================== */

.how {
  background: var(--black);
  border-top: 1px solid var(--hairline);
}

.how-intro {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  color: var(--grey);
  max-width: 58ch;
  margin-bottom: 3.5rem;
}

.how-steps {
  display: flex;
  flex-direction: column;
  counter-reset: how-step;
}

.how-step {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0 2rem;
  padding: 2.25rem 0;
  border-top: 1px solid var(--hairline);
  align-items: start;
  position: relative;
  overflow: hidden;
  counter-increment: how-step;
}

.how-step:last-child {
  border-bottom: 1px solid var(--hairline);
}

/* Large faded background number */
.how-step::after {
  content: counter(how-step, decimal-leading-zero);
  position: absolute;
  right: -0.05em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: clamp(7rem, 15vw, 12rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: -0.03em;
}

.how-step-number {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  padding-top: 0.25rem;
}

.how-step-heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 0.625rem;
}

.how-step-body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(0.9375rem, 1.2vw, 1rem);
  line-height: 1.7;
  color: var(--grey);
  max-width: 58ch;
}

/* =====================================================
   CARROT LADDER
   ===================================================== */

.path {
  background: var(--black);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Gold top hairline */
.path::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  opacity: 0.55;
  z-index: 3;
}

/* Path art — true background; section height set by content */
.art-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  opacity: 0.22;
  pointer-events: none;
  display: block;
  z-index: 0;
}

.path .section-inner {
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 12px rgba(0,0,0,0.95);
}

/* =====================================================
   THE SEAM
   ===================================================== */

.seam {
  position: relative;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--black-deep);
  overflow: hidden;
  isolation: isolate;
}

.seam-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.seam-glow {
  position: absolute;
  bottom: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at 50% 100%, rgba(224, 182, 74, 0.09) 0%, transparent 70%);
  pointer-events: none;
}

.seam-gate {
  width: 44px;
  height: 44px;
  object-fit: contain;
  opacity: 0.7;
}

.seam-line {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--white);
  max-width: 44ch;
}

.seam .eyebrow {
  color: var(--gold);
}

.seam-note {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.68);
  max-width: 44ch;
  text-align: center;
  margin-top: 2.5rem;
  text-shadow: 0 1px 10px rgba(0,0,0,0.9);
}

.seam-note em {
  font-style: italic;
}

/* =====================================================
   PARTNER LAYER
   ===================================================== */

.partners {
  background: var(--black-deep);
}

/* Partner table */
.partner-table {
  margin-top: 3.5rem;
  border-bottom: 1px solid var(--hairline);
  position: relative;
}

.partner-table::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--gold), rgba(224,182,74,0.3) 60%, transparent);
  opacity: 0.7;
}

.partner-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--hairline);
}

.partner-row:last-child {
  border-bottom: none;
}

.partner-label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.partner-tag {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}

.partner-name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--white);
}

.partner-detail {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--grey);
}

.partner-detail p {
  margin-bottom: 1rem;
}

.partner-detail p:last-child {
  margin-bottom: 0;
}

.partner-bullets {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.partner-bullets li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.partner-bullets li::before {
  content: '';
  width: 6px;
  height: 6px;
  min-width: 6px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  margin-top: 0.45em;
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gold);
  border: 1px solid var(--gold);
  margin-top: 3rem;
}

.stat-block {
  background: var(--black-deep);
  padding: 2rem 1.75rem;
}

.stat-value {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--grey);
}

/* =====================================================
   CONTACT
   ===================================================== */

.contact {
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  opacity: 0.55;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}

.form-input {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  color: var(--white);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.6rem 0;
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease;
}

.form-input::placeholder {
  color: transparent;
}

.form-input:focus {
  border-bottom-color: var(--gold);
}

.form-select {
  cursor: pointer;
}

.form-select option {
  background: var(--black-deep);
  color: var(--white);
}

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

.form-submit {
  align-self: flex-start;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--black-deep);
  background: var(--gold);
  border: none;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s ease;
}

.form-submit:hover {
  background: var(--gold-deep);
}

.form-note {
  margin-top: 1.5rem;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(154, 154, 154, 0.7);
}

/* =====================================================
   FOOTER
   ===================================================== */

.site-footer {
  background: var(--black-deep);
  border-top: 1px solid var(--hairline);
}

/* Illustrated zone — height is driven by content, not a fixed min-height */
.footer-illustrated {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3.5rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand {
  margin-bottom: 0.65rem;
}

.footer-logo {
  height: 120px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-tagline {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--grey);
  max-width: 40ch;
}

.footer-definition {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 0.75rem;
  white-space: normal;
  display: inline-block;
  background: linear-gradient(to right, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.35) 60%, transparent 100%);
  padding: 0.25rem 3rem 0.25rem 0.25rem;
}

.footer-definition em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-copy {
  background: var(--black);
  padding: 1rem var(--gutter);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copy-seal {
  width: 36px;
  height: 36px;
  object-fit: contain;
  opacity: 0.45;
  flex-shrink: 0;
}

/* ---- Back to top ---- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(224,182,74,0.5);
  background: rgba(10,10,10,0.85);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(8px);
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: rgba(224,182,74,0.12);
  border-color: var(--gold);
}

.footer-copy::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  opacity: 0.45;
}

.footer-seal {
  width: 52px;
  height: 52px;
  object-fit: contain;
  opacity: 0.7;
  flex-shrink: 0;
}

/* =====================================================
   RESPONSIVE — MOBILE
   ===================================================== */


@media (max-width: 900px) {
  /* Header */
  .header-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .mobile-nav {
    display: flex;
  }

  /* Hide the vertical gold spear — it bisects centred text on mobile */
  .hero::before {
    display: none;
  }

  /* Hero — full-bleed on mobile: stack text in top portion, art fills behind */
  .hero {
    min-height: 100svh;
    align-items: flex-start;
    padding-top: 76px;
  }
  .hero-text {
    max-width: 100%;
    padding: 4rem var(--gutter) 5rem;
    text-align: center;
    align-items: center;
  }
  .hero-gate {
    display: block;
    margin: 0 auto;
    /* PNG canvas has 536px right pad vs 181px left — difference = 355px.
       At display height 170px the image renders 177px wide; 355/2087*177 ≈ 30px.
       Adding that as padding-left makes the box symmetric so margin:auto truly centres. */
    padding-left: 30px;
  }
  /* On mobile: centre the gate so towers frame the spear */
  .art-hero {
    object-position: center top;
    opacity: 0.38;
  }
  /* Dark at top where text lives, stays dark enough at bottom for second paragraph */
  .hero::after {
    background: linear-gradient(
      to bottom,
      rgba(10,10,10,0.97) 0%,
      rgba(10,10,10,0.93) 35%,
      rgba(10,10,10,0.80) 60%,
      rgba(10,10,10,0.65) 100%
    );
  }
  .hero-scroll-cue {
    left: 50%;
    transform: translateX(-50%);
  }
  .hero-sub {
    max-width: 44ch;
    text-align: center;
  }

  /* Section inner — tighter vertical rhythm on mobile */
  .section-inner {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .problem-inner {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  /* Hero CTA — full-width on small screens */
  .hero-cta {
    align-self: center;
    text-align: center;
    width: 100%;
    justify-content: center;
  }

  /* Worker items */
  .worker-items {
    grid-template-columns: 1fr 1fr;
  }
  .worker-item:nth-child(3) {
    border-left: none;
    padding-left: 0;
  }
  .worker-item:nth-child(2) {
    padding-right: 0;
    padding-left: 1.25rem;
  }
  .worker-item:nth-child(4) {
    padding-left: 1.25rem;
  }

  /* Partner table */
  .partner-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Stats */
  .stats-row {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

@media (max-width: 560px) {
  /* Worker items single column */
  .worker-items {
    grid-template-columns: 1fr;
  }
  .worker-item {
    border-left: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 1.5rem;
  }

  /* Hero heading smaller */
  .hero-heading {
    font-size: clamp(2.25rem, 10vw, 2.75rem);
  }
}
