
@import url(https://fonts.googleapis.com/css?family=Noto+Sans);

:root {
  /* =========================
     BRAND (Electric Blue)
  ========================== */
  --brand-050: #EAF4FF;
  --brand-100: #D6EBFF;
  --brand-200: #B9DDFF;
  --brand-300: #9AD0FF;
  --brand-400: #73BCFF;
  --brand-500: #4DA3FF;
  --brand-500-t: #4DA3FFee;
  --brand-600: #2E7DFF;
  --brand-700: #1F5CFF;
  --brand-800: #1847D6;
  --brand-900: #1236A8;
  --brand-950: #0B215F;

  /* =========================
     BACKGROUNDS (Deep Navy)
  ========================== */
  --bg-050: #EEF5FF;
  --bg-100: #D9E7FF;
  --bg-200: #B9D2FF;
  --bg-300: #8FB3FF;
  --bg-400: #5F88E6;
  --bg-500: #3A58B8;
  --bg-600: #243B8C;
  --bg-700: #16245E;
  --bg-800: #0D163A;
  --bg-900: #070F22;
  --bg-950: #050913;

  /* =========================
     SURFACES (Panels/Cards)
  ========================== */
  --surface-050: #F2F7FF;
  --surface-100: #E3EEFF;
  --surface-200: #C7DAFF;
  --surface-300: #A6C0FF;
  --surface-400: #7E99E6;
  --surface-500: #5B74C2;
  --surface-600: #3D5296;
  --surface-700: #0E1F3F;
  --surface-800: #0B1730;
  --surface-900: #081225;
  --surface-950: #060D1C;

  /* =========================
     TEXT (Foreground)
  ========================== */
  --text-050: #FFFFFF;
  --text-100: #E8F1FF;
  --text-200: #C4D6F5;
  --text-300: #9FB4D6;
  --text-400: #7E95BA;
  --text-500: #637AA3;
  --text-600: #4B5F85;
  --text-700: #364561;
  --text-800: #233048;
  --text-900: #141E2F;
  --text-950: #0B111C;

  /* =========================
     LINES / DIVIDERS
  ========================== */
  --line-050: rgba(232, 241, 255, 0.04);
  --line-100: rgba(232, 241, 255, 0.12);
  --line-200: rgba(232, 241, 255, 0.20);
  --line-300: rgba(232, 241, 255, 0.28);
  --line-400: rgba(232, 241, 255, 0.36);
  --line-500: rgba(232, 241, 255, 0.44);
  --line-600: rgba(232, 241, 255, 0.52);
  --line-700: rgba(232, 241, 255, 0.60);
  --line-800: rgba(232, 241, 255, 0.70);
  --line-900: rgba(232, 241, 255, 0.80);
  --line-950: rgba(232, 241, 255, 0.90);

  /* =========================
     SHADOWS / RADIUS / FOCUS
  ========================== */
  --shadow-1: 0 12px 34px rgba(0, 0, 0, 0.40);
  /* existing */
  --radius: 16px;
  /* existing */
  --focus: 0 0 0 3px rgba(77, 163, 255, 0.35);
  /* existing */

  /* =========================
     LEGACY TOKENS
  ========================== */
  --bg: #0c0f14;
  --panel: #121826;
  --panel-2: #0f1420;
  --text: #e8ecf4;
  --muted: #a8b0c3;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

@media (prefers-color-scheme: light) {

  /* LIGHT MODE ALTERNATE */
  :root {
    /* =========================
     BRAND 
  ========================== */
    --brand-050: #0B215F;
    --brand-100: #1236A8;
    --brand-200: #1847D6;
    --brand-300: #1F5CFF;
    --brand-400: #2E7DFF;
    --brand-500: #4DA3FF;
    --brand-500-t: #4DA3FFcc;
    --brand-600: #73BCFF;
    --brand-700: #9AD0FF;
    --brand-800: #B9DDFF;
    --brand-900: #D6EBFF;
    --brand-950: #EAF4FF;

    /* =========================
     BACKGROUNDS 
  ========================== */
    --bg-050: #050913;
    --bg-100: #070F22;
    --bg-200: #0D163A;
    --bg-300: #16245E;
    --bg-400: #243B8C;
    --bg-500: #3A58B8;
    --bg-600: #5F88E6;
    --bg-700: #8FB3FF;
    --bg-800: #B9D2FF;
    --bg-900: #D9E7FF;
    --bg-950: #EEF5FF;


    /* =========================
     SURFACES 
  ========================== */
    --surface-950: #FFFFFF;
    --surface-900: #F4F7FF;
    --surface-800: #E8EEFF;
    --surface-700: #DCE6FF;
    --surface-600: #C9D6FF;
    --surface-500: #AEBEF2;
    --surface-400: #8FA2D6;
    --surface-300: #6F82BA;
    --surface-200: #4E5F96;
    --surface-100: #313E6F;
    --surface-050: #1D2748;

    /* =========================
     TEXT 
  ========================== */
    --text-050: #0B111C;
    --text-100: #141E2F;
    --text-200: #233048;
    --text-300: #364561;
    --text-400: #4B5F85;
    --text-500: #637AA3;
    --text-600: #7E95BA;
    --text-700: #9FB4D6;
    --text-800: #C4D6F5;
    --text-900: #E8F1FF;
    --text-950: #FFFFFF;


    /* =========================
     LINES / BORDERS 
  ========================== */
    --line-950: rgba(12, 20, 40, 0.90);
    --line-900: rgba(12, 20, 40, 0.75);
    --line-800: rgba(12, 20, 40, 0.60);
    --line-700: rgba(12, 20, 40, 0.48);
    --line-600: rgba(12, 20, 40, 0.38);
    --line-500: rgba(12, 20, 40, 0.30);
    --line-400: rgba(12, 20, 40, 0.22);
    --line-300: rgba(12, 20, 40, 0.16);
    --line-200: rgba(12, 20, 40, 0.12);
    --line-100: rgba(12, 20, 40, 0.08);
    --line-050: rgba(12, 20, 40, 0.04);

    /* =========================
     SHADOW / UI TOKENS
  ========================== */
    --shadow-1: 0 12px 30px rgba(10, 20, 50, 0.15);
    --radius: 16px;
    --focus: 0 0 0 3px rgba(46, 125, 255, 0.35);

    --bg: #F5F8FF;
    --panel: #FFFFFF;
    --panel-2: #F0F4FF;
    --text: #141E2F;
    --muted: #5E6F8F;
    --line: rgba(12, 20, 40, 0.12);
    --shadow: 0 10px 28px rgba(10, 20, 50, 0.15);
  }


}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 20% 0%, #182036 0%, var(--bg) 45%);
  color: var(--text);
  line-height: 1.6;
}

body :is(h1, h2, h3, h4, h5) {
  color: var(--brand-500);
}

body :is(p, ul) {
  margin-bottom: 1rem;
}

body.bg-dynamic {
  position: relative;
  overflow-x: hidden;
}

body.bg-dynamic::before,
body.bg-dynamic::after {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  will-change: transform, opacity, filter;
}

body.bg-dynamic::before {
  background:
    radial-gradient(900px 520px at 18% 10%, rgba(77, 163, 255, 0.22), transparent 60%),
    radial-gradient(800px 520px at 82% 22%, rgba(31, 92, 255, 0.18), transparent 62%),
    radial-gradient(700px 520px at 55% 78%, rgba(154, 208, 255, 0.12), transparent 65%);
  filter: blur(10px);
  opacity: 0.95;
  animation: bgFloat 18s ease-in-out infinite;
}

body.bg-dynamic::after {
  background:
    radial-gradient(1200px 700px at 30% 0%, rgba(24, 71, 214, 0.16), transparent 55%),
    radial-gradient(900px 700px at 70% 10%, rgba(77, 163, 255, 0.10), transparent 58%);
  mix-blend-mode: screen;
  opacity: 0.55;
  animation: bgDrift 28s linear infinite;
}

@keyframes bgFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(2.5%, 1.5%, 0) scale(1.04);
  }

  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes bgDrift {
  0% {
    transform: translate3d(-2%, -1%, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(2%, 1%, 0) rotate(8deg);
  }

  100% {
    transform: translate3d(-2%, -1%, 0) rotate(0deg);
  }
}

.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  mix-blend-mode: screen;
  background: radial-gradient(circle, var(--brand-500) 0%, transparent 70%);
}

/* Initial positions */
.blob-1 {
  top: -120px;
  left: -120px;
}

.blob-2 {
  top: 40%;
  right: -160px;
}

.blob-3 {
  bottom: -160px;
  left: 30%;
}

/* Organic motion */
@keyframes blobFloat1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(40px, -60px) scale(1.05);
  }

  50% {
    transform: translate(-30px, 40px) scale(0.95);
  }

  75% {
    transform: translate(50px, 20px) scale(1.08);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes blobFloat2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(-50px, 30px) scale(1.1);
  }

  50% {
    transform: translate(40px, 50px) scale(0.9);
  }

  75% {
    transform: translate(-20px, -40px) scale(1.05);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes blobFloat3 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(30px, 40px) scale(0.95);
  }

  50% {
    transform: translate(-40px, -30px) scale(1.1);
  }

  75% {
    transform: translate(20px, -50px) scale(1);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

/* Apply with different durations */
.blob-1 {
  animation: blobFloat1 28s ease-in-out infinite;
}

.blob-2 {
  animation: blobFloat2 34s ease-in-out infinite;
  background: radial-gradient(circle, var(--brand-300) 0%, transparent 70%);
}

.blob-3 {
  animation: blobFloat3 40s ease-in-out infinite;
  background: radial-gradient(circle, var(--brand-700) 0%, transparent 70%);
}


/* Reduced motion: keep it pretty but static */
@media (prefers-reduced-motion: reduce) {
  .blob {
    animation: none;
  }

  body.bg-dynamic::before,
  body.bg-dynamic::after {
    animation: none;
  }
}




.container {
  width: min(1080px, 92%);
  margin: 0 auto;
}

#contact.container {
  display: flex;
  flex-direction: column;
  align-items: center;

  .card {
    width: 100%;
    max-width: 720px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(12, 15, 20, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 6px;
  background: var(--brand-500);
  display: inline-block;
  color: var(--brand-500);
}

.brand-name {
  color: var(--brand-500);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

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

.hero {
  padding: 2rem 0 3.5rem;
  text-align: center;

  h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.12;
    letter-spacing: -0.02em;

  }

  .lead {
    font-size: 24px;
    margin-top: 1rem;
    color: var(--muted);
    width: 100%;
  }
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.section {
  padding: 3.5rem 0;

  >p {
    text-align: center;
  }
}

.section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.grid-2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.project-grid {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1rem;
}

/* CASE STUDY EXPAND */
.case-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms ease, opacity 300ms ease;
  opacity: 0;

}

.case-study.expanded .case-details {
  max-height: 1000px;
  opacity: 1;
}

.case-toggle {
  margin-top: 0.75rem;
  cursor: pointer;
}

.case-btn-frame {
  display: flex;
  justify-content: center;

}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
  background: rgba(12, 15, 20, 0.7);
  color: var(--brand-500);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  min-width: 320px;
  max-width: 480px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;

  h3 {
    margin-bottom: 0.5rem;
  }
}

.project.card {
  max-width: 640px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;

  h3 {
    margin-bottom: 0.5rem;
  }

  ul {
    margin-left: 1.25rem;
  }
}

.image-card {
  width: 100%;

  img {
    width: 100%;
    border-radius: 12px;
  }
}

.bullets {
  margin-left: 1.1rem;
  color: var(--muted);
}

.tags {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.9rem;

  a.text-link {
    color: var(--brand-500);
    transition: color .3s ease,
      border-bottom .3s ease;
  }

  a.text-link:hover {
    color: var(--brand-300);
    border-bottom: 1px solid var(--brand-300);
  }
}

.pill-row {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pill {
  background: var(--brand-500-t);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  color: var(--text-800);
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.05rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--brand-500-t);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-ghost {
  background: transparent;
}

.text-link {
  color: var(--brand-500);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 2px;
}

.text-link:hover {
  color: var(--brand-400);
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

.card form {
  display: grid;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  padding: 0.75rem 0.85rem;
  font-size: 1rem;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(232, 236, 244, 0.25);
  outline-offset: 2px;
}

.form-note {
  min-height: 1.2rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

/* Responsive */
@media (max-width: 720px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4.5rem;
  }
}

a.link_line {
  position: relative;
  color: var(--brand-500);
  text-decoration: none;
  transition: color 0.25s ease;
}

a.link_line::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.25s ease, left 0.25s ease;
}

a.link_line:hover::after,
a.link_line:focus-visible::after {
  width: 100%;
  left: 0;
}


/* -------------------------------------
 * SLideshow
 * ------------------------------------- */
.slideshow {
  margin-top: 2rem;
}

.slide>div {
  padding: 1rem;
  display: flex;
  justify-content: center;
}

.slide_image {
  height: 360px;
  width: 480px;
  display: flex;
  justify-content: center;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;

  }

  .image_wrap {
    width: 100%;
    height: 100%;
    position: relative;
  }


}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.image_wrap::after, .image_wrap::before {
  content: '';
  position: absolute;
  height: 100%;
  width: 100%;
  border-radius: 8px;
  background-image: conic-gradient(from var(--angle), var(--brand-200), var(--brand-900), var(--brand-200), var(--brand-900), var(--brand-200));
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  padding: .25rem;
  animation: 5s spin linear infinite;
}

@keyframes spin {
  from {
    --angle: 0deg;
  }

  to {
    --angle: 360deg;
  }
}

.image_wrap::before {
  filter: blur(.5rem);
  opacity: .65;
}

#tall_image_01 {
  object-position: center top;
}

.slick-slider {
  margin-bottom: 30px;
}

.slick-dots {
  position: absolute;
  bottom: -45px;

  display: block;

  width: 100%;
  padding: 0;

  list-style: none;

  text-align: center;
}

.slick-dots li {
  position: relative;

  display: inline-block;

  width: 20px;
  height: 20px;
  margin: 0 5px;
  padding: 0;

  cursor: pointer;
}

.slick-dots li button {
  font-size: 0;
  line-height: 0;

  display: block;

  width: 10px;
  height: 10px;
  padding: 5px;

  cursor: pointer;

  color: transparent;
  border: 0;
  border-radius: 50%;
  outline: none;
  background: var(--bg-200);
}

.slick-dots li.slick-active button {
  background: var(--bg-500);
}

.slick-dots li button:hover,
.slick-dots li button:focus {
  outline: none;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
  opacity: 1;
}

.slick-dots li button:before {
  font-family: 'slick';
  font-size: 6px;
  line-height: 20px;

  position: absolute;
  top: 0;
  left: 0;

  width: 20px;
  height: 20px;

  content: ' ';
  text-align: center;

  opacity: .25;
  color: black;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.slick-dots li.slick-active button:before {
  opacity: .75;
  color: black;
}

/* -------------------------------------
 * Impact
 * ------------------------------------- */

.impact-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 2rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.impact-card {
  position: relative;
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.impact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(77, 163, 255, 0.25);
}

/* subtle animated glow border */
.impact-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(120deg,
      transparent,
      rgba(77, 163, 255, 0.35),
      transparent);
  opacity: 0;
  transition: opacity .3s ease;
}

.impact-card:hover::before {
  opacity: 1;
}

.impact-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--brand-500);
  letter-spacing: -0.02em;
}

.impact-label {
  margin-top: .35rem;
  font-size: .9rem;
  color: var(--muted);
}

/* -------------------------------------
 * Impact Shimmer
 * ------------------------------------- */
.reveal-stagger .reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
  transition-delay: calc(var(--stagger, 0) * 120ms);
  will-change: opacity, transform;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.impact-card {
  position: relative;
  overflow: hidden;
}

.impact-card::after {
  content: "";
  position: absolute;
  inset: -40%;
  transform: translateX(-120%) rotate(18deg);
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(77, 163, 255, 0.10) 35%,
      rgba(77, 163, 255, 0.35) 50%,
      rgba(77, 163, 255, 0.10) 65%,
      transparent 100%);
  opacity: 0;
  pointer-events: none;
}

.impact-card.shimmer::after {
  animation: impactShimmer 900ms ease-out;
}


@keyframes impactShimmer {
  0% {
    transform: translateX(-120%) rotate(18deg);
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  100% {
    transform: translateX(120%) rotate(18deg);
    opacity: 0;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal-stagger .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal-stagger.is-visible .impact-card::after {
    animation: none;
  }
}

/* -------------------------------------
 * Architecture
 * ------------------------------------- */
/* -------------------------------------
 * Architecture Map (Diagram)
 * ------------------------------------- */

.architecture-map {
  position: relative;
  margin: 2.25rem auto 0;
  width: min(920px, 100%);
  height: 420px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* subtle ambient glow */
.architecture-map::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(600px 260px at 50% 20%, rgba(77, 163, 255, 0.18), transparent 60%),
    radial-gradient(520px 260px at 20% 70%, rgba(31, 92, 255, 0.12), transparent 60%),
    radial-gradient(520px 260px at 80% 70%, rgba(154, 208, 255, 0.10), transparent 60%);
  filter: blur(10px);
  opacity: 0.9;
  pointer-events: none;
}

/* Nodes */
.arch-node {
  position: absolute;
  width: 240px;
  padding: 1rem 1rem 0.95rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  text-align: center;
  box-shadow: var(--shadow);
  z-index: 3;
}

.arch-node::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: calc(var(--radius) + 8px);
  background: rgba(12, 15, 20, 0.92);
  z-index: -1;
}

.arch-node h4 {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.arch-node p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.arch-center {
  left: 50%;
  top: 26px;
  transform: translateX(-50%);
}

.arch-left {
  left: 6%;
  top: 150px;
}

.arch-right {
  right: 6%;
  top: 150px;
}

.arch-bottom {
  left: 50%;
  top: 288px;
  transform: translateX(-50%);
}

.arch-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.arch-path.base {
  fill: none;
  stroke: rgba(232, 241, 255, 0.10);
  stroke-width: 2;
}

.arch-path.draw {
  fill: none;
  stroke: url(#archGrad);
  stroke-width: 2.5;
  filter: url(#archGlow);
  stroke-linecap: round;
  stroke-linejoin: round;

  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  opacity: 0;
}

.arch-path.glow {
  fill: none;
  stroke: url(#archGrad);
  stroke-width: 7;

  opacity: 0;
  filter: blur(2.5px);
  stroke-linecap: round;
  stroke-linejoin: round;

  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
}

.arch-path.draw,
.arch-path.glow {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition:
    stroke-dashoffset 900ms ease-out,
    opacity 250ms ease-out;
}

.architecture-map.is-visible .arch-path.glow {
	opacity: 0.55;
	stroke-dashoffset: 0;
}

/* When map is visible, reveal the strokes */
.architecture-map.is-visible .arch-path.draw {
	opacity: 1;
	stroke-dashoffset: 0;
}

.architecture-map.is-visible .arch-path.draw[data-i="1"],
.architecture-map.is-visible .arch-path.glow[data-i="1"] {
  transition-delay: 80ms;
}

.architecture-map.is-visible .arch-path.draw[data-i="2"],
.architecture-map.is-visible .arch-path.glow[data-i="2"] {
  transition-delay: 220ms;
}

.architecture-map.is-visible .arch-path.draw[data-i="3"],
.architecture-map.is-visible .arch-path.glow[data-i="3"] {
  transition-delay: 360ms;
}

.arch-lines .arch-stop.s1 {
  stop-color: var(--brand-300);
  stop-opacity: 0.75;
}

.arch-lines .arch-stop.s2 {
  stop-color: var(--brand-500);
  stop-opacity: 0.95;
}

.arch-lines .arch-stop.s3 {
  stop-color: var(--brand-300);
  stop-opacity: 0.75;
}

.arch-path.glow.center {
	stroke-width: 5;
  stroke-opacity: 1;
	opacity: 1;
	filter: url(#centerGlow);
}

.architecture-map.is-visible .arch-path.glow.center {
	opacity: 0.65;
	stroke-dashoffset: 0;
}


@keyframes archDraw {
  to {
    stroke-dashoffset: 0;
  }
}


@keyframes archPulse {
  0%, 100% {
    opacity: 0.85;
  }

  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .architecture-map.is-visible .arch-path.draw {
    animation: none;
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

/* -------------------------------------
 * timeline
 * ------------------------------------- */
#timeline_frame {
  list-style: none;
  margin: 50px 0 30px 120px;
  padding-left: 30px;
  border-left: 8px solid var(--text-100);
}

#timeline_frame li {
  margin: 40px 0;
  position: relative;
}

#timeline_frame p {
  margin: 0 0 15px;
}

.date {
  margin-top: -10px;
  top: 50%;
  left: -180px;
  font-size: 0.95em;
  line-height: 20px;
  position: absolute;
}

.circle {
  margin-top: -10px;
  top: 50%;
  left: -44px;
  width: 20px;
  height: 20px;
  background: var(--brand-300);
  border: 5px solid var(--text-100);
  border-radius: 50%;
  display: block;
  position: absolute;
  transition: background-color .3s ease;
}

.timeline_content {
  max-height: 20px;
  padding: 50px 20px 0;
  border-color: transparent;
  border-width: 2px;
  border-style: solid;
  border-radius: 0.5em;
  position: relative;
  background-color: transparent;


  h3 {
    margin: 0;
    max-height: 0;
    color: transparent;
    text-align: justify;
    word-break: break-word;
    hyphens: auto;
    overflow: hidden;
  }

  p {
    max-height: 0;
    color: transparent;
    overflow: hidden;
  }

  ul#timeline_inner_list {
    max-height: 0;
    color: transparent;

    li {
      margin: 1rem 0
    }
  }

  strong {
    color: transparent;
    max-height: 0;
  }

  span.skill_tag {
    white-space: nowrap;
    color: transparent;
    max-height: 0;
  }
}

.timeline_content:before, .timeline_content:after {
  content: "";
  width: 0;
  height: 0;
  border: solid transparent;
  position: absolute;
  pointer-events: none;
  right: 100%;
}

.timeline_content:before {
  border-right-color: inherit;
  border-width: 20px;
  top: 50%;
  margin-top: -20px;
}

.timeline_content:after {
  border-right-color: inherit;
  border-width: 17px;
  top: 50%;
  margin-top: -17px;
}

.relative label {
  font-size: 1.3em;
  position: absolute;
  z-index: 100;
  cursor: pointer;
  top: 20px;
  transition: transform 0.2s linear, color .2s ease;
}

input:not(:checked)+.relative label:hover {
  color: var(--brand-300);
}

input:checked+.relative label {
  color: var(--brand-500);
}

.radio {
  display: none;
}

.radio:checked+.relative label {
  cursor: auto;
  transform: translateX(42px);
}

.radio:checked+.relative .date {
  font-size: 1.25em;
  transition: font-size .3s ease;
}

.radio:checked+.relative .circle {
  background: var(--brand-500);
}

.radio:checked~.timeline_content {
  max-height: 720px;
  border-color: var(--text-100);
  background-color: var(--bg-800);
  margin-right: 20px;
  transform: translateX(20px);

  transition: background-color .5s linear, max-height 0.4s linear, border-color 0.5s linear, transform 0.2s linear;
  box-shadow: var(--shadow);

  p {
    max-height: none;
    color: var(--text-100);
    transition: color 0.3s linear 0.3s;
  }

  ul#timeline_inner_list {
    margin-left: 2rem;
    max-height: 400px;
    color: var(--text-100);
    transition: color 0.3s linear 0.3s;
  }

  h3 {
    max-height: 120px;
    color: var(--brand-500);
    transition: color 0.3s linear 0.3s;
  }

  strong {
    color: var(--brand-500);
    max-height: 40px;
    transition: color 0.3s linear 0.3s;
  }

  span.skill_tag {

    color: var(--text-050);
    max-height: 40px;
    background-color: var(--brand-800);
    border-radius: 50px;
    padding: 0 8px;
    transition: color 0.3s linear 0.3s,
      background-color 0.3s linear 0.3s;
  }
}

.radio:checked~.timeline_content::after {
  border-right-color: var(--bg-800);
  transition: border-right-color .5s linear;
}

/* -------------------------------------
 * mobile phones
 * ------------------------------------- */
@media screen and (max-width: 767px) {
  #timeline_frame {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }

  #timeline_frame li {
    margin: 50px 0;
  }

  label {
    width: 85%;
    font-size: 1.1em;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
    transform: translateX(18px);
  }

  .timeline_content {
    padding-top: 45px;
    border-color: var(--text-100);
  }

  .timeline_content:before, .timeline_content:after {
    border: solid transparent;
    bottom: 100%;
  }

  .timeline_content:before {
    border-bottom-color: inherit;
    border-width: 17px;
    top: -16px;
    left: 50px;
    margin-left: -17px;
  }

  .timeline_content:after {
    border-bottom-color: var(--bg);
    border-width: 20px;
    top: -20px;
    left: 50px;
    margin-left: -20px;
  }

  .timeline_content p {
    font-size: 0.9em;
    line-height: 1.4;
  }

  .circle, .date {
    display: none;
  }
}