/* Hitup homepage. Light pink by brand choice. Radius: panels 28px, buttons pills.
   Layers: content 0, sticky navigation 20, skip link 30. */
:root { color-scheme: light; --paper: #fff8fa; --ink: #382b33; --muted: #78636c; --rose: #a83e62; --rose-dark: #8c2e50; --pink: #f6d5df; --line: #e8dce1; --radius: 28px; --ease: cubic-bezier(.2,.7,.2,1); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Avenir Next", Avenir, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body[data-lang="zh"] [data-lang="en"], body[data-lang="en"] [data-lang="zh"], [hidden] { display: none !important; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
button, h1, h2, h3, h4, p, figure { margin: 0; }
p { line-height: 1.75; }
em { font-style: normal; color: var(--rose); }
.shell { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 30; padding: 12px 20px; border-radius: 12px; color: var(--paper); background: var(--rose-dark); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,248,250,.94); border-bottom: 1px solid rgba(232,220,225,.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.nav-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; gap: 11px; align-items: center; font-size: 19px; font-weight: 750; letter-spacing: -.035em; flex-shrink: 0; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; background: var(--rose); color: #fff8fa; border-radius: 50%; font-size: 24px; font-weight: 750; }
.brand small { display: block; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 21px; }
.nav-links > a { padding: 16px 0; font-size: 13px; color: var(--muted); position: relative; white-space: nowrap; }
.nav-links > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 2px; background: var(--rose); transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease); }
.nav-links > a:hover, .nav-links > a[aria-current] { color: var(--rose-dark); }
.nav-links > a:hover::after, .nav-links > a[aria-current]::after { transform: scaleX(1); }
.lang-toggle { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; margin-left: 5px; }
.lang-toggle button { min-width: 39px; min-height: 33px; padding: 4px 9px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 650; }
.lang-toggle button.active { color: var(--rose-dark); background: #f7e5eb; }
.menu-toggle { display: none; }
.founder-story { padding-top: 60px; }
.founder-grid { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: clamp(44px,6vw,86px); }
.founder-copy { padding: 14px 0 24px; min-width: 0; }
.eyebrow { font-size: 11px; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; color: var(--rose); margin-bottom: 26px; }
h1 { font-size: clamp(54px,6.05vw,84px); line-height: 1.06; letter-spacing: -.065em; font-weight: 600; }
body[data-lang="zh"] h1 { font-size: clamp(40px,4.6vw,64px); letter-spacing: -.06em; line-height: 1.25; }
.founder-intro { max-width: 460px; margin-top: 28px; font-size: 17px; color: var(--muted); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 32px; }
.button { min-height: 52px; display: inline-flex; justify-content: center; align-items: center; gap: 28px; padding: 13px 23px; border-radius: 999px; font-size: 13px; font-weight: 650; white-space: nowrap; transition: background .2s, transform .2s var(--ease), box-shadow .2s; }
.primary { background: var(--rose); color: #fff8fa; box-shadow: 0 7px 18px rgba(168,62,98,.12); }
.primary:hover { background: var(--rose-dark); box-shadow: 0 10px 24px rgba(168,62,98,.2); transform: translateY(-2px); }
.button:active, button:active { transform: scale(.98); }
.button > span:last-child, .quiet-link > span:last-child, .text-link > span:last-child, .email-link > span:last-child { transition: transform .25s var(--ease); }
.button:hover > span:last-child, .text-link:hover > span:last-child, .email-link:hover > span:last-child { transform: translate(3px,-3px); }
.quiet-link { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; font-size: 13px; font-weight: 650; }
.quiet-link:hover { color: var(--rose); }
.hero-photo { overflow: hidden; border-radius: 150px 28px 28px 28px; background: var(--pink); aspect-ratio: 1.02; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.founder-note { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(44px,6vw,86px); margin-top: 46px; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); align-items: start; scroll-margin-top: 30px; }
.founder-signature { display: flex; align-items: center; gap: 14px; }
.monogram { width: 46px; height: 46px; display: grid; place-items: center; background: #f3dde5; color: var(--rose); border-radius: 50%; font-size: 15px; font-weight: 650; }
.founder-signature strong { display: block; font-size: 16px; font-weight: 650; }
.founder-signature div > span { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; font-size: 15px; font-weight: 650; }
summary::-webkit-details-marker { display: none; }
summary small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; font-weight: 400; }
.detail-plus { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--rose); font-size: 22px; font-weight: 400; flex-shrink: 0; transition: transform .25s; }
details[open] .detail-plus { transform: rotate(45deg); }
.letter-content { padding: 25px 0 5px; font-size: 15px; color: var(--muted); }
.letter-content p + p { margin-top: 18px; }
.studio-hero { padding: 88px 0 70px; }
.studio-intro { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(44px,6vw,86px); align-items: center; }
.studio-intro h2 { font-size: clamp(27px,3vw,40px); font-weight: 550; line-height: 1.3; letter-spacing: -.045em; }
.studio-intro p { color: var(--muted); font-size: 15px; max-width: 430px; }
.portfolio-section { padding: 34px 0 88px; }
.section-heading { margin-bottom: 30px; }
.section-heading h2 { font-size: clamp(30px,3.2vw,44px); line-height: 1.2; letter-spacing: -.05em; font-weight: 600; max-width: 680px; text-wrap: balance; }
.section-heading > p { color: var(--muted); font-size: 14px; margin-top: 14px; }
.product-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 26px; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button { padding: 10px 15px; min-height: 42px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-size: 12px; transition: background .2s, color .2s; }
.filters button:hover { border-color: var(--rose); }
.filters button[aria-pressed="true"] { background: var(--rose); border-color: var(--rose); color: #fff8fa; }
.filter-count { font-size: 10px; margin-left: 8px; opacity: .8; }
.filter-result { font-size: 11px; color: var(--muted); }
.portfolio-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
/* Balance six products; off-court filtering returns to an even two-column grid. */
.portfolio-grid:has(.featured-product:not([hidden])) > .wide-product { grid-column: 1 / -1; }
.portfolio-card { border-radius: var(--radius); position: relative; min-width: 0; border: 1px solid rgba(110,61,82,.07); }
.featured-product { display: grid; grid-template-columns: 1.08fr 1fr; grid-column: 1 / -1; min-height: 560px; overflow: hidden; background: #f3dbe3; }
.featured-copy { padding: clamp(30px,4vw,55px); display: flex; flex-direction: column; align-items: flex-start; }
.product-identity { display: flex; gap: 15px; align-items: center; }
.product-identity > img { border-radius: 19px; width: 60px; height: 60px; }
.product-identity h3 { font-size: 27px; font-weight: 650; letter-spacing: -.04em; margin-top: 6px; }
.status { display: flex; gap: 6px; align-items: center; color: #654951; font-size: 10px; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: var(--rose); }
.featured-copy h4 { font-size: clamp(34px,4vw,50px); font-weight: 600; letter-spacing: -.05em; line-height: 1.14; margin-top: 32px; }
.featured-copy > p { color: #715360; font-size: 15px; margin-top: 21px; max-width: 385px; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; font-size: 13px; font-weight: 650; }
.featured-copy .text-link { margin-top: 20px; }
.download-links { gap: 10px; margin-top: 24px; }
.store-link { display: grid; justify-items: start; gap: 3px; padding: 12px 18px; border: 1px solid #d9adbd; border-radius: 16px; background: var(--paper); color: var(--rose-dark); }
.store-link small { font-size: 10px; font-weight: 500; }
.store-link strong { font-size: 16px; font-weight: 650; }
.store-link:hover { background: #fff; border-color: var(--rose); transform: translateY(-2px); }
.text-link:hover { color: var(--rose); }
.screenshot-stage { display: grid; place-items: center; background: #f0c6d4; position: relative; padding: 40px; }
.screenshot-stage::before { content: ""; position: absolute; width: 84%; aspect-ratio: 1; border: 1px solid rgba(255,248,250,.7); border-radius: 50%; pointer-events: none; }
.screenshot-stage img { position: relative; width: 232px; height: auto; border-radius: 28px; border: 5px solid #fff7fa; box-shadow: 0 20px 45px rgba(119,57,80,.15); background: #f4f8ee; }
.screenshot-stage[aria-busy="true"] img { opacity: .6; }
.screenshot-controls { display: flex; gap: 5px; flex-wrap: wrap; margin-top: auto; padding-top: 24px; }
.screenshot-controls button { min-height: 40px; border: 1px solid transparent; background: transparent; color: #715360; border-radius: 999px; padding: 7px 15px; font-size: 12px; }
.screenshot-controls button[aria-pressed="true"] { background: #fff8fa; color: var(--rose-dark); border-color: #eac4d1; }
.screenshot-controls button:hover { background: rgba(255,248,250,.65); }
.featured-copy .preview-caption { font-size: 10px; color: #795867; margin-top: 11px; }
.preview-status:empty { display: none; }
.featured-copy .preview-status { font-size: 12px; color: var(--rose-dark); }
.small-product { padding: 28px 32px; min-height: 355px; display: flex; align-items: flex-start; flex-direction: column; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.small-product:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(98,56,74,.08); }
.rolling-card { background: #eaf0e9; }
.reading-card { background: #edeaf4; }
.notebook-card { background: #edf0f5; }
.kitty-product { background: #f9eee1; }
.card-top { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.product-category { font-size: 12px; color: #655663; }
.platform { font-size: 10px; color: #70616d; }
.product-icon { width: 66px; height: 66px; border-radius: 17px; margin-bottom: 20px; box-shadow: 0 9px 20px rgba(71,46,59,.08); transition: transform .35s var(--ease); }
.small-product:hover .product-icon { transform: rotate(-4deg); }
.small-product h3 { font-size: 27px; line-height: 1.2; letter-spacing: -.04em; font-weight: 600; }
.small-product p { margin: 14px 0 18px; color: #6d6069; font-size: 14px; max-width: 430px; }
.small-product .text-link { margin-top: auto; width: 100%; border-top: 1px solid rgba(110,61,82,.12); padding-top: 16px; }
.studio-principles { padding: 80px 0; background: #f9eff3; }
.principles-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 46px; margin-top: 42px; }
.principles-grid article { padding-top: 22px; border-top: 1px solid #ddc8d1; }
.principle-index { font-size: 12px; color: var(--rose); font-variant-numeric: tabular-nums; }
.principles-grid h3 { font-size: 19px; font-weight: 600; margin: 24px 0 13px; letter-spacing: -.02em; }
.principles-grid p { font-size: 14px; color: var(--muted); }
.studio-contact { padding: 80px 0; }
.contact-panel { background: #f3d1dd; border-radius: var(--radius); padding: 54px; display: grid; grid-template-columns: 1fr .95fr; gap: 70px; align-items: center; }
.contact-panel h2 { font-size: clamp(36px,4.2vw,55px); line-height: 1.12; font-weight: 550; letter-spacing: -.055em; }
.contact-copy p { color: #70505e; font-size: 14px; max-width: 380px; }
.contact-actions { margin-top: 24px; }
.email-link { display: inline-flex; align-items: center; gap: 16px; font-size: clamp(15px,1.6vw,20px); font-weight: 600; border-bottom: 1px solid var(--rose); padding-bottom: 7px; }
.copy-email { display: block; min-height: 40px; padding: 5px 0; margin-top: 7px; background: transparent; border: 0; color: var(--rose-dark); font-size: 11px; }
.copy-email:hover { text-decoration: underline; }
.copy-status { min-height: 20px; font-size: 11px !important; }
.footer { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding: 28px 0 40px; }
.footer-brand { font-size: 16px; }
.footer .brand-mark { width: 30px; height: 30px; font-size: 19px; }
.footer p { font-size: 10px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 23px; font-size: 11px; color: var(--muted); }
.footer a:hover { color: var(--rose); }
@media (prefers-reduced-motion: no-preference) {
  .founder-copy { animation: arrival .7s var(--ease) both; }
  .hero-photo { animation: arrival .85s .08s var(--ease) both; }
  .reveal-pending { opacity: 0; transform: translateY(18px); }
  [data-reveal] { transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow .25s; }
  @keyframes arrival { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 1080px) {
  .shell { width: calc(100% - 64px); }
  .nav-links { gap: 16px; }
  .brand { font-size: 17px; }
  .nav-links > a { font-size: 12px; }
  .founder-grid, .founder-note, .studio-intro { gap: 40px; }
  .featured-copy { padding: 34px; }
  .contact-panel { gap: 35px; padding: 40px; }
}
@media (max-width: 900px) {
  .nav-inner { min-height: 72px; flex-wrap: wrap; gap: 0; }
  .nav-links { width: 100%; flex-wrap: wrap; padding: 15px 0 20px; }
  .home-enhanced .menu-toggle { display: flex; gap: 12px; align-items: center; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; background: transparent; color: var(--ink); font-size: 12px; }
  .menu-glyph { width: 16px; height: 10px; border-block: 1.5px solid currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] .menu-glyph { transform: rotate(90deg); }
  .home-enhanced .nav-links { display: none; }
  .home-enhanced .nav-links.is-open { display: flex; }
  .nav-links > a { min-height: 44px; padding: 13px; }
  h1 { font-size: clamp(46px,6.4vw,60px); }
  body[data-lang="zh"] h1 { font-size: clamp(34px,4.7vw,46px); }
  .founder-intro { font-size: 15px; }
  .hero-photo { aspect-ratio: .79; border-top-left-radius: 110px; }
  .actions { gap: 20px; }
  .button { padding-inline: 20px; gap: 16px; }
  .featured-product { grid-template-columns: 1fr 1fr; }
  .featured-copy { padding: 30px; }
  .product-identity { gap: 11px; }
  .product-identity h3 { font-size: 23px; }
  .product-identity > img { width: 48px; height: 48px; border-radius: 13px; }
  .screenshot-stage { padding: 30px; }
  .small-product { padding: 25px; }
  .principles-grid { gap: 28px; }
  .contact-panel { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 88px; }
  .shell { width: calc(100% - 40px); }
  .nav-inner { min-height: 68px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 34px; height: 34px; font-size: 22px; }
  .nav-links { gap: 4px 7px; }
  .nav-links > a { font-size: 13px; padding: 12px 10px; }
  .nav-links .lang-toggle { margin-left: auto; }
  .founder-story { padding-top: 42px; }
  .founder-grid { grid-template-columns: 1fr; gap: 30px; }
  .founder-copy { padding: 0; }
  .eyebrow { font-size: 10px; margin-bottom: 21px; }
  h1 { font-size: clamp(51px,13vw,72px); }
  body[data-lang="zh"] h1 { font-size: clamp(36px,9.5vw,51px); line-height: 1.23; }
  .founder-intro { font-size: 15px; margin-top: 23px; max-width: 480px; }
  .actions { margin-top: 24px; gap: 25px; }
  .hero-photo { aspect-ratio: 1.25; border-radius: 90px 24px 24px 24px; }
  .hero-photo img { object-position: center 62%; }
  .founder-note { grid-template-columns: 1fr; gap: 23px; margin-top: 30px; padding: 25px 0; }
  .founder-letter { padding-top: 22px; border-top: 1px solid var(--line); }
  summary { font-size: 14px; }
  .studio-hero { padding: 55px 0 40px; }
  .studio-intro { grid-template-columns: 1fr; gap: 22px; }
  .studio-intro h2 { font-size: 29px; }
  .studio-intro p { font-size: 14px; }
  .portfolio-section { padding: 20px 0 55px; }
  .section-heading h2 { font-size: 31px; }
  .section-heading p { font-size: 13px; }
  .product-toolbar { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 20px; }
  .filters { gap: 5px; }
  .filters button { padding-inline: 13px; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 16px; }
  .featured-product { grid-template-columns: 1fr; }
  .featured-copy { padding: 28px; }
  .featured-copy h4 { font-size: 39px; margin-top: 27px; }
  .featured-copy > p { font-size: 14px; }
  .screenshot-stage { padding: 30px; }
  .screenshot-stage img { width: 210px; }
  .small-product { min-height: 350px; padding: 25px; }
  .small-product h3 { font-size: 27px; }
  .card-top { margin-bottom: 21px; }
  .studio-principles { padding: 52px 0; }
  .principles-grid { grid-template-columns: 1fr; gap: 29px; margin-top: 29px; }
  .principles-grid article { display: grid; grid-template-columns: 34px 1fr; gap: 0 12px; }
  .principle-index { grid-row: span 2; margin-top: 5px; }
  .principles-grid h3 { margin-top: 0; }
  .principles-grid p { grid-column: 2; }
  .studio-contact { padding: 50px 0; }
  .contact-panel { padding: 30px 25px; gap: 23px; }
  .contact-panel h2 { font-size: 38px; }
  .contact-copy p { font-size: 13px; }
  .email-link { font-size: 16px; gap: 10px; }
  .footer { gap: 23px; padding-bottom: 28px; }
  .footer-links { width: 100%; gap: 17px; font-size: 10px; }
}
@media (prefers-reduced-transparency: reduce) { .nav { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } .reveal-pending { opacity: 1; transform: none; } }
