@layer reset, tokens, theme, base, navigation, sections, assistant, motion, responsive, components, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, h4, p, ol, ul, figure { margin: 0; }
  ol, ul { padding: 0; list-style: none; }
  button, input { font: inherit; color: inherit; }
  img { display: block; max-width: 100%; }
  button { cursor: pointer; border: 0; background: transparent; }
}

@layer utilities {
  .brand-lockup { gap: .28em; }
  .footer-experiments { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
  .footer-experiments [data-slot="button"] { min-height: 44px; }
  body .behind-scenes-popover { width: min(370px,calc(100vw - 32px)); padding: 22px; }
  .behind-scenes-popover h3 { font-size: 20px; line-height: 1.3; font-weight: 550; letter-spacing: -.02em; }
  .behind-scenes-popover > p { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }
  .behind-scenes-popover dl { margin: 20px 0 0; display: flex; flex-direction: column; gap: 16px; }
  .behind-scenes-popover dt { font-size: 14px; font-weight: 550; color: var(--ink); }
  .behind-scenes-popover dd { margin: 3px 0 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
}
@layer tokens {
  :root {
    --canvas: #11122a; --surface: #1a1936; --raised: #211f42;
    --border: #403b61; --ink: #fff3dc; --ink-soft: #cbc3d2; --ink-muted: #b5adc4;
    --pink: #ee7e9f; --orchid: #a96fc2; --peach: #f49778; --blue: #89a8d7;
    --flow: linear-gradient(120deg, #89a8d7 0%, #a96fc2 34%, #ee7e9f 68%, #f49778 100%);
    --header-bar-height: 68px;
    --header-height: calc(var(--header-bar-height) + env(safe-area-inset-top, 0px));
    --page-pad: clamp(22px, 5vw, 72px);
    --ease: cubic-bezier(.22, 1, .36, 1);
    --ease-ui: cubic-bezier(.23, 1, .32, 1);
    --radius-row: 12px; --radius-control: 16px; --radius-panel: 20px;
    --press-time: 120ms; --overlay-enter: 220ms; --overlay-exit: 160ms;
    --type-hero: clamp(3.25rem, 6vw, 5rem);
    --type-title: clamp(2rem, 3vw, 2.625rem);
    --type-feature: clamp(1.25rem, 1.9vw, 1.625rem);
    --glass-tint: rgba(26,25,54,.76);
    --glass-edge: rgba(203,195,210,.22);
    --shadow-content: 0 18px 50px rgba(5,5,21,.2);
    --shadow-floating: 0 24px 64px rgba(5,5,21,.38);
  }
}
@layer base {
  html { background: var(--canvas); color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-height) + 20px); }
  body { isolation: isolate; background: var(--canvas); color: var(--ink); font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
  a { color: inherit; text-decoration: none; }
  *, *::before, *::after { border-color: var(--border); }
  button { -webkit-appearance: none; appearance: none; }
  button, summary, a { -webkit-tap-highlight-color: rgba(238,126,159,.16); touch-action: manipulation; }
  :focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
  .page-shell { width: min(100%, 1260px); margin-inline: auto; padding-left: max(var(--page-pad), env(safe-area-inset-left, 0px)); padding-right: max(var(--page-pad), env(safe-area-inset-right, 0px)); }
  .section-block { padding-block: clamp(72px, 8vw, 112px); }
  .section-title { font-size: var(--type-title); line-height: 1.15; font-weight: 600; overflow-wrap: anywhere; letter-spacing: -.03em; }
  .section-label { font-size: 14px; color: var(--blue); }
  .skip-link { position: fixed; z-index: 100; top: 12px; left: 16px; padding: 10px 14px; background: var(--ink); color: var(--canvas); transform: translateY(-180%); }
  .skip-link:focus { transform: none; }
  .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
}
@layer navigation {
  .site-header { position: fixed; inset: 0 0 auto; z-index: 30; display: flex; align-items: center; justify-content: space-between; height: var(--header-height); padding-top: env(safe-area-inset-top, 0px); padding-left: max(var(--page-pad),env(safe-area-inset-left,0px)); padding-right: max(var(--page-pad),env(safe-area-inset-right,0px)); background: var(--canvas); }
  .brand-lockup { display: flex; align-items: center; gap: 4px; min-height: 44px; font-size: 16px; font-weight: 550; letter-spacing: -.02em; }
  .desktop-nav { display: flex; gap: 28px; }
  .desktop-nav a { display: flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--ink-soft); }
  .desktop-nav a:hover, .desktop-nav a.is-active { color: var(--ink); }
  .desktop-nav a { position: relative; transition: color 300ms ease; }
  .desktop-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px; background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform 180ms var(--ease); }
  .desktop-nav a:hover::after, .desktop-nav a.is-active::after { transform: scaleX(1); }
  .mobile-navigation { display: none; }
  .site-header.is-scrolled { border-bottom: 1px solid rgba(137,168,215,.12); }
  .fallback-navigation { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }

}
@layer sections {
  .hero-copy { padding-top: calc(var(--header-height) + clamp(72px, 11vh, 116px)); padding-bottom: clamp(64px, 9vh, 104px); }
  .hero-main { display: grid; grid-template-columns: minmax(0,1fr); }
  .hero h1 { font-size: var(--type-hero); font-weight: 600; line-height: 1.02; letter-spacing: -.055em; }
  .hero h1 span { display: block; }
  .hero h1 span:last-child { color: var(--pink); }
  .hero-supporting { max-width: 28em; margin-top: 30px; font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); color: var(--ink-soft); line-height: 1.65; letter-spacing: -.012em; }
  .hero-portrait { min-height: 380px; background-size: cover; background-position: center; border-radius: 22px; }
  .hero-main:has(.hero-portrait) { grid-template-columns: 1.2fr 1fr; gap: 48px; }
  .scroll-cue { display: none; }
  [data-expertise-accordion] { margin-top: 32px; }
  .expertise-accordion > [data-slot="accordion-item"] { padding: 18px 0 24px; }
  .expertise-summary { max-width: 60ch; color: var(--ink-soft); font-size: 1rem; line-height: 1.65; padding-bottom: 6px; }
  .expertise-details { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; color: var(--ink-soft); }
  .expertise-details li { padding-left: 16px; border-left: 2px solid var(--orchid); }
  .expertise-fallback { padding-block: 24px; color: var(--ink-soft); }
  .expertise-fallback h3 { margin-top: 20px; }
  .journey-layout { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(260px,.8fr); gap: clamp(40px,7vw,96px); margin-top: 40px; }
  .journey-layout > * { min-width: 0; }
  .journey-development ol { border-left: 1px solid var(--border); }
  .journey-development li { padding: 0 0 32px 24px; }
  .journey-development li:last-child { padding-bottom: 0; }
  .journey-type { color: var(--blue); font-size: 14px; }
  .journey-development h4 { font-size: clamp(20px,2.2vw,28px); font-weight: 600; letter-spacing: -.025em; line-height: 1.25; margin-top: 8px; overflow-wrap: anywhere; }
  .journey-development li > p:last-of-type { margin-top: 12px; color: var(--ink-soft); }
  .journey-course { display: inline-flex; align-items: center; gap: 12px; padding: 12px 0; margin-top: 8px; font-size: 14px; color: var(--peach); }
  .journey-course:hover { text-decoration: underline; }
  .journey-practice { padding: 30px; background: linear-gradient(135deg,rgba(137,168,215,.085),rgba(169,111,194,.025) 65%),var(--surface); border: 1px solid rgba(137,168,215,.22); border-radius: var(--radius-panel); box-shadow: inset 0 1px rgba(255,243,220,.07),var(--shadow-content); align-self: start; }
  .journey-practice h3 { margin-top: 8px; font-size: 24px; font-weight: 600; letter-spacing: -.025em; }
  .journey-practice > p:not(.section-label) { margin-top: 14px; color: var(--ink-soft); }
  .journey-practice ul { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--ink-soft); font-size: 14px; }
  .personal-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(32px,6vw,76px); margin-top: 36px; }
  .personal-copy p { color: var(--ink-soft); font-size: 17px; line-height: 1.75; }
  .personal-copy p + p { margin-top: 20px; }
  .personal-visuals { min-width: 0; }
  .visual-slot-location { grid-column: 1 / -1; position: relative; min-height: 0; border-radius: 20px; overflow: hidden; }
  .location-story { position: relative; margin: 0; overflow: hidden; background: #02050b; isolation: isolate; }
  .location-stage { position: relative; height: auto; aspect-ratio: 4 / 3; min-height: 0; overflow: hidden; background: radial-gradient(circle at 50% 45%, rgba(50, 51, 91, .42), transparent 46%), #080919; }
  .location-stage::before, .location-stage::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
  .location-stage::before { background: radial-gradient(ellipse at 50% 44%, transparent 48%, rgba(3, 4, 15, .12) 80%, rgba(3, 4, 15, .34) 100%); }
  .location-stage::after { opacity: .08; background: repeating-linear-gradient(180deg, rgba(255,255,255,.25) 0, rgba(255,255,255,.25) 1px, transparent 1px, transparent 5px); mix-blend-mode: soft-light; }
  .location-poster, .location-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
  .location-story .sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
  .location-poster { z-index: 0; overflow: hidden; opacity: 1; background: #080919; transition: opacity 220ms var(--ease); }
  .location-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,25,.38) 0%, rgba(8,9,25,.12) 48%, rgba(8,9,25,.08) 100%), linear-gradient(0deg, rgba(8,9,25,.35), transparent 58%); }
  .location-poster img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); filter: saturate(.9) contrast(1.08) brightness(.88); }
  .location-canvas { z-index: 1; display: block; opacity: 0; transition: opacity 220ms var(--ease); }
  .location-story.is-enhanced .location-canvas { opacity: 1; }
  .location-story.is-enhanced .location-poster { opacity: 0; }
  .location-interface { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
  .location-target { position: absolute; left: clamp(18px, 3vw, 28px); bottom: 44px; opacity: 0; transform: translate3d(0, 18px, 0); }
  .location-target h3 { font-size: clamp(27px, 3.4vw, 42px); font-weight: 620; line-height: .94; letter-spacing: -.035em; text-shadow: 0 12px 44px rgba(4,4,18,.68); }
  .location-progress { position: absolute; left: 18px; right: 18px; bottom: 22px; height: 1px; background: rgba(137,168,215,.2); }
  .location-progress span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: var(--flow); box-shadow: 0 0 14px rgba(169,111,194,.42); }
  .location-project-label { position: absolute; z-index: 5; top: 16px; left: 18px; display: flex; align-items: center; gap: 10px; color: rgba(246,239,221,.92); text-shadow: 0 4px 24px rgba(2,5,11,.88); }
  .location-project-label span { font-size: 10px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
  .location-project-label small { color: rgba(216,222,235,.68); font-size: 8px; letter-spacing: .06em; }
  .location-story.is-fallback .location-target { opacity: 1; transform: none; }
  .location-story.is-fallback .location-progress { display: none; }

  .location-stage::after { display: none; }
  .location-project-label span { font-size: 12px; }
  .contact-copy { margin-top: 24px; color: var(--ink-soft); }
  .contact-assistant { margin-top: 18px; min-height: 44px; padding: 10px 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--ink); }
  .contact-assistant:hover { border-color: var(--pink); }
  .contact-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; }
  .contact-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--pink); }
  .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 24px; padding-bottom: calc(40px + env(safe-area-inset-bottom,0px)); color: var(--ink-muted); font-size: 14px; }
  .site-footer-nav { display: flex; flex-wrap: wrap; align-items: center; column-gap: 22px; }
  .site-footer-nav a, .footer-sources summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; }
  .footer-sources { position: relative; }
  .footer-sources summary { list-style: none; }
  .footer-sources summary::-webkit-details-marker { display: none; }
  .footer-sources-panel { position: absolute; bottom: calc(100% + 12px); right: 0; width: min(320px,calc(100vw - 44px)); padding: 18px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); color: var(--ink-soft); box-shadow: 0 12px 36px rgba(0,0,0,.2); }
  .footer-sources-panel a { font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
}
@layer assistant {
  body::after {
    content: ""; position: fixed; inset: var(--header-height) 0 0; z-index: 70; pointer-events: none;
    background: rgba(8, 8, 27, .22); opacity: 0; visibility: hidden;
    backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0);
    transition: opacity 260ms ease, visibility 260ms ease, backdrop-filter 360ms var(--ease), -webkit-backdrop-filter 360ms var(--ease);
  }
  body.is-assistant-open::after { pointer-events: auto; opacity: 1; visibility: visible; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
  .digital-nicolas { --voice-level: 0; position: fixed; z-index: 80; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); }
  .assistant-panel[hidden] { display: none !important; }
  .assistant-panel { position: absolute; left: 50%; bottom: 84px; width: min(520px, calc(100vw - 32px)); max-height: min(690px, calc(100svh - 118px)); display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(137,168,215,.25); border-radius: 22px; background: rgba(20, 19, 46, .98); box-shadow: 0 30px 90px rgba(4,4,22,.62); transform: translateX(-50%); animation: assistant-open 320ms var(--ease) both; }
  .assistant-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 20px 13px; border-bottom: 1px solid rgba(137,168,215,.15); }
  .assistant-toolbar strong { display: block; font-size: 14px; }
  .assistant-toolbar span { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 11px; }
  .assistant-toolbar-actions { display: flex; gap: 5px; align-items: center; }
  .assistant-toolbar button, .assistant-voice-controls button, .assistant-retry { min-height: 44px; padding: 8px 10px; border-radius: 10px; background: transparent; color: var(--ink-soft); font-size: 11px; cursor: pointer; }
  .assistant-toolbar button:hover, .assistant-voice-controls button:hover, .assistant-retry:hover { background: var(--raised); color: var(--ink); }
  .assistant-toolbar button:disabled { opacity: .45; cursor: not-allowed; }
  .assistant-voice-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 3px; padding: 0 14px; }
  .assistant-voice-controls > span { margin-left: auto; color: var(--ink-soft); font-size: 11px; font-variant-numeric: tabular-nums; }
  .assistant-voice-controls button[aria-pressed="true"] { background: var(--raised); color: var(--peach); }
  .assistant-progress { padding: 8px 24px 0; color: var(--ink-soft); font-size: 12px; }
  .assistant-hint { flex-shrink: 0; padding: 0 20px 14px; color: var(--ink-soft); font-size: 11px; line-height: 1.45; }
  .assistant-retry { display: block; margin-top: 7px; border: 1px solid var(--border); color: var(--ink); }
  .assistant-suggestions[hidden], .assistant-voice-controls[hidden], .assistant-progress[hidden], [data-voice-interrupt][hidden] { display: none !important; }
  .assistant-messages { min-height: 0; flex: 1 1 auto; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; overscroll-behavior: contain; padding: 22px 24px 12px; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
  .assistant-message { max-width: 88%; color: var(--ink-soft); font-size: 14px; line-height: 1.6; white-space: pre-wrap; }
  .assistant-message.is-assistant { padding: 0 8px 0 0; background: transparent; }
  .assistant-message.is-user { align-self: flex-end; padding: 11px 14px; border-radius: 16px 16px 4px 16px; background: var(--flow); color: var(--canvas); }
  .assistant-message.is-pending { min-width: 48px; min-height: 24px; display: inline-flex; align-items: center; }
  .assistant-message.is-user.is-pending { min-height: 42px; }
  .assistant-typing { display: inline-flex; align-items: center; gap: 4px; height: 16px; }
  .assistant-typing i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .38; animation: assistant-dot 900ms ease-in-out infinite; }
  .assistant-typing i:nth-child(2) { animation-delay: 120ms; }
  .assistant-typing i:nth-child(3) { animation-delay: 240ms; }
  .assistant-message.is-error { padding: 11px 14px; border: 1px solid rgba(244,151,120,.32); border-radius: 14px; color: var(--peach); background: rgba(244,151,120,.05); }
  .assistant-message a { display: inline-block; margin-top: 10px; padding-bottom: 2px; border-bottom: 1px solid var(--pink); color: var(--ink); }
  .assistant-suggestions { align-self: flex-end; max-width: 84%; display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
  .assistant-suggestions button { width: max-content; min-height: 44px; max-width: 100%; padding: 9px 12px; border: 1px solid rgba(137,168,215,.2); border-radius: 14px 14px 4px 14px; background: rgba(33,31,66,.72); color: var(--ink-soft); font-size: 11px; line-height: 1.4; text-align: right; cursor: pointer; transition: color 200ms ease, border-color 200ms ease, transform 240ms var(--ease); }
  .assistant-suggestions button:hover { border-color: rgba(238,126,159,.65); color: var(--ink); transform: translateX(-3px); }
  .assistant-compose { min-height: 60px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 10px 14px 14px; padding: 7px 8px 7px 16px; border: 1px solid rgba(137,168,215,.22); border-radius: 18px; background: var(--surface); box-shadow: inset 0 1px rgba(255,255,255,.025); transition: border-color 220ms ease, box-shadow 220ms ease, background 300ms ease; }
  .assistant-compose:focus-within { border-color: rgba(238,126,159,.58); box-shadow: 0 0 0 3px rgba(238,126,159,.07); }
  .digital-nicolas[data-voice-active="true"] .assistant-compose, .digital-nicolas[data-text-active="true"] .assistant-compose { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--flow) border-box; box-shadow: 0 0 0 3px rgba(137,168,215,.06), 0 12px 32px rgba(5,5,24,.2); }
  .assistant-input-slot { min-width: 0; }
  .assistant-compose input { width: 100%; min-width: 0; height: 44px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 14px; line-height: 1.4; }
  .assistant-live-copy { height: 44px; min-width: 0; display: flex; align-items: center; gap: 11px; color: var(--ink); font-size: 13px; white-space: nowrap; }
  .assistant-live-copy[hidden] { display: none !important; }
  .assistant-live-copy > span:last-child { overflow: hidden; text-overflow: ellipsis; }
  .assistant-live-wave { width: 24px; height: 22px; flex: 0 0 24px; display: flex; align-items: center; justify-content: center; gap: 2px; color: var(--blue); }
  .assistant-live-wave i { width: 2px; height: calc(5px + var(--voice-level) * 13px); border-radius: 2px; background: currentColor; transition: height 90ms linear; }
  .assistant-live-wave i:nth-child(2), .assistant-live-wave i:nth-child(4) { height: calc(9px + var(--voice-level) * 10px); }
  .digital-nicolas[data-state="thinking"] .assistant-live-wave i { animation: live-think 820ms ease-in-out infinite alternate; }
  .digital-nicolas[data-state="thinking"] .assistant-live-wave i:nth-child(2) { animation-delay: -220ms; }
  .digital-nicolas[data-state="thinking"] .assistant-live-wave i:nth-child(3) { animation-delay: -420ms; }
  .digital-nicolas[data-state="thinking"] .assistant-live-wave i:nth-child(4) { animation-delay: -120ms; }
  .digital-nicolas[data-state="speaking"] .assistant-live-wave { color: var(--pink); }
  .digital-nicolas[data-state="generating"] .assistant-live-wave { color: var(--pink); }
  .assistant-actions { display: flex; align-items: center; gap: 7px; }
  .assistant-voice, .assistant-send { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0; border-radius: 12px; cursor: pointer; transition: transform 220ms var(--ease), filter 220ms ease, opacity 220ms ease; }
  .assistant-voice:hover, .assistant-send:hover { transform: translateY(-2px); filter: brightness(1.06); }
  .assistant-voice { width: 44px; min-width: 44px; padding: 0; background: var(--flow); color: var(--canvas); box-shadow: 0 8px 24px rgba(169,111,194,.2); }
  .assistant-voice svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  .assistant-voice[aria-pressed="true"] { width: 44px; min-width: 44px; }
  .assistant-voice[aria-pressed="true"] { box-shadow: 0 0 0 3px rgba(238,126,159,.1), 0 10px 30px rgba(169,111,194,.3); }
  .digital-nicolas[data-state="listening"] .assistant-voice[aria-pressed="true"] svg, .digital-nicolas[data-state="hearing"] .assistant-voice[aria-pressed="true"] svg { transform: scaleY(calc(.82 + var(--voice-level) * .32)); }
  .digital-nicolas[data-state="speaking"] .assistant-voice[aria-pressed="true"] { filter: brightness(1.08); }
  .assistant-send { width: 44px; background: var(--ink); color: var(--canvas); }
  .digital-nicolas[data-text-active="true"] .assistant-send svg { display: none; }
  .digital-nicolas[data-text-active="true"] .assistant-send::after { content: ""; width: 12px; height: 12px; background: currentColor; border-radius: 2px; }
  .assistant-send svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
  .assistant-compose button:disabled, .assistant-compose input:disabled { cursor: not-allowed; opacity: .45; }
  .assistant-panel audio { display: none; }
  @keyframes live-think { from { transform: scaleY(.45); opacity: .58; } to { transform: scaleY(1.15); opacity: 1; } }
  @keyframes assistant-dot { 0%, 70%, 100% { transform: translateY(0); opacity: .34; } 35% { transform: translateY(-3px); opacity: 1; } }
  @keyframes assistant-open { from { opacity: 0; transform: translate(-50%, 14px) scale(.98); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
}

@layer assistant {
  .digital-nicolas { --assistant-visible-height: 100dvh; bottom: calc(max(18px,env(safe-area-inset-bottom,0px)) + var(--assistant-keyboard-lift,0px)); }
  .assistant-orb { display: flex; align-items: center; justify-content: center; height: 44px; min-width: 124px; padding: 0 18px; border: 1px solid rgba(137,168,215,.4); border-radius: 22px; color: var(--ink); background: var(--surface); box-shadow: inset 0 1px rgba(255,255,255,.09), 0 6px 24px rgba(0,0,0,.2); }
  .assistant-orb:hover { border-color: var(--pink); }
  .assistant-orb-caption { font-size: 14px; }
  .digital-nicolas[data-state="listening"] .assistant-orb, .digital-nicolas[data-state="hearing"] .assistant-orb { border-color: var(--blue); }
  .digital-nicolas[data-state="speaking"] .assistant-orb { border-color: var(--pink); }
  .assistant-panel { bottom: 60px; max-height: min(690px,calc(var(--assistant-visible-height,100svh) - 108px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))); box-shadow: 0 18px 60px rgba(0,0,0,.35); }
  .assistant-toolbar { flex-wrap: wrap; }
  .assistant-toolbar, .assistant-compose, .assistant-hint, .assistant-voice-controls, .assistant-progress { flex-shrink: 0; }
  .assistant-toolbar button, .assistant-voice-controls button, .assistant-retry, .assistant-suggestions button { font-size: 14px; }
  .assistant-toolbar span, .assistant-hint, .assistant-voice-controls > span { font-size: 12px; }
  .assistant-message, .assistant-compose input { font-size: 16px; }
  .assistant-message { overflow-wrap: anywhere; }
  body.is-assistant-open { overflow: hidden; overscroll-behavior: none; }
  body.is-assistant-open::after { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@layer motion {
  .page-light { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; contain: strict; opacity: .35; }
  .page-light::before, .page-light::after { content: ""; position: absolute; pointer-events: none; width: min(100vw,1200px); height: 100%; }
  .page-light::before { top: -20%; left: -28%; background: radial-gradient(ellipse at center,rgba(137,168,215,.075),rgba(169,111,194,.025) 40%,transparent 70%); }
  .page-light::after { right: -30%; bottom: -25%; background: radial-gradient(ellipse at center,rgba(238,126,159,.065),rgba(244,151,120,.02) 40%,transparent 70%); }
  .hero { position: relative; isolation: isolate; overflow: hidden; }
  .hero::before { content: ""; position: absolute; z-index: -1; width: min(80vw,900px); height: 650px; top: -240px; right: -220px; pointer-events: none; background: radial-gradient(ellipse,rgba(169,111,194,.07),rgba(137,168,215,.02) 45%,transparent 70%); }
  .hero h1 { transform-origin: left center; }
  .journey-development ol { position: relative; }
  .journey-development li { position: relative; }
  .journey-development li::before { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; left: -4px; top: 8px; background: var(--border); box-shadow: 0 0 0 5px var(--canvas); }
  .glass-card { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(135deg,rgba(137,168,215,.07),rgba(169,111,194,.03)),var(--surface); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
  .contact-links > a { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; border-bottom: 1px solid var(--border); }
  .contact-links { flex-direction: column; gap: 0; max-width: 640px; }
  .contact-links small { color: var(--ink-muted); font-size: 13px; }
  .contact-links > a { transition: color 160ms ease; }
  .assistant-orb { gap: 10px; }
  .assistant-orb-core { display: block; flex: 0 0 18px; width: 18px; height: 18px; overflow: hidden; border-radius: 50%; background: radial-gradient(circle at 35% 30%,#fff3dc 0%,var(--blue) 18%,var(--orchid) 44%,var(--pink) 65%,var(--peach) 88%); box-shadow: inset -2px -2px 4px rgba(17,18,42,.25),0 0 12px rgba(169,111,194,.25); animation: orb-reflection 6s ease-in-out 3; }
  @media (hover: hover) and (pointer: fine) {
    .contact-links > a:hover { color: var(--ink); }
    .assistant-orb:hover .assistant-orb-core { animation: orb-reflection 1.8s ease-in-out; }
  }
  @keyframes orb-reflection { 50% { transform: rotate(45deg) scale(1.12); filter: brightness(1.18); } }
}
@layer responsive {
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .site-header.is-scrolled { background: rgba(17,18,42,.9); -webkit-backdrop-filter: saturate(120%) blur(16px); backdrop-filter: saturate(120%) blur(16px); }
    .assistant-orb { background: rgba(26,25,54,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

  }
  @media (max-width: 980px) {
    :root { --header-bar-height: 64px; }
    html { scroll-padding-top: calc(var(--header-height) + 20px); }
    .desktop-nav { display: none; }
    .mobile-navigation { display: block; }
    .hero-copy { padding-top: calc(var(--header-height) + 50px); padding-bottom: 56px; }
    .hero h1 { font-size: clamp(3rem,7vw,4rem); }
    .section-block { padding-block: 48px; }
    .journey-layout { grid-template-columns: 1fr; gap: 30px; }
    .personal-grid { grid-template-columns: 1fr; gap: 28px; }
    .personal-copy p { font-size: 16px; }
    .visual-slot-location { min-height: 0; }
  }
  @media (max-width: 700px) {
    .brand-lockup { font-size: 15px; }
    .assistant-orb-core { animation-iteration-count: 1; }
    .hero h1 { font-size: clamp(2.875rem,12vw,3.375rem); }
    .hero-supporting { font-size: 16px; margin-top: 22px; }
    .hero-main:has(.hero-portrait) { grid-template-columns: 1fr; }
    .section-title { font-size: clamp(1.875rem,7vw,2.125rem); }
    [data-expertise-accordion], .journey-layout, .personal-grid { margin-top: 24px; }
    .expertise-summary { font-size: 16px; }
    .journey-practice { padding: 22px; }
    .visual-slot-location { min-height: 0; }
    .location-canvas { display: block; }
    .location-progress { display: none; }
    .location-target { left: 18px; bottom: 26px; }
    .location-target h3 { font-size: 28px; line-height: 1.1; letter-spacing: -.02em; }
    .site-footer { align-items: flex-start; flex-direction: column; gap: 10px; font-size: 12px; }
    .digital-nicolas { bottom: calc(max(14px,env(safe-area-inset-bottom,0px)) + var(--assistant-keyboard-lift,0px)); }
    .assistant-panel { width: calc(100vw - 2 * max(12px,env(safe-area-inset-left,0px),env(safe-area-inset-right,0px))); max-height: min(680px,calc(var(--assistant-visible-height,100svh) - 96px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))); }
    .assistant-toolbar { padding: 10px 14px; }
    .assistant-toolbar-actions { margin-left: auto; }
    .assistant-messages { padding: 16px; }
    .assistant-suggestions { max-width: 100%; }
    .assistant-compose { margin: 8px 10px 10px; gap: 6px; padding-left: 10px; }
    .assistant-actions { gap: 5px; }
  }
  @media (max-height: 500px) and (orientation: landscape) {
    .assistant-panel { max-height: calc(var(--assistant-visible-height,100svh) - 80px - env(safe-area-inset-bottom,0px)); }
    .assistant-hint, .assistant-toolbar span { display: none; }
    .assistant-toolbar { padding-block: 6px; }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .location-canvas, .location-progress { display: none !important; }
    .location-poster { opacity: 1 !important; }
    .location-target { opacity: 1 !important; transform: none !important; }
  }
  @media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
    .site-header.is-scrolled, .assistant-orb { background: var(--canvas); -webkit-backdrop-filter: none; backdrop-filter: none; }
    .assistant-panel { border-color: var(--ink-soft); }
  }
}


@layer utilities {
  .mobile-navigation .navigation-toggle { border-radius: var(--radius-control); border-color: rgba(137,168,215,.3); background: rgba(26,25,54,.72); box-shadow: inset 0 1px 0 rgba(255,255,255,.14),0 6px 20px rgba(0,0,0,.15); transition: background var(--press-time) ease,border-color var(--press-time) ease,transform var(--press-time) var(--ease-ui); }
  .mobile-navigation .navigation-toggle[data-state="open"] { border-color: var(--pink); background: var(--raised); }
  .mobile-navigation .navigation-toggle:active { transform: scale(.97); }
  .menu-glyph { position: relative; width: 20px; height: 18px; display: block; }
  .menu-glyph i { position: absolute; left: 0; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 180ms var(--ease-ui),width 180ms var(--ease-ui); }
  .menu-glyph i:first-child { top: 5px; }
  .menu-glyph i:last-child { top: 12px; width: 14px; left: auto; right: 0; }
  .navigation-toggle[data-state="open"] .menu-glyph i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .navigation-toggle[data-state="open"] .menu-glyph i:last-child { width: 20px; transform: translateY(-3.5px) rotate(-45deg); }
  body [data-slot="popover-content"] { max-height: min(32rem,var(--radix-popover-content-available-height)); overflow-y: auto; overscroll-behavior: contain; border-color: rgba(137,168,215,.3); background: var(--surface); box-shadow: inset 0 1px rgba(255,255,255,.12),0 20px 60px rgba(0,0,0,.35); }
  .popover-navigation { display: flex; flex-direction: column; gap: 2px; }
  .popover-navigation a { min-height: 48px; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-row); font-size: 1rem; color: var(--ink-soft); transition: background var(--press-time) ease,color var(--press-time) ease; }
  .popover-navigation a:hover, .popover-navigation a:focus-visible { background: var(--raised); color: var(--ink); }
  .popover-navigation svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--ink-muted); stroke-width: 1.6; }
  .expertise-details { gap: 16px; max-width: 760px; }
  .expertise-details strong { display: block; color: var(--ink); font-weight: 550; line-height: 1.4; }
  .expertise-details p { margin-top: 4px; line-height: 1.65; }
  .expertise-accordion [data-slot="accordion-content"][data-state="open"] li { animation: expertise-item-enter 200ms var(--ease) both; }
  .expertise-details li:nth-child(2) { --item-order: 1; }
  .expertise-details li:nth-child(3) { --item-order: 2; }
  .expertise-accordion [data-slot="accordion-trigger"] { min-height: 56px; }
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    body [data-slot="popover-content"] { background: rgba(26,25,54,.9); -webkit-backdrop-filter: blur(24px) saturate(135%); backdrop-filter: blur(24px) saturate(135%); }
    .mobile-navigation .navigation-toggle { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  }
  @media (max-width: 700px) {
    .hero::before { top: -100px; right: -30vw; width: 130vw; height: 460px; background: radial-gradient(ellipse at center,rgba(169,111,194,.09),rgba(238,126,159,.02) 45%,transparent 70%); }
    .page-light::after { display: none; }
    .page-light::before { width: 130vw; left: -35%; }
  }
  @media (prefers-reduced-motion: reduce) {
    .page-light { display: none; }
    .expertise-accordion [data-slot="accordion-content"][data-state="open"] li, body [data-slot="popover-content"][data-state="open"] .popover-navigation a { animation: none; }
  }
  @media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
    body [data-slot="popover-content"], .mobile-navigation .navigation-toggle { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; border-color: var(--ink-muted); }
    .page-light { display: none; }
  }
  @keyframes expertise-item-enter { from { opacity: 0; transform: translate3d(0,4px,0); } to { opacity: 1; transform: translate3d(0,0,0); } }
}

@layer utilities {
  .journey-practice, .visual-slot-location, body [data-slot="popover-content"] { border-radius: var(--radius-panel); }
  .footer-sources-panel { border-radius: var(--radius-control); }
  body:has([data-assistant]) .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom,0px)); }
  body [data-slot="popover-content"] { max-width: calc(100vw - max(16px,env(safe-area-inset-left,0px)) - max(16px,env(safe-area-inset-right,0px))); overflow-wrap: anywhere; transform-origin: var(--radix-popover-content-transform-origin); animation-timing-function: var(--ease-ui); }
  body [data-slot="popover-content"][data-state="open"] { animation-duration: var(--overlay-enter); }
  body [data-slot="popover-content"][data-state="closed"] { animation-duration: var(--overlay-exit); }
  .popover-navigation a[aria-current="location"] { color: var(--ink); background: var(--raised); }
  .popover-navigation a[aria-current="location"] svg { color: var(--pink); }
  .popover-navigation a:active { background: var(--raised); }
  body [data-slot="popover-content"][data-state="open"] .popover-navigation a { animation: menu-link-enter 180ms var(--ease) backwards; }
  .popover-navigation a:nth-child(2) { --menu-order: 1; }
  .popover-navigation a:nth-child(3) { --menu-order: 2; }
  .popover-navigation a:nth-child(4) { --menu-order: 3; }
  .popover-navigation a { transition: background 180ms ease,color 180ms ease,transform 300ms var(--ease); }
  .popover-navigation a:active { transform: scale(.97); }
  .popover-navigation a span { min-width: 0; overflow-wrap: anywhere; }
  .expertise-accordion [data-slot="accordion-trigger"] { transform-origin: left center; transition: color 160ms ease; }
  .expertise-accordion [data-slot="accordion-trigger"][data-state="open"] { color: var(--pink); }
  .expertise-accordion [data-slot="accordion-trigger"]:active { color: var(--pink); }
  .expertise-accordion [data-slot="accordion-trigger"] > svg { transition-duration: 180ms; transition-timing-function: var(--ease); }
  @keyframes menu-link-enter { from { opacity: 0; transform: translate3d(0,4px,0); } to { opacity: 1; transform: translate3d(0,0,0); } }
  @media (prefers-reduced-motion: reduce) {
    body [data-slot="popover-content"][data-state="open"] .popover-navigation a { animation: none; }
    .expertise-accordion [data-slot="accordion-trigger"], .expertise-accordion [data-slot="accordion-trigger"][data-state="open"], .expertise-accordion [data-slot="accordion-trigger"]:active, .popover-navigation a:active { transform: none; }
  }
  @supports (corner-shape: squircle) {
    .mobile-navigation .navigation-toggle, .journey-practice, .visual-slot-location, body [data-slot="popover-content"], .footer-sources-panel { corner-shape: squircle; }
  }
}

@layer utilities {
  [hidden] { display: none !important; }
}

@layer utilities {
  .hero::before { top: -70px; right: -100px; width: min(78vw, 960px); height: 670px; background: radial-gradient(ellipse at 65% 43%,rgba(169,111,194,.23),rgba(137,168,215,.09) 32%,rgba(238,126,159,.025) 53%,transparent 72%); }
  .hero::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 90% 65%,rgba(244,151,120,.035),transparent 50%); }
  .hero::before, .hero::after { -webkit-mask-image: linear-gradient(#000 50%,transparent 100%); mask-image: linear-gradient(#000 50%,transparent 100%); }
  .hero-intro { max-width: 38rem; transform-origin: left center; }
  .hero-actions { margin-top: 28px; display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
  .hero-action { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--pink); transition: color var(--press-time) ease,transform var(--press-time) var(--ease-ui); }
  .hero-action:hover { color: var(--ink); }
  .hero-action:active { transform: translateY(1px); }
  .hero-action-secondary { color: var(--ink-soft); }
  .brand-lockup { font-weight: 600; }
  .site-header { transition: background 220ms ease,box-shadow 220ms ease,border-color 220ms ease; }
  .site-header.is-scrolled { border-bottom: 1px solid rgba(203,195,210,.14); box-shadow: 0 10px 28px rgba(5,5,21,.1),inset 0 -1px rgba(255,243,220,.025); }
  .desktop-nav { gap: 32px; }
  .desktop-nav a { transition-duration: 160ms; }
  .expertise-accordion [data-slot="accordion-trigger"] { font-size: var(--type-feature); line-height: 1.3; font-weight: 600; letter-spacing: -.025em; align-items: center; }
  .expertise-accordion [data-slot="accordion-trigger"] > svg { width: 18px; height: 18px; margin-right: 2px; transform-origin: center; }
  .expertise-accordion [data-slot="accordion-item"] { transition: border-color 220ms ease; }
  .expertise-accordion [data-slot="accordion-item"][data-state="open"] { border-color: rgba(238,126,159,.38); }
  .expertise-accordion [data-slot="accordion-content"] { display: grid; grid-template-rows: 0fr; opacity: 0; animation: none; transition: grid-template-rows 220ms var(--ease),opacity 160ms ease; }
  .expertise-accordion [data-slot="accordion-content"][data-state="open"] { grid-template-rows: 1fr; opacity: 1; }
  .expertise-accordion [data-slot="accordion-content"] > div { min-height: 0; overflow: hidden; padding: 0; }
  .expertise-details { max-width: 62ch; padding-top: 18px; padding-bottom: 24px; gap: 20px; }
  .expertise-details li { padding-left: 18px; border-left-width: 1px; }
  .expertise-details strong { font-weight: 600; letter-spacing: -.01em; }
  .expertise-accordion [data-slot="accordion-content"][data-state="open"] li { animation: none; }
  .journey-development ol::before { content: ""; position: absolute; width: 2px; left: -1px; top: 0; bottom: 0; background: var(--flow); transform: scaleY(var(--journey-progress,0)); transform-origin: top; }
  .journey-development li { padding-left: 28px; padding-bottom: 42px; }
  .journey-development li::before { width: 8px; height: 8px; left: -4.5px; transition: background 180ms ease,box-shadow 180ms ease; }
  .journey-development li.is-current::before { background: var(--pink); box-shadow: 0 0 0 5px var(--canvas),0 0 16px rgba(238,126,159,.25); }
  .journey-development li > p:last-of-type { max-width: 54ch; }
  .personal-copy { max-width: 56ch; }
  .visual-slot-location { border: 1px solid rgba(137,168,215,.2); box-shadow: inset 0 1px rgba(255,243,220,.08),var(--shadow-content); }
  .location-target { will-change: auto; }
  .location-story:not(.is-enhanced) .location-target { opacity: 1; transform: none; }
  .location-poster img { transform: none; filter: saturate(.92) contrast(1.04) brightness(.94); }
  .location-project-label { top: 20px; left: 22px; }
  .location-project-label span { font-size: 11px; letter-spacing: .09em; }
  .personal.has-location-pin { height: 260svh; padding-block: 0; }
  .personal.has-location-pin > .page-shell { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-height) + 28px); padding-bottom: 40px; }
  .personal.has-location-pin .personal-grid { align-items: start; }
  .site-footer { border-top: 1px solid rgba(203,195,210,.1); margin-top: 16px; }
  .footer-experiments [data-slot="button"] { color: var(--ink-soft); transition: color var(--press-time) ease,background var(--press-time) ease,transform var(--press-time) var(--ease-ui); }
  .footer-experiments [data-slot="button"]:active { transform: scale(.98); }
  body [data-slot="popover-content"], .footer-sources-panel { border-color: var(--glass-edge); background: linear-gradient(145deg,rgba(137,168,215,.045),transparent 55%),var(--surface); box-shadow: inset 0 1px rgba(255,243,220,.1),var(--shadow-floating); }
  .mobile-navigation .navigation-toggle { border-color: var(--glass-edge); }
  .behind-scenes-popover h3 { font-weight: 600; }
  .behind-scenes-popover dt { font-weight: 600; }
  .popover-navigation a { transition-duration: var(--press-time); }
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .site-header.is-scrolled { background: rgba(17,18,42,.76); -webkit-backdrop-filter: saturate(145%) blur(20px); backdrop-filter: saturate(145%) blur(20px); }
    body [data-slot="popover-content"], .footer-sources-panel { background: linear-gradient(145deg,rgba(137,168,215,.06),transparent 55%),var(--glass-tint); -webkit-backdrop-filter: saturate(140%) blur(20px); backdrop-filter: saturate(140%) blur(20px); }
  }
  @media (max-width: 980px) {
    .hero-copy { padding-top: calc(var(--header-height) + 64px); padding-bottom: 64px; }
    .hero::before { right: -35%; width: 110vw; height: 600px; }
    .personal-copy { max-width: 62ch; }
  }
  @media (max-width: 700px) {
    .hero h1 { letter-spacing: -.045em; }
    .hero-copy { padding-top: calc(var(--header-height) + 48px); padding-bottom: 52px; }
    .hero::before { top: -30px; right: -50%; width: 150vw; height: 490px; opacity: .7; }
    .hero-supporting { line-height: 1.65; max-width: 32ch; }
    .hero-actions { margin-top: 20px; }
    .expertise-accordion > [data-slot="accordion-item"] { padding-top: 12px; padding-bottom: 20px; }
    .expertise-accordion [data-slot="accordion-trigger"] { font-size: 1.25rem; letter-spacing: -.02em; }
    .journey-development li { padding-left: 24px; }
    .journey-practice { padding: 24px; }
    .location-project-label { top: 16px; left: 18px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .hero-intro { opacity: 1 !important; transform: none !important; }
    .hero-action:active, .footer-experiments [data-slot="button"]:active { transform: none; }
    .journey-development ol::before { transform: scaleY(1); }
    .personal.has-location-pin { height: auto; padding-block: 72px; }
    .personal.has-location-pin > .page-shell { position: relative; height: auto; display: block; padding-top: 0; padding-bottom: 0; }
  }
  @media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
    .site-header.is-scrolled, body [data-slot="popover-content"], .footer-sources-panel { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; border-color: var(--ink-muted); }
    .hero::before, .hero::after { display: none; }
  }
}
