/* Leo's founder portfolio. Editorial typography, real portraits, quiet surfaces. */
:root {
  --paper: #f6f5f0;
  --ink: #20382f;
  --body: #4d5c54;
  --muted: #657269;
  --line: #d8ddd5;
  --accent: #a8472d;
  --green: #20382f;
  --white: #fffefa;
  --font: "Leo Manrope", "Leo Noto SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --body-size: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: var(--body-size); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { background: #e9c4b2; color: var(--ink); }
img { display: block; max-width: 100%; }
figure { margin: 0; }
.section-wrap { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; background: var(--ink); color: white; padding: 14px 20px; z-index: 100; }
.skip-link:focus { top: 12px; }
.header { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-inline: max(56px, calc((100vw - 1280px) / 2)); border-bottom: 1px solid var(--line); background: rgb(246 245 240 / .97); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px); }
.wordmark { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.nav-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.personal-wordmark { width: 156px; height: auto; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.nav a { padding: 14px 0; position: relative; color: var(--body); white-space: nowrap; }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a.active::after { content: ""; position: absolute; left: 0; bottom: 7px; height: 2px; width: 18px; background: var(--accent); }
.header-actions { display: flex; gap: 18px; align-items: center; }
.language-toggle { background: transparent; min-height: 44px; min-width: 50px; padding: 10px 0; font-size: 14px; font-weight: 500; }
.language-toggle span { margin-left: 5px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: transparent; }
.menu-toggle span { display: block; width: 24px; height: 1px; background: var(--ink); margin: 6px 0; transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.hero { display: grid; grid-template-columns: 1.25fr 1fr; column-gap: 64px; row-gap: 32px; padding-top: 48px; }
.hero-copy { align-self: center; padding: 8px 0 20px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; line-height: 1.6; letter-spacing: 1.3px; font-weight: 500; color: var(--muted); }
.orange-dot { width: 6px; height: 6px; display: inline-block; flex-shrink: 0; border-radius: 50%; background: var(--accent); }
h1 { margin: 30px 0 26px; font-size: clamp(44px, 4.35vw, 64px); line-height: 1.3; font-weight: 600; letter-spacing: -2.2px; }
.world-word { white-space: nowrap; }
.world-word svg { display: none; }
.hero-description { font-size: var(--body-size); color: var(--body); line-height: 1.95; margin: 0 0 26px; }
.identity { display: flex; flex-direction: column; gap: 7px; color: var(--ink); font-size: 15px; line-height: 1.8; }
.identity span { display: flex; align-items: center; gap: 10px; }
.identity span::before { content: ""; width: 12px; height: 1px; background: var(--accent); flex-shrink: 0; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 32px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 32px; padding: 17px 24px; min-height: 58px; font-size: 15px; font-weight: 500; transition: background .2s; }
.button-dark { background: var(--green); color: var(--paper); }
.button:hover { background: #355047; }
.button > span:last-child, .text-link > span:last-child { font-size: 24px; line-height: 1; }
.text-link { display: flex; align-items: center; gap: 20px; min-height: 48px; font-size: 15px; padding: 10px 0; border-bottom: 1px solid #aab4aa; }
.portrait-panel { align-self: center; min-width: 0; }
.portrait-frame { aspect-ratio: 4 / 4.7; overflow: hidden; background: #d7c6b4; }
.hero-portrait { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.portrait-panel > figcaption { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 18px; color: var(--muted); font-size: 13px; }
.portrait-signature { width: 110px; height: auto; }
.hero-bottom { grid-column: 1 / -1; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0 30px; color: var(--muted); font-size: 12px; letter-spacing: 1px; }
.hero-bottom a { display: flex; align-items: center; gap: 26px; min-height: 44px; font-size: 14px; letter-spacing: 0; }
.hero-bottom a > span:last-child { font-size: 23px; }
.section-label { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--muted); font-size: 14px; margin-bottom: 42px; }
.section-label > span:first-child { font-size: 12px; letter-spacing: 1.5px; font-weight: 500; }
h2 { margin: 0; font-size: clamp(32px, 3.1vw, 46px); line-height: 1.45; font-weight: 500; letter-spacing: -1.4px; }
.about, .ventures, .notes { padding-block: 88px; border-top: 1px solid var(--line); }
.about-main { display: grid; grid-template-columns: .85fr 1.15fr; gap: 96px; margin-bottom: 58px; }
.about-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.about-portrait { width: 100%; margin-top: 6px; }
.about-portrait img { width: 100%; height: auto; aspect-ratio: 4 / 4.5; object-fit: cover; object-position: 50% 14%; }
.about-portrait figcaption { font-size: 12px; letter-spacing: 1.5px; color: var(--muted); margin-top: 16px; }
.about-photo-note { font-size: 17px; line-height: 1.85; margin: 0; color: var(--body); }
.about-body { min-width: 0; padding-top: 3px; }
.about-body > p, .founder-milestones p { font-size: var(--body-size); line-height: 1.95; color: var(--body); margin: 0; }
.founder-milestones { list-style: none; padding: 0; margin: 32px 0 0; }
.founder-milestones li { display: grid; gap: 12px; padding: 28px 0 30px; border-top: 1px solid var(--line); }
.milestone-year { font-size: 13px; line-height: 1.5; letter-spacing: 1px; font-weight: 500; color: var(--accent); }
.founder-milestones h3 { margin: 0 0 13px; font-size: 24px; line-height: 1.5; letter-spacing: -.65px; font-weight: 500; text-wrap: pretty; }
.about-body .achievement-context { border-top: 1px solid var(--line); padding-top: 20px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.principles { display: flex; align-items: center; gap: 34px; border-top: 1px solid var(--line); padding-top: 26px; font-size: 15px; line-height: 1.8; }
.principles > span { display: flex; align-items: center; gap: 10px; }
.principles > span::before { content: "+"; color: var(--accent); font-size: 18px; }
.principles .principles-end { font-size: 12px; letter-spacing: .8px; color: var(--muted); margin-left: auto; }
.principles .principles-end::before { display: none; }
.section-heading { display: flex; justify-content: space-between; gap: 48px; margin-bottom: 48px; }
.section-heading p { font-size: 17px; line-height: 1.9; color: var(--body); margin: 4px 0 0; flex-shrink: 0; }
.venture-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.venture-card { border-top: 1px solid #aebaae; padding: 24px 0 0; display: flex; flex-direction: column; min-width: 0; }
.venture-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; color: var(--muted); font-size: 12px; letter-spacing: 1px; }
.venture-number { font-size: 15px; }
.logo-stage { display: flex; align-items: center; height: 126px; margin-top: 16px; }
.logo-stage img { width: 190px; height: auto; object-fit: contain; max-height: 110px; }
.koala-logo img { width: 214px; }
.venture-card h3 { font-weight: 500; font-size: 29px; line-height: 1.4; letter-spacing: -.7px; margin: 18px 0 8px; }
.venture-role { font-size: 15px; line-height: 1.7; color: var(--accent); margin: 0 0 22px; }
.venture-description { font-size: var(--body-size); line-height: 1.95; color: var(--body); margin: 0; flex: 1; }
.venture-tags { display: flex; flex-wrap: wrap; gap: 0; margin: 24px 0; color: var(--muted); font-size: 14px; }
.venture-tags span + span::before { content: "/"; padding-inline: 13px; color: #8a958c; }
.venture-link { display: flex; justify-content: space-between; align-items: center; min-height: 64px; border-top: 1px solid var(--line); font-size: 16px; padding: 16px 0; }
.venture-link > span:last-child { font-size: 26px; transition: transform .2s; }
.venture-link:hover > span:last-child { transform: translate(3px, -3px); }
.note-list { border-top: 1px solid var(--line); }
.note-row { background: transparent; display: grid; grid-template-columns: 50px minmax(0, 1fr) 48px; gap: 26px; align-items: center; width: 100%; text-align: left; padding: 36px 0; border-bottom: 1px solid var(--line); }
.note-index { align-self: start; font-size: 14px; color: var(--muted); padding-top: 4px; }
.note-content { display: flex; flex-direction: column; }
.note-category { font-size: 12px; line-height: 1.6; letter-spacing: 1px; color: var(--muted); margin-bottom: 14px; }
.note-title { font-size: 27px; font-weight: 500; line-height: 1.6; letter-spacing: -.7px; }
.note-summary { font-size: 17px; line-height: 1.85; color: var(--body); margin-top: 10px; }
.note-arrow { border: 1px solid #afbaaf; border-radius: 50%; width: 48px; height: 48px; display: grid; place-items: center; font-size: 27px; transition: background .2s, color .2s; }
.note-row:hover .note-arrow { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.contact { background: var(--green); color: var(--paper); }
.contact-inner { padding-block: 72px 36px; }
.contact .section-label { color: #c1ccc3; }
.contact-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 70px; margin-bottom: 48px; }
.contact-heading h2 { font-size: clamp(38px, 3.8vw, 56px); line-height: 1.4; }
.contact-heading p { font-size: var(--body-size); line-height: 1.95; color: #cbd4cb; margin: 10px 0 0; }
.contact-links { display: grid; grid-template-columns: 1.2fr 1.15fr .65fr; gap: 28px; border-top: 1px solid #5e7568; border-bottom: 1px solid #5e7568; }
.contact-item { background: transparent; color: var(--paper); text-align: left; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 30px 0; }
.contact-label { font-size: 14px; line-height: 1.7; color: #c1ccc3; }
.contact-value { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.6; letter-spacing: -.45px; overflow-wrap: anywhere; }
.contact-value > span { font-size: 27px; flex-shrink: 0; }
.contact-item:hover .contact-value { color: #ebc8b2; }
.contact-bottom { display: flex; justify-content: space-between; align-items: center; gap: 30px; color: #c1ccc3; margin-top: 24px; font-size: 12px; line-height: 1.9; letter-spacing: .65px; }
.contact-bottom a { font-size: 14px; letter-spacing: 0; min-height: 44px; display: inline-flex; align-items: center; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-block: 32px; }
.footer-signature { display: inline-flex; align-items: center; min-height: 44px; }
.footer-signature .personal-wordmark { width: 138px; }
.footer p { font-size: 13px; line-height: 1.8; color: var(--muted); }
.back-top { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; color: var(--body); }
.toast { position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 20px); max-width: calc(100% - 32px); padding: 16px 24px; background: var(--white); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 8px 30px #0002; font-size: 16px; line-height: 1.7; text-align: center; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 50; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.note-dialog { width: min(820px, calc(100% - 40px)); max-height: 88dvh; border: 1px solid var(--line); padding: 0; background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px #0002; }
.note-dialog::backdrop { background: #142c22b8; backdrop-filter: blur(6px); }
.dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 32px; border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: 1px; position: sticky; top: 0; background: var(--paper); z-index: 1; }
.dialog-header button { background: transparent; width: 44px; height: 44px; line-height: 1; font-size: 32px; }
.dialog-content { padding: 38px 64px 46px; }
.dialog-content .dialog-eyebrow { font-size: 12px; letter-spacing: 1.5px; color: var(--accent); margin: 0 0 22px; }
.dialog-content h2 { font-size: 34px; line-height: 1.55; margin: 0 0 32px; }
.dialog-content p { font-size: var(--body-size); line-height: 1.95; color: var(--body); margin: 0 0 24px; }
.dialog-content .dialog-signature { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 34px; margin-bottom: 0; font-size: 15px; color: var(--muted); }
body.dialog-open { overflow: hidden; }
html[lang="en"] h1 { font-size: clamp(46px, 4.5vw, 66px); line-height: 1.13; letter-spacing: -2.8px; }
html[lang="en"] h2 { line-height: 1.3; letter-spacing: -1.5px; }
html[lang="en"] .hero-description br:last-of-type { display: none; }
html[lang="en"] .founder-milestones h3 { line-height: 1.4; }
html[lang="en"] .note-title { line-height: 1.4; }
@media (max-width: 1100px) {
  .section-wrap { width: calc(100% - 72px); }
  .header { padding-inline: 36px; }
  .nav { gap: 22px; font-size: 14px; }
  .wordmark { gap: 9px; }
  .personal-wordmark { width: 138px; }
  .hero { gap: 32px; padding-top: 40px; grid-template-columns: 1.2fr 1fr; }
  h1 { font-size: 44px; letter-spacing: -1.6px; }
  html[lang="en"] h1 { font-size: 48px; }
  .about-main { gap: 56px; }
  .principles .principles-end { display: none; }
  .section-heading { flex-direction: column; gap: 18px; }
  .venture-grid { gap: 40px; }
  .contact-heading { gap: 40px; }
  .contact-links { grid-template-columns: 1fr 1fr; column-gap: 36px; }
  .contact-item:last-child { grid-column: 1 / -1; border-top: 1px solid #5e7568; width: 100%; }
  .contact-item:last-child .contact-value { max-width: 260px; }
}
@media (max-width: 900px) and (min-width: 761px) {
  .nav-avatar { display: none; }
  .hero { column-gap: 26px; grid-template-columns: 1.15fr 1fr; }
  h1 { font-size: 37px; }
  html[lang="en"] h1 { font-size: 42px; }
  .hero-description br:not(:first-of-type) { display: none; }
  .identity { font-size: 14px; }
  .hero-actions { gap: 22px; }
  .button { padding-inline: 18px; gap: 18px; }
  .about-main { gap: 40px; grid-template-columns: .8fr 1.2fr; }
  h2 { font-size: 32px; }
  .section-heading p { flex-shrink: 1; }
  .contact-heading { flex-direction: column; gap: 20px; }
}
@media (max-width: 760px) {
  :root { --body-size: 17px; }
  html { scroll-padding-top: 94px; }
  .section-wrap { width: calc(100% - 48px); }
  .header { height: 76px; padding-inline: 24px; gap: 12px; }
  .nav-avatar { display: none; }
  .personal-wordmark { width: 142px; }
  .header-actions { gap: 10px; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 20px 24px 26px; border-bottom: 1px solid var(--line); background: var(--paper); font-size: 18px; }
  .nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: 14px 0; }
  .nav a.active::after { bottom: 9px; }
  .hero { grid-template-columns: 1fr; padding-top: 38px; gap: 34px; }
  .hero-copy { padding: 0; }
  .eyebrow { font-size: 11px; letter-spacing: .8px; gap: 8px; }
  h1 { font-size: clamp(30px, 8.45vw, 43px); line-height: 1.4; letter-spacing: -1.2px; margin: 24px 0; }
  html[lang="en"] h1 { font-size: clamp(38px, 10.7vw, 54px); line-height: 1.14; letter-spacing: -1.7px; }
  .hero-description { line-height: 1.95; margin-bottom: 23px; }
  .hero-description br:not(:first-of-type) { display: none; }
  .identity { font-size: 15px; line-height: 1.8; gap: 5px; }
  .hero-actions { gap: 16px; margin-top: 28px; }
  .button { font-size: 15px; gap: 16px; padding: 16px; min-height: 56px; flex-shrink: 0; }
  .button > span:first-child { white-space: nowrap; }
  .text-link { font-size: 15px; gap: 10px; white-space: nowrap; }
  .portrait-panel { width: 100%; }
  .portrait-frame { aspect-ratio: 4 / 4.6; }
  .portrait-panel > figcaption { font-size: 13px; padding-top: 16px; }
  .portrait-signature { width: 106px; }
  .hero-bottom { padding: 14px 0 28px; flex-wrap: wrap; gap: 10px; }
  .hero-bottom > span { font-size: 11px; letter-spacing: .55px; }
  .hero-bottom a { margin-left: auto; }
  .section-label { margin-bottom: 30px; font-size: 14px; }
  .section-label > span:first-child { font-size: 11px; letter-spacing: 1px; }
  .about, .ventures, .notes { padding-block: 56px; }
  h2 { font-size: clamp(29px, 7.8vw, 38px); line-height: 1.5; letter-spacing: -1px; }
  html[lang="en"] h2 { font-size: 34px; line-height: 1.3; }
  .about-main { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
  .about-heading { gap: 24px; }
  .about-portrait { margin-top: 0; }
  .about-portrait img { aspect-ratio: 1.1; object-position: 50% 12%; }
  .about-photo-note { font-size: 16px; }
  .about-body { padding-top: 0; }
  .founder-milestones { margin-top: 28px; }
  .founder-milestones li { padding: 24px 0 27px; gap: 12px; }
  .founder-milestones h3 { font-size: 22px; line-height: 1.6; letter-spacing: -.6px; margin-bottom: 12px; }
  .about-body .achievement-context { font-size: 14px; }
  .principles { flex-wrap: wrap; gap: 10px 24px; font-size: 15px; }
  .section-heading { gap: 16px; margin-bottom: 34px; }
  .section-heading p { font-size: 17px; margin: 0; }
  .venture-grid { grid-template-columns: 1fr; gap: 40px; }
  .venture-top { font-size: 11px; }
  .logo-stage { height: 113px; margin-top: 12px; }
  .logo-stage img { width: 178px; }
  .koala-logo img { width: 202px; }
  .venture-card h3 { font-size: 28px; margin-top: 12px; }
  .venture-description { line-height: 1.95; }
  .venture-tags { margin-block: 22px; }
  .note-row { grid-template-columns: minmax(0, 1fr) 44px; gap: 18px; padding-block: 28px; }
  .note-index { display: none; }
  .note-category { font-size: 11px; margin-bottom: 12px; letter-spacing: .8px; }
  .note-title { font-size: 23px; line-height: 1.65; letter-spacing: -.5px; }
  .note-summary { font-size: 17px; line-height: 1.85; }
  .note-arrow { width: 44px; height: 44px; font-size: 24px; }
  .contact-inner { padding-block: 52px 28px; }
  .contact-heading { flex-direction: column; gap: 20px; margin-bottom: 34px; }
  .contact-heading h2 { font-size: clamp(34px, 9vw, 44px); }
  .contact-heading p { font-size: 17px; margin: 0; }
  .contact-heading p br:not(:last-of-type) { display: none; }
  .contact-links { grid-template-columns: 1fr; gap: 0; }
  .contact-item { padding-block: 24px; border-bottom: 1px solid #5e7568; gap: 12px; }
  .contact-item:last-child { grid-column: auto; border: 0; }
  .contact-item:last-child .contact-value { max-width: none; }
  .contact-value { font-size: clamp(19px, 5.45vw, 24px); letter-spacing: -.6px; }
  .contact-bottom { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 11px; letter-spacing: .4px; }
  .footer { flex-wrap: wrap; gap: 18px; padding-block: 26px; }
  .footer p { width: 100%; margin: 0; order: 3; }
  .back-top { margin-left: auto; }
  .note-dialog { width: calc(100% - 24px); max-height: 90dvh; }
  .dialog-header { padding: 12px 20px; font-size: 11px; }
  .dialog-content { padding: 28px 24px 32px; }
  .dialog-content h2 { font-size: 27px; line-height: 1.55; margin-bottom: 26px; }
  .dialog-content p { font-size: 17px; line-height: 1.95; }
  .dialog-content .dialog-eyebrow { font-size: 11px; }
  .dialog-content .dialog-signature { font-size: 14px; }
}
@media (max-width: 350px) {
  .section-wrap { width: calc(100% - 40px); }
  .header { padding-inline: 20px; }
  .personal-wordmark { width: 124px; }
  .header-actions { gap: 4px; }
  .hero-actions { gap: 16px; }
  .button { padding-inline: 12px; gap: 10px; font-size: 14px; flex-shrink: 0; }
  .button > span:first-child { white-space: nowrap; }
  .button > span:last-child, .text-link > span:last-child { font-size: 22px; }
  .text-link { gap: 6px; font-size: 14px; white-space: nowrap; }
  .eyebrow { font-size: 10px; letter-spacing: .6px; }
  .contact-value { font-size: 19px; }
  .dialog-content { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Domestic deployment: verified parent-site ICP reference. */
.footer .icp-link { display: block; width: fit-content; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.footer .icp-link:hover { text-decoration: underline; }
