:root {
  --bg: #0A0A0C;
  --panel: #131316;
  --panel2: #1A1A1F;
  --gray: #36363A;
  --text: #F5F5F7;
  --muted: #8E8E93;
  --orange: #FF8A00;
  --orange-light: #FFB347;
  --orange-deep: #D46B00;
  --orange-glow: rgba(255, 138, 0, 0.15);
  --rule: rgba(245, 245, 247, 0.08);
  --grad: linear-gradient(135deg, #FFB347, #FF8A00 55%, #D46B00);
  --sans: "Space Grotesk", -apple-system, sans-serif;
  --wordmark: "Michroma", var(--sans);
  --mono: "IBM Plex Mono", monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--orange);
  color: #0A0A0C;
}

/* ══════ HEADER ══════ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 12, 0.88);
  backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--rule);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand svg,
.brand img {
  width: 28px;
  height: 28px;
}

.brand-word {
  font-family: var(--wordmark);
  font-size: 16px;
  letter-spacing: 0.14em;
}

.navlinks {
  display: flex;
  gap: 32px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
}

.navlinks a {
  transition: color 0.2s;
}

.navlinks a:hover {
  color: var(--orange-light);
}

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 100px;
  background: var(--grad);
  color: #150E00;
  transition: filter 0.2s, box-shadow 0.2s, transform 0.2s;
}

.nav-cta:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 28px rgba(255, 138, 0, 0.5);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .navlinks {
    display: none;
  }
  nav {
    padding: 14px 20px;
  }
}

/* ══════ STRIPS ══════ */
.strip {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}

.strip-title {
  font-weight: 700;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin-bottom: 20px;
}

.strip-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  max-width: 580px;
  line-height: 1.5;
  font-weight: 400;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ══════ BLOBS ══════ */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
  pointer-events: none;
  animation: blobFloat 12s ease-in-out infinite alternate;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: #FF8A00;
  top: -15%;
  right: -10%;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: #D46B00;
  bottom: -10%;
  left: -8%;
  animation-delay: -4s;
}

.blob-3 {
  width: 400px;
  height: 400px;
  background: #FFB347;
  top: 40%;
  left: 50%;
  animation-delay: -8s;
}

@keyframes blobFloat {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -40px) scale(1.08); }
  66%  { transform: translate(-20px, 20px) scale(0.95); }
  100% { transform: translate(10px, -10px) scale(1.03); }
}

/* ══════ CHART WRAP ══════ */
.chart-wrap {
  width: 100%;
  max-width: 700px;
  margin: 48px auto 0;
  position: relative;
}

.chart-wrap canvas {
  width: 100% !important;
  height: auto !important;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--rule);
}

/* ══════ GALLERY ══════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.gallery-cell {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--rule);
}

.gallery-cell canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ══════ CAROUSEL SECTION ══════ */
.carousel-section {
  text-align: center;
}

.carousel-section .section-head {
  max-width: 600px;
  margin: 0 auto 48px;
}

.carousel-section .section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.carousel-section .section-head p {
  color: var(--muted);
  font-size: 16px;
}

.carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 12px;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}

/* ══════ CARDS ══════ */
.card {
  flex: 0 0 300px;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 32px 28px;
  text-align: left;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 138, 0, 0.4);
  box-shadow: 0 20px 50px -15px rgba(255, 138, 0, 0.2);
}

.card:hover::before {
  opacity: 1;
}

.card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--orange-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card .card-icon svg {
  width: 24px;
  height: 24px;
}

.card .card-cat {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 12px;
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ══════ CAROUSEL CONTROLS ══════ */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--muted);
  opacity: 0.3;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s, background 0.2s, transform 0.2s;
}

.carousel-dots button.active {
  opacity: 1;
  background: var(--orange);
  transform: scale(1.3);
}

.carousel-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.carousel-arrow:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-glow);
}

@media (max-width: 520px) {
  .card {
    flex-basis: 85vw;
  }
  .carousel {
    padding: 0 20px;
  }
  .team-card {
    flex-basis: 85vw;
  }
}

/* ══════ TEAM CARDS ══════ */
.team-card {
  flex: 0 0 260px;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -12px rgba(255, 138, 0, 0.15);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: var(--panel2);
  border: 2px dashed rgba(255, 138, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.team-card:hover .team-avatar {
  border-color: var(--orange);
  box-shadow: 0 0 24px rgba(255, 138, 0, 0.3);
}

.team-avatar span {
  font-family: var(--wordmark);
  font-size: 18px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.t-name {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
}

.t-role {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--orange-light);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.t-bio {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* ══════ CONTACT ══════ */
.contact-section {
  text-align: left;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contact-info .row {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.contact-info .lbl {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: 90px;
  flex-shrink: 0;
  padding-top: 3px;
}

.contact-info .val {
  font-size: 15.5px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.field input,
.field textarea {
  background: var(--panel2);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color 0.2s;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--orange);
  outline: none;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-submit {
  font-weight: 600;
  font-size: 14px;
  background: var(--grad);
  color: #150E00;
  padding: 14px 28px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  align-self: flex-start;
  transition: filter 0.2s, box-shadow 0.2s;
}

.form-submit:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 24px rgba(255, 138, 0, 0.5);
}

.form-note {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
}

/* ══════ FOOTER ══════ */
footer {
  padding: 40px 40px;
  border-top: 1px solid var(--rule);
}

.foot-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.foot-brand svg,
.foot-brand img {
  width: 20px;
  height: 20px;
}

.foot-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

/* ══════ REVEAL ANIMATION ══════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
              transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════ UTILITIES ══════ */
.section-pad {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .section-pad {
    padding: 60px 20px;
  }
  .strip {
    padding: 100px 24px 60px;
  }
}

.btn-primary {
  font-weight: 600;
  font-size: 14px;
  background: var(--grad);
  color: #150E00;
  padding: 13px 24px;
  border-radius: 100px;
  display: inline-block;
  transition: filter 0.2s, box-shadow 0.2s, transform 0.2s;
}

.btn-primary:hover {
  filter: brightness(1.18);
  box-shadow: 0 0 24px rgba(255, 138, 0, 0.55);
  transform: translateY(-1px);
}

.btn-secondary {
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
  padding: 13px 20px;
  border: 1px solid var(--rule);
  border-radius: 100px;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  border-color: var(--orange-light);
  color: var(--orange-light);
}