:root {
  --bg: #070921;
  --bg-deep: #030516;
  --surface: #111746;
  --surface-soft: #151d59;
  --surface-bright: #2638a6;
  --text: #f8f6ea;
  --muted: #a9afd0;
  --accent: #dfff18;
  --accent-2: #5267ff;
  --surprise: #ff4fb5;
  --line: rgba(222, 226, 255, .17);
  --shadow: 0 30px 80px rgba(0, 0, 0, .38);
  --radius: 28px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
  line-height: 1.55;
  overflow-x: hidden;
  transition: background-color .5s ease;
}
body[data-mode="ai"] {
  --bg: #160a18;
  --bg-deep: #09040e;
  --surface: #251330;
  --surface-soft: #32172f;
  --surface-bright: #71301f;
  --muted: #c1afc3;
  --accent: #ff6a2b;
  --accent-2: #ffc247;
  --surprise: #dfff18;
  --line: rgba(255, 220, 207, .18);
}

a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
.is-hidden { display: none !important; }
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--accent); color: #070921; font-weight: 900; }
.skip-link:focus { top: 16px; }
.grain { position: fixed; inset: 0; z-index: -1; opacity: .12; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E"); }
.ambient { position: fixed; z-index: -2; width: 520px; height: 520px; border-radius: 50%; filter: blur(140px); opacity: .13; pointer-events: none; transition: background .5s ease; }
.ambient-a { left: -240px; top: 12vh; background: var(--accent); animation: ambient-drift 14s ease-in-out infinite alternate; }
.ambient-b { right: -260px; top: 55vh; background: var(--accent-2); animation: ambient-drift 18s ease-in-out infinite alternate-reverse; }
.section-shell, .wide-shell { width: min(1420px, calc(100% - 80px)); margin-inline: auto; }
.full-bleed-section { border-block: 1px solid var(--line); background: color-mix(in srgb, var(--surface-soft) 22%, transparent); transition: background .5s ease, border-color .5s ease; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1460px, calc(100% - 48px));
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 22px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(20px);
  box-shadow: 0 14px 45px rgba(0, 0, 0, .22);
}
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; font-size: 12px; font-weight: 900; letter-spacing: .09em; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: #070921; box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 25%, transparent); transition: background .4s ease; }
.nav-links { margin: auto; display: flex; gap: clamp(24px, 3vw, 34px); color: var(--muted); font-size: 14px; font-weight: 700; }
.nav-links a { position: relative; transition: color .2s ease; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--accent); transition: right .25s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.connect-link { padding: 10px 14px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.mode-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: 128px; height: 42px; padding: 4px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--accent) 30%, rgba(255, 255, 255, .14)); border-radius: 14px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 1px rgba(255, 255, 255, .07); transition: border-color .4s ease, background .4s ease; }
.switch-highlight { position: absolute; left: 4px; top: 4px; width: 58px; height: 32px; border-radius: 10px; background: var(--accent); box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 38%, transparent); transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .4s ease, box-shadow .4s ease; }
body[data-mode="ai"] .switch-highlight { transform: translateX(60px); }
.mode-option { position: relative; z-index: 1; border: 0; background: transparent; color: #c7cceb; font-size: 11px; font-weight: 900; cursor: pointer; transition: color .3s ease; }
.mode-option.active { color: #070921; }

/* AZ */
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 11px;
  background: var(--accent);
  color: transparent;
  font-size: 0;
  box-shadow:
    0 0 24px
    color-mix(in srgb, var(--accent) 25%, transparent);
  transition:
    background .4s ease,
    box-shadow .4s ease,
    transform .25s ease;
}

.brand-mark::after {
  content: "";
  display: block;
  width: 27px;
  height: 27px;
  background:
    url("assets/images/AZ_Hidden_Monogram.svg")
    center / contain no-repeat;
}

.brand:hover .brand-mark {
  transform: rotate(-4deg) scale(1.06);
  box-shadow:
    0 0 32px
    color-mix(in srgb, var(--accent) 40%, transparent);
}
.hero { min-height: 800px; height: 100vh; max-height: 1080px; display: grid; grid-template-columns: minmax(430px, .9fr) minmax(520px, 1.1fr); align-items: center; gap: 7vw; padding-top: 10px; position: relative; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 28px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px var(--accent); animation: neon-pulse 2s infinite; }
.hero h1, .section-title, .contact h2 { margin: 0; font-size: clamp(62px, 6.5vw, 112px); line-height: .93; letter-spacing: -.015em; font-weight: 900; }
.hero h1 span { display: block; }
.hero h1 em, .section-title em, .contact h2 em, .intersection h2 em { display: block; color: var(--accent); font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; transition: color .4s ease; }
.hero-description { max-width: 610px; margin: 30px 0 0; color: var(--muted); font-size: 17px; }
.hero-actions, .contact-actions { display: flex; gap: 12px; margin-top: 34px; }
.button { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 52px; padding: 0 22px; border: 1px solid var(--line); border-radius: 15px; font-size: 13px; font-weight: 900; transition: transform .25s ease, background .3s ease, color .3s ease, border .3s ease, box-shadow .3s ease; }
.button::after { content: ""; position: absolute; top: -100%; left: -35%; width: 25%; height: 300%; background: rgba(255,255,255,.45); transform: rotate(22deg); transition: left .6s ease; }
.button:hover::after { left: 120%; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--accent); border-color: var(--accent); color: #070921; box-shadow: 0 15px 40px color-mix(in srgb, var(--accent) 20%, transparent); }
.button-primary:hover { box-shadow: 0 20px 55px color-mix(in srgb, var(--accent) 32%, transparent); }
.button-ghost { background: rgba(255, 255, 255, .04); }
.button-ghost:hover { border-color: var(--accent); }

.hero-stage { min-height: 620px; position: relative; display: grid; place-items: center; perspective: 1000px; }
.interactive-tilt { transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform .25s ease, border .3s ease, box-shadow .3s ease; }
.window-card { width: min(650px, 90%); overflow: hidden; border: 1px solid rgba(173, 185, 255, .34); border-radius: 30px; background: linear-gradient(145deg, #182569, #0e1648); box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, .18), 0 0 0 10px rgba(65, 80, 200, .06); animation: card-float 6s ease-in-out infinite; }
body[data-mode="ai"] .window-card { background: linear-gradient(145deg, #4a2135, #17102c); }
.window-card:hover { box-shadow: 0 38px 110px rgba(0, 0, 0, .48), 0 0 90px color-mix(in srgb, var(--accent) 16%, transparent); }
.window-bar, .window-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 54px; padding: 0 22px; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #c6cced; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; letter-spacing: .04em; }
.window-footer { height: 46px; border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 0; }
.window-dots { display: flex; gap: 7px; }
.window-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.window-dots span:nth-child(2) { background: var(--accent-2); }
.window-dots span:nth-child(3) { background: var(--surprise); }
.live-pill { padding: 4px 9px; border-radius: 99px; background: var(--surprise); color: #070921; font-weight: 900; animation: soft-blink 2.4s ease-in-out infinite; }
.portrait-placeholder { position: relative; min-height: 430px; margin: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed rgba(222, 226, 255, .26); border-radius: 21px; color: #bac2f1; background: radial-gradient(circle at 50% 45%, rgba(93, 113, 255, .17), transparent 45%), repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 1px, transparent 1px 13px); }
.portrait-placeholder strong { margin-top: 25px; font-size: 12px; letter-spacing: .22em; }
.portrait-placeholder small { margin-top: 7px; color: #737ba8; font-size: 10px; }
.asset-index { position: absolute; top: 18px; left: 19px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #070921; font-family: ui-monospace, monospace; font-size: 12px; font-weight: 900; }
.portrait-silhouette { position: relative; width: 150px; height: 165px; }
.portrait-silhouette i, .portrait-silhouette b { position: absolute; left: 50%; transform: translateX(-50%); display: block; background: var(--accent); box-shadow: 0 0 40px color-mix(in srgb, var(--accent) 28%, transparent); }
.portrait-silhouette i { top: 0; width: 72px; height: 72px; border-radius: 50%; }
.portrait-silhouette b { bottom: 0; width: 145px; height: 82px; border-radius: 72px 72px 20px 20px; }
.float-tag { position: absolute; z-index: 3; padding: 8px 13px; border-radius: 10px; color: #070921; background: var(--surprise); font-size: 11px; font-weight: 950; box-shadow: 4px 5px 0 rgba(0, 0, 0, .28); animation: tag-float 4.6s ease-in-out infinite; }
.tag-one { top: 72px; right: 5px; transform: rotate(-4deg); }
.tag-two { left: 2px; bottom: 125px; background: var(--accent); transform: rotate(6deg); animation-delay: -2.2s; }
.orbit-ring { position: absolute; right: 0; bottom: 45px; width: 55px; height: 55px; border: 13px solid var(--accent); border-radius: 50%; box-shadow: 0 0 30px color-mix(in srgb, var(--accent) 30%, transparent); animation: orbit-spin 9s linear infinite; }
.orbit-plus { position: absolute; left: 13%; top: 40px; color: var(--accent-2); font-size: 64px; font-weight: 900; animation: slow-spin 11s linear infinite; }
.spark { position: absolute; color: var(--surprise); filter: drop-shadow(0 0 8px currentColor); animation: soft-blink 2.2s ease-in-out infinite; }
.spark-one { left: 5%; top: 37%; }.spark-two { right: 15%; bottom: 4%; animation-delay: -1s; }
.scroll-note { position: absolute; bottom: 34px; left: 0; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.scroll-note span { display: block; width: 42px; height: 1px; background: var(--accent); }

.about, .process, .journey, .achievements, .publication, .intersection, .personal-faq { padding: 130px 0; }
.about { border-top: 1px solid var(--line); }
.work, .education, .toolkit { padding-block: 130px; }
.section-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.section-kicker span { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--accent); color: #070921; letter-spacing: 0; box-shadow: 0 0 20px color-mix(in srgb, var(--accent) 24%, transparent); }
.about-grid, .section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 10vw; align-items: start; }
.section-title { font-size: clamp(54px, 5.3vw, 88px); }
.about-copy { padding-top: 10px; color: var(--muted); }
.about-copy .lead { margin-top: 0; color: var(--text); font-size: 21px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 44px; }
.mini-stats div { padding: 19px 8px 16px 0; border-top: 1px solid var(--line); }
.mini-stats strong { display: block; color: var(--accent); font-size: 27px; }
.mini-stats span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.section-heading { margin-bottom: 65px; }
.section-intro { max-width: 480px; align-self: end; margin: 0; color: var(--muted); }

.featured-project { min-height: 510px; display: grid; grid-template-columns: 1.25fr .75fr; overflow: hidden; border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(145deg, rgba(24, 34, 102, .78), rgba(11, 16, 52, .95)); box-shadow: var(--shadow); }
body[data-mode="ai"] .featured-project { background: linear-gradient(145deg, rgba(92, 37, 38, .75), rgba(18, 11, 39, .96)); }
.featured-project:hover { border-color: color-mix(in srgb, var(--accent) 60%, transparent); box-shadow: 0 38px 100px rgba(0,0,0,.45), 0 0 70px color-mix(in srgb, var(--accent) 10%, transparent); }
.featured-media { min-height: 470px; margin: 18px; border-radius: 22px; overflow: hidden; }
.featured-media img, .project-card-media img { width: 100%; height: 100%; object-fit: cover; }
.media-placeholder { width: 100%; height: 100%; min-height: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed rgba(222, 226, 255, .27); border-radius: inherit; color: #aeb7e7; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 45%), repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 1px, transparent 1px 13px); }
.media-placeholder span { color: var(--accent); font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: .12em; }
.media-placeholder strong { margin-top: 17px; font-size: 15px; letter-spacing: .18em; }
.media-placeholder small { margin-top: 6px; color: #727aa7; font-size: 10px; }
.featured-copy { display: flex; flex-direction: column; justify-content: center; padding: 42px; }
.project-label { color: var(--accent); font-family: ui-monospace, monospace; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.featured-copy h3 { margin: 14px 0; font-size: clamp(36px, 3vw, 52px); line-height: 1; letter-spacing: -.045em; }
.featured-copy p, .project-card-copy p { color: var(--muted); }
.tag-row { display: flex; gap: 7px; flex-wrap: wrap; }
.tag-row span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 99px; color: #c3c8e7; font-size: 10px; }
.featured-copy > a { margin-top: 32px; font-size: 12px; font-weight: 900; }
.featured-copy > a span { color: var(--accent); }
.project-carousel { margin-top: 38px; }
.carousel-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.carousel-heading p { margin: 0; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.carousel-heading p span { color: var(--accent); }
.carousel-controls { display: flex; gap: 8px; }
.carousel-controls button { width: 45px; height: 45px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.04); cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
.carousel-controls button:hover { background: var(--accent); color: #070921; transform: translateY(-2px); }
.project-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(330px, 31%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 0 15px; }
.project-rail::-webkit-scrollbar { display: none; }
.project-card { height: 100%; display: flex; flex-direction: column; scroll-snap-align: start; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg, color-mix(in srgb, var(--surface-bright) 60%, transparent), color-mix(in srgb, var(--surface) 92%, var(--bg-deep))); transition: transform .3s ease, border .3s ease, box-shadow .3s ease, background .5s ease; }
.project-card:hover { transform: translateY(-7px); border-color: color-mix(in srgb, var(--accent) 58%, transparent); box-shadow: 0 22px 55px rgba(0,0,0,.3); }
.project-card-media { height: 245px; margin: 13px; border-radius: 17px; overflow: hidden; }
.project-card-copy { display: flex; flex: 1; flex-direction: column; padding: 4px 25px 27px; }
.project-card-copy h3 { margin: 10px 0 8px; font-size: 25px; line-height: 1.05; letter-spacing: -.035em; }
.project-card-copy p { min-height: 42px; font-size: 13px; }
.carousel-progress { width: 100%; height: 3px; margin-top: 22px; overflow: hidden; border-radius: 99px; background: var(--line); }

.project-card-copy > a {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 24px;
  font-size: 12px;
  font-weight: 900;
}

.carousel-progress span { display: block; width: 12%; height: 100%; border-radius: inherit; background: var(--accent); box-shadow: 0 0 14px var(--accent); transition: width .2s ease; }

.publication-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.publication-card { position: relative; min-height: 430px; display: flex; flex-direction: column; overflow: hidden; padding: 38px; border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(145deg, color-mix(in srgb, var(--surface-bright) 58%, #181027), rgba(18, 11, 39, .96)); box-shadow: var(--shadow); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.publication-card::after { content: "🕮"; position: absolute; right: -6px; bottom: -38px; color: color-mix(in srgb, var(--accent) 9%, transparent); font-size: 130px; font-weight: 950; letter-spacing: -.08em; pointer-events: none; }
.publication-card:hover { transform: translateY(-7px); border-color: color-mix(in srgb, var(--accent) 60%, transparent); box-shadow: 0 30px 80px rgba(0,0,0,.4), 0 0 55px color-mix(in srgb, var(--accent) 10%, transparent); }
.publication-card-top { display: flex; justify-content: space-between; gap: 24px; }
.publication-card-top > span { color: var(--accent); font-family: ui-monospace, monospace; font-size: 11px; font-weight: 900; }
.publication-label { margin: 0; color: var(--accent); font-family: ui-monospace, monospace; font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.publication-card h3 { max-width: 680px; margin: 48px 0 16px; font-size: clamp(16px, 2vw, 30px); line-height: 1.05; letter-spacing: -.045em; }
.publication-description { max-width: 600px; margin: 0 0 22px; color: #c8c7dc; }
.publication-card .button { z-index: 1; align-self: flex-start; width: auto; margin-top: auto; padding-inline: 20px; }
.tag-row {padding-bottom: 20px;}

.process-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-track article { position: relative; min-height: 245px; padding: 27px; border: 1px solid var(--line); border-radius: 22px; background: color-mix(in srgb, var(--surface) 65%, transparent); transition: transform .3s ease, border .3s ease, background .3s ease; }
.process-track article:hover { transform: translateY(-8px); border-color: var(--accent); background: color-mix(in srgb, var(--surface) 80%, transparent); }
.process-track b { color: var(--accent); font-family: ui-monospace, monospace; font-size: 11px; }
.process-track h3 { margin: 70px 0 8px; font-size: 26px; }.process-track p { margin: 0; color: var(--muted); font-size: 13px; }

.education-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.education-grid:has(.education-card:only-child) { grid-template-columns: 1fr; }
.education-card { position: relative; min-height: 350px; padding: 34px; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(145deg, color-mix(in srgb, var(--surface-bright) 52%, transparent), color-mix(in srgb, var(--surface) 90%, var(--bg-deep))); overflow: hidden; transition: transform .3s ease, border .3s ease, background .5s ease; }
.education-card:hover { transform: translateY(-7px); border-color: var(--accent); }
.education-card > div { display: flex; justify-content: space-between; align-items: center; }.education-card > div span { padding: 7px 10px; border-radius: 8px; background: var(--accent); color: #070921; font-size: 9px; font-weight: 950; letter-spacing: .08em; }.education-card time { color: var(--muted); font-family: ui-monospace, monospace; font-size: 10px; }.education-card h3 { margin: 75px 0 4px; font-size: 34px; line-height: 1; }.education-card > strong { color: var(--accent-2); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }.education-card p { max-width: 650px; color: var(--muted); }.education-card i { position: absolute; right: 25px; bottom: 10px; color: rgba(255,255,255,.05); font-style: normal; font-weight: 950; font-size: 90px; }

.journey-tabs {
  justify-self: end;
  align-self: end;
  display: inline-flex;
  width: fit-content;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .07);
}

.journey-tabs button {
  flex: 0 0 auto;
  min-width: 120px;
  padding: 11px 18px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color .3s ease,
    background .3s ease,
    box-shadow .3s ease;
}

.journey-tabs button.active {
  color: #070921;
  background: var(--accent);
  box-shadow: 0 0 24px
    color-mix(in srgb, var(--accent) 30%, transparent);
}

/* .journey-tabs { align-self: end; display: flex; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: rgba(0, 0, 0, .16); } */
/* .journey-tabs button { border: 0; border-radius: 10px; padding: 11px 17px; background: none; color: var(--muted); font-size: 11px; font-weight: 900; cursor: pointer; }.journey-tabs button.active { color: #070921; background: var(--accent); } */

.timeline { border-top: 1px solid var(--line); }
.timeline article { display: grid; grid-template-columns: 180px 1fr 60px; gap: 40px; padding: 34px 4px; border-bottom: 1px solid var(--line); transition: padding .25s ease, background .25s ease; }.timeline article:hover { padding-left: 18px; background: rgba(255,255,255,.018); }.timeline time { color: var(--accent); font-family: ui-monospace, monospace; font-size: 11px; font-weight: 900; }.timeline h3 { margin: 0 0 4px; font-size: 23px; }.timeline div > span { color: var(--accent-2); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }.timeline p { max-width: 650px; margin: 13px 0 0; color: var(--muted); font-size: 13px; }.timeline b { display: grid; place-items: center; align-self: start; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); font-family: ui-monospace, monospace; font-size: 11px; }

/* Achievement Lama */
/* .achievement-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.achievement-card { position: relative; min-height: 360px; padding: 28px; border: 1px solid var(--line); border-radius: 25px; background: linear-gradient(145deg, color-mix(in srgb, var(--surface-bright) 54%, transparent), color-mix(in srgb, var(--surface) 88%, var(--bg-deep))); overflow: hidden; transition: transform .3s ease, border .3s ease, background .5s ease; }.achievement-card:hover { transform: translateY(-8px) rotate(-.5deg); border-color: var(--accent); }.achievement-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -70px; bottom: -70px; border: 24px solid var(--accent); border-radius: 50%; opacity: .1; }.award-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 55px; border-radius: 18px; background: var(--accent); color: #070921; font-size: 25px; font-weight: 900; transform: rotate(-5deg); box-shadow: 0 0 25px color-mix(in srgb, var(--accent) 24%, transparent); }.achievement-card > span { color: var(--accent); font-family: ui-monospace, monospace; font-size: 10px; font-weight: 900; letter-spacing: .1em; }.achievement-card h3 { margin: 9px 0; font-size: 22px; line-height: 1.1; }.achievement-card p { color: var(--muted); font-size: 13px; }.achievement-card a { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 900; } */

.achievement-summary { align-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.achievement-count { display: inline-flex; align-items: baseline; gap: 9px; margin: 0; color: var(--accent); font-family: ui-monospace, monospace; text-transform: uppercase; }
.achievement-count strong { font-size: 30px; line-height: 1; letter-spacing: -.05em; }
.achievement-count span { color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.achievement-list { border-top: 1px solid var(--line); }
.achievement-row { position: relative; isolation: isolate; display: grid; grid-template-columns: 54px minmax(0, 1fr) 90px; align-items: center; gap: 20px; min-height: 128px; padding: 24px 8px; overflow: hidden; border-bottom: 1px solid var(--line); transition: padding .3s ease, background .3s ease, border-color .3s ease; }
.achievement-row[hidden] {
  display: none;
}
.achievement-row::before { content: ""; position: absolute; z-index: -1; inset: 0 auto 0 -45%; width: 36%; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 10%, transparent), transparent); transform: skewX(-18deg); transition: left .7s cubic-bezier(.2,.8,.2,1); }
.achievement-row:hover { padding-left: 20px; border-color: color-mix(in srgb, var(--accent) 48%, transparent); background: color-mix(in srgb, var(--accent) 4%, transparent); }
.achievement-row:hover::before { left: 112%; }
.achievement-marker { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 50%; color: var(--accent); font-size: 14px; box-shadow: 0 0 0 transparent; transition: background .3s ease, color .3s ease, box-shadow .3s ease, transform .3s ease; }
.achievement-row:hover .achievement-marker { background: var(--accent); color: #070921; box-shadow: 0 0 28px color-mix(in srgb, var(--accent) 28%, transparent); }
.achievement-row:hover .achievement-marker { transform: rotate(-10deg) scale(1.08); }
.achievement-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 8px; color: var(--muted); font-family: ui-monospace, monospace; font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.achievement-meta > span:not(:last-child)::after { content: "•"; margin-left: 12px; color: color-mix(in srgb, var(--accent) 70%, transparent); }
.achievement-copy h3 { margin: 0; font-size: clamp(20px, 2.1vw, 30px); line-height: 1.12; letter-spacing: -.025em; }
.achievement-row time { justify-self: end; color: var(--accent); font-family: ui-monospace, monospace; font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.achievement-toggle { width: 100%; min-height: 64px; display: flex; align-items: center; justify-content: center; gap: 13px; margin-top: 18px; border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--surface) 60%, transparent); color: var(--text); font-size: 11px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; cursor: pointer; transition: transform .25s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease; }
.achievement-toggle[hidden] { display: none; }
.achievement-toggle:hover { transform: translateY(-2px); border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--surface)); box-shadow: 0 14px 36px rgba(0,0,0,.2), 0 0 28px color-mix(in srgb, var(--accent) 9%, transparent); }

.tool-group + .tool-group { margin-top: 55px; }.tool-group-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 15px; }.tool-group-heading h3 { margin: 0; font-size: 26px; }.tool-group-heading span { color: var(--accent); font-family: ui-monospace, monospace; font-size: 10px; font-weight: 900; }.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }.tool-card { position: relative; min-height: 135px; display: flex; align-items: center; gap: 17px; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.005); transition: background .25s ease, transform .25s ease; }.tool-card:hover { z-index: 2; background: color-mix(in srgb, var(--accent) 7%, transparent); transform: translateY(-5px); box-shadow: 0 20px 45px rgba(0,0,0,.2), 0 0 35px color-mix(in srgb, var(--accent) 10%, transparent); }.tool-mark { flex: 0 0 auto; width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); border-radius: 15px; color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); font-family: ui-monospace, monospace; font-size: 13px; font-weight: 950; transition: transform .3s ease, background .3s ease, color .3s ease; }.tool-card:hover .tool-mark { transform: rotate(-7deg) scale(1.08); background: var(--accent); color: #070921; }.tool-card strong { display: block; font-size: 17px; }.tool-card small { display: block; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }.tool-card > span { position: absolute; right: 16px; top: 14px; color: var(--accent); font-family: ui-monospace, monospace; font-size: 9px; }

.tool-logo {
  display: block;
  width: 29px;
  height: 29px;
  background: var(--accent);

  -webkit-mask:
    var(--tool-icon)
    center / contain no-repeat;

  mask:
    var(--tool-icon)
    center / contain no-repeat;

  transition:
    background .3s ease,
    transform .3s ease;
}

.tool-card:hover .tool-logo {
  background: #070921;
  transform: scale(1.1);
}

.intersection-card { position: relative; overflow: hidden; min-height: 520px; padding: 72px; border: 1px solid var(--line); border-radius: 36px; background: linear-gradient(135deg, var(--surface-bright), #15163f 63%); box-shadow: var(--shadow); }.intersection-label { display: inline-flex; padding: 8px 12px; border-radius: 9px; background: var(--surprise); color: #070921; font-size: 10px; font-weight: 950; letter-spacing: .08em; }.intersection h2 { max-width: 830px; margin: 40px 0 25px; font-size: clamp(48px, 5vw, 80px); line-height: .96; letter-spacing: -.055em; }.intersection p { max-width: 620px; margin: 0; color: #c2c9ef; }.intersection-visual { position: absolute; right: 6%; bottom: 7%; display: flex; align-items: center; gap: 15px; transform: rotate(-7deg); }.intersection-visual span { display: grid; place-items: center; width: 95px; height: 95px; border-radius: 28px; background: var(--accent); color: #070921; font-size: 30px; font-weight: 950; box-shadow: 10px 10px 0 rgba(0,0,0,.2); animation: card-float 5s ease-in-out infinite; }.intersection-visual span:last-child { background: var(--surprise); animation-delay: -2.5s; }.intersection-visual i { font-family: var(--serif); font-size: 45px; color: var(--text); }

.accordion { border-top: 1px solid var(--line); }.accordion-item { border-bottom: 1px solid var(--line); }.accordion-item button { width: 100%; min-height: 92px; display: grid; grid-template-columns: 50px 1fr 50px; align-items: center; gap: 20px; padding: 0 8px; border: 0; background: none; text-align: left; cursor: pointer; }.accordion-item button > span { color: var(--accent); font-family: ui-monospace, monospace; font-size: 11px; font-weight: 900; }.accordion-item button strong { font-size: clamp(19px, 2vw, 28px); letter-spacing: -.025em; }.accordion-item button i { display: grid; place-items: center; width: 40px; height: 40px; justify-self: end; border: 1px solid var(--line); border-radius: 50%; font-style: normal; font-size: 20px; transition: transform .3s ease, background .3s ease, color .3s ease; }.accordion-item button:hover i, .accordion-item.open button i { background: var(--accent); color: #070921; box-shadow: 0 0 25px color-mix(in srgb, var(--accent) 25%, transparent); }.accordion-item.open button i { transform: rotate(45deg); }.accordion-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.2,.8,.2,1); }.accordion-answer p { overflow: hidden; max-width: 850px; margin: 0 0 0 78px; color: var(--muted); opacity: 0; transform: translateY(-8px); transition: opacity .3s ease, transform .3s ease, padding .4s ease; }.accordion-item.open .accordion-answer { grid-template-rows: 1fr; }.accordion-item.open .accordion-answer p { opacity: 1; transform: none; padding: 0 0 30px; }

.contact { padding-top: 30px; padding-bottom: 90px; }.contact-card { position: relative; min-height: 640px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 65px; border-radius: 38px; background: #f6f2dd; color: #080b29; overflow: hidden; }.contact-card::before, .contact-card::after { content: ""; position: absolute; border-radius: 50%; }.contact-card::before { width: 260px; height: 260px; left: -120px; top: -120px; border: 50px solid var(--accent); animation: slow-spin 16s linear infinite; }.contact-card::after { width: 200px; height: 200px; right: -50px; bottom: -80px; background: var(--surprise); }.contact .eyebrow { color: #555b75; }.contact h2 { position: relative; z-index: 1; font-size: clamp(58px, 6vw, 94px); }.contact-card > p:not(.eyebrow) { max-width: 560px; color: #565b70; }.contact .button-ghost { border-color: rgba(8,11,41,.2); }.social-row { position: absolute; bottom: 28px; display: flex; gap: 28px; font-size: 11px; font-weight: 900; }

/* Footer Lama */
/* .site-footer { min-height: 120px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 20px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }.site-footer div { display: flex; flex-direction: column; }.site-footer strong { color: var(--text); }.site-footer p { text-align: center; }.footer-mode { text-align: right; }.footer-mode b { color: var(--accent); } */

.site-footer {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.site-footer > strong {
  color: var(--text);
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.reveal { opacity: 0; transition: opacity .75s ease var(--delay, 0ms), transform .75s cubic-bezier(.2,.8,.2,1) var(--delay, 0ms); }.reveal[data-reveal="up"], .reveal:not([data-reveal]) { transform: translateY(30px); }.reveal[data-reveal="left"] { transform: translateX(-38px); }.reveal[data-reveal="right"] { transform: translateX(38px); }.reveal[data-reveal="scale"] { transform: scale(.96) translateY(12px); }.reveal.visible { opacity: 1; transform: none; }

@keyframes neon-pulse { 0%,100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent), 0 0 15px var(--accent); } 50% { box-shadow: 0 0 0 8px transparent, 0 0 27px var(--accent); } }
@keyframes soft-blink { 0%,100% { opacity: 1; } 50% { opacity: .48; } }
@keyframes card-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes tag-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes slow-spin { to { transform: rotate(360deg); } }
@keyframes ambient-drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(70px,40px,0) scale(1.18); } }

@media (max-width: 1180px) {
  .site-header { gap: 16px; }.nav-links { gap: 15px; }.connect-link { display: none; }
  .hero { grid-template-columns: .9fr 1.1fr; gap: 28px; }.hero h1 { font-size: clamp(58px, 7vw, 82px); }.hero-stage { min-height: 560px; }
  .featured-copy {
  padding: 28px;}
.intersection-visual {
  opacity: .6;}
}

@media (max-width: 900px) {
  .section-shell, .wide-shell { width: calc(100% - 48px); }
  .site-header { width: calc(100% - 28px); }.brand-name { display: none; }.nav-links a:nth-child(4), .nav-links a:nth-child(5) { display: none; }
  .hero { min-height: 1120px; height: auto; max-height: none; grid-template-columns: 1fr; gap: 36px; padding-top: 160px; padding-bottom: 100px; }.hero-copy { max-width: 680px; }.hero-stage { min-height: 600px; }.scroll-note { display: none; }
  .about-grid, .section-heading { grid-template-columns: 1fr; gap: 35px; }.section-intro { align-self: start; }.section-title { font-size: 64px; }
  .featured-project { grid-template-columns: 1fr; }.featured-media { min-height: 380px; }.project-rail { grid-auto-columns: minmax(330px, 58%); }
  .publication-card { min-height: 400px; padding: 32px; }
  .process-track { grid-template-columns: repeat(2, 1fr); }.tool-grid { grid-template-columns: repeat(2, 1fr); }
  .intersection-card { padding: 50px; }.intersection-visual { right: 4%; opacity: .3; }.contact-card { padding-inline: 40px; }
  .journey-tabs { justify-self: start;}
}

@media (max-width: 680px) {
  html { scroll-padding-top: 80px; }
  .section-shell, .wide-shell { width: calc(100% - 32px); }
  .site-header { top: 10px; width: calc(100% - 20px); min-height: 58px; padding: 8px 9px; border-radius: 18px; }.brand-mark { width: 36px; height: 36px; }.nav-links, .connect-link { display: none; }.nav-actions { margin-left: auto; }.mode-switch { width: 122px; height: 40px; }.switch-highlight { width: 55px; height: 30px; } body[data-mode="ai"] .switch-highlight { transform: translateX(57px); }
  .hero { min-height: auto; padding-top: 130px; padding-bottom: 85px; gap: 20px; }.hero h1 { font-size: clamp(48px, 15vw, 68px); }.hero-description { font-size: 15px; }.hero-actions { align-items: stretch; flex-direction: column; }.button { width: 100%; }.hero-stage { min-height: 480px; }.window-card { width: 100%; border-radius: 24px; }.portrait-placeholder { min-height: 320px; margin: 12px; }.portrait-silhouette { scale: .8; }.tag-one { right: -6px; top: 35px; }.tag-two { left: -4px; bottom: 72px; }.orbit-plus { display: none; }
  .about, .process, .journey, .achievements, .publication, .intersection, .personal-faq, .work, .education, .toolkit { padding-block: 88px; }.section-kicker { margin-bottom: 25px; }.section-title { font-size: clamp(46px, 13vw, 62px); }.about-grid, .section-heading { gap: 25px; }.about-copy .lead { font-size: 18px; }.mini-stats { gap: 6px; }.mini-stats strong { font-size: 21px; }.mini-stats span { font-size: 8px; }
  .featured-project { min-height: auto; border-radius: 24px; }.featured-media { min-height: 290px; margin: 12px; }.featured-copy { padding: 24px; }.featured-copy h3 { font-size: 35px; }.project-rail { grid-auto-columns: 84%; }.carousel-controls button { width: 41px; height: 41px; }.project-card-media { height: 210px; }
  .publication-grid { grid-template-columns: 1fr; }.publication-card { min-height: 390px; padding: 28px; border-radius: 26px; }.publication-card h3 { font-size: 36px; }
  .process-track, .education-grid, .tool-grid { grid-template-columns: 1fr; }.process-track article { min-height: 200px; }.process-track h3 { margin-top: 45px; }.education-card { min-height: 310px; padding: 25px; }.education-card h3 { margin-top: 55px; font-size: 30px; }
  .journey .section-heading { margin-bottom: 35px; }.journey-tabs { align-self: start; }.timeline article { grid-template-columns: 1fr 45px; gap: 16px; }.timeline time { grid-column: 1 / -1; }.timeline article:hover { padding-left: 4px; }
  .achievement-card { min-height: 330px; }.tool-card { min-height: 115px; }.intersection-card { min-height: 560px; padding: 34px 25px; border-radius: 28px; }.intersection h2 { font-size: 50px; }.intersection-visual { right: 20px; bottom: 30px; }.intersection-visual span { width: 70px; height: 70px; border-radius: 20px; font-size: 23px; }
  .accordion-item button { grid-template-columns: 35px 1fr 42px; min-height: 86px; gap: 10px; }.accordion-item button strong { font-size: 18px; }.accordion-answer p { margin-left: 45px; padding-right: 12px; }
  .contact { padding-top: 10px; }.contact-card { min-height: 620px; padding: 45px 22px; border-radius: 28px; }.contact h2 { font-size: 52px; }.contact-actions { width: 100%; flex-direction: column; }.social-row { gap: 16px; }

  .achievement-row {
    grid-template-columns: 38px minmax(0, 1fr) 48px;
    gap: 8px;
    min-height: 112px;
    padding: 20px 0;
  }

  .achievement-marker {
    justify-self: center;
    width: 30px;
    height: 30px;
  }

  .achievement-copy h3 {
    font-size: 19px;
  }

  .achievement-row time {
    justify-self: center;
    font-size: 10px;
  }

  .achievement-meta {
    gap: 6px 8px;
  }

  .achievement-meta > span:not(:last-child)::after {
    margin-left: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* ==================================================
   AVATAR HERO — FINAL
   Tempel satu kali saja di paling bawah file CSS
   ================================================== */


/* --------------------------------------------------
   1. UKURAN CARD UTAMA
   Ubah 350px jika ingin memperlebar/mempersempit card
   -------------------------------------------------- */

.hero-stage .window-card {
  width: min(100%, 400px);
  margin-inline: auto;
}


/* --------------------------------------------------
   2. AREA TEMPAT AVATAR
   Tingginya 360px dan isi yang keluar akan dipotong
   -------------------------------------------------- */

.hero-stage .portrait-placeholder.portrait-filled {
  position: relative;
  box-sizing: border-box;

  width: auto;
  height: 360px;
  min-height: 0;

  margin: 12px;
  padding: 0;

  overflow: hidden;
}


/* --------------------------------------------------
   3. POSISI DAN UKURAN AVATAR
   left + translateX membuat avatar tepat di tengah
   bottom: 0 membuat avatar menempel pada garis bawah
   -------------------------------------------------- */

.hero-stage .hero-portrait {
  position: absolute;
  left: 50%;
  bottom: 0;

  display: block;

  width: auto;
  height: 335px;
  max-width: none;
  max-height: none;

  object-fit: contain;
  object-position: center bottom;

  transform: translateX(-50%);
  transform-origin: center bottom;

  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}


/* .hero-stage .window-card:hover .hero-portrait {
  transform:
    translateX(-50%)
    translateY(-4px)
    scale(1.015);
} */


/* --------------------------------------------------
5. UKURAN UNTUK TABLET
Berlaku ketika layar berukuran 900px ke bawah
   -------------------------------------------------- */

@media (max-width: 900px) {
  .hero-stage .window-card {
    width: min(100%, 330px);
  }

  .hero-stage .portrait-placeholder.portrait-filled {
    height: 315px;
  }

  .hero-stage .hero-portrait {
    height: 290px;
  }
}