/* =============================================
   ATELIER.COM – Master Stylesheet
   Design System: Apple + Oak Wood + Engineering
   ============================================= */

/* Google Fonts – Latin + Arabic + Japanese */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500;600;700;900&display=swap');

/* ── Variables ─────────────────────────────── */
:root {
  --white:        #FFFFFF;
  --light-gray:   #F8F9FA;
  --mid-gray:     #E9ECEF;
  --text-gray:    #6C757D;
  --text-dark:    #1A1A24;
  --navy:         #0B132B;
  --navy-deep:    #070B19;
  --dbr-blue:     #1A6CF6;
  --dbr-blue-glow:#1A6CF6;
  --black:        #0A0A0A;
  --oak-warm:     #C4934A;
  --success:      #28A745;
  --font:         'Inter', 'Helvetica Neue', sans-serif;
  --radius:       6px;
  --shadow:       0 4px 30px rgba(0,0,0,0.08);
  --shadow-dark:  0 8px 40px rgba(0,0,0,0.3);
  --transition:   0.3s ease-in-out;
}

/* ── Reset & Base ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ────────────────────────────── */
h1 { font-size: clamp(2.4rem, 5vw, 4.8rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.8rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; }
p  { font-size: 1.05rem; color: var(--text-gray); line-height: 1.75; }

.kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: 0.75rem;
  display: block;
}
.kicker.light { color: rgba(255,255,255,0.5); }

/* ── Section Spacing ───────────────────────── */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

/* ── Buttons ───────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-primary:hover {
  background: #333;
  border-color: #333;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border-color: rgba(0,0,0,0.3);
}
.btn-outline-dark:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-blue {
  background: var(--dbr-blue);
  color: var(--white);
  border-color: var(--dbr-blue);
}
.btn-blue:hover {
  background: #0f5acc;
  box-shadow: 0 0 20px rgba(26,108,246,0.5);
  transform: translateY(-1px);
}
.btn-white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn-white:hover {
  background: rgba(255,255,255,0.9);
}
.btn-lg { padding: 18px 36px; font-size: 1rem; }

/* Text link with arrow */
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.9rem; font-weight: 600;
  color: var(--text-dark);
  transition: gap var(--transition), color var(--transition);
}
.text-link:hover { gap: 12px; color: var(--dbr-blue); }
.text-link::after { content: '→'; font-size: 1rem; }

/* ── Header ────────────────────────────────── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
#site-header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 14px 0;
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; flex-direction: column; line-height: 1;
  color: var(--white);
  transition: color var(--transition);
}
#site-header.scrolled .logo { color: var(--text-dark); }
.logo-name {
  font-size: 1.4rem; font-weight: 800;
  letter-spacing: 0.15em; text-transform: uppercase;
}
.logo-claim {
  font-size: 0.48rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: inherit; opacity: 0.6; margin-top: 2px;
}
.header-nav { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; gap: 28px; }
.nav-link {
  font-size: 0.85rem; font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
  letter-spacing: 0.02em;
}
#site-header.scrolled .nav-link { color: var(--text-dark); }
.nav-link:hover { color: var(--dbr-blue) !important; }
.nav-link.featured {
  font-weight: 700;
  position: relative;
}
.nav-link.featured::after {
  content: '';
  position: absolute; top: -2px; right: -8px;
  width: 5px; height: 5px;
  background: var(--dbr-blue);
  border-radius: 50%;
}
.header-actions { display: flex; align-items: center; gap: 16px; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white);
  transition: all var(--transition);
}
#site-header.scrolled .hamburger span { background: var(--black); }

/* ── Demo Modal ────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: var(--white);
  padding: 48px;
  border-radius: 12px;
  max-width: 480px; width: 90%;
  text-align: center;
  box-shadow: var(--shadow-dark);
  position: relative;
}
.modal-icon { font-size: 2.5rem; margin-bottom: 16px; }
.modal-box h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--text-dark); }
.modal-box p { font-size: 0.9rem; color: var(--text-gray); line-height: 1.6; margin-bottom: 24px; }
.modal-close {
  position: absolute; top: 16px; right: 20px;
  font-size: 1.4rem; cursor: pointer; color: var(--text-gray);
  background: none; border: none; line-height: 1;
  transition: color var(--transition);
}
.modal-close:hover { color: var(--text-dark); }

/* Slide-out Panel */
.slide-panel {
  position: fixed; inset: 0; z-index: 9000;
  display: none;
}
.slide-panel.active { display: block; }
.slide-panel-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}
.slide-panel-content {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(680px, 95vw);
  background: var(--white);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  display: flex;
  flex-direction: column;
}
.slide-panel.active .slide-panel-content { transform: translateX(0); }
.slide-panel-image {
  width: 100%; height: 320px;
  object-fit: cover; object-position: top center;
  flex-shrink: 0;
}
.slide-panel-body { padding: 40px; flex: 1; }
.slide-panel-close {
  position: absolute; top: 16px; right: 20px;
  background: rgba(255,255,255,0.9); border: none;
  font-size: 1.4rem; cursor: pointer;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); z-index: 10;
  transition: all var(--transition);
}
.slide-panel-close:hover { background: var(--black); color: var(--white); }
.persona-role { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--dbr-blue); margin-bottom: 8px; display: block; }
.persona-name { font-size: 1.6rem; font-weight: 800; margin-bottom: 4px; color: var(--text-dark); }
.persona-title { font-size: 0.92rem; color: var(--text-gray); margin-bottom: 32px; }
.challenge-block, .breakthrough-block { padding: 20px 24px; border-radius: 8px; margin-bottom: 16px; }
.challenge-block { background: #FFF5F5; border-left: 4px solid #E53E3E; }
.breakthrough-block { background: #F0FFF4; border-left: 4px solid var(--success); }
.block-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; display: block; }
.challenge-block .block-label { color: #E53E3E; }
.breakthrough-block .block-label { color: var(--success); }
.challenge-block p, .breakthrough-block p { font-size: 0.92rem; color: var(--text-dark); font-style: italic; line-height: 1.7; }

/* ── Hero Sections ──────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.35);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; color: var(--white);
  max-width: 860px; margin: 0 auto;
  padding: 120px 40px 80px;
}
.hero-content h1 { color: var(--white); margin-bottom: 24px; }
.hero-content h2 { font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 400; color: rgba(255,255,255,0.8); max-width: 700px; margin: 0 auto 36px; line-height: 1.65; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.6); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; z-index: 2;
}
.scroll-arrow {
  width: 24px; height: 24px; border-right: 2px solid; border-bottom: 2px solid;
  border-color: rgba(255,255,255,0.5); transform: rotate(45deg);
  animation: bounceDown 1.5s infinite;
}
@keyframes bounceDown { 0%,100%{transform:rotate(45deg) translateY(0)} 50%{transform:rotate(45deg) translateY(6px)} }

/* ── Stats Bar ──────────────────────────────── */
.stats-bar { background: var(--light-gray); padding: 64px 0; }
.stats-bar-inner { display: grid; grid-template-columns: 1fr 2px 1fr 2px 1fr; gap: 0; align-items: center; }
.stat-divider { height: 60px; background: var(--mid-gray); }
.stat-item { text-align: center; padding: 0 40px; }
.stat-number {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 800; color: var(--text-dark);
  line-height: 1; display: block;
  letter-spacing: -0.02em;
}
.stat-label { font-size: 0.82rem; font-weight: 500; color: var(--text-gray); margin-top: 8px; letter-spacing: 0.05em; }

/* ── Z-Pattern Products ─────────────────────── */
.z-block {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; align-items: stretch;
  min-height: 560px;
}
.z-block.reverse { direction: rtl; }
.z-block.reverse > * { direction: ltr; }
.z-block-image {
  overflow: hidden; position: relative;
  min-height: 480px;
}
.z-block-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.z-block:hover .z-block-image img { transform: scale(1.04); }
.z-block-text {
  padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.z-block-text.dark {
  background: var(--text-dark);
  color: var(--white);
}
.z-block-text.dark h3,
.z-block-text.dark .kicker { color: rgba(255,255,255,0.5); }
.z-block-text.dark p { color: rgba(255,255,255,0.7); }
.z-block-text.dark .text-link { color: rgba(255,255,255,0.85); }
.z-block-text.dark .text-link:hover { color: var(--dbr-blue); }
.z-block-text h3 { margin-bottom: 16px; }
.z-block-text p { margin-bottom: 28px; }
.product-num {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-gray); margin-bottom: 12px; display: block;
}
.z-block-text.dark .product-num { color: rgba(255,255,255,0.4); }

/* ── Split 50/50 ────────────────────────────── */
.split-block {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 520px; align-items: stretch;
}
.split-text {
  background: var(--text-dark); color: var(--white);
  padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.split-text h2 { color: var(--white); margin-bottom: 20px; }
.split-text p { color: rgba(255,255,255,0.7); margin-bottom: 28px; }
.split-image { overflow: hidden; }
.split-image img { width: 100%; height: 100%; object-fit: cover; }

/* Bullet list */
.feature-list { margin: 20px 0; display: flex; flex-direction: column; gap: 12px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.92rem; color: rgba(255,255,255,0.75);
}
.feature-list li::before {
  content: '—'; color: var(--dbr-blue); font-weight: 700; flex-shrink: 0; margin-top: 2px;
}
.feature-list.dark-bg li { color: var(--text-gray); }
.feature-list.dark-bg li::before { color: var(--dbr-blue); }

/* ── 3-Column Grid ───────────────────────────── */
.three-col { display: grid; grid-template-columns: repeat(3,1fr); gap: 48px; }
.col-card { }
.col-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 8px; margin-bottom: 24px; }
.col-card h3 { margin-bottom: 12px; }
.col-card p { font-size: 0.92rem; }

/* ── Hook / Dark Section ────────────────────── */
.hook-section {
  background: var(--navy);
  padding: 120px 0; text-align: center;
  position: relative; overflow: hidden;
}
.dot-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 30px 30px;
}
.hook-section .container { position: relative; z-index: 1; }
.hook-section h2 { color: var(--white); margin-bottom: 20px; }
.hook-section p { color: rgba(255,255,255,0.65); max-width: 640px; margin: 0 auto 36px; font-size: 1.05rem; }

/* ── Trust Badges ───────────────────────────── */
.badges-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; margin-top: 48px; }
.badge-item { text-align: center; padding: 32px 20px; border-radius: 8px; transition: background var(--transition); }
.badge-item:hover { background: var(--light-gray); }
.badge-icon { font-size: 2.2rem; margin-bottom: 12px; }
.badge-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dark); margin-bottom: 4px; }
.badge-sub { font-size: 0.75rem; color: var(--text-gray); }

/* ── Footer ─────────────────────────────────── */
#site-footer {
  background: var(--white);
  border-top: 1px solid var(--mid-gray);
  padding: 64px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; }
.footer-brand .logo { color: var(--text-dark); }
.footer-brand .logo-claim { color: var(--text-gray); }
.footer-addr { font-size: 0.82rem; color: var(--text-gray); margin-top: 16px; line-height: 1.8; }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-dark); margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.88rem; color: var(--text-gray); transition: color var(--transition); }
.footer-links a:hover { color: var(--dbr-blue); }
.dbr-powered {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-gray);
  margin-bottom: 16px; display: block;
}
.dbr-links { display: flex; flex-direction: column; gap: 10px; }
.dbr-links a {
  font-size: 0.88rem; color: var(--dbr-blue);
  font-weight: 500; transition: all var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.dbr-links a:hover { color: #0f5acc; gap: 10px; }
.dbr-links a::before { content: '→'; font-size: 0.8rem; }
.footer-bottom {
  background: #F1F1F1;
  border-top: 1px solid var(--mid-gray);
  padding: 16px 0;
  margin-top: 0;
}
.footer-bottom p {
  font-size: 0.7rem; color: #888;
  line-height: 1.6;
  text-align: center;
}

/* ── Cards / Testimonials ───────────────────── */
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.quote-card {
  background: var(--text-dark); color: var(--white);
  padding: 40px; border-radius: 12px;
}
.quote-mark { font-size: 4rem; line-height: 0.6; color: var(--dbr-blue); margin-bottom: 20px; display: block; font-family: Georgia, serif; }
.quote-text { font-size: 0.95rem; line-height: 1.8; color: rgba(255,255,255,0.8); margin-bottom: 28px; font-style: italic; }
.quote-person { display: flex; align-items: center; gap: 16px; }
.quote-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote-name { font-size: 0.92rem; font-weight: 700; color: var(--white); }
.quote-company { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* ── Timeline (Atelier Forward) ─────────────── */
.timeline-section { background: var(--white); padding: 0 0 60px; }
.timeline-hero-dark {
  min-height: 100vh;
  background: var(--navy-deep);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.timeline-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(rgba(26,108,246,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.timeline-hero-inner {
  position: relative; z-index: 1;
  text-align: center; color: var(--white);
  padding: 120px 40px 80px;
  max-width: 900px; margin: 0 auto;
}
.timeline-hero-inner h1 { color: var(--white); margin-bottom: 24px; }
.timeline-hero-inner p { color: rgba(255,255,255,0.65); font-size: 1.1rem; max-width: 680px; margin: 0 auto 40px; }

/* ── Timeline Layout ──────────────────────────── */
.timeline-wrapper {
  max-width: 1060px; margin: 48px auto 0; padding: 0 40px;
  position: relative;
}
.timeline-line {
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--mid-gray);
  transform: translateX(-50%);
}
.timeline-line-fill {
  position: absolute; top: 0; left: 0; right: 0;
  background: var(--dbr-blue);
  height: 0%;
  transition: height 0.1s linear;
}
/* Each step is a flex row — card + dot + spacer OR spacer + dot + card */
.timeline-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.timeline-step.visible { opacity: 1; transform: translateY(0); }
/* Left-side card (odd steps) */
.timeline-step-left {
  flex: 1;
  padding-right: 44px;
  display: flex;
  justify-content: flex-end;
}
.timeline-step-left:empty { pointer-events: none; }
/* Right-side card (even steps) */
.timeline-step-right {
  flex: 1;
  padding-left: 44px;
}
.timeline-step-right:empty { pointer-events: none; }
.timeline-dot {
  flex-shrink: 0;
  width: 16px; height: 16px;
  background: var(--white); border: 3px solid var(--mid-gray);
  border-radius: 50%; margin: 14px 0 0;
  position: relative; z-index: 2;
  transition: border-color 0.4s ease, background 0.4s ease;
  /* Center dot on the absolute line (line is at 50% of wrapper, dot is 16px wide) */
  align-self: flex-start;
}
.timeline-step.visible .timeline-dot { border-color: var(--dbr-blue); background: var(--dbr-blue); }
/* Cards fill their side */
.timeline-step-left .timeline-card,
.timeline-step-right .timeline-card { width: 100%; }
.timeline-card {
  background: var(--white); border: 1px solid var(--mid-gray);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: box-shadow var(--transition), transform var(--transition);
}
.timeline-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.timeline-card img { width: 100%; height: 160px; object-fit: cover; }
.timeline-card-body { padding: 20px 24px; }
.timeline-year {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--dbr-blue); margin-bottom: 8px; display: block;
}
.timeline-card-body h3 { font-size: 1.1rem; margin-bottom: 10px; }
.timeline-card-body p { font-size: 0.88rem; line-height: 1.7; }
.timeline-empty { } /* placeholder for Z-pattern */

/* ── Leadership Grid ────────────────────────── */
.leadership-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 24px; }
.persona-card {
  cursor: pointer; border-radius: 8px; overflow: hidden;
  position: relative;
}
.persona-card-image { width: 100%; aspect-ratio: 3/4; overflow: hidden; position: relative; }
.persona-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.persona-card:hover .persona-card-image img { transform: scale(1.07); }
.persona-card-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 32px 16px 16px;
  transform: translateY(8px);
  transition: transform var(--transition);
}
.persona-card:hover .persona-card-info { transform: translateY(0); }
.persona-card-name { font-size: 0.88rem; font-weight: 700; color: var(--white); display: block; }
.persona-card-role { font-size: 0.72rem; color: rgba(255,255,255,0.65); margin-top: 2px; display: block; }

/* ── About Split ────────────────────────────── */
.about-split {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 70vh; position: relative;
}
.about-split-left, .about-split-right {
  overflow: hidden; position: relative;
}
.about-split-left img, .about-split-right img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
}
.about-split-label {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column;
}
.era-badge {
  position: absolute; bottom: 40px; left: 40px;
  background: rgba(255,255,255,0.95);
  padding: 16px 24px; border-radius: 8px;
  box-shadow: var(--shadow);
}
.era-badge span:first-child { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-gray); display: block; margin-bottom: 4px; }
.era-badge strong { font-size: 1rem; font-weight: 800; color: var(--text-dark); }

/* Notification bar */
.notif-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: 10px 40px;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.04em;
  line-height: 1.5;
  position: relative; z-index: 999;
}

/* ── Contact Form ───────────────────────────── */
.form-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.1);
  padding: 48px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-dark); letter-spacing: 0.03em; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--mid-gray);
  border-radius: var(--radius);
  font-family: var(--font); font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--dbr-blue);
  box-shadow: 0 0 0 3px rgba(26,108,246,0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-success {
  display: none;
  flex-direction: column; align-items: center;
  text-align: center; padding: 40px;
}
.form-success.active { display: flex; }
.form-success .check { font-size: 3.5rem; margin-bottom: 16px; }
.form-success h3 { margin-bottom: 8px; }

/* ── Map placeholders ───────────────────────── */
.map-placeholder {
  width: 100%; height: 220px;
  background: var(--navy);
  border-radius: 8px; overflow: hidden;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.map-dot {
  width: 12px; height: 12px;
  background: var(--dbr-blue); border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(26,108,246,0.2);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%,100%{box-shadow:0 0 0 8px rgba(26,108,246,0.2)} 50%{box-shadow:0 0 0 14px rgba(26,108,246,0.1)} }
.map-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26,108,246,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,108,246,0.1) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ── Careers Table ──────────────────────────── */
.careers-table { width: 100%; border-collapse: collapse; }
.careers-table th {
  text-align: left; padding: 12px 16px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-gray);
  border-bottom: 2px solid var(--mid-gray);
}
.careers-table td { padding: 18px 16px; border-bottom: 1px solid var(--mid-gray); font-size: 0.92rem; }
.careers-table tr:last-child td { border-bottom: none; }
.careers-table tr:hover td { background: var(--light-gray); }
.job-title { font-weight: 600; color: var(--text-dark); }

/* ── Animations & Utilities ─────────────────── */
.fade-in-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-blue  { color: var(--dbr-blue) !important; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.gap-16 { gap: 16px; }
.bg-light { background: var(--light-gray); }

/* ── Mobile Responsive ──────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .leadership-grid { grid-template-columns: repeat(3,1fr); }
  .three-col { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .container-wide { padding: 0 20px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }
  .section { padding: 60px 0; }
  .nav-links, .header-actions { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--white); z-index: 999;
    padding: 80px 40px 40px;
    align-items: flex-start;
  }
  .nav-links.open .nav-link { font-size: 1.5rem; font-weight: 700; color: var(--text-dark) !important; padding: 12px 0; border-bottom: 1px solid var(--mid-gray); width: 100%; }
  .z-block, .z-block.reverse { grid-template-columns: 1fr; direction: ltr; }
  .z-block-image { min-height: 260px; }
  .z-block-text { padding: 40px 24px; }
  .split-block { grid-template-columns: 1fr; }
  .split-image { min-height: 300px; }
  .split-text { padding: 48px 24px; }
  .three-col { grid-template-columns: 1fr; }
  .stats-bar-inner { grid-template-columns: 1fr; }
  .stat-divider { display: none; }
  .badges-grid { grid-template-columns: 1fr 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .leadership-grid { grid-template-columns: repeat(2,1fr); }
  .about-split { grid-template-columns: 1fr; }
  .timeline-wrapper { padding: 0 20px; }
  .timeline-line { left: 20px; }
  .timeline-step { grid-template-columns: 40px 1fr; }
  .timeline-step-left { display: none; }
  .timeline-step.even .timeline-step-left { display: block; grid-column: 2; grid-row: 1; padding: 0 0 0 16px; }
  .timeline-step.even .timeline-step-right { display: none; }
  .timeline-dot { margin: 8px 0 0; }
  .form-row { grid-template-columns: 1fr; }
  .hero-content { padding: 100px 20px 60px; }
  .hero-ctas { flex-direction: column; align-items: center; }
}

/* ══════════════════════════════════════════════
   MULTILINGUAL SYSTEM
   Languages: EN, PL, DE, FR, ES, AR, JA
   ══════════════════════════════════════════════ */

/* ── Language Switcher UI ──────────────────── */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-current {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.2);
  transition: all var(--transition);
  white-space: nowrap;
}
#site-header.scrolled .lang-current {
  color: var(--text-dark);
  border-color: rgba(0,0,0,0.15);
}
.lang-current:hover { border-color: var(--dbr-blue); color: var(--dbr-blue) !important; }
.lang-current .lang-flag { font-size: 1rem; }
.lang-current .lang-arrow {
  font-size: 0.6rem;
  transition: transform var(--transition);
}
.lang-switcher.open .lang-arrow { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute; top: calc(100% + 8px);
  right: 0; min-width: 180px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.16);
  border: 1px solid var(--mid-gray);
  overflow: hidden;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
  z-index: 2000;
}
.lang-switcher.open .lang-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.lang-option {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  font-size: 0.85rem; font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: background var(--transition);
  border: none; background: none; width: 100%; text-align: left;
}
.lang-option:hover { background: var(--light-gray); }
.lang-option.active { background: #EFF6FF; color: var(--dbr-blue); font-weight: 700; }
.lang-option .lang-flag { font-size: 1.1rem; }
.lang-option .lang-native { font-size: 0.78rem; color: var(--text-gray); margin-left: auto; }

/* ── Font overrides per language ───────────── */

/* Arabic — Noto Naskh Arabic (authoritative, classic, highly readable) */
:lang(ar),
html[lang="ar"] body,
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] p,
html[lang="ar"] a,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] select,
html[lang="ar"] textarea,
html[lang="ar"] .btn,
html[lang="ar"] .kicker,
html[lang="ar"] .nav-link,
html[lang="ar"] .logo-name,
html[lang="ar"] .logo-claim {
  font-family: 'Noto Naskh Arabic', 'Arabic Typesetting', 'Amiri', serif;
  letter-spacing: 0 !important;
}

/* Japanese — Noto Serif JP (elegant, premium look matching Atelier brand) */
:lang(ja),
html[lang="ja"] body,
html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ja"] h3,
html[lang="ja"] h4,
html[lang="ja"] p,
html[lang="ja"] a,
html[lang="ja"] button,
html[lang="ja"] input,
html[lang="ja"] select,
html[lang="ja"] textarea,
html[lang="ja"] .btn,
html[lang="ja"] .nav-link,
html[lang="ja"] .logo-claim {
  font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', 'MS Mincho', serif;
  letter-spacing: 0.02em;
}

html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ja"] h3 {
  font-weight: 700;
  line-height: 1.4;
}

html[lang="ja"] .kicker {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  letter-spacing: 0.14em;
}

/* ── RTL — Arabic ──────────────────────────── */
html[lang="ar"] {
  direction: rtl;
}
html[lang="ar"] body {
  direction: rtl;
  text-align: right;
}
html[lang="ar"] .header-inner {
  flex-direction: row-reverse;
}
html[lang="ar"] .logo {
  align-items: flex-end;
}
html[lang="ar"] .nav-links {
  flex-direction: row-reverse;
}
html[lang="ar"] .header-actions {
  flex-direction: row-reverse;
}
html[lang="ar"] .nav-link.featured::after {
  right: auto; left: -8px;
}
html[lang="ar"] .hero-content {
  direction: rtl; text-align: right;
}
html[lang="ar"] .hero-ctas {
  justify-content: flex-end;
}
html[lang="ar"] .z-block {
  direction: rtl;
}
html[lang="ar"] .z-block.reverse {
  direction: ltr;
}
html[lang="ar"] .z-block.reverse .z-block-text {
  direction: rtl; text-align: right;
}
html[lang="ar"] .split-block {
  direction: rtl;
}
html[lang="ar"] .split-text {
  direction: rtl; text-align: right;
}
html[lang="ar"] .feature-list li {
  text-align: right;
}
html[lang="ar"] .text-link::after {
  content: '←';
}
html[lang="ar"] .footer-grid {
  direction: rtl;
}
html[lang="ar"] .footer-links,
html[lang="ar"] .dbr-links {
  text-align: right;
}
html[lang="ar"] .stats-bar-inner {
  direction: rtl;
}
html[lang="ar"] .three-col {
  direction: rtl;
}
html[lang="ar"] .timeline-wrapper {
  direction: rtl;
}
html[lang="ar"] .timeline-step-left {
  padding-right: 0; padding-left: 48px;
}
html[lang="ar"] .timeline-step-right {
  padding-left: 0; padding-right: 48px;
}
html[lang="ar"] .timeline-card-body {
  text-align: right;
}
html[lang="ar"] .slide-panel-content {
  right: auto; left: 0;
  transform: translateX(-100%);
}
html[lang="ar"] .slide-panel.active .slide-panel-content {
  transform: translateX(0);
}
html[lang="ar"] .slide-panel-close {
  right: auto; left: 20px;
}
html[lang="ar"] .slide-panel-body {
  text-align: right;
}
html[lang="ar"] .challenge-block,
html[lang="ar"] .breakthrough-block {
  border-left: none;
  border-right: 4px solid;
  text-align: right;
}
html[lang="ar"] .challenge-block { border-right-color: #E53E3E; }
html[lang="ar"] .breakthrough-block { border-right-color: var(--success); }
html[lang="ar"] .quote-card { text-align: right; direction: rtl; }
html[lang="ar"] .quote-mark {
  display: block; text-align: right;
}
html[lang="ar"] .notif-bar { direction: rtl; }
html[lang="ar"] .form-group { text-align: right; }
html[lang="ar"] .form-group input,
html[lang="ar"] .form-group select,
html[lang="ar"] .form-group textarea {
  direction: rtl; text-align: right;
}
html[lang="ar"] .about-split { direction: rtl; }
html[lang="ar"] .era-badge {
  left: auto; right: 40px;
}
html[lang="ar"] .lang-dropdown { right: auto; left: 0; }
html[lang="ar"] .partner-badge { direction: rtl; }
html[lang="ar"] .careers-table th,
html[lang="ar"] .careers-table td { text-align: right; }
html[lang="ar"] .col-card { text-align: right; }
html[lang="ar"] .badge-item { direction: rtl; }
html[lang="ar"] .footer-col { text-align: right; }
html[lang="ar"] .footer-brand { text-align: right; }
html[lang="ar"] .hotspot-popup { text-align: right; }
html[lang="ar"] .metrics-bar { direction: rtl; }

/* ── Mobile RTL ──────────────────────────────── */
@media (max-width: 768px) {
  html[lang="ar"] .nav-links.open {
    align-items: flex-end;
  }
  html[lang="ar"] .timeline-step { direction: rtl; }
  html[lang="ar"] .timeline-step-left { display: none; }
}

