@import url('colours.css?v=ece8d83f2039');

@font-face {
  font-family: 'Open Sauce One';
  src: url('assets/fonts/OpenSauceOne-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sauce Two';
  src: url('assets/fonts/OpenSauceTwo-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sauce Two';
  src: url('assets/fonts/OpenSauceTwo-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
:root {
  --heading: 'Open Sauce One', Arial, sans-serif;
  --body: 'Open Sauce Two', Arial, sans-serif;
  --inset: 40px;
  --pill: 999px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--surface-light); color: var(--text-default); font-family: var(--body); -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, p { margin: 0; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; z-index: 20; top: 16px; left: 24px; padding: 12px 24px; background: var(--surface-raised); border-radius: var(--pill); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
#main:focus { outline: none; }
.hero { position: relative; isolation: isolate; margin: 10px; min-height: 740px; height: calc(100svh - 20px); border-radius: 20px; overflow: hidden; background: var(--surface-dark); color: var(--on-primary); }
.portrait-stage, .portrait, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.portrait-stage { z-index: 0; pointer-events: none; }
.portrait { object-fit: cover; object-position: 68% 35%; opacity: 0; transition: opacity 700ms ease; }
.portrait.is-active { opacity: 1; }
.hero-shade { z-index: 1; background: linear-gradient(0deg, var(--scrim-hero-strong) 0%, var(--scrim-hero-middle) 18%, var(--scrim-hero-light) 62%); pointer-events: none; }
.site-header { position: absolute; top: 20px; left: var(--inset); right: var(--inset); display: flex; align-items: center; justify-content: space-between; z-index: 4; }
.wordmark { font-family: var(--heading); font-size: 34px; font-weight: 800; letter-spacing: -2px; min-height: 56px; display: flex; align-items: center; }
.wordmark span { color: var(--secondary-accent); }
.icon-button { width: 56px; height: 56px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--surface-raised); color: var(--text-default); transition: background 160ms, transform 160ms; }
.icon-button:hover { background: var(--primary-subtle); }
.icon-button:active { transform: scale(.96); }
.navigation { position: absolute; top: 80px; right: 0; display: flex; flex-direction: column; gap: 8px; width: 208px; max-height:calc(100svh - 140px); overflow-y:auto; scrollbar-width:thin; padding:4px; }
.nav-link { border: 0; background: var(--surface-raised); color: var(--text-default); min-height: 48px; padding: 12px 20px; border-radius: var(--pill); text-align: center; display: grid; place-items: center; font-size: 14px; transition: background 160ms, color 160ms; }
.nav-link:hover, .nav-link[aria-current] { background: var(--primary-subtle); color: var(--primary-foreground); }
.nav-download { background: var(--primary); color: var(--on-primary); font-weight: 600; }
.nav-download:hover { background: var(--primary-hover); color: var(--on-primary); }
.hero-content { z-index: 2; position: absolute; bottom: 40px; left: var(--inset); right: var(--inset); display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 56px; align-items: center; }
h1 { font-family: var(--heading); font-size: clamp(56px, 5.6vw, 96px); font-weight: 800; line-height: 1.06; letter-spacing: -.065em; }
h1 > span { display: block; }
h1 em { font-style: normal; color: var(--secondary-accent); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 52px; padding: 5px 5px 5px 24px; border: 0; border-radius: var(--pill); background: var(--surface-raised); color: var(--text-default); font-size: 15px; font-weight: 600; transition: background 160ms, transform 160ms; }
.button:hover { background: var(--primary-subtle); }
.button:active { transform: scale(.98); }
.arrow-disc { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: var(--on-primary); }
.arrow-disc .icon { width: 20px; height: 20px; }
.hero-download { margin-top: 32px; }
.download-note { margin-top: 12px; font-size: 11px; color: var(--text-on-dark-soft); }
.hero-description { font-size: clamp(16px, 1.4vw, 21px); line-height: 1.5; letter-spacing: -.025em; max-width: 480px; }
.portrait-controls { margin-top: 24px; display: flex; align-items: center; gap: 8px; color: var(--text-on-dark-soft); }
.rotation-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border-translucent); border-radius: 50%; background: transparent; color: var(--on-primary); }
.rotation-toggle:hover { background: var(--surface-translucent); }
.rotation-toggle .icon { width: 16px; height: 16px; }
.portrait-caption, .portrait-count { font-size: 10px; }
.portrait-count { margin-left: auto; font-variant-numeric: tabular-nums; letter-spacing: .1em; }
body.dialog-open { overflow: hidden; }
dialog { border: 0; width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 48px); overflow-y: auto; border-radius: 24px; padding: 64px 32px 32px; color: var(--text-default); background: var(--surface-light); }
dialog::backdrop { background: var(--scrim-dialog); }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; }
dialog h2 { font-family: var(--heading); font-size: 30px; line-height: 1.2; letter-spacing: -.045em; margin-bottom: 20px; }
#dialog-description { color: var(--text-disabled); font-size: 14px; line-height: 1.65; }
#dialog-description p + p { margin-top: 16px; }
#dialog-description ol { padding-left: 24px; }
#dialog-description li { margin: 12px 0; }
#dialog-description strong { color: var(--text-default); }
#dialog-description details { padding: 12px 0; border-bottom: 1px solid var(--border-divider); }
#dialog-description summary { cursor: pointer; min-height: 44px; color: var(--text-default); font-weight: 600; }
#dialog-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
#dialog-actions .button { padding: 16px 24px; background: var(--primary); color: var(--on-primary); }
.store-badge { display: block; text-align: left; border: 0; border-radius: 12px; padding: 12px 20px; min-height: 56px; background: var(--primary); color: var(--on-primary); }
.store-badge small { display: block; font-size: 8px; letter-spacing: .08em; }
.store-badge strong { font-size: 14px; }
.store-badge:disabled { cursor: default; background: var(--surface-disabled); color: var(--text-disabled); }
.noscript-note { padding: 20px; text-align: center; }
@media (min-width: 1800px) { :root { --inset: 64px; } }
@media (max-width: 1100px) {
  :root { --inset: 32px; }
  .hero-content { gap: 32px; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  h1 { font-size: clamp(48px, 5.7vw, 64px); }
  .hero-description { font-size: 16px; }
}
@media (max-width: 700px) {
  :root { --inset: 20px; }
  .hero { min-height: 800px; height: calc(100svh - 20px); border-radius: 20px; }
  .site-header { top: 20px; }
  .wordmark { font-size: 28px; }
  .portrait { object-position: 70% 30%; }
  .hero-shade { background: linear-gradient(0deg, var(--scrim-hero-mobile-strong) 0%, var(--scrim-hero-mobile-middle) 28%, var(--scrim-hero-mobile-light) 65%); }
  .hero-content { bottom: 28px; display: flex; flex-direction: column; align-items: stretch; gap: 32px; }
  h1 { font-size: clamp(31px, 10.1vw, 65px); line-height: 1.1; }
  .hero-download { margin-top: 28px; }
  .hero-description { font-size: 16px; line-height: 1.5; max-width: 460px; }
  .portrait-controls { margin-top: 16px; }
  .navigation { top: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Reference-inspired portrait cluster; illustrative faces, no social-proof claims. */
.hero-connection { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.hero-connection-portraits { display: flex; flex: 0 0 auto; padding-right: 4px; }
.hero-connection-portraits img { display: block; width: 44px; height: 44px; object-fit: cover; object-position: 72% 23%; border: 2px solid white; border-radius: 50%; background: var(--surface-dark); }
.hero-connection-portraits img + img { margin-left: -14px; }
.hero-connection p { font-size: 13px; line-height: 1.5; }
.hero-connection p span { display: block; font-size: 11px; color: var(--text-on-dark-soft); }
@media (max-width: 1100px) {
  .hero-connection { gap: 8px; }
  .hero-connection-portraits img { width: 36px; height: 36px; }
  .hero-connection p { font-size: 11px; }
  .hero-connection p span { font-size: 9px; }
}
