:root {
  --blue: #1a73e8;
  --blue-dark: #1558b0;
  --blue-pale: #e8f0fe;
  --red: #ea4335;
  --yellow: #fbbc04;
  --green: #34a853;
  --ink: #202124;
  --muted: #5f6368;
  --line: #dadce0;
  --surface: #f8f9fa;
  --white: #fff;
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Google Sans", "Helvetica Neue", Arial, sans-serif; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
::selection { color: white; background: var(--blue); }
a { color: inherit; }
button { font: inherit; }
.skip-link { position: fixed; top: -4rem; left: 1rem; z-index: 300; padding: .65rem 1rem; color: white; background: var(--ink); border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.container { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }
.container-wide { width: min(1200px, calc(100% - 48px)); }
.text-container { width: min(860px, calc(100% - 48px)); }

.topbar { position: fixed; z-index: 100; inset: 0 0 auto; height: 68px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 max(24px, calc((100vw - 1320px) / 2)); background: rgba(255,255,255,.88); border-bottom: 1px solid transparent; backdrop-filter: blur(16px); transition: border-color .2s, box-shadow .2s; }
.topbar.scrolled { border-color: var(--line); box-shadow: 0 1px 8px rgba(60,64,67,.08); }
.topbar-mark, .footer-logo { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; text-decoration: none; letter-spacing: -.025em; }
.mark-primitive { width: 23px; height: 13px; display: inline-block; border-radius: 50%; transform: rotate(-20deg); background: linear-gradient(115deg, var(--red), var(--yellow) 45%, var(--green)); }
.topbar-nav { display: flex; gap: 2rem; }
.topbar-nav a { position: relative; padding: 1.4rem 0; color: var(--muted); font-size: .82rem; font-weight: 600; text-decoration: none; }
.topbar-nav a::after { content: ""; position: absolute; right: 0; bottom: 12px; left: 0; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .2s; }
.topbar-nav a:hover { color: var(--blue); }
.topbar-nav a:hover::after { transform: scaleX(1); }
.header-paper { justify-self: end; display: inline-flex; align-items: center; gap: .5rem; color: var(--blue); font-size: .82rem; font-weight: 600; text-decoration: none; }
.header-paper:hover { text-decoration: underline; }
.paper-thumb { width: 34px; height: 42px; display: block; object-fit: cover; border: 0; border-radius: 5px; background: transparent; box-shadow: none; transition: transform .2s, box-shadow .2s; }
.header-paper:hover .paper-thumb { transform: translateY(-1px) rotate(-1deg); box-shadow: 0 4px 10px rgba(60,64,67,.24); }

.hero { min-height: 850px; position: relative; display: grid; place-items: center; overflow: hidden; padding: 125px 0 76px; }
.hero::before { content: ""; position: absolute; top: 80px; left: 50%; width: 680px; height: 500px; opacity: .65; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(232,240,254,.95), transparent 68%); pointer-events: none; }
.hero-wash { position: absolute; border-radius: 50%; filter: blur(12px); pointer-events: none; }
.wash-blue { width: 340px; height: 180px; right: -80px; top: 28%; background: radial-gradient(ellipse, rgba(26,115,232,.12), transparent 70%); transform: rotate(18deg); }
.wash-red { width: 260px; height: 150px; left: -70px; bottom: 15%; background: radial-gradient(ellipse, rgba(234,67,53,.10), transparent 70%); transform: rotate(-20deg); }
.hero-inner { position: relative; text-align: center; }
.eyebrow, .section-label, .showcase-tag { margin: 0 0 .8rem; color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.wordmark { width: min(700px, 94vw); height: clamp(125px, 17vw, 190px); margin: 0 auto -20px; position: relative; }
#flare-wordmark { display: block; width: 100%; height: 100%; }
.wordmark-fallback { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.no-canvas #flare-wordmark { display: none; }
.no-canvas .wordmark-fallback { position: static; width: auto; height: auto; clip: auto; color: var(--blue); font-size: clamp(5rem,13vw,9rem); font-weight: 700; letter-spacing: -.08em; }
.hero-subtitle { margin: 0; font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.05; font-weight: 500; letter-spacing: -.055em; }
.hero-deck { max-width: 680px; margin: 1.15rem auto 1.9rem; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.authors { max-width: 900px; margin: 0 auto .65rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .22rem 1.1rem; font-size: .9rem; font-weight: 500; }
.authors > span:not(:last-child)::after { content: "·"; margin-left: 1.1rem; color: #bdc1c6; }
.authors sup, .author-note sup { color: var(--blue); }
.authors a, .affiliations a { text-decoration: none; transition: color .18s; }
.authors a:hover, .affiliations a:hover { color: var(--blue); }
.authors a:hover .link-label, .affiliations a:hover .link-label { text-decoration: underline; text-underline-offset: 3px; }
.affiliations { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.4rem; color: var(--muted); font-size: .76rem; }
.affiliations sup { margin-right: .22rem; color: var(--blue); font-weight: 600; }
.author-note { margin: .3rem 0 0; color: #80868b; font-size: .7rem; }
.paper-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 1.8rem; }
.button { min-width: 96px; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .68rem 1.15rem; border: 1px solid var(--line); border-radius: 999px; color: var(--blue); background: white; font-size: .82rem; font-weight: 600; text-decoration: none; transition: background .2s, box-shadow .2s, transform .2s; }
.button svg, .copy-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { background: #f8fbff; border-color: #c3d7f4; box-shadow: 0 2px 6px rgba(60,64,67,.14); transform: translateY(-1px); }
.button-primary { color: white; background: var(--blue); border-color: var(--blue); }
.button-primary:hover { color: white; background: var(--blue-dark); border-color: var(--blue-dark); }

.section { padding: 112px 0; scroll-margin-top: 20px; }
.overview { padding-top: 20px; }
.youtube-frame { padding: 9px; border-radius: 28px; background: white; box-shadow: 0 4px 16px rgba(60,64,67,.14), 0 1px 3px rgba(60,64,67,.12); }
.youtube-frame iframe { width: 100%; aspect-ratio: 16/9; display: block; border: 0; border-radius: 20px; }
.youtube-placeholder { aspect-ratio: 16/9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45rem; overflow: hidden; border-radius: 20px; background: radial-gradient(circle at 22% 25%, rgba(234,67,53,.13), transparent 25%), radial-gradient(circle at 77% 70%, rgba(26,115,232,.15), transparent 27%), #f1f3f4; }
.youtube-placeholder strong { font-size: 1.25rem; }
.youtube-placeholder span:not(.youtube-play) { color: var(--muted); font-size: .85rem; }
.youtube-placeholder code { margin-top: .45rem; padding: .28rem .6rem; border-radius: 6px; color: var(--muted); background: rgba(255,255,255,.75); font: .65rem ui-monospace, monospace; }
.youtube-play { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--blue); box-shadow: 0 4px 12px rgba(26,115,232,.3); }
.youtube-play svg { width: 30px; fill: currentColor; }
.overview-caption { max-width: 760px; margin: 1.45rem auto 0; color: var(--muted); text-align: center; font-size: .9rem; }

.section h2 { margin: 0; font-size: clamp(2.35rem, 5.5vw, 4.5rem); line-height: 1.04; font-weight: 500; letter-spacing: -.06em; }
.abstract-copy { margin-top: 2.7rem; display: grid; gap: 1.35rem; color: #3c4043; font-size: 1.15rem; line-height: 1.7; }
.abstract-copy p { margin: 0; }
.abstract-copy strong { color: var(--blue); font-weight: 600; }
.method-section { background: var(--surface); }
.section-intro { max-width: 760px; margin-bottom: 3.5rem; }
.section-intro > p:last-child { max-width: 650px; margin: 1.1rem 0 0; color: var(--muted); font-size: 1.1rem; }
.method-flow { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.method-flow article { min-height: 330px; padding: 2rem; border-radius: var(--radius); background: white; box-shadow: 0 1px 2px rgba(60,64,67,.12); }
.method-flow article > span { display: block; margin-top: 1.5rem; color: var(--blue); font-size: .7rem; font-weight: 700; }
.method-flow h3 { margin: .4rem 0 .65rem; font-size: 1.3rem; font-weight: 600; letter-spacing: -.025em; }
.method-flow p { margin: 0; color: var(--muted); font-size: .88rem; }
.method-visual { height: 100px; position: relative; overflow: hidden; border-radius: 16px; background: #f8fafd; }
.visual-gaussian i { position: absolute; display: block; width: 86px; height: 34px; border-radius: 50%; background: radial-gradient(ellipse, rgba(26,115,232,.7), rgba(26,115,232,.08) 67%, transparent 70%); }
.visual-gaussian i:nth-child(1) { left: 12%; top: 18%; transform: rotate(-20deg); }
.visual-gaussian i:nth-child(2) { left: 42%; top: 42%; background: radial-gradient(ellipse, rgba(234,67,53,.68), rgba(234,67,53,.07) 67%, transparent 70%); transform: rotate(16deg); }
.visual-gaussian i:nth-child(3) { right: 5%; top: 16%; background: radial-gradient(ellipse, rgba(52,168,83,.63), rgba(52,168,83,.06) 67%, transparent 70%); transform: rotate(-7deg); }
.visual-hit::before { content: ""; position: absolute; width: 92%; height: 2px; left: 4%; top: 50%; background: linear-gradient(90deg, var(--blue), var(--red)); transform: rotate(-8deg); }
.visual-hit i { position: absolute; width: 90px; height: 38px; left: 43%; top: 30%; border: 2px solid var(--green); border-radius: 50%; transform: rotate(22deg); }
.visual-hit i::after { content: ""; position: absolute; width: 10px; height: 10px; left: 28%; top: 60%; border: 3px solid white; border-radius: 50%; background: var(--red); box-shadow: 0 1px 5px rgba(0,0,0,.2); }
.visual-network i { position: absolute; width: 13px; height: 13px; z-index: 2; border-radius: 50%; background: var(--blue); }
.visual-network i:nth-child(1) { left: 12%; top: 45%; background: var(--red); }
.visual-network i:nth-child(2) { left: 45%; top: 22%; }
.visual-network i:nth-child(3) { left: 45%; bottom: 20%; }
.visual-network i:nth-child(4) { right: 12%; top: 45%; background: var(--green); }
.visual-network::before, .visual-network::after { content: ""; position: absolute; width: 70%; height: 1px; left: 15%; top: 50%; background: #9aa0a6; transform: rotate(-18deg); }
.visual-network::after { transform: rotate(18deg); }
.method-summary { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem 1rem; padding: 1.35rem; border-radius: 16px; color: var(--muted); background: var(--blue-pale); font-size: .85rem; }
.method-summary b { color: #9aa0a6; }
.method-summary strong { color: var(--blue); }

.capability-section { padding-bottom: 130px; }
.showcase { display: grid; grid-template-columns: minmax(280px,.72fr) minmax(0,1.55fr); gap: 5rem; align-items: center; padding: 5rem 0; border-top: 1px solid var(--line); }
.showcase-reverse .showcase-copy { order: 2; }
.showcase-reverse .video-slot { order: 1; }
.showcase-reverse { grid-template-columns: minmax(0,1.55fr) minmax(280px,.72fr); }
.showcase-number { display: inline-block; margin-bottom: 2.2rem; color: #9aa0a6; font-size: .72rem; font-weight: 700; }
.showcase-tag { margin-bottom: .65rem; }
.showcase h3, .style-heading h3 { margin: 0 0 1rem; font-size: clamp(1.8rem,3.3vw,3rem); line-height: 1.08; font-weight: 500; letter-spacing: -.045em; }
.showcase-copy > p:last-child, .style-heading > p { margin: 0; color: var(--muted); font-size: .95rem; }
.video-slot { position: relative; overflow: hidden; border-radius: var(--radius); background: #f1f3f4; box-shadow: 0 1px 3px rgba(60,64,67,.18); }
.video-slot::before { content: ""; display: block; padding-top: var(--ratio,56.25%); }
.video-slot::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 25% 30%, rgba(234,67,53,.14), transparent 31%), radial-gradient(ellipse at 74% 67%, rgba(26,115,232,.16), transparent 34%), linear-gradient(145deg,#f8f9fa,#e8eaed); }
.slot-content { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; padding: 1rem; text-align: center; }
.slot-content strong { font-size: 1rem; font-weight: 600; }
.slot-content code { padding: .24rem .5rem; border-radius: 5px; color: var(--muted); background: rgba(255,255,255,.8); font: .62rem ui-monospace, monospace; }
.slot-play { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--blue); box-shadow: 0 3px 10px rgba(26,115,232,.3); }
.slot-play::after { content: ""; width: 0; height: 0; margin-left: 3px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid currentColor; }
.video-slot video { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.style-transfer-block { padding: 5rem 0; border-top: 1px solid var(--line); }
.style-heading { display: grid; grid-template-columns: 70px minmax(260px,.9fr) minmax(280px,1fr); gap: 2rem; align-items: end; margin-bottom: 2.5rem; }
.style-heading .showcase-number { margin: 0; align-self: start; }
.style-heading h3 { margin-bottom: 0; }
.style-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
figure { margin: 0; }
figcaption { padding: .75rem .2rem 0; font-size: .82rem; font-weight: 600; }
figcaption span { color: var(--muted); font-weight: 400; }
.showcase-mesh { border-bottom: 1px solid var(--line); }

.results-section { background: var(--blue); color: white; }
.results-section .section-label { color: #d2e3fc; }
.compact-intro > p:last-child { color: #d2e3fc; }
.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; overflow: hidden; border-radius: var(--radius); background: rgba(255,255,255,.24); }
.metric-grid div { min-height: 190px; display: flex; flex-direction: column; justify-content: center; padding: 1.6rem; background: rgba(255,255,255,.1); }
.metric-grid span { color: #d2e3fc; font-size: .72rem; font-weight: 600; }
.metric-grid strong { margin: .2rem 0; font-size: clamp(2.4rem,5vw,4rem); line-height: 1; font-weight: 500; letter-spacing: -.06em; }
.metric-grid small { color: #d2e3fc; font-size: .7rem; }
.metric-text strong { font-size: clamp(1.8rem,4vw,3rem); }
.result-footnote { margin: 1.5rem 0 0; color: #d2e3fc; font-size: .76rem; }

.citation-section h2 { margin-bottom: 2.5rem; }
.bibtex-wrap { position: relative; }
.bibtex-wrap pre { overflow-x: auto; margin: 0; padding: 2rem; border-radius: 18px; color: #e8eaed; background: #202124; font: .78rem/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.copy-button { position: absolute; top: .8rem; right: .8rem; display: inline-flex; align-items: center; gap: .4rem; padding: .48rem .7rem; border: 1px solid #5f6368; border-radius: 999px; color: white; background: #303134; cursor: pointer; }
.copy-button:hover { background: #3c4043; }
.copy-button.copied { color: #0d652d; background: #ceead6; border-color: #ceead6; }
footer { padding: 2.2rem 0; color: var(--muted); background: var(--surface); font-size: .75rem; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; }
.footer-logo { color: var(--ink); font-size: 1rem; }

.side-nav { position: fixed; z-index: 90; right: 18px; top: 50%; display: flex; flex-direction: column; gap: .55rem; padding-left: 13px; opacity: 0; pointer-events: none; transform: translateY(-50%) translateX(8px); transition: opacity .22s, transform .22s; }
.side-nav.visible { opacity: 1; pointer-events: auto; transform: translateY(-50%); }
.side-nav-track { position: absolute; left: 3px; top: 7px; bottom: 7px; width: 1px; overflow: hidden; background: var(--line); }
.side-nav-track span { position: absolute; inset: 0 0 auto; height: 0; background: var(--blue); }
.side-nav a { position: relative; min-height: 20px; display: flex; align-items: center; color: var(--muted); text-decoration: none; }
.side-dot { position: absolute; left: -13px; width: 7px; height: 7px; border: 1px solid #9aa0a6; border-radius: 50%; background: white; transition: transform .2s, background .2s; }
.side-label { padding: .23rem .5rem; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.92); box-shadow: 0 2px 6px rgba(60,64,67,.14); opacity: 0; transform: translateX(5px); font-size: .65rem; white-space: nowrap; transition: opacity .18s, transform .18s; }
.side-nav:hover .side-label, .side-nav a.active .side-label, .side-nav a:focus .side-label { opacity: 1; transform: none; }
.side-nav a.active .side-dot { border-color: var(--blue); background: var(--blue); transform: scale(1.45); }
.side-nav a.active .side-label { color: var(--blue); }
.to-top { position: fixed; z-index: 95; right: 20px; bottom: 20px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; color: white; background: var(--blue); box-shadow: 0 3px 8px rgba(60,64,67,.28); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(7px); transition: opacity .2s, transform .2s; }
.to-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 2; }

@media (max-width: 1280px) { .side-nav { display: none; } }
@media (max-width: 860px) {
  .topbar { grid-template-columns: 1fr auto; }
  .topbar-nav { display: none; }
  .hero { min-height: 800px; }
  .method-flow { grid-template-columns: 1fr; }
  .method-flow article { min-height: 260px; }
  .showcase { grid-template-columns: 1fr; gap: 2rem; }
  .showcase-reverse { grid-template-columns: 1fr; }
  .showcase-reverse .showcase-copy, .showcase-reverse .video-slot { order: initial; }
  .style-heading { grid-template-columns: 55px 1fr; }
  .style-heading > p { grid-column: 2; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .container, .container-wide, .text-container { width: min(100% - 28px, 1200px); }
  .topbar { height: 60px; padding: 0 16px; }
  .header-paper { font-size: .75rem; }
  .paper-thumb { width: 28px; height: 34px; border-radius: 4px; }
  .hero { min-height: 760px; padding-top: 100px; }
  .wordmark { height: 120px; margin-bottom: -12px; }
  .hero-subtitle { font-size: 2.25rem; }
  .authors { font-size: .82rem; }
  .authors > span:not(:last-child)::after { display: none; }
  .section { padding: 78px 0; }
  .overview { padding-top: 12px; }
  .youtube-frame { padding: 5px; border-radius: 18px; }
  .youtube-frame iframe { border-radius: 14px; }
  .youtube-placeholder { border-radius: 14px; }
  .youtube-placeholder strong { font-size: 1rem; }
  .youtube-placeholder span:not(.youtube-play), .youtube-placeholder code { display: none; }
  .youtube-play { width: 50px; height: 50px; }
  .section h2 { font-size: 2.55rem; }
  .abstract-copy { font-size: 1rem; }
  .method-flow article { min-height: 245px; padding: 1.35rem; }
  .method-summary { justify-content: flex-start; }
  .showcase, .style-transfer-block { padding: 3.5rem 0; }
  .showcase-number { margin-bottom: 1.3rem; }
  .style-heading { display: block; }
  .style-heading .showcase-number { margin-bottom: 1.3rem; }
  .style-heading > p { margin-top: 1rem; }
  .style-grid { grid-template-columns: 1fr; gap: 2rem; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-grid div { min-height: 140px; }
  .bibtex-wrap pre { padding: 4rem 1rem 1.2rem; font-size: .66rem; }
  .footer-inner { grid-template-columns: 1fr; gap: .4rem; }
  .to-top { right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
