/* ── Site tokens ── */
:root {
  --adams-red: #c8102e;
  --adams-red-bright: #e8233f;
  --adams-blue: #1a237e;
  --adams-blue-bright: #2e3192;
  --adams-silver: #e0e0e0;
  --rbt-gold: #d4a843;
  --rbt-gold-bright: #f5c14b;
  --adams-gradient-h: linear-gradient(90deg, #8b6914 0%, #f5c14b 45%, #d4a843 100%);
  --adams-bg: #10121c;
  --adams-card-from: rgba(20, 22, 34, 0.96);
  --adams-card-to: rgba(16, 18, 28, 0.92);
  --text-heading: #f8f9fc;
  --text-body: #e2e5ef;
  --text-muted: #c4c9d6;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(212, 168, 67, 0.22);
  --nav-scrolled-bg: rgba(16, 18, 28, 0.94);
  --nav-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
  --section-alt-bg: rgba(18, 20, 32, 0.55);
  --marquee-bg: rgba(14, 16, 26, 0.65);
  --input-bg: rgba(8, 10, 18, 0.55);
  --input-text: #f4f5f8;
  --input-border: rgba(255, 255, 255, 0.12);
  --input-focus: rgba(212, 168, 67, 0.55);
  --footer-bg: transparent;
  --social-border: rgba(255, 255, 255, 0.12);
  --social-text: #e2e5ef;
  --card-shadow: 0 20px 50px rgba(212, 168, 67, 0.12), 0 0 30px rgba(245, 193, 75, 0.08);
  --hero-glow-blue: rgba(212, 168, 67, 0.2);
  --hero-glow-red: rgba(245, 193, 75, 0.12);
  --scan-line: rgba(224, 224, 224, 0.04);
  --progress-bg: rgba(255, 255, 255, 0.08);
  --cta-from: rgba(212, 168, 67, 0.2);
  --cta-to: rgba(139, 105, 20, 0.18);
  --cta-border: rgba(255, 255, 255, 0.1);
  --team-photo-bg: linear-gradient(135deg, rgba(212, 168, 67, 0.25), rgba(139, 105, 20, 0.2));
  --team-initial: rgba(255, 255, 255, 0.22);
  --service-icon-bg: linear-gradient(135deg, rgba(212, 168, 67, 0.2), rgba(245, 193, 75, 0.12));
  --mobile-menu-bg: rgba(16, 18, 28, 0.96);
  --btn-outline-color: #f4f5f8;
  --btn-outline-border: rgba(224, 224, 224, 0.38);
  --particles-opacity: 0.35;
  --logo-glow: drop-shadow(0 0 40px rgba(212, 168, 67, 0.55)) drop-shadow(0 0 60px rgba(245, 193, 75, 0.3));
  --chart-tooltip-bg: #141622;
  --selection-bg: rgba(212, 168, 67, 0.35);
  /* Typography scale */
  --font-xs: 1rem;
  --font-sm: 1.125rem;
  --font-base: 1.25rem;
  --font-lg: 1.375rem;
  --font-xl: 1.5rem;
  --font-2xl: 2rem;
  --font-3xl: 2.375rem;
  --font-4xl: 2.75rem;
  --font-5xl: 3.5rem;
  --font-6xl: 4.25rem;
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: "Exo 2", ui-sans-serif, system-ui, sans-serif;
  font-size: var(--font-base);
  font-weight: 500;
  line-height: 1.65;
  background-color: var(--adams-bg);
  color: var(--text-body);
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--selection-bg);
  color: var(--text-heading);
}

/* ── Theme utility classes ── */
.theme-heading {
  color: var(--text-heading);
  font-weight: 700;
  transition: color 0.4s ease;
}
.theme-subtext {
  color: var(--text-body);
  font-weight: 500;
  line-height: 1.65;
  transition: color 0.4s ease;
}
.theme-muted {
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.6;
  transition: color 0.4s ease;
}
.theme-border { border-color: var(--border-color); transition: border-color 0.4s ease; }
.theme-section-bg { background: var(--section-alt-bg); transition: background 0.4s ease; }
.theme-marquee { background: var(--marquee-bg); transition: background 0.4s ease; }
.theme-footer { background: var(--footer-bg); transition: background 0.4s ease; }
.theme-initial { color: var(--team-initial); transition: color 0.4s ease; }
.theme-icon-btn { color: var(--text-heading); transition: color 0.3s ease; }

.theme-input {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--input-text);
  font-size: var(--font-sm);
  transition: background 0.4s, border-color 0.3s, color 0.4s;
}
.theme-input:focus { border-color: var(--input-focus); }
.theme-input::placeholder {
  color: var(--text-muted);
  font-weight: 500;
  opacity: 0.9;
}

/* ── Typography scale (fuller, more readable) ── */
.page-content .text-xs {
  font-size: var(--font-xs);
  line-height: 1.55;
}

.page-content .text-sm {
  font-size: var(--font-sm);
  line-height: 1.6;
}

.page-content .text-base {
  font-size: var(--font-base);
  line-height: 1.65;
}

.page-content .text-lg {
  font-size: var(--font-lg);
  line-height: 1.6;
}

.page-content .text-xl {
  font-size: var(--font-xl);
  line-height: 1.5;
}

.page-content .text-2xl {
  font-size: var(--font-2xl);
  line-height: 1.35;
}

.page-content .text-3xl {
  font-size: var(--font-3xl);
  line-height: 1.25;
}

.page-content .text-4xl {
  font-size: var(--font-4xl);
  line-height: 1.2;
}

.page-content .text-5xl {
  font-size: var(--font-5xl);
  line-height: 1.15;
}

.page-content .text-6xl {
  font-size: var(--font-6xl);
  line-height: 1.1;
}

.page-content p,
.page-content li {
  font-weight: 500;
}

footer p.text-\[10px\] {
  font-size: var(--font-xs) !important;
  line-height: 1.55;
  opacity: 0.92;
}

.hero-desc {
  font-weight: 600;
}

.theme-marquee .text-sm {
  font-size: var(--font-sm);
  font-weight: 500;
}

.mobile-nav-link {
  color: var(--text-body);
  font-weight: 500;
  font-size: var(--font-sm);
  transition: color 0.3s;
}
.mobile-nav-link:hover { color: var(--text-heading); }

.mobile-menu-panel {
  background: var(--mobile-menu-bg);
  border-top: 1px solid var(--border-accent);
  transition: background 0.4s ease;
}

.theme-social-btn {
  border-color: var(--social-border);
  color: var(--social-text);
}
.theme-social-btn:hover {
  color: var(--rbt-gold);
  border-color: rgba(212, 168, 67, 0.5);
}

#particles-js {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.cursor-glow {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.45s ease;
  mix-blend-mode: screen;
}

.cursor-glow.is-active {
  opacity: 1;
}

.cursor-glow__inner,
.cursor-glow__core {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.cursor-glow__inner {
  width: min(52vw, 480px);
  height: min(52vw, 480px);
  background: radial-gradient(
    circle,
    rgba(245, 193, 75, 0.28) 0%,
    rgba(212, 168, 67, 0.14) 32%,
    rgba(212, 168, 67, 0.05) 52%,
    transparent 72%
  );
  filter: blur(18px);
}

.cursor-glow__core {
  width: min(22vw, 200px);
  height: min(22vw, 200px);
  background: radial-gradient(
    circle,
    rgba(255, 236, 179, 0.42) 0%,
    rgba(245, 193, 75, 0.22) 38%,
    rgba(212, 168, 67, 0.08) 58%,
    transparent 78%
  );
  filter: blur(10px);
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-glow {
    display: none;
  }
}

.page-content {
  position: relative;
  z-index: 1;
}

.adams-gradient-text {
  background: var(--adams-gradient-h);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer-text 4s linear infinite;
}

@keyframes shimmer-text {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.adams-label {
  display: inline-block;
  font-size: var(--font-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rbt-gold);
  border-left: 3px solid var(--rbt-gold);
  padding-left: 0.75rem;
}

.adams-card {
  background: linear-gradient(145deg, var(--adams-card-from), var(--adams-card-to));
  border: 1px solid var(--border-color);
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s, background 0.4s;
  position: relative;
  overflow: hidden;
}

.adams-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--adams-gradient-h);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.adams-card:hover {
  border-color: rgba(212, 168, 67, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
}

.adams-card:hover::before { transform: scaleX(1); }

.adams-btn-primary {
  position: relative;
  background: var(--adams-gradient-h);
  background-size: 200% auto;
  color: #fff;
  font-size: var(--font-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: background-position 0.4s, transform 0.2s, box-shadow 0.3s;
  animation: shimmer-text 5s linear infinite;
}

.adams-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 168, 67, 0.45);
}

.adams-btn-outline {
  border: 1px solid var(--btn-outline-border);
  color: var(--btn-outline-color);
  font-size: var(--font-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}

.adams-btn-outline:hover {
  border-color: var(--rbt-gold);
  background: rgba(212, 168, 67, 0.1);
  color: var(--rbt-gold-bright);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 30%, var(--hero-glow-blue), transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 70%, var(--hero-glow-red), transparent 55%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(224, 224, 224, 0.03), transparent 70%);
  pointer-events: none;
  transition: background 0.5s ease;
}

.hero-logo-glow {
  display: block;
  position: relative;
  z-index: 1;
  filter: var(--logo-glow);
  transition: filter 0.5s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  animation: coin-shimmer 4s ease-in-out infinite;
}

@keyframes coin-shimmer {
  0%, 100% {
    opacity: 1;
    filter: var(--logo-glow) brightness(1);
  }
  50% {
    opacity: 0.96;
    filter: var(--logo-glow) brightness(1.08);
  }
}

.logo-hero-wrap {
  border-radius: 50%;
}

.hero-coin-scene {
  perspective: 1400px;
  width: min(100%, 28rem);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.hero-visual {
  overflow: visible;
  position: relative;
  z-index: 1;
}

@media (max-width: 1023px) {
  #hero {
    min-height: auto;
    padding-bottom: 4.5rem;
  }

  #hero .grid {
    gap: 2rem;
  }

  .hero-visual {
    min-height: 15rem;
    padding: 0.5rem 0 1.5rem;
    margin-inline: auto;
  }

  .hero-coin-scene {
    width: min(88vw, 18rem);
    perspective: 1200px;
  }
}

.hero-coin-spinner {
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  will-change: transform;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-coin-rotate {
  transform-style: preserve-3d;
}

.hero-coin-float {
  position: relative;
  animation: hero-coin-float 5.5s ease-in-out infinite;
  transform-style: preserve-3d;
}

@keyframes hero-coin-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.hero-coin-rim {
  position: absolute;
  inset: -3%;
  border-radius: 50%;
  border: 1px solid rgba(245, 193, 75, 0.35);
  box-shadow:
    0 0 24px rgba(212, 168, 67, 0.35),
    inset 0 0 18px rgba(245, 193, 75, 0.12);
  pointer-events: none;
  z-index: 2;
  animation: rim-glow 4s ease-in-out infinite;
}

@keyframes rim-glow {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

.hero-coin-orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero-coin-orbit--outer {
  inset: -8%;
  border: 1px solid rgba(212, 168, 67, 0.28);
  box-shadow: 0 0 28px rgba(212, 168, 67, 0.12);
}

.hero-coin-orbit--inner {
  inset: 4%;
  border: 1px solid rgba(245, 193, 75, 0.22);
}

.hero-coin-orbit--pulse {
  inset: -2%;
  border: 1px solid transparent;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(245, 193, 75, 0.45) 40deg,
    transparent 80deg,
    rgba(212, 168, 67, 0.3) 200deg,
    transparent 280deg
  );
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  opacity: 0.7;
}

.hero-orbit-dot {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff8dc, #f5c14b 55%, #d4a843);
  box-shadow: 0 0 14px rgba(245, 193, 75, 0.95), 0 0 4px rgba(255, 255, 255, 0.6);
}

.hero-orbit-dot--alt {
  top: auto;
  bottom: 12%;
  left: 8%;
  margin-left: 0;
  width: 5px;
  height: 5px;
  opacity: 0.75;
}

.hero-orbit-dot--sm {
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  top: 20%;
  left: auto;
  right: -2px;
}

.hero-coin-aura {
  z-index: 0;
  animation: aura-pulse 5s ease-in-out infinite;
}

@keyframes aura-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1.06); }
  50% { opacity: 1; transform: scale(1.16); }
}

.hero-coin-shadow {
  position: absolute;
  bottom: 2%;
  left: 50%;
  width: 68%;
  height: 14px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.45) 0%, transparent 72%);
  z-index: 0;
  pointer-events: none;
  animation: shadow-pulse 5s ease-in-out infinite;
}

@keyframes shadow-pulse {
  0%, 100% { transform: translateX(-50%) scaleX(1); opacity: 1; }
  50% { transform: translateX(-50%) scaleX(0.88); opacity: 0.75; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-coin-float,
  .hero-coin-orbit,
  .hero-coin-aura,
  .hero-coin-shadow,
  .hero-coin-rim,
  .hero-logo-glow {
    animation: none !important;
  }
}

/* About ecosystem visual */
.about-visual-card {
  overflow: hidden;
}

.about-ecosystem-visual {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Founder message */
.founder-message-card {
  position: relative;
  overflow: hidden;
}

.founder-message-quote {
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  font-size: 5rem;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--rbt-gold);
  opacity: 0.15;
  pointer-events: none;
  user-select: none;
}

.founder-message-body {
  position: relative;
  z-index: 1;
  font-size: var(--font-sm);
  line-height: 1.7;
}

@media (min-width: 640px) {
  .founder-message-body {
    font-size: var(--font-base);
  }
}

.founder-vision-line {
  border-top: 1px solid rgba(212, 168, 67, 0.2);
  border-bottom: 1px solid rgba(212, 168, 67, 0.2);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.founder-tagline {
  letter-spacing: 0.2em;
}

.founder-signature {
  position: relative;
  z-index: 1;
}

.team-group-title {
  color: var(--text-heading);
}

.partner-marquee-track {
  display: flex;
  width: max-content;
  flex-wrap: nowrap;
  gap: 0;
  animation: partner-marquee var(--partner-duration, 40s) linear infinite;
  will-change: transform;
}

.partner-marquee-group {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 3rem;
  padding-right: 3rem;
  flex-shrink: 0;
}

.partner-logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border: 1px solid rgba(212, 168, 67, 0.35);
  border-radius: 0.5rem;
  background: linear-gradient(
    160deg,
    rgba(188, 178, 162, 0.72) 0%,
    rgba(172, 162, 148, 0.66) 50%,
    rgba(165, 158, 168, 0.62) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 220, 0.2),
    0 4px 16px rgba(0, 0, 0, 0.08);
  min-height: 4.5rem;
  transition: border-color 0.3s, background 0.3s;
}

.partner-logo-item:hover {
  border-color: rgba(212, 168, 67, 0.5);
  background: linear-gradient(
    160deg,
    rgba(198, 188, 172, 0.78) 0%,
    rgba(182, 172, 158, 0.72) 50%,
    rgba(175, 168, 178, 0.68) 100%
  );
}

.partner-logo-item img {
  display: block;
  height: 2.75rem;
  width: auto;
  max-width: 16rem;
  object-fit: contain;
}

@media (min-width: 640px) {
  .partner-marquee-group {
    gap: 4rem;
    padding-right: 4rem;
  }

  .partner-logo-item img {
    height: 3rem;
    max-width: 18rem;
  }
}

@keyframes partner-marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(calc(var(--partner-shift, 0px) * -1), 0, 0); }
}

.updates-form input[type="email"] {
  min-width: 0;
}

/* ── RBT components ── */
.coin-float {
  animation: float-logo 6s ease-in-out infinite;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--section-alt-bg);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: var(--font-xs);
  font-weight: 500;
  color: var(--text-body);
  transition: border-color 0.3s, transform 0.2s;
}

.feature-pill:hover {
  border-color: rgba(212, 168, 67, 0.4);
  transform: translateY(-2px);
}

.industry-card {
  transition: transform 0.3s;
}

.industry-card-img-wrap {
  height: 120px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 50% 90%, rgba(212, 168, 67, 0.14), transparent),
    radial-gradient(ellipse 70% 60% at 50% 35%, rgba(245, 193, 75, 0.07), transparent),
    var(--section-alt-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.5rem;
  transition: background 0.35s ease;
  perspective: 500px;
}

.industry-card:hover .industry-card-img-wrap {
  background:
    radial-gradient(ellipse 90% 70% at 50% 90%, rgba(212, 168, 67, 0.24), transparent),
    radial-gradient(ellipse 70% 60% at 50% 35%, rgba(245, 193, 75, 0.14), transparent),
    var(--section-alt-bg);
}

.industry-card-img {
  width: auto;
  height: 88px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1), filter 0.35s ease;
  transform: translateY(3px) rotateX(6deg);
}

.industry-card:hover .industry-card-img {
  transform: translateY(-6px) rotateX(0deg) scale(1.12);
  filter: drop-shadow(0 10px 20px rgba(212, 168, 67, 0.4)) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.25));
}

.industry-card:hover {
  transform: translateY(-3px);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--adams-gradient-h);
  background-size: 200% auto;
  color: #fff;
  font-size: var(--font-xs);
  font-weight: 700;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

.blockchain-grid {
  background-image:
    linear-gradient(rgba(212, 168, 67, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 168, 67, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
}

.site-logo {
  object-fit: cover;
}

@keyframes float-logo {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.02); }
}

.scan-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 0%, var(--scan-line) 50%, transparent 100%);
  background-size: 100% 8px;
  animation: scan 8s linear infinite;
  pointer-events: none;
}

@keyframes scan {
  0% { background-position: 0 -100%; }
  100% { background-position: 0 200%; }
}

.section-divider {
  height: 4px;
  background: var(--adams-gradient-h);
  background-size: 200% auto;
  animation: shimmer-text 6s linear infinite;
}

.stat-number {
  font-size: clamp(2.25rem, 5vw, 3.875rem);
  font-weight: 800;
  line-height: 1;
}

.stat-number-supply {
  font-size: clamp(1.25rem, 3.2vw, 2.25rem);
  letter-spacing: -0.02em;
  word-break: break-all;
}

.pdf-preview-canvas {
  min-height: 200px;
  background: #0a0c12;
}

.pdf-preview-card {
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s;
}

.pdf-preview-card:hover {
  border-color: rgba(212, 168, 67, 0.45);
  transform: translateY(-2px);
}

.pdf-preview-card:focus-visible {
  outline: 2px solid var(--rbt-gold);
  outline-offset: 2px;
}

/* PDF.js modal viewer */
body.pdf-modal-open {
  overflow: hidden;
}

.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pdf-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.pdf-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 18, 0.88);
  backdrop-filter: blur(8px);
}

.pdf-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: calc(100vh - 2rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.pdf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}

.pdf-modal-toolbar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.pdf-toolbar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.5rem;
  border: 1px solid var(--border-color);
  background: var(--section-alt-bg);
  color: var(--text-heading);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.pdf-toolbar-btn:hover {
  border-color: var(--rbt-gold);
  color: var(--rbt-gold-bright);
}

.pdf-toolbar-link {
  text-decoration: none;
}

.pdf-toolbar-download {
  font-size: var(--font-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 0.75rem;
  min-width: auto;
}

.pdf-toolbar-close {
  font-size: var(--font-xs);
}

.pdf-modal .text-xs {
  font-size: var(--font-xs);
}

.pdf-modal .text-sm {
  font-size: var(--font-sm);
}

.pdf-page-info {
  min-width: 4.5rem;
  text-align: center;
  font-size: var(--font-xs);
}

.pdf-modal-body {
  position: relative;
  overflow: auto;
  flex: 1;
  padding: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 300px;
}

.pdf-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdf-loading.is-hidden {
  display: none;
}

#pdf-canvas {
  max-width: 100%;
  height: auto;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 640px) {
  .pdf-modal-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .pdf-modal-toolbar {
    width: 100%;
    justify-content: center;
  }
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--service-icon-bg);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition: transform 0.3s, background 0.4s;
  overflow: visible;
}

.how-step-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.adams-card:hover .how-step-icon {
  transform: scale(1.1) translateY(-2px);
  filter: drop-shadow(0 4px 10px rgba(212, 168, 67, 0.35));
}

.adams-card:hover .service-icon {
  transform: rotate(-5deg) scale(1.08);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--rbt-gold-bright), var(--rbt-gold), #8b6914);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.7rem;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  background: var(--rbt-gold);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  box-shadow: 0 0 12px rgba(212, 168, 67, 0.7);
}

.timeline-item.active::before {
  animation: pulse-diamond 2s infinite;
}

@keyframes pulse-diamond {
  0%, 100% { box-shadow: 0 0 8px rgba(212, 168, 67, 0.6); transform: scale(1); }
  50% { box-shadow: 0 0 20px rgba(245, 193, 75, 1); transform: scale(1.2); }
}

.nav-scrolled {
  background: var(--nav-scrolled-bg) !important;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-accent);
  box-shadow: var(--nav-shadow);
}

.nav-link {
  position: relative;
  color: var(--text-body);
  font-weight: 600;
  font-size: var(--font-sm);
  transition: color 0.3s;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--adams-gradient-h);
  transition: width 0.3s ease;
}

.nav-link:hover { color: var(--text-heading); }
.nav-link:hover::after { width: 100%; }

#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

#mobile-menu.open { max-height: 480px; }

.progress-bar {
  height: 6px;
  background: var(--progress-bg);
  overflow: hidden;
  transition: background 0.4s;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: var(--adams-gradient-h);
  background-size: 200% auto;
  animation: shimmer-text 3s linear infinite;
  transition: width 1.5s ease;
}

.chart-container {
  max-width: 300px;
  margin: 0 auto;
}

.team-card .team-photo {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  line-height: 0;
  transition: filter 0.4s;
}

.team-leadership-grid .team-card {
  display: flex;
  flex-direction: column;
}

.team-leadership-grid .team-photo {
  aspect-ratio: 4 / 5;
  flex-shrink: 0;
}

.team-leadership-grid .team-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.team-photo-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.team-ops-grid .team-card {
  display: flex;
  flex-direction: column;
}

.team-ops-grid .team-photo-placeholder {
  aspect-ratio: 1 / 1;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
}

.team-card:hover .team-photo {
  filter: brightness(1.02);
}

.team-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  background: var(--team-photo-bg);
  color: var(--team-initial);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: filter 0.4s;
}

.team-card:hover .team-photo-placeholder {
  filter: brightness(1.05);
}

.cta-banner {
  background: linear-gradient(135deg, var(--cta-from), var(--cta-to));
  border: 1px solid var(--cta-border);
  position: relative;
  overflow: hidden;
  transition: background 0.4s, border-color 0.4s;
}

.cta-banner::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(224, 224, 224, 0.04), transparent 30%);
  animation: rotate-glow 10s linear infinite;
}

@keyframes rotate-glow {
  100% { transform: rotate(360deg); }
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.1s ease;
}
