/* Section head shared by process, team and solutions (agents has its own scoped copy) */
.sec-head--std h2 { margin: 14px 0 16px; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; text-transform: none; }
.sec-head--std p { color: var(--text-2); max-width: 620px; font-size: 17px; }

/* Process: Interactive 4-step deployment workflow with progress tracking */
.process { background: var(--bg-2); border-block: 1px solid var(--line); padding: 70px 0 80px; position: relative; overflow: hidden; }
.process::before { content: ""; position: absolute; top: 0; left: 20%; width: 60%; height: 260px; background: radial-gradient(circle, rgba(34, 211, 238, 0.07) 0%, transparent 70%); pointer-events: none; }

/* Flow Progress Bar Track */
.flow-track-wrapper { margin-top: 48px; margin-bottom: 24px; position: relative; }
.flow-track { position: relative; width: 100%; height: 6px; background: rgba(255, 255, 255, 0.08); border-radius: 999px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.05); }
.flow-progress { height: 100%; width: 25%; background: linear-gradient(90deg, #22d3ee 0%, #38bdf8 50%, #818cf8 100%); border-radius: 999px; box-shadow: 0 0 16px rgba(34, 211, 238, 0.8), 0 0 30px rgba(56, 189, 248, 0.4); transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1); }

.flow-status-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 14px; font-size: 13.5px; }
.flow-status-badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.3); color: #38bdf8; font: 600 12.5px var(--mono); letter-spacing: 0.04em; }
.flow-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 8px #22d3ee; animation: pulseFlowDot 2s infinite ease-in-out; }
@keyframes pulseFlowDot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.85); } }
.flow-status-desc { color: var(--text-3); font-size: 13px; font-style: italic; }

/* 4 Step Cards Grid */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; margin-top: 12px; }

/* Individual Step Card */
.fs {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(8, 12, 20, 0.88) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px 22px;
  cursor: pointer;
  outline: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  user-select: none;
}
.fs:hover {
  border-color: rgba(34, 211, 238, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.7), 0 0 24px -6px rgba(34, 211, 238, 0.2);
}
.fs:focus-visible {
  border-color: #22d3ee;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.3);
}

/* Active & Completed States */
.fs.is-active {
  background: linear-gradient(180deg, rgba(15, 30, 55, 0.9) 0%, rgba(8, 16, 32, 0.95) 100%);
  border-color: rgba(34, 211, 238, 0.75);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.8), 0 0 36px -4px rgba(34, 211, 238, 0.35);
  transform: translateY(-4px);
}
.fs.is-completed {
  border-color: rgba(56, 189, 248, 0.35);
}

/* Card Header */
.fs-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.fs .dot {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font: 700 14px var(--mono);
  color: var(--cyan);
  transition: all 0.3s ease;
}
.fs .dot-check { display: none; font-size: 16px; font-weight: 800; color: #fff; }
.fs.is-completed .dot-check { display: inline; }
.fs.is-completed .dot-num { display: none; }
.fs.is-completed .dot { background: rgba(34, 211, 238, 0.2); border-color: #22d3ee; color: #fff; }

.fs.is-active .dot {
  background: linear-gradient(135deg, #22d3ee, #0284c7);
  border-color: #38bdf8;
  color: #05070d;
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.6);
}

/* Icon next to step */
.fs-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: #38bdf8;
  transition: all 0.3s ease;
}
.fs:hover .fs-icon, .fs.is-active .fs-icon {
  background: rgba(34, 211, 238, 0.18);
  border-color: rgba(34, 211, 238, 0.5);
  color: #fff;
  transform: scale(1.08);
}

/* Timeline Pill Badge */
.fs-badge {
  font: 600 11.5px var(--mono);
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-2);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.fs.is-active .fs-badge {
  background: rgba(34, 211, 238, 0.15);
  border-color: rgba(34, 211, 238, 0.4);
  color: #22d3ee;
}

/* Card Body */
.fs-body { flex: 1; display: flex; flex-direction: column; }
.fs h3 { font-size: 19px; line-height: 1.3; margin: 0 0 10px; font-weight: 700; color: #fff; transition: color 0.2s; }
.fs.is-active h3 { color: #38bdf8; }
.fs p { color: #94a3b8; font-size: 14px; line-height: 1.55; margin: 0 0 16px; }

/* Deliverables Checklist */
.fs-deliverables { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 7px; border-top: 1px solid rgba(255, 255, 255, 0.06); padding-top: 14px; }
.fs-deliverables li { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; line-height: 1.45; color: #cbd5e1; }
.fs-bullet { width: 5px; height: 5px; border-radius: 50%; background: #22d3ee; margin-top: 6px; flex-shrink: 0; box-shadow: 0 0 6px #22d3ee; }

/* Card Footer Action Hint */
.fs-footer { margin-top: auto; padding-top: 10px; border-top: 1px dashed rgba(255, 255, 255, 0.08); }
.fs-action-hint { font: 600 11px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); transition: color 0.2s; }
.fs.is-active .fs-action-hint { color: #22d3ee; }
.fs:hover .fs-action-hint { color: #fff; }

/* Responsive Flow Grid */
@media (max-width: 1024px) {
  .flow { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 640px) {
  .flow { grid-template-columns: 1fr; gap: 14px; }
  .process { padding: 50px 0 60px; }
  .flow-track-wrapper { margin-top: 32px; }
}

/* Leaders: three non-link cards, photo with name overlay */
.leaders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1200px; margin: 56px auto 0; }
.leader { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); transition: border-color var(--dur), transform var(--dur), box-shadow var(--dur); cursor: pointer; position: relative; }
.leader:hover { border-color: rgba(34, 211, 238, 0.6); transform: translateY(-6px); box-shadow: 0 16px 36px -12px rgba(34, 211, 238, 0.25); }
.leader .ph { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; background: radial-gradient(circle at 50% 30%, rgba(34, 211, 238, 0.18), transparent 65%), var(--bg-3); }
.leader .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.leader:hover .ph img { transform: scale(1.06); }
.leader .cap { position: absolute; inset: auto 0 0; padding: 60px 22px 22px; background: linear-gradient(transparent, rgba(5, 7, 13, 0.95)); display: flex; flex-direction: column; }
.leader .role { font: 600 12px var(--mono); letter-spacing: 0.1em; color: var(--cyan); text-transform: uppercase; margin-bottom: 4px; }
.leader h3 { font-size: 24px; margin: 0; color: #fff; font-weight: 700; }
.leader .cap-action { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font: 600 11.5px var(--mono); color: var(--cyan); text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.85; transition: transform 0.25s, opacity 0.25s; }
.leader:hover .cap-action { opacity: 1; transform: translateX(4px); color: #fff; }
.leader .sub, .leader .card-action { display: none !important; }
.leader .meta { display: none; }

/* Team Profile Modal */
.team-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.team-modal.is-open { opacity: 1; pointer-events: auto; }
.team-modal__backdrop { position: absolute; inset: 0; background: rgba(5, 7, 13, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.team-modal__dialog { position: relative; width: 100%; max-width: 860px; max-height: 90vh; overflow-y: auto; background: #0b0f19; border: 1px solid rgba(34, 211, 238, 0.35); border-radius: 24px; box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 40px -10px rgba(34, 211, 238, 0.25); z-index: 1; transform: scale(0.94) translateY(12px); transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.team-modal.is-open .team-modal__dialog { transform: scale(1) translateY(0); }
.team-modal__close { position: absolute; top: 18px; right: 18px; z-index: 10; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); color: #94a3b8; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; }
.team-modal__close:hover { background: rgba(239, 68, 68, 0.2); border-color: rgba(239, 68, 68, 0.4); color: #fff; transform: rotate(90deg); }

.tmod-grid { display: grid; grid-template-columns: 330px 1fr; gap: 0; }
.tmod-left { background: linear-gradient(180deg, #111827 0%, #080c14 100%); padding: 32px 24px 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; text-align: center; }
.tmod-photo { position: relative; width: 160px; height: 160px; border-radius: 20px; overflow: hidden; margin-bottom: 14px; border: 2px solid rgba(34, 211, 238, 0.35); box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6); flex-shrink: 0; }
.tmod-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tmod-badge { position: absolute; bottom: 8px; left: 8px; right: 8px; background: rgba(5, 7, 13, 0.85); backdrop-filter: blur(6px); border: 1px solid rgba(34, 211, 238, 0.4); border-radius: 8px; font: 600 10px var(--mono); color: var(--cyan); padding: 4px 6px; letter-spacing: 0.06em; }
.tmod-name { font-size: 21px; font-weight: 700; color: #fff; margin-bottom: 4px; line-height: 1.3; }
.tmod-sub { font-style: italic; font-size: 13px; color: #7dd3fc; font-weight: 500; margin-bottom: 14px; line-height: 1.4; }

.tmod-left-quote { width: 100%; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: 16px; text-align: center; }
.tmod-label { font: 600 11px var(--mono); letter-spacing: 0.12em; color: var(--cyan); margin-bottom: 8px; display: block; }
.tmod-tagline { font-size: 13.5px; font-weight: 500; line-height: 1.55; color: #e2e8f0; margin: 0; text-wrap: balance; }

.tmod-left-action { width: 100%; margin-top: auto; padding-top: 10px; }
.tmod-btn-portfolio {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 50%, #7c3aed 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: 0 0 24px -2px rgba(14, 165, 233, 0.5), 0 8px 24px -4px rgba(37, 99, 235, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.tmod-btn-portfolio::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-22deg);
  transition: left 0.75s ease;
  pointer-events: none;
}
.tmod-btn-portfolio:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #9333ea 100%);
  border-color: #ffffff;
  color: #ffffff !important;
  transform: translateY(-2.5px);
  box-shadow: 0 0 32px 0 rgba(56, 189, 248, 0.75), 0 14px 30px -4px rgba(59, 130, 246, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.85);
}
.tmod-btn-portfolio:hover::before {
  left: 140%;
}
.tmod-btn-portfolio:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 0 16px rgba(14, 165, 233, 0.4);
}
.tmod-btn-portfolio .tmod-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s;
}
.tmod-btn-portfolio:hover .tmod-btn-icon {
  background: rgba(255, 255, 255, 0.35);
  transform: translateX(2px) translateY(-1px);
}
.tmod-btn-portfolio svg {
  flex-shrink: 0;
  stroke: #ffffff;
  transition: transform 0.25s ease;
}
.tmod-btn-portfolio .tmod-btn-text {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.tmod-right { padding: 32px 28px; display: flex; flex-direction: column; }
.tmod-section-title { font: 700 12.5px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.tmod-section-title::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--cyan); display: inline-block; }
.tmod-list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 20px; }
.tmod-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.55; color: #cbd5e1; }
.tmod-bullet { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); margin-top: 7px; flex-shrink: 0; box-shadow: 0 0 8px var(--cyan); }
.tmod-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.tmod-fact-item { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 16px; display: flex; flex-direction: column; flex: 1; min-width: 100px; }
.tmod-fact-num { font-size: 19px; font-weight: 800; color: #38bdf8; line-height: 1.1; }
.tmod-fact-label { font-size: 11.5px; color: var(--text-3); margin-top: 4px; }

html.modal-open { overflow: hidden; }
@media (max-width: 720px) {
  .team-modal { padding: 12px; align-items: flex-end; }
  .team-modal__dialog {
    max-height: 90vh;
    max-height: 90svh;
    border-radius: 20px 20px 14px 14px;
    width: 100%;
  }
  .team-modal__close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }
  .tmod-grid { grid-template-columns: 1fr; }
  .tmod-left { border-right: none; border-bottom: 1px solid var(--line); padding: 24px 18px 20px; }
  .tmod-photo { width: 120px; height: 120px; border-radius: 16px; margin-bottom: 12px; }
  .tmod-name { font-size: 20px; }
  .tmod-sub { font-size: 12.5px; margin-bottom: 12px; }
  .tmod-tagline { font-size: 13.5px; }
  .tmod-btn-portfolio { padding: 11px 16px; font-size: 12.5px; }
  .tmod-btn-portfolio .tmod-btn-icon { width: 22px; height: 22px; }
  .tmod-right { padding: 20px 16px 24px; }
  .tmod-list { gap: 10px; margin-bottom: 18px; }
  .tmod-list li { font-size: 13px; }
  .tmod-facts { gap: 8px; }
  .tmod-fact-item { padding: 8px 10px; }
  .tmod-fact-num { font-size: 17px; }
  .tmod-fact-label { font-size: 10.5px; }
}

/* Core team */
.core { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 26px; margin-top: 48px; }
.core .lb { width: 100%; margin-bottom: 6px; text-align: center; font: 400 12px var(--mono); letter-spacing: 0.14em; color: var(--text-3); }
.cm { width: 120px; text-align: center; cursor: pointer; transition: transform var(--dur); }
.cm:hover { transform: translateY(-4px); }
.cm img { width: 68px; height: 68px; margin: 0 auto 8px; border-radius: 50%; object-fit: cover; object-position: top; border: 1px solid var(--line-2); transition: border-color var(--dur), box-shadow var(--dur); }
.cm:hover img { border-color: var(--cyan); box-shadow: 0 0 16px rgba(34, 211, 238, 0.4); }
.cm b { display: block; font-size: 14px; }
/* Two-line reserve keeps every caption the same height when a role wraps */
.cm span { display: block; min-height: 2.8em; font-size: 12px; line-height: 1.4; color: var(--text-3); text-wrap: balance; }

@media (max-width: 1100px) {
  .leader h3 { font-size: 22px; }
}
@media (max-width: 960px) {
  .leaders { grid-template-columns: repeat(2, 1fr); max-width: 860px; }
  .leader:last-child { grid-column: 1 / -1; width: calc(50% - 11px); justify-self: center; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .flow::before, .flow::after { display: none; }
  .core { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 14px; }
  .cm { width: 100%; }
}
@media (max-width: 640px) {
  .leaders { display: flex; flex-direction: column; gap: 16px; max-width: 100%; margin: 32px 0 0; }
  .leader:last-child { width: auto; justify-self: stretch; }
  .leader .cap { padding: 40px 16px 16px; }
  .leader h3 { font-size: 20px; }
  .leader .role { font-size: 11px; }
  .core { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 32px; }
  .cm {
    width: 100%;
    padding: 14px 8px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line-2);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .cm:active {
    background: rgba(34, 211, 238, 0.06);
    border-color: rgba(34, 211, 238, 0.35);
    transform: scale(0.98);
  }
  .cm img { width: 62px; height: 62px; margin-bottom: 8px; }
  .cm b { font-size: 13.5px; }
  .cm span { font-size: 11px; line-height: 1.35; min-height: 2.7em; }
}
@media (max-width: 560px) {
  .flow { grid-template-columns: minmax(0, 1fr); }
  .fs p, .leader .tl { font-size: 15px; }
}

/* Event & Media Showcase Box Slider */
.events-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.slider-ctrls { display: flex; align-items: center; gap: 10px; }
.slider-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line); color: var(--text-2); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.25s ease; flex-shrink: 0; }
.slider-btn:hover { background: rgba(34, 211, 238, 0.1); border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 16px rgba(34, 211, 238, 0.35); transform: translateY(-2px); }
.slider-btn:disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }

.events-slider-wrap { position: relative; width: 100%; margin-top: 20px; }
.events-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 4px 20px;
}
.events-slider::-webkit-scrollbar { display: none; }

.event-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 300px;
  scroll-snap-align: start;
  background: rgba(13, 19, 36, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: 18px;
  overflow: hidden;
  transition: transform var(--dur), border-color var(--dur), box-shadow var(--dur);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.event-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 16px 36px -10px rgba(34, 211, 238, 0.22);
}
.event-media {
  position: relative;
  aspect-ratio: 16 / 10;
  max-height: 210px;
  overflow: hidden;
  background: #000;
}
.event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.event-card:hover .event-media img { transform: scale(1.06); }
.event-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(5, 7, 13, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(34, 211, 238, 0.35);
  padding: 4px 10px;
  border-radius: 6px;
  font: 600 10.5px var(--mono);
  color: var(--cyan);
  letter-spacing: 0.06em;
}
.event-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.event-content h3 {
  font-size: 17px;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.35;
  min-height: 46px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.event-content p {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
  min-height: 60px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Dots */
.events-dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 16px; }
.event-dot { width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.2); border: none; cursor: pointer; transition: all 0.3s ease; padding: 0; }
.event-dot.active { width: 24px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

@media (max-width: 1024px) {
  .event-card { flex: 0 0 calc((100% - 20px) / 2); min-width: 280px; }
}
@media (max-width: 640px) {
  .events-head { align-items: flex-start; gap: 14px; }
  .slider-ctrls { align-self: flex-end; }
  .events-slider {
    gap: 16px;
    padding: 4px 2px 16px;
    scroll-padding: 0 16px;
  }
  .event-card { flex: 0 0 85%; min-width: 250px; max-width: 320px; border-radius: 16px; }
  .event-media { max-height: 180px; }
  .event-content { padding: 16px; }
  .event-content h3 { font-size: 15.5px; margin-bottom: 6px; min-height: auto; }
  .event-content p { font-size: 12.8px; line-height: 1.45; min-height: auto; }
}

/* ------------------------------------------------------------------------------
   Events Grid Layout (.events-grid)
   Responsive 3-column event showcase used on about.php and index.php
   ------------------------------------------------------------------------------ */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.events-grid .event-card {
  flex: none;
  width: 100%;
  min-width: 0;
}

@media (max-width: 1024px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .events-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }
}



