/* Import Google font */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;700&display=swap');

/* Base styles */
body {
  font-family: 'EB Garamond', serif;
  line-height: 1.6;
  margin: 0;
  padding: 0 1rem;
  background: #fffefe;
}

main {
  padding: 2rem;
  max-width: 800px;
  margin: 2rem auto;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Header container, stacked layout */
header {
  display: flex;
  flex-direction: column;        /* stack header rows */
  align-items: flex-start;
  background: url('../graphics/bannerbg.mp4') no-repeat center center;
  font-family: "Bebas Neue", sans-serif;
  background-size: cover;
  opacity: .8;
  color: #f5f5f5;
  padding: 1.5rem 2rem;
}

header h2 {
  position:absolute;
  display: inline-block;
  transform: scale(3.0,8.0);   /* scaleX, scaleY */
  transform-origin: left center;
  z-index:-1;
  left:80px;
  top:40px;
}

.site-header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #f5f5f5;
  padding: 1.5rem 2rem;
  overflow: hidden;
}

/* video background */
.site-header .header-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* dark overlay to improve text contrast */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25); /* tweak as needed */
  z-index: 0;
  pointer-events: none;
}

/* header content above video */
.site-header .header-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}


.intro--video {
  position: relative;
  overflow: hidden;
  min-height: 60vh;          /* ensures the video shows */
  background: #000;          /* neutral fallback if video can’t load */
}


/* video behind everything */
.intro--video .section-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;                /* do NOT dim the video */
}

.intro--video .section-video-2 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;                /* do NOT dim the video */
}

/* dim overlay */
.intro--video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.0); /* adjust dim level */
  z-index: 1;
  pointer-events: none;
}


/* centered image above overlay */
.intro--video .intro-center-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;

  max-width: min(5000px, 100%);
  height: auto;
  display: block;

  /* optional */
  border-radius: 12px;
}

/* your text/card above image (if you want the text on top) */
.intro--video .blueabout {
  position: relative;
  z-index: 3;
}

.blueabout-body {
  text-align: center;                 /* center the text */
}

.blueabout-body h1 {
  font-family: "Anton", system-ui, sans-serif;
  font-size: 4rem;                    /* adjust to taste */
  line-height: 1;                     /* tighter looks better for Bebas */
  margin: 0;
  font-weight:1200;
  z-index: 999;
  color: #4169E1;

  display: inline-block;              /* needed for transform */
  transform: scale(2.2, 7.0);        /* stretch (scaleX, scaleY) */
  transform-origin: center;
}

/* IMPORTANT: remove opacity from the header container
   (opacity on the container would fade the text too) */

.floating-image{
  position: fixed;          /* independent of your boxes */
  top: -40px;               /* move it wherever you want */
  left: 750px;
  opacity:.5;
  width: 1000px;             /* size */
  height: auto;
  

  z-index: 3;            /* above everything */
  pointer-events: none;     /* doesn’t block clicks (optional) */
}


.floating-image{
  position: fixed;          /* independent of your boxes */
  top: -40px;               /* move it wherever you want */
  left: 750px;

  width: 1000px;             /* size */
  height: auto;
  

  z-index: 3;            /* above everything */
  pointer-events: none;     /* doesn’t block clicks (optional) */
}


/* Top row: logo and title */
header .header-top {
  display: flex;
  flex-direction: row;           /* ensure horizontal alignment */
  align-items: center;           /* vertical centering */
  gap: 1.5rem;
}

header .logo img {
  height: 50px;
  width: auto;
}

header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #49fc2a;
}

/* Navigation row below */
nav {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}

nav a {
  background: #fff;
  color: #333;
  padding: 0.5em 1em;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

nav a:hover {
  background: #f0f0f0;
}

footer {
  background: gray;
  opacity: .5;
  color: #f5f5f5;
  padding: 1rem;
}

.intro {
  max-width: 600px;
  margin: auto;
}



/* Picture gallery section */
.post-gallery {
  margin-top: 2rem;
}

.post-gallery h3 {
  margin-bottom: 1rem;
  color: #1465b7;
}

.post-gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
}

.post-gallery-grid img {
  flex: none;
  width: 500px;
  height: auto;
  border-radius: 8px;
}

section.intro a {
  display: inline-block;
  margin: 0 0.5em 0.5em 0;
  padding: 0.25em 0.5em;
  background-color: #5187fd;
  color: #4169E1;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9em;
}

section.intro a:hover {
  background-color: #888edd;
}

/* Make the intro a two-column flex box */
.intro-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 2000px;
  margin: 0;
}

/* Photo column */
.intro-photo img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Text column tweaks */
.intro-text h2 {
  margin-top: 0;
}

/*update text*/
.intro.update {
  background: linear-gradient(
    135deg,
    #2864e5,
    #d649d4,
    #fbc2eb,
    #a1c4fd,
    #c2e9fb
  );
  background-size: 300% 300%;
  animation: gradientShift 10s ease infinite;
  color: white;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  border: 2px solid rgba(255,255,255,0.5);
}

/* Big headline */
.intro.update h1 {
  font-size: 2.5rem;
  margin: 0 0 0.5rem 0;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
}

/* Subheadline */
.intro.update h2 {
  font-size: 1.6rem;
  font-style: italic;
  margin: 0;
  padding-top: 0.25rem;
  border-top: 2px solid rgba(255,255,255,0.4);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.25);
}

/* Gradient animation */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* huging face */
/* ==== Hugging Face Repo button (yellow) ==== */
:root {
  --hf-yellow: #FFD21E;         /* primary Hugging Face yellow */
  --hf-yellow-600: #E0B800;     /* shadow/pressed */
  --hf-yellow-700: #B38F00;     /* deeper shadow */
  --hf-text: #111;              /* high-contrast text */
}

/* Base */
a.hugging_face_repo {
  --pad-y: 0.55em;
  --pad-x: 1.0em;

  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  font-family: 'EB Garamond', serif;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: none;
  color: var(--hf-text);

  /* glossy yellow */
  background:
    radial-gradient(80% 80% at 25% 10%, rgba(255,255,255,0.7), transparent 45%),
    linear-gradient(to bottom, #FFE769, var(--hf-yellow));
  border: 2px solid #FFEAA0;
  border-radius: 9999px;
  padding: var(--pad-y) var(--pad-x);

  position: relative;
  overflow: hidden;

  /* lift & depth */
  box-shadow:
    0 6px 0 0 var(--hf-yellow-600),
    0 10px 18px rgba(0,0,0,0.15);
  transform: translateY(0);

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    filter 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

/* Hugging Face emoji badge */
a.hugging_face_repo::before {
  content: "🤗";
  font-size: 1.1em;
  line-height: 1;
}

/* Hover: tiny lift + soft glow */
a.hugging_face_repo:hover {
  transform: translateY(-1px);
  box-shadow:
    0 7px 0 0 var(--hf-yellow-700),
    0 12px 20px rgba(0,0,0,0.18);
  filter: saturate(1.05);
}

/* Active: pressed */
a.hugging_face_repo:active {
  transform: translateY(1px);
  box-shadow:
    0 3px 0 0 var(--hf-yellow-700),
    0 6px 12px rgba(0,0,0,0.12);
}

/* Accessible focus ring */
a.hugging_face_repo:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255,210,30,0.55),
    0 0 0 6px rgba(17,17,17,0.65),
    0 6px 0 0 var(--hf-yellow-600),
    0 10px 18px rgba(0,0,0,0.15);
}

/* Subtle diagonal shine on hover */
a.hugging_face_repo::after {
  content: "";
  position: absolute;
  inset: -60% -20% auto auto;
  width: 40%;
  height: 220%;
  transform: rotate(25deg) translateX(120%);
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.6) 50%,
    rgba(255,255,255,0) 100%
  );
  pointer-events: none;
}
a.hugging_face_repo:hover::after {
  animation: hfShine 0.9s ease forwards;
}

/* Reduced motion: disable shine animation */
@media (prefers-reduced-motion: reduce) {
  a.hugging_face_repo,
  a.hugging_face_repo:hover {
    transition: none;
  }
  a.hugging_face_repo:hover::after {
    animation: none;
  }
}

/* Dark scheme tweaks */
@media (prefers-color-scheme: dark) {
  a.hugging_face_repo {
    border-color: #FFEE9C;
    box-shadow:
      0 6px 0 0 var(--hf-yellow-600),
      0 10px 18px rgba(0,0,0,0.35);
  }
}

/* Shine keyframes */
@keyframes hfShine {
  0%   { transform: rotate(25deg) translateX(120%); opacity: 0.0; }
  5%   { opacity: 1; }
  100% { transform: rotate(25deg) translateX(-180%); opacity: 0; }
}

/* Optional compact variant */
a.hugging_face_repo.sm {
  --pad-y: 0.4em;
  --pad-x: 0.8em;
  font-weight: 600;
}


/* table */
/* ==== Model table — Blue Minimal ==== */
:root {
  --ui-blue: #1465b7;        /* primary blue (you already use this) */
  --ui-blue-600: #1465b7;    /* darker border line */
  --ui-text: #111;
  --ui-soft: #444;
  --ui-border: #E5EEF8;      /* subtle borders */
  --ui-row-hover: #F5F9FF;   /* soft hover */
}

body table.model_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--ui-border);
  border-radius: 10px;
  overflow: hidden;          /* keeps rounded corners on header */
  box-shadow: none;          /* minimal: no drop shadow */
  font-family: 'EB Garamond', serif;
}

/* Header: flat blue, no gradients/shadows */
.model_table thead th {
  background: var(--ui-blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--ui-blue-600);
}

/* Cells: simple rhythm + hairline rows */
.model_table td {
  padding: 0.75rem 1rem;
  color: var(--ui-soft);
  border-bottom: 1px solid var(--ui-border);
  vertical-align: middle;
}

/* Row hover: very light blue */
.model_table tbody tr:hover {
  background: var(--ui-row-hover);
}

/* Numeric alignment for Size column */
.model_table th:nth-child(2),
.model_table td:nth-child(2) {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* Download column centered on desktop */
.model_table th:nth-child(3),
.model_table td:nth-child(3) {
  text-align: center;
}

/* Minimal link styling: clean blue, underline on hover */
.model_table td a[href] {
  color: var(--ui-blue);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent; /* stable layout */
  transition: border-color 0.15s ease, color 0.15s ease;
}
.model_table td a[href]:hover {
  border-bottom-color: currentColor;
}
.model_table td a[href]:focus-visible {
  outline: 2px solid var(--ui-blue);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Remove border under last row of each tbody */
.model_table tbody tr:last-child td {
  border-bottom: none;
}

/* Compact variant */
.model_table.compact td,
.model_table.compact th {
  padding: 0.6rem 0.75rem;
  font-size: 0.95rem;
}

/* Mobile: simple card stack with inline labels (no fancy effects) */
@media (max-width: 640px) {
  .model_table thead { display: none; }
  .model_table, .model_table tbody, .model_table tr, .model_table td {
    display: block;
    width: 100%;
  }
  .model_table tr {
    background: #fff;
    border: 1px solid var(--ui-border);
    border-radius: 8px;
    margin: 0.75rem 0;
    overflow: hidden;
  }
  .model_table td {
    border-bottom: 1px solid var(--ui-border);
    position: relative;
    padding: 0.7rem 1rem 0.7rem 7.5rem; /* room for labels */
  }
  .model_table td:last-child { border-bottom: none; }

  /* Lightweight labels */
  .model_table td:nth-child(1)::before { content: "Version"; }
  .model_table td:nth-child(2)::before { content: "Size"; }
  .model_table td:nth-child(3)::before { content: "Download"; }

  .model_table td::before {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: var(--ui-blue);
  }

  /* Alignments on mobile */
  .model_table td:nth-child(2),
  .model_table td:nth-child(3) {
    text-align: left;
  }
}

/* ==== Post links — Blue Minimal Buttons ==== */
:root{
  --ui-blue:#1465b7;
  --ui-blue-600:#0f4f8b;
  --ui-blue-100:#e9f2ff;
  --ui-text:#111;
}

/* Layout */
.post-links{
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
  margin:1rem 0 1.25rem;
}

/* Buttony anchors */
.post-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;

  padding:.55em .95em;
  border-radius:9999px;
  text-decoration:none;
  font-family:'EB Garamond',serif;
  font-weight:700;
  letter-spacing:.2px;
  line-height:1.2;

  color:#fff;
  background: linear-gradient(180deg, #1a6fc5 0%, var(--ui-blue) 100%);
  border:1px solid var(--ui-blue-600);

  box-shadow:0 1px 0 rgba(0,0,0,.08);
  transition:
    transform .12s ease,
    box-shadow .12s ease,
    background .2s ease,
    color .2s ease;
}

/* Subtle motion cue */
.post-links a::after{
  content:"→";
  font-weight:700;
  opacity:.9;
  transform:translateX(.1rem);
  transition:transform .12s ease, opacity .12s ease;
}

/* Hover / active */
.post-links a:hover{
  transform:translateY(-1px);
  box-shadow:0 3px 10px rgba(0,0,0,.10);
  background: linear-gradient(180deg, #1d75cd 0%, #1669bb 100%);
}
.post-links a:hover::after{ transform:translateX(.25rem); opacity:1; }

.post-links a:active{
  transform:translateY(0);
  box-shadow:0 1px 4px rgba(0,0,0,.12);
}

/* Focus ring (accessible) */
.post-links a:focus-visible{
  outline:none;
  box-shadow:
    0 0 0 3px rgba(20,101,183,.25),
    0 0 0 6px rgba(20,101,183,.35);
}

/* Minimal outline variant (use class="ghost" on any link) */
.post-links a.ghost{
  color:var(--ui-blue);
  background:transparent;
  border:1px solid var(--ui-blue-600);
}
.post-links a.ghost:hover{
  background:var(--ui-blue-100);
  box-shadow:none;
}

/* Option: stacked full-width on small screens */
@media (max-width:640px){
  .post-links{ gap:.5rem; }
  .post-links a{ flex:1 1 100%; border-radius:12px; }
}

/*Profile Card */
/* ==== Refined Blue Card (a touch more designed) ==== */
.bluecard--refined {
  /* layout & sizing */
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  align-items: center;
  gap: 1rem;

  aspect-ratio: 3.5 / 2;
  max-width: 560px;
  margin: 1rem auto;
  padding: 1rem;

  /* structure */
  position: relative;
  border: 1.5px solid var(--ui-blue, #1465b7);
  border-radius: 14px;
  overflow: hidden;

  /* subtle pattern + soft blue-tinted surface */
  background:
    /* diagonal micro-stripes */
    repeating-linear-gradient(
      45deg,
      rgba(20,101,183,0.06) 0 2px,
      transparent 2px 14px
    ),
    linear-gradient(180deg, #f5f9ff 0%, #ffffff 60%);
  box-shadow: 0 6px 18px rgba(20,101,183,0.08);
  color: #0f213a;
}

/* slim top accent bar */
.bluecard--refined::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 6px;
  background: linear-gradient(90deg, #1a6fc5, var(--ui-blue, #1465b7));
}

/* photo with neat ring */
.bluecard--refined .bluecard-left {
  display: grid; place-items: center;
}
.bluecard--refined .bluecard-left img {
  width: min(40vw, 190px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid var(--ui-blue, #1465b7);
  outline: 6px solid #eef4ff; /* soft ring */
  background: #fff;
}

/* tidy info slab */
.bluecard--refined .bluecard-right {
  display: grid;
  gap: 0.55rem;
  padding: 0.9rem 1rem;
  background: #fbfdff;
  border: 1px solid #e5eef8;
  border-radius: 12px;
}

/* headline & role */
.bluecard--refined .bluecard-name {
  font-weight: 700;
  font-size: 1.35rem;               /* EB Garamond friendly */
  line-height: 1.1;
  letter-spacing: 0.2px;
}
.bluecard--refined .bluecard-role {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ui-blue, #1465b7);
  letter-spacing: 0.3px;
  display: inline-block;
  padding: .22em .6em;
  border-radius: 9999px;
  background: #e9f2ff;
  border: 1px solid #cfe3ff;
}

/* a very light divider */
.bluecard--refined .bluecard-divider {
  height: 0;
  border: none;
  border-top: 1px dashed #dbe8f7;
  margin: 0.25rem 0 0.35rem;
}

/* contact rows — minimal “chips” */
.bluecard--refined .bluecard-rows {
  display: grid;
  gap: 0.45rem;
}
.bluecard--refined .bluecard-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #1a2740;

  background: #fff;
  border: 1px solid #e7effa;
  border-radius: 10px;
  padding: 0.45rem 0.6rem;
  transition: border-color .15s ease, transform .12s ease, box-shadow .15s ease;
}
.bluecard--refined .bluecard-row:hover {
  border-color: var(--ui-blue, #1465b7);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(20,101,183,0.08);
}

/* icon “chip” */
.bluecard--refined .bluecard-row svg {
  width: 18px; height: 18px;
  color: var(--ui-blue, #1465b7);
  padding: 4px;
  border-radius: 8px;
  background: #f0f6ff;
  border: 1px solid #dae9ff;
}

/* keep links from inheriting your .intro pill styles */
.bluecard--refined a.bluecard-link {
  background: none !important;
  color: inherit;
  padding: 0;
  border-radius: 0;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.bluecard--refined a.bluecard-link:hover {
  color: var(--ui-blue, #1465b7);
  border-bottom-color: currentColor;
}

/* responsive stack */
@media (max-width: 600px) {
  .bluecard--refined {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    padding: 0.9rem;
  }
  .bluecard--refined .bluecard-left img { width: 60%; outline-width: 5px; }
}

/* print at actual size if printing just the card */
@media print {
  .bluecard--refined {
    width: 3.5in;
    height: 2in;
    max-width: none;
    aspect-ratio: auto;
    box-shadow: none;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}



/* ==== Refined Colorful Update Panel (blue-led, bold, tidy) ==== */
.intro.update {
  /* palette (local to this block) */
  --g1: #1a6fc5;           /* blue top */
  --g2: #1465b7;           /* site blue */
  --g3: #8b5cf6;           /* purple */
  --g4: #d649d4;           /* magenta */
  --g5: #f59e0b;           /* amber accent */

  position: relative;
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
  box-shadow: 0 8px 22px rgba(20,101,183,0.18);

  /* layered background: soft stripes + animated gradient slab */
  background:
    /* subtle diagonal micro-stripes (static) */
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.12) 0 2px,
      rgba(255,255,255,0) 2px 14px
    ),
    /* colorful gradient (animated) */
    linear-gradient(135deg, var(--g1), var(--g2) 22%, var(--g3) 50%, var(--g4) 74%, var(--g5));
  background-size: 100% 100%, 220% 220%;
  background-position: 0 0, 0% 50%;
  animation: updateShift 16s ease-in-out infinite;
  overflow: hidden; /* for the accent bar */
}

/* slim top accent bar (ties to your blue system) */
.intro.update::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 6px;
  background: linear-gradient(90deg, #1a6fc5, var(--ui-blue, #1465b7));
}

/* Headline — bold but tidier than before */
.intro.update h1 {
  font-size: 2.25rem;
  margin: 0 0 .4rem 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow:
    0 2px 12px rgba(0,0,0,0.25),
    0 1px 0 rgba(255,255,255,0.25);
}

/* Subheadline — compact pill instead of heavy italic rule */
.intro.update h2 {
  display: inline-block;
  margin: 0;
  margin-top: .15rem;
  padding: .25em .6em;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .4px;
  color: #0f213a;
  background: #e9f2ff;
  border: 1px solid #cfe3ff;
  border-radius: 9999px;
  text-shadow: none;
}

/* Paragraph copy (optional) */
.intro.update p {
  color: #f8fbff;
  margin: .5rem 0 0;
}

/* Links inside update: keep readable and tidy, not pill buttons */
.intro.update a[href] {
  background: none !important;
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid rgba(255,255,255,0.55);
  padding: 0;
  border-radius: 0;
  transition: color .15s ease, border-color .15s ease;
}
.intro.update a[href]:hover {
  color: #e9f2ff;
  border-bottom-color: #e9f2ff;
}

/* Gentle animation for gradient layer only */
@keyframes updateShift {
  0%   { background-position: 0 0,   0% 50%; }
  50%  { background-position: 0 0, 100% 50%; }
  100% { background-position: 0 0,   0% 50%; }
}

/* Reduced motion: freeze the gradient */
@media (prefers-reduced-motion: reduce) {
  .intro.update { animation: none; background-position: 0 0, 50% 50%; }
}

/* github button */
/* ========= GitHub Sparkle Chip (inline component) ========= */
.gh-chip {
  /* theme hooks */
  --gh-start: #0ea5e9;   /* sky */
  --gh-mid:   #6366f1;   /* indigo */
  --gh-end:   #a855f7;   /* violet */
  --gh-text:  #fff;

  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6rem;

  padding: .62rem .9rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .2px;
  line-height: 1;
  color: var(--gh-text);
  text-decoration: none;

  background:
    radial-gradient(120% 140% at 100% -20%,
      var(--gh-start) 0%,
      var(--gh-mid) 48%,
      var(--gh-end) 100%);

  border: 1px solid rgba(255,255,255,.22);
  box-shadow:
    0 8px 20px rgba(15,23,42,.25),
    inset 0 1px 0 rgba(255,255,255,.25);

  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
}

.gh-chip:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    0 14px 28px rgba(15,23,42,.28),
    inset 0 1px 0 rgba(255,255,255,.3);
}

.gh-chip:active { transform: translateY(0); }

/* Icon + label */
.gh-chip__icon {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.15));
  animation: gh-bob 3s ease-in-out infinite;
}
.gh-chip__label {
  white-space: nowrap;
  font-size: 0.95rem;
}

/* Focus visibility */
.gh-chip:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 6px rgba(99,102,241,.65),
    0 14px 28px rgba(15,23,42,.28);
}

/* Sparkles stay with the component (no fixed pos) */
.gh-chip__sparkles {
  pointer-events: none;
  position: absolute;
  inset: -14px -18px -22px -18px;
  z-index: -1;
  background:
    radial-gradient(6px 6px at 80% 25%, rgba(255,255,255,.95), rgba(255,255,255,0) 60%),
    radial-gradient(5px 5px at 15% 70%, rgba(255,255,255,.9),  rgba(255,255,255,0) 60%),
    radial-gradient(4px 4px at 55% 95%, rgba(255,255,255,.85), rgba(255,255,255,0) 60%),
    radial-gradient(3px 3px at 95% 60%, rgba(255,255,255,.8),  rgba(255,255,255,0) 60%);
  filter: blur(.5px) drop-shadow(0 3px 10px rgba(255,255,255,.25));
  opacity: .65;
  animation: gh-sparkle 4s linear infinite;
}

/* Size variants you can swap in */
.gh-chip--sm { padding: .5rem .75rem; font-size: .9rem; }
.gh-chip--lg { padding: .78rem 1.05rem; font-size: 1rem; }
.gh-chip--ghost {
  background: linear-gradient( to right, rgba(255,255,255,.08), rgba(255,255,255,.12) );
  border-color: rgba(255,255,255,.18);
}

/* Motion + sparkle animations */
@keyframes gh-bob {
  0% { transform: translateY(0) }
  50% { transform: translateY(-1.5px) }
  100% { transform: translateY(0) }
}
@keyframes gh-sparkle {
  0%   { transform: translateY(0) translateX(0); opacity: .55; }
  25%  { transform: translateY(-2px) translateX(-1px); opacity: .8; }
  50%  { transform: translateY(0) translateX(1px); opacity: .6; }
  75%  { transform: translateY(2px) translateX(-1px); opacity: .85; }
  100% { transform: translateY(0) translateX(0); opacity: .65; }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .gh-chip, .gh-chip:hover, .gh-chip__icon, .gh-chip__sparkles {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* Keep title centered, but don't force the whole box to center-layout */
.bio-box{
  text-align: center;
  padding-top: 11rem;     /* NOT 11rem */
  padding-bottom: 2rem;
}

/* This is the only big text */
.blueabout-body .bio-title{
  font-family: "Bebas Neue", sans-serif;
  font-size: 5rem;
  line-height: 1;
  margin: 0 0 1.5rem 0;
  font-weight: 900;
  display: inline-block;
  transform: scale(5.4, 2.0);
  transform-origin: center;
}

/* Side-by-side layout */
.bio-row{
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  text-align: left;     /* overrides the centered parent */
}

/* Image MUST be smaller than the container so text can fit */
.bio-smore{
  width: 1200px;         /* change this value as you like */
  height: auto;
  margin: 0;   
  position: relative;         /* kill the -20rem hack */
  flex: 0 0 auto;
  left: -300px;

}

.bio-atatoo{
  width: 400px;
  height: auto;          /* prevents stretching/distortion */
  flex: 0 0 auto;
  margin: 4;             /* remove layout hacks */
  position: relative;    /* enables left offset */
  left: -500px; 
  top: 460px          /* moves it slightly to the right of the smore photo */
}

.bio-powell{
  width: 900px;
  height: auto;          /* prevents stretching/distortion */
  flex: 0 0 auto;
  margin: 0;             /* remove layout hacks */
  position: relative;    /* enables left offset */
  left: -450px;            /* moves it slightly to the right of the smore photo */
  top: -430px;
}

.bio-vision{
  width: 900px;
  height: auto;          /* prevents stretching/distortion */
  flex: 0 0 auto;
  margin: 0;             /* remove layout hacks */
  position: relative;    /* enables left offset */
  left: -950px;            /* moves it slightly to the right of the smore photo */
  top: 200px;
}


.bio-arch{
  width: 900px;
  height: auto;          /* prevents stretching/distortion */
  flex: 0 0 auto;
  margin: 0;             /* remove layout hacks */
  position: relative;    /* enables left offset */
  left: -450px;            /* moves it slightly to the right of the smore photo */
  top: -230px;
}

.bio-vibe{
  width: 900px;
  height: auto;          /* prevents stretching/distortion */
  flex: 0 0 auto;
  margin: 0;             /* remove layout hacks */
  position: relative;    /* enables left offset */
  left: -700px;            /* moves it slightly to the right of the smore photo */
  top: -50px;
}



/* About box on the right */
.bio-text{
  flex: 1;
  min-width:5;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 0.9rem;    /* SMALLER */
  line-height: 1.35;
  font-weight: 400;     /* NOT heavy */
  letter-spacing: -0.01em;

  background: rgba(255,255,255,0.92);
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

/* Force your global giant paragraph rule to NOT apply here */
.bio-text p{
  margin: 0;
  font-size: 4rem !important;
  font-weight: 400 !important;
  transform: none !important;
  display: block !important;
}

.bio-text h3{
  margin: 0 0 .5rem 0;
  font-size: 1rem;
  font-weight: 600;
  transform: none !important;
}



.blueabout-body .bio-title{
  font-family: "Bebas Neue", sans-serif;
  font-size: 5rem;
  line-height: 1;
  margin: 0 0 2rem 0;
  font-weight: 900;
  z-index: 50;

  display: inline-block;
  transform: scale(2.4, 2.0);
  transform-origin: center;
  text-align: center;
}

.site-header .floating-image{
  position: absolute;     /* scrolls with the page, not the viewport */
  top: -40px;
  left: 750px;

  width: 1000px;
  height: auto;

  opacity: .5;
  z-index: 15;
  pointer-events: none;
}

/* A true “pin anywhere and stays put” image */
/* Anchor absolute positioning to the whole page */
body { position: relative; }

.place-anywhere-a{
  position: absolute;     /* IMPORTANT: not fixed */
  top: 200px;             /* choose any coordinates */
  left: -400px;            /* choose any coordinates */

  width: 1100px;           /* choose any size */
  height: 900px;
  transform: rotate(0deg);
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}

.place-anywhere-b{
  position: absolute;     /* IMPORTANT: not fixed */
  top: 200px;             /* choose any coordinates */
  left: 800px;            /* choose any coordinates */

  width: 1100px;           /* choose any size */
  height: 900px;
  transform: rotate(0deg);
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}

.place-anywhere-c{
  position: absolute;     /* IMPORTANT: not fixed */
  top: 1000px;             /* choose any coordinates */
  left: -400px;            /* choose any coordinates */

  width: 1100px;           /* choose any size */
  height: 900px;
  transform: rotate(0deg);
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}

.place-anywhere-d{
  position: absolute;     /* IMPORTANT: not fixed */
  top: 1000px;             /* choose any coordinates */
  left: 800px;            /* choose any coordinates */

  width: 1100px;           /* choose any size */
  height: 900px;
  transform: rotate(0deg);
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}

/* Optional: responsive safety so it can’t vanish off-screen */



/*button styling */

/* Load Bebas Neue */
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");

/* Neon button tokens */
:root {
  --neon-green: #4169E1;
  --neon-green-border: #4169E1;
  --neon-white: #ffffff;
}

/* Apply neon button styling to your existing "button" anchors */
nav a,
section.intro a,
.post-links a {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;

  color: var(--neon-white);
  background-color: var(--neon-green);

  border: 2px solid var(--neon-green-border);
  border-radius: 9999px;

  text-decoration: none;

  box-shadow: 0 0 14px rgba(57, 255, 20, 0.35);
  transition: transform 120ms ease, box-shadow 180ms ease, filter 180ms ease;
}

/* Hover */
nav a:hover,
section.intro a:hover,
.post-links a:hover {
  transform: translateY(-1px);
  filter: brightness(1.05) saturate(1.15);
  box-shadow: 0 0 18px #4169E1(57, 255, 20, 0.55), 0 10px 20px rgba(0, 0, 0, 0.12);
}

/* Keyboard focus (accessible) */
nav a:focus-visible,
section.intro a:focus-visible,
.post-links a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95),
    0 0 0 7px #4169E1(57, 255, 20, 0.55),
    0 0 20px #4169E1(57, 255, 20, 0.55);
}

/* Optional: pressed state */
nav a:active,
section.intro a:active,
.post-links a:active {
  transform: translateY(0px);
}
