/* Kenote — black space, drawn white edges, local motion. */
:root { color-scheme: dark; --bg: #000; --text: #f2f2f2; --muted: #8b8b8b; --line: #ffffff20; --ease: cubic-bezier(.16,1,.3,1); --page-width: 1160px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; scrollbar-gutter: stable; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
button, svg { flex-shrink: 0; }
button { border: 0; }
button:focus-visible, a:focus-visible { outline: 1px solid #eee; outline-offset: 6px; }
[hidden] { display: none !important; }
::selection { background: #ffffff38; }
svg { display: block; }
nav svg, button svg, a svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.content-width { width: min(var(--page-width),calc(100% - 112px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 20px; top: 16px; transform: translateY(-160%); z-index: 100; background: #1b1b1b; padding: 12px 20px; border-radius: 24px; }
.skip-link:focus { transform: none; }
.glass { isolation: isolate; position: relative; background: linear-gradient(135deg,#ffffff12,#ffffff06 60%,#ffffff0a); border: 1px solid #ffffff21; box-shadow: inset 0 1px 0 #ffffff0e; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.glass::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; background: radial-gradient(160px circle at var(--light-x,50%) var(--light-y,0%),#ffffff10,transparent 80%); opacity: var(--light-opacity,.25); transition: opacity .5s var(--ease); }
.navigation { position: absolute; top: 30px; left: 50%; transform: translateX(-50%); width: min(var(--page-width),calc(100% - 112px)); z-index: 10; display: flex; align-items: center; justify-content: space-between; }
.wordmark { font-size: 13px; font-weight: 400; letter-spacing: .36em; padding-block: 12px; }
.navigation nav { display: flex; align-items: center; gap: 10px; }
.nav-link { display: inline-flex; align-items: center; gap: 20px; height: 42px; border-radius: 24px; padding: 0 19px; font-size: 12px; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; }
.icon-button svg { width: 22px; height: 22px; }
.nav-link,.icon-button,.explore { transition: background .4s var(--ease),border-color .4s var(--ease),scale .35s var(--ease); }
.nav-link:hover,.icon-button:hover,.explore:hover { background-color: #ffffff0c; border-color: #ffffff45; }
.nav-link:active,.icon-button:active,.explore:active { scale: .97; }
.intro { position: relative; height: 100svh; min-height: 780px; max-height: 1150px; display: flex; flex-direction: column; align-items: center; padding-top: clamp(155px,18svh,230px); overflow: hidden; }
.hero-copy { position: relative; z-index: 2; text-align: center; width: min(700px,calc(100% - 64px)); }
.eyebrow { font-size: 10px; letter-spacing: .19em; font-weight: 400; line-height: 1.5; color: #898989; margin: 0; }
.hero-label { font-size: 9px; letter-spacing: .28em; margin-bottom: 33px; }
h1 { margin: 0; line-height: 1; }
.signature { display: block; width: 72%; height: auto; margin-inline: auto; overflow: visible; }
.signature-rule { width: 140px; height: 1px; background: #ffffff40; margin: 30px auto 0; }
.hero-tagline { color: #a0a0a0; font-size: 14px; font-weight: 300; letter-spacing: .045em; margin: 23px 0 0; }
.sculpture { position: relative; width: min(850px,100%); flex: 1; min-height: 280px; max-height: 470px; margin-top: 10px; transform: translateY(calc(var(--scroll,0)*-16px)); }
.sculpture-fallback { width: 100%; height: 100%; }
.sculpture-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.5s var(--ease); mask-image: radial-gradient(ellipse 65% 75% at 50% 50%,#000 62%,transparent 100%); -webkit-mask-image: radial-gradient(ellipse 65% 75% at 50% 50%,#000 62%,transparent 100%); }
.has-sculpture .sculpture-canvas { opacity: 1; }
.has-sculpture .sculpture-fallback { opacity: 0; transition: opacity 1.5s var(--ease); }
.explore { position: relative; z-index: 3; display: inline-flex; align-items: center; justify-content: center; gap: 22px; font-size: 12px; height: 47px; border-radius: 26px; padding: 0 22px; margin: 0 0 84px; }
.explore svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.explore:hover svg { transform: translateY(3px); }
.hero-footnote { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; justify-content: space-between; align-items: center; width: min(var(--page-width),calc(100% - 112px)); font-size: 8px; letter-spacing: .17em; color: #646464; }
.scroll-cue { display: flex; align-items: center; gap: 9px; }
.scroll-cue svg { width: 16px; height: 16px; fill: none; stroke: #888; stroke-width: 1; }
.projects { padding-top: 110px; scroll-margin-top: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 42px; }
.section-heading .eyebrow { margin-bottom: 20px; }
h2 { font-size: clamp(35px,4vw,52px); font-weight: 300; line-height: 1.12; letter-spacing: -.045em; margin: 0; }
.count { color: #737373; font-size: 15px; font-weight: 300; font-variant-numeric: tabular-nums; padding-bottom: 4px; }
.project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px 28px; }
.project-card { min-width: 0; }
.project-preview { display: block; position: relative; width: 100%; aspect-ratio: 1.43; padding: 0; overflow: hidden; border: 1px solid #ffffff20; border-radius: 20px; background: #060606; color: var(--text); transition: border-color .5s var(--ease),background .5s var(--ease); isolation: isolate; }
.project-preview:hover { border-color: #ffffff48; background: #090909; }
.preview-ambient { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%,#ffffff09,transparent 62%); }
.project-art { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 26px; transform: perspective(1000px) translate3d(calc(var(--px,0)*8px),calc(var(--py,0)*5px),0) rotateX(calc(var(--py,0)*-4deg)) rotateY(calc(var(--px,0)*6deg)); pointer-events: none; }
.preview-platform { position: absolute; top: 23px; left: 24px; color: #919191; font-size: 10px; letter-spacing: .05em; }
.preview-open { position: absolute; right: 20px; bottom: 20px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; opacity: .65; transition: opacity .4s var(--ease),transform .5s var(--ease); }
.preview-open svg { width: 20px; height: 20px; }
.project-preview:hover .preview-open { opacity: 1; transform: translate(2px,-2px); }
.project-caption { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 22px 2px 0; }
h3 { font-size: 16px; font-weight: 400; letter-spacing: .1em; line-height: 1.5; margin: 0; }
.project-caption p { margin: 8px 0 0; font-size: 12px; color: #888; font-weight: 300; line-height: 1.6; }
.project-status { display: flex; align-items: center; gap: 7px; color: #777; font-size: 9px; padding-top: 5px; white-space: nowrap; }
.status-dot { display: inline-block; width: 4px; height: 4px; background: #aaa; border-radius: 50%; flex-shrink: 0; }
.generic-art { position: absolute; inset: 26%; display: grid; place-items: center; }
.generic-art svg { width: 100%; height: 100%; fill: none; stroke: #bdbdbd; stroke-width: 1; }
.project-placeholder { cursor: default; }
.catalog-status { display: flex; align-items: center; gap: 10px; min-height: 48px; color: #888; font-size: 12px; }
.catalog-status button { background: transparent; padding: 8px; text-decoration: underline; text-underline-offset: 4px; }
.spinner { width: 13px; height: 13px; border: 1px solid #ffffff25; border-top-color: #aaa; border-radius: 50%; animation: spin 1.2s linear infinite; }
.empty-state { padding: 48px 0; }
.empty-state p { font-size: 24px; font-weight: 300; margin: 0 0 14px; }
.empty-state span { color: #888; font-size: 12px; }
.closing { padding-top: 160px; padding-bottom: 140px; }
.short-rule { width: 70px; height: 1px; background: #ffffff30; margin-bottom: 45px; }
.closing .eyebrow { margin-bottom: 24px; }
.closing h2 { font-size: clamp(44px,5.3vw,70px); line-height: 1.17; }
.closing h2 > span:not(.numeric-run) { color: #727272; }
.closing-copy { font-size: 13px; color: #919191; line-height: 1.9; font-weight: 300; margin: 26px 0 22px; }
.text-button { display: inline-flex; align-items: center; gap: 14px; padding: 8px 0; background: transparent; font-size: 11px; color: #b5b5b5; transition: color .35s; }
.text-button:hover { color: #fff; }
.text-button svg { width: 15px; height: 15px; }
footer { display: flex; justify-content: space-between; align-items: center; padding: 28px 0 34px; font-size: 9px; color: #858585; }
footer #site-title { letter-spacing: .25em; }
footer a { display: inline-flex; align-items: center; gap: 16px; }
footer svg { width: 15px; height: 15px; }
.detail-dialog { width: min(560px,calc(100% - 40px)); max-height: calc(100svh - 64px); padding: 32px; border: 1px solid #ffffff28; border-radius: 24px; color: var(--text); background: #0a0a0af5; box-shadow: 0 24px 100px #0009; overflow-y: auto; overscroll-behavior: contain; }
.detail-dialog::backdrop { background: #000b; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 30px; }
.detail-dialog p { font-size: 13px; line-height: 1.85; color: #939393; font-weight: 300; margin: 19px 0; }
.horizon-wordmark { font-size: 32px; letter-spacing: .26em; font-weight: 200; }
.dialog-art { width: 100%; height: auto; display: block; margin: 8px 0 16px; }
.detail-list { display: grid; gap: 18px; padding: 10px 0; }
.detail-list div { display: flex; justify-content: space-between; gap: 18px; font-size: 11px; color: #ddd; line-height: 1.6; }
.detail-list div span:last-child { color: #777; text-align: right; }
.detail-dialog .availability { display: flex; align-items: center; gap: 9px; margin-top: 28px; font-size: 10px; }
body.dialog-open { overflow: hidden; }
.cursor-light { position: fixed; top: 0; left: 0; width: 340px; height: 340px; margin: -170px 0 0 -170px; pointer-events: none; background: radial-gradient(circle,#ffffff04,transparent 65%); border-radius: 50%; z-index: 5; opacity: 0; transform: translate3d(var(--cx,-500px),var(--cy,-500px),0); transition: opacity .5s; }
.cursor-light[data-active=true] { opacity: 1; }
.motion-ready [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 1.2s var(--ease),transform 1.5s var(--ease); }
.motion-ready [data-reveal].revealed { opacity: 1; transform: none; }
/* Exact per-stroke quartic easing from HorizonWelcomeWordmark.swift. */
.motion-ready .stroke { stroke-dasharray: 1; stroke-dashoffset: 1; }
.motion-ready .signature-rule { animation: rule-draw .8s cubic-bezier(.25,1,.5,1) 2.498s both; transform-origin: center; }
.motion-ready .hero-label { animation: fade-in 1.5s var(--ease) .05s both; }
.motion-ready .hero-tagline { animation: fade-in 1.5s var(--ease) 1.8s both; }
.motion-ready .sculpture { animation: scene-in 2.5s var(--ease) .3s both; }
.motion-ready .explore { animation: fade-in 1.4s var(--ease) 2.1s both; }
.motion-ready .hero-footnote { animation: fade-in 1.5s var(--ease) 2.1s both; }
.numeric-digit { position: relative; display: inline-grid; overflow: hidden; vertical-align: bottom; line-height: 1.12; }
.numeric-digit .digit-current,.numeric-digit .digit-old { grid-area: 1/1; }
.digit-old { position: absolute; inset: 0; }
@keyframes draw-stroke { to { stroke-dashoffset: 0; } }
@keyframes rule-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes scene-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media(min-width:1500px) { :root { --page-width: 1280px; } .hero-copy { width: 780px; } .sculpture { width: 940px; max-height: 530px; } }
@media(max-width:900px) { .content-width,.navigation,.hero-footnote { width: calc(100% - 64px); } .hero-copy { width: min(640px,calc(100% - 80px)); } .projects { padding-top: 80px; } .project-grid { gap: 36px 22px; } .project-caption { flex-direction: column; gap: 8px; } .project-status { padding-top: 0; } .closing { padding-top: 125px; padding-bottom: 100px; } }
@media(max-width:600px) { .content-width,.navigation,.hero-footnote { width: calc(100% - 40px); } .navigation { top: 21px; } .wordmark { font-size: 11px; letter-spacing: .3em; } .nav-link { height: 38px; font-size: 11px; gap: 14px; padding-inline: 16px; } .icon-button { width: 38px; height: 38px; } .intro { min-height: 680px; max-height: 900px; padding-top: clamp(160px,24svh,220px); } .hero-copy { width: calc(100% - 64px); } .hero-label { font-size: 8px; margin-bottom: 30px; } .signature { stroke-width: .782; } .signature-rule { width: 94px; margin-top: 26px; } .hero-tagline { font-size: 12px; margin-top: 20px; } .sculpture { width: calc(100% + 12px); max-height: 330px; min-height: 220px; margin-top: 12px; } .explore { margin-bottom: 77px; height: 43px; font-size: 11px; } .hero-footnote { bottom: 23px; font-size: 7px; letter-spacing: .09em; } .scroll-cue { gap: 4px; } .scroll-cue svg { width: 13px; height: 13px; } .projects { padding-top: 74px; } .section-heading { margin-bottom: 28px; } .section-heading .eyebrow { font-size: 8px; margin-bottom: 17px; } h2 { font-size: 36px; } .count { font-size: 12px; } .project-grid { grid-template-columns: 1fr; gap: 38px; } .project-preview { border-radius: 16px; } .preview-platform { top: 19px; left: 19px; font-size: 9px; } .preview-open { right: 16px; bottom: 16px; } .project-caption { flex-direction: row; padding-top: 18px; } h3 { font-size: 14px; } .project-caption p { font-size: 11px; } .project-status { font-size: 8px; padding-top: 4px; } .closing { padding-top: 105px; padding-bottom: 85px; } .closing h2 { font-size: 47px; } .closing .eyebrow { font-size: 8px; } .short-rule { margin-bottom: 34px; width: 45px; } .closing-copy { font-size: 12px; } .detail-dialog { padding: 24px; } .horizon-wordmark { font-size: 27px; letter-spacing: .2em; } .detail-list div { font-size: 10px; } .cursor-light { display: none; } }
@media(hover:none),(pointer:coarse) { .cursor-light { display: none; } .project-art { --px: 0 !important; --py: 0 !important; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation: none !important; transition: none !important; } .motion-ready .stroke { stroke-dashoffset: 0; } .motion-ready [data-reveal] { opacity: 1; transform: none; } .sculpture,.project-art { transform: none; } .cursor-light { display: none; } .spinner { border-color: #aaa; } }
@supports not (backdrop-filter:blur(1px)) { .glass { background: #141414; } .detail-dialog { background: #0a0a0a; } }
/* Real iOS screenshots. Native scrolling and snap, with keyboard controls. */
.project-dialog { width: min(900px,calc(100% - 40px)); }
.screenshot-gallery { margin: 30px 0; }
.gallery-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.gallery-controls { display: flex; align-items: center; gap: 8px; }
.gallery-controls > span { color: #888; font-size: 10px; margin-right: 8px; }
.gallery-controls button { width: 34px; height: 34px; transition: opacity .25s; }
.gallery-controls button:disabled { opacity: .3; cursor: default; }
.gallery-controls svg { width: 18px; height: 18px; }
.gallery-track { position: relative; display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 1px; padding: 1px 1px 14px; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #ffffff30 transparent; }
.gallery-track:focus-visible { outline: 1px solid #888; outline-offset: 5px; }
.gallery-track figure { flex: 0 0 min(300px,74vw); scroll-snap-align: start; margin: 0; }
.gallery-track img { display: block; width: 100%; height: auto; aspect-ratio: 368 / 800; object-fit: contain; border: 1px solid #ffffff25; border-radius: 26px; background: #000; }
.gallery-track figcaption { color: #999; font-size: 11px; font-weight: 300; margin: 14px 4px 0; }
.project-dialog .detail-list { max-width: 560px; }
@media(max-width:600px) { .project-dialog { padding: 24px; } .gallery-heading { gap: 8px; } .gallery-heading .eyebrow { font-size: 8px; } .gallery-controls > span { display: none; } .gallery-track { gap: 16px; } .gallery-track figure { flex-basis: min(238px,74vw); } .project-art { padding: 22px; } }

/* Screen masks clip the screenshot itself, not the surrounding card. */
.phone-frame { aspect-ratio:368/800; overflow:hidden; border-radius:12% / 5.52%; background:#000; border:1px solid #242424; }
.phone-frame img { display:block; width:100%; height:100%; object-fit:cover; border:0; border-radius:0; padding:0; }
.project-preview { container-type:inline-size; }
.project-art.phone-frame { inset:8% auto auto 50%; width:auto; height:84%; padding:0; transform:translateX(-50%); }

.screenshot-gallery { container-type:inline-size; }
.gallery-track .feature-slide { flex:0 0 100%; display:grid; grid-template-columns:minmax(0,1fr); align-items:center; gap:36px; }
.gallery-track .phone-frame { width:min(248px,calc((100svh - 420px) * .46),80%); justify-self:center; }
.gallery-track .phone-frame img { width:100%; height:100%; border:0; border-radius:0; }
.gallery-track .feature-copy { display:none; margin:0; }
.feature-copy h3 { color:#ededed; font-weight:300; font-size:clamp(24px,3vw,36px); line-height:1.18; letter-spacing:-.025em; margin:0 0 22px; }
.feature-copy p { color:#999; font-size:15px; line-height:1.8; margin:0; }
@container (min-width:600px) {
 .gallery-track .feature-slide { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
 .gallery-track .feature-copy { display:block; padding-right:20px; }
}
.sentence { display:block; }

/* Homepage projects use a full-width row. */
.project-grid { grid-template-columns:minmax(0,1fr); gap:64px; }
.project-card { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(36px,6vw,88px); align-items:center; }
.project-card .project-caption { display:flex; flex-direction:column; align-items:flex-start; gap:28px; padding:0; max-width:440px; }
.project-caption h3 { font-size:clamp(25px,3vw,40px); font-weight:300; letter-spacing:.18em; line-height:1.2; }
.project-card .project-caption p { margin-top:18px; font-size:clamp(16px,1.6vw,21px); color:#b4b4b4; line-height:1.5; }
.project-description { margin-top:28px; font-size:15px; font-weight:300; color:#8d8d8d; line-height:1.85; }
.project-description .sentence+.sentence { margin-top:10px; }
.project-card .project-status { padding:0; font-size:11px; }
@media(max-width:760px) {
 .project-card { grid-template-columns:minmax(0,1fr); gap:0; }
 .project-card .project-caption { display:none; }
}

/* One shared frame contains both the screenshot and its introduction. */
.horizon-project { background:#060606; border:1px solid #ffffff20; border-radius:24px; overflow:hidden; padding:36px; gap:clamp(28px,4vw,58px); grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); }
.horizon-project .project-preview { border:0; background:transparent; border-radius:0; aspect-ratio:1.16; }
.horizon-project .project-preview:hover { background:transparent; }
.horizon-project .preview-ambient { display:none; }
.horizon-project .project-caption { padding:24px 22px 24px 0; }
.horizon-project .preview-platform { top:0; left:0; }
.horizon-project .preview-open { bottom:0; right:0; }
@media(max-width:760px) {
 .horizon-project { padding:22px; grid-template-columns:minmax(0,1fr); gap:0; border-radius:20px; }
 .horizon-project .project-preview { aspect-ratio:1.25; }
 .horizon-project .project-caption { display:none; }
}

/* Scroll-driven entrances use a single playhead, without timed CSS easing. */
.motion-ready [data-scroll-stage] { transition:none; }
@media(prefers-reduced-motion:reduce) {
 [data-scroll-stage],main [data-sentences] .sentence { opacity:1 !important; transform:none !important; filter:none !important; }
}

.numeric-run { display:inline-block; max-width:100%; }
@media(prefers-reduced-motion:reduce) { .numeric-run,.sentence { opacity:1 !important; transform:none !important; filter:none !important; } }

.closing .short-rule { transform-origin:left center; }
