﻿*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --bg:        #1a1510;
      --bg2:       #201b14;
      --card-bg:   #252018;
      --amber:     #e8a94d;
      --amber-dk:  #c4883a;
      --amber-lt:  #f0be72;
      --white:     #f5f0e8;
      --muted:     #8a8070;
      --border:    rgba(232,169,77,.12);
      --radius:    18px;
    }

    html { scroll-behavior: smooth; }
    body {
      background-color: var(--bg);
      background-image:
        radial-gradient(1000px 700px at 18% 28%, rgba(232,169,77,0.16), rgba(232,169,77,0) 60%),
        radial-gradient(950px 850px at 72% 55%, rgba(232,169,77,0.12), rgba(232,169,77,0) 62%),
        radial-gradient(700px 700px at 85% 18%, rgba(255,255,255,0.035), rgba(255,255,255,0) 58%),
        radial-gradient(1400px 1000px at 50% 45%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.62) 78%, rgba(0,0,0,0.88) 100%),
        linear-gradient(180deg, var(--bg) 0%, #14100b 58%, #0f0c07 100%);
      background-repeat: no-repeat;
      background-attachment: fixed;
      color: var(--white);
      font-family: 'Barlow', sans-serif;
      font-size: 16px;
      line-height: 1.6;
      overflow-x: hidden;
    }

    /* Navbar styles live in styles.css (universal header) */

    /* â”€â”€ HERO â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
    .hero {
      padding: 160px var(--content-pad-x) 80px;
      max-width: var(--content-max);
      margin: 0 auto;
    }
    .hero-tag {
      display: inline-block;
      border: 1.5px solid var(--amber);
      color: var(--amber);
      font-size: .72rem; font-weight: 700;
      letter-spacing: .14em; text-transform: uppercase;
      padding: 6px 16px; border-radius: 100px;
      margin-bottom: 32px;
    }
    .hero h1 {
      font-family: 'Barlow', sans-serif;
      font-size: clamp(1.4rem, 3vw, 2.6rem);
      font-weight: 800;
      line-height: 1.05;
      max-width: 780px;
      margin-bottom: 28px;
      letter-spacing: -.02em;
    }
    .hero h1 em { font-style: normal; color: var(--amber); }
    .hero p {
      color: var(--muted); font-size: 1.05rem;
      max-width: 560px; line-height: 1.7;
    }

    /* â”€â”€ PHILOSOPHIES CAROUSEL â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
    .philosophies {
      padding: 0 var(--content-pad-x) 100px;
      max-width: var(--content-max);
      margin: 0 auto;
    }
    .philosophy-header {
      display: flex; align-items: flex-end; justify-content: space-between;
      margin-bottom: 32px;
    }
    .philosophy-header h2 {
      font-family: 'Barlow', sans-serif;
      font-size: clamp(1.3rem, 2vw, 1.6rem);
      font-weight: 800; line-height: 1.1;
    }
    .carousel-controls { display: flex; gap: 10px; }
    .ctrl-btn {
      width: 44px; height: 44px;
      border-radius: 50%;
      border: 1.5px solid rgba(255,255,255,.15);
      background: transparent;
      color: var(--white);
      cursor: pointer;
      display: grid; place-items: center;
      font-size: 1rem;
      transition: border-color .2s, background .2s;
    }
    .ctrl-btn:hover { border-color: var(--amber); background: rgba(232,169,77,.1); }

    .carousel-track-wrap {
      overflow-x: auto;
      overflow-y: hidden;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      padding-bottom: 8px;
      scrollbar-width: none; /* Firefox */
    }
    .carousel-track-wrap::-webkit-scrollbar { height: 0; }
    .carousel-track {
      display: flex; gap: 20px;
      width: max-content;
    }
    .c-card {
      flex: 0 0 clamp(300px, 32vw, 420px);
      min-height: 420px;
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 32px;
      position: relative; overflow: hidden;
      display: flex; flex-direction: column;
      gap: 16px;
      transition: border-color .3s;
      scroll-snap-align: start;
    }
    .c-card:hover { border-color: rgba(232,169,77,.3); }

    /* ghost icon top-right */
    .c-card .ghost-icon {
      position: absolute;
      top: -18px;
      right: -18px;
      font-size: 7.25rem;
      opacity: .085;
      color: var(--amber);
      pointer-events: none;
      line-height: 1;
      z-index: 0;
      transform: none;
    }

    /* ensure content sits above ghost icon */
    .c-card > :not(.ghost-icon) {
      position: relative;
      z-index: 1;
    }

    /* card that is amber-filled */
    .c-card.amber-card {
      background: var(--amber);
      border-color: var(--amber);
    }
    .c-card.amber-card h3,
    .c-card.amber-card p { color: #1a1510; }
    .c-card.amber-card .card-icon {
      background: rgba(0,0,0,.12);
      border-color: rgba(0,0,0,.18);
      box-shadow: 0 14px 28px rgba(0,0,0,.18);
      color: #1a1510;
    }
    .c-card.amber-card .quote-box {
      background: rgba(255,255,255,.25);
      border-radius: 12px; padding: 20px;
      margin-top: auto;
    }
    .c-card.amber-card .quote-box p { font-size: .95rem; font-weight: 500; }
    .c-card.amber-card .est { font-size: .75rem; font-weight: 700; letter-spacing: .05em; margin-top: 10px; color: #1a1510; }

    .card-icon {
      width: 48px;
      height: 48px;
      background: linear-gradient(145deg, rgba(232,169,77,.22), rgba(232,169,77,.06));
      border: 1px solid rgba(232,169,77,.18);
      border-radius: 14px;
      display: grid;
      place-items: center;
      font-size: 1.15rem;
      color: var(--amber);
      box-shadow: 0 14px 28px rgba(0,0,0,.35);
    }
    .c-card h3 {
      font-family: 'Barlow', sans-serif;
      font-size: 1.2rem; font-weight: 800;
      line-height: 1.25;
    }
    .c-card > p { color: var(--muted); font-size: .9rem; line-height: 1.65; }

    /* code block */
    .code-block {
      background: #12100c;
      border-radius: 12px; padding: 18px;
      margin-top: auto;
    }
    .code-dots { display: flex; gap: 6px; margin-bottom: 12px; }
    .dot { width: 10px; height: 10px; border-radius: 50%; }
    .dot-r { background: #ff5f57; }
    .dot-y { background: #ffbd2e; }
    .dot-g { background: #28c840; }
    pre {
      font-family: 'Courier New', monospace;
      font-size: .78rem; line-height: 1.7;
      color: #a0a0a0; overflow: hidden;
    }
    .kw { color: #e8694d; }
    .fn { color: #e8a94d; }
    .str { color: #a8d55a; }

    /* performance matrix */
    .perf-matrix {
      background: rgba(255,255,255,.05);
      border-radius: 12px; padding: 20px;
      margin-top: auto;
    }
    .bars { display: flex; gap: 8px; align-items: flex-end; height: 70px; margin-bottom: 10px; }
    .bar {
      flex: 1; border-radius: 6px 6px 0 0;
      background: rgba(255,255,255,.1);
    }
    .bar.active { background: var(--amber); }
    .perf-label {
      font-size: .65rem; font-weight: 700; letter-spacing: .1em;
      text-transform: uppercase; color: var(--muted); text-align: center;
      margin-top: 6px;
    }

    /* slide-to-unlock */
    .slider-wrap {
      background: rgba(255,255,255,.08);
      border-radius: 100px; padding: 6px;
      display: flex; align-items: center;
      margin-top: auto; position: relative; overflow: hidden;
      cursor: pointer;
    }
    .slider-thumb {
      width: 56px; height: 56px;
      background: var(--amber);
      border-radius: 50%;
      display: grid; place-items: center;
      font-size: 1rem; color: #1a1510;
      flex-shrink: 0;
      transition: transform .3s;
    }
    .slider-text {
      font-size: .7rem; font-weight: 700; letter-spacing: .08em;
      text-transform: uppercase; color: var(--muted);
      margin-left: 14px;
      line-height: 1.4;
    }

    /* â”€â”€ VISION SECTION â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
    .vision {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 80px; align-items: center;
      padding: 60px var(--content-pad-x) 120px;
      max-width: var(--content-max); margin: 0 auto;
    }
    .vision-media {
      position: relative;
    }
    .vision-img-wrap {
      border-radius: 20px; overflow: hidden;
      position: relative;
      box-shadow: 0 0 80px rgba(232,169,77,.12);
    }
    .vision-img-wrap img {
      width: 100%; display: block;
      border-radius: 20px;
      filter: brightness(.9);
    }
    /* placeholder when no real image */
    .vision-placeholder {
      width: 100%; aspect-ratio: 4/3;
      background: var(--card-bg);
      border-radius: 20px;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      gap: 16px;
      border: 1px solid var(--border);
      position: relative; overflow: hidden;
    }
    .vision-placeholder::before {
      content: '';
      position: absolute; inset: 0;
      background: radial-gradient(circle at 30% 60%, rgba(232,169,77,.08) 0%, transparent 60%);
    }
    .monitor-icon { font-size: 4rem; color: var(--amber); opacity: .5; }

    .vision-code-block {
      width: calc(100% - 48px);
      background: rgba(10,8,4,.55);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 16px;
      font-family: 'Space Mono', monospace;
      font-size: .72rem;
      line-height: 1.7;
      position: relative; z-index: 1;
    }
    .vision-code-dots {
      display: flex; gap: 6px; margin-bottom: 10px;
    }
    .vision-dot {
      width: 10px; height: 10px; border-radius: 50%;
    }
    .vision-dot--red    { background: #ff5f57; }
    .vision-dot--yellow { background: #febc2e; }
    .vision-dot--green  { background: #28c840; }
    .vision-code-lines { display: flex; flex-direction: column; }
    .vision-code-line { white-space: pre; }
    .vc-kw  { color: #c792ea; }
    .vc-fn  { color: #82aaff; }
    .vc-var { color: #f8f8f2; }
    .vc-str { color: #c3e88d; }
    .vc-op  { color: var(--muted); }

    .vision-placeholder-badges {
      display: flex; gap: 10px; flex-wrap: wrap;
      justify-content: center;
      position: relative; z-index: 1;
    }
    .vision-badge {
      display: inline-flex; align-items: center; gap: 6px;
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.1);
      border-radius: 100px;
      padding: 5px 12px;
      font-size: .72rem;
      color: var(--muted);
    }
    .vision-badge i { font-size: .78rem; color: #8fd4a8; }
    .vision-badge--gold { border-color: rgba(232,169,77,.25); }
    .vision-badge--gold i { color: var(--amber); }

    .commit-tag {
      position: absolute; bottom: 20px; left: 20px;
      background: rgba(26,21,16,.8);
      backdrop-filter: blur(10px);
      border: 1px solid var(--border);
      border-radius: 100px;
      padding: 8px 18px;
      display: flex; align-items: center; gap: 8px;
      font-size: .78rem; color: var(--muted);
      font-family: 'Courier New', monospace;
    }
    .commit-tag i { color: var(--amber); }

    .vision-text h2 {
      font-family: 'Barlow', sans-serif;
      font-size: clamp(1.25rem, 2.3vw, 1.95rem);
      font-weight: 800; line-height: 1.1;
      letter-spacing: -.02em;
      margin-bottom: 28px;
    }
    .vision-text h2 em { font-style: normal; color: var(--amber); }
    .vision-text p {
      color: var(--muted); font-size: .97rem;
      line-height: 1.75; margin-bottom: 20px;
    }
    .btn-primary {
      display: inline-flex; align-items: center; gap: 12px;
      background: var(--amber);
      color: #1a1510;
      font-family: 'Barlow', sans-serif; font-weight: 700;
      font-size: .95rem; letter-spacing: .01em;
      padding: 18px 32px; border-radius: 100px;
      text-decoration: none;
      margin-top: 16px;
      transition: background .2s, transform .2s;
    }
    .btn-primary:hover { background: var(--amber-lt); transform: translateY(-2px); }
    .btn-primary .arr {
      width: 32px; height: 32px; border-radius: 50%;
      background: rgba(0,0,0,.12);
      display: grid; place-items: center; font-size: .8rem;
    }

    /* â”€â”€ RESPONSIVE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
    @media (max-width: 900px) {
      .vision { grid-template-columns: 1fr; gap: 40px; }
      .c-card { flex: 0 0 calc(85vw); }
      .vision-placeholder { padding-bottom: 58px; }
    }

/* Utility classes replacing former inline styles */
.bar-h-30 { height: 30%; }
.bar-h-40 { height: 40%; }
.bar-h-55 { height: 55%; }
.bar-h-65 { height: 65%; }
.bar-h-90 { height: 90%; }

.flex-spacer { flex: 1; }

.vision-caption {
	color: var(--muted);
	font-size: .8rem;
}

