:root { font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: #202326; background: #fafcfb; font-synthesis: none; --orange: #e84f29; --teal: #197c76; --muted: #616a6b; --line: #d7e3df; --accent: var(--orange); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; min-width: 320px; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
button:not(:disabled) { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 5px; }
.page-width { width: calc(100% - 128px); max-width: 1440px; margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 12px 18px; background: #fff; clip-path: inset(100%); }
.skip-link:focus { clip-path: none; }
.team-hero { position: relative; isolation: isolate; height: calc(100svh - 44px); min-height: 680px; background: #fbfcfa; }
.team-hero .page-width { max-width: 2160px; }
@media (min-width: 1051px) {
  .team-hero:has(#paper-companion) { background-image: url("./assets/katcats-team-hero-garden.png"); background-size: 10000px auto; background-position: left top; }
  .team-hero:has(#paper-companion) .page-width { width: min(calc(100% - 112px), 1280px); }
  .team-hero:has(#paper-companion) .hero-art { inset: 0 0 0 auto; width: min(100%, calc(50% + 720px)); mask-image: linear-gradient(to right, transparent, #000 140px); }
}
.hero-art { position: absolute; inset: 0; z-index: -1; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.site-header { height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; width: 180px; flex-shrink: 0; mix-blend-mode: multiply; }
.brand img { width: 100%; height: auto; display: block; }
.header-actions { display: flex; align-items: center; gap: 32px; }
.personal-link { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.personal-link:hover, .site-footer a:hover { color: var(--orange); }
.language-toggle { display: flex; padding: 4px; gap: 2px; border: 1px solid #ccd5d4; border-radius: 7px; background: #ffffffb3; }
.language-toggle button { min-width: 41px; height: 32px; border: 0; border-radius: 4px; background: transparent; color: #64696a; font-size: 12px; font-weight: 650; }
.language-toggle button[aria-pressed="true"] { color: #fff; background: #25282c; }
.hero-inner { height: calc(100% - 164px); display: flex; align-items: center; padding-bottom: 18px; }
.hero-copy { width: 36%; max-width: 460px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 11px; line-height: 1.6; font-weight: 650; margin: 0 0 22px; letter-spacing: 0; }
.accent-rule { flex: 0 0 24px; height: 2px; background: var(--orange); }
h1 { font-size: 76px; line-height: 1.12; font-weight: 750; letter-spacing: 0; margin: 0; white-space: nowrap; }
h1 strong { display: inline-block; color: var(--orange); font-size: 1.14em; font-weight: 800; }
h1 > span { font-size: .55em; }
.hero-tagline { margin: 20px 0 0; font-size: 32px; line-height: 1.3; font-weight: 650; text-wrap: balance; }
.hero-description { font-size: 16px; line-height: 1.85; color: #505a5b; margin: 24px 0 30px; max-width: 390px; text-wrap: pretty; }
.hero-actions { display: flex; align-items: center; gap: 16px 22px; flex-wrap: wrap; }
.download-button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 56px; border: 1px solid #343b3c; border-radius: 7px; padding: 0 21px; background: #343b3c; color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 8px 20px #172c2920; }
.download-button img { filter: invert(1); }
a.download-button { background: var(--orange); border-color: var(--orange); color: #fff; font-weight: 650; box-shadow: 0 8px 20px #fe62382b; }
a.download-button .windows-logo { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
a.download-button .download-arrow { margin-left: 10px; flex-shrink: 0; }
a.download-button:hover { background: #ff744e; border-color: #ff744e; }
a.download-button:focus-visible { outline-color: #202725; }
.explore-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; font-weight: 600; }
.explore-link:hover { color: var(--orange); }
.release-note { margin: 14px 0 0; font-size: 12px; color: #656e6e; line-height: 1.6; }
.hero-signature { display: flex; align-items: center; gap: 18px; height: 58px; font-size: 10px; font-weight: 600; color: #3f6660; }
.hero-signature > span:first-child { color: #658980; }
.collaboration { background: #f2f7f5; border-top: 1px solid #c8ded7; }
.section-rail { height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 10px; font-weight: 650; color: #4b7168; }
.section-rail span:last-child { color: #70877f; }
.section-body { padding-block: 72px 60px; }
.section-heading { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: end; margin-bottom: 56px; }
.section-heading .eyebrow { color: var(--teal); margin-bottom: 16px; }
h2 { font-size: 48px; line-height: 1.18; font-weight: 650; letter-spacing: 0; margin: 0; }
.section-heading h2 span:last-child { color: var(--teal); }
.section-intro { max-width: 450px; margin: 0 0 3px auto; color: var(--muted); font-size: 16px; line-height: 1.85; }
.principle-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid #c6d8d1; }
.principle-tabs button { display: flex; gap: 14px; align-items: center; min-height: 66px; padding: 16px 0; border: 0; border-bottom: 3px solid transparent; background: transparent; text-align: left; color: #63716b; font-weight: 600; font-size: 16px; }
.tab-number { font-family: monospace; font-size: 11px; font-weight: 400; color: #6d827b; }
.principle-tabs button:hover { color: #172823; }
.principle-tabs button[aria-selected="true"] { color: #1c3029; border-bottom-color: var(--accent); }
.principle-tabs button[aria-selected="true"] .tab-number { color: var(--accent); }
.principle-panel { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 64px; min-height: 420px; padding: 40px 0 44px; }
.s-composition { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; min-height: 300px; border-right: 1px solid #cbdcd5; }
.s-word { font-size: 12px; color: #5e746b; }
.big-s { display: block; font-size: 224px; font-weight: 800; line-height: 1.05; color: var(--accent); letter-spacing: 0; }
.s-period { font-size: .6em; color: #243b34; }
.s-caption { font-size: 10px; font-weight: 650; color: #5e746b; }
.principle-copy { max-width: 520px; }
.principle-copy .eyebrow { color: var(--accent); margin-bottom: 18px; }
h3 { font-size: 34px; line-height: 1.25; margin: 0; font-weight: 650; white-space: pre-line; letter-spacing: 0; }
.principle-description { min-height: 90px; font-size: 16px; color: var(--muted); line-height: 1.85; margin: 22px 0 26px; }
.principle-equation { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12px; color: #52665d; }
.equation-result { border-left: 1px solid #b8ccc3; padding-left: 12px; color: #203e30; font-weight: 650; }
.team-statement { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; padding-top: 28px; border-top: 1px solid #c6d8d1; font-size: 13px; line-height: 1.7; color: #5e6f68; }
.team-statement strong { font-weight: 650; color: #243b32; }
.closing-band { background: #202725; color: #fff; }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding-block: 70px; }
.closing-band .eyebrow { color: #9bbab0; margin-bottom: 16px; }
.closing-band h2 { font-size: 52px; }
.closing-band p:not(.eyebrow) { color: #b7c4be; font-size: 14px; line-height: 1.7; margin: 18px 0 0; }
.closing-action { text-align: right; flex-shrink: 0; }
.closing-brand { font-size: 30px; font-weight: 650; }
.closing-brand strong { color: #ff855f; }
.closing-action a { display: inline-flex; align-items: center; gap: 14px; margin-top: 20px; min-height: 44px; color: #fff; font-size: 13px; }
.closing-action a:hover { color: #ffad8d; }
.closing-action img { filter: invert(1); }
.site-footer { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 24px; }
.footer-brand { font-size: 22px; font-weight: 750; }
.footer-brand strong { color: var(--orange); }
.site-footer nav { display: flex; gap: 28px; font-size: 12px; }
.footer-note { font-size: 11px; color: #738078; }
@media (min-width: 1800px) { .hero-copy { max-width: 480px; } h1 { font-size: 90px; } .hero-tagline { font-size: 36px; } }
@media (max-width: 1300px) and (min-width: 1051px) { h1 { font-size: 64px; } .hero-tagline { font-size: 28px; } .hero-description { font-size: 15px; } .hero-copy { width: 35%; } }
@media (min-width: 1051px) and (max-height: 760px) { .team-hero { min-height: 610px; } .site-header { height: 82px; } .hero-inner { height: calc(100% - 140px); } h1 { font-size: 64px; } .hero-tagline { font-size: 27px; margin-top: 16px; } .hero-description { font-size: 15px; margin-block: 18px 24px; } .hero-copy .eyebrow { margin-bottom: 16px; } }
@media (max-width: 1050px) {
  .page-width { width: calc(100% - 64px); }
  .team-hero { height: auto; min-height: 0; padding-bottom: 440px; }
  .hero-art { inset: auto 0 0; height: 470px; object-position: right bottom; }
  .site-header { height: 90px; }
  .hero-inner { height: auto; padding: 52px 0 32px; }
  .hero-copy { width: 100%; max-width: 540px; }
  .hero-description { max-width: 480px; }
  .hero-signature { position: absolute; bottom: 14px; left: 32px; height: auto; margin: 0; }
  .section-heading { gap: 40px; }
  h2 { font-size: 38px; }
  .principle-panel { gap: 40px; }
  h3 { font-size: 30px; }
}
@media (max-width: 600px) {
  .page-width { width: calc(100% - 40px); }
  .team-hero { padding-bottom: 300px; }
  .hero-art { height: 300px; }
  .site-header { height: 80px; gap: 12px; }
  .brand { width: 145px; }
  .header-actions { gap: 12px; }
  .personal-link { display: none; }
  .hero-inner { padding: 38px 0 30px; }
  .hero-copy { max-width: 100%; }
  h1 { font-size: 60px; }
  .hero-tagline { font-size: 27px; margin-top: 16px; }
  .hero-copy .eyebrow { font-size: 10px; margin-bottom: 19px; gap: 10px; }
  .hero-description { font-size: 15px; margin: 19px 0 25px; }
  .hero-actions { gap: 10px 18px; }
  .download-button { padding: 0 16px; font-size: 13px; min-height: 54px; }
  .explore-link { font-size: 12px; }
  .release-note { font-size: 11px; }
  .hero-signature { display: none; }
  .section-rail { height: 48px; font-size: 9px; }
  .section-rail span:last-child { display: none; }
  .section-body { padding-block: 40px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 30px; }
  h2 { font-size: 34px; }
  .section-intro { font-size: 15px; margin: 0; }
  .principle-tabs button { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 6px 14px 0; font-size: 12px; line-height: 1.45; min-height: 84px; }
  .principle-panel { grid-template-columns: 1fr; gap: 30px; padding: 30px 0; }
  .s-composition { min-height: 0; height: 160px; border-right: 0; flex-direction: row; justify-content: space-between; gap: 12px; }
  .big-s { font-size: 150px; order: -1; }
  .s-word { font-size: 13px; flex: 1; text-align: right; }
  .s-caption { display: none; }
  .principle-copy .eyebrow { margin-bottom: 12px; }
  h3 { font-size: 29px; }
  .principle-description { min-height: 112px; font-size: 15px; margin: 18px 0 22px; }
  .principle-equation { font-size: 11px; gap: 10px; }
  .team-statement { display: grid; gap: 10px; font-size: 12px; }
  .closing-inner { flex-direction: column; align-items: flex-start; gap: 34px; padding-block: 46px; }
  .closing-band h2 { font-size: 40px; }
  .closing-band .eyebrow { font-size: 10px; }
  .closing-action { text-align: left; }
  .closing-brand { font-size: 25px; }
  .site-footer { gap: 22px; padding-block: 26px; }
  .site-footer nav { gap: 22px; }
  .footer-note { width: 100%; }
}
@media (max-width: 360px) { h1 { font-size: 52px; } .hero-tagline { font-size: 25px; } .hero-copy .eyebrow { font-size: 9px; } .brand { width: 130px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
