/* ─────────────────────────────────────────────────────────
   Tokens
   ───────────────────────────────────────────────────────── */
:root {
  --clr-bg:           #faf9f7;
  --clr-surface:      #f2f0ec;
  --clr-text:         #1a1614;
  --clr-text-muted:   #8a8178;
  --clr-accent:       #1a1614;
  --clr-border:       #e2ddd7;

  --font: 'Inter', system-ui, sans-serif;

  --text-xs:   0.6875rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.375rem;
  --text-2xl:  1.75rem;
  --text-3xl:  2.25rem;
  --text-4xl:  3rem;
  --text-5xl:  4rem;

  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --container-max:    1200px;
  --container-narrow: 660px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 140ms;
  --t-base: 220ms;
  --t-slow: 380ms;
}

/* ─────────────────────────────────────────────────────────
   Reset
   ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--clr-text);
  background: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h2 { font-family: 'Inter', sans-serif; }
button { cursor: pointer; background: none; border: none; font: inherit; }

:focus-visible { outline: 1.5px solid var(--clr-text); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }

/* ─────────────────────────────────────────────────────────
   Layout
   ───────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

.container--narrow { max-width: var(--container-narrow); }

.container--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

@media (max-width: 768px) {
  .container--split { grid-template-columns: 1fr; gap: var(--space-12); }
}

/* ─────────────────────────────────────────────────────────
   Typography
   ───────────────────────────────────────────────────────── */
.label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--clr-text-muted);
  margin-bottom: var(--space-3);
}

.section__header { margin-bottom: var(--space-16); }

.section__header h2 {
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-3xl));
  font-weight: 300;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section__desc {
  margin-top: var(--space-4);
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--clr-text-muted);
  line-height: 1.75;
}

/* ─────────────────────────────────────────────────────────
   Buttons
   ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.65rem 1.5rem;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid var(--clr-text);
  background: var(--clr-text);
  color: var(--clr-bg);
  border-radius: 999px;
  transition: background var(--t-fast), color var(--t-fast);
}

.btn:hover { background: #333; border-color: #333; }
.btn:active { background: #000; }

.btn--ghost {
  background: transparent;
  color: var(--clr-text);
}

.btn--ghost:hover { background: var(--clr-text); color: var(--clr-bg); }

.btn--full { width: 100%; justify-content: center; }

/* ─────────────────────────────────────────────────────────
   Navigation
   ───────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) max(var(--space-3), calc((100% - var(--container-max)) / 2 + var(--space-3)));
  background: rgba(250,249,247,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base);
}

.nav.scrolled { border-bottom-color: var(--clr-border); }

.nav__logo {
  display: flex;
  align-items: flex-start;
}

.nav__logo-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-left: -18px;
  transition: opacity var(--t-fast);
}

.nav__logo:hover .nav__logo-img { opacity: 0.6; }

.nav__links { display: flex; gap: var(--space-8); align-items: center; align-self: center; }

.nav__links a {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--clr-text-muted);
  transition: color var(--t-fast);
  position: relative;
  padding-bottom: 4px;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--clr-text);
  opacity: 0;
  transition: opacity var(--t-fast);
}

.nav__links a[aria-current="page"]::after { opacity: 1; }
.nav__links a[aria-current="page"] { color: var(--clr-text); }

.nav__links a:hover { color: var(--clr-text); }

.nav__toggle { display: none; }

@media (max-width: 640px) {
  .nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
  }
  .nav__toggle span {
    display: block;
    width: 20px;
    height: 1px;
    background: var(--clr-text);
    transition: transform var(--t-base);
  }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child  { transform: translateY(-6px) rotate(-45deg); }
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    flex-direction: column;
    gap: 0;
    background: var(--clr-bg);
    border-bottom: 1px solid var(--clr-border);
    padding: var(--space-4) var(--space-6);
  }
  .nav__links.open { display: flex; }
  .nav__links a {
    display: block;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--clr-border);
  }
  .nav__links a:last-child { border-bottom: none; }
}

/* ─────────────────────────────────────────────────────────
   Koi canvas
   ───────────────────────────────────────────────────────── */
.koi-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero .container { position: relative; z-index: 2; }

/* Changing word — typewriter */
.hero__changing-word {
  display: inline-block;
  background: linear-gradient(95deg, #c42010 0%, #e8823a 50%, #c42010 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: wordShimmer 3.5s linear infinite;
  border-right: 2px solid #c42010;
}

.hero__changing-word.cursor-hidden {
  border-right-color: transparent;
}

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

/* ─────────────────────────────────────────────────────────
   Hero
   ───────────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
  position: relative;
  cursor: none;
}

.hero__cursor {
  position: fixed;
  pointer-events: none;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translate(-4px, -4px);
  opacity: 0;
  transition: opacity 150ms ease;
}

.hero__cursor.visible { opacity: 1; }

.hero__cursor svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
}

.hero__cursor-tag {
  font-family: var(--font);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #fff;
  background: var(--clr-text);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.hero__eyebrow {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--clr-text-muted);
  margin-bottom: var(--space-6);
}

.hero__name {
  font-size: var(--text-2xl);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--clr-text);
  margin-bottom: var(--space-6);
  margin-top: calc(-1 * var(--space-4));
}

.hero .container {
  text-align: left;
}

.hero__tagline-wrap {
  text-align: left;
}

.hero__name {
  font-size: var(--text-xl);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--clr-text);
  margin-bottom: var(--space-6);
}

.hero__bottom {
  position: relative;
  z-index: 2;
}




  position: fixed;
  top: -15vw;
  left: 50%;
  transform: translateX(-50%);
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 32, 16, 0.12) 0%, rgba(232, 130, 58, 0.06) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

.hero__top, .hero__bottom {
  position: relative;
  z-index: 2;
}


  padding-top: var(--space-16);
  padding-inline: max(var(--space-3), calc((100% - var(--container-max)) / 2 + var(--space-3)));
  text-align: left;
}

.hero__watermark {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 13vw;
  white-space: nowrap;
  overflow: hidden;
  color: var(--clr-text-muted);
  opacity: 0.1;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  min-height: 1.1em;
}

.hero__role {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: var(--space-3);
}

.hero__headline {
  font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl));
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: var(--space-6);
  min-height: 2.5em;
}

.hero__headline em {
  font-style: italic;
  font-weight: 300;
}

.hero__sub {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--clr-text-muted);
  line-height: 1.6;
  margin-top: var(--space-4);
  white-space: nowrap;
}

.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: var(--space-6);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: var(--clr-border);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); transform-origin: top; }
  50%       { opacity: 1;   transform: scaleY(0.5); transform-origin: top; }
}

/* ─────────────────────────────────────────────────────────
   Sections
   ───────────────────────────────────────────────────────── */
.section { padding-block: var(--space-24); }
.section--tinted { background: var(--clr-surface); }

/* ─────────────────────────────────────────────────────────
   Projects
   ───────────────────────────────────────────────────────── */
.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.project__link {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: opacity var(--t-base), transform var(--t-base);
}

.project__link:hover {
  opacity: 0.9;
  transform: translateY(-4px);
}

.project__image-wrap { overflow: hidden; border-radius: 8px; }

.project__tile-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  margin-top: -5px;
  margin-bottom: -5px;
}

.project__image--placeholder {
  aspect-ratio: 16 / 9;
  background: var(--clr-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
}

.project__image--placeholder span {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #ccc;
}

@media (max-width: 768px) {
  .projects { grid-template-columns: 1fr; }
}

.project__tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-3); }

.tag {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--clr-text-muted);
}

.tag + .tag::before {
  content: '·';
  margin-right: var(--space-2);
}

.project__title {
  font-size: var(--text-xl);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: var(--space-3);
}

.project__desc {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  font-weight: 300;
  line-height: 1.65;
}

/* ─────────────────────────────────────────────────────────
   About
   ───────────────────────────────────────────────────────── */
.about__text p {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--clr-text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.75;
}

.about__text .btn { margin-top: var(--space-6); }

.about__skills { display: grid; gap: var(--space-8); }

.skills-group__title {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--clr-text-muted);
  margin-bottom: var(--space-3);
}

.skills-list li {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--clr-text-muted);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--clr-border);
}

/* ─────────────────────────────────────────────────────────
   Testimonials
   ───────────────────────────────────────────────────────── */
.testimonials {
  display: flex;
  flex-direction: column;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding: var(--space-12) 0;
  border-top: 1px solid var(--clr-border);
}

.testimonial:last-child {
  border-bottom: 1px solid var(--clr-border);
}

.testimonial__quote-mark {
  display: none;
}

.testimonial__quote {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--clr-text-muted);
  line-height: 1.8;
  flex: 1;
}

.testimonial__callout {
  display: block;
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl));
  font-weight: 300;
  color: var(--clr-text);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}

.callout-star {
  background: linear-gradient(95deg, #c42010 0%, #e8823a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.testimonial__author {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-3);
  padding-left: var(--space-4);
}

.testimonial__avatar {
  flex-shrink: 0;
  border-radius: 50%;
}

.testimonial__author > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial__author strong {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--clr-text);
}

.testimonial__author span {
  font-size: var(--text-sm);
  color: var(--clr-text-muted);
  font-weight: 300;
}

mark.highlight {
  background: linear-gradient(120deg, #fde8c8 0%, #fad4b0 100%);
  color: inherit;
  padding: 1px 3px;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .testimonials { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────
   Toolkit
   ───────────────────────────────────────────────────────── */
.toolkit {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-16);
}

.toolkit__title {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--clr-text-muted);
  margin-bottom: var(--space-4);
}

.toolkit__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.toolkit__list li {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--clr-text);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--clr-border);
  border-radius: 999px;
  background: var(--clr-bg);
  position: relative;
  transition: background var(--t-base), border-color var(--t-base), color var(--t-base);
}

.toolkit__list li:hover {
  background: linear-gradient(95deg, #c42010 0%, #e8823a 50%, #c42010 100%);
  background-size: 200% auto;
  border-color: transparent;
  color: #fff;
  animation: wordShimmer 2s linear infinite;
}

.toolkit__item {
  cursor: default;
}

.toolkit__item::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--clr-text);
  color: var(--clr-bg);
  font-size: var(--text-xs);
  font-weight: 400;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t-fast);
  z-index: 10;
}

.toolkit__item:hover::after {
  opacity: 1;
}

@media (max-width: 768px) {
  .toolkit { grid-template-columns: 1fr; gap: var(--space-8); }
}

/* ─────────────────────────────────────────────────────────
   MyAdvocate Project Card Preview
   ───────────────────────────────────────────────────────── */
.advocate-card-preview {
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #0a3d6b 0%, #1a6fa8 50%, #0e9488 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.advocate-zoom-track {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.advocate-img {
  width: 78%;
  display: block;
  margin: 0 auto;
  margin-top: 30px;
}

/* Overlay sits on top of the image, hidden until zoomed */
.advocate-overlay {
  position: absolute;
  left: 14%;
  top: 74%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  opacity: 0;
  animation: overlayAppear 7s ease-in-out infinite;
}

@keyframes overlayAppear {
  0%, 22%  { opacity: 0; }
  35%      { opacity: 1; }
  80%      { opacity: 1; }
  92%      { opacity: 0; }
  100%     { opacity: 0; }
}

.advocate-btn {
  position: relative;
  width: 82px;
  height: 82px;
  flex-shrink: 0;
}

.advocate-play,
.advocate-pause {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Play visible first, then fades out; pause fades in */
.advocate-play {
  animation: playFade 7s ease-in-out infinite;
}

.advocate-pause {
  animation: pauseFade 7s ease-in-out infinite;
}

@keyframes playFade {
  0%, 35%  { opacity: 1; }
  48%      { opacity: 0; }
  80%      { opacity: 0; }
  92%      { opacity: 1; }
  100%     { opacity: 1; }
}

@keyframes pauseFade {
  0%, 35%  { opacity: 0; }
  48%      { opacity: 1; }
  80%      { opacity: 1; }
  92%      { opacity: 0; }
  100%     { opacity: 0; }
}

/* Waveform bars */
.advocate-wave {
  display: flex;
  align-items: center;
  gap: 5px;
}

.advocate-wave span {
  display: block;
  width: 5px;
  border-radius: 3px;
  background: white;
  animation: waveFade 7s ease-in-out infinite;
}

.advocate-wave span:nth-child(1)  { height: 10px; animation-delay: 0s; }
.advocate-wave span:nth-child(2)  { height: 22px; animation-delay: 0.05s; }
.advocate-wave span:nth-child(3)  { height: 34px; animation-delay: 0.1s; }
.advocate-wave span:nth-child(4)  { height: 17px; animation-delay: 0.15s; }
.advocate-wave span:nth-child(5)  { height: 42px; animation-delay: 0.2s; }
.advocate-wave span:nth-child(6)  { height: 27px; animation-delay: 0.25s; }
.advocate-wave span:nth-child(7)  { height: 46px; animation-delay: 0.3s; }
.advocate-wave span:nth-child(8)  { height: 22px; animation-delay: 0.35s; }
.advocate-wave span:nth-child(9)  { height: 34px; animation-delay: 0.4s; }
.advocate-wave span:nth-child(10) { height: 15px; animation-delay: 0.45s; }
.advocate-wave span:nth-child(11) { height: 37px; animation-delay: 0.5s; }
.advocate-wave span:nth-child(12) { height: 25px; animation-delay: 0.55s; }
.advocate-wave span:nth-child(13) { height: 17px; animation-delay: 0.6s; }
.advocate-wave span:nth-child(14) { height: 30px; animation-delay: 0.65s; }
.advocate-wave span:nth-child(15) { height: 10px; animation-delay: 0.7s; }

/* Bars start solid, fade to translucent when "recording" */
@keyframes waveFade {
  0%, 35%  { opacity: 0.9; }
  50%      { opacity: 0.2; }
  80%      { opacity: 0.2; }
  92%      { opacity: 0.9; }
  100%     { opacity: 0.9; }
}

/* hide the duplicate image */
.advocate-img + .advocate-img { display: none; }

/* ─────────────────────────────────────────────────────────
   TestHub Project Card Preview
   ───────────────────────────────────────────────────────── */
.testhub-card-preview {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testhub-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

/* ─────────────────────────────────────────────────────────
   BDC Project Card Preview
   ───────────────────────────────────────────────────────── */
.project__card-preview {
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f0fe 0%, #d0e4ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bdc-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.bdc-phone {
  width: 155px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  font-family: -apple-system, sans-serif;
  display: flex;
  flex-direction: column;
}

.bdc-status {
  display: flex;
  justify-content: space-between;
  padding: 5px 10px 2px;
  font-size: 7px;
  font-weight: 600;
  background: #fff;
  color: #111;
}

.bdc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 8px 6px;
  border-bottom: 1px solid #f0f0f0;
}

.bdc-header-left { display: flex; align-items: center; gap: 4px; }
.bdc-back { font-size: 14px; color: #0070f3; font-weight: 300; }
.bdc-title { font-size: 7px; font-weight: 700; color: #111; }
.bdc-subtitle { font-size: 5.5px; color: #888; }
.bdc-header-right { display: flex; gap: 6px; }
.bdc-icon-btn { font-size: 7px; color: #0070f3; }

.bdc-card { padding: 7px 8px 4px; }
.bdc-chart-title { font-size: 7px; font-weight: 700; color: #111; margin-bottom: 1px; }
.bdc-chart-sub { font-size: 5px; color: #888; margin-bottom: 5px; }

.bdc-bar-chart {
  position: relative;
  height: 60px;
}

.bdc-target-line {
  position: absolute;
  top: 30%;
  left: 0;
  right: 0;
  border-top: 1px dashed #aaa;
  display: flex;
  align-items: center;
}

.bdc-target-line span {
  font-size: 4px;
  color: #aaa;
  background: #fff;
  padding-right: 2px;
  position: relative;
  top: -4px;
}

.bdc-bars {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  display: flex;
  align-items: flex-end;
  gap: 2px;
}

.bdc-bar {
  flex: 1;
  background: #0070f3;
  border-radius: 1px 1px 0 0;
  opacity: 0.7;
}

.bdc-bar--accent {
  opacity: 1;
  background: #0050c8;
}

.bdc-toolbar {
  display: flex;
  justify-content: space-around;
  padding: 6px 4px;
  border-top: 1px solid #f0f0f0;
  font-size: 5.5px;
  color: #555;
  margin-top: auto;
}

.bdc-toolbar-active {
  color: #0070f3;
  font-weight: 600;
}
.footer {
  padding-block: var(--space-8);
  border-top: 1px solid var(--clr-border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer p {
  font-size: var(--text-sm);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--clr-text-muted);
}

.footer__links {
  display: flex;
  gap: var(--space-6);
}

.footer__link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--clr-text-muted);
  transition: color var(--t-fast);
}

.footer__link:hover { color: var(--clr-text); }

.footer__copy {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

/* ─────────────────────────────────────────────────────────
   Scroll-reveal
   ───────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-slow) var(--ease),
              transform var(--t-slow) var(--ease);
}

.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1023px) {
  .koi-canvas { display: none; }
  .hero__cursor { display: none !important; }
  .hero { cursor: auto; }
}
@media print {
  .nav, .hero__scroll-hint { display: none; }
  body { font-size: 12pt; }
}
