:root {
  /* ===== DORRA identity =====
     Brand black + warm ivory grounds, bronze as the structural accent,
     gold reserved for moments that must catch the eye. */
  --ink: #231F20;
  --ink-soft: #3A3435;
  --ivory: #F9F7F3;
  --bone: #F4F2EC;
  --sand: #DED6C5;
  --gold-bright: #FFCE31;
  --bronze: #A27300;
  --bronze-dark: #7F6000;

  /* Legacy token names remapped onto the Dorra palette so every
     section inherits the identity without being rewritten. */
  --navy: #231F20;
  --navy-light: #3A3435;
  --gold: #A27300;
  --gold-light: #F2E7C9;
  --green: #7F6000;
  --green-light: #A27300;
  --maroon: #8A3A1E;
  --white: #FFFFFF;
  --gray-50: #F9F7F3;
  --gray-100: #F4F2EC;
  --gray-200: #E8E3D8;
  --gray-300: #DED6C5;
  --gray-500: #8A837C;
  --gray-700: #4A4543;
  --gray-900: #231F20;
  --font-heading: 'Tajawal', sans-serif;
  --font-body: 'Tajawal', sans-serif;
  --font-latin: 'Montserrat', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max-width: 1100px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.3;
}

/* ========== NAV ========== */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(249,247,243,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  padding: 14px 24px;
  transition: transform 0.3s ease;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  height: 22px;
  width: auto;
}

.nav-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-dot.active {
  background: var(--navy);
  transform: scale(1.4);
}

/* ========== SECTIONS ========== */
section {
  padding: 96px 24px;
  position: relative;
}

section:first-child {
  padding-top: 0;
}

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

.section-alt {
  background: var(--gray-50);
}

.section-dark {
  background: linear-gradient(135deg, var(--navy) 0%, #0F2447 100%);
  color: var(--white);
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--ink);
  color: var(--white);
  padding: 64px 24px;
  position: relative;
  overflow: hidden;
}

/* A single slow warm wash — the only movement on the page. */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(162,115,0,0.16) 0%, transparent 70%);
  animation: heroGlow 12s ease-in-out infinite alternate;
}

/* Hairline frame — the restrained, architectural note. */
.hero::after {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(222,214,197,0.16);
  pointer-events: none;
}

@keyframes heroGlow {
  0% { opacity: 0.5; transform: translate(0, 0); }
  100% { opacity: 1; transform: translate(-5%, 3%); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-logo {
  width: 120px;
  height: auto;
  margin-bottom: 32px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.hero h1 {
  font-size: clamp(1.9rem, 4.4vw, 2.9rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--sand);
  max-width: 550px;
  margin: 0 auto 48px;
  line-height: 1.9;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  stroke-width: 2;
  fill: none;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ========== TYPOGRAPHY ========== */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-bottom: 48px;
  max-width: 600px;
}

/* ========== PAIN CARDS ========== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.pain-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pain-card-icon {
  width: 48px;
  height: 48px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pain-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--navy);
  stroke-width: 1.5;
  fill: none;
}

.pain-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--maroon);
  margin-bottom: 8px;
}

.pain-card p {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.pain-card .solution {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-200);
  color: var(--green);
  font-weight: 500;
  font-size: 0.85rem;
}

/* ========== FEATURE SECTION ========== */
.feature-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-section.reverse {
  direction: ltr;
}

.feature-section.reverse > * {
  direction: rtl;
}

.feature-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.feature-pain {
  background: linear-gradient(135deg, #FFF8E1 0%, #FFFDE7 100%);
  border-inline-start: 4px solid var(--gold);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 24px;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 8px 0;
  padding-inline-start: 28px;
  position: relative;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.feature-list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 14px;
  width: 16px;
  height: 16px;
  background: var(--green);
  border-radius: 50%;
  opacity: 0.2;
}

.feature-list li::after {
  content: '';
  position: absolute;
  inset-inline-start: 4px;
  top: 18px;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

/* ========== SCREENSHOTS ========== */
.screenshot-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.screenshot-container img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-caption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 12px;
}

/* ========== MERMAID DIAGRAMS ========== */
.diagram-container {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 32px 0;
  overflow-x: auto;
}

.diagram-container .mermaid {
  display: flex;
  justify-content: center;
}

.diagram-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-500);
  text-align: center;
  margin-bottom: 16px;
}

/* ========== GANTT TIMELINE ========== */
.gantt-timeline {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  overflow-x: auto;
}

.gantt-header {
  display: grid;
  grid-template-columns: 160px repeat(7, 1fr);
  gap: 0;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}

.gantt-header span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  text-align: center;
}

.gantt-header span:first-child {
  text-align: start;
}

.gantt-phase {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  margin-bottom: 16px;
}

.gantt-phase-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  padding-inline-end: 16px;
}

.gantt-phase-label small {
  font-weight: 400;
  color: var(--gray-500);
  font-size: 0.75rem;
}

.gantt-bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  align-items: center;
}

.gantt-bar {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gantt-milestone {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green);
  text-align: center;
}

@media (max-width: 768px) {
  .gantt-header { grid-template-columns: 100px repeat(7, 1fr); }
  .gantt-phase { grid-template-columns: 100px 1fr; }
  .gantt-phase-label { font-size: 0.75rem; }
  .gantt-bar { font-size: 0.65rem; padding: 8px 6px; }
  .gantt-header span { font-size: 0.65rem; }
}

/* ========== STAT CARDS ========== */
.stat-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 32px 0;
}

.stat-card {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 24px 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}

.stat-card .number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
}

.stat-card .label {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 4px;
}

/* ========== MODULE GRID ========== */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.module-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.module-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.module-card-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.module-card h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

/* ========== TABLES ========== */
.clean-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
}

.clean-table th {
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
  text-align: start;
  font-weight: 600;
}

.clean-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-200);
}

.clean-table tr:hover td {
  background: var(--gray-50);
}

.clean-table .total-row td {
  background: var(--gold-light);
  font-weight: 700;
}

/* ========== TIMELINE ========== */
.timeline {
  position: relative;
  padding-inline-start: 32px;
  margin: 32px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  inset-inline-start: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  inset-inline-start: -28px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--navy);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--navy);
}

.timeline-item.active::before {
  background: var(--green);
  box-shadow: 0 0 0 2px var(--green);
}

.timeline-title {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ========== COMPARISON BARS ========== */
.comparison-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.comparison-label {
  min-width: 100px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
}

.comparison-bar {
  flex: 1;
  display: flex;
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 32px;
}

.comparison-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0 8px;
  white-space: nowrap;
}

.comparison-value {
  font-weight: 700;
  font-size: 0.9rem;
  min-width: 60px;
  text-align: center;
}

/* ========== PRICING ========== */
.price-total {
  background: var(--navy);
  color: var(--white);
  padding: 24px 32px;
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 24px 0;
}

.price-total .amount {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
}

/* ========== ANIMATIONS ========== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 100ms; }
.stagger-2 { transition-delay: 200ms; }
.stagger-3 { transition-delay: 300ms; }
.stagger-4 { transition-delay: 400ms; }
.stagger-5 { transition-delay: 500ms; }
.stagger-6 { transition-delay: 600ms; }

.slide-from-right {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-from-left {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-from-right.is-visible,
.slide-from-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ========== SLA TABLE ========== */
.sla-critical { color: var(--maroon); font-weight: 700; }
.sla-high { color: #E65100; font-weight: 700; }
.sla-medium { color: var(--gold); font-weight: 700; }
.sla-low { color: var(--navy); font-weight: 700; }

/* ========== PHONE FRAME ========== */
.phone-frame {
  position: relative;
  width: 280px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 25px 60px rgba(0,0,0,0.3),
    0 0 0 2px #333,
    inset 0 0 0 2px #2a2a2a;
}

.phone-frame img {
  width: 100%;
  border-radius: 28px;
  display: block;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #1a1a1a;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #333;
  border-radius: 0 0 4px 4px;
}

@media (max-width: 768px) {
  .phone-frame {
    width: 220px;
    border-radius: 32px;
    padding: 10px;
  }
  .phone-frame img { border-radius: 22px; }
  .phone-notch { width: 90px; height: 22px; }
}

/* ========== CLOSING ========== */
.closing-section {
  text-align: center;
  padding: 96px 24px;
  background: var(--gray-50);
}

.closing-section h2 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.closing-section p {
  color: var(--gray-500);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  section { padding: 64px 16px; }

  .feature-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-section.reverse {
    direction: rtl;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

  .stat-row {
    flex-direction: column;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .nav-dots { display: none; }

  .comparison-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .price-total {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .slide-from-right,
  .slide-from-left {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero::before { animation: none; }
  .scroll-indicator { animation: none; }
}

/* ==========================================================
   DORRA — identity layer
   Quiet and architectural: brand black, warm ivory grounds,
   bronze hairlines, and a lot of air. Gold appears rarely,
   and only where the eye must land.
   ========================================================== */

/* Latin runs and figures pick up Montserrat; Arabic stays Tajawal. */
.latin, .stat-card .number, .gantt-header span, .price-total .amount {
  font-family: var(--font-latin);
  font-feature-settings: "tnum" 1;
}

/* ---- Hero ---- */
.hero-logo {
  width: clamp(180px, 34vw, 260px);
  height: auto;
  margin-bottom: 40px;
  filter: none;
}

.hero-content { max-width: 720px; }

/* ---- Section titles: thin, letterspaced, with a bronze hairline ---- */
.section-title {
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink);
  padding-bottom: 14px;
  margin-bottom: 28px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 48px;
  height: 2px;
  background: var(--bronze);
}

h3, h4 { font-weight: 500; letter-spacing: 0.005em; }

/* Alternating grounds: white, then warm ivory. */
.section-alt { background: var(--ivory); }

/* ---- Cards: flatten the shadows, let the hairlines do the work ---- */
.pain-card,
.stat-card,
.module-card,
.diagram-container,
.gantt-timeline,
.screenshot-container {
  border-color: var(--gray-200);
  box-shadow: none;
}

.pain-card { border-radius: var(--radius-md); }

.pain-card:hover {
  transform: none;
  border-color: var(--sand);
  box-shadow: 0 6px 24px rgba(35,31,32,0.06);
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 28px 18px;
}

.stat-card .number {
  font-weight: 600;
  font-size: 1.55rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.stat-card .label {
  color: var(--gray-500);
  line-height: 1.6;
  margin-top: 8px;
}

.module-card { border-radius: var(--radius-sm); }
.module-card:hover { transform: none; border-color: var(--bronze); }

/* ---- Lists: bronze markers instead of the green dots ---- */
.feature-list li::before { background: var(--bronze); opacity: 0.16; }
.feature-list li::after  { background: var(--bronze); }

/* ---- Tables ---- */
.clean-table th {
  background: var(--ink);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.clean-table tr:hover td { background: var(--bone); }
.clean-table .total-row td { background: var(--bone); }

/* ---- Gantt: the one place gold is allowed to shout ---- */
.gantt-timeline { border-radius: var(--radius-sm); }
.gantt-bar { border-radius: 2px; font-weight: 500; letter-spacing: 0.01em; }

.gantt-milestone {
  color: var(--bronze-dark);
  font-family: var(--font-latin);
  letter-spacing: 0.02em;
}

.gantt-phase-label { color: var(--ink); font-weight: 500; }

/* ---- Screenshots: seat them on the warm ground ---- */
.screenshot-container {
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 40px rgba(35,31,32,0.10);
}

/* ---- Diagrams ---- */
.diagram-container { border-radius: var(--radius-sm); background: var(--white); }
.diagram-title { letter-spacing: 0.04em; text-transform: none; }

/* ---- Nav dots ---- */
.nav-dot { width: 6px; height: 6px; background: var(--sand); }
.nav-dot.active { background: var(--ink); transform: scale(1.5); }

/* ---- Closing ---- */
.closing-section { background: var(--ivory); }
.closing-section h2 { font-weight: 400; color: var(--ink); }

/* ---- Print / PDF ---- */
@media print {
  .top-nav, .scroll-indicator { display: none !important; }
  section { padding: 32px 0; page-break-inside: avoid; }
  .hero { min-height: auto; page-break-after: always; }
  .hero::before, .hero::after { display: none; }
  .animate-on-scroll { opacity: 1 !important; transform: none !important; }
  .screenshot-container { box-shadow: none; }
  body { background: var(--white); }
}

/* Leftover hardcoded hues from the previous identity, brought onto palette. */
.section-dark {
  background: var(--ink);
}

.feature-pain {
  background: var(--bone);
  border-inline-start: 3px solid var(--bronze);
}

.sla-critical { color: var(--maroon); }
.sla-high     { color: #B4571F; }
.sla-medium   { color: var(--bronze); }
.sla-low      { color: var(--ink); }

/* ---- App showcase rail (cover-adjacent, brand-black band) ---- */
.app-rail {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: flex-start;
  margin-top: 56px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.app-shot {
  margin: 0;
  flex: 0 0 auto;
  text-align: center;
  max-width: 232px;
}

/* Slimmer frames than the default so four fit the measure. */
.app-rail .phone-frame {
  width: 232px;
  background: #0E0C0C;
  box-shadow: 0 24px 56px rgba(0,0,0,0.55), 0 0 0 1px rgba(222,214,197,0.14);
}

.app-rail .phone-notch { width: 96px; height: 22px; background: #0E0C0C; }

.app-shot figcaption {
  color: var(--sand);
  font-size: 0.78rem;
  line-height: 1.6;
  margin-top: 16px;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .app-rail { justify-content: flex-start; gap: 20px; }
  .app-rail .phone-frame { width: 200px; }
  .app-shot { max-width: 200px; }
}

/* Language switch sits opposite the mark. */
.nav-right { display: flex; align-items: center; gap: 20px; }

.lang-switch {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--gray-500);
  text-decoration: none;
  border: 1px solid var(--gray-300);
  padding: 5px 12px;
  border-radius: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.lang-switch:hover { color: var(--ink); border-color: var(--bronze); }

