/* ============================================
   SOYANG CONSULTING — Design System
   Dark + Light mode · EN / FR / AR
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@400;500;600;700&family=Noto+Sans+Arabic:wght@400;500;600;700&display=swap');

/* ===== DARK MODE TOKENS (default) ===== */
:root {
  --navy:    #0A1628;
  --navy2:   #0F1E35;
  --navy3:   #162540;
  --navy4:   #1D2E4A;
  --orange:  #F25623;
  --orange2: #FF7245;
  --orange3: #FFE0D6;

  /* Semantic */
  --bg:          #0A1628;
  --bg2:         #0F1E35;
  --bg3:         #162540;
  --bg4:         #1D2E4A;
  --surface:     rgba(255,255,255,0.04);
  --surface2:    rgba(255,255,255,0.08);
  --border:      rgba(255,255,255,0.07);
  --border2:     rgba(255,255,255,0.12);
  --text-hi:     #FAFAF8;
  --text-med:    #C8C2BA;
  --text-low:    #7A8896;
  --shadow:      0 24px 64px rgba(0,0,0,0.45);
  --shadow2:     0 8px 32px rgba(0,0,0,0.3);

  --radius:  16px;
  --radius2: 24px;
  --radius3: 40px;
  --ease:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease2:   cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== LIGHT MODE TOKENS ===== */
[data-theme="light"] {
  --bg:       #F5F2EE;
  --bg2:      #EDEAE4;
  --bg3:      #E4E0D8;
  --bg4:      #D8D3CA;
  --surface:  rgba(0,0,0,0.04);
  --surface2: rgba(0,0,0,0.08);
  --border:   rgba(0,0,0,0.09);
  --border2:  rgba(0,0,0,0.15);
  --text-hi:  #0F1A28;
  --text-med: #3D4A57;
  --text-low: #7A8896;
  --shadow:   0 24px 64px rgba(0,0,0,0.12);
  --shadow2:  0 8px 32px rgba(0,0,0,0.09);
}

/* ===== RTL (Arabic) ===== */
[dir="rtl"] {
  font-family: 'Noto Sans Arabic', 'Inter', sans-serif;
}
[dir="rtl"] .nav-inner,
[dir="rtl"] .hero-actions,
[dir="rtl"] .footer-grid,
[dir="rtl"] .post-footer { direction: rtl; }
[dir="rtl"] .nav-logo-text span { letter-spacing: 0; }
[dir="rtl"] .btn svg,
[dir="rtl"] .btn i { transform: scaleX(-1); }

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text-med);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s, color 0.4s;
}
img { max-width: 100%; display: block; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; cursor: pointer; background: none; font-family: inherit; }

/* ===== Typography ===== */
.display {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-hi);
}
[dir="rtl"] .display { font-family: 'Noto Sans Arabic', serif; letter-spacing: 0; }
.display-xl { font-size: clamp(3rem, 6vw, 5.5rem); }
.display-lg { font-size: clamp(2.5rem, 4.5vw, 4rem); }
.display-md { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.display-sm { font-size: clamp(1.4rem, 2.5vw, 2rem); }

.label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}
[dir="rtl"] .label { letter-spacing: 0; font-family: 'Noto Sans Arabic', sans-serif; }

/* ===== Layout ===== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 7rem 0; }
.section-sm { padding: 4rem 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }

/* ===== Navigation ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(10,22,40,0.94);
  backdrop-filter: blur(20px);
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] .nav.scrolled {
  background: rgba(245,242,238,0.94);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo-mark { width: 34px; height: 34px; }
.nav-logo-text {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 0.95rem; letter-spacing: 0.08em; color: var(--text-hi); line-height: 1.2;
}
.nav-logo-text span { display: block; font-size: 0.58rem; font-weight: 400; letter-spacing: 0.2em; color: var(--orange); }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  font-size: 0.85rem; font-weight: 500; color: var(--text-med);
  transition: color 0.3s; position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--orange);
  border-radius: 2px; transition: width 0.3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--text-hi); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Nav controls */
.nav-controls { display: flex; align-items: center; gap: 0.75rem; }

/* Language switcher */
.lang-switcher {
  display: flex; align-items: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px; padding: 3px; gap: 2px;
}
.lang-btn {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.68rem; font-weight: 700;
  padding: 0.3rem 0.65rem; border-radius: 100px; color: var(--text-low);
  transition: all 0.25s; cursor: pointer; border: none; background: none;
}
.lang-btn.active { background: var(--orange); color: #fff; }
.lang-btn:hover:not(.active) { color: var(--text-hi); }

/* Theme toggle */
.theme-toggle {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-med); font-size: 1.1rem;
  transition: all 0.3s; cursor: pointer;
}
.theme-toggle:hover { background: var(--surface2); color: var(--text-hi); }

/* CTA button */
.nav-cta {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.82rem; font-weight: 600;
  color: #fff; background: var(--orange); padding: 0.6rem 1.35rem;
  border-radius: 100px; transition: all 0.3s var(--ease); white-space: nowrap;
}
.nav-cta:hover { background: var(--orange2); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(242,86,35,0.4); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.88rem;
  border-radius: 100px; padding: 0.85rem 1.9rem;
  transition: all 0.35s var(--ease); cursor: pointer; border: none;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: inset 0 2px 0 rgba(255,255,255,0.2), 0 6px 0 #c84417, 0 10px 20px rgba(242,86,35,0.35); }
.btn-primary:hover { background: var(--orange2); transform: translateY(-2px); box-shadow: inset 0 2px 0 rgba(255,255,255,0.2), 0 8px 0 #c84417, 0 14px 28px rgba(242,86,35,0.45); }
.btn-primary:active { transform: translateY(4px); box-shadow: inset 0 2px 0 rgba(255,255,255,0.2), 0 2px 0 #c84417, 0 6px 12px rgba(242,86,35,0.3); }

.btn-ghost { background: rgba(255,255,255,0.02); color: var(--text-hi); border: 1px solid var(--border2); box-shadow: inset 0 2px 0 rgba(255,255,255,0.05), 0 6px 0 var(--border), 0 10px 20px rgba(0,0,0,0.1); }
.btn-ghost:hover { background: var(--surface2); transform: translateY(-2px); box-shadow: inset 0 2px 0 rgba(255,255,255,0.08), 0 8px 0 var(--border2), 0 14px 28px rgba(0,0,0,0.15); }
.btn-ghost:active { background: var(--surface); transform: translateY(4px); box-shadow: inset 0 2px 0 rgba(255,255,255,0.03), 0 2px 0 var(--border), 0 6px 12px rgba(0,0,0,0.1); }
.btn i, .btn svg { font-size: 1rem; width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.3s var(--ease); }
.btn:hover i, .btn:hover svg { transform: translateX(3px); }
[dir="rtl"] .btn:hover i, [dir="rtl"] .btn:hover svg { transform: translateX(-3px); }

/* ===== Cards ===== */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius2); padding: 2.5rem;
  transition: all 0.4s var(--ease);
}
.card:hover { background: var(--surface2); border-color: var(--border2); transform: translateY(-4px); box-shadow: var(--shadow2); }

/* ===== Tag / Badge ===== */
.tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35rem 0.9rem;
  border-radius: 100px; background: rgba(242,86,35,0.12);
  color: var(--orange); border: 1px solid rgba(242,86,35,0.2);
}

/* ===== Section Header ===== */
.section-header { margin-bottom: 4rem; }
.section-header.centered { text-align: center; max-width: 640px; margin: 0 auto 4rem; }
.section-header .label { margin-bottom: 1rem; display: block; }
.section-header .display { margin-bottom: 1.25rem; }
.section-header p { color: var(--text-med); max-width: 520px; }
.section-header.centered p { margin: 0 auto; }

/* ===== Image utilities ===== */
.img-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,22,40,0.85) 100%);
}
[data-theme="light"] .img-overlay {
  background: linear-gradient(180deg, transparent 40%, rgba(245,242,238,0.8) 100%);
}

/* ===== Footer ===== */
.footer {
  background: var(--bg2); border-top: 1px solid var(--border); padding: 4rem 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { margin-top: 1rem; font-size: 0.875rem; color: var(--text-low); max-width: 260px; line-height: 1.7; }
.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-hi); margin-bottom: 1.25rem;
}
.footer-col a { display: block; font-size: 0.875rem; color: var(--text-low); margin-bottom: 0.75rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 2rem; border-top: 1px solid var(--border);
  font-size: 0.78rem; color: var(--text-low);
}

/* ===== Page Hero ===== */
.page-hero {
  padding: 11rem 0 5rem;
  background: linear-gradient(160deg, var(--bg2) 0%, var(--bg) 100%);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 60% at 80% 40%, rgba(242,86,35,0.09) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--border); }

/* ===== Orange Band ===== */
.orange-band {
  background: linear-gradient(120deg, var(--orange) 0%, #C73F12 100%);
  padding: 5rem 0; position: relative; overflow: hidden; text-align: center;
}
.orange-band::before, .orange-band::after {
  content: '"'; position: absolute; font-family: 'Playfair Display', serif;
  font-size: 18rem; color: rgba(255,255,255,0.05); line-height: 1; top: -2rem;
}
.orange-band::before { left: 1rem; }
.orange-band::after { right: 1rem; top: auto; bottom: -5rem; }

/* ===== Animations ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease2), transform 0.8s var(--ease2); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s var(--ease2), transform 0.8s var(--ease2); }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s var(--ease2), transform 0.8s var(--ease2); }
.reveal-right.visible { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(0.93); transition: opacity 0.8s var(--ease2), transform 0.8s var(--ease2); }
.reveal-scale.visible { opacity: 1; transform: none; }

.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }
.delay-6 { transition-delay: 0.6s !important; }

@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes float2 { 0%,100%{transform:translateY(-10px)} 50%{transform:translateY(0)} }
.float-1 { animation: float 5s ease-in-out infinite; }
.float-2 { animation: float2 6s ease-in-out infinite; }
.float-3 { animation: float 7s ease-in-out infinite; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--bg4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
  border: 1px solid var(--border); border-radius: var(--radius3);
  margin: 5rem auto; max-width: 900px;
  padding: 5rem 4rem; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top:-60px; right:-60px;
  width:300px; height:300px;
  background: radial-gradient(circle, rgba(242,86,35,0.15), transparent 70%);
  border-radius:50%;
}
.cta-section .display { position:relative; z-index:1; margin-bottom:1.25rem; }
.cta-section p { position:relative; z-index:1; margin-bottom:2rem; color:var(--text-med); max-width:480px; margin-left:auto; margin-right:auto; }
.cta-actions { display:flex; justify-content:center; gap:1rem; flex-wrap:wrap; position:relative; z-index:1; }

/* ===== PATTERNS MODULE ===== */
.patterns-section { 
  background: var(--bg2); 
  padding: 6rem 0 3rem; 
  position: relative; 
  border-top: 1px solid var(--border);
}
.patterns-section-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
.ptn-intro { text-align:center; margin-bottom:32px; padding:0 8px; }
.ptn-intro-eyebrow { display:inline-block; font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:var(--orange); font-weight:500; margin-bottom:14px; }

.sticky-note {
  position: absolute;
  top: 10px;
  left: -280px;
  width: 230px;
  height: 220px;
  background: linear-gradient(-135deg, transparent 30px, #fcf189 0);
  box-shadow: 10px 18px 35px rgba(0,0,0,0.18);
  transform: rotate(-12deg);
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sticky-note:hover {
  transform: rotate(-5deg) scale(1.05);
  box-shadow: 15px 24px 45px rgba(0,0,0,0.22);
}
.sticky-note::before {
  content: '';
  position: absolute;
  top: auto;
  right: 0;
  bottom: 0;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #e5db70 50%, rgba(229, 219, 112, 0) 50.1%);
  box-shadow: -4px -4px 10px rgba(0,0,0,0.12);
  transform-origin: bottom right;
}
.sticky-pin {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 30% 30%, #ff7a7a 0%, #d32f2f 70%, #9a0000 100%);
  border-radius: 50%;
  box-shadow: 4px 6px 10px rgba(0,0,0,0.3);
  z-index: 10;
}
.sticky-pin::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 10px;
  background: linear-gradient(to right, #666, #ccc, #666);
  z-index: -1;
}
.sticky-pin::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
}
.sticky-pin-shaft {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 6px;
  background: #d32f2f;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}
.sticky-text {
  font-family: 'Dancing Script', cursive;
  font-size: 1.85rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.1;
  transform: rotate(2deg);
}
.sticky-main {
  display: block;
}
.sticky-cta {
  display: block;
  margin-top: 0.65rem;
  font-family: 'Dancing Script', cursive;
  font-size: 1.05rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #c94328;
  text-transform: none;
}

[dir="rtl"] .sticky-note {
  left: auto;
  right: auto;
  position: relative;
  top: auto;
  margin: 0 auto 24px;
  transform: rotate(4deg);
  width: min(250px, 82vw);
  height: 200px;
}
[dir="rtl"] .sticky-note:hover {
  transform: rotate(1deg) scale(1.03);
}
[dir="rtl"] .ptn-intro {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 0;
}
[dir="rtl"] .sticky-text {
  transform: rotate(-1.5deg);
}
[dir="rtl"] .sticky-cta {
  font-family: 'Noto Sans Arabic', 'Dancing Script', cursive;
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 1250px) {
  .sticky-note, [dir="rtl"] .sticky-note {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin: 0 auto 20px;
    transform: rotate(-3deg);
  }
}
.ptn-intro-headline { font-family:'Playfair Display',serif; font-size:clamp(34px,5.5vw,52px); font-weight:700; color:var(--text-hi); line-height:1.15; margin-bottom:14px; }
.ptn-head-accent {
  position: relative;
  display: inline-block;
  padding-bottom: 0.22em;
}
.ptn-head-accent::after {
  content: "";
  position: absolute;
  left: -0.03em;
  right: -0.06em;
  bottom: -0.08em;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24' preserveAspectRatio='none'%3E%3Cpath d='M4 15 C36 24, 72 6, 110 14 S184 23, 236 12' fill='none' stroke='%23F25623' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M148 16 C170 7, 196 6, 232 10' fill='none' stroke='%23F25623' stroke-width='2.4' stroke-linecap='round' opacity='0.75'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}
.ptn-intro-sub { font-size:16px; color:var(--text-med); font-weight:300; line-height:1.65; max-width:500px; margin:0 auto; }

.ptn-tabs { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:22px; justify-content:center; }
.ptn-tab { font-size:11px; letter-spacing:.12em; text-transform:uppercase; padding:7px 16px; border-radius:100px; border:1px solid var(--border2); color:var(--text-med); background:transparent; cursor:pointer; font-family:inherit; transition:all .2s; position:relative; }
.ptn-tab:hover:not(.active) { border-color:var(--orange); color:var(--orange); }
.ptn-tab.active { background:var(--orange); border-color:var(--orange); color:#fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(232,82,26,0.3); }
.ptn-hot-badge { position:absolute; top:-8px; right:-4px; background:#E8C21A; color:#1A1200; font-size:8px; letter-spacing:.07em; font-weight:600; padding:2px 7px; border-radius:100px; white-space:nowrap; text-transform:uppercase; }

.ptn-stage-bar { display:flex; gap:8px; margin-bottom:24px; padding: 0 12px; }
.ptn-seg { position:relative; height:6px; flex:1; border-radius:100px; background:var(--border); transition:all .4s; }
.ptn-seg.active { background:var(--orange); box-shadow: 0 0 8px rgba(232,82,26,0.4); transform: scaleY(1.2); }
.ptn-seg.done { background:var(--orange); opacity:.3; }

.ptn-carousel-wrap { position: relative; width: 100%; max-width: 640px; margin: 0 auto; z-index: 10; margin-top: 55px; }
.ptn-ghost-card { position: absolute; top: 0; width: 100%; max-width: 640px; height: 520px; background: var(--bg); border: 1px solid var(--border); border-radius: 28px; padding: 32px 36px; display: flex; flex-direction: column; cursor: pointer; transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1); box-shadow: 0 15px 40px rgba(0,0,0,0.15); z-index: 5; opacity: 0.3; overflow: hidden; pointer-events: auto; }
.ptn-ghost-card:hover { opacity: 0.7; box-shadow: 0 20px 50px rgba(0,0,0,0.25); }
.ptn-ghost-card * { pointer-events: none; }
.ptn-ghost-left { right: 82%; left: auto; transform: perspective(1200px) rotateY(-8deg) scale(0.9); box-shadow: -15px 30px 60px rgba(0,0,0,0.25); }
.ptn-ghost-right { left: 82%; right: auto; transform: perspective(1200px) rotateY(8deg) scale(0.9); box-shadow: 15px 30px 60px rgba(0,0,0,0.25); }

.ptn-card { background:var(--bg); border:1px solid var(--border); border-radius:28px; padding:32px 36px; position:absolute; width:100%; max-width:640px; height:520px; top:0; left:0; right:0; margin:0 auto; display:flex; flex-direction:column; animation:ptnSlideUp .35s ease; overflow:visible; box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.08); transition: transform 0.3s ease; z-index:10; }
.ptn-card:hover { transform: translateY(-4px); z-index: 30; }
@keyframes ptnSlideUp { from {opacity:0; transform:translateY(14px)} to {opacity:1; transform:translateY(0)} }

.ptn-side-tabs { position: absolute; top: -42px; left: 36px; display: flex; flex-direction: row; z-index: 20; pointer-events: none; }
.ptn-side-tab { padding: 12px 24px; height: 42px; background: var(--bg); border: 1px solid var(--border); border-radius: 16px 16px 0 0; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-med); transition: all 0.3s ease; margin-right: -4px; box-shadow: inset 0 -4px 10px rgba(0,0,0,0.02); }
.ptn-side-tab.active { background: var(--bg2); color: var(--orange); font-weight: 600; height: 44px; border-bottom: 2px solid var(--bg2); border-color: var(--border) var(--border) transparent var(--border); position: relative; z-index: 2; box-shadow: 0 -4px 15px rgba(0,0,0,0.04); }

#ptnCardWrap { height: 520px; position: relative; width: 100%; display: flex; justify-content: center; }

@keyframes swipeOutLeft { to { opacity:0.3; transform: perspective(1200px) translateX(-300px) rotateY(-8deg) scale(0.9); box-shadow: -15px 30px 60px rgba(0,0,0,0.25); } }
@keyframes swipeOutRight { to { opacity:0.3; transform: perspective(1200px) translateX(300px) rotateY(8deg) scale(0.9); box-shadow: 15px 30px 60px rgba(0,0,0,0.25); } }
@keyframes swipeInLeft { from { opacity:0.3; transform: perspective(1200px) translateX(300px) rotateY(8deg) scale(0.9); box-shadow: 15px 30px 60px rgba(0,0,0,0.25); } to { opacity:1; transform: perspective(1200px) translateX(0) rotateY(0) scale(1); box-shadow: 0 30px 80px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.08); } }
@keyframes swipeInRight { from { opacity:0.3; transform: perspective(1200px) translateX(-300px) rotateY(-8deg) scale(0.9); box-shadow: -15px 30px 60px rgba(0,0,0,0.25); } to { opacity:1; transform: perspective(1200px) translateX(0) rotateY(0) scale(1); box-shadow: 0 30px 80px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.08); } }

.ptn-swipe-out-left { animation: swipeOutLeft 0.3s ease-in forwards !important; }
.ptn-swipe-out-right { animation: swipeOutRight 0.3s ease-in forwards !important; }
.ptn-swipe-in-left { animation: swipeInLeft 0.5s ease-out forwards !important; }
.ptn-swipe-in-right { animation: swipeInRight 0.5s ease-out forwards !important; }

.ptn-card-top { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; margin-bottom:20px; }
.ptn-profile { display:flex; align-items:center; gap:12px; }
.ptn-avatar { width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:500; flex-shrink:0; letter-spacing:.04em; }
.ptn-avatar.client { background: rgba(232,82,26,0.15); color:var(--orange); border:1.5px solid rgba(232,82,26,0.4); }
.ptn-avatar.soyang { background:var(--orange); color:#fff; font-size:11px; }
.ptn-profile-name { font-size:14px; font-weight:500; color:var(--text-hi); }
.ptn-profile-role { font-size:12px; color:var(--text-med); margin-top:2px; }

.ptn-res-wrap { display:flex; flex-direction:column; align-items:flex-end; gap:4px; flex-shrink:0; }
.ptn-res-btn { display:inline-flex; align-items:center; gap:6px; background:transparent; border:1px solid var(--border2); color:var(--text-med); padding:7px 13px; border-radius:100px; font-size:11px; font-family:inherit; cursor:pointer; transition:all .25s; white-space:nowrap; }
.ptn-res-btn:hover:not(.done) { border-color:var(--orange); color:var(--orange); }
.ptn-res-btn.done { border-color:var(--orange); color:var(--orange); background:rgba(232,82,26,0.15); cursor:default; }
.ptn-res-icon { font-size:13px; transition:transform .3s; }
.ptn-res-btn.done .ptn-res-icon { transform:scale(1.2); }
.ptn-res-tally { font-size:11px; color:var(--text-med); text-align:right; }
.ptn-bump { display:inline-block; }
.ptn-bump.go { animation:ptnBump .35s ease; }
@keyframes ptnBump { 0%,100%{transform:scale(1)} 50%{transform:scale(1.5)} }

.ptn-lbl { font-size:10px; letter-spacing:.2em; text-transform:uppercase; color:var(--orange); font-weight:500; margin-bottom:12px; }
.ptn-complaint-text { font-size:17px; line-height:1.7; color:var(--text-hi); font-weight:300; font-style:italic; min-height:100px; }
.ptn-tcursor { display:inline-block; width:2px; height:1.1em; background:var(--orange); vertical-align:middle; margin-left:1px; animation:ptnBlink .65s step-end infinite; }
@keyframes ptnBlink { 50%{opacity:0} }

.ptn-divider { border:none; border-top:1px dotted var(--border2); margin:20px 0 0; }
.ptn-card-foot { display:flex; justify-content:space-between; align-items:center; margin-top:16px; flex-wrap:wrap; gap:10px; }
.ptn-foot-note { font-size:12px; color:var(--text-med); opacity:0; transition:opacity .5s; }
.ptn-foot-note.show { opacity:1; }

.ptn-hint-pulse { animation:hintPulse 1.1s ease-in-out 4; }
@keyframes hintPulse { 0%,100%{box-shadow:0 0 0 0 rgba(232,82,26,0)} 50%{box-shadow:0 0 0 8px rgba(232,82,26,0.22)} }

.ptn-diag-title { font-family:'Playfair Display',serif; font-size:25px; font-weight:700; line-height:1.25; margin-bottom:12px; color:var(--text-hi); }
.ptn-diag-body { font-size:15px; line-height:1.75; color:var(--text-med); font-weight:300; }
.ptn-sol-title { font-family:'Playfair Display',serif; font-size:20px; font-weight:700; line-height:1.3; margin-bottom:18px; color:var(--text-hi); }
.ptn-points { display:flex; flex-direction:column; gap:14px; }
.ptn-point { display:flex; gap:14px; align-items:flex-start; }
.ptn-point-num { width:28px; height:28px; border-radius:50%; border:1px solid rgba(232,82,26,0.5); color:var(--orange); display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:500; flex-shrink:0; margin-top:1px; }
.ptn-point-title { font-size:14px; font-weight:500; margin-bottom:3px; color:var(--text-hi); }
.ptn-point-desc { font-size:13px; color:var(--text-med); line-height:1.6; font-weight:300; }

.ptn-back-link { display:inline-flex; align-items:center; gap:5px; font-size:12px; color:var(--text-med); cursor:pointer; background:none; border:none; font-family:inherit; padding:0; margin-bottom:16px; transition:color .2s; }
.ptn-back-link:hover { color:var(--orange); }

.ptn-next-nudge { display:flex; align-items:center; gap:7px; opacity:0; transition:opacity .6s; }
.ptn-next-nudge.show { opacity:1; }
.ptn-nudge-arr { color:var(--orange); font-size:17px; animation:nudge .65s ease-in-out infinite alternate; }
@keyframes nudge { from{transform:translateX(0)} to{transform:translateX(6px)} }
.ptn-nudge-txt { font-size:12px; color:var(--text-med); }
.ptn-next-full { width:100%; justify-content:center; }
.ptn-next-full.lit { border-color:var(--orange); color:var(--orange); }

.ptn-comments-section { margin-top:18px; }
.ptn-comments-label { font-size:10px; letter-spacing:.18em; text-transform:uppercase; color:var(--text-med); font-weight:500; margin-bottom:10px; }
.ptn-comment-item { background:var(--surface2); border-radius:12px; padding:12px 14px; margin-bottom:8px; }
.ptn-comment-meta { display:flex; justify-content:space-between; align-items:center; margin-bottom:5px; }
.ptn-comment-name { font-size:12px; font-weight:500; color:var(--text-hi); }
.ptn-comment-time { font-size:11px; color:var(--text-med); }
.ptn-comment-text { font-size:13px; color:var(--text-med); line-height:1.55; font-weight:300; }
.ptn-no-comments { font-size:13px; color:var(--text-med); font-style:italic; padding:8px 0; }
.ptn-comments-actions { display:flex; gap:12px; align-items:center; margin-top:6px; }
.ptn-add-comment-form { margin-top:12px; display:none; }
.ptn-add-comment-form.open { display:block; }
.ptn-comment-input { width:100%; background:var(--surface2); border:1px solid var(--border); border-radius:10px; padding:10px 12px; font-size:13px; color:var(--text-hi); font-family:inherit; resize:none; outline:none; transition:border-color .2s; margin-bottom:8px; }
.ptn-comment-input:focus { border-color:rgba(232,82,26,0.4); }
.ptn-comment-input::placeholder { color:var(--text-med); }
.ptn-comment-name-input { width:100%; background:var(--surface2); border:1px solid var(--border); border-radius:10px; padding:9px 12px; font-size:13px; color:var(--text-hi); font-family:inherit; outline:none; transition:border-color .2s; margin-bottom:8px; }
.ptn-comment-name-input:focus { border-color:rgba(232,82,26,0.4); }
.ptn-comment-name-input::placeholder { color:var(--text-med); }
.ptn-all-comments-list { display:none; margin-top:8px; }
.ptn-all-comments-list.open { display:block; }

.ptn-spin-overlay { position:absolute; inset:0; background:var(--surface); border-radius:22px; display:none; flex-direction:column; align-items:center; justify-content:center; gap:14px; z-index:20; }
.ptn-spin-overlay.show { display:flex; }
.ptn-spinner { width:38px; height:38px; border:2px solid var(--border); border-top-color:var(--orange); border-radius:50%; animation:ptnSpin .7s linear infinite; }
@keyframes ptnSpin { to{transform:rotate(360deg)} }
.ptn-spin-lbl { font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--text-med); }

.ptn-fake-cursor { position:fixed; width:22px; height:28px; pointer-events:none; z-index:9999; opacity:0; transition:left 1s cubic-bezier(0.22,1,0.36,1), top 1s cubic-bezier(0.22,1,0.36,1), opacity .4s; }
.ptn-fake-cursor.vis { opacity:1; }

.ptn-nav { display:flex; align-items:center; justify-content:center; gap:14px; margin-top:24px; }
.ptn-nav-arr { display:none; }
.ptn-nav-lbl { font-size:12px; color:var(--text-med); letter-spacing:.1em; text-transform:uppercase; opacity: 0.6; }

[data-theme="light"] .ptn-avatar.client { background: rgba(232,82,26,0.1); }
[data-theme="light"] .ptn-res-btn.done { background: rgba(232,82,26,0.1); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .section { padding: 5rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .patterns-section { padding:8px 14px 32px; }
  .ptn-carousel-wrap { position: static; }
  .ptn-ghost-card { display: none; }
  .ptn-side-tabs { display: none; }
  .ptn-card { padding:24px 20px; border-radius: 20px; overflow: hidden; }
  .ptn-diag-title { font-size:20px; }
  .ptn-intro-headline { font-size:30px; }
  .ptn-nav { display:flex; align-items:center; justify-content:space-between; margin-top:24px; padding: 0 12px; }
  .ptn-nav-arr { display:flex; width:44px; height:44px; border-radius:50%; border:1px solid var(--border); background:var(--surface); color:var(--text-hi); font-size:18px; align-items:center; justify-content:center; transition:all .2s; }
  .ptn-nav-arr:hover { background:var(--orange); border-color:var(--orange); color:white; }
  .cta-section { padding: 3rem 2rem; margin: 3rem 1rem; }
  .lang-switcher .lang-btn { padding: 0.3rem 0.5rem; }
}

/* ===== 7-STEP PIPELINE ===== */
.process-section { padding: 6rem 0; position: relative; }
.proc-header { text-align: center; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.proc-header .process-eyebrow { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); font-weight: 500; margin-bottom: 14px; }
.proc-header .process-title { font-family: 'Playfair Display', serif; font-size: clamp(32px, 5vw, 44px); font-weight: 700; color: var(--text-hi); line-height: 1.15; margin-bottom: 16px; }
.proc-header .process-subtitle { font-size: 16px; color: var(--text-med); font-weight: 300; line-height: 1.6; }

.process-illustration {
  display: none !important;
  margin-top: 50px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0)),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(180deg, #0b2147 0%, #081b3a 100%);
  background-size: auto, 52px 52px, 52px 52px, auto;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 24px 60px rgba(0,0,0,0.24);
}
.process-illustration-img {
  display: block;
  width: 100%;
  height: auto;
}
.process-flow-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}
.process-flow-overlay-light {
  display: none;
}
.flow-trace {
  fill: none;
  stroke: #f06a2b;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2 14;
  filter: drop-shadow(0 0 6px rgba(240,106,43,0.45));
  opacity: 0.95;
  animation: processFlow 2.8s linear infinite;
}
.flow-trace-2 { animation-delay: 0.18s; }
.flow-trace-3 { animation-delay: 0.45s; }
.flow-trace-4 { animation-delay: 0.72s; }
.flow-trace-5 { animation-delay: 0.9s; }
.flow-trace-6 { animation-delay: 1.08s; }

@keyframes processFlow {
  from {
    stroke-dashoffset: 48;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.process-illustration-light {
  display: none;
}
[data-theme="light"] .process-illustration {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.45), rgba(255,255,255,0.2)),
    linear-gradient(180deg, #f6f1e7 0%, #efe7d8 100%);
  border-color: rgba(15, 26, 40, 0.08);
  box-shadow: 0 18px 46px rgba(95, 77, 45, 0.14);
}
[data-theme="light"] .process-illustration-dark {
  display: none;
}
[data-theme="light"] .process-illustration-light {
  display: block;
}
[data-theme="light"] .process-flow-overlay-dark {
  display: none;
}
[data-theme="light"] .process-flow-overlay-light {
  display: block;
}
[data-theme="light"] .flow-trace {
  stroke: #e0672d;
  filter: drop-shadow(0 0 4px rgba(224,103,45,0.2));
}
.pipe-grid-illustrated,
.pipe-grid-legacy {
  display: none !important;
}

.pipe-grid-illustrated {
  display: flex !important;
}

.pipe-grid { display: flex; flex-direction: column; gap: 40px; margin-top: 50px; position: relative; }
.pipe-grid-illustrated {
  padding: 26px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0)),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(180deg, #0b2147 0%, #081b3a 100%);
  background-size: auto, 52px 52px, 52px 52px, auto;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}
.pipe-row { display: grid; gap: 24px; position: relative; }
.row-3-cols { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.row-4-cols { grid-template-columns: 430fr 410fr 410fr 390fr; align-items: stretch; }
.pipe-card {
  background:
    radial-gradient(circle at top right, rgba(242,86,35,0.1), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)),
    var(--bg2);
  border: 1px solid rgba(242, 86, 35, 0.38);
  border-radius: 24px;
  padding: 24px 20px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  z-index: 10;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.04),
    0 0 0 1px rgba(242,86,35,0.08),
    0 18px 40px rgba(0,0,0,0.18);
}
.row-3-cols .pipe-card {
  min-height: 300px;
}
.row-4-cols .pipe-card {
  min-height: 300px;
}
.pipe-card:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.06),
    0 0 24px rgba(242,86,35,0.18),
    0 18px 40px rgba(0,0,0,0.22);
  border-color: rgba(242, 86, 35, 0.65);
}
.pipe-main {
  display: grid;
  gap: 18px;
  align-items: start;
}
.row-3-cols .pipe-main {
  grid-template-columns: minmax(140px, 42%) 1fr;
}
.row-4-cols .pipe-main {
  grid-template-columns: 1fr;
  gap: 10px;
}
.pipe-visual {
  position: relative;
  border-radius: 18px;
  min-height: 138px;
  padding: 8px;
  color: rgba(255,255,255,0.92);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
    rgba(8, 18, 34, 0.22);
  overflow: hidden;
}
[data-theme="light"] .pipe-card {
  background:
    radial-gradient(circle at top right, rgba(242,86,35,0.12), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.92)),
    var(--bg2);
  border-color: rgba(242, 86, 35, 0.32);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.6),
    0 10px 26px rgba(24, 31, 44, 0.08);
}
[data-theme="light"] .pipe-visual {
  color: #13233b;
  background:
    linear-gradient(180deg, rgba(19,35,59,0.02), rgba(19,35,59,0.01)),
    rgba(255,255,255,0.72);
}
[data-theme="light"] .pipe-visual::before {
  background-image:
    linear-gradient(rgba(19,35,59,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19,35,59,0.05) 1px, transparent 1px);
}
.pipe-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  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: 22px 22px;
  opacity: 0.35;
  pointer-events: none;
}
.pipe-visual svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.pipe-visual .ink {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pipe-visual .ink-fill {
  fill: currentColor;
  stroke: none;
}
.pipe-visual .accent {
  fill: var(--orange);
  stroke: var(--orange);
}
.pipe-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.pipe-deco { position: absolute; top: -14px; left: 20px; display: flex; gap: 6px; background: var(--bg2); padding: 4px 10px; border-radius: 20px; border: 1px solid var(--border); color: var(--orange); font-size: 14px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); z-index: 5; }
.pipe-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(232,82,26,0.1); color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }
.pipe-num { font-size: 44px; line-height: 1; font-weight: 700; color: var(--orange); margin-bottom: 8px; font-family: 'Space Grotesk', sans-serif; }
.pipe-title { font-size: 15px; font-weight: 700; color: var(--text-hi); margin-bottom: 12px; font-family: 'Space Grotesk', sans-serif; text-transform: uppercase; letter-spacing: 0.05em; }
.pipe-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.pipe-tag { font-size: 9px; padding: 3px 8px; border-radius: 4px; background: var(--surface2); color: var(--text-hi); letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; }
.pipe-tag.red { background: rgba(232,82,26,0.15); color: var(--orange); }
.pipe-desc { font-size: 13px; color: var(--text-med); line-height: 1.5; flex: 1; }

.pipe-arrow { position: absolute; top: 50%; right: -28px; transform: translateY(-50%); font-size: 16px; color: var(--orange); background: var(--bg2); border: 1px solid var(--border); border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; z-index: 20; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.pipe-grid-illustrated .pipe-arrow {
  color: #fff;
  background: #fff;
  border-color: rgba(255,255,255,0.55);
  box-shadow: 0 8px 16px rgba(0,0,0,0.25);
  font-size: 0;
}
.pipe-grid-illustrated .pipe-arrow::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #081b3a;
  margin-left: 2px;
}
.pipe-grid-illustrated .pipe-wrap-arrow path {
  stroke: #fff;
}
.row-3-cols .pipe-card:nth-child(3) .pipe-arrow { display: none; }
.row-4-cols .pipe-card:nth-child(4) .pipe-arrow { display: none; }

.pipe-wrap-arrow { position: absolute; top: calc(100% - 20px); left: 38%; width: 130%; height: 150px; z-index: 1; pointer-events: none; opacity: 1; }
.pipe-arrow-mobile { display: none; }

.pipe-checks { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border2); }
.check-row { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-hi); font-weight: 600; }
.check-row .ph-check-circle { color: #10B981; font-size: 14px; }
.check-row .ph-star { color: #F59E0B; margin-left: 2px; }
.pipe-end-deco { margin-top: 16px; font-size: 24px; color: #10B981; display:flex; justify-content:flex-end; }

@media (max-width: 1024px) {
  .row-3-cols, .row-4-cols { grid-template-columns: repeat(2, 1fr); padding-right: 0; }
  .row-3-cols .pipe-main { grid-template-columns: 1fr; }
  .pipe-wrap-arrow { display: none; }
  .pipe-arrow { display: none; }
  .pipe-grid { gap: 24px; }
  .pipe-grid-illustrated { padding: 0; background: none; box-shadow: none; }
}
@media (max-width: 768px) {
  .process-illustration { display: none !important; }
  .process-flow-overlay { display: none; }
  .pipe-grid-legacy { display: none !important; }
  .pipe-grid-illustrated { display: flex !important; }
  .pipe-grid { margin-top: 32px; }
  .row-3-cols, .row-4-cols { grid-template-columns: 1fr; }
  .pipe-arrow-mobile { display: block; margin: 16px auto 0; text-align: center; color: var(--orange); font-size: 24px; }
  .pipe-row { gap: 16px; }
  .pipe-card { padding: 22px 18px 18px; }
  .pipe-visual { min-height: 152px; }
}
