@font-face {
  font-family: Inter;
  src: url("./assets/inter-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter;
  src: url("./assets/inter-vietnamese.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

:root {
  color-scheme: dark;
  --bg: #090a0d;
  --surface: #101115;
  --surface-2: #15161b;
  --line: #292a30;
  --ink: #f6f4f1;
  --muted: #adaeb7;
  --accent: #ff9952;
  --accent-strong: #ff8639;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --page-width: 1300px;
  --gutter: clamp(20px, 5vw, 77px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; min-width: 300px; background: var(--bg); color: var(--ink); font-family: Inter, system-ui, sans-serif; }
body:has(dialog[open]) { overflow: hidden; }
section, header, footer { min-width: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
p, h1, h2, h3, ul, figure { margin: 0; }
.wrap { width: min(var(--page-width), 100% - var(--gutter) * 2); margin-inline: auto; }
.accent { color: var(--accent); }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip:focus { position: fixed; inset: 12px auto auto 12px; z-index: 100; background: var(--accent); color: #120c08; padding: 12px 18px; border-radius: 4px; }
.scroll-meter { position: fixed; inset: 0 auto auto 0; height: 2px; width: 100%; z-index: 25; pointer-events: none; background: var(--accent); transform: scaleX(var(--progress, 0)); transform-origin: left; }
.eyebrow { font: 500 .79rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .09em; }
.divider { color: #777783; margin-inline: .12em; }
.button { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; gap: .55rem; border: 1px solid var(--line); border-radius: 5px; padding: .65rem 1.1rem; background: transparent; font-weight: 650; font-size: .88rem; line-height: 1.35; transition: background-color .2s, border-color .2s, color .2s, transform .2s; }
.button:hover { border-color: var(--accent); transform: translateY(-2px); }
.button.primary { background: var(--accent-strong); border-color: var(--accent-strong); color: #170d07; }
.button.primary:hover { background: #ffad76; border-color: #ffad76; }
.button.secondary { background: #121316; }
.button.secondary:hover { background: #1c1d23; }
.play-symbol { width: 10px; height: 12px; flex: 0 0 auto; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }

.site-header { position: sticky; z-index: 20; top: 0; background: #090a0dee; border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-row { height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.identity { display: flex; align-items: center; gap: .7rem; justify-self: start; font-size: 1rem; letter-spacing: -.035em; font-weight: 780; white-space: nowrap; }
.monogram { display: flex; align-items: end; justify-content: center; gap: 2px; width: 30px; height: 30px; padding-bottom: 7px; border: 1px solid #4b3428; border-radius: 5px; background: #211710; }
.monogram i { width: 3px; height: 7px; border-radius: 1px; background: var(--accent); }
.monogram i:nth-child(2) { height: 10px; }
.monogram i:nth-child(3) { height: 13px; }
.nav { display: flex; gap: clamp(20px, 4vw, 55px); }
.nav a { position: relative; display: grid; place-items: center; min-height: 45px; font-size: .88rem; color: var(--muted); transition: color .2s; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="location"] { color: var(--ink); }
.nav a[aria-current="location"]::after { content: ""; height: 1px; position: absolute; bottom: 4px; inset-inline: 0; background: var(--accent); }
.nav .mobile-contact { display: none; }
.header-contact, .menu-toggle { justify-self: end; min-height: 38px; padding-block: .45rem; }
.menu-toggle { display: none; }

.hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 74% 51%, #24160e 0%, #0c0a0b 47%, #090a0d 77%); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(90deg, #bab5a60e 1px, transparent 1px), linear-gradient(#bab5a60e 1px, transparent 1px); background-size: 65px 65px; mask-image: linear-gradient(100deg, transparent 5%, #000 68%, #000); }
.hero-layout { position: relative; min-height: clamp(560px, 75svh, 840px); display: grid; align-items: center; grid-template-columns: 1fr .96fr; }
.hero-copy { position: relative; z-index: 2; padding-block: 68px 75px; }
.hero-label { color: #f2a273; display: flex; align-items: center; gap: .7em; margin-bottom: clamp(20px, 3vh, 35px); }
.signal { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px #ff8f46a8; }
.hero h1 { display: grid; font-size: clamp(4.05rem, 8.65vw, 9.15rem); font-weight: 480; line-height: 1.045; letter-spacing: -.073em; margin-left: -.061em; white-space: nowrap; }
.hero h1 strong { font-weight: 770; }
.hero-description { color: #ccc9ca; max-width: 465px; margin-top: clamp(26px, 5vh, 47px); font-size: clamp(1rem, 1.35vw, 1.25rem); line-height: 1.62; }
.hero-actions { margin-top: 27px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .button { min-height: 50px; padding-inline: 20px; }
.orbit { position: relative; width: calc(100% + 5vw); margin-left: -3vw; aspect-ratio: 1; }
.orbit-image { position: absolute; inset: -1%; mix-blend-mode: screen; isolation: isolate; will-change: transform; transform: translate3d(var(--orbit-x, 0), var(--orbit-y, 0), 0) rotate(var(--orbit-angle, 0deg)); transition: transform .75s cubic-bezier(.16,1,.3,1); }
.orbit-image img { display: block; width: 100%; height: 100%; object-fit: contain; mask-image: radial-gradient(ellipse, #000 46%, #000 55%, transparent 75%); animation: hover-orbit 7s ease-in-out infinite; }
.orbit-overlay { position: absolute; inset: 6%; pointer-events: none; }
.orbit-track { position: absolute; inset: 5%; border: 1px solid #b3a19143; border-radius: 50%; animation: orbit-track 28s linear infinite; mask-image: repeating-conic-gradient(#000 0deg 26deg, transparent 26deg 38deg, #000 38deg 90deg, transparent 90deg 115deg); }
.orbit-track i { position: absolute; top: 9%; left: 18%; border-radius: 50%; width: 6px; height: 6px; background: #ffae67; box-shadow: 0 0 12px #ff8c25; }
.orbit-cross { position: absolute; width: 12px; height: 12px; color: #ad99888c; }
.orbit-cross::before, .orbit-cross::after { content: ""; position: absolute; background: currentColor; }
.orbit-cross::before { width: 100%; height: 1px; top: calc(50% - .5px); }
.orbit-cross::after { width: 1px; height: 100%; left: calc(50% - .5px); }
.cross-top { top: 4%; right: 8%; }
.cross-bottom { bottom: 11%; left: 4%; }
.orbit-rail { position: absolute; height: 1px; width: 28%; background: linear-gradient(90deg, transparent, #9791896b); }
.rail-top { top: 5%; right: 13%; }
.rail-bottom { bottom: 12%; left: 8%; rotate: 180deg; }
.motion-toggle { position: absolute; z-index: 2; right: 6%; bottom: 5%; background: #100e0de8; border: 1px solid #4a3931; border-radius: 5px; padding: 9px 11px; min-height: 40px; color: #dfc3b2; display: flex; align-items: center; gap: 8px; font-size: .75rem; transition: border-color .2s, color .2s; }
.motion-toggle:hover { border-color: var(--accent); color: var(--ink); }
.motion-icon { width: 9px; height: 11px; border-inline: 2px solid currentColor; }
.motion-toggle[aria-pressed="true"] .motion-icon { border: 0; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.hero-meta { min-height: 62px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; border-top: 1px solid #f9f0e328; color: #bcbbc1; font-size: .83rem; }
.hero-meta > * { display: flex; align-items: center; gap: 10px; }
.hero-meta a:hover { color: var(--ink); }
.scroll-link { justify-self: end; }
.mini-orbit { width: 11px; height: 11px; border: 1px solid var(--accent); border-radius: 50%; }
.mouse { position: relative; width: 12px; height: 17px; border: 1px solid currentColor; border-radius: 8px; }
.mouse::after { position: absolute; content: ""; top: 3px; left: 4px; width: 2px; height: 4px; border-radius: 2px; background: var(--accent); animation: mouse-scroll 1.9s ease-in-out infinite; }
@keyframes hover-orbit { 50% { transform: translateY(-12px) rotate(-2.5deg); } }
@keyframes orbit-track { to { rotate: 360deg; } }
@keyframes mouse-scroll { 60%, 100% { transform: translateY(5px); opacity: .35; } }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }

.section { padding-block: clamp(69px, 9vw, 130px); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: clamp(30px, 4.2vw, 54px); }
.section-label { display: flex; align-items: center; gap: 10px; color: var(--accent); margin-bottom: 13px; }
.section-label::before { content: ""; width: 19px; height: 1px; background: currentColor; }
h2 { font-size: clamp(2.75rem, 6.15vw, 6.3rem); font-weight: 760; line-height: 1; letter-spacing: -.065em; }
.section-summary { color: var(--muted); max-width: 330px; font-size: 1rem; line-height: 1.65; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button { min-height: 41px; padding: .54rem .81rem; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: #c8c7ce; font-size: .85rem; font-weight: 560; transition: border-color .2s, color .2s, background-color .2s; }
.filters button:hover { color: var(--ink); border-color: #797781; }
.filters button[aria-pressed="true"] { background: #3a2417; color: #ffc39a; border-color: #8d5434; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.project-card { --tint: #ff9952; min-width: 0; position: relative; display: flex; flex-direction: column; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); transition: transform .24s, border-color .24s, box-shadow .24s; overflow: hidden; }
.project-card[data-art="table"], .project-card[data-art="frames"] { --tint: #9eaeff; }
.project-card[data-art="layers"], .project-card[data-art="grid"] { --tint: #7bd7c5; }
.project-card[data-art="graph"] { --tint: #bea0f7; }
.project-card[data-art="wave"] { --tint: #efae70; }
.project-card:hover, .project-card:focus-within { transform: translateY(-3px); border-color: color-mix(in srgb, var(--tint) 55%, var(--line)); box-shadow: 0 12px 32px #0005; }
.project-card h3 { font-size: clamp(1.25rem, 2.15vw, 2rem); letter-spacing: -.055em; line-height: 1.13; overflow-wrap: anywhere; }
.card-trigger { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: inherit; background: transparent; }
.card-trigger:focus-visible { outline-offset: -4px; }
.card-art { display: block; width: 100%; aspect-ratio: 1.81; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 50% 42%, color-mix(in srgb, var(--tint) 11%, #101115), #0c0d11); }
.card-body { flex: 1; display: flex; min-width: 0; flex-direction: column; gap: 10px; padding: 19px 20px 21px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 3px 7px; justify-content: space-between; color: var(--tint); font-size: .78rem; font-weight: 620; }
.card-meta time { color: #a7a7b1; font: .77rem var(--mono); }
.card-body p { color: var(--muted); font-size: .92rem; line-height: 1.6; }
.card-foot { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 8px; padding-top: 6px; }
.tags { display: flex; flex-wrap: wrap; list-style: none; padding: 0; gap: 5px; }
.tags li { color: #d1d0d7; border: 1px solid #34343d; background: #18191e; font-size: .72rem; line-height: 1.3; padding: 4px 7px; border-radius: 4px; }
.plus { display: inline-block; position: relative; width: 31px; height: 31px; flex: 0 0 31px; border: 1px solid var(--line); border-radius: 50%; transition: background-color .2s, border-color .2s, color .2s, rotate .2s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1px; background: currentColor; translate: -50% -50%; }
.plus::after { rotate: 90deg; }
.project-card:hover .plus, .project-card:focus-within .plus { background: var(--tint); border-color: var(--tint); color: #111218; rotate: 90deg; }
.project-grid.filtered .project-card:not([hidden]) { animation: card-arrive .35s both ease-out; }
@keyframes card-arrive { from { opacity: .35; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }

.automation-frame { display: grid; grid-template-columns: .85fr 1.15fr; border: 1px solid #343443; border-radius: 9px; overflow: hidden; background: #101118; }
.automation-input, .automation-output { min-width: 0; padding: clamp(17px, 3.25vw, 43px); }
.automation-input { border-right: 1px solid #343443; }
.automation-frame h3 { font-size: 1.08rem; letter-spacing: -.028em; }
.automation-prompts { display: grid; gap: 7px; margin-block: 14px 19px; }
.automation-prompts button { padding: 11px 12px; border: 1px solid #363747; background: #171823; border-radius: 4px; text-align: left; font-size: .86rem; line-height: 1.4; }
.automation-prompts button:hover { border-color: #737db0; }
.automation-prompts button[aria-pressed="true"] { border-color: #a3aaf0; background: #242740; color: #e5e8ff; }
.automation-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.automation-actions .button:disabled { opacity: .45; transform: none; border-color: var(--line); }
.automation-actions .button[aria-pressed="true"] .play-symbol { clip-path: none; background: transparent; border-inline: 2px solid currentColor; }
.automation-data { margin-top: 17px; }
.automation-data summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; padding-block: 7px; font-size: .86rem; color: #d0cfe0; }
.automation-data .plus { transform: scale(.8); }
.automation-table-scroll { overflow-x: auto; max-height: 260px; }
.automation-table-scroll table { border-collapse: collapse; width: 100%; font-size: .75rem; white-space: nowrap; }
.automation-table-scroll th, .automation-table-scroll td { padding: 7px; border-top: 1px solid #363744; text-align: left; color: #d0d0da; }
.automation-table-scroll th { color: #c6ceff; }
.automation-output { position: relative; background: radial-gradient(ellipse at 100% 0, #20223e, #0d0f17 62%); }
.console-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
#automation-status { color: #bebde1; font: .75rem/1.5 var(--mono); }
.automation-phases { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.automation-phase { padding: 9px 11px; display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 5px 9px; border: 1px solid #333544; border-radius: 4px; background: #151722; color: #b6b6c5; font-size: .86rem; }
.automation-phase i { width: 7px; height: 7px; border: 1px solid #9ba0b9; border-radius: 50%; }
.automation-phase p { grid-column: 2; color: #bbbfce; font-size: .8rem; line-height: 1.45; }
.automation-phase[data-state="running"] { border-color: #a3aaf0; color: #dce1ff; background: #272b45; }
.automation-phase[data-state="running"] i { background: #b8beff; box-shadow: 0 0 9px #a3aaf0; animation: phase-pulse 1s ease-in-out infinite alternate; }
.automation-phase[data-state="done"] i { background: #85dbc0; border-color: #85dbc0; }
.automation-result { display: block; min-height: 70px; margin-top: 14px; padding: 11px 13px; border-left: 2px solid #666985; background: #171a28; color: #cfcee0; font-size: .9rem; line-height: 1.5; }
.automation-result strong { display: block; color: #99ecd0; font-size: clamp(1.3rem, 2.7vw, 2.3rem); letter-spacing: -.04em; }
.automation-result[data-outcome="missing"] strong { color: #ffc089; }
@keyframes phase-pulse { to { box-shadow: 0 0 2px #a3aaf0; } }

.journey { background: #0d0e12; }
.journey-stage { --journey-tint: #a9bbff; --journey-progress: 0%; position: relative; display: grid; grid-template-rows: auto 1fr auto auto; overflow: hidden; isolation: isolate; border: 1px solid #30313a; border-radius: 9px; background: #0b0d14; }
.journey-stage::before { content: ""; z-index: -1; position: absolute; inset: 0; background: radial-gradient(ellipse at 72% 45%, color-mix(in srgb, var(--journey-tint) 19%, #10111e), transparent 55%); opacity: .88; }
.journey-stage-header, .journey-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 61px; padding: 9px clamp(15px, 3vw, 43px); }
.journey-stage-header { color: #cfccd1; border-bottom: 1px solid #363645; }
.journey-stage-header .button { min-height: 36px; font-size: .8rem; }
.journey-exit { background: #171921; }
.journey-exit span { font-size: 1.1em; }
.journey-display { position: relative; display: grid; grid-template-columns: .84fr 1.16fr; min-height: 390px; }
.journey-panel { position: relative; z-index: 1; display: grid; align-items: center; padding: clamp(22px, 4vw, 62px); }
.journey-panel:focus-visible { outline-offset: -4px; }
.journey-copy { max-width: 550px; animation: chapter-in .65s cubic-bezier(.2,.7,.2,1) both; }
.journey-copy .eyebrow, .journey-date { color: var(--journey-tint); }
.journey-date { font: 550 .89rem/1.5 var(--mono); margin-bottom: 7px; }
.journey-copy h3 { font-size: clamp(1.8rem, 3.4vw, 3.6rem); letter-spacing: -.065em; line-height: 1.08; margin-block: 8px 13px; }
.journey-copy > p.journey-description { color: #c0bfca; font-size: 1rem; line-height: 1.67; }
.journey-tags { margin-top: 16px; }
.journey-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.journey-links .button { min-height: 37px; padding: 7px 11px; background: #181a23; }
.journey-map { position: relative; display: grid; min-width: 0; min-height: 310px; background-image: linear-gradient(#c6c7ff0a 1px, transparent 1px), linear-gradient(90deg, #c6c7ff0a 1px, transparent 1px); background-size: 38px 38px; }
.journey-map canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.journey-dialog .journey-map canvas { touch-action: none; }
.journey-map canvas.dragging { cursor: grabbing; }
.map-hint { position: absolute; display: flex; justify-content: center; gap: .45em; bottom: 10px; right: 0; left: 0; color: #b4b6ca; font: .73rem/1.55 var(--mono); pointer-events: none; }
.journey-rail { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #454657 #11121a; border-block: 1px solid #2e303e; scroll-padding-inline: 14px; }
.journey-tabs { position: relative; isolation: isolate; min-width: max(100%, 790px); display: grid; grid-template-columns: repeat(var(--journey-count, 7), minmax(0, 1fr)); background: #0c0e16; }
.journey-tabs::before, .journey-tabs::after { content: ""; position: absolute; z-index: -1; top: 23px; left: 7.14%; height: 1px; }
.journey-tabs::before { right: 7.14%; background: #434456; }
.journey-tabs::after { width: calc(var(--journey-progress) * .8572); background: var(--journey-tint); transition: width .5s, background-color .4s; }
.journey-tabs button { display: grid; justify-items: center; align-content: start; gap: 4px; min-height: 96px; padding: 15px 7px 10px; background: transparent; border: 0; text-align: center; white-space: nowrap; scroll-snap-align: center; }
.journey-tabs button:focus-visible { outline-offset: -4px; }
.journey-tabs button:hover { background: #b5b5ee0b; }
.timeline-node { width: 17px; height: 17px; border: 2px solid #5f6174; border-radius: 50%; background: #0f111a; margin-bottom: 6px; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.journey-tabs button[aria-selected="true"] .timeline-node { border-color: var(--journey-tint); background: var(--journey-tint); box-shadow: 0 0 17px color-mix(in srgb, var(--journey-tint) 70%, transparent); }
.journey-tabs button[aria-selected="true"] .timeline-date { color: var(--journey-tint); }
.timeline-date { font: .75rem/1.32 var(--mono); color: #b4b6c5; }
.journey-tabs button strong { font-size: .79rem; color: #eeedf4; }
.journey-controls { background: #10121b; color: #bbbccc; }
.journey-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.journey-buttons .button { min-height: 35px; padding: .42rem .75rem; background: #171924; font-size: .78rem; }
.journey-buttons .button:disabled { opacity: .43; border-color: #474754; transform: none; }
.journey-buttons .journey-play { background: color-mix(in srgb, var(--journey-tint) 14%, #171924); color: var(--journey-tint); border-color: color-mix(in srgb, var(--journey-tint) 45%, #171924); }
.journey-play .play-symbol { width: 7px; height: 9px; }
.journey-play[aria-pressed="true"] .play-symbol { clip-path: none; background: transparent; border-inline: 2px solid currentColor; }
.journey-dialog { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0b0d14; color: var(--ink); overflow-y: auto; }
.journey-dialog::backdrop { background: #0b0d14; }
.journey-dialog[open] { animation: journey-enter .53s cubic-bezier(.2,.8,.2,1) both; }
.journey-dialog .journey-stage { height: 100%; min-height: 490px; grid-template-rows: auto minmax(0, 1fr) auto auto; border: 0; border-radius: 0; }
.journey-dialog .journey-display { grid-template-columns: .82fr 1.18fr; min-height: 0; }
.journey-dialog .journey-panel { overflow: auto; padding: clamp(20px, 3.8vh, 48px) clamp(10px, 2.5vw, 37px) clamp(20px, 3.8vh, 48px) clamp(22px, 6.5vw, 100px); }
.journey-dialog .journey-copy h3 { font-size: clamp(2.15rem, min(4.45vw, 7.9vh), 5.35rem); }
.journey-dialog .journey-copy > p.journey-description { font-size: clamp(1rem, 1.3vw, 1.2rem); }
.journey-dialog .journey-map { min-height: 0; }
.journey-dialog .map-hint { bottom: 24px; }
@keyframes chapter-in { from { opacity: .34; transform: translateY(12px); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes journey-enter { from { opacity: .25; transform: scale(.988); } to { opacity: 1; transform: none; } }

.credential-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.credential, .training { background: var(--surface); border: 1px solid var(--line); border-radius: 7px; }
.credential[open], .training[open] { border-color: #71503d; }
.credential summary, .training summary { display: flex; align-items: center; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.credential summary { min-height: 130px; padding: 14px; gap: 12px; }
.credential summary:hover, .training summary:hover { background: #17181e; border-radius: 7px; }
.credential-mark { flex: 0 0 clamp(63px, 6.4vw, 91px); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid #353d5e; background: radial-gradient(ellipse, #292f58, #141723 79%); border-radius: 7px; }
.credential-mark img { width: 87%; height: 87%; object-fit: contain; transition: transform .25s; }
.credential summary:hover .credential-mark img { transform: scale(1.07); }
.credential[data-issuer="Microsoft"] .credential-mark { background: radial-gradient(ellipse, #283650, #141722 79%); border-color: #323d56; }
.credential-heading { flex: 1; min-width: 0; display: grid; gap: 5px; }
.credential-heading span { font-size: .77rem; color: var(--muted); }
.credential-heading strong { font-size: clamp(.91rem, 1.35vw, 1.11rem); letter-spacing: -.025em; line-height: 1.3; }
.credential .plus, .training .plus { color: var(--muted); }
details[open] > summary .plus { rotate: 45deg; color: var(--accent); border-color: #7c5138; }
.credential-detail { padding: 0 16px 17px; display: grid; gap: 12px; font-size: .92rem; line-height: 1.55; color: #c6c4ca; }
.text-link { width: fit-content; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: #ffd3b8; }
.training { margin-top: 12px; }
.training summary { min-height: 56px; padding: 12px 16px; justify-content: space-between; font-weight: 650; }
.training-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 16px 15px; gap: 0 20px; }
.training-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 11px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.training-row span { display: block; color: var(--muted); font-size: .76rem; margin-top: 3px; }
.training-row time { color: #cebdb1; font: .74rem var(--mono); white-space: nowrap; }

.contact { position: relative; isolation: isolate; background: radial-gradient(ellipse at 89% 92%, #3c2115, #130e0e 47%, var(--bg) 79%); }
.contact::before { content: ""; z-index: -1; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 91% 160%, #b572424f 0 1px, transparent 2px 27px); mask-image: linear-gradient(110deg, transparent 30%, #000); }
.contact-layout { display: flex; align-items: end; justify-content: space-between; gap: 22px; }
.contact h2 { font-size: clamp(2.7rem, 6vw, 6rem); }
.contact p { margin-top: 16px; color: #c9c3c2; font-size: 1rem; line-height: 1.6; }
.contact-links { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-row { min-height: 63px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .84rem; }
.footer a:hover { color: var(--ink); }

.project-dialog { width: min(760px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 1px solid #58463c; border-radius: 12px; background: #111216; color: var(--ink); scrollbar-color: #755540 #17181e; }
.project-dialog[open] { animation: card-arrive .3s ease-out; }
.project-dialog::backdrop { background: #060608cf; backdrop-filter: blur(6px); }
.dialog-body { padding: clamp(19px, 5vw, 45px); }
.dialog-controls { display: flex; justify-content: end; }
.close-dialog { min-height: 40px; padding: 6px 10px; height: fit-content; background: #18191e; }
.close-dialog span { font-size: 1.2rem; }
.dialog-title { margin-block: 6px 13px; font-size: clamp(2.4rem, 6vw, 4.8rem); overflow-wrap: anywhere; }
.dialog-description { line-height: 1.65; color: #ccc9d0; margin-block: 16px 25px; }
.flow { margin-block: 24px; padding: clamp(13px, 3vw, 23px); background: #0b0c10; border: 1px solid var(--line); border-radius: 7px; }
.flow-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.flow-head h3 { font-size: 1rem; }
.flow-play { min-height: 34px; padding: .35rem .65rem; font-size: .76rem; }
.flow-tabs { display: flex; flex-wrap: wrap; gap: 5px; }
.flow-tabs button { flex: 1 0 auto; font-size: .8rem; min-height: 41px; background: #17181e; border: 1px solid var(--line); border-radius: 4px; padding: 5px 11px; }
.flow-tabs button:hover { border-color: #927767; }
.flow-tabs button[aria-selected="true"] { border-color: #9e6040; background: #3a2418; color: #ffd0b0; }
.flow-panel { min-height: 66px; padding-top: 12px; font-size: .91rem; line-height: 1.6; color: #cdcad0; }
.dialog-links { display: flex; flex-wrap: wrap; gap: 7px; }
.project-media { margin-top: 20px; overflow: hidden; border-radius: 6px; border: 1px solid #34394c; }
.project-media img { display: block; width: 100%; height: auto; }

@media (max-width: 1000px) {
  .hero-layout { min-height: clamp(505px, 69svh, 720px); }
  .hero h1 { font-size: clamp(4.1rem, 9.6vw, 6rem); }
  .card-body { padding: 16px; }
  .credential-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-meta { grid-template-columns: 1fr auto; }
  .scroll-link { display: none !important; }
  .section-head { align-items: start; flex-direction: column; gap: 16px; }
  .section-summary { max-width: 495px; }
  .journey-rail { scroll-snap-type: x proximity; }
  .credential summary { gap: 10px; padding: 13px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 70px; }
  .header-row { height: 60px; grid-template-columns: 1fr auto; gap: 12px; }
  .header-contact { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; z-index: 21; top: calc(100% + 1px); inset-inline: 0; padding: 8px var(--gutter) 13px; background: #131419; border-bottom: 1px solid var(--line); }
  .nav.is-open { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .nav .mobile-contact { display: grid; }
  .nav a { font-size: .85rem; }
  .hero { background: radial-gradient(ellipse at 55% 66%, #26170f, #0c0a0b 48%, #090a0d 75%); }
  .hero-layout { display: grid; grid-template-columns: 1fr; }
  .hero-copy { padding-block: 55px 0; }
  .hero h1 { font-size: clamp(3.2rem, 13.1vw, 5.2rem); letter-spacing: -.067em; }
  .hero-label { gap: .43em; font-size: .69rem; margin-bottom: 18px; }
  .hero-description { margin-top: 21px; }
  .hero-actions { margin-top: 19px; }
  .hero-actions .button { min-height: 44px; padding-inline: 13px; }
  .orbit { width: min(104%, 440px); justify-self: center; margin: -7px 0 0; }
  .motion-toggle { right: 4%; bottom: 4%; }
  .hero-meta { min-height: 56px; gap: 6px 12px; padding-block: 11px; font-size: .7rem; }
  .hero-meta > * { gap: 5px; }
  .hero-meta a { text-align: right; justify-content: end; }
  .mini-orbit { width: 8px; height: 8px; flex: 0 0 8px; }
  .section { padding-block: 59px; }
  .filters { gap: 5px; margin-bottom: 17px; }
  .filters button { font-size: .77rem; min-height: 39px; padding-inline: 8px; }
  .project-grid { grid-template-columns: 1fr; gap: 10px; }
  .project-card h3 { font-size: 1.58rem; }
  .project-card:not(.featured) h3 { font-size: 1.33rem; }
  .journey-display, .journey-dialog .journey-display { grid-template-columns: 1fr; grid-template-rows: auto 1fr; min-height: auto; }
  .journey-dialog .journey-stage { height: auto; min-height: 100%; grid-template-rows: auto 1fr auto auto; }
  .journey-map, .journey-dialog .journey-map { grid-row: 1; min-height: clamp(225px, 62vw, 315px); }
  .journey-panel, .journey-dialog .journey-panel { padding: 18px 17px 24px; align-items: start; }
  .journey-copy h3, .journey-dialog .journey-copy h3 { font-size: clamp(1.95rem, 8.7vw, 3.3rem); }
  .journey-stage-header, .journey-controls { flex-wrap: wrap; min-height: 49px; }
  .journey-stage-header .eyebrow { font-size: .69rem; }
  .journey-stage-header .journey-exit { padding: 6px 8px; }
  .journey-dialog .map-hint { bottom: 9px; }
  .journey-tabs button { min-height: 83px; }
  .automation-frame { grid-template-columns: 1fr; }
  .automation-input { border-right: 0; border-bottom: 1px solid #343443; }
  .credential-grid, .training-grid { grid-template-columns: 1fr; }
  .credential summary { min-height: 79px; }
  .contact-layout { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .orbit-image { transform: none; }
}
