/* ─── TWO-COLUMN LAYOUT ──────────────────────────────────────── */
.layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 6rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 3rem;
  min-height: 100vh;
}

.col-left {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.col-right { padding: 5rem 0 6rem; }

/* ─── Lang toggle wrapper ────────────────────────────────────── */
.lang-toggle-wrapper {
  margin-bottom: 4rem;
}

/* ─── Section base ───────────────────────────────────────────── */
.section { margin-bottom: 7rem; padding-top: 1rem; }
.section:last-of-type { margin-bottom: 3rem; }

/* ─── Section heading ────────────────────────────────────────── */
.section-heading {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
  max-width: 120px;
}

/* ─── Section reveal animations ─────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 700ms var(--ease-expo), transform 700ms var(--ease-expo);
  }
  .reveal.in-view { opacity: 1; transform: translateY(0); }
  .reveal-d1 { transition-delay: 80ms; }
  .reveal-d2 { transition-delay: 160ms; }
  .reveal-d3 { transition-delay: 240ms; }
  .reveal-d4 { transition-delay: 320ms; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ─── RESPONSIVE ≤1024px ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .layout { grid-template-columns: 1fr; gap: 0; padding: 0 2rem; }

  .col-left {
    position: static;
    height: auto;
    padding: 3.5rem 0 2rem;
    border-bottom: 1px solid var(--border);
  }

  .col-right { padding: 3rem 0 4rem; }
}

/* ─── RESPONSIVE ≤640px ──────────────────────────────────────── */
@media (max-width: 640px) {
  .layout { padding: 0 1.25rem; }
  .col-left { padding: 2.5rem 0 1.5rem; }
  .col-right { padding: 2rem 0 3rem; }
  .lang-toggle-wrapper { margin-bottom: 2.5rem; }
  .section { margin-bottom: 4.5rem; }
}
