@font-face {
  font-family: Inter;
  src: url("./inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "DM Serif Text";
  src: url("./dm-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  --ink: #0a1628;
  --night: #091524;
  --ice: #b6d0ff;
  --muted: #536274;
  --line: #cbd5df;
  --blue: #1549bd;
  --gutter: clamp(22px, 4.5vw, 86px);
  color: var(--ink);
  background: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
h1, h2, h3, p, ul { margin: 0; }
a { color: inherit; text-decoration: none; text-underline-offset: .23em; }
button, summary { font: inherit; color: inherit; cursor: pointer; }
button { -webkit-appearance: none; appearance: none; }
img, .icon { display: block; }
.icon { width: 1.16em; height: 1.16em; flex: none; }
:focus-visible { outline: 3px solid #2778e2; outline-offset: 4px; }
.masthead :focus-visible, .cover :focus-visible, .footer :focus-visible, dialog :focus-visible { outline-color: #a9d5ff; }
[hidden], dialog:not([open]) { display: none !important; }
.sr-only, .catalogue.enhanced .panel-identity {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; top: .6rem; left: .6rem; z-index: 10; padding: .7em 1em; background: #fff; color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.container { width: min(calc(100% - 2 * var(--gutter)), 1600px); margin-inline: auto; }
main:focus { outline: 0; }

.masthead { position: relative; z-index: 2; color: #fff; background: #041121; border-bottom: 1px solid #435166; }
.nav { display: flex; align-items: center; gap: clamp(22px, 2.1vw, 36px); min-height: clamp(64px, 5vw, 84px); }
.wordmark { display: inline-flex; align-items: baseline; gap: .23em; font-size: clamp(22px, 1.83vw, 30px); line-height: 1.2; letter-spacing: -.052em; white-space: nowrap; }
.wordmark strong { font-weight: 685; }
.nav .wordmark { margin-right: auto; }
.nav-sections { display: flex; gap: clamp(22px, 2.55vw, 42px); }
.nav-sections a, .language-link, .mobile-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(14px, 1.13vw, 18px); font-weight: 500; }
.language-link { position: relative; flex: none; gap: .45em; padding-left: clamp(20px, 2vw, 32px); white-space: nowrap; }
.language-link::before { content: ""; position: absolute; left: 0; height: 1.35em; border-left: 1px solid #758294; }
.mobile-nav { display: none; }
.nav-sections a:hover, .language-link:hover, .mobile-links a:hover { color: var(--ice); }

.cover { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #041121; }
.cover-art, .cover-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover-art { z-index: -1; }
.cover-art img { object-fit: cover; object-position: center; }
.cover-inner { display: flex; align-items: center; min-height: clamp(480px, 45.45vw, 800px); padding-block: clamp(54px, 6vw, 102px) clamp(88px, 10.4vw, 170px); }
.cover h1, .philosophy h2 { font-weight: 680; line-height: .94; letter-spacing: -.062em; }
.cover h1 { font-size: clamp(68px, 7.55vw, 128px); font-weight: 715; letter-spacing: -.052em; }
.cover h1 span, .cover h1 em, .philosophy h2 span, .philosophy h2 em { display: block; }
.cover h1 em, .philosophy h2 em { font: italic 400 1.07em/.98 "DM Serif Text", Georgia, "Songti SC", serif; letter-spacing: -.045em; color: var(--ice); }
.cover h1 em { margin-top: -.08em; font-size: 1.16em; line-height: .85; letter-spacing: -.025em; }
.cover-copy > p { margin-top: clamp(16px, 1.2vw, 22px); font-size: clamp(18px, 1.69vw, 28px); line-height: 1.42; letter-spacing: -.02em; color: #f1f5fb; }
.cover-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px clamp(20px, 2vw, 32px); margin-top: clamp(25px, 2.55vw, 40px); }
.work-cta, .film-launch { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 48px; font-size: clamp(15px, 1.28vw, 20px); font-weight: 550; letter-spacing: -.025em; }
.work-cta { min-height: clamp(50px, 3.8vw, 62px); padding: .65em 1.3em; gap: .72em; border-radius: 6px; background: #fff; color: #0a1524; transition: background .15s; }
.work-cta:hover { background: #dfecff; }
.film-launch { gap: .65em; }
.film-launch:hover .play-ring { color: var(--night); background: #fff; }
.play-ring, .outbound-ring { display: inline-grid; flex: none; place-items: center; border: 1.5px solid currentColor; border-radius: 50%; }
.play-ring { width: 2.05em; height: 2.05em; transition: color .15s, background .15s; }
.play-ring .icon { width: 55%; height: 55%; }
.film-launch small { margin-left: .18em; color: #c1cee1; font-size: .88em; font-weight: 450; font-variant-numeric: tabular-nums; }

.brand-section { padding-block: clamp(54px, 5.55vw, 94px) clamp(76px, 7.35vw, 118px); }
.brand-heading, .brand-identity { display: flex; align-items: center; }
.brand-heading { justify-content: space-between; gap: 24px; }
.brand-identity { gap: clamp(15px, 1.8vw, 30px); }
.bird { width: clamp(72px, 7.5vw, 120px); height: auto; border-radius: 21%; }
.brand-label { margin-bottom: .25em; color: #24374b; font-size: clamp(15px, 1.45vw, 23px); font-weight: 500; }
.brand-identity h2 { font-size: clamp(46px, 4.8vw, 78px); line-height: .98; letter-spacing: -.065em; font-weight: 665; }
.inline-link { display: inline-flex; align-items: center; gap: .4em; width: fit-content; min-height: 44px; color: var(--blue); font-size: clamp(16px, 1.32vw, 21px); font-weight: 550; line-height: 1.35; letter-spacing: -.026em; }
.inline-link:hover, .footer nav a:hover, .film-file:hover { text-decoration: underline; }
.brand-link { white-space: nowrap; }
.brand-description { margin-block: clamp(20px, 1.6vw, 28px) clamp(32px, 3.35vw, 56px); font-size: clamp(18px, 1.65vw, 27px); line-height: 1.45; letter-spacing: -.028em; }
.catalogue.enhanced { display: grid; grid-template-columns: minmax(0, .365fr) minmax(0, .635fr); align-items: start; gap: clamp(22px, 2.1vw, 38px); }
.app-picker { display: grid; grid-template-columns: minmax(0, 1fr); }
.app-tab { display: flex; align-items: center; gap: clamp(12px, 1.25vw, 20px); width: 100%; min-height: clamp(91px, 8.8vw, 139px); padding: 16px clamp(14px, 1.55vw, 25px); text-align: left; background: #fff; border: 0; border-bottom: 1px solid var(--line); }
.app-tab:last-child { border-bottom-color: transparent; }
.app-tab:hover { background: #f1f5fa; }
.app-tab[aria-selected="true"] { background: #0b1931; color: #fff; border-color: transparent; border-radius: 12px; }
.app-tab img { flex: none; width: clamp(43px, 4.55vw, 72px); height: auto; border-radius: 22%; box-shadow: 0 0 0 1px #52617624; }
.app-tab > .icon { width: clamp(19px, 1.75vw, 28px); height: auto; margin-left: auto; }
.tab-copy { min-width: 0; }
.tab-copy strong, .tab-copy small { display: block; }
.tab-copy strong { font-size: clamp(18px, 1.59vw, 26px); line-height: 1.19; font-weight: 640; letter-spacing: -.04em; }
.tab-copy small, .work-name small { margin-top: .34em; color: var(--muted); font-size: clamp(14px, 1.15vw, 18px); line-height: 1.4; }
.app-tab[aria-selected="true"] small { color: #d0def1; }
.app-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.enhanced .app-panels { display: block; }
.app-panel { position: relative; padding: clamp(20px, 2.65vw, 44px); border-radius: 14px; background: #e5f0fd; }
#scanarchive { background: #e5f3f1; }
#drawingmarkup { background: #f1edf7; }
#taptaptime { background: #e9eff8; }
.panel-identity { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.panel-identity .app-icon { width: 48px; height: 48px; border-radius: 22%; }
.panel-identity h3 { font-size: 1.5rem; letter-spacing: -.045em; }
.panel-identity span { color: var(--muted); }
.screen-stage { display: flex; justify-content: center; align-items: center; gap: 5%; aspect-ratio: 1.57; }
.app-screen, .watch-screen { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; background: #17202a; border: clamp(5px, .6vw, 10px) solid #1b222a; border-radius: clamp(12px, 1.5vw, 25px); box-shadow: 0 1px 2px #07132155, 0 9px 20px -9px #16283869; }
.watch-screen { max-width: 20%; border-width: 5px; border-radius: 22%; }
#taptaptime .app-screen { border-radius: clamp(16px, 1.8vw, 31px); }
.panel-caption { margin-top: clamp(17px, 1.9vw, 30px); }
.panel-caption p { font-size: clamp(16px, 1.33vw, 21px); letter-spacing: -.02em; }
.panel-caption .product-alias { margin-bottom: .3em; color: var(--muted); font-size: .95rem; font-weight: 550; }
.panel-caption .inline-link { margin-top: .22em; }

.works { padding-block: clamp(58px, 5.7vw, 97px); background: #f0f4f7; }
.works h2 { margin-bottom: clamp(30px, 2.8vw, 48px); font-size: clamp(37px, 3.65vw, 60px); font-weight: 650; letter-spacing: -.055em; line-height: 1.1; }
.work-list { list-style: none; padding: 0; border-top: 1px solid #aab9c8; }
.work-row { display: grid; grid-template-columns: minmax(0, .56fr) 1fr auto; align-items: center; gap: clamp(18px, 3vw, 52px); padding-block: clamp(25px, 2.2vw, 38px); border-bottom: 1px solid #aab9c8; }
.work-identity { display: flex; align-items: center; gap: clamp(10px, 1.25vw, 22px); }
.work-identity .app-icon { width: clamp(48px, 4.65vw, 74px); height: auto; flex: none; }
.work-name h3 { font-size: clamp(23px, 2.15vw, 36px); line-height: 1.1; letter-spacing: -.047em; font-weight: 650; }
.work-name small { display: block; }
.work-row p { max-width: 62ch; font-size: clamp(17px, 1.55vw, 25px); line-height: 1.45; letter-spacing: -.028em; }
.outbound-ring { width: clamp(44px, 3.4vw, 56px); aspect-ratio: 1; font-size: clamp(19px, 1.5vw, 24px); transition: background .15s, color .15s; }
.work-row:hover .outbound-ring { background: var(--ink); color: #fff; }
.work-row:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; }

.philosophy, .footer { background: var(--night); color: #f4f7fb; }
.philosophy { padding-top: clamp(66px, 6.2vw, 106px); }
.philosophy-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 5%; padding-bottom: clamp(38px, 4.2vw, 72px); }
.philosophy h2 { font-size: clamp(54px, 5.6vw, 94px); }
.philosophy h2 em { margin-top: .08em; font-size: 1.16em; }
.philosophy-intro > p { max-width: 42ch; align-self: start; padding-top: .5em; font-size: clamp(19px, 1.75vw, 29px); line-height: 1.48; letter-spacing: -.025em; color: #d4deeb; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.6vw, 62px); border-top: 1px solid #748295; padding-block: clamp(38px, 4.15vw, 72px) clamp(54px, 5.2vw, 90px); }
.principles h3 { font-size: clamp(34px, 3.55vw, 59px); font-weight: 680; line-height: 1.06; letter-spacing: -.052em; }
.ion { color: var(--ice); }
.meaning { margin-top: .45em; font-weight: 580; line-height: 1.4; font-size: clamp(17px, 1.55vw, 25px); letter-spacing: -.025em; }
.principle-body { margin-top: 1.05em; color: #c7d3e2; font-size: clamp(16px, 1.25vw, 20px); line-height: 1.65; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; border-top: 1px solid #748295; padding-block: clamp(30px, 3vw, 52px) clamp(42px, 4.5vw, 76px); }
.footer-brand small { display: block; margin-top: .55em; color: #bfccdd; font-size: clamp(13px, 1vw, 16px); }
.footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px clamp(18px, 2.5vw, 42px); }
.footer nav a { display: inline-flex; align-items: center; gap: .35em; min-height: 44px; font-size: clamp(14px, 1.15vw, 18px); }
.footer .email-link { color: var(--ice); text-decoration: underline; }

.film-dialog { width: min(960px, calc(100vw - 32px), calc((100dvh - 96px) * 16 / 9)); max-width: none; max-height: 95dvh; margin: auto; border: 1px solid #55677c; border-radius: 12px; padding: 0; color: #fff; background: var(--night); }
.film-dialog::backdrop { background: rgb(2 8 18 / 86%); }
html:has(.film-dialog[open]) { overflow: hidden; }
.film-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 5px 8px 5px 20px; }
.film-heading h2 { font-size: 17px; font-weight: 550; }
.film-close { display: grid; place-items: center; width: 44px; height: 44px; background: transparent; border: none; border-radius: 50%; }
.film-close:hover { background: #253449; }
.film-close .icon { width: 22px; height: 22px; }
.film-dialog video { display: block; width: 100%; height: auto; background: #000; }
.film-file { display: flex; gap: .4em; align-items: center; padding: 12px 20px; color: var(--ice); }

@media (min-width: 701px) and (max-width: 1040px) {
  .cover { background: #010c1e; }
  .cover-art img { object-fit: contain; object-position: center bottom; }
  .cover-copy { max-width: 50%; }
  .cover-copy > p { max-width: 28ch; }
  .cover-actions { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cover-inner { align-items: flex-start; padding-block: 50px 80px; }
  .catalogue.enhanced { grid-template-columns: minmax(0, .38fr) minmax(0, .62fr); }
  .app-tab { gap: 12px; padding-inline: 12px; }
}
@media (max-width: 760px) {
  .catalogue.enhanced { display: block; }
  .app-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 8px; margin-bottom: 16px; }
  .app-tab { min-height: 64px; gap: 9px; padding: 9px 7px; }
  .app-tab img { width: clamp(30px, 6.8vw, 42px); }
  .tab-copy strong { font-size: clamp(15px, 3.65vw, 19px); }
  .tab-copy small { font-size: clamp(12px, 2.8vw, 14px); }
  .app-tab > .icon { display: none; }
  .brand-heading { flex-wrap: wrap; gap: 9px 20px; }
  .brand-description { margin-block: 13px 26px; }
  .philosophy-intro { display: block; }
  .philosophy-intro > p { padding: 0; margin-top: 23px; }
  .principles { grid-template-columns: 1fr; gap: 0; padding-block: 0 28px; }
  .principles article { padding-block: 26px; }
  .principles article + article { border-top: 1px solid #4b5b70; }
  .principle-body { margin-top: 12px; }
  .footer-inner { flex-direction: column; }
}
@media (max-width: 700px) {
  .cover-inner { align-items: flex-start; min-height: clamp(520px, 143vw, 760px); padding-block: clamp(35px, 9vw, 65px) clamp(215px, 56vw, 360px); }
  .cover-art img { object-position: center 63%; }
  .cover h1 { font-size: clamp(54px, 16.4vw, 93px); }
  .cover-copy > p { max-width: 30ch; margin-top: 17px; font-size: clamp(17px, 4.35vw, 22px); }
  .cover-actions { margin-top: 23px; gap: 6px 20px; }
  .work-cta, .film-launch { font-size: 15px; min-height: 45px; }
  .play-ring { width: 1.82em; height: 1.82em; }
  .work-row { grid-template-columns: minmax(0, 1fr) auto; gap: 11px 18px; }
  .work-row p { grid-column: 1 / -1; }
  .outbound-ring { grid-column: 2; grid-row: 1; }
}
@media (max-width: 600px) {
  .nav { gap: 12px; min-height: 60px; }
  .nav-sections, .language-link::before { display: none; }
  .language-link { padding-inline: 3px; }
  .mobile-nav { position: relative; display: block; }
  .mobile-nav summary { display: grid; place-items: center; width: 44px; height: 44px; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary .icon { width: 23px; height: 23px; }
  .mobile-links { position: absolute; display: grid; right: 0; top: calc(100% + 5px); min-width: 175px; padding: 8px; background: #0b1a2d; border: 1px solid #435166; border-radius: 8px; }
  .mobile-links a { padding-inline: 12px; }
  .app-panels { grid-template-columns: 1fr; }
  :is(#drawingmarkup, #taptaptime) .screen-stage { aspect-ratio: 1.12; }
  .brand-section { padding-top: 43px; }
  .brand-link { min-height: 40px; }
  .footer nav { gap: 0 16px; }
}
@media (max-width: 395px) {
  :root { --gutter: 18px; }
  .nav { gap: 8px; }
  .nav .wordmark { font-size: 20px; }
  .app-tab img { width: 28px; }
  .app-tab { gap: 6px; padding: 9px 5px; }
}
@media (max-width: 360px) {
  .cover { background: #020f1f; }
  .cover-art img { object-fit: contain; object-position: center bottom; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
